/* ==========================================================================
   PERIYAR INNOVATION PARK — landing page
   Think TN Foundation, under AITN · v1.0
   Single-theme dark, deliberately. Every colour painted explicitly from a
   token, so the page holds on any host background rather than borrowing one.
   ========================================================================== */

/* --------------------------------------------------------------------------
   00 · TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Ground and structure */
  --pit:        #07080A;   /* the ground — deeper than AITN's #0A0A0D      */
  --surface:    #111419;   /* panels, the one card on the page             */
  --surface-2:  #0C0E12;   /* inset wells                                  */
  --steel:      #2A3038;   /* hairlines, rules, the map's landmass         */
  --steel-2:    #1A1F26;   /* quieter hairline                             */

  /* Accents. The heat lives in the photography, never in the palette. */
  --mayil:      #4FB3BC;   /* primary accent · links · the map corridor    */
  --mayil-dim:  #2E6E75;
  --manjal:     #E3B75C;   /* rules · the annotation hairline              */
  --indigo:     #8E9BC4;   /* secondary structure, held in reserve         */

  /* Foreground */
  --fg:         #F2EEE4;   /* headlines and body                           */
  --fg-2:       #9AA3B0;   /* captions                              7.9:1  */
  --fg-3:       #5C6672;   /* decorative marks only — 3.4:1, never body    */
  --fg-thesis:  #706F6C;   /* the two-tone device's second line     4.0:1  */

  /* The certainty ramp.
     Opacity is a design token here, not a styling accident — but text is
     dimmed by COLOUR, never by opacity, so every row still clears AA on
     --pit. 22% of --fg on --pit does not, and these rows carry Phase 2
     and Phase 3, which people will actually read.                        */
  --cert-0:     #F2EEE4;   /* Phase 0 · now                       17.0:1   */
  --cert-1:     #B9C0C9;   /* Phase 1                             11.0:1   */
  --cert-2:     #8A939F;   /* Phase 2                              6.3:1   */
  --cert-3:     #6E7783;   /* Phase 3 · horizon                    4.5:1   */

  /* Type */
  --sans:  "Anek Latin", "Anek Tamil", "Helvetica Neue", Arial, sans-serif;
  --tamil: "Anek Tamil", "Anek Latin", sans-serif;
  --mono:  "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --hand:  "Caveat", "Segoe Script", cursive;

  --t-hero:      clamp(42px, 7.9vw, 118px);
  --t-statement: clamp(30px, 5.2vw, 72px);
  --t-h3:        clamp(20px, 2.6vw, 30px);
  --t-stat:      clamp(38px, 6.6vw, 96px);
  --t-body:      clamp(16.5px, 1.15vw, 19px);
  --t-caption:   12.5px;
  --t-tag:       11px;   /* eyebrows, small caps labels                 */

  /* Rhythm — a page with this much confidence does not crowd. */
  --pad-x:  clamp(22px, 8vw, 168px);
  --pad-r:  clamp(22px, 5vw, 96px);
  --rail:   0px;
  --sp-sec: clamp(104px, 15vh, 190px);
  --sp-sil: clamp(150px, 28vh, 320px);
  --measure: 62ch;

  --ease:     cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  color-scheme: dark;
}

@media (min-width: 1120px) { :root { --rail: 72px; } }

/* --------------------------------------------------------------------------
   01 · RESET AND BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--pit);
  color: var(--fg);
  font-family: var(--sans);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-variant-numeric: tabular-nums;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--mayil); text-decoration: none; }
p { margin: 0 0 1.15em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul { margin: 0; padding: 0; list-style: none; }
blockquote { margin: 0; }

::selection { background: var(--mayil); color: var(--pit); }

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--fg); color: var(--pit); padding: 12px 18px;
  font: 500 12px/1 var(--mono); letter-spacing: .06em;
}
.skip:focus { left: 12px; top: 12px; }

.vh {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* Film grain — texture, fixed, never interactive. */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 60; pointer-events: none;
  opacity: .05;
  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='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='160' height='160' filter='url(%23n)' opacity='.55'/></svg>");
  background-size: 160px 160px;
  mix-blend-mode: overlay;
}

/* --------------------------------------------------------------------------
   02 · TYPE PRIMITIVES
   -------------------------------------------------------------------------- */
.hero-type {
  font-weight: 200;
  font-size: var(--t-hero);
  line-height: 1.02;
  letter-spacing: -.035em;
}
.statement {
  font-weight: 250;
  font-size: var(--t-statement);
  line-height: 1.10;
  letter-spacing: -.028em;
  max-width: 20ch;
}
.statement--wide { max-width: 26ch; }
.h3 { font-weight: 400; font-size: var(--t-h3); line-height: 1.25; letter-spacing: -.015em; }

