/* Sleep Architecture — landing page styles */

:root {
  --bg-deep: #0B111C;
  --bg-navy: #0E1420;
  --bg-graphite: #131A28;
  --bg-elev: #1A2233;
  --line: rgba(201, 168, 118, 0.18);
  --line-strong: rgba(201, 168, 118, 0.45);
  --line-cool: rgba(255, 255, 255, 0.08);

  --fg: #EDE7DB;
  --fg-muted: rgba(237, 231, 219, 0.62);
  --fg-dim: rgba(237, 231, 219, 0.4);

  --gold: #C9A876;
  --gold-bright: #D9B98A;
  --gold-deep: #9C7F4F;

  --cream: #EDE7DB;
  --cream-warm: #E6DFCF;
  --slate: #3A4255;

  --accent: var(--gold);

  --serif: 'Cormorant Garamond', 'Garamond', serif;
  --sans: 'Space Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, monospace;

  --maxw: 1320px;
  --gutter: clamp(20px, 4vw, 56px);

  /* nav scrim */
  --nav-scrim-from: rgba(11,17,28,0.85);
  --nav-scrim-to: rgba(11,17,28,0);
}

/* —— Light theme: cream-on-cream with deep navy text —— */
html[data-theme="light"] {
  --bg-deep: #E6DFCF;
  --bg-navy: #F2EDE0;
  --bg-graphite: #EDE7DB;
  --bg-elev: #E6DFCF;

  --line: rgba(156, 127, 79, 0.22);
  --line-strong: rgba(156, 127, 79, 0.45);
  --line-cool: rgba(11, 17, 28, 0.10);

  --fg: #1A2233;
  --fg-muted: rgba(26, 34, 51, 0.62);
  --fg-dim: rgba(26, 34, 51, 0.4);

  --cream: #1A2233;       /* "cream" used for primary fg in dark; flips to navy in light */
  --slate: #3A4255;

  /* keep gold the same — but use deep variant for accent text contrast */
  --gold-deep: #9C7F4F;

  --nav-scrim-from: rgba(242, 237, 224, 0.88);
  --nav-scrim-to: rgba(242, 237, 224, 0);
}

