/* =====================================================
   HAMLO Demo B, r16 "The Kinetic Cut", landing v2
   Built on r9. Cream paper, chrome, blue. Big serif. Mono labels.
   No webfonts, no network. Transform/opacity motion only.
   Hero: chrome medallion as a faint backdrop BEHIND the copy (no WebGL,
   no canvas, no glb); the shatter video replaces it later.
   Most section heads centred; kicker on hero / pricing / book only.
   ===================================================== */

:root {
  --paper: #F9F5F3;
  --panel: #F3ECE8;
  --ink: #292420;
  --ink-soft: #56504a;
  --ink-faint: #8a827a;
  --blue: #368FD3;
  --blue-2: #2E8BE0;
  --chrome: #c9d2da;
  --chrome-hi: #eef2f5;
  --chrome-lo: #a9b6c2;
  --line: rgba(41, 36, 32, 0.14);

  --serif: "Instrument Serif", "Didot", "Big Caslon", Georgia, serif;
  --sans: "IBM Plex Sans", -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(1.25rem, 4vw, 4rem);
  --maxw: 72rem;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--blue); color: var(--paper); }

img, video { display: block; max-width: 100%; }

a { color: inherit; }

.mono {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

em { font-style: italic; color: var(--blue); }

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

/* ---------- Topbar ---------- */

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem var(--gutter);
  background: rgba(249, 245, 243, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--serif);
  font-size: 1.3rem;
  letter-spacing: 0.34em;
  text-decoration: none;
}

.wordmark-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(41, 36, 32, 0.18)) contrast(1.06);
}

.wordmark-text { letter-spacing: inherit; }
.wordmark.small { font-size: 1.05rem; }

.topnav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.2rem);
}

.topnav a {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.25s var(--ease-out);
}

.topnav a:hover { color: var(--blue); }

.topnav .nav-cta {
  color: var(--paper);
  background: var(--ink);
  padding: 0.55em 1.1em;
  border-radius: 999px;
  transition: background 0.25s var(--ease-out);
}

.topnav .nav-cta:hover { background: var(--blue); color: var(--paper); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1em 1.7em;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease-out), background 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--blue-2), var(--blue));
  color: #fff;
  font-size: 0.9rem;
  padding: 1.15em 2.3em;
  box-shadow: 0 10px 28px rgba(46, 139, 224, 0.32);
  animation: cta-pulse 2.8s ease-out infinite;
}

.btn-primary:hover {
  animation: none;
  filter: brightness(1.07);
  box-shadow: 0 16px 38px rgba(46, 139, 224, 0.52);
}

@keyframes cta-pulse {
  0% { box-shadow: 0 10px 28px rgba(46, 139, 224, 0.32), 0 0 0 0 rgba(46, 139, 224, 0.4); }
  60% { box-shadow: 0 10px 28px rgba(46, 139, 224, 0.32), 0 0 0 13px rgba(46, 139, 224, 0); }
  100% { box-shadow: 0 10px 28px rgba(46, 139, 224, 0.32), 0 0 0 0 rgba(46, 139, 224, 0); }
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink-soft);
  background: transparent;
}

.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

.btn.big { font-size: 0.92rem; padding: 1.2em 2.2em; }

/* ---------- Section scaffolding (centred heads) ---------- */

.section-head {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(4rem, 10vh, 7rem) var(--gutter) 2.5rem;
  text-align: center;
}

.section-kicker { color: var(--blue); margin-bottom: 1rem; }

.section-h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  max-width: 18em;
  margin: 0 auto;
  text-wrap: balance;
}

.section-lede {
  margin: 1.3rem auto 0;
  max-width: 38rem;
  color: var(--ink-soft);
}