.eyebrow {
  font: 500 var(--t-tag)/1 var(--mono);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fg-2);
  margin: 0 0 clamp(18px, 2.4vw, 30px);
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before {
  content: ""; width: clamp(16px, 3vw, 38px); height: 1px;
  background: var(--steel); flex: none;
}
.eyebrow--mayil { color: var(--mayil); }
.eyebrow--mayil::before { background: var(--mayil-dim); }

.caption { font: 400 var(--t-caption)/1.5 var(--mono); letter-spacing: .04em; color: var(--fg-2); }
.mono { font-family: var(--mono); font-weight: 400; }
.ta { font-family: var(--tamil); line-height: 1.65; }

/* --------------------------------------------------------------------------
   03 · LAYOUT
   -------------------------------------------------------------------------- */
.wrap { padding-left: calc(var(--pad-x) + var(--rail)); padding-right: var(--pad-r); }
section { position: relative; }
.sec { padding-top: var(--sp-sec); padding-bottom: var(--sp-sec); }
.sec--silence { padding-top: var(--sp-sil); padding-bottom: var(--sp-sil); }

.rule { height: 1px; background: var(--steel); border: 0; margin: 0; }

/* --------------------------------------------------------------------------
   04 · CHROME · wordmark, rail, sticky CTA, progress
   -------------------------------------------------------------------------- */
.wordmark {
  position: fixed;
  top: clamp(18px, 3vh, 34px);
  left: calc(var(--pad-x) + var(--rail));
  z-index: 70;
  font: 400 12px/1 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--fg);
  mix-blend-mode: difference;
}

.sticky-cta {
  position: fixed;
  top: clamp(14px, 2.6vh, 28px);
  right: var(--pad-r);
  z-index: 80;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.sticky-cta.is-on { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 520px) { .sticky-cta { display: none; } }

.progress { position: fixed; top: 0; left: 0; z-index: 90; height: 1px; width: 100%; }
.progress i { display: block; height: 100%; width: 0%; background: var(--mayil); }

/* The evidence rail — a hairline index down the left gutter.
   The page reads like an engineering document, because it is one. */
.rail {
  position: fixed;
  left: var(--pad-x); top: 0; bottom: 0;
  width: var(--rail);
  z-index: 55; display: none; pointer-events: none;
}
.rail::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 1px; background: var(--steel-2);
}
.rail-mark {
  position: absolute; left: 13px; top: 50%;
  transform: translateY(-50%);
}
.rail-num {
  font: 400 11px/1.2 var(--mono);
  letter-spacing: .1em;
  color: var(--cert-3);
  white-space: nowrap;          /* 09 / 12 is one unit, never two lines */
}
.rail-num b { color: var(--fg); font-weight: 400; }
.rail-title {
  font: 400 10px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase;
  color: var(--cert-3); writing-mode: vertical-rl;
  position: absolute; left: 13px; top: calc(50% + 20px);
  max-height: 30vh; overflow: hidden;
}
@media (min-width: 1120px) { .rail { display: block; } }

