@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@700;800&display=swap');

:root {
  --navy: #0a0e1a;
  --ink: #f1f5f9;
  --muted: #94a3b8;
  --orange: #f97316;
  --teal: #14b8a6;
  --line: rgba(241, 245, 249, .12);
  --brand: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--navy); color: var(--ink); }
body { font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--orange); outline-offset: 5px; border-radius: 2px; }
img { display: block; max-width: 100%; }

.page { min-height: 100vh; min-height: 100svh; position: relative; overflow: hidden; }
.wordmark { display: inline-flex; align-items: center; gap: .65rem; font: 600 .75rem/1 var(--mono); letter-spacing: .2em; }
.wordmark img { width: 30px; height: 30px; }
.eyebrow { margin: 0; color: var(--orange); font: 600 .75rem/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: .65rem; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(249, 115, 22, .1); }
.lede { color: var(--muted); max-width: 38rem; }
.links { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; font: 500 .78rem/1.4 var(--mono); }
.links a { padding-block: .35rem; border-bottom: 1px solid var(--line); transition: color .2s, border-color .2s; }
.links a:hover { color: var(--ink); border-color: var(--orange); }
.links a:first-child { color: var(--ink); }
.arrow { color: var(--orange); }

/* Focus: a quiet, centered typographic field. */
.focus { display: grid; grid-template-rows: auto 1fr auto; padding: clamp(1.5rem, 4vw, 3rem); text-align: center; }
.focus header { justify-self: center; }
.focus .wordmark { gap: .8rem; font-size: 1rem; }
.focus .wordmark img { width: 42px; height: 42px; }
.focus main { align-self: center; justify-self: center; max-width: 76rem; padding-block: 4rem; }
.focus h1 { margin: 1.6rem auto 0; font: 800 clamp(3.5rem, 9.5vw, 8.75rem)/.88 var(--brand); letter-spacing: -.075em; }
.focus h1 span { display: block; color: var(--orange); }
.focus .lede { margin: 2rem auto 0; font-size: clamp(1rem, 1.5vw, 1.18rem); }
.focus footer { display: flex; justify-content: center; }

/* Chapter: an editorial, asymmetric composition. */
.chapter { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(18rem, .85fr); }
.chapter::after { content: ''; position: absolute; inset: 0 38% 0 auto; width: 1px; background: var(--line); }
.chapter-copy { z-index: 1; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(1.5rem, 5vw, 4.5rem); }
.chapter main { margin-block: auto; padding: 5rem 0; }
.chapter h1 { max-width: 10ch; margin: 1.2rem 0 1.8rem; font: 800 clamp(4rem, 8vw, 8.25rem)/.89 var(--brand); letter-spacing: -.072em; }
.chapter h1 em { color: var(--orange); font-style: normal; }
.chapter .lede { max-width: 32rem; margin: 0; }
.chapter .links { margin-top: 2.25rem; }
.chapter-art { position: relative; min-height: 100vh; min-height: 100svh; background: #080b14; overflow: hidden; }
.chapter-art img { position: absolute; width: min(62vw, 56rem); max-width: none; right: -28%; top: 50%; transform: translateY(-50%) rotate(-7deg); opacity: .12; filter: grayscale(1) brightness(1.8); }
.chapter-number { position: absolute; right: clamp(1.5rem, 4vw, 3rem); top: clamp(1.5rem, 4vw, 3rem); color: var(--muted); font: 500 .75rem/1 var(--mono); letter-spacing: .16em; writing-mode: vertical-rl; }
.chapter-rule { position: absolute; left: 16%; bottom: 11%; width: 4rem; height: 4rem; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); }

