/* Wellfound Property, v2.
   Same design system as the Wellfound Partners site (wellfound.com.au):
   Swiss-minimal, one grotesk (Geist), one mono for labels, 12-column grid.
   The only change: dark panels use the Wellfound Property dark green, not black. */

@font-face {
  font-family: 'Geist Variable';
  src: url('fonts/geist-latin-wght.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('fonts/geist-mono-latin-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #f7f6f3;
  --surface: #ffffff;
  --ink: #0a0a0a;
  --ink-2: #555555;
  --ink-3: #8a8a8a;
  --line: #dcd9d2;
  --dark: #23403b; /* Wellfound Property dark green (Partners uses #0a0a0a) */
  --dark-ink: #f2f2f2;
  --dark-ink-2: #a9b8b4;
  --dark-line: #3a5550;
  --accent: #e6fe5e; /* chartreuse, used sparingly */
  /* Feature colour: card hovers and the "right move" band stay Dark Green whatever --dark is */
  --feature: #23403b;
  --feature-ink: #f2f2f2;
  --feature-ink-2: #a9b8b4;
  --feature-line: #3a5550;

  --sans: 'Geist Variable', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, Menlo, monospace;

  --gutter: 16px;
  --pad: clamp(16px, 1.2vw, 24px);
  --header-h: 56px;

  --t-display: clamp(40px, 4.45vw, 64px);
  --t-h2: clamp(40px, 4.6vw, 72px);
  --t-h3: clamp(22px, 1.8vw, 28px);
  --t-lead: clamp(18px, 1.35vw, 22px);
  --t-body: 16px;
  --t-small: 14px;
  --t-label: 11px;

  --section: clamp(64px, 6.7vw, 96px); /* Nightjar: 96px between every block at desktop */
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-line: cubic-bezier(0.55, 0, 0.1, 1);   /* Nightjar heading lines: slow start, long settle */
  --ease-reveal: cubic-bezier(0.45, 0, 0.1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-weight: 300; font-size: var(--t-body); line-height: 1.45;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; }
h1, h2, h3 { font-weight: 400; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.wrap { padding-inline: var(--pad); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }

.label { font-family: var(--mono); font-size: var(--t-label); font-weight: 400; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.4; }
.link-label { display: inline-flex; gap: 6px; padding-bottom: 6px; border-bottom: 1px solid currentColor; transition: gap 0.3s var(--ease); }
.link-label:hover { gap: 12px; }
.muted { color: var(--ink-3); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

.section { padding-block: var(--section) 0; }
.section-head { align-items: end; margin-bottom: var(--section); }
.section-head h2 { grid-column: 1 / span 6; font-size: var(--t-h2); line-height: 1; letter-spacing: -0.02em; }
.section-head h1 { grid-column: 1 / span 8; font-size: clamp(44px, 6.2vw, 104px); line-height: 0.98; letter-spacing: -0.025em; } /* page title (contact), same size as the home hero */
.section-head .label { grid-column: 7 / span 6; justify-self: start; margin-bottom: 0.6em; }
.section-rule { margin-top: var(--section); }

/* Scroll reveal: only hides content once JS has confirmed it can show it again */
/* Text reveal, timed to match nightjar.co:
   - headings: each line slides up from behind a mask (1.2s) while the heading fades in (0.9s), lines staggered
   - everything else: rises 40px and fades in (1s), a beat after the heading next to it */
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-reveal), transform 1s var(--ease-reveal); transition-delay: var(--delay, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .section-head [data-reveal]:not(.split), .js .about-side [data-reveal] { transition-delay: calc(var(--delay, 0s) + 0.25s); }
.js [data-reveal].split { transform: none; transition: opacity 0.9s cubic-bezier(0.2, 0.6, 0.3, 1); transition-delay: var(--delay, 0s); }
.split .ln { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.split .ln-i { display: inline-block; transform: translateY(110%); transition: transform 1.2s var(--ease-line); transition-delay: calc(var(--delay, 0s) + var(--li, 0) * 0.08s); }
.split.is-in .ln-i { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal], .split .ln-i { opacity: 1; transform: none; transition: none; } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--pad); top: 8px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 12px; }

/* ---------- Header (fixed, blurred, matches the section under it) ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background 0.3s, color 0.3s;
}
.site-header.on-light { background: color-mix(in srgb, var(--surface) 88%, transparent); }
.site-header.on-dark, .menu-open .site-header { background: var(--dark); color: var(--dark-ink); backdrop-filter: none; }
body:not(.menu-open) .site-header.on-feature { background: var(--feature); color: var(--feature-ink); }
/* Over the video: no panel at all, white type */
.site-header.on-video { background: transparent; color: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
.header-row { height: 100%; align-items: center; font-size: var(--t-small); }
.wordmark { grid-column: 1 / span 3; justify-self: start; display: flex; align-items: center; height: 100%; }
/* Logo drawn as a mask so it takes the header's text colour */
.wf-mark {
  display: block; height: 18px; aspect-ratio: 1241 / 137; background: currentColor;
  -webkit-mask: url('svg/logo-mask.svg') center / contain no-repeat;
  mask: url('svg/logo-mask.svg') center / contain no-repeat;
}
.h-book { grid-column: 7 / span 2; justify-self: start; }
.h-phone { grid-column: 4 / span 2; }
.menu-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 8px 0; color: inherit; font: inherit; cursor: pointer; }
.menu-btn svg { transition: transform 0.3s var(--ease); }
.menu-btn { transition: opacity 0.3s var(--ease), visibility 0.3s; }

/* Header page list (Nightjar style): stacked top right, folds into Menu once you scroll */
.h-right { grid-column: 11 / span 2; justify-self: end; position: relative; display: flex; align-items: center; height: 100%; }
.h-nav { display: none; position: absolute; top: calc(50% - 0.65em); right: 0; list-style: none; margin: 0; padding: 0; line-height: 1.3; white-space: nowrap; }
.h-nav li { transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); transition-delay: calc(var(--i) * 0.04s); }
.h-nav a { padding-bottom: 1px; transition: background-size 0.55s var(--ease-line); }
@media (min-width: 1024px) {
  .h-nav { display: block; }
  .site-header:not(.is-collapsed) .menu-btn { opacity: 0; visibility: hidden; }
  .site-header.is-collapsed .h-nav { pointer-events: none; }
  .site-header.is-collapsed .h-nav li { opacity: 0; visibility: hidden; transform: translateY(-4px); transition-delay: calc((5 - var(--i)) * 0.03s); }
}
.menu-btn[aria-expanded='true'] svg { transform: rotate(180deg); }

/* ---------- Side menu ---------- */
.menu {
  position: fixed; z-index: 40; top: 0; right: 0; bottom: 0; width: min(560px, 100%);
  background: var(--dark); color: var(--dark-ink);
  padding: calc(var(--header-h) + 40px) var(--pad) var(--pad);
  display: flex; flex-direction: column; justify-content: space-between;
  transform: translateX(100%); transition: transform 0.45s var(--ease);
}
.menu.is-open { transform: none; }
.menu ul { list-style: none; }
/* Nightjar hover, used by every text link: a 1px line sweeps in from the left under the link,
   and out to the right on leave. (Cards, logos and the bordered arrow links have their own hovers.) */
:where(a:not(.card, .wordmark, .footer-mark, .skip, .link-label)) {
  background: linear-gradient(currentColor, currentColor) no-repeat right bottom / 0 1px;
  transition: background-size 0.55s var(--ease-line);
}
:where(a:not(.card, .wordmark, .footer-mark, .skip, .link-label)):is(:hover, :focus-visible),
.menu li a[aria-current='page'], .h-nav a[aria-current='page'] {
  background-size: 100% 1px; background-position: left bottom;
}
.menu li a {
  display: inline-block; font-size: clamp(36px, 4vw, 52px); line-height: 1.25; letter-spacing: -0.01em; padding-bottom: 2px;
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), background-size 0.55s var(--ease-line);
  transition-delay: calc(0.08s + var(--i) * 0.05s), calc(0.08s + var(--i) * 0.05s), 0s;
}
.menu.is-open li a { opacity: 1; transform: none; }
/* Rotating proof points under the menu links (Nightjar style): one 16px bar per message fills over 4s,
   then the next message's words slide up from behind a mask while the old ones slide out */
.proof { margin-top: clamp(32px, 5vh, 56px); }
.proof-bars { display: flex; gap: 8px; margin-bottom: 14px; }
.proof-bar { position: relative; width: 16px; height: 1px; overflow: hidden; background: color-mix(in srgb, var(--dark-ink) 22%, transparent); }
.proof-bar i { position: absolute; inset: 0; background: var(--dark-ink); transform: translateX(-100%); }
.proof-bar.is-done i { transform: none; }
.proof-bar.is-active i { animation: proof-fill var(--proof-ms, 4000ms) linear forwards; }
@keyframes proof-fill { from { transform: translateX(-100%); } to { transform: none; } }
.proof-msg { display: grid; min-height: 2.8em; max-width: 30ch; }
.proof-line { grid-area: 1 / 1; }
.pw { display: inline-block; overflow: hidden; vertical-align: top; margin-right: 0.6ch; }
.pw-i { display: inline-block; transform: translateY(110%); transition: transform 0.7s var(--ease-line); transition-delay: calc(var(--w) * 0.05s); }
.proof-line.is-in .pw-i { transform: none; }
.proof-line.is-out .pw-i { transform: translateY(-110%); }
@media (prefers-reduced-motion: reduce) { .pw-i { transition: none; } .proof-bar.is-active i { animation: none; transform: none; } }
.menu-foot { display: grid; gap: 6px; font-size: var(--t-small); color: var(--dark-ink-2); }
.menu-foot .menu-note { margin: 0 0 8px; }
.menu-foot a { justify-self: start; padding-bottom: 1px; transition: background-size 0.55s var(--ease-line); }
.menu-foot a { color: var(--dark-ink); }

/* ---------- Heroes ---------- */
/* Home: full-screen video, title and intro in white over it */
.v-hero { position: relative; min-height: 100svh; color: #fff; overflow: hidden; background: #6d8aa3; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 24px; }
.v-hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.28), rgba(0,0,0,0) 30%, rgba(0,0,0,0) 45%, rgba(0,0,0,.55)); pointer-events: none; }
.v-hero > * { position: relative; z-index: 1; }
.v-hero h1 { font-size: clamp(44px, 6.2vw, 104px); line-height: 0.98; letter-spacing: -0.025em; margin-bottom: clamp(40px, 6vh, 72px); }
.v-hero h1 > span { display: block; }
.v-hero .hero-foot { align-items: end; row-gap: 24px; }
.v-hero .hero-intro { grid-column: 1 / span 4; font-size: var(--t-lead); line-height: 1.4; max-width: 32ch; }
.v-hero .hero-scroll { grid-column: 12; justify-self: end; white-space: nowrap; color: rgba(255,255,255,.8); }