/* --------------------------------------------------------------------------
   05 · BUTTONS — understated, and they survive at any breakpoint
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  min-height: 44px;
  padding: 11px 20px;
  border-radius: 999px;
  font: 500 13px/1 var(--mono);
  letter-spacing: .02em;
  background: var(--fg);
  color: var(--pit);
  border: 1px solid var(--fg);
  transition: background .3s var(--ease), color .3s var(--ease),
              border-color .3s var(--ease);
}
.btn .chev { font-family: var(--sans); font-size: 15px; line-height: 1; transition: transform .3s var(--ease-out); }
.btn:hover { background: var(--mayil); border-color: var(--mayil); color: var(--pit); }
.btn:hover .chev { transform: translateX(4px); }

.btn--ghost { background: transparent; color: var(--fg); border-color: var(--steel); }
.btn--ghost:hover { background: transparent; border-color: var(--mayil); color: var(--mayil); }
.btn--sm { min-height: 42px; padding: 10px 17px; font-size: 12px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* --------------------------------------------------------------------------
   06 · HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero__canvas { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; }

/* Scrim — text on photography sits on a scrim, never on raw image. */
.hero__scrim {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(to top, var(--pit) 0%, rgba(7,8,10,.90) 22%, rgba(7,8,10,.26) 60%, rgba(7,8,10,.50) 100%),
    radial-gradient(96% 86% at 6% 74%, rgba(7,8,10,.95) 0%, rgba(7,8,10,.55) 46%, rgba(7,8,10,0) 72%);
}
.hero__vignette {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  box-shadow: inset 0 0 clamp(90px, 18vw, 280px) clamp(30px, 6vw, 90px) var(--pit);
}
.hero__inner {
  position: relative;
  padding-bottom: clamp(44px, 7vh, 84px);
  padding-top: clamp(96px, 13vh, 144px);
}
.hero__kicker {
  font: 400 var(--t-caption)/1.5 var(--mono);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--mayil);
  margin-bottom: clamp(18px, 2.6vh, 30px);
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.hero__kicker s { text-decoration: none; color: var(--fg-2); }
.hero h1 { margin: 0 0 clamp(18px, 2.4vw, 28px); }
.hero__sub {
  font-size: clamp(18px, 1.95vw, 28px);
  font-weight: 300; line-height: 1.26; letter-spacing: -.018em;
  color: var(--fg); max-width: 26ch;
  margin: 0 0 clamp(20px, 2.6vw, 30px);
}
.hero__meta {
  font: 400 var(--t-caption)/1.7 var(--mono); letter-spacing: .04em;
  color: var(--fg-2); margin: 0 0 clamp(24px, 3.2vw, 36px); max-width: 60ch;
}
.hero__meta b { color: var(--fg); font-weight: 400; }

/* The credibility strip — Terafab's device, made factual. */
.strip {
  margin-top: clamp(32px, 4.6vh, 58px);
  padding-top: 18px;
  border-top: 1px solid var(--steel-2);
  display: flex; flex-wrap: wrap;
  gap: clamp(20px, 4vw, 60px); align-items: baseline;
}
.strip__item { font: 400 var(--t-caption)/1.45 var(--mono); letter-spacing: .04em; color: var(--fg-2); }
.strip__item b {
  display: block; font-weight: 400; color: var(--fg);
  font-size: 15px; letter-spacing: .01em; margin-bottom: 4px;
}

.scrollcue {
  position: absolute; right: var(--pad-r); bottom: clamp(52px, 9vh, 104px);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font: 400 10px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase;
  color: var(--fg-2); writing-mode: vertical-rl;
}
.scrollcue i {
  display: block; width: 1px; height: 56px;
  background: linear-gradient(to bottom, var(--steel) 0%, var(--mayil) 50%, var(--steel) 100%);
  background-size: 100% 220%;
  animation: cue 2.6s var(--ease) infinite;
}
@keyframes cue { from { background-position: 0 -110%; } to { background-position: 0 110%; } }
@media (max-width: 760px) { .scrollcue { display: none; } }

/* --------------------------------------------------------------------------
   07 · THESIS — the two-tone device
   -------------------------------------------------------------------------- */
.thesis h2 { margin-bottom: clamp(34px, 5vw, 62px); max-width: 17ch; }
.thesis .l2 { display: block; color: var(--fg-thesis); }
.thesis__note {
  max-width: 46ch; color: var(--fg-2);
  font-size: clamp(16px, 1.35vw, 20px); line-height: 1.6;
}
.thesis__note b { color: var(--fg); font-weight: 400; }

/* --------------------------------------------------------------------------
   08 · YOU ARE HERE — the map
   -------------------------------------------------------------------------- */
.map { display: grid; grid-template-columns: 1fr; gap: clamp(44px, 6vw, 88px); align-items: center; }
@media (min-width: 940px) { .map { grid-template-columns: .92fr 1.08fr; } }

