/* =====================================================
   NEAR ZERO LABS — v3 · Confident modernist
   For the CEO of a midsize company, not their CTO.
   ===================================================== */

:root {
  /* Palette — warm off-white paper, one signal accent (Boss Red) */
  --paper:   #f7f4ee;   /* base */
  --paper-2: #efeae1;   /* slightly warmer band */
  --paper-3: #e6dfd2;   /* card & divider */
  --line:    #d8cfbe;
  --ink:     #14120f;   /* headline black */
  --ink-2:   #2a2723;   /* body */
  --ink-3:   #5c574f;   /* secondary */
  --ink-4:   #8a8377;   /* tertiary */
  --accent:  #d10000;   /* Boss Red — one confident accent */
  --accent-ink: #a30000;
  --accent-soft: rgba(209, 0, 0, 0.08);
  --nav-bg:  rgba(247, 244, 238, 0.9);
  --inv-bg:  #14120f;   /* inverted blocks (dark cards, quote band) */
  --inv-fg:  #f7f4ee;
  color-scheme: light;

  /* Type */
  --serif: 'Fraunces', 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Rhythm */
  --gutter: clamp(24px, 5vw, 80px);
  --sec-y: clamp(100px, 12vw, 180px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink-2);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-weight: 400;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
em { font-style: italic; }

::selection { background: var(--accent); color: var(--inv-fg); }


/* =================== DARK THEME (opt-in via the switch; light is the default) =================== */
:root[data-theme="dark"] {
  --paper:   #15130f;
  --paper-2: #1c1914;
  --paper-3: #26221c;
  --line:    #352f27;
  --ink:     #f4f0e8;
  --ink-2:   #d9d3c7;
  --ink-3:   #a79f92;
  --ink-4:   #7d766b;
  --accent-ink: #ff5c5c;
  --accent-soft: rgba(255, 92, 92, 0.12);
  --nav-bg:  rgba(21, 19, 15, 0.88);
  --inv-bg:  #221f1a;
  --inv-fg:  #f7f4ee;
  color-scheme: dark;
}


/* dark: solid buttons flip to light so they stay the strongest element */
:root[data-theme="dark"] .btn-primary { background: var(--ink); color: var(--paper); }
:root[data-theme="dark"] .btn-primary:hover { background: var(--accent); color: var(--inv-fg); }
:root[data-theme="dark"] .nav-cta:hover { background: var(--ink); color: var(--paper) !important; }

/* =================== THEME SWITCH =================== */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-3);
  background: transparent;
  transition: color .15s, border-color .15s, background .15s;
}
.theme-toggle:hover { color: var(--ink); border-color: var(--ink-4); }
.theme-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.theme-toggle svg { width: 16px; height: 16px; display: block; }
.theme-toggle .ico-moon { display: block; }
.theme-toggle .ico-sun  { display: none; }
:root[data-theme="dark"] .theme-toggle .ico-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .ico-sun  { display: block; }

/* =================== NAV =================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.brand-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 14px;
  color: var(--ink-3);
  font-weight: 450;
}
.nav-links a { transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  padding: 10px 18px;
  border: 1px solid var(--ink);
  color: var(--ink) !important;
  border-radius: 999px;
  font-weight: 500;
  transition: all .18s;
}
.nav-cta:hover {
  background: var(--inv-bg);
  color: var(--inv-fg) !important;
}
@media (max-width: 820px) {
  .nav-links { gap: 20px; font-size: 13px; }
  .nav-links a:not(.nav-cta) { display: none; }
}

/* =================== HERO =================== */
.hero {
  padding: clamp(80px, 12vw, 160px) var(--gutter) clamp(80px, 10vw, 120px);
  position: relative;
  overflow: hidden;
}
.hero::after {
  /* subtle blur of accent bottom-right — restraint */
  content: '';
  position: absolute;
  right: -200px; bottom: -240px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
  margin-bottom: 40px;
  padding: 8px 16px 8px 12px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 450;
}
.eyebrow-mark {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.hero-h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 9vw, 148px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 40px;
  max-width: 16ch;
}
.hero-h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  padding-right: 0.08em;
}
.hero-h1-hi {
  color: var(--accent);
  font-style: italic;
  display: inline;
  padding-right: 0.06em;
}
.hero-sub {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 58ch;
  margin-bottom: 48px;
  font-weight: 400;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 72px;
}