/* Inner pages: full-screen white panel, title centred (Partners expertise hero) */
.s-hero { min-height: 100svh; background: var(--surface); display: flex; flex-direction: column; padding-top: var(--header-h); padding-bottom: 24px; }
.s-hero h1 { margin: auto 0; padding: 48px 0; text-align: center; font-size: var(--t-display); line-height: 1; letter-spacing: -0.01em; }
.s-hero h1 > span { display: block; }
.s-hero .s-sub { max-width: 44ch; margin: -24px auto 0; text-align: center; color: var(--ink-2); font-size: var(--t-lead); line-height: 1.4; padding-bottom: 48px; }
.s-hero-foot { align-items: end; }
.s-hero-foot .label { grid-column: 12; justify-self: end; white-space: nowrap; }

/* ---------- Copy blocks ---------- */
.copy p, .copy { font-size: var(--t-lead); line-height: 1.4; }
.copy { display: grid; gap: 1.1em; }
.about-body { grid-column: 7 / span 5; }
/* Home intro: the link and copy start level with the heading's first line */
.about-intro { align-items: start; margin-bottom: 0; }
.about-side { grid-column: 7 / span 5; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 4vw, 56px); justify-items: start; padding-top: 0.5em; }
.about-side .label { grid-column: auto; margin-bottom: 0; }
.about-side .about-body { grid-column: auto; }
.leads { grid-column: 1 / span 4; display: grid; gap: 28px; align-content: start; font-size: var(--t-lead); line-height: 1.4; font-weight: 400; }
.cta-row { margin-top: 16px; }