/* Signal: a restrained split field with native CSS geometry. */
.signal { display: grid; grid-template-columns: minmax(18rem, .88fr) minmax(0, 1.12fr); padding: clamp(1.25rem, 3vw, 2.5rem); gap: clamp(2rem, 6vw, 7rem); }
.signal-copy { z-index: 2; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(.25rem, 2vw, 1.5rem); }
.signal main { margin-block: auto; padding: 4rem 0; }
.signal h1 { max-width: 9ch; margin: 1.35rem 0 1.8rem; font: 800 clamp(3.75rem, 7vw, 7.25rem)/.91 var(--brand); letter-spacing: -.07em; }
.signal .lede { max-width: 31rem; }
.signal .links { margin-top: 2.2rem; }
.signal-art { position: relative; min-height: calc(100vh - clamp(2.5rem, 6vw, 5rem)); min-height: calc(100svh - clamp(2.5rem, 6vw, 5rem)); border-left: 1px solid var(--line); overflow: hidden; }
.signal-art::before, .signal-art::after { content: ''; position: absolute; border-radius: 50%; }
.signal-art::before { width: min(48vw, 42rem); aspect-ratio: 1; left: 12%; top: 50%; transform: translateY(-50%); border: 1px solid rgba(20, 184, 166, .45); box-shadow: 0 0 0 5rem rgba(20, 184, 166, .025), 0 0 0 10rem rgba(20, 184, 166, .018); }
.signal-art::after { width: 11px; height: 11px; left: calc(12% - 5px); top: 50%; background: var(--orange); box-shadow: 0 0 0 7px rgba(249, 115, 22, .12); }
.signal-mark { position: absolute; width: min(22vw, 18rem); left: calc(12% + min(13vw, 12rem)); top: 50%; transform: translate(-50%, -50%); }
.signal-mark img { filter: grayscale(1) brightness(2.5); opacity: .92; }
.signal-line { position: absolute; left: 12%; right: 0; top: 50%; height: 1px; background: linear-gradient(90deg, var(--orange), rgba(249,115,22,.18) 25%, var(--line) 25%); }
.signal-label { position: absolute; right: 0; bottom: 1.5rem; color: var(--muted); font: 500 .75rem/1.5 var(--mono); letter-spacing: .12em; text-align: right; text-transform: uppercase; }

/* Comparison lab, visually separate from the production proposals. */
.lab { background: #eef1f5; color: #121722; }
.lab-shell { max-width: 1500px; margin: 0 auto; padding: 3rem clamp(1rem, 4vw, 4rem) 5rem; }
.lab-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.5rem; }
.lab-kicker { margin: 0 0 .7rem; color: #c4500b; font: 600 .72rem/1.4 var(--mono); letter-spacing: .15em; text-transform: uppercase; }
.lab h1 { margin: 0; font: 800 clamp(2.5rem, 5vw, 5rem)/.95 var(--brand); letter-spacing: -.055em; }
.lab-intro { max-width: 31rem; margin: 0; color: #596273; }
.recommendation { max-width: 1500px; margin: 0 auto 1.5rem; padding: 0 clamp(1rem, 4vw, 4rem); color: #596273; }
.recommendation strong { color: #121722; }
.preview-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.preview { margin: 0; min-width: 0; }
.preview-window { aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid #cbd2dd; border-radius: .35rem; background: var(--navy); box-shadow: 0 1rem 3rem rgba(20, 30, 48, .08); }
.preview iframe { width: 160%; height: 160%; border: 0; transform: scale(.625); transform-origin: left top; pointer-events: none; }
.preview figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-top: .9rem; }
.preview-name { font: 700 1rem/1.3 var(--brand); }
.preview a { color: #596273; font: 600 .72rem/1.4 var(--mono); border-bottom: 1px solid #adb6c4; }
.preview a:hover { color: #c4500b; border-color: #c4500b; }

@media (max-width: 900px) {
  .chapter, .signal { grid-template-columns: 1fr; }
  .chapter::after { display: none; }
  .chapter-copy, .signal-copy { min-height: 100vh; min-height: 100svh; }
  .chapter-art, .signal-art { display: none; }
  .chapter h1, .signal h1 { max-width: 10ch; }
  .preview-grid { grid-template-columns: 1fr; }
  .preview-window { aspect-ratio: 16 / 9; }
}

@media (max-width: 640px) {
  .lab-head { display: block; }
  .lab-intro { margin-top: 1rem; }
  .focus { padding: 1.25rem; }
  .focus h1 { font-size: clamp(3.2rem, 18vw, 5.3rem); }
  .focus .lede { max-width: 29rem; }
  .chapter-copy, .signal-copy { padding: 1.25rem; }
  .chapter h1, .signal h1 { font-size: clamp(3.35rem, 17vw, 5.4rem); }
  .links { gap: 1rem 1.3rem; }
  .preview iframe { width: 200%; height: 200%; transform: scale(.5); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
