/* ============================================================
   Khulani — Shared Prototype Styles (Light theme iteration)

   Same Operator's Study component vocabulary as the dark
   version, applied to a white canvas with mint rationed to
   precision accents. The closing CTA slab and contact booking
   panel remain dark navy — one inverted moment per page, the
   brand's strong throughline.
   ============================================================ */

/* -- Reset -- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; tab-size: 4; }
body {
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: var(--lh-body);
  font-weight: var(--w-regular);
  color: var(--fg-body);
  background: var(--khulani-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100dvh;
}
img, svg, video, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--khulani-mint); color: var(--khulani-navy); }

/* -- Atmospheric base layer: very faint warm navy wash + subtle grain.
   No more mint glows. Both fixed; pointer-events: none. -- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 600px at 92% -8%, rgba(0, 39, 61, 0.045), transparent 60%),
    radial-gradient(700px 500px at -8% 28%, rgba(0, 39, 61, 0.035), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0.15  0 0 0 0 0.24  0 0 0 0.45 0'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
  opacity: 0.035;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
}

.site-wrap > * { position: relative; z-index: 2; }

/* -- Layout primitives -- */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
  width: 100%;
}
.section { padding-block: var(--section-y); position: relative; }
.section--snug { padding-block: clamp(2.5rem, 5vw, 5rem); }

/* -- Warm wash section (subtle differentiation from canvas) -- */
.section--washed {
  background: #FAF8F2;
  border-top: var(--hairline);
  border-bottom: var(--hairline);
}

/* -- Dark inverted section (full-bleed manifesto moment) -- */
.section--dark {
  background: var(--inv-bg);
  color: var(--inv-fg-body);
}
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: var(--inv-fg); }
.section--dark p { color: var(--inv-fg-body); }
.section--dark .muted { color: var(--inv-fg-muted); }
.section--dark .small { color: var(--inv-fg-muted); }
.section--dark .faint { color: rgba(255, 255, 255, 0.35); }

.section--dark .eyebrow {
  border-color: rgba(24, 203, 150, 0.35);
  background: rgba(24, 203, 150, 0.08);
  color: var(--khulani-mint);
}
.section--dark .eyebrow::before {
  background: var(--khulani-mint);
  box-shadow: 0 0 12px rgba(24, 203, 150, 0.7);
}

.section--dark .belief { border-top-color: rgba(255, 255, 255, 0.10); }
.section--dark .belief:last-child { border-bottom-color: rgba(255, 255, 255, 0.10); }
.section--dark .belief__index { color: rgba(255, 255, 255, 0.40); }
.section--dark .belief__quote { color: var(--inv-fg); }
.section--dark .belief__quote em {
  color: var(--inv-fg);
  background: linear-gradient(180deg, transparent 58%, rgba(24, 203, 150, 0.45) 58%, rgba(24, 203, 150, 0.45) 90%, transparent 90%);
}
.section--dark .belief__gloss { color: var(--inv-fg-muted); }

.section--dark .rule,
.section--dark .trust { border-color: rgba(255, 255, 255, 0.10); }

/* -- Hairline rule -- */
.rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--navy-line) 20%, var(--navy-line) 80%, transparent);
  border: 0;
  margin: 0;
}
.rule--short { width: clamp(40px, 8vw, 96px); background: var(--khulani-mint); height: 2px; border-radius: 999px; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 12px 6px 10px;
  border: 1px solid rgba(0, 39, 61, 0.15);
  border-radius: var(--r-full);
  background: rgba(0, 39, 61, 0.035);
  font-size: var(--t-eyebrow);
  font-weight: var(--w-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-eyebrow);
  color: var(--fg-primary);
  white-space: nowrap;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--fg-primary);
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--fg-primary);
  margin: 0 0 var(--space-4);
  font-weight: var(--w-extrabold);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
}

.display {
  font-size: var(--t-display);
  font-weight: var(--w-extrabold);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--fg-primary);
  margin: 0;
  max-width: 18ch;
}