/* Label + body pairs from column 7 (Partners "Approach" / expertise layout) */
.pairs { grid-column: 7 / -1; display: grid; gap: 56px; }
.pair { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; scroll-margin-top: calc(var(--header-h) + 32px); }
.pair .label { grid-column: span 2; padding-top: 3px; }
.pair-body { grid-column: 3 / span 4; display: grid; gap: 1em; line-height: 1.45; }
.pair-body h3 { font-size: var(--t-h3); line-height: 1.15; letter-spacing: -0.01em; }
.pair-body .lede { color: var(--ink); }
.pair-body p { color: var(--ink-2); }
.list { list-style: none; display: grid; gap: 4px; }
.list li { padding-left: 18px; position: relative; color: var(--ink-2); }
.list li::before { content: '—'; position: absolute; left: 0; color: var(--ink-3); }

/* ---------- Cards (Partners expertise cards: hover turns dark) ---------- */
.cards { row-gap: var(--gutter); grid-template-rows: auto clamp(100px, 10vw, 180px) auto auto; }
.card {
  grid-column: span 4; grid-row: span 4; display: grid; grid-template-rows: subgrid; row-gap: 0;
  background: var(--surface); padding: clamp(24px, 2.2vw, 36px);
  transition: background 0.3s, color 0.3s;
}
a.card:hover, a.card:focus-visible { background: var(--feature); color: var(--feature-ink); }
.card-top { grid-row: 1; display: flex; justify-content: space-between; }
.card-arrow { font-size: 22px; transition: transform 0.3s var(--ease); }
a.card:hover .card-arrow { transform: translateX(6px); }
.card h3 { grid-row: 3; font-size: clamp(28px, 2.4vw, 40px); line-height: 1.05; letter-spacing: -0.02em; max-width: 12ch; }
.card-body { grid-row: 4; color: var(--ink-2); margin-top: 20px; max-width: 40ch; transition: color 0.3s; }
a.card:hover .card-body { color: var(--feature-ink-2); }