/* ---------- 1. Hero (medallion backdrop behind copy, centred) ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 7rem var(--gutter) 5rem;
  background:
    radial-gradient(120% 80% at 50% 8%, rgba(201, 210, 218, 0.55), rgba(201, 210, 218, 0) 60%),
    var(--paper);
  overflow: hidden;
  text-align: center;
}

.hero-inner {
  max-width: 52rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  margin: 0 0 2rem;
}

.hero-logo img {
  width: min(34vmin, 220px);
  height: auto;
  filter: drop-shadow(0 24px 50px rgba(41, 36, 32, 0.22));
}

.hero-kicker {
  color: var(--ink-faint);
  margin-bottom: 1.3rem;
}

.hero-h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.2rem, 10vw, 8rem);
  line-height: 0.96;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.hero-line { display: block; }

.hero-sub {
  max-width: 38rem;
  margin: 1.6rem auto 0;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--ink-soft);
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 2.2rem;
  justify-content: center;
  align-items: center;
}

.hero-ctas .btn-primary { font-size: 0.98rem; padding: 1.25em 2.55em; }

.hero-ctas .btn-ghost { font-size: 0.78rem; }

/* ---------- 2. Manifesto: pinned scrub ---------- */

.manifesto-wrap {
  position: relative;
  height: 340vh;
  background: linear-gradient(180deg, var(--paper), var(--panel) 30%, var(--panel) 70%, var(--paper));
}

.manifesto-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.manifesto-kicker {
  position: absolute;
  top: 14vh;
  left: 50%;
  transform: translateX(-50%);
  color: var(--ink-faint);
}

.mani-lines {
  position: relative;
  width: 100%;
  text-align: center;
  display: grid;
}

.mani-line {
  grid-area: 1 / 1;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 8vw, 7rem);
  line-height: 1;
  letter-spacing: -0.015em;
  opacity: 0;
  will-change: transform, opacity;
  padding: 0 var(--gutter);
  text-wrap: balance;
}

/* ---------- 3. What changes for you ---------- */

.changes { padding-bottom: clamp(4rem, 10vh, 7rem); }

.changes-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1rem var(--gutter) 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

/* De-carded: plain whitespace blocks so this grid does not read as a
   second bordered card grid next to .offer-card. Separation via space + the
   blue index number, not a box. */
.change-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0.4rem 0;
}

.change-index { color: var(--blue); margin-bottom: 0.9rem; }

.change-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.45rem, 2.4vw, 1.95rem);
  line-height: 1.1;
}

.change-body { margin-top: 0.7rem; color: var(--ink-soft); }

/* ---------- Works-with marquee ---------- */

.works {
  padding: clamp(3.5rem, 9vh, 6rem) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--paper);
}

.works-label {
  text-align: center;
  color: var(--ink-faint);
  padding: 0 var(--gutter);
  margin-bottom: 2.2rem;
}

.works-marquee { display: flex; width: max-content; gap: 0; }

.works-track {
  display: flex;
  align-items: center;
  list-style: none;
  animation: marquee 32s linear infinite;
}

