/* self-hosted Hanken Grotesk (no third-party requests) */
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/hanken-400.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/hanken-500.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/hanken-600.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/hanken-700.woff2") format("woff2"); }

    :root {
      --paper: #f7f4ec;
      --ink: #13302c;
      --muted: #5f6f6a;
      --line: #e4ddcc;
      --accent: #0c5c57;
      --accent-ink: #fbfaf5;
      --dot: #ef9e39;
      --radius: 999px;
      --radius-sm: 10px;
      --radius-md: 14px;
      --surface: #fffdf8;
      --shadow-xs: 0 2px 6px rgba(0,0,0,.12);
      --shadow-sm: 0 14px 28px -20px rgba(19,48,44,.45);
      --shadow-md: 0 14px 28px -16px rgba(19,48,44,.35);
    }
    * { box-sizing: border-box; }
    html { -webkit-text-size-adjust: 100%; height: 100%; }
    body {
      margin: 0;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      font-family: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
      color: var(--ink);
      background: var(--paper);
      line-height: 1.55;
      -webkit-font-smoothing: antialiased;
    }
    /* pins the footer to the viewport bottom on short pages (e.g. the
       homepage) without affecting pages already taller than the viewport */
    main { flex: 1 0 auto; padding-bottom: 2.5rem; }
    .wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
    a { color: inherit; }

    /* header */
    header { padding: 3.2rem 0 1.6rem; }
    .brand {
      font-size: 1.6rem; font-weight: 700; letter-spacing: -0.03em;
      text-decoration: none; display: inline-flex; align-items: center; min-height: 48px;
    }
    .brand span { color: var(--dot); }

    /* layout: sidebar + grid */
    .layout { display: grid; grid-template-columns: 220px 1fr; gap: 2.5rem; align-items: start; margin-top: 1.8rem; }
    .sidebar { position: sticky; top: 1.2rem; align-self: start; max-height: calc(100vh - 2.4rem); overflow: auto; }
    .filter-label {
      font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em;
      color: var(--muted); margin: 0 0 0.6rem;
    }
    .side-list { display: flex; flex-direction: column; gap: 0.12rem; }
    .side-opt {
      font: inherit; font-size: 0.95rem; text-align: left; cursor: pointer;
      display: flex; align-items: center; justify-content: space-between; gap: 0.6rem;
      width: 100%; padding: 0.5em 0.7em; border-radius: var(--radius-sm);
      border: 0; background: transparent; color: var(--ink);
      transition: background .12s, color .12s;
    }
    .side-opt:hover { background: color-mix(in srgb, var(--accent) 9%, transparent); }
    .side-opt.is-active { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
    .side-opt .n { font-size: 0.8em; opacity: 0.55; }
    .side-opt.is-active .n { opacity: 0.85; }
    .side-opt:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

    /* count */
    .count { color: var(--muted); font-size: 0.95rem; margin: 0 0 1.2rem; }

    /* listings — photo card grid */
    .grid {
      list-style: none; margin: 0 0 4rem; padding: 0;
      display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 1.5rem;
    }
    .card {
      display: flex; flex-direction: column; background: var(--surface);
      border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden;
      transition: border-color .12s, transform .12s, box-shadow .12s;
    }
    .card:hover {
      border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
      transform: translateY(-3px); box-shadow: var(--shadow-sm);
    }
    .card.is-verified { border-color: color-mix(in srgb, var(--dot) 60%, var(--line)); }
    .card__media { position: relative; aspect-ratio: 16 / 10; background: var(--line); }
    .card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
    .card:hover .card__media img { transform: scale(1.05); }
    /* shared visual recipe for .badge-verified and .badge-featured — same
       shape, different color, so the two are never confused */
    .badge-verified, .badge-featured {
      display: inline-flex; align-items: center; gap: 0.34em;
      font-size: 0.68rem; letter-spacing: 0.01em; font-weight: 700;
      padding: 0.3em 0.62em; border-radius: var(--radius);
      box-shadow: var(--shadow-xs);
    }
    .badge-verified {
      position: absolute; top: 0.6rem; left: 0.6rem; padding-left: 0.5em;
      color: #6a3f04; background: color-mix(in srgb, var(--dot) 92%, #fff);
      border: 1px solid color-mix(in srgb, var(--dot) 70%, #fff);
    }
    .badge-verified svg { width: 0.9em; height: 0.9em; fill: currentColor; }
    .card__body { display: flex; flex-direction: column; gap: 0.3rem; padding: 0.95rem 1rem 1.05rem; flex: 1; }
    .card__place { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); }
    .card__name { font-size: 1.12rem; font-weight: 600; margin: 0; line-height: 1.25; }
    .card__blurb {
      color: var(--muted); font-size: 0.92rem; margin: 0.15rem 0 0;
      display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    }
    .card__levels { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.55rem; }
    .lvl {
      font-size: 0.7rem; color: var(--muted);
      border: 1px solid var(--line); border-radius: var(--radius);
      padding: 0.12em 0.55em; background: var(--surface);
    }
    .card__foot { margin-top: auto; padding-top: 0.8rem; display: flex; align-items: center; gap: 0.6rem; }
    .socials { display: flex; align-items: center; gap: 0.5rem; }
    .soc { color: var(--muted); display: inline-flex; transition: color .12s; }
    .soc svg { width: 17px; height: 17px; display: block; fill: currentColor; }
    .soc:hover { color: var(--accent); }
    .visit {
      margin-left: auto; font-size: 0.88rem; font-weight: 600; color: var(--accent);
      text-decoration: none; white-space: nowrap;
    }
    .visit:hover { text-decoration: underline; }

    footer { border-top: 1px solid var(--line); padding: 2rem 0 3rem; color: var(--muted); font-size: 0.9rem; }
    footer a { color: var(--accent); }
    .footer-grid { display: flex; flex-wrap: wrap; gap: 1.8rem 3rem; }
    .footer-col { flex: 1 1 180px; min-width: 160px; }
    .footer-col p { margin: 0.6rem 0 0; }
    .footer-col .filter-label { margin: 0; }
    .footer-nav { display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; margin-top: 0.7rem; }
    .footer-col .footer-nav { flex-direction: column; gap: 0.3rem; }
    .footer-nav a { text-decoration: none; }

    @media (max-width: 820px) {
      .layout { grid-template-columns: 1fr; gap: 1.4rem; margin-top: 1.4rem; }
      .sidebar { position: static; max-height: none; overflow: visible; }
      .side-list { flex-direction: row; flex-wrap: wrap; gap: 0.45rem; }
      .side-opt {
        width: auto; border: 1px solid var(--line); border-radius: var(--radius);
        background: var(--surface); padding: 0.4em 0.9em;
      }
      .side-opt:hover { border-color: var(--accent); background: var(--surface); }
      .side-opt.is-active { border-color: var(--accent); background: var(--accent); }
    }
    @media (max-width: 520px) {
      header { padding-top: 2.2rem; }
      .grid { grid-template-columns: 1fr; gap: 1.2rem; }
    }
    @media (prefers-reduced-motion: reduce) {
      * { transition: none !important; animation: none !important; }
      *::details-content { transition: none !important; }
    }

    /* entrance animation: grid cards + editorial items fade/slide up on load,
       staggered for the first few so the grid doesn't pop in as one block */
    @keyframes fadeInUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
    .grid > li, .ed-list > .ed-item { animation: fadeInUp .4s ease-out both; }
    .grid > li:nth-child(1), .ed-list > .ed-item:nth-child(1) { animation-delay: 0s; }
    .grid > li:nth-child(2), .ed-list > .ed-item:nth-child(2) { animation-delay: .04s; }
    .grid > li:nth-child(3), .ed-list > .ed-item:nth-child(3) { animation-delay: .08s; }
    .grid > li:nth-child(4), .ed-list > .ed-item:nth-child(4) { animation-delay: .12s; }
    .grid > li:nth-child(5), .ed-list > .ed-item:nth-child(5) { animation-delay: .16s; }
    .grid > li:nth-child(n+6) { animation-delay: .2s; }

    /* ---- verified card links ---- */
    .card__media a { display: block; width: 100%; height: 100%; }
    .card__name-link { color: inherit; text-decoration: none; }
    .card__name-link:hover { color: var(--accent); }

    /* ---- buttons ---- */
    .btn {
      display: inline-flex; align-items: center; justify-content: center; gap: 0.4em;
      background: var(--accent); color: var(--accent-ink); text-decoration: none;
      font-weight: 600; font-size: 0.95rem; padding: 0.7em 1.1em;
      border-radius: var(--radius); border: 1px solid var(--accent);
      transition: filter .12s, transform .12s;
    }
    .btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
    .btn:active { filter: brightness(0.96); transform: translateY(0); }
    .btn--secondary {
      background: var(--surface); color: var(--ink); border-color: var(--line);
    }
    .btn--secondary:hover { filter: none; background: color-mix(in srgb, var(--accent) 8%, var(--surface)); border-color: var(--accent); }

    /* ---- listing page ---- */
    .detail { padding-bottom: 3.5rem; }
    .back { display: inline-block; color: var(--muted); text-decoration: none; font-size: 0.9rem; margin-bottom: 1.4rem; }
    .back:hover { color: var(--accent); }
    .detail__head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; margin-bottom: 1.4rem; }
    .detail__eyebrow { width: 100%; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); margin: 0; }
    .detail__title { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 700; letter-spacing: -0.02em; margin: 0; line-height: 1.15; }
    .badge-verified.inline {
      position: static; box-shadow: none; font-size: 0.72rem;
    }
    .detail__media {
      border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 16 / 9;
      max-height: 440px; background: var(--line); margin-bottom: 2.2rem;
    }
    .detail__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .detail__grid { display: grid; grid-template-columns: 1fr 320px; gap: 2.6rem; align-items: start; }
    .detail__lead { font-size: 1.18rem; line-height: 1.6; margin: 0 0 1.1rem; }
    .detail__prose p { margin: 0 0 1rem; }
    .tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
    .detail__levels { margin-top: 1.3rem; }
    .detail__facts {
      background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md);
      padding: 1.4rem; position: sticky; top: 1.2rem; box-shadow: var(--shadow-xs);
    }
    .detail__facts h2 { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin: 0 0 0.6rem; }
    .facts { margin: 0 0 1.2rem; }
    .facts div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-top: 1px solid var(--line); font-size: 0.92rem; }
    .facts div:first-child { border-top: 0; }
    .facts dt { color: var(--muted); }
    .facts dd { margin: 0; text-align: right; font-weight: 500; }
    .detail__facts .btn { width: 100%; margin-bottom: 0.9rem; }
    .detail__facts .socials { justify-content: center; }
    @media (max-width: 720px) {
      .detail__grid { grid-template-columns: 1fr; gap: 1.8rem; }
      .detail__facts { position: static; }
    }

    /* ===== accessibility & performance tuning ===== */
    /* filtered-out cards */
    .card[hidden] { display: none; }
    /* legible font sizes (>= 12px) */
    .card__place, .filter-label, .lvl { font-size: 0.75rem; }
    .count { font-size: 1rem; }
    /* contrast fixes */
    .badge-verified { color: #3f2600; }
    .side-opt .n { color: var(--muted); opacity: 1; }
    .side-opt.is-active .n { color: var(--accent-ink); opacity: 0.9; }
    /* clear focus rings */
    a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
    footer a { display: inline-block; padding: 2px 0; }

    /* generous tap targets on touch layouts */
    @media (max-width: 820px) {
      .side-opt { min-height: 48px; }
      .soc { width: 44px; height: 44px; justify-content: center; }
      .soc svg { width: 20px; height: 20px; }
      .socials { gap: 8px; }
      .visit { padding: 11px 0; }
    }
    /* keep even the smallest labels >= 12px */
    .badge-verified, .detail__eyebrow { font-size: 0.75rem; }

    /* ===== multi-category: nav, hub, category head ===== */
    .header__inner { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem 1.5rem; flex-wrap: wrap; }
    .nav { display: flex; flex-wrap: wrap; gap: 0.15rem; }
    .nav a {
      padding: 0.6rem 0.75rem; border-radius: var(--radius-sm); color: var(--muted); text-decoration: none;
      font-weight: 500; font-size: 0.95rem; line-height: 1;
      display: inline-flex; align-items: center; min-height: 48px;
    }
    .nav a:hover { color: var(--ink); background: rgba(0,0,0,0.03); }
    .header__stats { margin: 0.3rem 0 0; color: var(--muted); font-size: 0.85rem; }

    .hero { padding: 1.2rem 0 0.5rem; max-width: 640px; }
    .hero h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 700; letter-spacing: -0.02em; margin: 0 0 0.6rem; line-height: 1.15; }
    .hero p { color: var(--muted); font-size: 1.12rem; line-height: 1.55; margin: 0; }
    .hero p + .btn { margin-top: 0.9rem; }
    /* About / Get listed stack several sentences; global .hero p is margin: 0. */
    .hero--copy p + p { margin-top: 0.9rem; }

    /* region hub jump nav — same pill look as the filter chips (.side-opt on mobile) */
    .jump-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.2rem 0 0; }
    .jump-nav a {
      display: inline-flex; align-items: center; min-height: 48px;
      font-size: 0.9rem; font-weight: 500; text-decoration: none; color: var(--ink);
      border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
      padding: 0.5em 1.1em; transition: border-color .12s, background .12s;
    }
    .jump-nav a:hover { border-color: var(--accent); }
    @media (prefers-reduced-motion: no-preference) {
      html { scroll-behavior: smooth; }
    }

    /* search */
    .search { position: relative; margin-top: 1.4rem; max-width: 480px; }
    .search__input {
      width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
      padding: 0.85em 1.1em; border-radius: var(--radius);
      border: 1px solid var(--line); background: var(--surface);
      transition: border-color .12s, box-shadow .12s;
    }
    .search__input::placeholder { color: var(--muted); }
    .search__input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent); }
    .search__results {
      position: absolute; z-index: 10; top: calc(100% + 0.5rem); left: 0; right: 0;
      list-style: none; margin: 0; padding: 0.4rem;
      background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md);
      box-shadow: var(--shadow-md);
      max-height: 340px; overflow: auto;
    }
    .search__result {
      display: flex; flex-direction: column; gap: 0.1rem; text-decoration: none;
      padding: 0.6em 0.7em; border-radius: var(--radius-sm); color: var(--ink);
    }
    .search__result:hover, .search__result.is-active { background: color-mix(in srgb, var(--accent) 9%, transparent); }
    .search__name { font-weight: 600; }
    .search__meta { font-size: 0.82rem; color: var(--muted); }

    .hub-cat { margin-top: 2.8rem; scroll-margin-top: 1.5rem; }
    .hub-cat__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--line); }
    .hub-cat__head h2 { font-size: 1.35rem; font-weight: 700; margin: 0; letter-spacing: -0.01em; }
    .hub-cat__head a { color: var(--accent); font-weight: 600; font-size: 0.95rem; text-decoration: none; white-space: nowrap; }

    .cat-head { margin: 1.4rem 0 0.4rem; }
    .cat-head h1 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); font-weight: 700; letter-spacing: -0.02em; margin: 0 0 0.3rem; line-height: 1.15; }
    .cat-head p { color: var(--muted); margin: 0; max-width: 560px; }

    /* card name renders the same at any heading level via the .card__name class */

    @media (max-width: 520px) {
      .nav a { padding: 0.7rem 0.7rem; }
      .hub-cat { margin-top: 2rem; }
    }

    /* ===== verified profile additions (surf spots, lessons, prices, season, demo) ===== */
    /* "Verified by surflist · last checked …" line under the title/badge */
    .verified-meta { width: 100%; margin: 0.35rem 0 0; font-size: 0.8rem; color: var(--muted); }
    .detail__note { margin: 0 0 1.1rem; font-size: 0.92rem; color: var(--muted); }

    /* content blocks on the listing page: Surf spots / Lessons / Prices / When to go */
    .detail__section { margin-top: 1.9rem; }
    .detail__section h2 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); margin: 0 0 0.6rem; }

    /* bulleted spec lists (lessons, prices) */
    .spec-list { list-style: none; margin: 0; padding: 0; }
    .spec-list li { position: relative; padding-left: 1.15rem; margin: 0.35rem 0; line-height: 1.5; }
    .spec-list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.42rem; height: 0.42rem; border-radius: 50%; background: var(--accent); }

    /* demo banner on /verified-demo/ (noindexed sample page) */
    .demo-banner {
      margin: 0 0 1.4rem; padding: 0.8rem 1rem; font-size: 0.9rem; line-height: 1.5;
      color: #3f2600; border-radius: var(--radius-md);
      background: color-mix(in srgb, var(--dot) 20%, var(--surface));
      border: 1px solid color-mix(in srgb, var(--dot) 60%, var(--surface));
    }
    .demo-banner a { color: var(--accent); font-weight: 600; }

    /* Google Business Profile icon shares the existing .soc styling (incl. 44px mobile tap target) */
    .soc--google:hover { color: var(--accent); }

    /* ===== destination-first: breadcrumbs, town editorial, homepage ===== */
    /* breadcrumbs */
    .crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.1rem 0.35rem;
      margin: 0.4rem 0 0.2rem; font-size: 0.85rem; color: var(--muted); }
    .crumbs a { color: var(--muted); text-decoration: none; }
    .crumbs a:hover { color: var(--accent); }
    .crumbs [aria-current="page"] { color: var(--ink); }
    .crumbs__sep { color: var(--line); }

    /* town editorial sections (beaches / when to surf / FAQ) */
    .town-ed { margin-top: 2.8rem; scroll-margin-top: 1.5rem; }
    .town-ed > h2 { font-size: 1.35rem; font-weight: 700; margin: 0 0 1rem;
      letter-spacing: -0.01em; padding-bottom: 0.6rem; border-bottom: 1px solid var(--line); }
    .ed-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.2rem; margin-bottom: 1rem; }
    .ed-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 1rem 1.1rem; box-shadow: var(--shadow-xs); }
    .ed-item h3 { margin: 0 0 0.3rem; font-size: 1.05rem; font-weight: 600; }
    .ed-item p { margin: 0; color: var(--muted); font-size: 0.92rem; }
    .faq { display: flex; flex-direction: column; gap: 0.6rem; max-width: 720px; }
    .faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 0.2rem 1rem; box-shadow: var(--shadow-xs); }
    .faq-item summary { cursor: pointer; font-weight: 600; padding: 0.85rem 0; list-style: none; }
    .faq-item summary::-webkit-details-marker { display: none; }
    .faq-item summary::after { content: "+"; float: right; color: var(--accent); font-weight: 700; }
    .faq-item[open] summary::after { content: "\2013"; }
    .faq-item > div { padding: 0 0 0.9rem; color: var(--muted); }
    .faq-item p { margin: 0; }
    /* smooth open/close for the native <details> element — progressive
       enhancement via ::details-content, no JS; browsers without support
       just keep the instant native toggle */
    @supports (transition-behavior: allow-discrete) {
      .faq-item::details-content {
        opacity: 0; block-size: 0; overflow-y: clip;
        transition: content-visibility .3s allow-discrete, opacity .3s, block-size .3s;
      }
      .faq-item[open]::details-content { opacity: 1; block-size: auto; }
    }

    /* homepage: explore destinations — wrapping A–Z country chips */
    .dest-chips { display: flex; flex-wrap: wrap; gap: 0.6rem 0.7rem; }
    .dest-chips .dest-country {
      display: inline-flex; align-items: center; gap: 0.4em; width: max-content;
      min-height: 44px; padding: 0.4em 1.05em 0.4em 0.8em;
      border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
      transition: border-color .12s, color .12s;
    }
    .dest-chips .dest-country:hover { border-color: var(--accent); }
    .dest-chips .dest-country::after { left: 0.8em; right: 0.8em; bottom: 0.35em; }
    /* Flag SVGs have a large intrinsic width (viewBox 640). As a flex item
       that defaults to min-width: auto, the img overflows and paints over
       the country name — eating flex gap. Constrain the item and use
       margin-right so space does not depend on gap. */
    .dest-chips .flag {
      flex: 0 0 auto;
      width: 1.3em;
      max-width: 1.3em;
      min-width: 0;
      height: auto;
      margin-right: 0.5em;
    }
    .dest-chips .dest-country span { padding-left: 0.05em; }
    .flag { display: inline-block; width: 1.3em; height: auto; vertical-align: -0.15em; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,0.1); }
    .dest-country { font-weight: 700; text-decoration: none; letter-spacing: -0.01em; }
    .dest-country:hover { color: var(--accent); }

    /* animated underline: a thin bar sliding in from the left, replacing a
       plain text-decoration toggle on these link groups */
    .dest-country, .crumbs a, .hub-cat__head a, .footer-nav a { position: relative; }
    .dest-country::after, .crumbs a::after, .hub-cat__head a::after, .footer-nav a::after {
      content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
      background: currentColor; transform: scaleX(0); transform-origin: left;
      transition: transform .2s ease-out;
    }
    .dest-country:hover::after, .crumbs a:hover::after,
    .hub-cat__head a:hover::after, .footer-nav a:hover::after { transform: scaleX(1); }

    /* homepage: popular destinations chip row */
    .chip-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; }
    .chip-nav a {
      display: inline-flex; align-items: center; min-height: 44px;
      font-size: 0.95rem; font-weight: 500; text-decoration: none; color: var(--ink);
      border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
      padding: 0.4em 1.1em; transition: border-color .12s, background .12s;
    }
    .chip-nav a:hover { border-color: var(--accent); }

    /* ===== FORMS (list-your-business) ===== */
    /* generic form layout primitives, borrowing .search__input's look */
    .form-field { display: flex; flex-direction: column; gap: 1rem; max-width: 560px; }
    .form-row { display: flex; flex-direction: column; gap: 0.35rem; }
    .form-row label { font-size: 0.85rem; font-weight: 600; color: var(--muted); }
    .form-hint { font-size: 0.82rem; color: var(--muted); margin: 0.1rem 0 0; }
    .form-row input, .form-row select, .form-row textarea {
      font: inherit; font-size: 1rem; color: var(--ink);
      padding: 0.75em 1em; border-radius: var(--radius-sm);
      border: 1px solid var(--line); background: var(--surface);
      transition: border-color .12s, box-shadow .12s;
    }
    .form-row textarea { min-height: 8rem; resize: vertical; }
    .form-row input:focus, .form-row select:focus, .form-row textarea:focus {
      outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent);
    }
    .form-actions { margin-top: 0.2rem; }
    .form-success { margin-top: 1rem; padding: 0.9rem 1.1rem; border-radius: var(--radius-md); color: var(--ink);
      background: color-mix(in srgb, var(--accent) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line)); }
    .form-success a { color: var(--accent); font-weight: 600; }
    .form-error { color: #9a2b2b; font-size: 0.9rem; margin: 0; }
