/* =====================================================================
   AnchorWorks — Direct-Response Edition
   King Kong conversion DNA × AnchorWorks cinematic brand
   Palette 70/15/10/5 · DM Serif Display + Inter · gold earned, never loud
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ocean:      #1F2326;
  --ocean-2:    #23282b;
  --panel:      #181C1E;
  --charcoal:   #0F1214;
  --charcoal-2: #0a0c0d;
  --bone:       #EAE6DF;
  --gold:       #C6A66A;
  --gold-deep:  #a8884f;
  --gold-bright:#e3c98c;
  --steel:      #9AA1A6;

  --bone-dim:   rgba(234, 230, 223, 0.66);
  --bone-faint: rgba(234, 230, 223, 0.40);
  --hairline:   rgba(234, 230, 223, 0.10);
  --hairline-2: rgba(234, 230, 223, 0.06);
  --gold-glow:  rgba(198, 166, 106, 0.22);
  --gold-tint:  rgba(198, 166, 106, 0.08);

  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --fs-display: clamp(2.9rem, 1.4rem + 6.2vw, 6.5rem);
  --fs-h1:      clamp(2.4rem, 1.5rem + 3.6vw, 4.5rem);
  --fs-h2:      clamp(2rem,   1.35rem + 2.7vw, 3.5rem);
  --fs-h3:      clamp(1.4rem, 1.15rem + 1vw, 1.95rem);
  --fs-lead:    clamp(1.1rem, 1rem + 0.55vw, 1.42rem);
  --fs-letter:  clamp(1.18rem, 1.05rem + 0.7vw, 1.55rem);
  --fs-body:    1.0625rem;
  --fs-sm:      0.9375rem;
  --fs-label:   0.78rem;
  /* Spacing scale — use these (or the .mt-* / .mb-* utilities) instead of inline rem values */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs:  0.75rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2rem;
  --space-xl:  3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* Layout */

  --section-y:  clamp(5rem, 3rem + 8vw, 9.5rem);
  --container:  1240px;
  --container-narrow: 760px;
  --gutter:     clamp(1.25rem, 0.5rem + 3vw, 3rem);
  --radius:     14px;
  --radius-lg:  22px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 30px 80px -30px rgba(0, 0, 0, 0.75);
  --shadow-card: 0 24px 60px -28px rgba(0, 0, 0, 0.85);
  --grain: url("../assets/grain-tile.webp");
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--bone);
  background-color: var(--ocean);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
::selection { background: var(--gold); color: var(--charcoal); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3.5rem, 2rem + 5vw, 6rem); }
.section--base { background: var(--ocean); }
.section--alt  { background: var(--panel); border-block: 1px solid var(--hairline-2); }
.section--deep { background: var(--charcoal); }

.grain-plate { position: relative; }
.grain-plate::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--grain); background-size: cover; background-position: center;
  opacity: 0.5; mix-blend-mode: overlay; pointer-events: none; z-index: 0;
}
.grain-plate > * { position: relative; z-index: 1; }

.eyebrow {
  font-family: var(--sans);
  font-size: var(--fs-label);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.4rem;
}
.eyebrow::before {
  content: ""; width: 30px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: ""; width: 30px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.04; letter-spacing: -0.012em; color: var(--bone); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.12; }
em, .serif-italic { font-style: italic; }
.text-gold { color: var(--gold); }
.lead { font-size: var(--fs-lead); color: var(--bone-dim); line-height: 1.55; max-width: 62ch; }
.trademark { white-space: nowrap; }

.section-head { max-width: 820px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-bottom: 1.1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.97rem; font-weight: 600; letter-spacing: 0.01em;
  padding: 1rem 1.7rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--lg { padding: 1.15rem 2.1rem; font-size: 1.03rem; }
.btn--block { width: 100%; }
.btn--primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  color: var(--charcoal);
  box-shadow: 0 14px 38px -14px var(--gold-glow), inset 0 1px 0 rgba(255,255,255,0.35);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 22px 48px -16px var(--gold-glow), inset 0 1px 0 rgba(255,255,255,0.45); }
