/* ==========================================================================
   MelbourneWebDesigners.com — "The Shortlist"
   Exaggerated-minimal editorial design system.
   Art direction: Fable 5 · Build: Opus 4.8
   One file. Self-hosted fonts. Vanilla. prefers-reduced-motion honoured.
   ========================================================================== */

/* ---------------------------------------------------------------- fonts --- */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/bricolage-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/bricolage-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/instrument-serif-italic-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
}

/* -------------------------------------------------------------- tokens --- */
:root {
  --bg: #0A0A0B;
  --bg-raised: #111114;
  --paper: #F4F2EC;
  --ink: #F4F2EC;
  --ink-dark: #0A0A0B;
  --muted: #96938A;
  --muted-paper: #565349;
  --acid: #D9FF3F;
  --acid-ink: #0A0A0B;

  --line: rgba(244, 242, 236, .12);
  --line-strong: rgba(244, 242, 236, .22);
  --line-paper: rgba(10, 10, 11, .15);
  --line-paper-strong: rgba(10, 10, 11, .26);

  --display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1240px;
  --wrap-narrow: 760px;
  --gut: clamp(1.15rem, 4vw, 2.75rem);

  --fs-display: clamp(2.8rem, 9vw, 9rem);
  --fs-h2: clamp(2rem, 5vw, 4rem);
  --fs-row: clamp(1.4rem, 2.6vw, 2.6rem);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --radius: 4px;

  color-scheme: dark;
}

/* --------------------------------------------------------------- reset --- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
/* overflow-x guard: clip creates no scroll container (sticky-safe backstop) */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* Lenis smooth scroll. Native scroll-behavior above is the no-JS/reduced-motion
   fallback; once Lenis boots it adds .lenis and MUST own scrolling outright —
   the two easings fight each other otherwise. */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
  overflow-x: hidden;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

::selection { background: var(--acid); color: var(--acid-ink); }

:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 3px;
  border-radius: 2px;
}

/* --------------------------------------------------------------- grain --- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------- helpers --- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap-narrow { max-width: var(--wrap-narrow); }
.center { text-align: center; }
.hide { display: none !important; }
.vh {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
main > section { padding-block: clamp(3.5rem, 9vw, 8rem); }
main > section.section-tight { padding-block: clamp(3rem, 6vw, 5.5rem); }

.eyebrow {
  font-family: var(--body);
  font-weight: 500;
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  font-feature-settings: "tnum" 1;
}
.eyebrow.boxed {
  display: inline-block;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  padding: .5rem .95rem;
  color: var(--ink);
}
.eyebrow.center { display: block; }

.serif-italic { font-family: var(--serif); font-style: italic; font-weight: 400; }
.outline {
  -webkit-text-stroke: 1.5px var(--ink);
  text-stroke: 1.5px var(--ink);
  color: transparent;
  paint-order: stroke fill;
}

/* -------------------------------------------------------------- motion --- */
[data-reveal] { opacity: 0; transform: translateY(24px); }
[data-reveal].in {
  opacity: 1; transform: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  transition-delay: calc(var(--i, 0) * 60ms);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal].in { opacity: 1 !important; transform: none !important; transition: none !important; }
  .marquee__track { animation: none !important; }
  .spin { animation: none !important; }
}

/* ============================================================== BUTTONS === */
.btn {
  --arrow-x: 0px;
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-family: var(--body);
  font-weight: 500;
  font-size: .98rem;
  line-height: 1;
  letter-spacing: -.01em;
  padding: 1rem 1.5rem;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 100px;
  transition: background-color .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), transform .18s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn .arr { display: inline-block; transition: transform .18s var(--ease); transform: translateX(var(--arrow-x)); }
.btn:hover .arr, .btn:focus-visible .arr { --arrow-x: 4px; }

.btn-lg { font-size: 1.05rem; padding: 1.15rem 1.85rem; min-height: 56px; }

.btn-primary { background: var(--acid); color: var(--acid-ink); border-color: var(--acid); }
.btn-primary:hover, .btn-primary:focus-visible { background: #E8FF74; border-color: #E8FF74; }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: var(--paper); color: var(--ink-dark); border-color: var(--paper); }

/* on paper sections, ghost inverts the other way */
.on-paper .btn-ghost { color: var(--ink-dark); border-color: var(--line-paper-strong); }
.on-paper .btn-ghost:hover, .on-paper .btn-ghost:focus-visible { background: var(--ink-dark); color: var(--paper); border-color: var(--ink-dark); }

/* text link with sliding underline */
.ulink {
  position: relative;
  color: inherit;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px;
  transition: background-size .28s var(--ease);
  padding-bottom: 1px;
}
.ulink:hover, .ulink:focus-visible { background-size: 100% 1px; }

/* ============================================================== HEADER ==== */
header.site {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
}
header.site.scrolled {
  background: rgba(10, 10, 11, .72);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom-color: var(--line);
}
/* Mobile: pin the header with position:fixed — the root overflow-x guard breaks
   position:sticky on iOS/WebKit (header floats down). Fixed is immune; the
   content offset below replaces the space the in-flow sticky header used to take. */
@media (max-width: 860px) {
  header.site { position: fixed; left: 0; right: 0; top: 0; }
  .page-main { padding-top: 77px; }
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
}
.brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -.03em;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
}
.brand svg { height: 21px; width: auto; display: block; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.4vw, 2.2rem);
}
.nav-menu a.navlink {
  font-size: .95rem;
  font-weight: 400;
  color: var(--muted);
  transition: color .18s var(--ease);
  background-image: linear-gradient(var(--acid), var(--acid));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 1.5px;
  padding-bottom: 3px;
}
.nav-menu a.navlink:hover,
.nav-menu a.navlink:focus-visible,
.nav-menu a.navlink[aria-current="page"] { color: var(--ink); background-size: 100% 1.5px; }
.nav-cta .btn { padding: .7rem 1.15rem; min-height: 44px; }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  align-items: center; justify-content: center;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  flex-shrink: 0;
  margin-left: auto;
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: fixed;
    inset: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: .35rem;
    padding: clamp(1.5rem, 8vw, 4rem);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform .4s var(--ease), opacity .3s var(--ease), visibility .3s;
    z-index: 200;
  }
  .nav-menu.open { transform: none; opacity: 1; visibility: visible; }
  .nav-menu a.navlink {
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(2.2rem, 11vw, 3.6rem);
    letter-spacing: -.03em;
    line-height: 1.02;
    color: var(--ink);
    background: none;
    padding: .12em 0;
  }
  .nav-menu a.navlink[aria-current="page"] { color: var(--acid); }
  .nav-cta { margin-top: 1.4rem; }
  .nav-cta .btn { font-size: 1.1rem; padding: 1.1rem 1.7rem; min-height: 56px; }
  .nav-close {
    position: absolute;
    top: clamp(1.1rem, 4vw, 1.6rem);
    right: var(--gut);
    width: 48px; height: 48px;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--ink);
    border: 1px solid var(--line-strong);
    border-radius: 100px;
  }
  .nav-close svg { width: 20px; height: 20px; }
}
@media (min-width: 861px) { .nav-close { display: none; } }