.works-marquee.is-paused .works-track,
.works-marquee:hover .works-track { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

.tool {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0 2.6rem;
  white-space: nowrap;
  color: var(--ink-soft);
  transition: color 0.3s var(--ease-out);
}

.tool:hover { color: var(--blue); }

.tool svg { width: 26px; height: 26px; }

.tool svg.brand-icon { fill: currentColor; stroke: none; }

.tool span {
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: 0.01em;
}

/* ---------- 4. Offer (the three ways in cards) ---------- */

.offer { padding-bottom: clamp(4rem, 10vh, 7rem); }

.offer-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1rem var(--gutter) 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.offer-card {
  position: relative;
  background: linear-gradient(165deg, var(--chrome-hi), #fff 38%, var(--paper) 80%);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2rem 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: box-shadow 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.offer-card:hover { box-shadow: 0 22px 48px rgba(41, 36, 32, 0.1); transform: translateY(-3px); }

.card-index { color: var(--blue); }

.card-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2.2rem;
  line-height: 1;
}

.card-punch { color: var(--ink-soft); }

/* ---------- 5. Why we audit first ---------- */

.audit-first {
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-bottom: clamp(4rem, 10vh, 7rem);
}

.audit-first-body {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: center;
}

.audit-first-body p {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  line-height: 1.4;
  color: var(--ink-soft);
}

/* ---------- 7. Pricing ---------- */

.pricing { padding-bottom: clamp(5rem, 12vh, 8rem); }

.founder-banner {
  max-width: var(--maxw);
  margin: 0 auto 2.4rem;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(14rem, 18rem) 1fr;
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: center;
}

.founder-counter {
  background: linear-gradient(160deg, var(--chrome-hi), #fff 60%);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.8rem 1.6rem;
  text-align: center;
  box-shadow: 0 18px 44px rgba(41, 36, 32, 0.08);
}

.counter-line {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.counter-sub { color: var(--ink-faint); margin-top: 0.8rem; }

.counter-bar {
  margin-top: 1.1rem;
  height: 6px;
  border-radius: 999px;
  background: rgba(41, 36, 32, 0.1);
  overflow: hidden;
}

.counter-bar-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--blue-2), var(--blue));
}

.founder-note { color: var(--ink-soft); max-width: 44rem; }

.pricing-tabs {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
}

.ptab {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85em 1.6em;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.ptab:hover { border-color: var(--blue); color: var(--blue); }

.ptab[aria-selected="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.pricing-panels {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 2.2rem var(--gutter) 0;
}

.ppanel[hidden] { display: none; }

.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  align-items: stretch;
}

.tier {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2.1rem 1.7rem;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(30px);
}

.ppanel.is-active .tier { animation: rise-in 0.7s var(--ease-out) forwards; }
.ppanel.is-active .tier:nth-child(1) { animation-delay: 0.05s; }
.ppanel.is-active .tier:nth-child(2) { animation-delay: 0.16s; }
.ppanel.is-active .tier:nth-child(3) { animation-delay: 0.27s; }

.tier-pop {
  background: linear-gradient(170deg, var(--chrome-hi), #fff 45%);
  border-color: var(--blue);
  box-shadow: 0 22px 54px rgba(46, 139, 224, 0.16);
}

.tier-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--blue-2), var(--blue));
  color: #fff;
  padding: 0.35em 1em;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 0.66rem;
}

.tier-tag { color: var(--ink-faint); }

.tier-price {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1;
  margin-top: 0.7rem;
  white-space: nowrap;
}

.tier-unit {
  font-size: 0.42em;
  color: var(--ink-faint);
  font-family: var(--mono);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.tier-ref { color: var(--ink-soft); font-size: 0.95rem; margin-top: 0.6rem; } /* r20b: match tier-list bullet body text */

.tier-span { color: var(--blue); margin-top: 0.6rem; }

.tier-list {
  list-style: none;
  margin-top: 1.3rem;
  display: grid;
  gap: 0.55rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.tier-list li { padding-left: 1.1rem; position: relative; }

.tier-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 1px;
  background: var(--blue);
}

.pricing-note {
  margin: 1.6rem auto 0;
  max-width: 46rem;
  text-align: center;
  color: var(--ink-faint);
  font-size: 0.95rem;
}

.ladder {
  max-width: 46rem;
  margin: 1.4rem auto 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  padding: 0.4rem 1.1rem;
}

.ladder summary {
  cursor: pointer;
  color: var(--ink-soft);
  padding: 0.7rem 0;
  list-style: none;
}

.ladder summary::-webkit-details-marker { display: none; }
.ladder summary::before { content: "+ "; color: var(--blue); }
.ladder[open] summary::before { content: "- "; }
.ladder summary:hover { color: var(--blue); }

.ladder p {
  padding: 0.2rem 0 0.9rem;
  color: var(--ink-faint);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* (Capacity folded into the Pricing lede; its standalone styles removed.) */

/* ---------- 6. Guarantee ---------- */

.guarantee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-bottom: clamp(4rem, 10vh, 7rem);
  background:
    radial-gradient(90% 70% at 50% 0%, rgba(54, 143, 211, 0.07), rgba(54, 143, 211, 0) 60%),
    var(--paper);
}

.guarantee-body {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: center;
}

.guarantee-body p {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--ink-soft);
  line-height: 1.65;
}

/* ---------- 9. Who it's for ---------- */

.who {
  background: var(--panel);
  border-top: 1px solid var(--line);
  padding-bottom: clamp(4rem, 10vh, 7rem);
}

.who-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1rem var(--gutter) 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 3.2vw, 2.8rem);
}