/* Light-theme overrides for sections that hard-code dark colors */
html[data-theme="light"] body { background: var(--bg-navy); color: var(--fg); }
html[data-theme="light"] .nav-logo .wordmark { color: #1A2233; }
html[data-theme="light"] .btn-primary { background: var(--gold); color: #fff; }
html[data-theme="light"] .btn-primary:hover { background: var(--gold-bright); color: #fff; }
html[data-theme="light"] .btn-ghost { border-color: rgba(11,17,28,0.25); color: #1A2233; }
html[data-theme="light"] .btn-ghost:hover { border-color: var(--gold); color: var(--gold-deep); }
html[data-theme="light"] .nav-cta { color: var(--gold-deep); border-color: var(--gold-deep); }
html[data-theme="light"] .nav-cta:hover { background: var(--gold-deep); color: #fff; }
html[data-theme="light"] .eyebrow { color: var(--gold-deep); }

html[data-theme="light"] .h-display em,
html[data-theme="light"] .h-section em,
html[data-theme="light"] .system-card h3 em,
html[data-theme="light"] .image-break-overlay .quote em,
html[data-theme="light"] .problem-result em,
html[data-theme="light"] .stat .val em,
html[data-theme="light"] .hero-sub { color: var(--gold-deep); }

html[data-theme="light"] .system-card h3,
html[data-theme="light"] .process-step h3,
html[data-theme="light"] .manifesto-lead { color: #1A2233; }
html[data-theme="light"] .manifesto-lead em { color: var(--gold-deep); }
html[data-theme="light"] .system-card ul li,
html[data-theme="light"] .process-step ul li,
html[data-theme="light"] .cta-list li,
html[data-theme="light"] .stat .val,
html[data-theme="light"] .problem-result { color: #1A2233; }
html[data-theme="light"] .system-card { background: var(--bg-navy); }
html[data-theme="light"] .system-card:hover { background: var(--bg-graphite); }
html[data-theme="light"] .systems-grid,
html[data-theme="light"] .systems { background: var(--bg-deep); }
html[data-theme="light"] .essence,
html[data-theme="light"] .stats,
html[data-theme="light"] .manifesto,
html[data-theme="light"] .process,
html[data-theme="light"] .foot { background: var(--bg-navy); }
html[data-theme="light"] .cta { background: var(--bg-deep); }
html[data-theme="light"] .cta-form { background: var(--bg-graphite); border-color: var(--line); }
html[data-theme="light"] .field input,
html[data-theme="light"] .field select,
html[data-theme="light"] .field textarea { color: #1A2233; }
html[data-theme="light"] .field input:focus,
html[data-theme="light"] .field select:focus,
html[data-theme="light"] .field textarea:focus { border-bottom-color: var(--gold-deep); }
html[data-theme="light"] .cta-form h3 { color: var(--gold-deep); }
html[data-theme="light"] .essence-item .lab { color: #1A2233; }
html[data-theme="light"] .essence-item .ico,
html[data-theme="light"] .system-card .icon,
html[data-theme="light"] .system-card .num,
html[data-theme="light"] .process-step .step-num,
html[data-theme="light"] .stat .lab,
html[data-theme="light"] .nav-logo svg,
html[data-theme="light"] .hero-mark,
html[data-theme="light"] .foot-brand .mark { color: var(--gold-deep); }
html[data-theme="light"] .why { background: #131A28; }
html[data-theme="light"] .why .eyebrow,
html[data-theme="light"] .why .h-section em,
html[data-theme="light"] .cant-compensate em,
html[data-theme="light"] .why-quote .attrib { color: var(--gold); }
html[data-theme="light"] .why .h-section,
html[data-theme="light"] .why-list li,
html[data-theme="light"] .why-quote,
html[data-theme="light"] .cant-compensate { color: #EDE7DB; }
html[data-theme="light"] .why p.body,
html[data-theme="light"] .why .why-body,
html[data-theme="light"] .why-quotes p { color: rgba(237,231,219,0.62) !important; }
html[data-theme="light"] .why .sec-header,
html[data-theme="light"] .why-list,
html[data-theme="light"] .why-list li,
html[data-theme="light"] .why-quotes,
html[data-theme="light"] .cant-compensate { border-color: rgba(255,255,255,0.08) !important; }
html[data-theme="light"] .why .sec-header-meta .num { color: var(--gold) !important; }
html[data-theme="light"] .why .sec-header-meta .label { color: rgba(237,231,219,0.62) !important; }
html[data-theme="light"] .why .sec-header-meta .hairline { background: var(--gold) !important; }
html[data-theme="light"] .why .eyebrow-mono { color: rgba(237,231,219,0.62) !important; }
html[data-theme="light"] .why-list li .n { color: var(--gold) !important; }
html[data-theme="light"] .image-break { background: var(--bg-graphite); }
html[data-theme="light"] .image-break-overlay { background: linear-gradient(to bottom, rgba(242,237,224,0.4), rgba(242,237,224,0.65)); }
html[data-theme="light"] .image-break-overlay .quote,
html[data-theme="light"] .image-break-corner { color: #1A2233; }
html[data-theme="light"] .hero-meta { color: #1A2233; mix-blend-mode: normal; }
html[data-theme="light"] .foot-brand p,
html[data-theme="light"] .foot ul a,
html[data-theme="light"] .foot-bottom { color: var(--fg-muted); }
html[data-theme="light"] .foot h4 { color: var(--gold-deep); }
html[data-theme="light"] .nav { background: linear-gradient(to bottom, rgba(242,237,224,0.88), rgba(242,237,224,0)); }
html[data-theme="light"] image-slot { --slot-bg: #DDD5C2; --slot-stripe: rgba(156,127,79,0.08); --slot-fg: rgba(26,34,51,0.55); }

  --accent: var(--gold);

  --serif: 'Cormorant Garamond', 'Garamond', serif;
  --sans: 'Space Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, monospace;

  --maxw: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
}

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

body {
  background: var(--bg-navy);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: 0.005em;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ——— Type system ——— */

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow-mono {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.h-display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(44px, 6.4vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.012em;
}

.h-display em {
  font-style: italic;
  color: var(--gold);
  font-weight: 300;
}

.h-section {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
}
.h-section em { font-style: italic; color: var(--gold); font-weight: 300; }

.h-card {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1.5;
  color: var(--fg);
  font-weight: 300;
}

p { margin: 0 0 1em 0; }
p.body { color: var(--fg-muted); font-size: 16px; line-height: 1.7; max-width: 60ch; }

/* ——— Layout ——— */

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { position: relative; }

.hairline {
  width: 48px; height: 1px; background: var(--gold); display: block;
  opacity: 0.7;
}

.divider {
  height: 1px; background: var(--line-cool); width: 100%;
}

/* ——— Nav ——— */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter);
  background: linear-gradient(to bottom, rgba(11,17,28,0.85), rgba(11,17,28,0));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.nav-logo { display: flex; align-items: center; gap: 14px; }
.nav-logo .mark { width: 30px; height: 30px; }
.nav-logo .wordmark {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--cream);
}
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--fg-muted); font-weight: 400;
  transition: color .25s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 10px 20px;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  transition: background .3s, color .3s;
}
.nav-cta:hover { background: var(--gold); color: var(--bg-navy); }

@media (max-width: 800px) {
  .nav-links { display: none; }
}

/* ——— Hero ——— */

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 0;
  border-bottom: 1px solid var(--line-cool);
}
.hero-left {
  padding: 160px var(--gutter) 80px;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--bg-navy);
  position: relative;
}
.hero-left::after {
  content: ''; position: absolute; right: 0; top: 25%; bottom: 25%;
  width: 1px; background: var(--line);
}
.hero-mark { width: 64px; height: 64px; margin-bottom: 36px; }
.hero-title { margin: 0 0 28px; }
.hero-sub {
  font-family: var(--sans);
  font-size: 14px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); font-weight: 400; margin-bottom: 40px;
}
.hero-body {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.55;
  color: var(--fg-muted);
  max-width: 46ch;
  margin-bottom: 56px;
  font-weight: 300;
}
.hero-actions { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }

.hero-right {
  position: relative;
  background: var(--bg-graphite);
  overflow: hidden;
  min-height: 600px;
}
.hero-right image-slot { width: 100%; height: 100%; }
.hero-meta {
  position: absolute;
  left: 32px; bottom: 32px; right: 32px;
  display: flex; justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--cream); opacity: 0.85;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: difference;
}
.hero-meta span:nth-child(2) { color: var(--gold); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-left::after { display: none; }
  .hero-right { min-height: 420px; }
}

/* ——— Buttons ——— */

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 28px;
  font-family: var(--sans);
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  font-weight: 500;
  transition: all .3s;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--gold); color: var(--bg-navy);
}
.btn-primary:hover { background: var(--gold-bright); transform: translateY(-1px); }
.btn-ghost {
  border-color: rgba(237, 231, 219, 0.25);
  color: var(--cream);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-arrow { display: inline-block; transition: transform .3s; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ——— Manifesto / problem section ——— */

.manifesto {
  padding: 140px 0;
  background: var(--bg-navy);
  border-bottom: 1px solid var(--line-cool);
}
.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}
.manifesto-lead {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.25;
  font-weight: 300;
  color: var(--cream);
  letter-spacing: -0.01em;
}
.manifesto-lead em { font-style: italic; color: var(--gold); }

.problem-list {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: grid; gap: 0;
  border-top: 1px solid var(--line-cool);
}
.problem-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line-cool);
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--fg-muted);
  font-weight: 300;
}
.problem-list li .num { flex: 0 0 48px; }
.problem-list li .num {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em;
  color: var(--gold); opacity: 0.7;
}
.problem-result {
  margin-top: 56px;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.5;
  color: var(--cream);
  font-weight: 300;
}

@media (max-width: 900px) {
  .manifesto-grid { grid-template-columns: 1fr; gap: 56px; }
  .manifesto { padding: 80px 0; }
}

/* ——— Section header ——— */

.sec-header {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: end;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line-cool);
  margin-bottom: 80px;
}
.sec-header-meta { display: flex; flex-direction: column; gap: 12px; }
.sec-header-meta .num {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em;
  color: var(--gold);
}
.sec-header-meta .label {
  font-family: var(--sans); font-size: 12px;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--fg-muted);
}
.sec-header h2 { max-width: 18ch; }
@media (max-width: 800px) {
  .sec-header { grid-template-columns: 1fr; gap: 28px; align-items: start; }
}

/* ——— Systems (5 pillars) ——— */

.systems {
  padding: 140px 0;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--line-cool);
}
.systems-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-cool);
  border: 1px solid var(--line-cool);
}
.system-card {
  background: var(--bg-navy);
  padding: 48px 44px;
  display: flex; flex-direction: column;
  min-height: 380px;
  position: relative;
  transition: background .4s;
}
.system-card:hover { background: var(--bg-graphite); }
.system-card-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 32px;
}
.system-card .icon { width: 40px; height: 40px; color: var(--gold); }
.system-card .num {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em;
  color: var(--gold); opacity: 0.7;
}
.system-card h3 {
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: 32px; line-height: 1.1; margin: 0 0 16px;
  color: var(--cream);
}
.system-card .lede-sm {
  font-family: var(--sans); font-size: 14px; line-height: 1.65;
  color: var(--fg-muted); font-weight: 300; margin-bottom: 28px;
}
.system-card ul {
  list-style: none; padding: 0; margin: auto 0 0; display: grid; gap: 8px;
  border-top: 1px solid var(--line-cool); padding-top: 20px;
}
.system-card ul li {
  font-family: var(--sans); font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--cream); font-weight: 300;
  display: flex; align-items: baseline; gap: 10px;
}
.system-card ul li::before {
  content: ''; flex: 0 0 6px; height: 1px; background: var(--gold); transform: translateY(-3px);
}
@media (max-width: 800px) {
  .systems-grid { grid-template-columns: 1fr; }
  .systems { padding: 80px 0; }
}