/* ================================================================= HERO === */
.hero {
  position: relative;
  min-height: min(92svh, 900px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: clamp(4rem, 10vw, 7rem);
}
.hero::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -15%;
  width: 70vw;
  height: 70vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(circle, rgba(217, 255, 63, .16), rgba(217, 255, 63, 0) 62%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner { position: relative; z-index: 1; width: 100%; }
/* soft dark halo so copy stays legible when the dust word passes beneath */
.hero-serif, .hero-meta {
  text-shadow: 0 0 18px rgba(10, 10, 11, .95), 0 0 7px rgba(10, 10, 11, .9), 0 1px 3px rgba(10, 10, 11, .8);
}

/* ------------------------------------------------ hero dust (Flinders) --- */
.hero-dust {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 11%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 11%);
}
.hero-static {
  display: none;
  position: absolute;
  left: 50%;
  bottom: 5%;
  transform: translateX(-50%);
  width: min(97%, 1680px);
  opacity: .07;
  pointer-events: none;
  z-index: 0;
}
.hero-static svg { width: 100%; height: auto; transform: scaleX(-1); }

/* -------------------------------------- custom cursor: 3×3 acid square --- */
html {
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='9' height='9'><rect width='9' height='9' rx='3' fill='%23D9FF3F'/></svg>") 4 4, auto;
}
a, button, [role="button"], summary, select, label { cursor: inherit; }
input:not([type="radio"]):not([type="checkbox"]), textarea { cursor: text; }
.band-paper, .band-paper *, .cta-band, .cta-band *, footer.site, footer.site * {
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='9' height='9'><rect width='9' height='9' rx='3' fill='%230A0A0B'/></svg>") 4 4, auto;
}

.hero-kicker { margin-bottom: clamp(1.6rem, 4vw, 2.4rem); }

.hero h1, h1.display {
  font-family: var(--display);
  font-weight: 800;
  font-size: var(--fs-display);
  line-height: .92;
  letter-spacing: -.03em;
  text-transform: uppercase;
  margin: 0;
}
.hero h1 .line { display: block; }
.hero-serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -.01em;
  font-size: clamp(1.5rem, 4.2vw, 3rem);
  line-height: 1.08;
  color: var(--muted);
  margin-top: clamp(1.1rem, 2.4vw, 1.8rem);
  max-width: 20ch;
}
.hero-serif em { color: var(--ink); font-style: italic; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1rem;
  margin-top: clamp(1.8rem, 4vw, 2.6rem);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  font-feature-settings: "tnum" 1;
}
.hero-meta .star { color: var(--acid); font-size: .8em; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: clamp(2rem, 4.5vw, 3rem);
}

/* small screens: hero CTAs stack full-width; boxed kicker wraps gracefully */
@media (max-width: 560px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .eyebrow.boxed { border-radius: 16px; letter-spacing: .13em; }
  .hero-meta { font-size: .74rem; letter-spacing: .1em; }
}

/* ============================================================== MARQUEE === */
.marquee {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding-block: clamp(1rem, 2.2vw, 1.5rem);
  --marq-dur: 40s;
}
.marquee--thin { padding-block: .7rem; border-block: none; }
.marquee__track {
  display: flex;
  width: max-content;
  animation: marq var(--marq-dur) linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: var(--ink);
  padding-inline: clamp(1rem, 2vw, 1.6rem);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.6rem);
}
.marquee__item .sep { color: var(--acid); }
.marquee--thin .marquee__item {
  font-family: var(--body);
  font-weight: 500;
  font-size: .78rem;
  letter-spacing: .2em;
  color: var(--muted);
}
.marquee--thin .marquee__item .sep { color: var(--acid); }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* scroll-driven mode (site.js): the strip's position follows the page scroll
   instead of auto-looping. The keyframe loop above stays as the no-JS fallback. */
.marquee.scroll-driven .marquee__track { animation: none; will-change: transform; }

/* ============================================================= FEATURED === */
.featured-wrap { position: relative; }
.featured {
  position: relative;
  border: 1px solid var(--acid);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-raised);
  isolation: isolate;
}
.featured::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(120% 140% at 85% 0%, rgba(217, 255, 63, .14), rgba(217, 255, 63, 0) 55%);
  z-index: -1;
  animation: breathe 6s ease-in-out infinite;
}
@keyframes breathe { 0%,100% { opacity: .7; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .featured::before { animation: none; } }

.featured-grid { display: grid; grid-template-columns: minmax(0, 300px) 1fr; }
.featured-logo {
  background: var(--bg);
  border-right: 1px solid var(--line);
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  min-height: 100%;
}
.featured-ribbon {
  font-family: var(--body);
  font-weight: 500;
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--acid);
}
.featured-tile {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2rem) 0;
}
.featured-tile img { width: clamp(120px, 60%, 190px); height: auto; }
/* animated logo ships white-on-black — screen blend drops the black onto the
   dark card so only the wordmark + flame show, no rectangle */
.featured-tile picture img { width: clamp(170px, 92%, 250px); mix-blend-mode: screen; }
.featured-rating {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .84rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: .45rem .9rem;
  align-self: flex-start;
  font-feature-settings: "tnum" 1;
  white-space: nowrap;
}
.featured-rating .stars { color: var(--acid); letter-spacing: .05em; }
.featured-rating b { color: var(--ink); font-weight: 500; }

.featured-body { padding: clamp(2rem, 4vw, 3rem); }
.featured-body h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: .96;
  letter-spacing: -.03em;
  margin-bottom: 1rem;
}
.featured-body h2 .tm {
  font-size: .34em;
  font-weight: 700;
  vertical-align: super;
  letter-spacing: 0;
  margin-left: .08em;
}
.featured-body .blurb { color: var(--muted); max-width: 54ch; margin-bottom: 1.4rem; }
.featured-body .blurb a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(244,242,236,.4); transition: text-decoration-color .18s var(--ease); }
.featured-body .blurb a:hover, .featured-body .blurb a:focus-visible { text-decoration-color: var(--acid); }
.featured-actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin-top: .4rem; }
.featured-affil {
  margin-top: 1.2rem;
  font-size: .78rem;
  color: var(--muted);
}
.featured-affil a { color: var(--ink); }
.featured-affil a:hover { color: var(--acid); }

@media (max-width: 760px) {
  .featured-grid { grid-template-columns: 1fr; }
  /* column stack: ribbon / tile / rating — nothing can overflow sideways */
  .featured-logo {
    border-right: none;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 1.1rem;
  }
  .featured-tile { flex: none; padding: .3rem 0; }
  .featured-tile img { width: 150px; }
}
@media (max-width: 560px) {
  /* CTAs stack full-width on small screens */
  .featured-actions { flex-direction: column; align-items: stretch; }
  .featured-actions .btn { width: 100%; justify-content: center; }
}