.who-card { border-top: 1px solid var(--line); padding-top: 1.7rem; }

.who-index { color: var(--blue); }

.who-title {
  margin-top: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  line-height: 1.1;
}

.who-body { margin-top: 0.7rem; color: var(--ink-soft); }

.who-fit { margin-top: 0.9rem; color: var(--ink-faint); }

/* ---------- 10. No handoffs (spin video) ---------- */

.operator {
  padding-bottom: clamp(5rem, 12vh, 8rem);
  background: linear-gradient(180deg, var(--panel), var(--paper) 22%), var(--paper);
  overflow: hidden;
}

.operator-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1rem var(--gutter) 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.spin-frame {
  position: relative;
  width: 100%;
  max-width: 30rem;
  margin: 0 auto;
  border-radius: 26px;
  padding: clamp(1rem, 3vw, 2rem);
  background: linear-gradient(150deg, var(--chrome-hi), var(--chrome) 45%, var(--chrome-lo));
  box-shadow: 0 34px 80px rgba(41, 36, 32, 0.22);
  will-change: transform;
}

.spin-video {
  width: 100%;
  border-radius: 14px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: 0 auto;
}

.operator-copy p { color: var(--ink-soft); font-size: clamp(1rem, 1.4vw, 1.12rem); }

/* ---------- 11. Proof ---------- */

.proof {
  border-top: 1px solid var(--line);
  padding-bottom: clamp(4rem, 10vh, 7rem);
}

.proof-body {
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 1.8rem;
}

.proof-body p { color: var(--ink-soft); font-size: clamp(1.05rem, 1.6vw, 1.2rem); }

/* ---------- 12. Book + Calendly placeholder ---------- */

.book {
  background: var(--panel);
  border-top: 1px solid var(--line);
  padding-bottom: clamp(3rem, 7vh, 5rem);
}

/* r9-style: copy left (incl. the blue CTA), Calendly right, fits one desktop screen */
.book-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3.5rem, 7vh, 5rem) var(--gutter) 0;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.book-copy { text-align: left; }

.book-h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin-top: 1rem;
  text-wrap: balance;
}

.book-lede { margin-top: 1.1rem; max-width: 32rem; color: var(--ink-soft); }

.book-points {
  list-style: none;
  margin-top: 1.6rem;
  display: grid;
  gap: 0.7rem;
  text-align: left;
}

.book-points li {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  color: var(--ink-soft);
}

.book-points .mono { color: var(--blue); }

.calendly-frame {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 60px rgba(41, 36, 32, 0.1);
}

.calendly-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.8rem 1.1rem;
  background: linear-gradient(180deg, var(--chrome-hi), var(--chrome));
  border-bottom: 1px solid var(--line);
}

.calendly-bar .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(41, 36, 32, 0.25);
}

.calendly-bar-label { margin-left: 0.6rem; color: var(--ink-soft); }

/* Live Calendly inline embed (iframe only, no parent-page Calendly script).
   700px is Calendly's own inline-embed height; the widget is responsive inside. */
.calendly-embed {
  display: block;
  width: 100%;
  height: 700px;
  border: 0;
  background: #fff;
}

.book-ctas { margin-top: 1.8rem; text-align: left; }

.book-alt {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--ink-faint);
  max-width: 30rem;
}

.book-alt a { color: var(--blue); }

/* ---------- Footer ---------- */

.footer { border-top: 1px solid var(--line); background: var(--paper); }

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 3.5rem var(--gutter) 4rem;
  display: grid;
  gap: 0.9rem;
  text-align: center;
  justify-items: center;
}

.footer-colophon {
  font-family: var(--serif);
  font-size: 1.3rem;
  max-width: 32em;
  color: var(--ink-soft);
}

.footer-meta { color: var(--ink-faint); }

/* ---------- Load-in rise (CSS only, no JS dependency) ---------- */

.rise {
  opacity: 0;
  transform: translateY(36px);
  animation: rise-in 0.9s var(--ease-out) forwards;
}

.rise-1 { animation-delay: 0.05s; }
.rise-2 { animation-delay: 0.15s; }
.rise-3 { animation-delay: 0.27s; }
.rise-4 { animation-delay: 0.4s; }
.rise-5 { animation-delay: 0.54s; }