/* Buttons — quietly confident, not techy */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  transition: all .18s;
  cursor: pointer;
  line-height: 1;
}
.btn-primary {
  background: var(--inv-bg);
  color: var(--inv-fg);
}
.btn-primary:hover {
  background: var(--accent);
  color: var(--inv-fg);
  transform: translateY(-1px);
}
.btn-ghost {
  color: var(--ink);
  padding-left: 8px;
  padding-right: 8px;
}
.btn-ghost:hover { color: var(--accent); }
.btn-full { width: 100%; justify-content: center; padding: 16px 26px; }

.hero-meta {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
  padding-top: 40px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.meta-item {}
.meta-value {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.meta-label {
  font-size: 12px;
  color: var(--ink-4);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}
.meta-divider {
  width: 1px;
  height: 40px;
  background: var(--line);
}
@media (max-width: 640px) {
  .meta-divider { display: none; }
  .hero-meta { gap: 24px; }
}

/* =================== NUMBERS BAND =================== */
.numbers {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(60px, 8vw, 100px) var(--gutter);
}
.numbers-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 32px;
  align-items: end;
}
.num-item { text-align: left; }
.num-label {
  font-size: 12px;
  color: var(--ink-4);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 20px;
}
.num-value {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(64px, 10vw, 140px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.num-value--hi {
  color: var(--accent);
  font-style: italic;
}
.num-sub {
  font-size: 15px;
  color: var(--ink-3);
  font-style: italic;
  font-family: var(--serif);
  line-height: 1.35;
  max-width: 24ch;
}
.num-sub em {
  color: var(--accent);
  font-weight: 500;
}
.num-op {
  font-family: var(--serif);
  font-size: 36px;
  color: var(--ink-4);
  padding-bottom: 24px;
}
.numbers-note {
  max-width: 1240px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-4);
  font-style: italic;
  font-family: var(--serif);
}
@media (max-width: 820px) {
  .numbers-inner { grid-template-columns: 1fr; gap: 40px; }
  .num-op { display: none; }
}

/* =================== SECTION HEADERS =================== */
.sec-eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 24px;
}
.sec-header {
  max-width: 1000px;
  margin: 0 auto 72px;
  padding: 0 var(--gutter);
}
.sec-h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4.6vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 24px;
  max-width: 22ch;
}
.sec-h2 em {
  font-style: italic;
  color: var(--accent);
}
.sec-lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 62ch;
}

/* =================== THESIS =================== */
.thesis {
  padding: var(--sec-y) 0;
  border-bottom: 1px solid var(--line);
}
.thesis-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.thesis-h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 48px;
  max-width: 26ch;
}
.thesis-body p {
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: 22px;
  max-width: 66ch;
}
.thesis-body strong {
  font-weight: 600;
  color: var(--ink);
}
.drop {
  font-family: var(--serif);
  font-size: 3.4em;
  float: left;
  line-height: 0.85;
  margin: 0.08em 0.12em 0 -0.05em;
  color: var(--accent);
  font-weight: 400;
}
.thesis-punch {
  position: relative;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.35;
  color: var(--ink);
  margin-top: 40px;
  padding-top: 32px;
  border-top: none;
  max-width: 40ch;
}
.punch-rule {
  display: block;
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 24px;
}

/* =================== MAPS =================== */
.maps {
  padding: var(--sec-y) 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.maps-grid {
  max-width: 1400px;
  margin: 0 auto 60px;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 900px) {
  .maps-grid { grid-template-columns: 1fr; }
}
.map {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 40px 36px;
  transition: all .2s;
}
.map:hover {
  border-color: var(--ink-4);
  transform: translateY(-2px);
}
.map--hi {
  background: var(--paper);
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(209, 0, 0, 0.06);
}
.map-head { margin-bottom: 32px; }
.map-tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-4);
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 20px;
  font-weight: 600;
}
.map-tag--hi {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-soft);
}
.map-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 12px;
}
.map-desc {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.4;
  color: var(--ink-3);
  max-width: 30ch;
}
.map-table {
  display: flex;
  flex-direction: column;
}
.map-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.45;
}
.map-row:last-child { border-bottom: 1px solid var(--line); }
.map-row--head {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-4);
  font-weight: 600;
  padding: 12px 0;
  border-top: none;
}
.map-row > div:first-child {
  color: var(--ink-4);
  text-decoration: line-through;
  text-decoration-color: var(--ink-4);
  text-decoration-thickness: 1px;
}
.map-row--head > div:first-child { text-decoration: none; color: var(--ink-4); }
.map-row > div:last-child {
  color: var(--ink);
  font-weight: 450;
}
.map--hi .map-row > div:last-child { color: var(--ink); }