/* ================================================================ CHIPS === */
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip {
  display: inline-flex;
  align-items: center;
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .01em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: .32rem .72rem;
  white-space: nowrap;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.chip-suburb { color: var(--ink); }
.chip-rating { color: var(--acid-ink); background: var(--acid); border-color: var(--acid); font-weight: 500; }
/* X/Meta-style verification mark — sits inline beside the agency name.
   Fixed px (not em) so it stays a small annotation next to any name size. */
.vmark {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  vertical-align: middle;
  margin-left: 9px;
  position: relative;
  top: -.06em;
  font-family: var(--body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  color: var(--acid);
}
.vmark svg { width: 14px; height: 14px; flex: 0 0 auto; }
.vmark svg circle { fill: var(--acid); }
.vmark svg path { fill: none; stroke: var(--acid-ink); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }

/* ============================================================ SECTIONHEAD = */
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.sec-head h2, h2.h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: var(--fs-h2);
  line-height: .96;
  letter-spacing: -.03em;
  text-transform: uppercase;
}
.sec-head .sub {
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  margin-top: .5rem;
}
.sec-head .updated { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-feature-settings: "tnum" 1; }

/* ≤720px: reviewed-line drops under the italic subline, left-aligned */
@media (max-width: 720px) {
  .sec-head { flex-direction: column; align-items: flex-start; gap: .6rem; }
}

h2.center, .sec-head--center { text-align: center; }
.sec-head--center { flex-direction: column; align-items: center; }

/* ============================================================== FILTERS === */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.4rem);
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
}
.filter-btn {
  font-size: .85rem;
  font-weight: 500;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  padding: .6rem 1.05rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: .45em;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
  font-feature-settings: "tnum" 1;
}
.filter-btn .ct { color: var(--muted); font-size: .82em; }
.filter-btn:hover { color: var(--ink); border-color: var(--ink); }
.filter-btn[aria-pressed="true"] { background: var(--acid); color: var(--acid-ink); border-color: var(--acid); }
.filter-btn[aria-pressed="true"] .ct { color: var(--acid-ink); opacity: .7; }
@media (max-width: 560px) {
  .filters { gap: .4rem; padding-bottom: 1rem; }
  .filter-btn { font-size: .78rem; padding: .42rem .78rem; min-height: 36px; gap: .3em; }
  .filter-btn .ct { font-size: .78em; }
}

/* =============================================================== THE LIST = */
.list { border-top: 1px solid var(--line); }
.row {
  position: relative;
  display: grid;
  grid-template-columns: auto 56px 1fr auto;
  align-items: center;
  gap: clamp(.9rem, 2.4vw, 2rem);
  padding: clamp(1.1rem, 2.4vw, 1.7rem) 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  transition: background-color .18s var(--ease), color .18s var(--ease), padding-inline .18s var(--ease);
}
.row-index {
  font-family: var(--body);
  font-weight: 500;
  font-size: clamp(.85rem, 1.4vw, 1.05rem);
  color: var(--muted);
  font-feature-settings: "tnum" 1;
  letter-spacing: .02em;
  min-width: 2.2ch;
}
.row-logo {
  width: 56px; height: 56px;
  border-radius: 8px;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.row-logo img {
  width: 78%; height: 78%;
  object-fit: contain;
  filter: grayscale(1) contrast(1.05);
  transition: filter .18s var(--ease);
}
.row-mono {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -.04em;
  color: var(--ink-dark);
  line-height: 1;
}
.row-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: var(--fs-row);
  line-height: 1;
  letter-spacing: -.03em;
  min-width: 0;
}
.row-name a { color: inherit; }
.row-name a::after { content: ""; position: absolute; inset: 0; }
/* suburb micro-label — hidden on desktop (chips carry it), shown ≤720px */
.row-sub {
  display: none;
  font-family: var(--body);
  font-weight: 500;
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: .45rem;
}
.row-meta {
  display: flex;
  align-items: center;
  gap: .55rem;
  justify-self: end;
  min-width: 0;
}
.row-meta .chip { pointer-events: none; }
.row-ext {
  position: relative;
  z-index: 2;
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  color: var(--ink);
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
  flex-shrink: 0;
}
.row-ext svg { width: 16px; height: 16px; }

