/* 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: 700; font-display: swap; src: url("/fonts/hanken-700.woff2") format("woff2"); }

    :root {
      --paper: #f7f4ec;
      --ink: #13302c;
      --muted: #334540;
      --line: #c4ba9e;
      --accent: #0c5c57;
      --accent-ink: #fbfaf5;
      --dot: #ef9e39;
      --radius: 999px;
      --radius-sm: 10px;
      --radius-md: 12px;
      --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);
      --shadow-card: 0 1px 2px rgba(19,48,44,.1), 0 4px 14px rgba(19,48,44,.14);
      --text-h1: 48px;
      --text-section: 24px;
      --text-card: 18px;
      --text-body: 16px;
      --text-meta: 13px;
    }
    * { box-sizing: border-box; }
    html { -webkit-text-size-adjust: 100%; height: 100%; }
    .skip-link {
      position: absolute; left: 0.8rem; top: 0.8rem; z-index: 100;
      transform: translateY(-200%);
      background: var(--accent); color: var(--accent-ink);
      padding: 0.6em 1.1em; border-radius: var(--radius-sm);
      font-weight: 600; text-decoration: none;
    }
    .skip-link:focus { transform: none; }
    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);
      font-size: var(--text-body);
      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 */
    header, main, footer { min-width: 0; }
    main { flex: 1 0 auto; padding-bottom: 2.5rem; }
    .wrap { width: min(1120px, 100% - 2.5rem); max-width: 100%; margin-inline: auto; }
    a { color: inherit; }

    /* header */
    header { padding: 2rem 0 1rem; }
    .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: var(--text-meta); 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; }
    .side-opt[hidden] { display: none; }

    /* 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;
      box-shadow: var(--shadow-card);
      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), var(--shadow-card);
    }
    .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, .card:hover .card__ph { transform: scale(1.05); }
    .card__ph { width: 100%; height: 100%; position: relative; overflow: hidden; transition: transform .25s; }
    .card__ph::after {
      content: ""; position: absolute; left: -10%; right: -10%; bottom: -8%; height: 48%;
      background: rgba(255,255,255,0.14); border-radius: 50% 45% 0 0;
    }
    .card__ph--surf-schools { background: linear-gradient(135deg, hsl(189, 62%, 46%), hsl(212, 55%, 24%)); }
    .card__ph--surf-shops { background: linear-gradient(135deg, hsl(32, 78%, 52%), hsl(14, 52%, 30%)); }
    .card__ph--surf-stays { background: linear-gradient(135deg, hsl(152, 36%, 40%), hsl(166, 40%, 18%)); }
    .card__ph--surf-services { background: linear-gradient(135deg, hsl(232, 20%, 42%), hsl(230, 34%, 15%)); }
    .card__ph--blog { background: linear-gradient(135deg, hsl(176, 52%, 38%), hsl(176, 70%, 18%)); }
    .card__ph--destination { background: linear-gradient(135deg, hsl(189, 48%, 42%), hsl(176, 55%, 18%)); }
    .card__place .flag { width: 1.15em; margin-right: 0.35em; vertical-align: -0.12em; }
    /* 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: var(--text-meta); 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: var(--text-meta); text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); }
    .card__name { font-size: var(--text-card); font-weight: 600; margin: 0; line-height: 1.25; }
    .card__blurb {
      color: var(--muted); font-size: var(--text-body); 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.45rem; margin-top: 0.55rem; }
    .lvl {
      display: inline-flex; align-items: center;
      font-size: 0.82rem; font-weight: 500; line-height: 1.2;
      color: var(--muted);
      border: 1px solid var(--line); border-radius: var(--radius-md);
      padding: 0.4em 0.85em; min-height: 2em; background: var(--surface);
      white-space: nowrap; max-width: 100%;
    }
    .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; }
    .footer-nav a:hover { color: var(--ink); }

    @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-md);
        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: 1.4rem; }
      .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; min-width: 0; }
    .detail__eyebrow { width: 100%; font-size: var(--text-meta); text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); margin: 0; }
    .detail__title {
      font-size: var(--text-h1); font-weight: 700; letter-spacing: -0.02em;
      margin: 0; line-height: 1.15; min-width: 0; max-width: 100%; width: 100%;
    }
    .badge-verified.inline {
      position: static; box-shadow: none; font-size: var(--text-meta);
    }
    .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, .detail__media .card__ph { width: 100%; height: 100%; object-fit: cover; display: block; }
    .detail__grid { display: grid; grid-template-columns: 1fr 320px; gap: 2.6rem; align-items: start; }
    /* Grid items default to min-width: auto, so a wide table (or long
       unbreakable string) expands the column and the whole page scrolls
       sideways. Allow the article column to shrink; tables scroll inside. */
    .detail__grid > * { min-width: 0; }
    .detail__title, .detail__lead, .article-prose { overflow-wrap: break-word; }
    .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.55rem; align-items: center; }
    /* listing-page chips (surf spots, accreditation) — same weight as other site pills */
    .tags .lvl {
      font-size: 0.95rem; font-weight: 500; color: var(--ink);
      padding: 0.45em 1.1em; min-height: 44px; line-height: 1.25;
    }
    .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: var(--text-meta); 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; }
      .detail__title { font-size: var(--text-h1); }
      .article-prose th, .article-prose td { padding: 0.45rem 0.55rem; }
    }

    /* ===== accessibility & performance tuning ===== */
    /* filtered-out cards */
    .card[hidden] { display: none; }
    /* legible font sizes (>= 12px) */
    .card__place, .filter-label { font-size: var(--text-meta); }
    .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: var(--text-meta); }

    /* ===== 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: 0.2rem 0 0; max-width: 640px; }
    .hero h1 { font-size: var(--text-h1); font-weight: 700; letter-spacing: -0.02em; margin: 0 0 0.45rem; line-height: 1.15; }
    .hero p { color: var(--muted); font-size: var(--text-body); 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-md); background: var(--surface);
      padding: 0.5em 1.1em; box-shadow: var(--shadow-card);
      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: 0.7rem; max-width: 480px; }
    .search--compact { margin-top: 0; flex: 1 1 220px; max-width: 360px; min-width: 180px; }
    .search__form { position: relative; }
    .search__icon {
      position: absolute; left: 0.95em; top: 50%; transform: translateY(-50%);
      width: 1.1rem; height: 1.1rem; color: var(--muted); pointer-events: none;
    }
    .search__icon svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; }
    .search__input {
      width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
      padding: 0.85em 2.6em 0.85em 2.55em; border-radius: var(--radius-md);
      border: 1px solid var(--line); background: var(--surface);
      box-shadow: var(--shadow-card);
      transition: border-color .12s, box-shadow .12s;
    }
    .search--compact .search__input { padding: 0.62em 2.4em 0.62em 2.35em; font-size: 0.95rem; }
    .search__input::-webkit-search-decoration,
    .search__input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
    .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__clear {
      position: absolute; right: 0.35em; top: 50%; transform: translateY(-50%);
      width: 2rem; height: 2rem; border: 0; border-radius: 50%;
      background: transparent; color: var(--muted); cursor: pointer;
      font: inherit; font-size: 1.2rem; line-height: 1;
    }
    .search__clear:hover { color: var(--ink); background: color-mix(in srgb, var(--accent) 9%, transparent); }
    .search__results {
      position: absolute; z-index: 20; 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: min(70vh, 420px); 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 { background: color-mix(in srgb, var(--accent) 9%, transparent); }
    .search__result.is-active {
      background: color-mix(in srgb, var(--accent) 18%, var(--surface));
      box-shadow: inset 3px 0 0 var(--accent);
    }
    .search__name { font-weight: 600; }
    .search__name mark, .search__meta mark {
      background: color-mix(in srgb, var(--dot) 42%, transparent);
      color: inherit; font-weight: 700; padding: 0;
    }
    .search__meta { font-size: var(--text-meta); color: var(--muted); display: flex; flex-wrap: wrap; gap: 0.35em 0.55em; align-items: center; }
    .search__verified {
      display: inline-flex; align-items: center; gap: 0.15em;
      font-size: var(--text-meta); font-weight: 700; letter-spacing: 0.01em; color: #6a3f04;
    }
    .search__verified svg { width: 0.9em; height: 0.9em; fill: currentColor; }
    .search__empty { padding: 0.75em 0.7em; color: var(--muted); font-size: 0.92rem; }
    .search__more { padding: 0.15rem 0.3rem 0.25rem; }
    .search__more-link {
      display: block; padding: 0.55em 0.5em; font-weight: 600; font-size: 0.9rem;
      color: var(--accent); text-decoration: none; border-radius: var(--radius-sm);
    }
    .search__more-link:hover { background: color-mix(in srgb, var(--accent) 9%, transparent); }
    @media (max-width: 720px) {
      .search--compact { flex: 1 1 100%; max-width: none; order: 5; }
    }

    .search-page { max-width: 720px; }
    .search-page .search { max-width: none; }
    .search-page__status { color: var(--muted); margin: 1rem 0 0; }
    .search-page__group { margin-top: 1.6rem; }
    .search-page__group h2 { font-size: 1.05rem; margin: 0 0 0.6rem; }
    .search-page__list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); overflow: hidden; box-shadow: var(--shadow-card); }
    .search-page__list li + li { border-top: 1px solid var(--line); }
    .search__result--page { padding: 0.85em 1em; border-radius: 0; }
    .search__result--page:hover, .search__result--page.is-active { background: color-mix(in srgb, var(--accent) 7%, transparent); }

    .hub-cat { margin-top: 3.5rem; scroll-margin-top: 1.5rem; }
    .hero + .hub-cat { margin-top: 1.75rem; }
    .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: var(--text-section); 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; }
    .hub-cat__head a:hover { color: var(--ink); }

    .cat-head { margin: 1.4rem 0 0.4rem; }
    .cat-head h1 { font-size: var(--text-h1); 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: 2.6rem; }
    }

    /* ===== 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: var(--text-meta); 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); min-width: 0; }
    .crumbs a { color: var(--muted); text-decoration: none; }
    .crumbs a:hover { color: var(--accent); }
    .crumbs [aria-current="page"] { color: var(--ink); min-width: 0; overflow-wrap: break-word; }
    .crumbs__sep { color: var(--line); }

    /* town editorial sections (beaches / when to surf / FAQ) */
    .town-ed { margin-top: 3.5rem; scroll-margin-top: 1.5rem; }
    .town-ed > h2 { font-size: var(--text-section); 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-list--prose { grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); }
    .ed-list--prose .ed-item p { line-height: 1.5; }
    .ed-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 1rem 1.1rem; box-shadow: var(--shadow-card); }
    .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-card); }
    .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; }
    }

    .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); }

    /* 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-md); background: var(--surface);
      padding: 0.4em 1.1em; box-shadow: var(--shadow-card);
      transition: border-color .12s, background .12s;
    }
    .chip-nav a:hover { border-color: var(--accent); }
    .chip-nav .flag { width: 1.15em; margin-right: 0.35em; flex-shrink: 0; }

    /* ===== 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;
      display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center;
    }
    button.btn { font-family: inherit; cursor: pointer; }

    /* agency page */
    .hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.2rem; }
    .copy { max-width: 640px; }
    .copy p { color: var(--muted); font-size: var(--text-body); line-height: 1.6; margin: 0; }
    .copy p + p { margin-top: 0.9rem; }
    .copy em { font-style: italic; color: var(--ink); }
    .hub-cat .copy { margin-bottom: 1rem; }
    .pullquote {
      margin: 1.1rem 0;
      padding: 1rem 1.15rem;
      border-left: 3px solid var(--accent);
      background: var(--surface);
      border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    }
    .pullquote p, .hero .pullquote p {
      color: var(--ink); font-size: 1.05rem; font-style: italic; margin: 0; line-height: 1.55;
    }
    .agency-steps {
      list-style: none; margin: 0; padding: 0; max-width: 640px;
      display: flex; flex-direction: column; gap: 1rem; counter-reset: agency-step;
    }
    .agency-steps li {
      counter-increment: agency-step;
      display: grid; grid-template-columns: 1.7rem 1fr; column-gap: 0.9rem;
      background: var(--surface); border: 1px solid var(--line);
      border-radius: var(--radius-md); padding: 1rem 1.1rem;
      box-shadow: var(--shadow-card);
    }
    .agency-steps li::before {
      content: counter(agency-step);
      grid-row: 1 / span 2;
      width: 1.7rem; height: 1.7rem; border-radius: 50%;
      background: var(--accent); color: var(--accent-ink);
      font-weight: 700; font-size: 0.85rem; line-height: 1.7rem; text-align: center;
    }
    .agency-steps h3 { margin: 0 0 0.3rem; font-size: 1.05rem; font-weight: 600; }
    .agency-steps p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.5; }
    .agency-contact { margin: 1.1rem 0 0; color: var(--muted); font-size: 0.95rem; max-width: 640px; }
    .agency-contact a { color: var(--accent); font-weight: 600; }
    .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; }
    /* honeypot — visually hidden, not display:none, so bots still fill it */
    .form-hp {
      position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden;
    }

    /* ===== blog articles ===== */
    .article { display: block; min-width: 0; max-width: 100%; }
    .article-prose { font-size: var(--text-body); line-height: 1.65; }
    .article-prose h2 {
      font-size: var(--text-section); font-weight: 700; letter-spacing: -0.01em;
      margin: 2rem 0 0.7rem; line-height: 1.25;
    }
    .article-prose h3 {
      font-size: 1.08rem; font-weight: 700; margin: 1.5rem 0 0.5rem; line-height: 1.3;
    }
    .article-prose p { margin: 0 0 1rem; }
    .article-prose a { color: var(--accent); }
    .article-prose ul, .article-prose ol { margin: 0 0 1.1rem; padding: 0 0 0 1.2rem; }
    .article-prose li { margin: 0.35rem 0; }
    .article-prose li::marker { color: var(--accent); }
    .article-prose .article-table-wrap {
      display: block;
      width: 100%;
      max-width: 100%;
      min-width: 0;
      overflow-x: auto;
      margin: 0 0 1.25rem;
      -webkit-overflow-scrolling: touch;
      overscroll-behavior-x: contain;
    }
    .article-prose table {
      width: max-content;
      max-width: none;
      border-collapse: collapse;
      font-size: 0.92rem;
      line-height: 1.4;
    }
    .article-prose th, .article-prose td {
      border: 1px solid var(--line); padding: 0.55rem 0.7rem; text-align: left; vertical-align: top;
    }
    .article-prose th { font-weight: 600; background: var(--surface); white-space: nowrap; }
    .article-prose td { color: var(--text); }
    .detail__facts .chip-nav { margin: 0 0 1.1rem; }
    .detail__facts .filter-label { margin: 0.2rem 0 0.55rem; }
    .detail__facts .btn--secondary { margin-bottom: 0; }