.map__fig { position: relative; width: 100%; max-width: 560px; margin-inline: 0 auto; }
@media (max-width: 939px) { .map__fig { margin-inline: auto; max-width: 420px; } }
.map__svg { width: 100%; height: auto; overflow: visible; }
.map__land { fill: #11161E; stroke: #3A424C; stroke-width: 1.2; stroke-linejoin: round; }
.map__corridor {
  fill: none; stroke: var(--mayil); stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.map__glow { fill: none; stroke: var(--mayil); stroke-width: 5; opacity: .12; stroke-linecap: round; }
.map__node { fill: var(--fg-2); }
.map__node--salem { fill: var(--manjal); }
.map__label { font: 400 9.5px/1 var(--mono); letter-spacing: .1em; fill: var(--fg-2); text-transform: uppercase; }
.map__label--salem { fill: var(--fg); letter-spacing: .16em; }
.map__hair { stroke: var(--manjal); stroke-width: 1; fill: none; }
.map__hand { font-family: var(--hand); font-size: 17px; fill: var(--manjal); }
.map__ring { fill: none; stroke: var(--manjal); stroke-width: 1; }

.map__body h2 { margin-bottom: clamp(26px, 3.4vw, 42px); }
.map__stats { border-top: 1px solid var(--steel); }
.map__stats li {
  display: flex; gap: 20px; align-items: baseline;
  padding: 15px 0; border-bottom: 1px solid var(--steel-2);
}
.map__stats b { font: 400 15px/1.3 var(--mono); color: var(--fg); min-width: 94px; letter-spacing: .01em; }
.map__stats span { color: var(--fg-2); font-size: 15.5px; }
.reach { margin-top: 28px; color: var(--fg-2); font-size: 15.5px; line-height: 1.75; max-width: 50ch; }
.reach b { color: var(--fg); font-weight: 400; }

/* --------------------------------------------------------------------------
   09 · STAT BLOCKS
   -------------------------------------------------------------------------- */
/* Stacked, not tiled. The numerals get the room they deserve, and the row
   rhythm is the same rhythm as every other ladder on the page. */
.stats { border-top: 1px solid var(--steel); }
.stat {
  display: grid; grid-template-columns: 1fr; gap: 12px;
  padding: clamp(26px, 3.2vw, 42px) 0 clamp(28px, 3.4vw, 44px);
  border-bottom: 1px solid var(--steel-2);
  transition: border-color .4s var(--ease);
}
.stat:hover { border-bottom-color: var(--steel); }
@media (min-width: 820px) {
  .stat {
    grid-template-columns: clamp(300px, 44%, 620px) 1fr;
    gap: clamp(24px, 4vw, 64px);
    align-items: baseline;
  }
}
.stat__n {
  font: 400 var(--t-stat)/1 var(--mono);
  letter-spacing: -.025em; color: var(--fg);
  display: block; white-space: nowrap;
}
.stat__n--sm { font-size: calc(var(--t-stat) * .82); }
.stat__n em { font-style: normal; font-size: .40em; letter-spacing: .02em; margin-left: .16em; color: var(--fg-2); }
.stat__c {
  font: 400 14px/1.65 var(--mono); letter-spacing: .04em;
  color: var(--fg-2); max-width: 42ch; margin: 0;
}

/* The inset well — the asset nobody has noticed. */
.well {
  margin-top: clamp(44px, 6vw, 78px);
  background: var(--surface-2);
  border: 1px solid var(--steel-2);
  border-left: 2px solid var(--mayil-dim);
  padding: clamp(24px, 3vw, 40px) clamp(22px, 3vw, 42px);
  max-width: 82ch;
}
.well p { margin: 0; font-size: 15.5px; line-height: 1.75; color: var(--fg-2); }
.well p + p { margin-top: 13px; }
.well b { color: var(--fg); font-weight: 400; }

/* --------------------------------------------------------------------------
   10 · LADDER ROWS — what it is
   -------------------------------------------------------------------------- */
.ladder { border-top: 1px solid var(--steel); }
.ladder li {
  display: grid; grid-template-columns: 1fr; gap: 9px;
  padding: clamp(24px, 3vw, 36px) 0;
  border-bottom: 1px solid var(--steel-2);
  transition: border-color .4s var(--ease);
}
@media (min-width: 860px) {
  .ladder li { grid-template-columns: minmax(215px, 27%) 1fr; gap: clamp(24px, 4vw, 66px); align-items: baseline; }
}
.ladder li:hover { border-bottom-color: var(--steel); }
.ladder__k { font: 400 16px/1.35 var(--mono); color: var(--fg); display: flex; gap: 14px; }
.ladder__k i { font-style: normal; color: var(--cert-3); font-size: 11px; letter-spacing: .1em; padding-top: 4px; }
.ladder__v { color: var(--fg-2); font-size: 16.5px; line-height: 1.65; max-width: 58ch; }
.ladder__v b { color: var(--fg); font-weight: 400; }

/* --------------------------------------------------------------------------
   11 · PHASES — the one orchestrated moment
   Rows reveal in sequence and settle at their assigned certainty, so the
   reader watches certainty fade into horizon.
   -------------------------------------------------------------------------- */
.phases { position: relative; }
.phases__track { position: relative; }
.phases__stick {
  position: sticky; top: 0;
  height: 100svh; min-height: 600px;
  display: flex; align-items: center;
  overflow: hidden;
}
.phases__plan {
  position: absolute; top: 50%; right: 0;
  transform: translateY(-50%);
  width: min(30vw, 380px);
  pointer-events: none; z-index: 0;
}
/* Below the desktop breakpoint the plan would sit under the ladder text.
   The certainty ramp carries the meaning on its own, so the plan stands down. */
@media (max-width: 939px) { .phases__plan { display: none; } }
.phases__inner { position: relative; z-index: 1; width: 100%; }
.phases h2 { margin-bottom: clamp(26px, 3.6vw, 46px); }

.plad { border-top: 1px solid var(--steel); max-width: min(760px, 56vw); }
@media (max-width: 939px) { .plad { max-width: 100%; } }
.phases h2, .plad__note { max-width: min(760px, 56vw); }
@media (max-width: 939px) { .phases h2, .plad__note { max-width: 20ch; } }
.plad__row {
  position: relative;
  display: grid; grid-template-columns: 1fr; gap: 4px 18px;
  padding: clamp(13px, 1.9vh, 22px) 0;
  border-bottom: 1px solid var(--steel-2);
  transition: border-color .5s var(--ease);
}
/* Small screens: name on its own line, years and capital paired, built last. */
@media (max-width: 719px) {
  .plad__row { grid-template-columns: 1fr auto; gap: 3px 14px; }
  .plad__name  { grid-column: 1 / -1; margin-bottom: 4px; }
  .plad__cap   { text-align: right; }
  .plad__built { grid-column: 1 / -1; margin-top: 2px; }
}
@media (min-width: 720px) {
  .plad__row {
    grid-template-columns: minmax(190px, 1.5fr) 86px minmax(120px, 1.05fr) minmax(150px, 1.5fr);
    align-items: baseline;
  }
}
.plad__name {
  font: 400 clamp(15px, 1.35vw, 18px)/1.35 var(--mono);
  color: var(--cert-3);
  transition: color .55s var(--ease);
  display: flex; gap: 12px; align-items: baseline;
}
.plad__name i { font-style: normal; font-size: 11px; letter-spacing: .1em; opacity: .75; }
.plad__yr, .plad__cap, .plad__built {
  font: 400 clamp(12.5px, 1.05vw, 14.5px)/1.5 var(--mono);
  letter-spacing: .03em; color: var(--cert-3);
  transition: color .55s var(--ease);
}

/* Certainty by colour token, never by opacity. */
.plad__row[data-cert="0"] .plad__name { color: var(--cert-0); }
.plad__row[data-cert="0"] .plad__yr,
.plad__row[data-cert="0"] .plad__cap,
.plad__row[data-cert="0"] .plad__built { color: var(--cert-1); }
.plad__row[data-cert="1"] .plad__name { color: var(--cert-1); }
.plad__row[data-cert="1"] .plad__yr,
.plad__row[data-cert="1"] .plad__cap,
.plad__row[data-cert="1"] .plad__built { color: var(--cert-2); }
.plad__row[data-cert="2"] .plad__name,
.plad__row[data-cert="2"] .plad__yr,
.plad__row[data-cert="2"] .plad__cap,
.plad__row[data-cert="2"] .plad__built { color: var(--cert-2); }
.plad__row[data-cert="3"] .plad__name,
.plad__row[data-cert="3"] .plad__yr,
.plad__row[data-cert="3"] .plad__cap,
.plad__row[data-cert="3"] .plad__built { color: var(--cert-3); }

.plad__row.is-active { border-bottom-color: var(--steel); }
.plad__row.is-active .plad__name { color: var(--fg); }
.plad__row.is-active .plad__yr,
.plad__row.is-active .plad__cap,
.plad__row.is-active .plad__built { color: var(--cert-1); }
.plad__row::after {
  content: ""; position: absolute;
  left: calc(-1 * clamp(13px, 1.8vw, 24px)); top: clamp(20px, 2.6vh, 30px);
  width: 3px; height: 3px; border-radius: 50%; background: var(--mayil);
  opacity: 0; transition: opacity .5s var(--ease);
}
.plad__row.is-active::after { opacity: 1; }

.plad__note {
  margin-top: clamp(26px, 3.4vw, 44px);
  max-width: 54ch;
  font-size: clamp(17px, 1.5vw, 23px);
  font-weight: 300; line-height: 1.45; letter-spacing: -.012em;
  color: var(--fg);
}
.plad__note s { text-decoration: none; color: var(--fg-2); }

/* Site plan — the honest diagram: nothing → one → density → district */
.plan__bound { fill: none; stroke: var(--steel); stroke-width: 1; stroke-dasharray: 4 7; }
.plan__grid  { stroke: var(--steel-2); stroke-width: 1; }
.plan__blk {
  fill: none; stroke: var(--cert-3); stroke-width: 1;
  opacity: 0;
  transition: opacity .8s var(--ease), stroke .8s var(--ease), fill .8s var(--ease);
}
.plan__blk.on { opacity: 1; }
.plan__blk.hot { stroke: var(--mayil); fill: rgba(79,179,188,.10); }
.plan__cap {
  font: 400 9.5px/1 var(--mono); letter-spacing: .16em;
  fill: var(--fg-2); text-transform: uppercase;
}
.plan__note { font: 400 9.5px/1 var(--mono); letter-spacing: .1em; fill: var(--cert-3); }

/* --------------------------------------------------------------------------
   12 · ANCHOR OFFER
   -------------------------------------------------------------------------- */
/* Six items. Two clean rows of three on desktop, two of two on tablet.
   The column count is fixed at each breakpoint so the rules never orphan. */
.offer__grid {
  display: grid; grid-template-columns: 1fr;
  border-top: 1px solid var(--steel);
  margin-bottom: clamp(38px, 5vw, 62px);
}
.offer__item {
  position: relative;
  padding: clamp(24px, 2.8vw, 36px) clamp(22px, 2.4vw, 32px) clamp(26px, 3vw, 40px) 0;
  border-bottom: 1px solid var(--steel-2);
}
.offer__item::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px;
  background: var(--steel-2); display: none;
}
@media (min-width: 660px) {
  .offer__grid { grid-template-columns: repeat(2, 1fr); }
  .offer__item { padding-left: clamp(22px, 2.4vw, 32px); }
  .offer__item::before { display: block; }
  .offer__item:nth-child(2n+1) { padding-left: 0; }
  .offer__item:nth-child(2n+1)::before { display: none; }
}
@media (min-width: 1040px) {
  .offer__grid { grid-template-columns: repeat(3, 1fr); }
  .offer__item:nth-child(2n+1) { padding-left: clamp(22px, 2.4vw, 32px); }
  .offer__item:nth-child(2n+1)::before { display: block; }
  .offer__item:nth-child(3n+1) { padding-left: 0; }
  .offer__item:nth-child(3n+1)::before { display: none; }
}
.offer__n { font: 400 11px/1 var(--mono); letter-spacing: .12em; color: var(--mayil); display: block; margin-bottom: 17px; }
.offer__t {
  font-size: clamp(17px, 1.6vw, 21px); font-weight: 300;
  letter-spacing: -.012em; line-height: 1.3; color: var(--fg); margin-bottom: 9px;
}
.offer__d { font: 400 12.5px/1.6 var(--mono); letter-spacing: .03em; color: var(--fg-2); }

.ask-back { max-width: 58ch; color: var(--fg-2); font-size: 16.5px; line-height: 1.7; margin-bottom: clamp(28px, 3.4vw, 42px); }
.ask-back b { color: var(--fg); font-weight: 400; }
.ask-back .caption { display: block; margin-top: 16px; max-width: 62ch; }

/* --------------------------------------------------------------------------
   13 · THE CREDIT POINT
   -------------------------------------------------------------------------- */
.credit__grid { display: grid; gap: clamp(34px, 5vw, 76px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) { .credit__grid { grid-template-columns: 1.06fr 1fr; } }
.credit h2 { margin-bottom: clamp(24px, 3vw, 36px); }
.credit__fig { border: 1px solid var(--steel-2); background: var(--surface-2); padding: clamp(26px, 3.2vw, 42px); }
.credit__num { font: 400 clamp(30px, 4.2vw, 54px)/1 var(--mono); letter-spacing: -.02em; color: var(--mayil); display: block; margin-bottom: 13px; }
.credit__numc { font: 400 12.5px/1.55 var(--mono); letter-spacing: .04em; color: var(--fg-2); }
.credit__list { margin-top: 28px; border-top: 1px solid var(--steel-2); }
.credit__list li {
  padding: 11px 0; border-bottom: 1px solid var(--steel-2);
  font: 400 13px/1.45 var(--mono); letter-spacing: .03em; color: var(--fg-2);
  display: flex; gap: 12px;
}
.credit__list li::before { content: "+"; color: var(--mayil); flex: none; }
.credit__rule {
  margin-top: clamp(24px, 3vw, 36px); padding-top: clamp(20px, 2.6vw, 30px);
  border-top: 1px solid var(--steel);
  color: var(--fg); font-size: 17.5px; line-height: 1.6; max-width: 52ch;
}
.credit__src { margin-top: 18px; color: var(--fg-2); font-size: 14px; font-style: italic; }

/* --------------------------------------------------------------------------
   14 · THE HONEST PAGE — the only card on the page
   -------------------------------------------------------------------------- */
.honest__card {
  background: var(--surface); border: 1px solid var(--steel);
  padding: clamp(28px, 4.6vw, 70px);
}
.honest h2 { margin-bottom: clamp(30px, 4vw, 52px); }
.honest__list { border-top: 1px solid var(--steel); }
.honest__item {
  padding: clamp(24px, 3vw, 36px) 0; border-bottom: 1px solid var(--steel-2);
  display: grid; grid-template-columns: 1fr; gap: 11px;
}
@media (min-width: 880px) {
  .honest__item { grid-template-columns: minmax(205px, 28%) 1fr; gap: clamp(24px, 4vw, 62px); }
}
.honest__k { font: 400 clamp(16px, 1.5vw, 19px)/1.35 var(--mono); color: var(--fg); display: flex; gap: 13px; align-items: baseline; }
.honest__k em { font-style: normal; color: var(--manjal); font-size: 13px; flex: none; }
.honest__v { color: var(--fg-2); font-size: 16.5px; line-height: 1.7; max-width: 60ch; }
.honest__v b { color: var(--fg); font-weight: 400; }

.scen { margin-top: clamp(34px, 4.4vw, 56px); max-width: 760px; }
.scen__h { font: 500 var(--t-tag)/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--fg-2); margin-bottom: 24px; }
.scen__row { display: grid; grid-template-columns: 152px 1fr 84px; gap: 18px; align-items: center; padding: 10px 0; }
.scen__lab { font: 400 12.5px/1.3 var(--mono); letter-spacing: .05em; color: var(--fg-2); }
.scen__bar { height: 4px; background: var(--steel-2); position: relative; overflow: hidden; }
.scen__bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--cert-2); transition: width 1.1s var(--ease-out); }
.scen__row[data-s="base"] .scen__bar i { background: var(--mayil); }
.scen__row[data-s="tr"] .scen__bar i { background: var(--cert-3); }
.scen__val { font: 400 14px/1 var(--mono); letter-spacing: .03em; color: var(--fg); text-align: right; }
.scen__note { margin-top: 20px; color: var(--fg-2); font-size: 15.5px; max-width: 58ch; line-height: 1.7; }
.scen__note b { color: var(--fg); font-weight: 400; }