/* dark tile variant — for light/white marks that vanish on paper */
.row-logo.tile--dark, .profile-logo.tile--dark { background: #17181A; }

/* whole-row invert on hover/focus */
.row:hover, .row:focus-within {
  background: var(--paper);
  color: var(--ink-dark);
  padding-inline: clamp(.6rem, 1.6vw, 1.2rem);
}
.row:hover .row-index, .row:focus-within .row-index { color: var(--muted-paper); }
.row:hover .row-logo img, .row:focus-within .row-logo img { filter: none; }
.row:hover .row-name, .row:focus-within .row-name { color: var(--ink-dark); }
.row:hover .row-sub, .row:focus-within .row-sub { color: var(--muted-paper); }
.row:hover .chip, .row:focus-within .chip { color: var(--muted-paper); border-color: var(--line-paper); }
.row:hover .chip-suburb, .row:focus-within .chip-suburb { color: var(--ink-dark); }
.row:hover .chip-rating, .row:focus-within .chip-rating { color: var(--acid-ink); border-color: var(--acid); }
/* row inverts to paper on hover — keep the word legible (the acid seal still pops) */
.row:hover .vmark-word, .row:focus-within .vmark-word { color: var(--ink-dark); }
.row:hover .row-ext, .row:focus-within .row-ext { border-color: var(--line-paper-strong); color: var(--ink-dark); transform: translate(3px, -3px); }
.row:hover .row-logo, .row:focus-within .row-logo { background: #fff; }
/* dark tiles stay dark on row invert — white marks on white would vanish */
.row:hover .row-logo.tile--dark, .row:focus-within .row-logo.tile--dark { background: #1D1E22; }

/* ≤720px: rows reduce to index + tile + name(+suburb micro) + ↗ only */
@media (max-width: 720px) {
  .row { grid-template-columns: auto 48px 1fr auto; gap: .75rem; }
  .row-logo { width: 48px; height: 48px; }
  .row-meta .chip { display: none; }
  .row-meta { gap: .4rem; }
  .row-sub { display: block; }
}

.list-empty { margin-top: 1.6rem; color: var(--muted); }
.list-empty .filter-btn { margin-left: .3rem; }

/* ===================================================== HOW IT WORKS (paper) */
.band-paper {
  background: var(--paper);
  color: var(--ink-dark);
  position: relative;
  overflow: hidden;
  border-radius: clamp(24px, 3vw, 44px) clamp(24px, 3vw, 44px) 0 0;
}
.band-paper .eyebrow { color: var(--muted-paper); }
.band-paper h2 { color: var(--ink-dark); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.step { position: relative; }
.step-ghost {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(6rem, 12vw, 12rem);
  line-height: .8;
  letter-spacing: -.04em;
  -webkit-text-stroke: 1.5px rgba(10, 10, 11, .18);
  text-stroke: 1.5px rgba(10, 10, 11, .18);
  color: transparent;
  margin-bottom: -.15em;
  display: block;
}
.step h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  letter-spacing: -.02em;
  line-height: 1.05;
  margin: .8rem 0 .6rem;
}
.step p { color: var(--muted-paper); max-width: 34ch; }
.step .acc {
  background: linear-gradient(var(--acid), var(--acid));
  background-repeat: no-repeat;
  background-position: 0 88%;
  background-size: 100% .28em;
  padding: 0 .06em;
  color: var(--ink-dark);
}
@media (max-width: 780px) {
  .steps { grid-template-columns: 1fr; gap: 2.5rem; }
  /* stacked steps sit outside .wrap — give them the heading's gutter so they
     line up with "SHORTLIST…" (reset under hscroll-on so the desktop reticle,
     which is JS-positioned, is unaffected in the 761–780px overlap) */
  .hs-stage { padding-inline: var(--gut); }
  .hscroll-on .hs-stage { padding-inline: 0; }
  /* CTA card: lead with the action, not the number — small "04" label, big
     "Start now" (base styles make the outlined number dwarf the CTA text) */
  .step-cta { padding: 1.7rem 1.6rem; }
  .step-cta .step-ghost {
    font-size: 1.4rem;
    color: rgba(10, 10, 11, .5);
    -webkit-text-stroke-width: 0;
    text-stroke-width: 0;
    margin-bottom: .1rem;
    letter-spacing: 0;
  }
  .step-cta h3 { font-size: clamp(2rem, 8vw, 2.6rem); margin: .1rem 0 .25rem; }
  .step-cta .step-p { margin-top: .2rem; }
}

/* --- How-it-works: pinned "focus reticle" scrub (after the MIRA reference).
       Section pins a full 100vh (anchored to top, header-cleared); vertical
       scroll steps cards through a dead-centre 5:3 acid bracket frame. Active
       card sharp + chrome dissolved; upcoming cards blurred (depth of field);
       past cards gone. Description crossfades below the frame; a MIRA split
       counter (done+active cluster left, upcoming right, growing acid line)
       tracks state. JS gates via .hscroll-on — no-JS, reduced-motion and
       mobile keep the stacked grid. --- */
.step-ghost { transition: color .4s var(--ease); }
.hs-frame, .hs-desc, .hs-count { display: none; }
.step-cta {
  display: block;
  background: var(--acid);
  color: var(--ink-dark);
  border-radius: 24px;
  padding: clamp(1.4rem, 2.5vw, 2.2rem);
}
.step-cta .step-ghost { -webkit-text-stroke-color: rgba(10, 10, 11, .32); text-stroke-color: rgba(10, 10, 11, .32); }
.step-cta .step-p { color: rgba(10, 10, 11, .72); }
.step-cta .cta-arr { display: inline-flex; vertical-align: middle; margin-left: .2em; }
.step-cta .cta-arr svg { width: 1.05em; height: 1.05em; transition: transform .25s var(--ease); }
.step-cta:hover .cta-arr svg, .step-cta:focus-visible .cta-arr svg { transform: translate(3px, -3px); }
.step-cta:hover h3, .step-cta:focus-visible h3 { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; }

/* The section's own overflow must NOT be `hidden` — that makes it the sticky
   containing box and the pin never locks to the viewport. `clip` still contains
   the horizontally-sliding cards but keeps the pin's sticky viewport-relative
   (same reason page-main uses clip for the sticky header). */
/* neutral grey band (vs the site's warm paper) so the white cards pop */
.band-paper.hscroll { overflow: clip; background: #f5f5f5; }

/* 1 — whole section pins at 100vh, anchored top, cleared of the sticky header */
.hscroll-on .hscroll-pin {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: clip;
  padding-top: clamp(84px, 8vh, 116px);
}
/* 2 — headline left-aligned, held within the wrap margins, wraps like MIRA */
.hscroll-on .hscroll-head { width: 100%; text-align: left; flex-shrink: 0; }
.hscroll-on .hscroll-head h2 { max-width: 22ch; margin: 0; }
.hscroll-on .hs-stage { position: relative; flex: 1; min-height: 0; }
.hscroll-on .steps {
  position: absolute;
  top: 0; /* JS sets exact centre */
  left: 0;
  display: flex;
  gap: clamp(2rem, 4vw, 4rem);
  width: max-content;
  margin: 0;
  will-change: transform;
  /* no transform transition — hscroll.js lerps the position every frame;
     a tween on top would fight it and bring back the stepped feel */
}
/* 3 — the FEATURED focus card: 5:3, sized/centred by JS */
.hscroll-on .step {
  width: var(--hs-w, 520px);
  height: var(--hs-h, 312px);
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 20px;
  padding: 1.2rem;
  background: #fff;
  border: 1px solid rgba(10, 10, 11, .07);
  box-shadow: 0 18px 44px -20px rgba(10, 10, 11, .22);
  filter: blur(8px);
  opacity: .55;
  transition: filter .55s var(--ease), opacity .55s var(--ease),
              background-color .55s var(--ease), border-color .55s var(--ease),
              box-shadow .55s var(--ease), transform .55s var(--ease);
}
.hscroll-on .step.is-active { filter: none; opacity: 1; background: transparent; border-color: transparent; box-shadow: none; }
.hscroll-on .step.is-past { opacity: 0; filter: blur(10px); box-shadow: none; }
/* 4 — bigger number + title */
.hscroll-on .step .step-ghost {
  position: absolute;
  top: clamp(12px, 1.5vw, 24px);
  left: clamp(16px, 1.7vw, 28px);
  font-size: clamp(2.8rem, 4.6vw, 4.6rem);
  margin: 0;
  line-height: 1;
}
.hscroll-on .step.is-active .step-ghost { color: var(--acid); -webkit-text-stroke-color: rgba(10, 10, 11, .28); text-stroke-color: rgba(10, 10, 11, .28); }
.hscroll-on .step h3 { font-size: clamp(1.9rem, 3.2vw, 3.1rem); margin: 0; font-weight: 600; letter-spacing: -.02em; }
.hscroll-on .step .step-p { display: none; }
.hscroll-on .step-cta:not(.is-active) { background: rgba(10, 10, 11, .05); color: var(--ink-dark); }
.hscroll-on .step-cta.is-active { background: var(--acid); border-color: transparent; }
.hscroll-on .step-cta.is-active .step-ghost { color: var(--ink-dark); -webkit-text-stroke-color: transparent; text-stroke-color: transparent; }

.hscroll-on .hs-frame { display: block; position: absolute; pointer-events: none; }
.hs-frame .c { position: absolute; width: 12px; height: 12px; background: var(--acid); border-radius: 2px; }
.hs-frame .c1 { top: 0; left: 0; }
.hs-frame .c2 { top: 0; right: 0; }
.hs-frame .c3 { bottom: 0; left: 0; }
.hs-frame .c4 { bottom: 0; right: 0; }
.hs-rec {
  position: absolute;
  top: 2px;
  right: -26px;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--acid);
  animation: hsrec 1.1s steps(2, start) infinite;
}
@keyframes hsrec { to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hs-rec { animation: none; } }

.hscroll-on .hs-desc {
  display: block;
  position: absolute;
  color: var(--muted-paper);
  font-size: clamp(.95rem, 1.1vw, 1.05rem);
  line-height: 1.55;
  transition: opacity .2s var(--ease);
}
.hs-desc.sw { opacity: 0; }

/* 5 + 6 — no keyline; MIRA split counter: done+active left, upcoming right,
   growing acid line between */
.hscroll-on .hs-count {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  /* left/right insets match the .wrap (header logo) margin so the "1" box
     lines up with the page margin */
  padding: 0 max(var(--gut), calc((100% - var(--wrap)) / 2 + var(--gut))) clamp(22px, 4.5vh, 44px);
}
.hs-count-left, .hs-count-right { display: flex; gap: 8px; }
.hs-count-mid { position: relative; flex: 1; height: 2px; background: rgba(10, 10, 11, .14); overflow: hidden; }
.hs-count-mid i { position: absolute; inset: 0; background: var(--acid); transform-origin: left; transform: scaleX(0); }
.hs-count button {
  min-width: 32px;
  height: 30px;
  padding: 0 .6rem;
  border-radius: 8px;
  border: none;
  background: var(--ink-dark);
  color: var(--paper);
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1;
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .25s var(--ease);
}
.hs-count button.on { background: var(--acid); color: var(--ink-dark); }
.hs-count button:hover, .hs-count button:focus-visible { transform: translateY(-2px); }

/* ============================================ COST HERO (full-screen) ===== */
/* Dark full-bleed panel with a rounded top; heading top-left, acid CTA
   bottom-right. `clip` (not hidden) keeps the sticky pin viewport-relative. */
.cost-hero {
  background: var(--ink-dark);
  color: var(--paper);
  overflow: clip;
  border-radius: clamp(24px, 3vw, 44px) clamp(24px, 3vw, 44px) 0 0;
  position: relative;
  /* the dark band sits on a dark body, so its rounded top is invisible dark-on-
     dark. Pull it up by exactly the radius so those corners overlap the empty
     bottom padding of the #f5f5f5 how-it-works section and reveal it — the same
     rounded-card reveal the light bands get for free against the dark body. */
  margin-top: calc(clamp(24px, 3vw, 44px) * -1);
}
.cost-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 5vw, 3.5rem);
  padding-block: clamp(3rem, 8vw, 5rem);
}
.cost-head {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.3rem, 5.4vw, 5.2rem);
  line-height: 1.0;
  letter-spacing: -.03em;
  max-width: 16ch;
  margin: 0;
  color: var(--paper);
}
.cost-em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--acid); }
.cost-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--acid);
  color: var(--acid-ink);
  border-radius: 999px;
  padding: clamp(.9rem, 1.5vw, 1.25rem) clamp(1.5rem, 2.5vw, 2.3rem);
  font-weight: 700;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  transition: transform .3s var(--ease), background-color .18s var(--ease), color .18s var(--ease), box-shadow .3s var(--ease);
}
.cost-btn .arr { display: inline-flex; }
.cost-btn .arr svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.cost-btn:hover, .cost-btn:focus-visible {
  background: var(--paper);
  color: var(--ink-dark);
  box-shadow: 0 14px 38px rgba(217, 255, 63, .28);
}
.cost-btn:hover .arr svg, .cost-btn:focus-visible .arr svg { transform: translate(3px, -3px); }
@media (prefers-reduced-motion: reduce) { .cost-btn, .cost-btn .arr svg { transition: none; } }