/* Quote-style hero: longer text needs smaller scale + more line breathing */
.display--quote {
  font-size: clamp(2.25rem, 3.8vw + 0.5rem, 4rem);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-snug);
  max-width: 22ch;
}
.display--quote em::after { height: 4px; bottom: -3px; opacity: 0.6; }

/* Two-column split-sentence hero — the magazine-spread layout for
   the thesis quote. Left column carries the setup, right column
   carries the answer, with a generous gap and a top-offset on the
   right column for editorial rhythm. */
.hero__split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
  max-width: none;
}
.hero__split .hero__phrase {
  display: block;
  max-width: 22ch;
  margin: 0;
}
.hero__split .hero__phrase--right {
  /* Big scrollable beat between the two phrases — feels like a deliberate pause */
  margin-top: clamp(6rem, 28vh, 18rem);
}
@media (max-width: 880px) {
  .hero__split { grid-template-columns: 1fr; gap: clamp(4rem, 24vh, 12rem); }
  .hero__split .hero__phrase--right { margin-top: 0; }
}

/* Below the split: the answer block (subhead + CTAs + footnote) — another beat */
.hero__answer {
  margin-top: clamp(6rem, 26vh, 16rem);
  max-width: 60ch;
}
.hero__answer .hero__lead { margin-top: 0; }
.display em {
  font-style: normal;
  color: var(--khulani-mint);
  position: relative;
  white-space: nowrap;
}
.display em::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--khulani-mint), transparent);
  opacity: 0.55;
  border-radius: 999px;
}

h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); letter-spacing: var(--ls-snug); max-width: 22ch; }
h3 { font-size: var(--t-h3); font-weight: var(--w-bold); letter-spacing: 0; }

p { margin: 0 0 var(--space-5); color: var(--fg-body); }
.lead { font-size: var(--t-lead); line-height: var(--lh-relaxed); color: var(--fg-body); max-width: 56ch; }
.body  { font-size: var(--t-body); line-height: var(--lh-body); color: var(--fg-body); max-width: 64ch; }
.small { font-size: var(--t-small); color: var(--fg-muted); }
.muted { color: var(--fg-muted); }
.faint { color: var(--fg-faint); }

/* ============================================================
   NAVIGATION — floating glass pill, detached from top
   ============================================================ */

.nav-shell {
  position: sticky;
  top: var(--space-6);
  z-index: 50;
  padding-inline: var(--container-px);
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  max-width: 1080px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding: 10px 12px 10px 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(0, 39, 61, 0.10);
  border-radius: var(--r-full);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset, 0 10px 30px rgba(0, 39, 61, 0.07);
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: var(--w-extrabold);
  letter-spacing: -0.02em;
  font-size: 1.0625rem;
  color: var(--fg-primary);
}
.nav__mark { display: inline-flex; }
.nav__mark svg { width: 22px; height: 22px; }
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  font-size: 0.875rem;
  font-weight: var(--w-medium);
  color: var(--fg-muted);
  letter-spacing: 0.005em;
  transition: color var(--dur-micro) var(--ease-out);
}
.nav__links a:hover,
.nav__links a[aria-current="page"] {
  color: var(--fg-primary);
}
.nav__links a[aria-current="page"] {
  position: relative;
}
.nav__links a[aria-current="page"]::after {
  content: '';
  display: block;
  width: 12px; height: 2px;
  border-radius: 999px;
  background: var(--khulani-mint);
  margin: 6px auto 0;
}

@media (max-width: 720px) {
  .nav__links li:not(.nav__links--cta) { display: none; }
}

/* ============================================================
   BUTTONS — island pill + button-in-button trailing arrow
   ============================================================ */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px 12px 22px;
  border-radius: var(--r-full);
  font-weight: var(--w-semibold);
  font-size: 0.9375rem;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: transform var(--dur-base) var(--ease-out),
              background var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
  white-space: nowrap;
  will-change: transform;
}
.btn:active { transform: scale(0.985); }