@keyframes rise-in { to { opacity: 1; transform: translateY(0); } }

/* ---------- Reveals (JS scrub, replayable) ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}

[data-reveal].is-in { opacity: 1; transform: translateY(0); }
[data-reveal].scrub { transition: none; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .changes-grid { grid-template-columns: 1fr; }
  .offer-grid { grid-template-columns: 1fr; }
  .who-grid { grid-template-columns: 1fr; }
  .tier-grid { grid-template-columns: 1fr; }
  .founder-banner { grid-template-columns: 1fr; }
  .operator-grid { grid-template-columns: 1fr; }
  .book-grid { grid-template-columns: 1fr; }
  .topnav a:not(.nav-cta) { display: none; }
}

@media (max-width: 560px) {
  .hero-h1 { font-size: clamp(2.7rem, 13vw, 4rem); }
  .hero-ctas { align-items: center; width: 100%; }
  .hero-ctas .btn { width: auto; max-width: min(100%, 26rem); }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .rise { opacity: 1; transform: none; animation: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
  .btn-primary { animation: none; }
  .ppanel.is-active .tier { opacity: 1; transform: none; animation: none; }
  .ppanel[hidden] { display: none; }
  .works-track { animation: none; flex-wrap: wrap; justify-content: center; row-gap: 1rem; }
  .works-marquee { width: 100%; flex-wrap: wrap; }
  .works-track[aria-hidden="true"] { display: none; }
  .manifesto-wrap { height: auto; background: var(--panel); }
  .manifesto-stage { position: static; height: auto; padding: 14vh 0; }
  .manifesto-kicker { position: static; transform: none; text-align: center; margin-bottom: 2rem; }
  .mani-lines { display: block; }
  .mani-line { opacity: 1 !important; transform: none !important; margin: 0.4em 0; }
  .spin-frame { will-change: auto; transform: none !important; }
  [data-parallax] { transform: none !important; }
}

/* =====================================================
   Smooth one-pager pass (r16.1, 2026-06-26)
   Kill block seams, 2 soft rests (not a long
   body gradient), cut kickers to 3, hero 92svh, reveals via IO.
   These rules come LAST so they win on equal specificity.
   ===================================================== */

/* Hero breathes without trapping the scroll at a hard cliff */
.hero { min-height: 92svh; }

/* One continuous paper field: drop the hard section seams and the
   alternating panel fills that made the page read as stacked blocks */
.works,
.audit-first,
.who,
.operator,
.proof,
.guarantee,
.footer {
  background: transparent;
  border-top: none;
  border-bottom: none;
}

/* Two deliberate, SOFT-edged tonal rests (same hue family), so there
   is rhythm without boxiness. No hard edges, they fade into the paper. */
.pricing {
  background:
    radial-gradient(125% 55% at 50% 0%, rgba(54, 143, 211, 0.05), rgba(54, 143, 211, 0) 55%),
    transparent;
}
.book {
  background:
    radial-gradient(130% 75% at 50% 100%, rgba(201, 210, 218, 0.42), rgba(201, 210, 218, 0) 62%),
    transparent;
  border-top: none;
}

/* Footer: a whisper of separation instead of a hard hairline */
.footer {
  background: linear-gradient(180deg, rgba(243, 236, 232, 0) 0%, var(--panel) 38%);
}

/* Eyebrow restraint: keep a kicker on hero, pricing,
   and book only. Drop it everywhere else, the heading carries the section. */
.changes .section-kicker,
.offer .section-kicker,
.audit-first .section-kicker,
.guarantee .section-kicker,
.who .section-kicker,
.operator .section-kicker,
.proof .section-kicker,
.manifesto-kicker { display: none; }

/* Gentle, cohesive reveal stagger for grid children (the IO adds .is-in;
   CSS owns the easing, so there is no per-frame scroll-scrub jitter) */