/* ——— Wide image break ——— */

.image-break {
  position: relative; height: 70vh; min-height: 500px; max-height: 760px;
  background: var(--bg-graphite);
  overflow: hidden;
  border-bottom: 1px solid var(--line-cool);
}
.image-break image-slot { width: 100%; height: 100%; }
.image-break-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(to bottom, rgba(11,17,28,0.5), rgba(11,17,28,0.7));
  pointer-events: none;
}
.image-break-overlay .quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(36px, 4.5vw, 68px);
  line-height: 1.15;
  color: var(--cream);
  text-align: center;
  max-width: 18ch;
  letter-spacing: -0.005em;
}
.image-break-overlay .quote em { color: var(--gold); }
.image-break-corner {
  position: absolute; left: 32px; top: 32px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em;
  color: var(--cream); opacity: 0.75; text-transform: uppercase;
}
.image-break-corner.r { left: auto; right: 32px; }
.image-break-corner.b { top: auto; bottom: 32px; }
.image-break-corner.br { top: auto; left: auto; bottom: 32px; right: 32px; }

/* ——— Why it matters ——— */

.why {
  padding: 140px 0;
  background: var(--cream);
  color: var(--bg-navy);
  border-bottom: 1px solid rgba(11,17,28,0.08);
}
.why .eyebrow { color: var(--gold-deep); }
.why .h-section { color: var(--bg-navy); }
.why .h-section em { color: var(--gold-deep); }
.why p.body { color: rgba(11,17,28,0.66); }
.why .divider { background: rgba(11,17,28,0.1); }