/* Six-up reasons grid (Why Wellfound) */
.reasons { row-gap: var(--gutter); }
.reason { grid-column: span 4; background: var(--surface); padding: clamp(24px, 2.2vw, 36px); min-height: clamp(220px, 18vw, 280px); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.reason h3 { font-size: var(--t-h3); line-height: 1.1; letter-spacing: -0.01em; margin-bottom: 12px; }
.reason p { color: var(--ink-2); max-width: 36ch; transition: color 0.3s; }
.reason { transition: background 0.3s, color 0.3s; }
.reason .label { transition: color 0.3s; }
.reason:hover { background: var(--feature); color: var(--feature-ink); }
.reason:hover p, .reason:hover .label { color: var(--feature-ink-2); }

/* ---------- Testimonials (new module) ---------- */
.quotes { row-gap: var(--gutter); }
.quote { grid-column: span 6; display: flex; flex-direction: column; gap: 32px; padding-top: 20px; border-top: 1px solid var(--ink); }
.stars { font-family: var(--mono); font-size: 26px; line-height: 1; letter-spacing: 0.2em; }
.quote blockquote { margin: 0; font-size: var(--t-lead); line-height: 1.4; font-weight: 400; flex: 1; }
.quote figcaption { display: flex; align-items: center; gap: 14px; }
.quote .who { display: grid; gap: 4px; }
.avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--dark); color: var(--dark-ink); font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.quote figcaption .label { color: var(--ink-3); }