/* full-screen "slightly sticky" pin on desktop; mobile keeps normal flow */
@media (min-width: 761px) and (min-height: 640px) {
  .cost-hero { height: calc(100svh + 50vh); }
  .cost-pin {
    position: sticky;
    top: 0;
    height: 100svh;
    overflow: clip;
  }
  .cost-inner {
    height: 100%;
    justify-content: space-between;
    padding-block: clamp(84px, 8vh, 116px) clamp(2rem, 5vh, 4rem);
  }
  .cost-head { align-self: flex-start; }
  .cost-btn { align-self: flex-end; }
}

/* ================================================================= FAQ ==== */
.faq { border-top: 1px solid var(--line); margin-top: clamp(1.5rem, 3vw, 2.4rem); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.15rem, 2.4vw, 1.6rem) 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--ink);
  transition: color .18s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--acid); }
.faq .plus {
  flex-shrink: 0;
  width: 26px; height: 26px;
  position: relative;
  margin-top: .18em;
}
.faq .plus::before, .faq .plus::after {
  content: "";
  position: absolute;
  background: var(--acid);
  transition: transform .22s var(--ease), opacity .22s var(--ease);
}
.faq .plus::before { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
.faq .plus::after { left: 50%; top: 0; width: 2px; height: 100%; transform: translateX(-50%); }
.faq details[open] .plus::after { transform: translateX(-50%) scaleY(0); opacity: 0; }
.faq .faq-body { padding-bottom: clamp(1.15rem, 2.4vw, 1.6rem); max-width: 66ch; }
.faq .faq-body p { color: var(--muted); }
.faq .faq-body a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.faq .faq-body a:hover { text-decoration-color: var(--acid); }
@media (prefers-reduced-motion: reduce) { .faq .plus::before, .faq .plus::after { transition: none; } }

/* ============================================================ CTA BAND ==== */
.cta-band {
  background: var(--acid);
  color: var(--acid-ink);
  border-radius: 16px;
  padding: clamp(2.5rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.cta-band > * { position: relative; }
.cta-band .eyebrow { color: rgba(10, 10, 11, .62); }
.cta-band h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.9rem, 5vw, 3.6rem);
  line-height: .98;
  letter-spacing: -.03em;
  text-transform: uppercase;
  margin: .6rem auto 1rem;
  max-width: 18ch;
}
.cta-band p { color: rgba(10, 10, 11, .74); max-width: 52ch; margin: 0 auto 1.8rem; }
.cta-band .btn-solid-dark {
  background: var(--ink-dark);
  color: var(--paper);
  border-color: var(--ink-dark);
}
.cta-band .btn-solid-dark:hover, .cta-band .btn-solid-dark:focus-visible { background: #1c1c1f; border-color: #1c1c1f; }

/* ============================================================== FOOTER ==== */
/* Mira-style paper finale: light footer under the dark page, ink type,
   acid accents. --fline = hairlines on paper. */
footer.site {
  --fline: rgba(10, 10, 11, .14);
  background: var(--paper);
  color: var(--ink-dark);
  overflow: hidden;
}

/* --- Footer curtain reveal (Mira-style): the page lifts away over a fixed
       full-height footer; inner content fades/rises via footer-fx.js.
       Desktop + tall viewports only — mobile keeps the static footer. --- */
.page-main { position: relative; z-index: 2; background: var(--bg); min-height: 100svh; }
.footer-draw { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; display: none; }
.footer-inner { position: relative; z-index: 1; }
@media (min-width: 761px) and (min-height: 640px) {
  .page-main {
    margin-bottom: 100svh;
    box-shadow: 0 34px 70px rgba(0, 0, 0, .35);
    border-radius: 0 0 clamp(24px, 3vw, 44px) clamp(24px, 3vw, 44px);
    overflow: clip; /* clip, not hidden — hidden would break the sticky header */
  }
  footer.site {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    height: 100svh;
    z-index: 1;
    display: flex;
    flex-direction: column;
  }
  .footer-draw { display: block; }
  /* fill the panel: CTA pinned top; wordmark + columns + legal form the
     bottom cluster (wordmark left-aligned, just above the columns) */
  .footer-inner { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
}
.footer-a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  flex-shrink: 0;
  padding-block: clamp(1.6rem, 4vh, 3rem) clamp(1rem, 2vw, 1.5rem);
}
.footer-end { flex-shrink: 0; }
.footer-a h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.9rem, 5vw, 4.4rem);
  line-height: .9;
  letter-spacing: -.03em;
  text-transform: uppercase;
}
/* neon-pop CTA — acid by default, inverts to ink on hover/click */
.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  background: var(--acid);
  color: var(--acid-ink);
  border-radius: 999px;
  padding: clamp(.95rem, 1.6vw, 1.3rem) clamp(1.6rem, 2.6vw, 2.3rem);
  font-weight: 700;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  flex-shrink: 0;
  transition: transform .3s var(--ease), background-color .18s var(--ease), color .18s var(--ease), box-shadow .3s var(--ease);
}
.footer-cta svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.footer-cta:hover, .footer-cta:focus-visible, .footer-cta:active {
  background: var(--ink-dark);
  color: var(--paper);
  box-shadow: 0 14px 38px rgba(10, 10, 11, .22);
}
.footer-cta:hover svg, .footer-cta:focus-visible svg { transform: translate(3px, -3px); }
@media (prefers-reduced-motion: reduce) { .footer-cta, .footer-cta svg { transition: none; } }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-block: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--fline);
}
.footer-col h4 {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-paper);
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  color: var(--ink-dark);
  font-size: .95rem;
  padding: .32rem 0;
  width: fit-content;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: transparent;
  transition: text-decoration-color .18s var(--ease);
}
.footer-col a:hover, .footer-col a:focus-visible { text-decoration-color: var(--acid); text-decoration-thickness: 2px; }
.footer-desk { color: var(--muted-paper); font-size: .82rem; display: block; padding: .32rem 0; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  border-top: 1px solid var(--fline);
  padding-block: 1.5rem clamp(1.5rem, 3vw, 2.5rem);
}
.footer-legal {
  font-size: .8rem;
  color: var(--muted-paper);
  max-width: 72ch;
  line-height: 1.55;
  margin: 0;
}
.footer-legal a { color: var(--ink-dark); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--fline); }
.footer-legal a:hover { text-decoration-color: var(--acid); }
.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .4rem;
  font-size: .8rem;
  color: var(--muted-paper);
  white-space: nowrap;
}
.footer-top { color: var(--ink-dark); font-weight: 600; }
.footer-top:hover, .footer-top:focus-visible { text-decoration: underline; text-decoration-color: var(--acid); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.footer-giant {
  width: 100%;
  display: flex;
  justify-content: flex-start; /* left-aligned to the page margin */
  user-select: none;
  color: var(--ink-dark);
  margin-bottom: clamp(1.4rem, 3vw, 2.4rem);
}
.footer-giant svg {
  height: clamp(42px, 6.5vh, 80px); /* smaller, sits above the columns */
  width: auto;
  max-width: 80vw;
  display: block;
}

@media (max-width: 780px) {
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer-meta { flex-direction: row; align-items: center; gap: 1.2rem; }
  .footer-giant svg { height: clamp(40px, 11vw, 72px); }
}

/* ================================================== PAGE HEAD / EDITORIAL = */
.page-head { padding-block: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 3vw, 2.5rem); }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: .02em;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--acid); }
.breadcrumb .sep { color: var(--line-strong); }
.breadcrumb [aria-current] { color: var(--ink); }