.why-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 100px;
  align-items: start;
}
.why-list {
  display: grid; gap: 0; margin: 32px 0 0; list-style: none; padding: 0;
  border-top: 1px solid rgba(11,17,28,0.12);
}
.why-list li {
  padding: 22px 0;
  border-bottom: 1px solid rgba(11,17,28,0.12);
  display: flex; align-items: baseline; gap: 20px;
  font-family: var(--sans); font-size: 15px; color: var(--bg-navy); font-weight: 400;
  letter-spacing: 0.01em;
}
.why-list li .n { flex: 0 0 40px; }
.why-list li .n {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em;
  color: var(--gold-deep); padding-top: 4px;
}

.why-quotes {
  display: grid; gap: 36px;
  border-left: 1px solid rgba(11,17,28,0.12);
  padding-left: 60px;
}
.why-quote {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 22px; line-height: 1.45;
  color: var(--bg-navy);
}
.why-quote .attrib {
  display: block; margin-top: 16px;
  font-family: var(--sans); font-style: normal; font-size: 11px;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 500;
}
.cant-compensate {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(11,17,28,0.12);
  font-family: var(--serif); font-size: 26px; line-height: 1.4;
  font-weight: 300;
}
.cant-compensate em { font-style: italic; color: var(--gold-deep); }