.btn--ghost {
  background: transparent; color: var(--bone);
  border-color: var(--hairline);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-bright); transform: translateY(-3px); }
.btn--dark {
  background: rgba(15,18,20,0.6); color: var(--bone); border-color: var(--hairline);
  backdrop-filter: blur(6px);
}
.btn--dark:hover { border-color: var(--gold); color: var(--gold-bright); }

/* ---------- Stars ---------- */
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 17px; height: 17px; fill: currentColor; }
.rating {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: var(--fs-sm); color: var(--bone-dim);
}
.rating strong { color: var(--bone); font-weight: 600; }

/* =====================================================================
   TOP BAR
   ===================================================================== */
.topbar {
  background: var(--charcoal-2);
  border-bottom: 1px solid var(--hairline-2);
  font-size: 0.8rem;
  color: var(--bone-dim);
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: 0.55rem; flex-wrap: wrap;
}
.topbar__updated { display: inline-flex; align-items: center; gap: 0.5rem; letter-spacing: 0.02em; }
.topbar__updated .pulse {
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 0 var(--gold-glow); animation: pulse 2.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(198,166,106,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(198,166,106,0); }
  100% { box-shadow: 0 0 0 0 rgba(198,166,106,0); }
}
.topbar__rating { display: inline-flex; align-items: center; gap: 0.6rem; }
.topbar__rating .stars svg { width: 14px; height: 14px; }

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 60;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(15,18,20,0.82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--hairline);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 0.9rem; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a {
  font-size: 0.92rem; font-weight: 500; color: var(--bone-dim);
  letter-spacing: 0.01em; transition: color 0.3s var(--ease); position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0;
  background: var(--gold); transition: width 0.35s var(--ease);
}
.nav a:hover { color: var(--bone); }
.nav a:hover::after { width: 100%; }
.header-cta { display: flex; align-items: center; gap: 1rem; }
.header-cta .btn { padding: 0.7rem 1.25rem; font-size: 0.9rem; }

.nav-toggle { display: none; width: 42px; height: 42px; background: transparent; border: 1px solid var(--hairline); border-radius: 10px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--bone); transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }

/* =====================================================================
   HERO  ·  "Choose your own adventure"
   ===================================================================== */
.hero { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 2rem + 7vw, 7rem) clamp(4rem, 3rem + 5vw, 7rem); }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; opacity: 0.62; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(31,35,38,0.05), rgba(31,35,38,0.55) 70%, var(--ocean) 100%),
    linear-gradient(180deg, rgba(15,18,20,0.45) 0%, rgba(15,18,20,0.30) 40%, rgba(31,35,38,0.92) 100%);
}
.hero__grain { position: absolute; inset: 0; z-index: 1; background-image: var(--grain); background-size: cover; opacity: 0.4; mix-blend-mode: overlay; pointer-events: none; }
.hero__inner { position: relative; z-index: 2; text-align: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.5rem 1.05rem; border-radius: 100px;
  border: 1px solid var(--hairline); background: rgba(15,18,20,0.4);
  font-size: 0.82rem; color: var(--bone-dim); letter-spacing: 0.04em;
  margin-bottom: 1.8rem; backdrop-filter: blur(6px);
}
.hero__badge .stars svg { width: 14px; height: 14px; }
.hero h1 {
  font-size: var(--fs-display);
  max-width: 18ch; margin-inline: auto; margin-bottom: 1.6rem;
  text-wrap: balance;
}
.hero h1 em { color: var(--gold); white-space: nowrap; }
.hero__sub { font-size: var(--fs-lead); color: var(--bone-dim); max-width: 64ch; margin-inline: auto; margin-bottom: 2.6rem; }
.hero__sub strong { color: var(--bone); font-weight: 600; }