/* --------------------------------------------------------------------------
   15 · THE NAME
   -------------------------------------------------------------------------- */
.name__quote {
  border-left: 1px solid var(--manjal);
  padding-left: clamp(20px, 3vw, 42px);
  margin: clamp(30px, 4vw, 52px) 0 clamp(34px, 4.6vw, 60px);
  max-width: 780px;
}
.name__quote p {
  font-size: clamp(21px, 2.7vw, 34px); font-weight: 250;
  line-height: 1.3; letter-spacing: -.02em; color: var(--fg);
  margin: 0 0 20px; max-width: 15em;
}
.name__quote cite { font: 400 12.5px/1.55 var(--mono); letter-spacing: .05em; color: var(--fg-2); font-style: normal; display: block; }
.name__body { max-width: 60ch; color: var(--fg-2); font-size: 17px; line-height: 1.75; }
.name__body b { color: var(--fg); font-weight: 400; }
.name__punch {
  margin-top: clamp(34px, 4.4vw, 58px); padding-top: clamp(26px, 3.2vw, 42px);
  border-top: 1px solid var(--steel);
  font-size: clamp(21px, 2.9vw, 40px); font-weight: 250;
  line-height: 1.22; letter-spacing: -.026em; color: var(--fg); max-width: 22ch;
}