@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; gap: 56px; }
  .why-quotes { border-left: 0; padding-left: 0; padding-top: 28px; border-top: 1px solid rgba(11,17,28,0.12); }
  .why { padding: 80px 0; }
}

/* ——— Process ——— */

.process {
  padding: 140px 0;
  background: var(--bg-navy);
  border-bottom: 1px solid var(--line-cool);
}
.process-steps { display: grid; gap: 0; }
.process-step {
  display: grid;
  grid-template-columns: 80px 1.2fr 2fr 280px;
  gap: 48px;
  padding: 56px 0;
  border-top: 1px solid var(--line-cool);
  align-items: start;
}
.process-step:last-child { border-bottom: 1px solid var(--line-cool); }
.process-step .step-num {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em;
  color: var(--gold); padding-top: 8px;
}
.process-step h3 {
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: clamp(28px, 2.6vw, 40px); line-height: 1.1;
  margin: 0 0 16px; color: var(--cream);
}
.process-step .lead {
  font-family: var(--sans); font-size: 14px; color: var(--fg-muted);
  font-weight: 300; line-height: 1.6;
}
.process-step ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px;
}
.process-step ul li {
  font-family: var(--sans); font-size: 13px; color: var(--cream); font-weight: 300;
  padding: 6px 0;
  display: flex; align-items: baseline; gap: 10px;
}
.process-step ul li::before { content: ''; flex: 0 0 5px; height: 1px; background: var(--gold); transform: translateY(-3px); }
.process-step .invest {
  border-left: 1px solid var(--line);
  padding-left: 32px;
}
.process-step .invest .lab {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em;
  color: var(--fg-muted); text-transform: uppercase;
  margin-bottom: 12px;
}
.process-step .invest .price {
  font-family: var(--serif); font-weight: 300;
  font-size: 28px; color: var(--gold); line-height: 1.1;
}
.process-step .invest .note {
  font-family: var(--sans); font-size: 11px; color: var(--fg-dim);
  margin-top: 8px; letter-spacing: 0.06em;
}

@media (max-width: 1100px) {
  .process-step { grid-template-columns: 60px 1fr; gap: 32px; }
  .process-step .invest, .process-step ul { grid-column: 2; }
  .process-step ul { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .process { padding: 80px 0; }
}

/* ——— CTA / apply ——— */

.cta {
  padding: 160px 0;
  background: var(--bg-deep);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line-cool);
}
.cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,168,118,0.08), transparent 60%);
  pointer-events: none;
}
.cta-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: start;
  position: relative;
}
.cta-form {
  background: var(--bg-graphite);
  border: 1px solid var(--line);
  padding: 48px;
}
.cta-form h3 {
  font-family: var(--sans); font-weight: 400; font-size: 12px;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 28px;
}
.field { display: grid; gap: 8px; margin-bottom: 22px; }
.field label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em;
  color: var(--fg-muted); text-transform: uppercase;
}
.field input, .field select, .field textarea {
  background: transparent;
  border: 0; border-bottom: 1px solid var(--line-cool);
  padding: 10px 0;
  color: var(--cream);
  font-family: var(--sans); font-size: 15px; font-weight: 300;
  outline: none;
  transition: border-color .25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-bottom-color: var(--gold);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.cta-form .submit { margin-top: 28px; width: 100%; justify-content: center; }
.cta-form .privacy {
  margin-top: 18px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em;
  color: var(--fg-dim); text-transform: uppercase; text-align: center;
}

.cta-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 0;
  border-top: 1px solid var(--line-cool);
}
.cta-list li {
  padding: 18px 0; border-bottom: 1px solid var(--line-cool);
  font-family: var(--sans); font-size: 15px; color: var(--cream); font-weight: 300;
  display: flex; gap: 16px; align-items: baseline;
}
.cta-list li::before { flex: 0 0 auto; }
.cta-list li::before {
  content: '+'; color: var(--gold); font-family: var(--mono); font-size: 12px;
}