/* ---------- Recent purchases (new module) ---------- */
.buys { row-gap: 64px; }
.buy { grid-column: span 4; display: flex; flex-direction: column; }
.buy-photo { aspect-ratio: 3 / 2; overflow: hidden; background: #ebe9e4; margin-bottom: 20px; }
.buy-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.buy:hover .buy-photo img { transform: scale(1.03); }
.buy-top { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.buy-top .label:last-child { color: var(--ink-3); }
.buy h3 { font-size: var(--t-h3); line-height: 1.1; letter-spacing: -0.01em; }
.buy-sub { color: var(--ink-2); margin-top: 4px; }
.buy-facts { margin-top: 28px; margin-bottom: 24px; border-top: 1px solid var(--line); }
.buy-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: var(--t-small); }
.buy-facts dt { color: var(--ink-2); }
.buy-facts dd { text-align: right; }
.buy-note { padding-top: 16px; /* starts straight under the facts, which are the same height on every card */ font-size: var(--t-small); color: var(--ink-2); line-height: 1.45; }
.buys-note { grid-column: 1 / span 6; margin-top: 48px; font-size: var(--t-small); color: var(--ink-3); }

/* ---------- Dark statement band ---------- */
.band { background: var(--feature); color: var(--feature-ink); padding-block: var(--section); margin-top: var(--section); }
.band h2 { grid-column: 1 / span 6; font-size: var(--t-h2); line-height: 1; letter-spacing: -0.02em; }
.band .band-body { grid-column: 7 / span 5; display: grid; gap: 1.1em; font-size: var(--t-lead); line-height: 1.4; color: var(--feature-ink-2); align-content: end; }
.band .link-label { color: var(--feature-ink); justify-self: start; margin-top: 16px; }
.band + .section { padding-top: var(--section); }

/* ---------- Person ---------- */
.person-row { row-gap: 48px; align-items: start; }
.person-photo { grid-column: 1 / span 4; aspect-ratio: 459 / 652; overflow: hidden; background: #ebe9e4; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.person-text { grid-column: 7 / span 5; display: grid; gap: 1.1em; }
.person-text h3 { font-size: var(--t-h3); }
.person-text p { color: var(--ink-2); max-width: 52ch; }
.person-role { margin-top: 24px; }
.person-text .licences { margin: 0; max-width: 52ch; }
.person-text .licences dd { font-family: var(--mono); font-size: 12px; letter-spacing: 0.02em; }

/* ---------- Process steps (numbered rows) ---------- */
.steps { grid-column: 7 / -1; border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: var(--gutter); padding: 24px 0; border-bottom: 1px solid var(--line); }
.step .label { grid-column: span 1; padding-top: 4px; color: var(--ink-3); }
.step h3 { grid-column: 2 / span 2; font-size: var(--t-h3); line-height: 1.1; }
.step p { grid-column: 4 / span 3; color: var(--ink-2); }
.step:last-child { border-bottom: 0; }

/* ---------- FAQ (new module) ---------- */
.faq { grid-column: 7 / -1; border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font-size: var(--t-lead); line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--mono); font-size: 18px; line-height: 1.3; transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 48px 24px 0; color: var(--ink-2); max-width: 60ch; }

/* ---------- Contact form (Partners contact form) ---------- */
.contact-grid { align-items: start; row-gap: 64px; }
.contact-lead { grid-column: 1 / span 4; font-size: var(--t-lead); line-height: 1.4; font-weight: 400; display: grid; gap: 1em; }
.form { grid-column: 7 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 40px var(--gutter); }
.field { display: grid; gap: 10px; }
.field.full { grid-column: 1 / -1; }
.field input, .field textarea, .field select {
  font: inherit; font-size: var(--t-body); color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: 6px 0 10px; border-radius: 0; resize: vertical; transition: border-color 0.2s;
  -webkit-appearance: none; appearance: none;
}
.field select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='6'%3E%3Cpath d='M1 1l3.5 3.5L8 1' fill='none' stroke='%230a0a0a' stroke-width='1.2'/%3E%3C/svg%3E") right 2px center no-repeat; padding-right: 20px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { grid-column: 1 / -1; font-size: var(--t-small); color: var(--ink-2); margin-top: -16px; }
.form-note a, .form-status a { text-decoration: underline; text-underline-offset: 3px; }
.form-status { grid-column: 1 / -1; font-size: var(--t-small); min-height: 1.4em; margin-top: -24px; }
.submit { grid-column: 1 / -1; justify-self: start; background: none; border: 0; border-bottom: 1px solid currentColor; color: var(--ink); cursor: pointer; padding: 0 0 6px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--feature); color: var(--feature-ink); padding-block: clamp(96px, 12vw, 160px) var(--pad); margin-top: var(--section); }
.footer-top { row-gap: 32px; }
.footer-title { grid-column: 1 / span 6; font-size: var(--t-h2); line-height: 1; letter-spacing: -0.02em; }
.footer-intro { grid-column: 7 / span 4; display: grid; gap: 32px; align-content: end; justify-items: start; font-size: var(--t-lead); color: var(--feature-ink-2); }
.footer-intro .link-label { color: var(--feature-ink); }
.footer-cols { margin-top: clamp(80px, 10vw, 160px); row-gap: 40px; font-size: var(--t-small); }
.fcol { grid-column: span 3; display: grid; gap: 6px; align-content: start; }
.fcol:first-child { grid-column: 1 / span 3; }
.fcol:nth-child(2) { grid-column: 7 / span 3; }
.f-head { color: var(--feature-ink-2); margin-bottom: 8px; }
.f-gap { margin-top: 16px; }
.footer-legal { margin-top: 80px; padding-top: 16px; border-top: 1px solid var(--feature-line); display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; font-size: 12px; color: var(--feature-ink-2); }
.legal-links { display: flex; gap: 20px; }
.footer-mark { display: block; margin-top: clamp(64px, 8vw, 120px); }
.footer-mark img { width: 100%; height: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .cards { grid-template-rows: none; }
  .card { grid-column: 1 / -1; grid-row: auto; display: flex; flex-direction: column; min-height: 260px; }
  .card h3 { margin-top: auto; padding-top: 48px; }
  .reason { grid-column: span 6; }
  .about-body, .pairs, .steps, .faq, .form { grid-column: 1 / -1; }
  .leads, .contact-lead { grid-column: 1 / -1; margin-bottom: 48px; }
  .quote { grid-column: 1 / -1; }
  .buy { grid-column: span 6; }
  .buy:last-child { grid-column: 1 / -1; }
  .band h2, .band .band-body { grid-column: 1 / -1; }
  .band .band-body { margin-top: 32px; }
  .person-photo { grid-column: 1 / span 6; }
  .person-text { grid-column: 1 / -1; }
  .v-hero .hero-intro { grid-column: 1 / span 7; }
}
@media (max-width: 767px) {
  .wordmark { grid-column: 1 / span 6; }
  .h-phone { display: none; }
  .h-book { grid-column: 7 / span 3; justify-self: end; }
  .h-right { grid-column: 10 / span 3; }
  .wf-mark { height: 15px; }
  .section-head h2, .section-head .label { grid-column: 1 / -1; }
  .section-head .label { margin-top: 24px; }
  .about-side { grid-column: 1 / -1; margin-top: 24px; padding-top: 0; }
  .about-side .label { margin-top: 0; }
  .pair { grid-template-columns: 1fr; row-gap: 12px; }
  .pair .label, .pair-body { grid-column: 1 / -1; }
  .reason, .buy, .buy:last-child { grid-column: 1 / -1; }
  .reason { min-height: 0; }
  .step { grid-template-columns: 48px 1fr; row-gap: 8px; }
  .step .label { grid-column: 1; }
  .step h3, .step p { grid-column: 2; }
  .person-photo { grid-column: 1 / span 9; }
  .form { grid-template-columns: 1fr; }
  .buys-note { grid-column: 1 / -1; }
  .v-hero .hero-intro { grid-column: 1 / -1; }
  .v-hero .hero-scroll { grid-column: 9 / -1; grid-row: 2; }
  .s-hero-foot .label { grid-column: 9 / -1; }
  .footer-title, .footer-intro { grid-column: 1 / -1; }
  .fcol, .fcol:first-child, .fcol:nth-child(2) { grid-column: span 6; }
  .fcol:last-child { grid-column: 1 / -1; }
  .faq .answer { padding-right: 0; }
}