/* Adventure cards */
.adventure {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
  max-width: 940px; margin-inline: auto; text-align: left;
}
.adv {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--ocean-2), var(--charcoal));
  border: 1px solid var(--hairline); border-radius: var(--radius-lg);
  padding: 2.1rem 2rem 2rem; transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.adv::before {
  content: ""; position: absolute; inset: 0; background-image: var(--grain);
  background-size: cover; opacity: 0.22; mix-blend-mode: overlay; pointer-events: none;
}
.adv > * { position: relative; }
.adv:hover { transform: translateY(-6px); border-color: rgba(198,166,106,0.5); box-shadow: var(--shadow-card); }
.adv__tag { font-size: var(--fs-label); letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; color: var(--gold); }
.adv__icon {
  width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center;
  background: var(--gold-tint); border: 1px solid rgba(198,166,106,0.3); margin-bottom: 1.3rem;
}
.adv__icon svg { width: 24px; height: 24px; stroke: var(--gold); fill: none; }
.adv h3 { margin: 0.7rem 0 0.6rem; }
.adv p { color: var(--bone-dim); font-size: 0.98rem; margin-bottom: 1.4rem; }
.adv__link { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--gold-bright); font-weight: 600; font-size: 0.95rem; }
.adv__link svg { width: 17px; height: 17px; transition: transform 0.35s var(--ease); }
.adv:hover .adv__link svg { transform: translateX(4px); }
.adv--primary { border-color: rgba(198,166,106,0.4); }
.adv--primary::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* =====================================================================
   MAGNET STRIP  ·  "send you some magic"
   ===================================================================== */
.magnetstrip { background: var(--charcoal); border-block: 1px solid var(--hairline); }
.magnetstrip__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding-block: clamp(2rem, 1.5rem + 2vw, 3rem); flex-wrap: wrap;
}
.magnetstrip__copy h3 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.2rem); margin-bottom: 0.5rem; }
.magnetstrip__copy h3 em { color: var(--gold); }
.magnetstrip__copy p { color: var(--bone-dim); font-size: 0.98rem; }
.inline-form { display: flex; gap: 0.6rem; flex: 1; min-width: 320px; max-width: 540px; }
.inline-form input {
  flex: 1; background: var(--ocean); border: 1px solid var(--hairline); border-radius: var(--radius);
  color: var(--bone); padding: 1rem 1.2rem; font-size: 0.97rem; transition: border-color 0.3s var(--ease);
}
.inline-form input::placeholder { color: var(--bone-faint); }
.inline-form input:focus { outline: none; border-color: var(--gold); }

/* =====================================================================
   SALES LETTER  ·  long-form direct response
   ===================================================================== */
.letter { position: relative; }
.letter__inner { max-width: 760px; margin-inline: auto; }
.letter__salute { font-family: var(--serif); font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.4rem); color: var(--bone); margin-bottom: 1.6rem; }
.letter p { font-size: var(--fs-letter); line-height: 1.6; color: var(--bone-dim); margin-bottom: 1.35rem; }
.letter p strong { color: var(--bone); font-weight: 600; }
.letter p em { color: var(--gold-bright); font-style: italic; }
.letter .tight { margin-bottom: 0.4rem; }
.letter .pull {
  font-family: var(--serif); font-style: italic; color: var(--bone);
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); line-height: 1.25;
  border-left: 2px solid var(--gold); padding: 0.4rem 0 0.4rem 1.5rem;
  margin: 2.4rem 0; max-width: none;
}
.letter__sign { margin-top: 2.4rem; display: flex; align-items: center; gap: 1rem; }
.letter__sign img { width: 46px; height: 46px; }
.letter__sign .name { font-family: var(--serif); font-size: 1.3rem; color: var(--bone); }
.letter__sign .role { font-size: 0.88rem; color: var(--bone-faint); }
.letter__choices { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.6rem; }

/* =====================================================================
   STATS BAND  ·  "our numbers do the talking"
   ===================================================================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--hairline-2); border: 1px solid var(--hairline-2); border-radius: var(--radius-lg); overflow: hidden; }
.stat { background: var(--ocean); padding: 2.4rem 1.6rem; text-align: center; }
.stat__num { font-family: var(--serif); font-size: clamp(2.4rem, 1.6rem + 2.6vw, 3.8rem); color: var(--gold); line-height: 1; margin-bottom: 0.7rem; }
.stat__label { font-size: 0.9rem; color: var(--bone-dim); letter-spacing: 0.01em; }

/* =====================================================================
   PLATFORM  ·  "Built for Scale"
   ===================================================================== */