.maps-note {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px var(--gutter);
  border-top: 1px solid var(--line);
  text-align: center;
}
.note-eyebrow {
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
}
.maps-note p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.4;
  color: var(--ink);
  max-width: 40ch;
  margin: 0 auto;
}

/* =================== WHO / ARCHETYPES =================== */
.who {
  padding: var(--sec-y) 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.who-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .who-grid { grid-template-columns: 1fr; }
}
.arche {
  padding: 40px 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: all .2s;
  display: flex;
  flex-direction: column;
}
.arche:hover {
  border-color: var(--ink-4);
  transform: translateY(-3px);
}
.arche--hi {
  border-color: var(--accent);
  background: var(--paper);
  box-shadow: 0 12px 40px rgba(209, 0, 0, 0.06);
}
.arche-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 20px;
  line-height: 1;
}
.arche h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin-bottom: 16px;
  line-height: 1.15;
}
.arche-lede {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
  margin-bottom: 24px;
  flex: 1;
}
.arche-tell {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.5;
}
.arche-tell span {
  font-style: italic;
  font-family: var(--serif);
  font-size: 15px;
  color: var(--ink);
}

/* =================== ENGAGEMENTS =================== */
.engagements {
  padding: var(--sec-y) 0;
  border-bottom: 1px solid var(--line);
}
.engagements-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .engagements-grid { grid-template-columns: 1fr; }
}
.eng {
  position: relative;
  padding: 40px 32px 36px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  transition: all .2s;
}
.eng:hover {
  transform: translateY(-3px);
  border-color: var(--ink-4);
}
.eng--hi {
  background: var(--inv-bg);
  color: var(--inv-fg);
  border-color: var(--ink);
}
.eng-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--accent);
  color: var(--inv-fg);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
}
.eng-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--ink-4);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.eng--hi .eng-num { color: rgba(247, 244, 238, 0.55); }
.eng-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 32px;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.eng--hi .eng-name { color: var(--inv-fg); }
.eng-tag {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-4);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.eng--hi .eng-tag {
  color: rgba(247, 244, 238, 0.55);
  border-bottom-color: rgba(247, 244, 238, 0.15);
}
.eng-body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  margin-bottom: 24px;
}
.eng--hi .eng-body { color: rgba(247, 244, 238, 0.85); }
.eng-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.eng-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
}
.eng-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}
.eng--hi .eng-list li { color: rgba(247, 244, 238, 0.85); }
.eng--hi .eng-list li::before { color: var(--inv-fg); }
.eng-cta {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-3);
  line-height: 1.5;
}
.eng--hi .eng-cta {
  border-top-color: rgba(247, 244, 238, 0.15);
  color: rgba(247, 244, 238, 0.75);
}

/* =================== TEAM =================== */
.team {
  padding: var(--sec-y) 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.team-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 900px) {
  .team-inner { grid-template-columns: 1fr; gap: 40px; }
}
.team-h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 32px;
  max-width: 14ch;
}
.team-body {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-2);
  margin-bottom: 20px;
  max-width: 46ch;
}
.team-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.team-stat {
  padding: 28px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: all .2s;
}
.team-stat:hover {
  border-color: var(--accent);
}
.team-stat-num {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent);
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}
.team-stat-num .pct {
  font-size: 34px;
  vertical-align: baseline;
}
.team-stat-label {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.45;
}