/* --------------------------------------------------------------------------
   16 · THE ASK
   -------------------------------------------------------------------------- */
.ask__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); border-top: 1px solid var(--steel); }
.ask__col {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(28px, 3.4vw, 46px) clamp(22px, 2.6vw, 36px) clamp(32px, 4vw, 54px) 0;
  border-bottom: 1px solid var(--steel-2);
}
@media (min-width: 860px) {
  .ask__col + .ask__col { padding-left: clamp(22px, 2.6vw, 36px); }
  .ask__col + .ask__col::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--steel-2);
  }
}
.ask__to { font: 500 var(--t-tag)/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); margin-bottom: 19px; }
.ask__h { font-size: clamp(22px, 2.3vw, 31px); font-weight: 250; letter-spacing: -.02em; line-height: 1.18; color: var(--fg); margin-bottom: 13px; }
.ask__d { color: var(--fg-2); font-size: 15.5px; line-height: 1.65; margin-bottom: 28px; flex: 1; }
.ask__col .btn { align-self: flex-start; }

/* --------------------------------------------------------------------------
   17 · FOOTER
   -------------------------------------------------------------------------- */
.foot {
  position: relative;
  padding-top: clamp(48px, 6vw, 86px);
  padding-bottom: clamp(40px, 5vw, 66px);
}
/* The rule is inset to the content column, like every other rule here. */
.foot::before {
  content: ""; position: absolute; top: 0;
  left: calc(var(--pad-x) + var(--rail)); right: var(--pad-r);
  height: 1px; background: var(--steel);
}
.foot__top { display: grid; gap: clamp(30px, 4vw, 66px); grid-template-columns: 1fr; margin-bottom: clamp(44px, 5.5vw, 78px); }
@media (min-width: 920px) { .foot__top { grid-template-columns: 1.3fr 1fr; } }
.foot__about { max-width: 56ch; color: var(--fg-2); font-size: 15.5px; line-height: 1.75; }
.foot__about b { color: var(--fg); font-weight: 400; }