.platform__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.platform__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--hairline); box-shadow: var(--shadow-card); }
.platform__media img { width: 100%; height: 100%; object-fit: cover; }
.steps { display: grid; gap: 1.4rem; margin-top: 2rem; }
.step { display: flex; gap: 1.1rem; align-items: flex-start; }
.step__num {
  flex: none; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.25rem; color: var(--gold);
  background: var(--gold-tint); border: 1px solid rgba(198,166,106,0.3);
}
.step h3 { font-size: 1.35rem; margin-bottom: 0.3rem; display: flex; align-items: baseline; gap: 0.5rem; }
.step__arrow { color: var(--gold); font-family: var(--sans); font-size: 1.1rem; }
.step p { color: var(--bone-dim); font-size: 0.98rem; }

/* =====================================================================
   GUARANTEE banner
   ===================================================================== */
.guarantee-banner { position: relative; overflow: hidden; text-align: center; }
.guarantee-banner__inner { max-width: 880px; margin-inline: auto; position: relative; z-index: 1; }
.guarantee-banner__shield { width: 64px; height: 64px; margin: 0 auto 1.6rem; stroke: var(--gold); fill: none; }
.guarantee-banner h2 { font-size: clamp(2rem, 1.4rem + 3vw, 3.6rem); margin-bottom: 1.3rem; }
.guarantee-banner h2 em { color: var(--gold); }
.guarantee-banner p { color: var(--bone-dim); font-size: var(--fs-lead); max-width: 60ch; margin: 0 auto 2rem; }

/* =====================================================================
   BOOK  ·  lead magnet
   ===================================================================== */
.book__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.book__visual { display: grid; place-items: center; perspective: 1600px; }
.book3d {
  position: relative; width: clamp(220px, 60%, 300px); aspect-ratio: 3/4;
  border-radius: 6px 12px 12px 6px;
  background: linear-gradient(135deg, #20252a, #14181b 60%, #0c0f11);
  box-shadow: var(--shadow-card), inset 0 0 0 1px var(--hairline);
  transform: rotateY(-22deg) rotateX(4deg); transform-style: preserve-3d;
  transition: transform 0.7s var(--ease); padding: 2.2rem 1.8rem;
  display: flex; flex-direction: column; justify-content: space-between;
  border-left: 8px solid var(--gold-deep);
}
.book__visual:hover .book3d { transform: rotateY(-12deg) rotateX(2deg); }
.book3d::after {
  content: ""; position: absolute; inset: 0; background-image: var(--grain);
  background-size: cover; opacity: 0.3; mix-blend-mode: overlay; border-radius: inherit;
}
.book3d__icon { width: 46px; height: 46px; }
.book3d__kicker { font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.book3d__title { font-family: var(--serif); font-size: 1.5rem; color: var(--bone); line-height: 1.1; }
.book3d__author { font-size: 0.78rem; color: var(--bone-faint); letter-spacing: 0.04em; }
.book__list { display: grid; gap: 1rem; margin: 1.8rem 0; }
.book__list li { display: flex; gap: 0.8rem; align-items: flex-start; list-style: none; color: var(--bone-dim); font-size: 1rem; }
.book__list svg { flex: none; width: 22px; height: 22px; stroke: var(--gold); fill: none; margin-top: 2px; }

/* Local Authority Score card — free-offer visual */
.scorecard {
  width: 100%; max-width: 360px;
  background: linear-gradient(180deg, var(--ocean-2), var(--charcoal));
  border: 1px solid var(--hairline); border-radius: var(--radius-lg);
  padding: 2rem 1.9rem; box-shadow: var(--shadow-card);
  position: relative; overflow: hidden;
}
.scorecard::after {
  content: ""; position: absolute; inset: 0; background-image: var(--grain);
  background-size: cover; opacity: 0.22; mix-blend-mode: overlay; pointer-events: none;
}
.scorecard > * { position: relative; }
.scorecard__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.scorecard__label { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.scorecard__icon { width: 30px; height: 30px; }
.scorecard__score { display: flex; align-items: baseline; gap: 0.5rem; }
.scorecard__num { font-family: var(--serif); font-size: 4.2rem; line-height: 0.9; color: var(--bone); }
.scorecard__den { font-size: 1.1rem; color: var(--bone-faint); }
.scorecard__stage { font-size: 0.9rem; color: var(--gold-bright); margin: 0.55rem 0 1.7rem; }
.scorecard__bars { display: grid; gap: 1.05rem; list-style: none; }
.scorecard__bars .row { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--bone-dim); margin-bottom: 0.45rem; }
.scorecard__track { height: 7px; border-radius: 100px; background: var(--hairline); overflow: hidden; }
.scorecard__fill { height: 100%; border-radius: 100px; background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright)); width: var(--v); }
.scorecard__foot { margin-top: 1.6rem; padding-top: 1.1rem; border-top: 1px solid var(--hairline-2); font-size: 0.72rem; color: var(--bone-faint); letter-spacing: 0.02em; }