.page-head h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 6rem);
  line-height: .94;
  letter-spacing: -.03em;
  text-transform: uppercase;
  margin-block: .3rem;
  max-width: 18ch;
}
.page-head h1 .serif-italic { text-transform: none; color: var(--muted); }
.lead {
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.5;
  color: var(--muted);
  max-width: 62ch;
  margin-top: clamp(1rem, 2vw, 1.5rem);
}

/* long-form editorial prose */
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.15rem; }
.prose h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  line-height: 1.02;
  letter-spacing: -.025em;
  margin-top: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: .3rem;
}
.prose h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: -.02em;
  margin-top: 2rem;
}
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--ink); font-weight: 500; }
.prose em { color: var(--ink); }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.prose a:hover { text-decoration-color: var(--acid); }
.prose ul, .prose ol { padding-left: 1.4rem; display: grid; gap: .6rem; }
.prose li { padding-left: .3rem; }
.prose ul li::marker { color: var(--acid); }
.prose ol li::marker { color: var(--muted); font-feature-settings: "tnum" 1; }

/* drop cap for guide intro */
.prose.dropcap > p:first-of-type::first-letter {
  font-family: var(--display);
  font-weight: 800;
  float: left;
  font-size: 4.4rem;
  line-height: .78;
  padding: .05em .12em 0 0;
  color: var(--acid);
}

.callout {
  border: 1px solid var(--line);
  border-left: 2px solid var(--acid);
  border-radius: var(--radius);
  padding: clamp(1.2rem, 3vw, 1.8rem);
  background: var(--bg-raised);
  margin-block: clamp(1.8rem, 4vw, 2.6rem);
}
.callout p { color: var(--muted); }
.callout strong { color: var(--ink); }

/* checklist rows w/ acid ticks */
.checklist { list-style: none; padding: 0; border-top: 1px solid var(--line); margin-top: 1.5rem; }
.checklist li {
  display: flex;
  gap: .9rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.checklist li svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--acid); margin-top: .1em; }
.checklist li strong { color: var(--ink); }

/* price table */
.table-scroll { overflow-x: auto; margin-block: 1.5rem; border: 1px solid var(--line); border-radius: 8px; }
.price-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .95rem; }
.price-table th, .price-table td { text-align: left; padding: 1rem 1.15rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table thead th {
  font-family: var(--body);
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg-raised);
}
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table td { color: var(--muted); }
.price-table td.price { color: var(--acid); font-weight: 500; white-space: nowrap; font-feature-settings: "tnum" 1; }
.price-table td:first-child { color: var(--ink); }

/* ========================================================= COST DOCKET === */
.estimator {
  background: var(--paper);
  color: var(--ink-dark);
  border-radius: 14px;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  margin-block: clamp(2rem, 4vw, 3rem);
}
.est-head { margin-bottom: 1.8rem; }
.est-head .eyebrow { color: var(--muted-paper); }
.est-head h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  letter-spacing: -.025em;
  margin: .4rem 0 .5rem;
}
.est-intro { color: var(--muted-paper); font-size: .95rem; max-width: 48ch; }
.est-group { margin-bottom: 1.5rem; }
.est-group > label {
  display: block;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-paper);
  margin-bottom: .7rem;
}
.est-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.est-pill {
  font-size: .88rem;
  font-weight: 500;
  color: var(--ink-dark);
  background: transparent;
  border: 1px solid var(--line-paper-strong);
  border-radius: 100px;
  padding: .55rem 1rem;
  min-height: 44px;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.est-pill:hover { border-color: var(--ink-dark); }
.est-pill[aria-pressed="true"] { background: var(--ink-dark); color: var(--paper); border-color: var(--ink-dark); }
.est-range { display: flex; align-items: center; gap: 1rem; }
.est-range input[type="range"] {
  flex: 1;
  -webkit-appearance: none; appearance: none;
  height: 2px;
  background: var(--line-paper-strong);
  border-radius: 2px;
}
.est-range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--acid); border: 2px solid var(--ink-dark);
  cursor: pointer;
}
.est-range input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--acid); border: 2px solid var(--ink-dark);
  cursor: pointer;
}
.est-range input[type="range"]:focus-visible { outline: 2px solid var(--ink-dark); outline-offset: 4px; }
.est-range output {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.3rem;
  min-width: 2.6ch;
  text-align: right;
  font-feature-settings: "tnum" 1;
  color: var(--ink-dark);
}
.est-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  background: var(--acid);
  color: var(--acid-ink);
  border-radius: 10px;
  padding: 1.1rem 1.4rem;
  margin-top: 1.8rem;
}
.est-total-lbl { font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.est-total-val {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.3rem, 3.4vw, 2rem);
  letter-spacing: -.02em;
  font-feature-settings: "tnum" 1;
}
.est-foot { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; margin-top: 1.4rem; }
.est-note { color: var(--muted-paper); font-size: .84rem; max-width: 40ch; }