.changes-grid > [data-reveal]:nth-child(2),
.offer-grid > [data-reveal]:nth-child(2),
.who-grid > [data-reveal]:nth-child(2) { transition-delay: 0.07s; }
.changes-grid > [data-reveal]:nth-child(3),
.offer-grid > [data-reveal]:nth-child(3),
.who-grid > [data-reveal]:nth-child(3) { transition-delay: 0.14s; }
.changes-grid > [data-reveal]:nth-child(4) { transition-delay: 0.21s; }

/* Slightly calmer, longer reveal so sections ease in as a flow */
[data-reveal] {
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

/* =====================================================
   Hero rework (r16.2, 2026-06-26): medallion BEHIND the copy.
   The logo always sits behind, never on top pushing the
   title/CTA down. This backdrop is the placeholder for the
   shatter video (which replaces it later). Copy is
   copy-forward, blue CTA above the fold.
   ===================================================== */

.hero { padding-top: clamp(5.5rem, 9vh, 6.5rem); }

.hero-inner { position: relative; z-index: 2; }

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

/* faint so the headline reads clean over it; the shatter video will be the
   prominent version. Sits behind, so it never pushes the copy or CTA down. */
.hero-backdrop img {
  width: min(58vmin, 460px);
  height: auto;
  opacity: 0.2;
  filter: drop-shadow(0 24px 60px rgba(41, 36, 32, 0.14));
}

/* Slightly smaller headline so headline + sub + the blue CTA all fit above the
   fold on landing (hero must fit the initial viewport). */
.hero-h1 { font-size: clamp(2.8rem, 7.5vw, 6.4rem); }
.hero-sub { max-width: 34rem; }

/* =====================================================
   Book = dedicated full-screen "land the call" moment (r16.3).
   Clicking a booking CTA teleports here and this section FILLS the viewport:
   no footer peeking, no bottom separator band, no "is there more below?" friction.
   One screen, one action.
   ===================================================== */
.book {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-bottom: 0;
  /* soft CENTRED glow (not a bottom band, which read as a separator) */
  background:
    radial-gradient(120% 55% at 50% 42%, rgba(201, 210, 218, 0.30), rgba(201, 210, 218, 0) 62%),
    transparent;
}
.book-grid {
  width: 100%;
  padding: clamp(4rem, 8vh, 6rem) var(--gutter);
  align-items: center;
}

/* =====================================================
   Who: more colour (r16.4). It was three flat grey
   columns where only "a question" was blue. Now: a blue accent bar per card,
   a key phrase in blue in each title (the <em>), and the "best for" as a soft
   blue chip with a blue label. One accent (blue) kept, no rainbow.
   ===================================================== */
.who-card { border-top: none; padding-top: 1.9rem; }

.who-card::before {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-2), var(--blue));
  margin-bottom: 1.5rem;
}

.who-fit {
  display: inline-block;
  margin-top: 1.3rem;
  padding: 0.62em 0.95em;
  border-radius: 11px;
  background: rgba(54, 143, 211, 0.08);
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
}

.who-fit-label { color: var(--blue); margin-right: 0.5em; }

/* Counter rework (r16.4): scarce "2 open" with the number in blue, and
   a generous line-height so descenders never kiss the line below (the old
   "6 open / 0 filled" wrapped and the p touched the filled). */
.counter-line {
  font-size: clamp(2.1rem, 4.6vw, 3rem);
  line-height: 1.12;
}
.counter-num { color: var(--blue); }

/* =====================================================
   Hero scroll-scrub SHATTER (r17, 2026-06-29).
   The hero becomes a tall scroll TRACK; .hero-stage pins (sticky) and the
   shatter plays via a <canvas> frame-flipbook tied to scroll (down=forward,
   up=reverse). These rules come LAST so they override the earlier .hero
   (display:grid / min-height / padding / background / overflow) blocks.
   FOLD GUARD: at scroll=0 the sticky stage mirrors the old hero box exactly
   (same grid centring, same padding incl. the r16.2 padding-top, same bg), so
   copy + blue CTA stay in the identical place. Additive to the hero only.
   ===================================================== */

:root { --hero-track: 300vh; }   /* scrub track length; JS derives the scrub span from this at runtime */