/* Page transition (Nightjar wipe): a panel rises from the bottom to cover the screen,
   the next page loads underneath, then the panel carries on up and off the top */
.pt { position: fixed; inset: 0; z-index: 200; background: var(--dark); transform: translateY(100%); pointer-events: none; }
.pt-arrive .pt { transform: none; }
.pt.is-covering { transform: none; transition: transform 0.9s cubic-bezier(0.7, 0, 0.84, 0); pointer-events: auto; }
.pt.is-lifting { transform: translateY(-100%); transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1); }
@media (prefers-reduced-motion: reduce) { .pt { display: none; } }


/* ---------- Privacy policy ---------- */
.pp-date { grid-column: 1 / span 3; align-self: start; }
.prose { grid-column: 5 / span 7; display: grid; gap: 1.1em; color: var(--ink-2); max-width: 68ch; }
.prose b, .prose h2 { color: var(--ink); }
.pp-intro { font-size: var(--t-lead); line-height: 1.4; color: var(--ink); margin-bottom: 24px; }
.pp-sec { display: grid; gap: 0.9em; padding-top: 28px; border-top: 1px solid var(--line); margin-top: 16px; }
.pp-sec h2 { font-size: var(--t-h3); line-height: 1.15; letter-spacing: -0.01em; font-weight: 400; }
.list { list-style: none; display: grid; gap: 6px; }
.list li { padding-left: 18px; position: relative; }
.list li::before { content: ''; position: absolute; left: 0; top: 0.68em; width: 8px; height: 1px; background: currentColor; }