/* ============================================================== PROFILE === */
.profile-grid {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 360px);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.profile-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.profile-logo {
  width: 96px; height: 96px;
  border-radius: 12px;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.profile-logo img { width: 76%; height: 76%; object-fit: contain; }
.profile-logo .row-mono { font-size: 2.4rem; }
.profile-section + .profile-section { margin-top: clamp(2rem, 4vw, 3rem); }
.profile-section h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  letter-spacing: -.025em;
  margin-bottom: 1rem;
}
.svc-list { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.svc-list li { padding: .85rem 0; border-bottom: 1px solid var(--line); color: var(--ink); display: flex; align-items: center; gap: .8rem; }
.svc-list li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--acid); flex-shrink: 0; }
.spec-list { display: grid; gap: 0; }
.spec-row { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.spec-row:last-child { border-bottom: none; }
.spec-row .k { color: var(--muted); }
.spec-row .v { color: var(--ink); text-align: right; font-feature-settings: "tnum" 1; }

.related-links { display: grid; gap: .6rem; }
.related-links a { color: var(--ink); font-size: .95rem; display: inline-flex; align-items: center; gap: .4rem; width: fit-content; }
.related-links a .arr { color: var(--acid); }
.related-links a:hover { color: var(--acid); }

.ext-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--acid);
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color .18s var(--ease);
}
.ext-link:hover { border-bottom-color: var(--acid); }

.aside-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(1.4rem, 3vw, 1.9rem);
  background: var(--bg-raised);
}
.aside-card + .aside-card { margin-top: 1.2rem; }
.aside-card h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -.02em;
  margin-bottom: .7rem;
  line-height: 1.15;
}
.aside-card p { color: var(--muted); font-size: .92rem; margin-bottom: 1.1rem; }
.aside-card.match-card { background: var(--paper); border-color: var(--paper); }
.aside-card.match-card h3 { color: var(--ink-dark); }
.aside-card.match-card p { color: var(--muted-paper); }

.profile-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: clamp(1.4rem, 3vw, 2rem); }

@media (max-width: 900px) { .profile-grid { grid-template-columns: 1fr; } }

/* ============================================================== FUNNEL ==== */
.funnel {
  min-height: 82svh;
  display: flex;
  align-items: flex-start;
  padding-block: clamp(2.5rem, 6vw, 5rem);
}
.funnel-inner { width: 100%; max-width: 720px; margin-inline: auto; }
.funnel-chrome { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.progress {
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: .9rem;
}
.progress-bar {
  height: 100%;
  width: 16.6%;
  background: var(--acid);
  transition: width .4s var(--ease);
}
.step-count {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-feature-settings: "tnum" 1;
}
.q-step { display: none; }
.q-step.active { display: block; animation: qfade .4s var(--ease); }
@keyframes qfade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .q-step.active { animation: none; } }

.q-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  line-height: 1;
  letter-spacing: -.03em;
  margin-bottom: .7rem;
}
.q-sub { color: var(--muted); margin-bottom: clamp(1.6rem, 3.5vw, 2.4rem); max-width: 46ch; }

.options { display: grid; gap: .7rem; }
.opt {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  min-height: 56px;
  padding: 1rem 1.35rem;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 400;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.opt:hover { background: var(--paper); color: var(--ink-dark); border-color: var(--paper); }
.opt .tick {
  width: 20px; height: 20px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}
.opt:hover .tick { border-color: var(--line-paper-strong); }
.opt.selected { border-color: var(--acid); background: transparent; color: var(--ink); }
.opt.selected .tick { border-color: var(--acid); background: var(--acid); }
.opt.selected .tick::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: var(--acid-ink);
}
.opt.selected:hover { background: var(--paper); color: var(--ink-dark); }
.opt.selected:hover .tick { border-color: var(--acid); }

.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--muted);
  margin-bottom: .5rem;
}
.field .opt-note { color: var(--muted); font-weight: 400; letter-spacing: 0; text-transform: none; }
.field input, .field textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 1.02rem;
  color: var(--ink);
  background: var(--bg-raised);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: .9rem 1.1rem;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6b6860; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--acid);
  box-shadow: 0 0 0 3px rgba(217, 255, 63, .18);
}
.field.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field .options { margin-top: .2rem; }

.funnel-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: clamp(1.6rem, 3.5vw, 2.4rem); }
.btn-back {
  color: var(--muted);
  font-size: .95rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 44px;
  background-image: linear-gradient(var(--ink), var(--ink));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px;
  transition: color .18s var(--ease), background-size .28s var(--ease);
}
.btn-back:hover, .btn-back:focus-visible { color: var(--ink); background-size: 100% 1px; }
.btn-back:disabled { opacity: .35; cursor: not-allowed; }

.answer-summary { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.4rem; }
.funnel-err { color: #ff8f8f; font-size: .9rem; margin-top: .9rem; min-height: 1.2em; }
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.4rem;
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: .78rem;
  color: var(--muted);
}
.trust-row span { display: inline-flex; align-items: center; gap: .4rem; }
.trust-row span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--acid); }

/* funnel result states */
.result-state { display: none; text-align: center; padding-block: clamp(2rem, 5vw, 4rem); }
.result-state.active { display: block; animation: qfade .5s var(--ease); }
.result-state h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.6rem, 8vw, 5rem);
  line-height: .95;
  letter-spacing: -.03em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.result-state p { color: var(--muted); max-width: 44ch; margin: 0 auto 1.8rem; }