/* =====================================================================
   TESTIMONIAL WALL
   ===================================================================== */
.wall { columns: 3; column-gap: 1.25rem; }
.tcard {
  break-inside: avoid; margin-bottom: 1.25rem;
  background: linear-gradient(180deg, var(--ocean-2), var(--charcoal));
  border: 1px solid var(--hairline); border-radius: var(--radius-lg); padding: 1.8rem 1.7rem;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease);
}
.tcard:hover { transform: translateY(-5px); border-color: rgba(198,166,106,0.4); }
.tcard__result { font-family: var(--serif); font-size: 1.45rem; color: var(--gold); line-height: 1.12; margin-bottom: 0.9rem; }
.tcard__quote { color: var(--bone-dim); font-size: 0.98rem; margin-bottom: 1.4rem; }
.tcard__who { display: flex; align-items: center; gap: 0.8rem; border-top: 1px solid var(--hairline-2); padding-top: 1.1rem; }
.tcard__av { width: 40px; height: 40px; border-radius: 50%; background: var(--gold-tint); border: 1px solid rgba(198,166,106,0.3); display: grid; place-items: center; font-family: var(--serif); color: var(--gold); font-size: 1.05rem; flex: none; }
.tcard__name { font-weight: 600; font-size: 0.94rem; color: var(--bone); }
.tcard__role { font-size: 0.82rem; color: var(--bone-faint); }
.tcard .stars { margin-bottom: 0.9rem; }
.tcard .stars svg { width: 15px; height: 15px; }

/* =====================================================================
   FAQ accordion
   ===================================================================== */
.faq { max-width: 860px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--hairline); }
.faq__q {
  width: 100%; background: transparent; border: 0; cursor: pointer; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.6rem 0; color: var(--bone); font-family: var(--serif); font-size: clamp(1.15rem, 1rem + 0.7vw, 1.5rem); line-height: 1.2;
}
.faq__q .ic { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--hairline); display: grid; place-items: center; transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease); position: relative; }
.faq__q .ic::before, .faq__q .ic::after { content: ""; position: absolute; background: var(--gold); border-radius: 2px; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
.faq__q .ic::before { width: 12px; height: 2px; }
.faq__q .ic::after { width: 2px; height: 12px; }
.faq__item.is-open .faq__q .ic { background: var(--gold-tint); border-color: var(--gold); }
.faq__item.is-open .faq__q .ic::after { opacity: 0; transform: rotate(90deg); }
.faq__a { overflow: hidden; max-height: 0; transition: max-height 0.45s var(--ease); }
.faq__a-inner { padding: 0 0 1.7rem; color: var(--bone-dim); font-size: 1.02rem; line-height: 1.65; max-width: 70ch; }
.faq__a-inner strong { color: var(--bone); }

/* =====================================================================
   FOUNDER
   ===================================================================== */
.founder__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.founder__photo { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--hairline); box-shadow: var(--shadow-card); position: relative; }
.founder__photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.founder blockquote { font-family: var(--serif); font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.5rem); line-height: 1.22; color: var(--bone); margin-bottom: 1.6rem; }
.founder blockquote em { color: var(--gold); }
.founder__sign { display: flex; align-items: center; gap: 1rem; margin-top: 1.8rem; }
.founder__sign .divider { width: 1px; height: 38px; background: var(--hairline); }
.founder__sign .name { font-family: var(--serif); font-size: 1.3rem; }
.founder__sign .role { font-size: 0.88rem; color: var(--bone-faint); }