/* =================== QUOTE =================== */
.quote {
  padding: var(--sec-y) 0;
  background: var(--inv-bg);
  color: var(--inv-fg);
  position: relative;
}
.quote-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: center;
  position: relative;
}
.quote-mark {
  font-family: var(--serif);
  font-size: 120px;
  line-height: 0.6;
  color: var(--accent);
  margin-bottom: 20px;
}
.quote-body {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--inv-fg);
  margin-bottom: 48px;
  max-width: 30ch;
  margin-inline: auto;
}
.quote-attr {
  font-size: 14px;
  color: rgba(247, 244, 238, 0.6);
  letter-spacing: 0.02em;
}
.attr-name { color: var(--inv-fg); margin-bottom: 4px; font-weight: 500; }
.attr-role { color: rgba(247, 244, 238, 0.55); }

/* =================== PROOF =================== */
.proof {
  padding: var(--sec-y) 0;
  border-bottom: 1px solid var(--line);
}
.proof-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .proof-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .proof-grid { grid-template-columns: 1fr; }
}
.proof-card {
  padding: 32px 28px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: all .2s;
}
.proof-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.proof-metric-text {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 108px;
}
.pmt-before {
  color: var(--ink-4);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--ink-4);
  font-style: italic;
}
.pmt-arrow {
  font-size: 18px;
  color: var(--ink-4);
  padding-left: 2px;
}
.pmt-after {
  color: var(--accent);
  font-style: italic;
  font-weight: 500;
}
.proof-role {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 14px;
}
.proof-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
}

/* =================== BRIEF =================== */
.brief {
  padding: var(--sec-y) 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.brief-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) {
  .brief-inner { grid-template-columns: 1fr; gap: 40px; }
}
.brief-h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 24px;
}
.brief-sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-2);
  margin-bottom: 32px;
  max-width: 44ch;
}
.brief-notes {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.brief-notes li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: var(--ink-3);
  line-height: 1.5;
}
.brief-notes li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

.brief-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 36px 32px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
}
.brief-form label {
  display: block;
  margin-bottom: 18px;
}
.brief-form label span {
  display: block;
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
}
.brief-form input,
.brief-form select,
.brief-form textarea {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: 15px;
  border-radius: 4px;
  transition: border-color .15s;
}
.brief-form input:focus,
.brief-form select:focus,
.brief-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.brief-form textarea { resize: vertical; font-family: inherit; }
.form-fine {
  margin-top: 12px;
  font-size: 12px;
  color: var(--ink-4);
  text-align: center;
  font-style: italic;
  font-family: var(--serif);
}
.form-success {
  padding: 40px 20px;
  text-align: center;
}
.success-tick {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--inv-fg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 24px;
}
.form-success h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.form-success p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-3);
  max-width: 40ch;
  margin: 0 auto;
}

/* =================== CLOSER =================== */
.closer {
  padding: clamp(120px, 15vw, 200px) var(--gutter) clamp(80px, 10vw, 120px);
  background: var(--paper);
  text-align: center;
  overflow: hidden;
}
.closer-inner { max-width: 1240px; margin: 0 auto; }
.closer-eye {
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 40px;
}
.closer-word {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(60px, 12vw, 180px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  color: var(--ink);
  margin-bottom: 32px;
}
.closer-word em {
  color: var(--accent);
  font-style: italic;
  display: inline-block;
}
.closer-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 2vw, 24px);
  color: var(--ink-3);
  max-width: 44ch;
  margin: 0 auto;
}

/* =================== FOOTER =================== */
.footer {
  background: var(--paper-3);
  padding: 60px var(--gutter) 32px;
  border-top: 1px solid var(--line);
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}
.footer-brand { color: var(--ink); }
.footer-brand .brand { margin-bottom: 16px; }
.footer-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--ink-3);
  max-width: 30ch;
  line-height: 1.4;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 640px) {
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
}
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-col a { color: var(--ink-3); transition: color .15s; }
.footer-col a:hover { color: var(--ink); }
.footer-h {
  font-size: 11px;
  color: var(--ink-4);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 6px;
}
.footer-base {
  max-width: 1400px;
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-4);
}
@media (max-width: 640px) {
  .footer-base { flex-direction: column; gap: 6px; }
}

/* =================== REVEAL =================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s, transform .6s;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