/* .hero is now just the scroll track (no visuals of its own) */
.hero {
  height: var(--hero-track);
  min-height: 0;
  display: block;
  padding: 0;
  background: none;
  overflow: visible;            /* MUST be visible: an overflow:hidden ancestor would break the sticky pin */
  text-align: left;
}

/* .hero-stage is the pinned fold: it carries everything the old .hero box had */
.hero-stage {
  position: sticky;
  top: 0;
  width: 100%;                  /* a sticky grid otherwise shrinks to content width, not the viewport */
  box-sizing: border-box;
  min-height: 100svh;
  height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(5.5rem, 9vh, 6.5rem) var(--gutter) 5rem;   /* = old hero padding + r16.2 padding-top */
  background:
    radial-gradient(120% 80% at 50% 8%, rgba(201, 210, 218, 0.55), rgba(201, 210, 218, 0) 60%),
    var(--paper);
  overflow: hidden;             /* clip shards to the stage (ok on the sticky element itself) */
  text-align: center;
}

/* Flipbook canvas + its first-frame poster FULL-BLEED the hero stage. The frame
   is drawn "contain"-fitted onto a paper (#F9F5F3 == --paper) fill, so the whole
   hero reads as one uniform paper field as the canvas opacity ramps up: no box
   seam against the radial-gradient backdrop, and it works at ANY aspect ratio
   (the square placeholder today, TC1's native 16:9 winner later, portrait
   mobile) without cropping the shatter. */
.hero-backdrop .hero-canvas,
.hero-backdrop .hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
/* r17b: the poster is INVISIBLE in the normal JS path (opacity 0, including
   while frames are still decoding) so the scroll-0 fold is fully whitened out:
   nothing but page background behind the copy. It only appears in the two
   explicitly gated fallback modes below (no-JS via the <noscript> override,
   reduced-motion via the media query), and there it is edge-feathered by a
   mask so even the static fallback never reads as a rectangle. */
.hero-backdrop .hero-poster {
  object-fit: contain;
  background: none;
  opacity: 0;
  transition: opacity 0.3s linear;
  -webkit-mask-image: radial-gradient(115% 90% at 50% 50%, #000 52%, transparent 80%);
  mask-image: radial-gradient(115% 90% at 50% 50%, #000 52%, transparent 80%);
}
.hero-backdrop .hero-canvas { opacity: 0; }   /* JS owns canvas opacity once frames are decoded */

/* Reduced motion: no scrub. Collapse the track to a single fold and show the
   static poster (intact head) at the old faint backdrop strength. */
@media (prefers-reduced-motion: reduce) {
  .hero { height: auto; min-height: 0; }
  .hero-stage { position: static; height: auto; min-height: 92svh; }
  .hero-backdrop .hero-canvas { display: none; }
  .hero-backdrop .hero-poster { opacity: 0.2; }
}

/* =====================================================
   r19: pre-audit form link + direct channels (2026-07-04)
   ===================================================== */

.contact-btns { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.2rem; }

.contact-btn { display: inline-flex; align-items: center; gap: 0.55em; }

.contact-btn .brand-icon { width: 1.1em; height: 1.1em; fill: currentColor; flex: 0 0 auto; }

.footer-channels a { padding: 0.4em 0.2em; }

/* ===== r21: PDPA consent banner ===== */
.consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  background: var(--panel);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 30px rgba(41, 36, 32, 0.10);
}
.consent:focus { outline: none; }
.consent :focus-visible { outline-color: var(--ink); }
.consent-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.95rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.consent-text {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  max-width: 44rem;
}
.consent-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.consent .btn {
  animation: none;
  font-size: 0.8rem;
  padding: 0.85em 1.6em;
}
.consent .btn:hover { transform: none; }
.consent .btn-primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: none;
}
.consent .btn-primary:hover {
  background: var(--ink);
  border-color: var(--ink);
  filter: brightness(1.15);
}
.consent .btn-ghost:hover {
  color: var(--ink);
  border-color: var(--ink-soft);
}
@media (max-width: 640px) {
  .consent-inner { flex-direction: column; align-items: stretch; }
  .consent-actions { flex-direction: column; }
  .consent .btn { width: 100%; text-align: center; }
}