.btn--primary {
  background: var(--khulani-mint);
  color: var(--khulani-navy);
  box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset,
              0 14px 30px rgba(24, 203, 150, 0.32);
}
.btn--primary:hover { background: var(--mint-hover); }
.btn--primary .btn__arrow { background: rgba(0, 39, 61, 0.14); }
.btn--primary:hover .btn__arrow {
  transform: translate(2px, -2px) scale(1.04);
  background: rgba(0, 39, 61, 0.22);
}

.btn--ghost {
  background: rgba(0, 39, 61, 0.03);
  border: 1px solid rgba(0, 39, 61, 0.12);
  color: var(--fg-primary);
  padding: 11px 22px;
}
.btn--ghost:hover { background: rgba(0, 39, 61, 0.06); }

/* Inverted-context buttons (used inside dark slabs) */
.btn--ghost-on-dark {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--inv-fg);
  padding: 11px 22px;
}
.btn--ghost-on-dark:hover { background: rgba(255, 255, 255, 0.10); }

.btn--inline {
  padding: 0;
  background: none;
  color: var(--fg-primary);
  font-weight: var(--w-semibold);
  border-bottom: 1px solid rgba(0, 39, 61, 0.3);
  border-radius: 0;
  padding-bottom: 1px;
}
.btn--inline:hover { color: var(--mint-deep); border-color: var(--mint-deep); }

.btn__arrow {
  width: 28px; height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--dur-base) var(--ease-out),
              background var(--dur-base) var(--ease-out);
}
.btn__arrow svg { width: 12px; height: 12px; }

/* ============================================================
   HERO
   ============================================================ */

.hero {
  padding-top: clamp(5rem, 12vw, 9rem);
  padding-bottom: clamp(4rem, 10vw, 8rem);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.62fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: end;
}
@media (max-width: 880px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__right { display: none; }
}
.hero__eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}
.hero__meta {
  font-size: var(--t-small);
  color: var(--fg-muted);
  letter-spacing: -0.005em;
}
.hero__lead {
  margin-top: var(--space-8);
  font-size: var(--t-lead);
  max-width: 50ch;
  color: var(--fg-body);
}
.hero__ctas {
  margin-top: var(--space-10);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}
.hero__footnote {
  font-size: var(--t-small);
  color: var(--fg-faint);
  margin-top: var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.hero__footnote::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 999px;
  background: var(--khulani-mint);
}

/* Hero right column — portrait frame placeholder */
.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  background:
    linear-gradient(160deg, rgba(0, 39, 61, 0.04), transparent 50%),
    #FCFCF8;
  padding: 8px;
  border: 1px solid var(--navy-line-2);
  box-shadow: var(--shadow-md);
}
.portrait__inner {
  position: relative;
  height: 100%;
  border-radius: calc(var(--r-xl) - 6px);
  background:
    repeating-linear-gradient(135deg, rgba(0, 39, 61, 0.025) 0 2px, transparent 2px 7px),
    radial-gradient(120% 80% at 50% 25%, rgba(0, 39, 61, 0.06), transparent 60%),
    linear-gradient(180deg, #F4F3EE 0%, #EDEBE3 100%);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: var(--space-6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.portrait__placeholder-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--t-eyebrow);
  text-transform: uppercase;
  letter-spacing: var(--ls-eyebrow);
  font-weight: var(--w-semibold);
  color: var(--fg-muted);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--navy-line-2);
  border-radius: var(--r-full);
  padding: 6px 12px;
  backdrop-filter: blur(8px);
}
.portrait__placeholder-label::before {
  content: '';
  width: 6px; height: 6px; border-radius: 999px; background: var(--fg-muted);
}
.portrait__caption {
  position: absolute;
  left: 8px; right: 8px; bottom: 8px;
  padding: 14px 18px;
  border-radius: calc(var(--r-xl) - 12px);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  border: 1px solid var(--navy-line-2);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--t-small);
}
.portrait__caption strong { color: var(--fg-primary); font-weight: var(--w-semibold); }
.portrait__caption span   { color: var(--fg-muted); }