/* ---------- Discovery call ---------- */
.booking { grid-column: 7 / -1; min-height: 640px; }
.booking-frame { display: block; width: 100%; height: 720px; border: 0; background: var(--surface); }
.booking-todo { display: grid; gap: 16px; justify-items: start; padding: 32px; background: var(--surface); max-width: 520px; color: var(--ink-2); }
.contact-lead .list { font-size: var(--t-body); color: var(--ink-2); }
.muted-copy { font-size: var(--t-body); color: var(--ink-2); }

/* ---------- Gated guide (still-worth-it) ---------- */
.g-col { max-width: 760px; margin-inline: auto; }
.g-hero .g-col { display: grid; gap: 20px; justify-items: start; padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.g-hero h1 { font-size: clamp(44px, 6.2vw, 96px); line-height: 0.98; letter-spacing: -0.025em; }
.g-sub { font-size: var(--t-lead); line-height: 1.4; color: var(--ink-2); max-width: 36ch; }
.guide { padding-top: clamp(48px, 6vw, 80px); }
.g-body { position: relative; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.g-body b { color: var(--ink); font-weight: 500; }
.g-page { display: grid; gap: 1em; padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid var(--line); }
.g-locked .g-page:last-child { border-bottom: 0; }
.g-body h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.05; letter-spacing: -0.02em; color: var(--ink); font-weight: 400; }
.g-body h2.xl { font-size: clamp(34px, 3.8vw, 52px); }
.g-body h3 { font-size: 21px; line-height: 1.2; letter-spacing: -0.01em; color: var(--ink); font-weight: 500; margin-top: 0.6em; }
.g-body .chhead { display: grid; gap: 10px; margin-bottom: 8px; }
.g-body .chnum, .g-body .kick, .g-body .up { font-family: var(--mono); font-size: var(--t-label); letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); }
.g-body .chnum { font-size: 13px; }
.g-body .lead { font-size: var(--t-lead); line-height: 1.4; color: var(--ink); }
.g-body .small, .g-body .src { font-size: 13px; color: var(--ink-3); }
.g-body .muted { color: var(--ink-3); }
.g-body .grid2, .g-body .cols3, .g-body .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
.g-body .cols3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-body .grid2 > div, .g-body .cols3 > div { display: grid; gap: 0.6em; align-content: start; }
.g-body .two p b { display: block; font-family: var(--mono); font-size: var(--t-label); letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); font-weight: 400; margin-bottom: 4px; }
.g-body .g-card, .g-body .call, .g-body .qa { padding: 22px 24px; background: var(--surface); display: grid; gap: 0.6em; align-content: start; }
.g-body .g-card.sage, .g-body .call.sage { background: #e3eed5; }
.g-body .g-card.cream { background: #f1ebdf; }
.g-body .g-card.pb { background: #e1ecec; }
.g-body .g-card.line { background: none; border: 1px solid var(--line); }
.g-body .dk { background: var(--feature); color: var(--feature-ink-2); padding: 22px 24px; display: grid; gap: 0.6em; }
.g-body .dk b, .g-body .dk h3, .g-body .dk .up { color: var(--feature-ink); }
.g-body .tag { justify-self: start; display: inline-block; font-family: var(--mono); font-size: var(--t-label); letter-spacing: 0.04em; text-transform: uppercase; padding: 4px 8px; background: var(--feature); color: var(--feature-ink); }
.g-body .tag.sage, .g-body .tag.ch { background: #cfe5b1; color: var(--feature); }
.g-body .tag.out { background: none; border: 1px solid currentColor; color: var(--ink-2); }
.g-body .stat { padding: 16px 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.g-body .stat .n, .g-body .ct .big { font-size: 28px; line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); }
.g-body .g-step { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 20px 0; border-top: 1px solid var(--line); }
.g-body .g-step .sn { font-family: var(--mono); font-size: 13px; color: var(--ink-3); padding-top: 6px; }
.g-body .g-step h3 { margin-top: 0; }
.g-body .fld > div:last-child > div { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.g-body .fld span span { display: none; }
.g-body .fld > div:last-child span { border: 1px solid var(--line); padding: 4px 10px; font-size: 14px; }
.g-body .fld { padding: 16px 0; border-top: 1px solid var(--line); }
.g-body ul { list-style: none; display: grid; gap: 6px; }
.g-body ul li { padding-left: 18px; position: relative; }
.g-body ul li::before { content: ''; position: absolute; left: 0; top: 0.75em; width: 8px; height: 1px; background: currentColor; }
.g-body ul.chk li::before { content: '✓'; width: auto; height: auto; background: none; top: 0; font-size: 13px; }
.g-body table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.4; }
.g-body th { text-align: left; font-family: var(--mono); font-size: var(--t-label); letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); font-weight: 400; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--ink); }
.g-body td { padding: 12px 10px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.g-body td.first { color: var(--ink); }
.g-body .g-chart { margin: 8px 0; }
.g-body .g-chart svg { width: 100%; height: auto; }
.g-body hr { border: 0; border-top: 1px solid var(--line); }
.g-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 240px; background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none; }
.g-body:has(.g-fade) .g-page:last-of-type { border-bottom: 0; margin-bottom: 0; }
.gate { background: var(--feature); color: var(--feature-ink); padding: clamp(28px, 4vw, 48px); display: grid; gap: 20px; margin: 8px 0 clamp(64px, 8vw, 120px); }
.gate .label { color: var(--feature-ink-2); }
.gate h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.05; letter-spacing: -0.02em; font-weight: 400; }
.gate-list { list-style: none; display: grid; gap: 10px; color: var(--feature-ink-2); }
.gate-list li { padding-left: 24px; position: relative; }
.gate-list li::before { content: '✓'; position: absolute; left: 0; color: var(--feature-ink); }
.gate-list b { color: var(--feature-ink); font-weight: 500; }
.gate-form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px var(--gutter); margin-top: 8px; }
.gate-form .field input { color: var(--feature-ink); border-bottom-color: var(--feature-line); }
.gate-form .field input:focus { border-bottom-color: var(--feature-ink); }
.gate-form .label { color: var(--feature-ink-2); }
.gate-btn { grid-column: 1 / -1; justify-self: start; background: var(--feature-ink); color: var(--feature); border: 0; padding: 14px 22px; font: inherit; cursor: pointer; transition: opacity 0.2s; }
.gate-btn:hover { opacity: 0.88; }
.gate-btn[disabled] { opacity: 0.6; cursor: wait; }
.gate-note, .gate .form-status { grid-column: 1 / -1; font-size: 13px; color: var(--feature-ink-2); margin: 0; }
.is-unlocked .gate, .is-unlocked .g-fade { display: none; }
.g-cta { display: grid; gap: 16px; justify-items: start; padding: clamp(28px, 4vw, 48px) 0 0; border-top: 1px solid var(--ink); margin-bottom: 24px; }
.g-cta h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.05; letter-spacing: -0.02em; font-weight: 400; }
.g-cta p:not(.label) { color: var(--ink-2); max-width: 52ch; }
@media (max-width: 767px) {
  .pp-date, .prose, .booking { grid-column: 1 / -1; }
  .g-body .grid2, .g-body .cols3, .g-body .two { grid-template-columns: 1fr; }
  .gate-form { grid-template-columns: 1fr; }
  .g-body table { display: block; overflow-x: auto; }
}