@media (max-width: 900px) {
  .cta-inner { grid-template-columns: 1fr; gap: 48px; }
  .cta { padding: 80px 0; }
  .cta-form { padding: 32px; }
}

/* ——— Footer ——— */

.foot {
  padding: 80px 0 40px;
  background: var(--bg-deep);
  font-family: var(--sans);
}
.foot-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-cool);
  margin-bottom: 32px;
}
.foot-brand .mark { width: 40px; height: 40px; margin-bottom: 18px; }
.foot-brand .name {
  font-size: 13px; letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--cream); margin-bottom: 18px;
}
.foot-brand p { color: var(--fg-muted); font-size: 13px; max-width: 36ch; line-height: 1.7; }
.foot h4 {
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 18px; font-weight: 500;
}
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.foot ul a { font-size: 13px; color: var(--fg-muted); transition: color .2s; }
.foot ul a:hover { color: var(--cream); }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--fg-dim);
  flex-wrap: wrap; gap: 16px;
}
@media (max-width: 800px) {
  .foot-top { grid-template-columns: 1fr 1fr; }
}

/* ——— Brand essence strip ——— */

.essence {
  padding: 64px 0;
  background: var(--bg-graphite);
  border-bottom: 1px solid var(--line-cool);
}
.essence-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.essence-item {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  padding-right: 24px;
  border-right: 1px solid var(--line-cool);
}
.essence-item:last-child { border-right: 0; }
.essence-item .ico { width: 28px; height: 28px; color: var(--gold); }
.essence-item .lab {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--cream); font-weight: 400; line-height: 1.4;
}
@media (max-width: 800px) {
  .essence-grid { grid-template-columns: 1fr 1fr; }
  .essence-item { border-right: 0; }
}

/* ——— Stats / numbers strip ——— */

.stats {
  padding: 100px 0;
  background: var(--bg-navy);
  border-bottom: 1px solid var(--line-cool);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-cool);
  border-bottom: 1px solid var(--line-cool);
}
.stat {
  padding: 40px 32px;
  border-right: 1px solid var(--line-cool);
  display: flex; flex-direction: column; gap: 12px;
}
.stat:last-child { border-right: 0; }
.stat .lab {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em;
  color: var(--gold); text-transform: uppercase;
}
.stat .val {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(36px, 3vw, 56px); line-height: 1; color: var(--cream);
  letter-spacing: -0.01em;
}
.stat .val em { font-style: italic; color: var(--gold); }
.stat .note {
  font-family: var(--sans); font-size: 12px; color: var(--fg-muted);
  font-weight: 300; line-height: 1.5;
}
@media (max-width: 800px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
}