/* ============================================================
   TRUST STRIP
   ============================================================ */

.trust {
  border-top: var(--hairline);
  border-bottom: var(--hairline);
  padding-block: var(--space-8);
}
.trust__row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.trust__label {
  font-size: var(--t-eyebrow);
  text-transform: uppercase;
  letter-spacing: var(--ls-eyebrow);
  font-weight: var(--w-semibold);
  color: var(--fg-muted);
}
.trust__items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  color: var(--fg-primary);
  font-weight: var(--w-semibold);
  font-size: 0.9375rem;
}
.trust__items > * {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.trust__items > *::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 999px;
  background: var(--fg-primary);
}

@media (max-width: 720px) {
  .trust__row { grid-template-columns: 1fr; gap: var(--space-4); }
}

/* ============================================================
   SECTION HEADING BLOCK
   ============================================================ */

.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
@media (max-width: 880px) {
  .sec-head { grid-template-columns: 1fr; }
}
.sec-head__title h2 { margin-bottom: var(--space-3); }
.sec-head__title .eyebrow { margin-bottom: var(--space-5); }
.sec-head__rhs { color: var(--fg-body); }
.sec-head__rhs p { max-width: 48ch; }

/* ============================================================
   STAT TILES
   ============================================================ */

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--navy-line);
  border: 1px solid var(--navy-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
@media (max-width: 720px) { .stats { grid-template-columns: 1fr; } }
.stat {
  background:
    linear-gradient(180deg, #FBFBF6, var(--khulani-white));
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  position: relative;
}
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: var(--w-extrabold);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--fg-primary);
}
.stat__value em {
  font-style: normal;
  color: var(--fg-primary);
  opacity: 0.35;
}
.stat__label {
  font-size: var(--t-small);
  color: var(--fg-muted);
  max-width: 24ch;
}
.stat__meta {
  position: absolute;
  top: var(--space-6); right: var(--space-6);
  font-size: var(--t-eyebrow);
  text-transform: uppercase;
  letter-spacing: var(--ls-eyebrow);
  font-weight: var(--w-semibold);
  color: var(--fg-faint);
}

/* ============================================================
   PROCESS STEPS — sticky number column + content
   ============================================================ */

.process {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}
.process__step {
  display: grid;
  grid-template-columns: clamp(80px, 12vw, 140px) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  padding-block: clamp(2rem, 4vw, 3.5rem);
  border-top: var(--hairline);
}
.process__step:last-child { border-bottom: var(--hairline); }
.process__index {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: var(--w-extrabold);
  line-height: 1;
  color: var(--fg-primary);
  opacity: 0.25;
  letter-spacing: -0.02em;
}
.process__body h3 { margin-bottom: var(--space-3); }
.process__body p { color: var(--fg-body); max-width: 56ch; margin: 0; }
.process__body p + p { margin-top: var(--space-3); }

@media (max-width: 720px) {
  .process__step { grid-template-columns: 1fr; gap: var(--space-3); }
}

/* ============================================================
   BELIEF — pull-quote sequence
   ============================================================ */