/* =====================================================================
   FINALE
   ===================================================================== */
.finale { position: relative; overflow: hidden; text-align: center; }
.finale__bg { position: absolute; inset: 0; z-index: 0; }
.finale__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.22; }
.finale__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(100% 100% at 50% 50%, rgba(31,35,38,0.4), var(--charcoal) 80%); }
.finale__inner { position: relative; z-index: 1; max-width: 800px; margin-inline: auto; }
.finale h2 { font-size: clamp(2.4rem, 1.5rem + 4vw, 4.8rem); margin-bottom: 1.3rem; }
.finale h2 em { color: var(--gold); }
.finale p { color: var(--bone-dim); font-size: var(--fs-lead); max-width: 58ch; margin: 0 auto 2.4rem; }
.finale__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.finale__note { margin-top: 1.8rem; font-size: 0.88rem; color: var(--bone-faint); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: var(--charcoal-2); border-top: 1px solid var(--hairline); padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer__brand img { height: 32px; margin-bottom: 1.1rem; }
.footer__brand p { color: var(--bone-faint); font-size: 0.92rem; max-width: 34ch; }
.footer__col h4 { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--steel); margin-bottom: 1.1rem; }
.footer__col a { display: block; color: var(--bone-dim); font-size: 0.92rem; padding-block: 0.35rem; transition: color 0.3s var(--ease); }
.footer__col a:hover { color: var(--gold); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid var(--hairline-2); padding-top: 1.6rem; font-size: 0.82rem; color: var(--bone-faint); }
.footer__bottom .tm { color: var(--steel); }

/* =====================================================================
   REVEAL animation
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 980px) {
  .nav { position: fixed; inset: 0 0 auto; top: 0; flex-direction: column; align-items: stretch;
    background: rgba(10,12,13,0.97); backdrop-filter: blur(14px); padding: 6rem 2rem 2.5rem; gap: 0.3rem;
    transform: translateY(-100%); transition: transform 0.5s var(--ease); height: 100vh; z-index: 55; }
  .nav.is-open { transform: none; }
  .nav a { font-size: 1.3rem; padding-block: 1rem; border-bottom: 1px solid var(--hairline-2); }
  .nav a::after { display: none; }
  .nav-toggle { display: flex; z-index: 60; }
  .header-cta .btn { display: none; }
  .platform__grid, .book__grid, .founder__grid { grid-template-columns: 1fr; }
  .platform__media, .book__visual { order: -1; }
  .wall { columns: 2; }
}
@media (max-width: 720px) {
  .adventure { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .wall { columns: 1; }
  .inline-form { flex-direction: column; min-width: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer__brand { grid-column: 1 / -1; }
  .letter__choices .btn { width: 100%; }
}
@media (max-width: 460px) {
  .stats { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Grain texture — seamless tile (native repeat) + CSS vignette
   Replaces the old baked-vignette image (dark-grain.png), which
   could not tile. The tile is high-passed neutral grain; the
   vignette is recreated here as a radial-gradient so it is not
   baked into the pixels. (background-image comes from --grain.)
   ============================================================ */
.grain-plate::before,
.hero__grain,
.adv::before,
.book3d::after,
.scorecard::after{
  background-size: auto;        /* native tile size — no cover, no stretching */
  background-repeat: repeat;
  background-position: center;
}
.grain-plate::after{
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background: radial-gradient(120% 125% at 50% 48%, transparent 50%, rgba(10,12,13,0.55) 100%);
}

/* =====================================================================
   PHASE 1 — sub-pages (about, solutions, method, magnets, community,
   events, careers, legal) + upgraded SaaS footer + homepage teaser
   ===================================================================== */