/* The page's most valuable sentence, restated where the reader leaves. */
.foot__standing {
  max-width: 34ch; margin: 0;
  font-size: clamp(17px, 1.5vw, 21px); font-weight: 300;
  line-height: 1.45; letter-spacing: -.012em;
  color: var(--fg-2);
  padding-left: clamp(0px, 2vw, 28px);
  border-left: 1px solid var(--steel);
}
.foot__standing b { color: var(--fg); font-weight: 400; }
@media (max-width: 919px) { .foot__standing { border-left: 0; padding-left: 0; padding-top: 22px; border-top: 1px solid var(--steel); max-width: 46ch; } }
.foot__bot {
  display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: baseline; justify-content: space-between;
  padding-top: clamp(24px, 3vw, 38px); border-top: 1px solid var(--steel-2);
}
.foot__nandri { font-family: var(--tamil); font-size: 20px; font-weight: 300; color: var(--fg); }
.foot__nandri s { text-decoration: none; color: var(--fg-2); font-family: var(--sans); font-size: 15px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.foot__links a { font: 400 12.5px/1 var(--mono); letter-spacing: .05em; color: var(--fg-2); padding: 7px 0; transition: color .3s var(--ease); }
.foot__links a:hover { color: var(--mayil); }

/* --------------------------------------------------------------------------
   18 · MOTION
   Sections fade and rise 16px on scroll, 400ms, staggered 60ms. Nothing else.
   -------------------------------------------------------------------------- */
[data-rise] {
  opacity: 0; transform: translateY(16px);
  transition: opacity .4s var(--ease) var(--d, 0ms), transform .4s var(--ease) var(--d, 0ms);
}
[data-rise].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-rise] { opacity: 1 !important; transform: none !important; }
  .scrollcue i { animation: none; }
}