.beliefs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.belief {
  display: grid;
  grid-template-columns: clamp(80px, 12vw, 120px) minmax(0, 1fr) auto;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding-block: clamp(2rem, 4vw, 3rem);
  border-top: var(--hairline);
  align-items: baseline;
}
.belief:last-child { border-bottom: var(--hairline); }
.belief__index {
  font-family: var(--font-mono);
  font-size: var(--t-small);
  color: var(--fg-faint);
  letter-spacing: 0.04em;
  align-self: flex-start;
  padding-top: 8px;
}
.belief__quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: var(--w-bold);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-snug);
  color: var(--fg-primary);
  max-width: 28ch;
}
.belief__quote em {
  font-style: normal;
  color: var(--fg-primary);
  font-weight: var(--w-extrabold);
  background: linear-gradient(180deg, transparent 60%, rgba(24, 203, 150, 0.30) 60%, rgba(24, 203, 150, 0.30) 88%, transparent 88%);
  padding: 0 2px;
}
.belief__gloss {
  color: var(--fg-muted);
  font-size: var(--t-small);
  max-width: 28ch;
  text-align: right;
  align-self: flex-end;
  padding-bottom: 6px;
}
@media (max-width: 880px) {
  .belief { grid-template-columns: 1fr; gap: var(--space-3); }
  .belief__gloss { text-align: left; }
}

/* ============================================================
   ICP — Right For You / Not Right For You
   ============================================================ */

.icp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 3vw, 2rem);
}
@media (max-width: 720px) { .icp { grid-template-columns: 1fr; } }
.icp__col {
  background: var(--khulani-white);
  border: 1px solid var(--navy-line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}
.icp__col--no {
  background: var(--navy-deep);
  box-shadow: none;
}
.icp__col--no .icp__list li::before {
  background: rgba(0, 39, 61, 0.06);
  color: var(--fg-muted);
  content: '—';
}
.icp__col h3 {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--t-h3);
  margin-bottom: var(--space-5);
}
.icp__col h3::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--khulani-mint);
  box-shadow: 0 0 0 4px rgba(24, 203, 150, 0.18);
}
.icp__col--no h3::before {
  background: var(--fg-faint);
  box-shadow: none;
}
.icp__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
}
.icp__list li {
  position: relative;
  padding-left: 32px;
  color: var(--fg-body);
  font-size: var(--t-body);
  line-height: var(--lh-relaxed);
}
.icp__list li::before {
  position: absolute;
  left: 0; top: 8px;
  width: 22px; height: 22px;
  border-radius: 999px;
  background: rgba(24, 203, 150, 0.16);
  color: var(--mint-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--w-bold);
  font-size: 12px;
  content: '✓';
}

/* ============================================================
   SURFACE — the service area (Where I'm useful) editorial rows
   ============================================================ */