/* ---- Sub-page hero ---- */
.subhero { position: relative; overflow: hidden; padding-block: clamp(3rem, 2rem + 5vw, 6rem) clamp(2.5rem,1.5rem+3vw,4rem); background: var(--charcoal); border-bottom: 1px solid var(--hairline-2); }
.subhero__inner { position: relative; z-index: 1; max-width: 880px; }
.subhero h1 { font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem); margin-bottom: 1.3rem; }
.subhero h1 em { color: var(--gold); }
.subhero .lead { font-size: var(--fs-lead); }
.breadcrumb { display: flex; gap: 0.5rem; align-items: center; font-size: 0.8rem; color: var(--bone-faint); letter-spacing: 0.04em; margin-bottom: 1.6rem; }
.breadcrumb a { color: var(--bone-dim); } .breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }

/* ---- Offer wall / generic card grid (reuses .adv look) ---- */
.cardgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.cardgrid--2 { grid-template-columns: repeat(2, 1fr); }
.cardgrid--4 { grid-template-columns: repeat(4, 1fr); }
.ocard { position: relative; overflow: hidden; display: flex; flex-direction: column; background: linear-gradient(180deg, var(--ocean-2), var(--charcoal)); border: 1px solid var(--hairline); border-radius: var(--radius-lg); padding: 1.9rem 1.8rem; transition: transform .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease); }
.ocard:hover { transform: translateY(-5px); border-color: rgba(198,166,106,.45); box-shadow: var(--shadow-card); }
.ocard__tag { font-size: var(--fs-label); letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--gold); margin-bottom: .9rem; }
.ocard__tag--free { color: var(--gold-bright); }
.ocard h3 { font-size: 1.5rem; margin-bottom: .45rem; }
.ocard__sub { font-size: .95rem; color: var(--bone); font-weight: 600; margin-bottom: .8rem; }
.ocard p { color: var(--bone-dim); font-size: .98rem; margin-bottom: 1.4rem; }
.ocard__link { margin-top: auto; display: inline-flex; align-items: center; gap: .5rem; color: var(--gold-bright); font-weight: 600; font-size: .95rem; }
.ocard__link svg { width: 17px; height: 17px; transition: transform .35s var(--ease); }
.ocard:hover .ocard__link svg { transform: translateX(4px); }
.ocard--paid { border-color: rgba(198,166,106,.4); }
.ocard--paid::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }

/* ---- Magnet landing (two-col) + form/PDF placeholders ---- */
.magnet-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem,1rem+4vw,4.5rem); align-items: start; }
.form-ph { background: rgba(15,18,20,.55); border: 2px dashed rgba(198,166,106,.5); border-radius: var(--radius-lg); padding: 2rem 1.8rem; text-align: center; }
.form-ph__tag { display: inline-block; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--charcoal); background: var(--gold); padding: .35rem .7rem; border-radius: 6px; margin-bottom: 1rem; }
.form-ph p { color: var(--bone-dim); font-size: .92rem; margin: .4rem 0; }
.form-ph code { color: var(--gold-bright); font-size: .82rem; }
.btn--disabled { opacity: .5; pointer-events: none; cursor: not-allowed; filter: grayscale(.3); }
.ph-inline { display:inline-block; font-size:.7rem; letter-spacing:.12em; text-transform:uppercase; color:var(--charcoal); background:var(--gold); padding:.2rem .5rem; border-radius:5px; font-weight:700; vertical-align:middle; }

/* ---- Legal / prose ---- */
.prose { max-width: 760px; }
.prose p { color: var(--bone-dim); margin-bottom: 1.1rem; line-height: 1.7; }
.prose h2 { font-size: 1.6rem; margin: 2rem 0 .9rem; }
.legal-ph { border: 2px dashed rgba(198,166,106,.5); border-radius: var(--radius-lg); padding: 2rem; background: rgba(15,18,20,.5); color: var(--bone-dim); }
.legal-ph strong { color: var(--gold-bright); }
.legal-meta { font-size: .85rem; color: var(--bone-faint); margin-bottom: 2rem; }

/* ---- Nav active ---- */
.nav a.is-active { color: var(--bone); }
.nav a.is-active::after { width: 100%; }

/* ---- Homepage lead-magnet teaser ---- */
.teaser__head { text-align: center; max-width: 720px; margin: 0 auto 2.6rem; }