.result-spark {
  color: var(--acid);
  font-size: 2rem;
  display: inline-block;
  margin-bottom: 1.2rem;
}
.result-spark.spin { animation: spin 9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.result-icon {
  width: 64px; height: 64px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
}
.result-icon.ok { background: var(--acid); color: var(--acid-ink); }
.result-icon.err { border: 1px solid #ff8f8f; color: #ff8f8f; }

/* ================================================================= 404 ==== */
.notfound { text-align: center; min-height: 76svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-block: 4rem; }
.notfound .ghost {
  font-family: var(--display);
  font-weight: 800;
  font-size: 40vw;
  line-height: .8;
  letter-spacing: -.04em;
  -webkit-text-stroke: 1.5px rgba(244, 242, 236, .2);
  text-stroke: 1.5px rgba(244, 242, 236, .2);
  color: transparent;
  pointer-events: none;
}
.notfound .nf-line {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  color: var(--muted);
  margin-top: -1rem;
  margin-bottom: 2rem;
}

/* ===================================================== disclosure microline */
.disclosure-note {
  display: flex;
  gap: .6rem;
  align-items: baseline;
  font-size: .82rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: .6rem 1.1rem;
  margin-bottom: 1.5rem;
  max-width: max-content;
}
.disclosure-note b { color: var(--acid); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; font-size: .74rem; }

/* dir intro note */
.dir-note { color: var(--muted); max-width: 68ch; margin-top: 1rem; margin-bottom: clamp(1.6rem, 3.5vw, 2.6rem); }
.dir-note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.dir-note a:hover { text-decoration-color: var(--acid); }

/* utility spacing bridges used by templates */
.mt-lg { margin-top: clamp(2.5rem, 5vw, 3.5rem); }

/* ======================================================= AUDIT POPUP ===== */
.mwd-pop {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 1.2rem;
  background: rgba(10, 10, 11, .66);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility 0s linear .3s;
}
.mwd-pop.on { opacity: 1; visibility: visible; transition: opacity .3s var(--ease); }
html.pop-lock { overflow: hidden; }
.pop-card {
  position: relative;
  background: var(--paper);
  color: var(--ink-dark);
  border-radius: 0;
  max-width: 520px;
  width: 100%;
  margin: auto;
  overflow: hidden;
  transform: translateY(22px);
  transition: transform .35s var(--ease);
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='9' height='9'><rect width='9' height='9' rx='3' fill='%230A0A0B'/></svg>") 4 4, auto;
}
.mwd-pop.on .pop-card { transform: none; }
@media (prefers-reduced-motion: reduce) { .pop-card { transform: none; transition: none; } .mwd-pop { transition: none; } }
.pop-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  background: rgba(10, 10, 11, .34);
  color: #fff;
  font-size: .95rem;
  line-height: 1;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.pop-close:hover, .pop-close:focus-visible { background: #fff; color: var(--ink-dark); border-color: #fff; }
.pop-hero { line-height: 0; background: var(--ink-dark); }
.pop-hero img { display: block; width: 100%; height: auto; }
.pop-body { padding: clamp(1.6rem, 4.5vw, 2.2rem); }
.pop-done { padding: clamp(1.9rem, 4.5vw, 2.5rem); }
.pop-eyebrow {
  display: inline-block;
  background: var(--acid);
  color: var(--ink-dark);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .4em .9em;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.pop-card h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.6rem, 4.6vw, 2.15rem);
  line-height: 1.02;
  letter-spacing: -.02em;
  margin-bottom: .8rem;
}
.pop-sub { color: var(--muted-paper); font-size: .95rem; line-height: 1.55; margin-bottom: 1.2rem; max-width: 46ch; }
.pop-sub strong { color: var(--ink-dark); }
.pop-in {
  width: 100%;
  border: 1px solid rgba(10, 10, 11, .22);
  border-radius: 12px;
  background: #fff;
  color: var(--ink-dark);
  padding: .85rem 1rem;
  font: inherit;
  margin-bottom: .6rem;
}
.pop-in:focus-visible { outline: 2px solid var(--ink-dark); outline-offset: 1px; }
.pop-cta {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  background: var(--ink-dark);
  color: var(--paper);
  border: none;
  border-radius: 999px;
  padding: .95rem 1.4rem;
  font: inherit;
  font-weight: 700;
  margin-top: .2rem;
  transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .3s var(--ease);
}
.pop-cta .arr svg { width: 17px; height: 17px; }
.pop-cta:hover, .pop-cta:focus-visible { background: var(--acid); color: var(--acid-ink); box-shadow: 0 12px 32px rgba(217, 255, 63, .35); }
.pop-err { color: #B3261E; font-size: .85rem; min-height: 1.2em; margin-top: .5rem; }
.pop-fine { color: var(--muted-paper); font-size: .74rem; margin-top: .9rem; }
.pop-fine a { color: var(--ink-dark); text-decoration: underline; text-underline-offset: 2px; }
.pop-done h2 { margin-bottom: .6rem; }
.hide { display: none !important; }

/* ==================================================== FLOATING MOBILE CTA === */
.m-cta {
  display: none;
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: max(8px, env(safe-area-inset-bottom, 0px));
  z-index: 90;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 1rem 1.4rem;
  background: var(--acid);
  color: var(--acid-ink);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  text-align: center;
  border-radius: 100px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .3), 0 3px 10px rgba(0, 0, 0, .22);
  opacity: 0;
  transform: translateY(150%);
  pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
@media (max-width: 760px) { .m-cta { display: inline-flex; } }
.m-cta.show { opacity: 1; transform: none; pointer-events: auto; }
.m-cta .arr { display: inline-flex; }
.m-cta .arr svg { width: 17px; height: 17px; }
@media (prefers-reduced-motion: reduce) {
  .m-cta { transform: none; transition: opacity .25s var(--ease); }
}

/* =========================================================== JOURNAL ===== */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.6vw, 2rem);
  padding-block: 1rem clamp(3rem, 6vw, 5rem);
}
@media (max-width: 980px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }
.post-card {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
  color: var(--ink);
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.post-card:hover, .post-card:focus-visible { border-color: var(--acid); transform: translateY(-3px); }
.post-thumb { display: block; aspect-ratio: 16/9; overflow: hidden; border-radius: 10px; background: #141416; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-meta { display: flex; align-items: center; gap: .7rem; font-size: .74rem; color: var(--muted); margin-top: .3rem; }
.post-tag {
  background: rgba(217, 255, 63, .12);
  color: var(--acid);
  border: 1px solid rgba(217, 255, 63, .35);
  padding: .22em .7em;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .68rem;
}
.post-title { font-family: var(--display); font-weight: 700; font-size: 1.18rem; line-height: 1.15; letter-spacing: -.01em; }
.post-desc { color: var(--muted); font-size: .88rem; line-height: 1.5; }

.post-h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.9rem, 5vw, 3.2rem);
  line-height: 1.0;
  letter-spacing: -.025em;
  margin-block: .6rem .8rem;
  max-width: 24ch;
}
.post-byline { color: var(--muted); font-size: .88rem; }
.post-hero { margin: 1.6rem 0 2.2rem; }
.post-hero img { width: 100%; height: auto; border-radius: 16px; display: block; }
.post-hero figcaption { color: var(--muted); font-size: .74rem; margin-top: .5rem; }
.post-hero figcaption a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.post-body { max-width: 68ch; }
.post-body p { color: rgba(244, 242, 236, .82); line-height: 1.72; margin-bottom: 1.15rem; }
.post-body h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  letter-spacing: -.015em;
  margin: 2.2rem 0 .9rem;
}
.post-body h3 { font-family: var(--display); font-weight: 600; font-size: 1.15rem; margin: 1.7rem 0 .7rem; }
.post-body ul, .post-body ol { margin: 0 0 1.15rem 1.2rem; color: rgba(244, 242, 236, .82); line-height: 1.66; }
.post-body li { margin-bottom: .45rem; }
.post-body a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.post-body a:hover { text-decoration-color: var(--acid); }
.post-body blockquote {
  border-left: 3px solid var(--acid);
  padding: .4rem 0 .4rem 1.1rem;
  margin: 1.4rem 0;
}
.post-body blockquote p { color: var(--ink); font-family: var(--serif); font-style: italic; font-size: 1.12rem; margin: 0; }
.post-body code { background: rgba(244, 242, 236, .08); border: 1px solid var(--line); border-radius: 6px; padding: .1em .4em; font-size: .88em; }
.post-body hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.post-body strong { color: var(--ink); }
.post-sources { margin-top: 2.2rem; border-top: 1px solid var(--line); padding-top: 1.2rem; }
.post-sources h3 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .7rem; }
.post-sources ul { list-style: none; }
.post-sources li { margin-bottom: .35rem; font-size: .85rem; }
.post-sources a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.post-sources a:hover { color: var(--ink); }
.post-author {
  margin-top: 2rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem 1.3rem;
}
.post-author p { color: var(--muted); font-size: .88rem; line-height: 1.6; }
.post-author strong { color: var(--ink); }
.post-author a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