.surface {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.surface__row {
  display: grid;
  grid-template-columns: clamp(180px, 24vw, 300px) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 3rem);
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
  border-top: var(--hairline);
  align-items: baseline;
}
.surface__row:last-child { border-bottom: var(--hairline); }
.surface__name {
  font-family: var(--font-display);
  font-weight: var(--w-bold);
  font-size: var(--t-h3);
  color: var(--fg-primary);
  letter-spacing: -0.005em;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.surface__name::before {
  content: counter(surface-counter, decimal-leading-zero);
  counter-increment: surface-counter;
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  font-weight: var(--w-semibold);
  letter-spacing: 0.04em;
  color: var(--fg-faint);
  flex: 0 0 auto;
  padding-top: 2px;
}
.surface { counter-reset: surface-counter; }
.surface__desc {
  color: var(--fg-body);
  margin: 0;
  max-width: 62ch;
  line-height: var(--lh-relaxed);
}
@media (max-width: 720px) {
  .surface__row { grid-template-columns: 1fr; gap: var(--space-3); }
}

/* ============================================================
   COMPARE — vs row
   ============================================================ */

.compare {
  display: grid;
  grid-template-columns: 1fr;
  border-top: var(--hairline);
}
.compare__row {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  padding-block: clamp(1.25rem, 3vw, 2rem);
  border-bottom: var(--hairline);
  align-items: baseline;
}
.compare__row:last-child { border-bottom: 0; }
.compare__name {
  font-family: var(--font-display);
  font-weight: var(--w-bold);
  font-size: var(--t-h3);
  letter-spacing: -0.005em;
  color: var(--fg-primary);
}
.compare__name span { color: var(--fg-muted); font-weight: var(--w-medium); font-family: var(--font-body); font-size: var(--t-small); display: block; margin-top: 4px; }
.compare__diff { color: var(--fg-body); }
.compare__diff strong { color: var(--fg-primary); font-weight: var(--w-semibold); }
@media (max-width: 720px) { .compare__row { grid-template-columns: 1fr; } }

/* ============================================================
   CLOSING CTA SLAB — DARK INVERTED ISLAND
   Single dark-navy moment per page. The brand throughline.
   ============================================================ */

.cta-slab {
  margin-top: clamp(2rem, 5vw, 4rem);
  border-radius: var(--r-xl);
  padding: 8px;
  background: linear-gradient(160deg, rgba(24,203,150,0.30), rgba(24,203,150,0.05) 35%, transparent 70%),
              rgba(0, 39, 61, 0.10);
  box-shadow: var(--shadow-lg);
}
.cta-slab__inner {
  position: relative;
  background:
    radial-gradient(700px 400px at 100% 100%, rgba(24,203,150,0.10), transparent 70%),
    linear-gradient(180deg, #0B3148, var(--inv-bg-2));
  border-radius: calc(var(--r-xl) - 6px);
  padding: clamp(2.5rem, 6vw, 5rem);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  color: var(--inv-fg-body);
}
.cta-slab__inner h2 { color: var(--inv-fg); max-width: 16ch; margin-bottom: var(--space-4); }
.cta-slab__inner p { color: var(--inv-fg-body); max-width: 44ch; margin-bottom: var(--space-6); }
.cta-slab__inner .eyebrow {
  border-color: rgba(24, 203, 150, 0.35);
  background: rgba(24, 203, 150, 0.10);
  color: var(--khulani-mint);
}
.cta-slab__inner .eyebrow::before { background: var(--khulani-mint); box-shadow: 0 0 12px rgba(24, 203, 150, 0.7); }
.cta-slab__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: end;
}
@media (max-width: 880px) { .cta-slab__grid { grid-template-columns: 1fr; } }
.cta-slab__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  margin-top: clamp(4rem, 8vw, 8rem);
  padding-block: var(--space-16);
  border-top: var(--hairline);
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-16);
}
@media (max-width: 720px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
.footer__brand { font-family: var(--font-display); font-weight: var(--w-extrabold); letter-spacing: -0.02em; font-size: 1.25rem; color: var(--fg-primary); margin-bottom: var(--space-4); display: inline-flex; gap: 10px; align-items: center; }
.footer__brand svg { width: 20px; height: 20px; }
.footer__pitch { color: var(--fg-muted); max-width: 32ch; font-size: var(--t-small); }
.footer__heading { font-size: var(--t-eyebrow); text-transform: uppercase; letter-spacing: var(--ls-eyebrow); font-weight: var(--w-semibold); color: var(--fg-faint); margin-bottom: var(--space-4); }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.footer__list a { color: var(--fg-body); font-size: var(--t-small); transition: color var(--dur-micro) var(--ease-out); }
.footer__list a:hover { color: var(--fg-primary); }
.footer__rule { border: 0; height: 1px; background: var(--navy-line); margin: 0 0 var(--space-6); }
.footer__base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  color: var(--fg-faint);
  font-size: var(--t-small);
}

/* ============================================================
   ANGLED HEADLINE QUOTE BLOCK
   ============================================================ */

.pullquote {
  position: relative;
  padding: clamp(2rem, 5vw, 4rem) 0;
  border-top: var(--hairline);
  border-bottom: var(--hairline);
}
.pullquote__text {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  font-weight: var(--w-bold);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-snug);
  color: var(--fg-primary);
  max-width: 28ch;
  margin: 0;
}
.pullquote__text em {
  font-style: normal;
  color: var(--fg-primary);
  font-weight: var(--w-extrabold);
  background: linear-gradient(180deg, transparent 60%, rgba(24, 203, 150, 0.30) 60%, rgba(24, 203, 150, 0.30) 88%, transparent 88%);
  padding: 0 2px;
}
.pullquote__attr {
  margin-top: var(--space-5);
  font-size: var(--t-small);
  color: var(--fg-muted);
}