/* ---- Upgraded footer (5 columns + social + contact + disclaimer) ---- */
.footer__grid { grid-template-columns: 1.7fr 1fr 1.1fr 1.1fr 1.2fr; }
.footer__social { display: flex; gap: .7rem; margin-top: 1.2rem; }
.footer__social a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--hairline); border-radius: 9px; color: var(--bone-dim); transition: border-color .3s var(--ease), color .3s var(--ease); }
.footer__social a:hover { border-color: var(--gold); color: var(--gold); }
.footer__social svg { width: 17px; height: 17px; }
.footer__contact { color: var(--bone-faint); font-size: .86rem; line-height: 1.7; margin-top: .9rem; }
.footer__disclaimer { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--hairline-2); font-size: .76rem; line-height: 1.55; color: var(--bone-faint); max-width: 100%; }

@media (max-width: 980px){
  .magnet-grid { grid-template-columns: 1fr; }
  .cardgrid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 620px){
  .cardgrid--2, .cardgrid--4 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* ---- Canonical footer (4 columns) + legal disclaimer block ---- */
.footer__grid { grid-template-columns: 1.8fr 1fr 1.2fr 1.3fr; }
.footer__contact a, .footer__company a { color: var(--bone-dim); transition: color .3s var(--ease); }
.footer__contact a:hover, .footer__company a:hover { color: var(--gold); }
.footer__legal { margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid var(--hairline-2); }
.footer__legal p { font-size: .72rem; line-height: 1.6; color: var(--bone-faint); margin-bottom: .7rem; max-width: 100%; }
.footer__company { font-style: normal; font-size: .78rem; color: var(--bone-dim); line-height: 1.6; }
/* re-assert responsive collapse AFTER the 4-col rule so small screens still stack */
@media (max-width: 980px){ .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 620px){ .footer__grid { grid-template-columns: 1fr; } .footer__bottom { flex-direction: column; align-items: flex-start; gap: .6rem; } }

/* =====================================================================
   Utilities — composable helpers. Prefer these over inline one-off values.
   ===================================================================== */
.text-center { text-align: center; }
.text-dim    { color: var(--bone-dim); }
.text-faint  { color: var(--bone-faint); }
.mx-auto     { margin-inline: auto; }
.measure     { max-width: var(--container-narrow); margin-inline: auto; }
.mt-0{margin-top:0}.mt-2xs{margin-top:var(--space-2xs)}.mt-xs{margin-top:var(--space-xs)}.mt-sm{margin-top:var(--space-sm)}.mt-md{margin-top:var(--space-md)}.mt-lg{margin-top:var(--space-lg)}.mt-xl{margin-top:var(--space-xl)}.mt-2xl{margin-top:var(--space-2xl)}.mt-3xl{margin-top:var(--space-3xl)}
.mb-0{margin-bottom:0}.mb-2xs{margin-bottom:var(--space-2xs)}.mb-xs{margin-bottom:var(--space-xs)}.mb-sm{margin-bottom:var(--space-sm)}.mb-md{margin-bottom:var(--space-md)}.mb-lg{margin-bottom:var(--space-lg)}.mb-xl{margin-bottom:var(--space-xl)}.mb-2xl{margin-bottom:var(--space-2xl)}.mb-3xl{margin-bottom:var(--space-3xl)}

/* =====================================================================
   Responsive hardening — small-screen spacing + overflow guards.
   Container gutter (--gutter) and section spacing (--section-y) are
   already clamp()-based and box-sizing is border-box globally; these
   rules only tune the MOBILE end. Desktop (>600px) is unchanged.
   ===================================================================== */
img, svg, video, iframe, canvas { max-width: 100%; }   /* media never forces horizontal scroll */

@media (max-width: 600px) {
  /* tighter, still-fluid vertical rhythm on phones (was floored at 5rem/80px) */
  :root { --section-y: clamp(2.75rem, 1.25rem + 6vw, 4.5rem); }
  /* let long trademarked names wrap instead of overflowing in big headings */
  .trademark { white-space: normal; }
}
@media (max-width: 400px) {
  /* safety: long CTA labels wrap rather than overflow on the smallest phones */
  .btn { white-space: normal; }
}