/* --------------------------------------------------------------------------
   19 · PRINT — officers print.
   Inverts to white with every source and figure preserved.
   -------------------------------------------------------------------------- */
@media print {
  :root {
    --pit: #fff; --surface: #fff; --surface-2: #fff;
    --steel: #B8BEC6; --steel-2: #DDE1E6;
    --fg: #0A0C0F; --fg-2: #3E464F; --fg-3: #6A727C; --fg-thesis: #55595E;
    --cert-0: #0A0C0F; --cert-1: #2C333B; --cert-2: #4A525B; --cert-3: #6A727C;
    --mayil: #14636B; --manjal: #7A5B12; --indigo: #3E4A72;
    --pad-x: 0px; --rail: 0px; --pad-r: 0px;
  }
  body { background: #fff; color: #0A0C0F; font-size: 11pt; }
  body::after, .rail, .sticky-cta, .progress, .scrollcue,
  .hero__canvas, .hero__scrim, .hero__vignette, .phases__plan { display: none !important; }
  .wordmark { position: static; mix-blend-mode: normal; margin-bottom: 16pt; }
  .hero { min-height: 0; display: block; }
  .hero__inner { padding: 0 0 20pt; }
  .sec, .sec--silence { padding: 16pt 0; }
  .phases__stick { position: static; height: auto; min-height: 0; display: block; overflow: visible; }
  .phases__track { height: auto !important; }
  .plad__row, .honest__item, .offer__item, .stat, .ask__col { break-inside: avoid; }
  section { break-inside: avoid-page; }
  [data-rise] { opacity: 1 !important; transform: none !important; }
  .scen__bar i { width: auto !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 8pt; color: #3E464F; }
  .btn { border: 1pt solid #0A0C0F; background: #fff; color: #0A0C0F; }
}