/* ============================================================
   STORY LONG-FORM (About)
   ============================================================ */

.story {
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 720px) { .story { grid-template-columns: 1fr; } }
.story__chapter {
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  text-transform: uppercase;
  letter-spacing: var(--ls-eyebrow);
  font-weight: var(--w-semibold);
  color: var(--fg-primary);
  position: sticky;
  top: 6rem;
}
.story__body p {
  font-size: 1.0625rem;
  line-height: 1.8;
  max-width: 62ch;
  color: var(--fg-body);
}
.story__body p + p { margin-top: var(--space-4); }
.story__body h3 { margin-top: var(--space-10); margin-bottom: var(--space-3); }

/* ============================================================
   BOOKING PANEL (Contact) — DARK INVERTED ISLAND
   ============================================================ */

.booking {
  background:
    radial-gradient(800px 500px at 0% 0%, rgba(24, 203, 150, 0.10), transparent 70%),
    linear-gradient(180deg, #0B3148, var(--inv-bg-2));
  border: 1px solid rgba(0, 39, 61, 0.10);
  border-radius: var(--r-xl);
  padding: clamp(2rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  color: var(--inv-fg-body);
  box-shadow: var(--shadow-lg);
}
@media (max-width: 720px) { .booking { grid-template-columns: 1fr; } }
.booking h2 { color: var(--inv-fg); margin-bottom: var(--space-5); max-width: 14ch; }
.booking p { color: var(--inv-fg-body); }
.booking .eyebrow {
  border-color: rgba(24, 203, 150, 0.35);
  background: rgba(24, 203, 150, 0.10);
  color: var(--khulani-mint);
}
.booking .eyebrow::before { background: var(--khulani-mint); box-shadow: 0 0 12px rgba(24, 203, 150, 0.7); }
.booking__lhs p.muted { color: var(--inv-fg-muted); }
.booking__contact {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-lg);
  padding: var(--space-6);
  display: grid;
  gap: var(--space-5);
}
.booking__line {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-4);
  align-items: baseline;
}
.booking__line__label {
  font-size: var(--t-eyebrow);
  text-transform: uppercase;
  letter-spacing: var(--ls-eyebrow);
  font-weight: var(--w-semibold);
  color: var(--inv-fg-muted);
}
.booking__line__value {
  color: var(--inv-fg);
  font-weight: var(--w-semibold);
  font-size: 1.0625rem;
}
.booking__line__value a { border-bottom: 1px dashed rgba(24, 203, 150, 0.45); color: var(--khulani-mint); }
.booking__line__value a:hover { color: var(--mint-hover); border-color: var(--mint-hover); }

/* Hero footnote variant inside the booking dark panel */
.booking__lhs .hero__footnote { color: var(--inv-fg-muted); }
.booking__lhs .hero__footnote::before { background: var(--khulani-mint); }

/* ============================================================
   MOTION — IntersectionObserver reveal
   ============================================================ */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(4px);
  transition: opacity var(--dur-stage) var(--ease-out),
              transform var(--dur-stage) var(--ease-out),
              filter   var(--dur-stage) var(--ease-out);
  will-change: transform, opacity, filter;
}
[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
[data-reveal-delay="1"] { transition-delay: 80ms; }
[data-reveal-delay="2"] { transition-delay: 160ms; }
[data-reveal-delay="3"] { transition-delay: 240ms; }
[data-reveal-delay="4"] { transition-delay: 320ms; }
[data-reveal-delay="5"] { transition-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; filter: none; }
}

/* ============================================================
   UTILITY
   ============================================================ */

.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.items-center { align-items: center; }
.mt-8  { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mt-16 { margin-top: var(--space-16); }
.text-mint { color: var(--khulani-mint); }
.text-white { color: var(--fg-primary); }