/* ——— Mobile (≤600px) refinements ——— */
@media (max-width: 600px) {
  :root { --gutter: 22px; }

  /* Nav */
  .nav { padding: 18px var(--gutter); }
  .nav-brand { font-size: 11px; letter-spacing: 0.32em; }
  .nav-brand .mark { width: 28px; height: 28px; }
  .nav-cta { padding: 9px 14px; font-size: 10px; letter-spacing: 0.18em; }

  /* Typography scales */
  .h-display { font-size: clamp(40px, 11vw, 56px); line-height: 1.04; }
  .h-section { font-size: clamp(30px, 8.5vw, 42px); line-height: 1.08; }

  /* Eyebrows tighten on narrow screens */
  .eyebrow { font-size: 10px; letter-spacing: 0.24em; }
  .sec-eyebrow { font-size: 12px; letter-spacing: 0.22em; }
  .sec-header-meta .label { font-size: 11px; letter-spacing: 0.22em; }

  /* Hero */
  .hero { min-height: 0; }
  .hero-left { padding: 100px var(--gutter) 60px; }
  .hero-mark { width: 52px; height: 52px; margin-bottom: 28px; }
  .hero-sub { font-size: 11px; letter-spacing: 0.22em; margin-bottom: 28px; }
  .hero-body { font-size: 18px; margin-bottom: 40px; }
  .hero-actions { gap: 14px; }
  .hero-right { min-height: 320px; }
  .hero-meta { left: 20px; right: 20px; bottom: 20px; font-size: 9px; letter-spacing: 0.16em; }

  /* Buttons */
  .btn { padding: 14px 22px; font-size: 10px; letter-spacing: 0.22em; }

  /* Section padding */
  section { padding: 80px 0 !important; }
  .manifesto, .systems, .process, .cta, .why { padding: 72px 0 !important; }

  /* Manifesto */
  .manifesto-lead { font-size: 24px; line-height: 1.3; }
  .problem-list li { font-size: 14px; gap: 18px; padding: 14px 0; }
  .problem-list li .num { flex: 0 0 36px; }
  .manifesto-quote { font-size: 18px; line-height: 1.55; }

  /* Section header */
  .sec-header h2 { max-width: none; }

  /* Systems */
  .systems-grid { gap: 28px; }
  .system-card { padding: 28px 22px; }
  .system-card h3 { font-size: 26px; }
  .system-card .lede-sm { font-size: 13px; margin-bottom: 22px; }

  /* Image break */
  .image-break-text { font-size: 28px; line-height: 1.2; padding: 0 var(--gutter); }
  .image-break-corner { left: 20px; top: 20px; font-size: 9px; }

  /* Why */
  .why-list li { padding: 16px 0; font-size: 14px; gap: 16px; }
  .why-list li .n { flex: 0 0 32px; }
  .why-quote { font-size: 18px; line-height: 1.5; }
  .cant-compensate { font-size: 20px; padding-top: 24px; }

  /* Process */
  .process-step { grid-template-columns: 40px 1fr; gap: 18px; padding: 36px 0; }
  .process-step .invest, .process-step ul { grid-column: 2; }
  .process-step h3 { font-size: 24px; }
  .process-step .lead { font-size: 13px; }
  .process-step ul li { font-size: 12px; }
  .process-step .invest .price { font-size: 24px; }

  /* CTA */
  .cta-form { padding: 32px 24px; }
  .cta-list li { font-size: 14px; padding: 14px 0; }

  /* Footer */
  .foot-top { grid-template-columns: 1fr; gap: 36px; }
  .foot-bottom { font-size: 9px; letter-spacing: 0.14em; gap: 12px; flex-direction: column; align-items: flex-start; }
  .foot-bottom .legal { display: flex; gap: 14px; flex-wrap: wrap; }

  /* Essence */
  .essence-grid { grid-template-columns: 1fr 1fr; }
  .essence-item { padding: 28px 18px; gap: 14px; }
  .essence-item .ico { width: 24px; height: 24px; }
  .essence-item .lab { font-size: 10px; letter-spacing: 0.18em; }

  /* Stats */
  .stat { padding: 28px 18px; gap: 10px; }
  .stat .val { font-size: 32px; }
  .stat .lab { font-size: 9px; letter-spacing: 0.18em; }
  .stat .note { font-size: 11px; }
}

/* ——— Image slot tweaks ——— */
image-slot {
  --slot-bg: var(--bg-graphite);
  --slot-stripe: rgba(201,168,118,0.05);
  --slot-fg: var(--fg-muted);
}

/* Subtle stripe placeholder for image-slot when empty (overrides) */

/* ——— Section transition (cream) variant ——— */
.theme-cream { background: var(--cream); color: var(--bg-navy); }
.theme-cream .h-section em,
.theme-cream .eyebrow { color: var(--gold-deep); }

/* ——— Misc ——— */
.smallcaps { font-variant: small-caps; letter-spacing: 0.04em; }
.scroll-margin { scroll-margin-top: 80px; }
