/* PMStack — shared design system */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --paper: #f5f3ee;
  --paper-2: #ece9e1;
  --card: #fbfaf7;
  --ink: #121417;
  --ink-2: #2a2d33;
  --muted: #5d6169;
  --line: #dcd8ce;
  --line-strong: #c4bfb2;
  --night: #0d1012;
  --night-2: #161a1d;
  --night-line: #2a3034;
  --night-text: #e9e7e1;
  --night-muted: #9a9d9f;
  --accent: #7d5a2c;
  --accent-ink: #5c4120;
  --accent-soft: #efe5d3;
  --brass: #b08d57;
  --signal: #c8a26a;

  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 4px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

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

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 7.2vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4.8vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.015em;
}
.h3 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.lede {
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 620px;
}
em.serif, .serif-i { font-family: var(--serif); font-style: italic; font-weight: 400; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font: 500 15px/1 var(--sans);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  white-space: nowrap;
}
.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--accent-ink); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost-light { border-color: rgba(255,255,255,0.35); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; }

.text-link {
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.text-link:hover { border-color: currentColor; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
  border-bottom: 1px solid transparent;
  --nav-h: 72px;
}
/* Once scrolled, the bar and logo shrink to 80%; the links to 88% so they stay readable */
.nav.scrolled { --nav-h: 58px; }
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  transition: height 0.3s ease;
}
.nav .wordmark, .nav-links, .nav-toggle { transition: transform 0.3s ease; }
.nav .wordmark { transform-origin: 0 50%; }
.nav-links, .nav-toggle { transform-origin: 100% 50%; }
/* The scale pivots on the wordmark's layout box, which sits below the plate: drop it back to centre */
.nav.scrolled .wordmark { transform: translateY(4px) scale(0.8); }
.nav.scrolled .nav-links, .nav.scrolled .nav-toggle { transform: scale(0.88); }
@media (prefers-reduced-motion: reduce) {
  .nav .wrap, .nav .wordmark, .nav-links, .nav-toggle { transition: none; }
}
.nav.on-dark { color: #fff; }
.nav.scrolled, .nav.solid {
  background: rgba(245, 243, 238, 0.86);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-color: var(--line);
  color: var(--ink);
}
.wordmark {
  display: inline-flex;
  align-items: baseline;
  font-size: 27px;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  /* Brass for the house's node and .ai: darker on paper, lighter on night. The house and PM take currentColor. */
  --logo-b: #9a7444;
}
.nav.on-dark:not(.scrolled):not(.open) .wordmark, .footer .wordmark { --logo-b: #d2b07a; }
/* The nav-size cut of the open-frame house (see .build-src/logo/build_logo.py). PM stands on the
   text baseline; the floor hangs below it (top offset set inline). */
/* Lift the nav wordmark so the glass plate sits optically centred in the bar (a touch above true centre) */
.nav .wordmark { position: relative; top: -12px; }
.wordmark .logo-house { display: block; flex: none; position: relative; overflow: visible; max-width: none; }
.wordmark .logo-text { display: inline-flex; align-items: baseline; font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-weight: 500; letter-spacing: 0.005em; }
.wordmark .logo-ai { font-family: var(--mono); font-weight: 400; letter-spacing: -0.08em; color: var(--logo-b); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a:not(.btn) {
  font-size: 14px;
  text-decoration: none;
  opacity: 0.78;
  transition: opacity 0.2s;
}
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { opacity: 1; }
.nav .btn { padding: 10px 18px; font-size: 14px; }
.nav.on-dark:not(.scrolled) .btn-primary { background: #fff; color: var(--ink); }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: inherit;
  width: 40px;
  height: 40px;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 20px; height: 1.5px; background: currentColor; margin: 5px auto; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    transform: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--paper);
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.open .nav-links { display: flex; }
  .nav.open { background: var(--paper); color: var(--ink); }
  .nav-links a:not(.btn) { padding: 14px 0; font-size: 17px; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 18px; }
  .nav.open .btn-primary { background: var(--ink); color: var(--paper); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(100svh, 960px);
  display: flex;
  align-items: flex-start;
  color: var(--ink);
  background: var(--paper);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: settle 2.4s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes settle { to { transform: scale(1); } }
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  /* Morning light: a soft paper wash behind the copy, the homes left clear below */
  background:
    linear-gradient(90deg, rgba(245,243,238,0.8) 0%, rgba(245,243,238,0.55) 38%, rgba(245,243,238,0) 66%),
    linear-gradient(180deg, rgba(245,243,238,0.72) 0%, rgba(245,243,238,0.5) 40%, rgba(245,243,238,0.08) 66%, rgba(245,243,238,0) 100%);
}
.hero-inner { position: relative; width: 100%; padding-top: 140px; padding-bottom: clamp(48px, 8vh, 96px); }
.hero .eyebrow { color: var(--ink-2); font-weight: 500; margin-bottom: 28px; }
.hero h1 { max-width: 1000px; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  margin-top: 40px;
}
.hero .lede { color: var(--ink-2); max-width: 46ch; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
/* Bright hero: copy and buttons stack on the left, the homes stay clear on the right */
.hero .hero-foot { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 32px; }
.hero .btn-ghost { background: rgba(245,243,238,0.72); border-color: rgba(18,20,23,0.25); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero .btn-ghost:hover { border-color: var(--ink); }
/* A faint white glow behind the copy, just enough to lift it off the rooftops */
.hero .hero-foot { position: relative; isolation: isolate; }
.hero .hero-foot::before {
  content: '';
  position: absolute;
  inset: -56px auto -48px -96px;
  width: min(820px, calc(100% + 96px));
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse closest-side at 46% 50%, rgba(255,255,255,0.5), rgba(255,255,255,0.28) 55%, rgba(255,255,255,0) 100%);
}
.hero .mnote { font-size: 14px; margin-top: 16px; color: var(--accent-ink); font-weight: 500; }
@media (max-width: 860px) {
  .hero-foot { grid-template-columns: minmax(0, 1fr); }
}

.page-hero {
  padding: 168px 0 72px;
  border-bottom: 1px solid var(--line);
}
.page-hero .eyebrow { margin-bottom: 24px; }
.page-hero .display { font-size: clamp(44px, 6.4vw, 92px); max-width: 1000px; }
.page-hero .lede { margin-top: 28px; }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(80px, 11vw, 148px) 0; }
.section-tight { padding: clamp(56px, 7vw, 96px) 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head .eyebrow { margin-bottom: 20px; }
@media (max-width: 860px) { .section-head { grid-template-columns: minmax(0, 1fr); } }

.dark { background: var(--night); color: var(--night-text); }
.dark .eyebrow, .dark .muted, .dark .lede { color: var(--night-muted); }
.alt { background: var(--paper-2); }
.rule { border-top: 1px solid var(--line); }
.dark .rule { border-color: var(--night-line); }

/* Segments strip */
.segments {
  border-bottom: 1px solid var(--line);
}
.segments .wrap {
  display: grid;
  grid-template-columns: auto repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 28px;
}
.segments .seg { font-size: 15px; color: var(--ink-2); display: flex; align-items: center; gap: 10px; }
.segments .seg::before { content: ''; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; flex: none; }
@media (max-width: 960px) {
  .segments .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .segments .wrap > .eyebrow { grid-column: 1 / -1; }
}

/* Thesis / stack diagram */
.thesis { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.thesis p + p { margin-top: 18px; }
.thesis .pull { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.25; color: var(--ink); margin: 32px 0; padding-left: 20px; border-left: 2px solid var(--brass); }
@media (max-width: 960px) { .thesis { grid-template-columns: minmax(0, 1fr); } }

.stack { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.stack-layer { border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--card); padding: 18px 20px; }
.stack-layer header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; gap: 12px; }
.stack-layer header b { font-weight: 500; font-size: 15px; }
.stack-layer header span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-family: var(--mono); font-size: 12px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink-2); }
.stack-layer.harness { background: var(--ink); color: var(--paper); border-color: var(--ink); padding: 24px 20px; }
.stack-layer.harness header span { color: #a7aaad; }
.stack-layer.harness .chip { background: transparent; border-color: #3a3f44; color: #e9e7e1; }
.stack-layer.harness .chip.hl { border-color: var(--signal); color: #ecd5a8; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.pillar { padding: 28px 24px 32px 0; border-right: 1px solid var(--line); }
.pillar + .pillar { padding-left: 24px; }
.pillar:last-child { border-right: 0; }
.pillar .num { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.08em; }
.pillar .h3 { margin: 40px 0 12px; }
.pillar p { font-size: 15px; color: var(--muted); }
.pillar .example { margin-top: 20px; font-family: var(--mono); font-size: 12px; line-height: 1.55; color: var(--accent-ink); }
@media (max-width: 1080px) {
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar, .pillar + .pillar { padding: 28px 24px 32px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .pillar:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .pillar:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* Image band */
.band { position: relative; min-height: min(80vh, 760px); padding: 96px 0; display: flex; align-items: center; overflow: hidden; color: #fff; }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,10,12,0.9) 0%, rgba(8,10,12,0.6) 45%, rgba(8,10,12,0.15) 100%); }
.band .wrap { position: relative; z-index: 1; width: 100%; }
.band .eyebrow { color: rgba(255,255,255,0.7); margin-bottom: 20px; }
.band .lede { color: rgba(255,255,255,0.78); margin-top: 24px; }

/* Model routing */
.routing { margin-top: 56px; max-width: 760px; border-top: 1px solid rgba(255,255,255,0.18); }
.route { display: grid; grid-template-columns: minmax(0, 1.4fr) 40px minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.12); font-size: 15px; }
.route .line { height: 1px; background: linear-gradient(90deg, rgba(255,255,255,0.15), var(--signal)); position: relative; }
.route .line::after { content: ''; position: absolute; right: -2px; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px rgba(200,162,106,0.2); }
.route .model { font-family: var(--mono); font-size: 13px; color: #cfe9dd; }
@media (max-width: 600px) {
  .route { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .route .line { display: none; }
}

/* Workflow grid */
.workflows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.wf { background: var(--paper); padding: 32px 28px 36px; display: flex; flex-direction: column; min-height: 340px; }
.wf .num { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.wf .h3 { margin: auto 0 12px; padding-top: 48px; }
.wf p { font-size: 15px; color: var(--muted); }
.wf.media { padding: 0; position: relative; overflow: hidden; color: #fff; }
.wf.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(.2,.7,.2,1); }
.wf.media:hover img { transform: scale(1.03); }
.wf.media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,10,12,0.05) 0%, rgba(8,10,12,0.35) 40%, rgba(8,10,12,0.88) 100%); }
.wf.media .inner { position: relative; z-index: 1; padding: 32px 28px 36px; margin-top: auto; }
.wf.media .num, .wf.media p { color: rgba(255,255,255,0.8); }
.wf.media .h3 { padding-top: 12px; margin-top: 0; }
@media (max-width: 960px) { .workflows { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .workflows { grid-template-columns: minmax(0, 1fr); } }

/* Operators */
.operators { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.operator figure { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); margin-bottom: 24px; background: var(--paper-2); }
.operator figure img { width: 100%; height: 100%; object-fit: cover; }
.operator .eyebrow { margin-bottom: 12px; }
.operator .h3 { font-family: var(--serif); font-size: 30px; line-height: 1.1; margin-bottom: 12px; }
.operator p { color: var(--muted); font-size: 15px; }
.operator ul { list-style: none; margin-top: 20px; border-top: 1px solid var(--line); }
.operator li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; display: flex; gap: 10px; }
.operator li::before { content: '→'; color: var(--accent); }
@media (max-width: 960px) { .operators { grid-template-columns: minmax(0, 1fr); } .operator figure { aspect-ratio: 16 / 10; } }
/* Homepage: shorter images, no bullet lists */
.operators.compact .operator figure { aspect-ratio: 16 / 10; margin-bottom: 18px; }
.operators.compact .operator .h3 { font-size: 26px; }

/* Review surface mock */
/* ---------- Case study ---------- */
.case { padding: clamp(64px, 8vw, 112px) 0; }
.case-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 4.5vw, 56px); }
@media (max-width: 960px) { .case-top { grid-template-columns: minmax(0, 1fr); } }
.case-logo { display: block; height: 36px; width: auto; margin-bottom: 22px; }
.case .h2 { font-size: clamp(32px, 3.6vw, 50px); margin-top: 14px; text-wrap: balance; }
.case .lede { font-size: 17px; }
.consolidate { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.consolidate ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.consolidate li { font-size: 13px; color: var(--night-muted); border: 1px dashed var(--night-line); border-radius: 999px; padding: 4px 10px; text-decoration: line-through; text-decoration-color: rgba(154, 157, 159, 0.5); }
.consolidate .to { color: var(--brass); font-size: 18px; }
.consolidate b { font-weight: 500; font-size: 14px; color: #fff; border: 1px solid var(--brass); border-radius: 999px; padding: 4px 12px; }
.case-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 960px) { .case-grid { grid-template-columns: minmax(0, 1fr); } }
.case-side { display: grid; gap: 24px; }
.case-label { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass); border: 1px solid rgba(176, 141, 87, 0.45); border-radius: 999px; padding: 4px 10px; margin-bottom: 16px; }
.case-quote blockquote { font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); line-height: 1.24; color: #fff; padding-left: 20px; border-left: 2px solid var(--brass); text-wrap: pretty; }
.case-quote figcaption { margin-top: 14px; padding-left: 22px; font-weight: 500; color: #fff; display: grid; gap: 2px; }
.case-quote figcaption span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 400; color: var(--night-muted); }
/* The guest's text, shown as the message it was */
.sms { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding-left: 22px; }
.sms-bubble { background: #2c3136; color: #f2f0eb; font-size: 16px; line-height: 1.35; padding: 9px 15px; border-radius: 18px 18px 18px 6px; }
.sms figcaption { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; color: var(--night-muted); }
/* Screenshot in a browser frame, cropped to the top of the page */
.case-shot { border-radius: 8px; overflow: hidden; border: 1px solid var(--night-line); background: var(--night-2); }
.case-shot .frame-bar { display: flex; align-items: center; gap: 6px; padding: 9px 14px; border-bottom: 1px solid var(--night-line); }
.case-shot .frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--night-line); }
.case-shot .frame-bar span { margin-left: 10px; font-family: var(--mono); font-size: 11px; color: var(--night-muted); }
.case-shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10.5; object-fit: cover; object-position: top; }
.case-facts { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--night-line); }
.case-facts div { padding: 18px 20px 0 0; }
.case-facts div + div { padding-left: 20px; border-left: 1px solid var(--night-line); }
.case-facts dt { font-family: var(--serif); font-size: 28px; line-height: 1.1; color: #fff; }
.case-facts dd { margin-top: 4px; font-size: 14px; color: var(--night-muted); max-width: 34ch; }
@media (max-width: 760px) {
  .case-facts { grid-template-columns: minmax(0, 1fr); }
  .case-facts div + div { border-left: 0; padding-left: 0; padding-top: 18px; }
}

.review { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
@media (max-width: 960px) { .review { grid-template-columns: minmax(0, 1fr); } }
.review ul.points { list-style: none; margin-top: 32px; }
.review ul.points li { padding: 16px 0; border-top: 1px solid var(--night-line); display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; font-size: 15px; }
.review ul.points li b { font-weight: 500; color: #fff; }
.review ul.points li span { color: var(--night-muted); }
@media (max-width: 480px) { .review ul.points li { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

.console {
  background: #f7f6f2;
  color: var(--ink);
  border-radius: 10px;
  box-shadow: 0 40px 100px -30px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.06);
  overflow: hidden;
  font-size: 14px;
}
.console-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; border-bottom: 1px solid var(--line); background: #efede7; }
.console-bar .dots { display: flex; gap: 6px; }
.console-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: #d3cfc5; display: block; }
.console-bar .title { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.console-body { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.decision { border: 1px solid var(--line); border-radius: 6px; background: #fff; padding: 16px 18px; }
.decision .top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.decision .kind { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.decision .score { font-family: var(--mono); font-size: 11px; color: var(--muted); white-space: nowrap; }
.decision .score b { color: var(--accent-ink); font-weight: 500; }
.decision h4 { font-weight: 500; font-size: 15px; margin: 6px 0 4px; }
.decision p { color: var(--muted); font-size: 13px; line-height: 1.5; }
.decision .facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 12px 0; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.decision .facts div { font-size: 12px; color: var(--muted); }
.decision .facts b { display: block; font-weight: 500; font-size: 14px; color: var(--ink); }
.decision .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.decision .actions span { font-size: 12px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); }
.decision .actions span.go { background: var(--ink); color: #fff; border-color: var(--ink); }
.decision.quiet { opacity: 0.72; }
.decision.quiet h4 { font-size: 14px; }
.log { font-family: var(--mono); font-size: 12px; color: var(--muted); padding: 4px 2px 0; display: flex; flex-direction: column; gap: 6px; }
.log span b { color: var(--accent); font-weight: 500; }

/* Proof */
.proof { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.proof figure { aspect-ratio: 5 / 4; overflow: hidden; border-radius: var(--radius); }
.proof figure img { width: 100%; height: 100%; object-fit: cover; }
.proof-list { margin-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.proof-list div { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; display: flex; gap: 10px; align-items: center; }
.proof-list div::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); flex: none; }
@media (max-width: 960px) { .proof { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .proof-list { grid-template-columns: minmax(0, 1fr); } }

/* Phases */
.phases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line-strong); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.phase { background: var(--paper); padding: 36px 32px 40px 0; }
.phase + .phase { padding-left: 32px; }
.phase .when { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.06em; }
.phase .h2 { font-size: clamp(36px, 3.6vw, 48px); margin: 20px 0 14px; }
.phase p { color: var(--muted); font-size: 15px; }
.phase ul { list-style: none; margin-top: 24px; }
.phase li { font-size: 14px; padding: 9px 0; border-top: 1px solid var(--line); }
.alt .phase { background: var(--paper-2); }
@media (max-width: 960px) {
  .phases { grid-template-columns: minmax(0, 1fr); }
  .phase, .phase + .phase { padding: 32px 0; }
}

/* CTA */
.cta { position: relative; overflow: hidden; color: #fff; background: var(--night); }
.cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.cta::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,10,12,0.85), rgba(8,10,12,0.35)); }
.cta .wrap { position: relative; z-index: 1; padding-top: clamp(72px, 9vw, 128px); padding-bottom: clamp(72px, 9vw, 128px); }
.cta .eyebrow { color: rgba(255,255,255,0.7); margin-bottom: 24px; }
.cta .display { font-size: clamp(44px, 6vw, 88px); max-width: 900px; }
.cta .lede { color: rgba(255,255,255,0.78); margin: 28px 0 40px; }
.cta .hero-ctas { margin-top: 0; }

/* Detail rows (harness / approach pages) */
.detail { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--line); }
.detail:first-child { border-top: 0; }
.detail .num { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.08em; }
.detail .h2 { margin-top: 16px; font-size: clamp(36px, 4vw, 56px); }
.detail .body > p { font-size: 18px; color: var(--ink-2); }
.detail .body > p + p { margin-top: 16px; }
.detail .grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin-top: 32px; }
.detail .item { padding: 18px 0; border-top: 1px solid var(--line); }
.detail .item b { display: block; font-weight: 500; margin-bottom: 4px; }
.detail .item span { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .detail { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .detail .grid2 { grid-template-columns: minmax(0, 1fr); } }

.code {
  margin-top: 28px;
  background: var(--night);
  color: #d8d6cf;
  border-radius: 8px;
  padding: 20px 22px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
  overflow-x: auto;
  white-space: pre;
}
.code .k { color: #8fcfb4; }
.code .s { color: #d9c08f; }
.code .c { color: #6f7579; }

.connectors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 32px; }
.connectors > div { background: var(--card); padding: 20px; }
.connectors b { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-bottom: 10px; }
.connectors span { font-size: 15px; line-height: 1.7; }
@media (max-width: 760px) { .connectors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .connectors { grid-template-columns: minmax(0, 1fr); } }

.split-img { aspect-ratio: 21 / 9; overflow: hidden; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .split-img { aspect-ratio: 4 / 3; } }

/* Principles */
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 80px); }
.principle { padding: 28px 0; border-top: 1px solid var(--night-line); }
.principle .h3 { color: #fff; margin-bottom: 8px; }
.principle p { color: var(--night-muted); font-size: 15px; }
@media (max-width: 760px) { .principles { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font-size: 19px; font-weight: 500; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 20px; font-size: 24px; font-weight: 300; color: var(--muted); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 40px 24px 0; color: var(--muted); }

/* Session page */
.session { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); padding-top: 152px; padding-bottom: clamp(80px, 10vw, 140px); }
@media (max-width: 960px) { .session { grid-template-columns: minmax(0, 1fr); padding-top: 128px; } .form-card { position: static; } }
.session .display { font-size: clamp(44px, 5.6vw, 80px); margin: 24px 0; }
.agenda { margin-top: 48px; counter-reset: step; }
.agenda li { list-style: none; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 24px 0; border-top: 1px solid var(--line); }
.agenda li::before { counter-increment: step; content: '0' counter(step); font-family: var(--mono); font-size: 12px; color: var(--muted); padding-top: 4px; }
.agenda li b { display: block; font-weight: 500; margin-bottom: 4px; }
.agenda li span { color: var(--muted); font-size: 15px; }
.session-meta { display: flex; flex-wrap: wrap; gap: 8px; }

.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: clamp(24px, 3vw, 36px); position: sticky; top: 100px; align-self: start; }
.form-card h2 { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.1; margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.field input, .field select, .field textarea {
  font: 400 15px/1.4 var(--sans);
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 12px 14px;
  width: 100%;
  transition: border-color 0.2s, background 0.2s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
@media (max-width: 480px) { .field-row { grid-template-columns: minmax(0, 1fr); } }
.form-card .btn { width: 100%; justify-content: center; margin-top: 8px; padding: 16px; }
.form-note { font-size: 12px; color: var(--muted); margin-top: 14px; text-align: center; }
.form-done { display: none; text-align: left; }
.form-done .check { width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 20px; font-size: 20px; }
.form-card.sent form { display: none; }
.form-card.sent .form-done { display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: var(--night-muted); font-size: 14px; }
.footer .wrap { padding-top: 72px; padding-bottom: 40px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--night-line); }
.footer .wordmark { color: #fff; margin-bottom: 16px; }
.footer p { max-width: 360px; }
.footer h4 { font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #6f7579; margin-bottom: 16px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer a { text-decoration: none; color: var(--night-text); opacity: 0.8; }
.footer a:hover { opacity: 1; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; font-size: 13px; }
@media (max-width: 760px) { .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-top > div:first-child { grid-column: 1 / -1; } }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.9s cubic-bezier(.2,.7,.2,1), transform 0.9s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media img { animation: none; transform: none; }
  html { scroll-behavior: auto; }
}

/* ======================================================================
   v2 components — applied-AI positioning
   ====================================================================== */

/* Margin notes: plain copy above, the technical layer in small mono */
.mnote {
  display: block;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: var(--accent-ink);
}
.mnote::before { content: '↳ '; opacity: 0.7; }
.dark .mnote, .band .mnote, .cta .mnote { color: #e2c48f; }

/* Skeptic section */
.stance { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.stance .h2 { font-size: clamp(34px, 4vw, 56px); }
.stance .body p { font-size: 17px; color: var(--ink-2); }
.stance .body p + p { margin-top: 12px; }
.stance .body p.quiet { color: var(--muted); font-size: 16px; }
@media (max-width: 960px) { .stance { grid-template-columns: minmax(0, 1fr); } }

/* Numbered list grid (obstacles, not-yet) */
.numgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); }
.numgrid > div { padding: 28px 0 32px; border-top: 1px solid var(--line-strong); }
.numgrid .num { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.numgrid .h3 { margin: 18px 0 10px; }
.numgrid p { font-size: 15px; color: var(--muted); }
.dark .numgrid > div { border-color: var(--night-line); }
.dark .numgrid .h3 { color: #fff; }
.dark .numgrid p { color: var(--night-muted); }
@media (max-width: 960px) { .numgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .numgrid { grid-template-columns: minmax(0, 1fr); } }

/* Before / after comparison */
.compare { border-bottom: 1px solid var(--line-strong); }
.compare-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 4fr) minmax(0, 5fr); gap: clamp(20px, 3vw, 48px); padding: 26px 0; border-top: 1px solid var(--line); align-items: start; }
.compare-row.head { border-top: 1px solid var(--line-strong); padding: 14px 0; }
.compare-row.head span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.compare-row .wf-name { font-family: var(--serif); font-size: 26px; line-height: 1.1; }
.compare-row .today { color: var(--muted); font-size: 16px; }
.compare-row .native { font-size: 16px; color: var(--ink); padding-left: 18px; position: relative; }
.compare-row .native::before { content: ''; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); }
@media (max-width: 760px) {
  .compare-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .compare-row.head { display: none; }
  .compare-row .today::before { content: 'Today — '; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
}

/* Day-in-the-life timeline */
.timeline { margin-top: 48px; max-width: 820px; border-top: 1px solid rgba(255,255,255,0.18); }
.tl-row { display: grid; grid-template-columns: 76px 64px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.12); font-size: 15px; align-items: baseline; }
.tl-row time { font-family: var(--mono); font-size: 13px; color: #fff; }
.tl-row .who { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; padding: 3px 0; color: #e2c48f; }
.tl-row .who.team { color: #d9cfb8; }
.tl-row span:last-child { color: rgba(255,255,255,0.86); }
@media (max-width: 600px) { .tl-row { grid-template-columns: 60px minmax(0, 1fr); } .tl-row .who { display: none; } }

/* Entry-point cards add a link row */
.operator .go { display: inline-block; margin-top: 20px; }

/* Partner split table */
.split-table { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); }
.split-table h3 { font-family: var(--mono); font-weight: 400; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding-bottom: 16px; border-bottom: 1px solid var(--line-strong); }
.split-table ul { list-style: none; }
.split-table li { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.split-table .col-us h3 { color: var(--accent); }
@media (max-width: 760px) { .split-table { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

.models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong); }
.models > div { background: var(--paper); padding: 32px 28px 36px; }
.models .when { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.models .h2 { font-size: clamp(32px, 3vw, 42px); margin: 18px 0 12px; }
.models p { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .models { grid-template-columns: minmax(0, 1fr); } }

/* Notes (essays) */
.notes-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.note-card { display: flex; flex-direction: column; padding-top: 24px; border-top: 1px solid var(--line-strong); text-decoration: none; }
.note-card .meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.note-card h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; margin: 16px 0 12px; transition: color 0.2s; }
.note-card p { color: var(--muted); font-size: 15px; }
.note-card .read { margin-top: 20px; font-size: 14px; font-weight: 500; }
.note-card:hover h3 { color: var(--accent-ink); }
@media (max-width: 860px) { .notes-grid { grid-template-columns: minmax(0, 1fr); } }

.essay { max-width: 720px; margin: 0 auto; padding: clamp(64px, 8vw, 112px) 0; border-top: 1px solid var(--line); }
.essay:first-of-type { border-top: 0; }
.essay .meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.essay h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 4.6vw, 60px); line-height: 1.02; letter-spacing: -0.015em; margin: 18px 0 28px; }
.essay p { font-size: 19px; line-height: 1.7; color: var(--ink-2); }
.essay p + p { margin-top: 20px; }
.essay h3 { font-weight: 500; font-size: 19px; margin: 40px 0 12px; }
.essay blockquote { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.3; margin: 36px 0; padding-left: 22px; border-left: 2px solid var(--brass); color: var(--ink); }
.essay .sign { margin-top: 36px; font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* Segmented choice on the session form */
.seg-choice { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 20px; }
.seg-choice input { position: absolute; opacity: 0; pointer-events: none; }
.seg-choice label { display: block; text-align: center; font-size: 13px; padding: 10px 6px; border: 1px solid var(--line-strong); border-radius: var(--radius); cursor: pointer; transition: all 0.2s; line-height: 1.25; }
.seg-choice input:checked + label { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.seg-choice input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.partner-only { display: none; }
.is-partner .partner-only { display: block; }
.is-partner .operator-only { display: none; }

/* Four-up variants */
.phases.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.phases.four .phase { padding-right: 24px; }
.phases.four .phase + .phase { padding-left: 24px; }
.phases.four .h2 { font-size: clamp(32px, 3vw, 44px); }
.numgrid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) {
  .phases.four, .numgrid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phases.four .phase, .phases.four .phase + .phase { padding: 32px 24px 36px 0; }
  .phases.four .phase:nth-child(even) { padding-left: 24px; }
}
@media (max-width: 600px) {
  .phases.four, .numgrid.four { grid-template-columns: minmax(0, 1fr); }
  .phases.four .phase, .phases.four .phase + .phase, .phases.four .phase:nth-child(even) { padding: 28px 0 32px; }
}

/* Form bits */
fieldset { border: 0; min-width: 0; }
.form-card .form-sub { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.form-error { margin-top: 12px; font-size: 14px; color: #a1442f; }
.form-card .btn .partner-only, .form-card .btn .operator-only { display: inline; }
.form-card:not(.is-partner) .btn .partner-only, .form-card.is-partner .btn .operator-only { display: none; }
.form-card label .partner-only { display: none; }
.form-card.is-partner label .partner-only { display: inline; }
.form-card.is-partner label .operator-only { display: none; }

/* ======================================================================
   Mobile refinements (≤ 600px)
   ====================================================================== */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .display { font-size: clamp(40px, 11.5vw, 56px); line-height: 1.02; }
  .h2 { font-size: clamp(32px, 9vw, 42px); line-height: 1.06; }
  .lede { font-size: 17px; }

  .nav .wrap { height: 64px; }
  .nav-links { inset: 64px 0 auto 0; max-height: calc(100svh - 64px); overflow-y: auto; }
  .nav-links .btn { width: 100%; justify-content: center; padding: 15px; }
  .nav-toggle { margin-right: -8px; width: 44px; height: 44px; }

  .hero { min-height: min(100svh, 820px); }
  .hero-inner { padding-top: 112px; padding-bottom: 40px; }
  .hero .eyebrow { margin-bottom: 18px; }
  .hero-foot { margin-top: 24px; gap: 24px; }
  .hero-ctas { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-ctas .btn { justify-content: center; padding: 16px 22px; }
  .eyebrow { font-size: 11px; letter-spacing: 0.12em; }

  .page-hero { padding: 116px 0 48px; }
  .page-hero .display { font-size: clamp(40px, 11vw, 54px); }
  .section-head { margin-bottom: 36px; gap: 16px; }

  .segments .wrap { gap: 14px 16px; padding-top: 22px; padding-bottom: 22px; }
  .segments .seg { font-size: 14px; }

  .stance .h2 { font-size: clamp(32px, 9vw, 42px); }
  .stance .body p { font-size: 17px; }

  .compare-row { padding: 22px 0; }
  .compare-row .wf-name { font-size: 26px; margin-bottom: 4px; }
  .compare-row .today, .compare-row .native { font-size: 15px; }
  .compare-row .native { margin-top: 6px; }

  .band { min-height: 0; padding: 72px 0; }
  .band::after { background: linear-gradient(180deg, rgba(8,10,12,0.82), rgba(8,10,12,0.9)); }
  .timeline { margin-top: 32px; }
  .tl-row { gap: 12px; font-size: 14px; padding: 14px 0; }

  .review { gap: 40px; }
  .review ul.points li { padding: 14px 0; }
  .console { font-size: 13px; border-radius: 8px; }
  .console-body { padding: 12px; }
  .decision { padding: 14px; }
  .decision .facts b { font-size: 13px; }
  .decision .actions span { padding: 8px 12px; }

  .operator .h3 { font-size: 28px; }
  .operator figure { aspect-ratio: 3 / 2; margin-bottom: 20px; }
  .operator li { padding: 12px 0; }
  .operators { gap: 56px; }

  .detail { padding: 48px 0; gap: 20px; }
  .detail .h2 { font-size: clamp(32px, 9vw, 40px); }
  .detail .body > p { font-size: 17px; }
  .code { font-size: 12px; padding: 16px; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); border-radius: 0; }

  .split-table li { padding: 14px 0; font-size: 15px; }
  .models > div { padding: 28px 20px 30px; }

  .note-card h3 { font-size: 28px; }
  .essay { padding: 56px 0; }
  .essay p { font-size: 17px; line-height: 1.68; }
  .essay h2 { font-size: clamp(34px, 9.5vw, 44px); }

  .faq summary { font-size: 17px; padding: 20px 36px 20px 0; }
  .faq summary::after { top: 16px; }

  .cta .wrap { padding-top: 88px; padding-bottom: 88px; }
  .cta .display { font-size: clamp(38px, 10.5vw, 52px); }
  .cta .lede { margin: 20px 0 32px; }

  .session { padding-top: 104px; gap: 48px; }
  .agenda { margin-top: 32px; }
  .agenda li { grid-template-columns: 36px minmax(0, 1fr); gap: 10px; padding: 20px 0; }
  .form-card { padding: 22px 18px; border-radius: 8px; }
  .form-card h2 { font-size: 28px; }
  .seg-choice label { font-size: 12.5px; padding: 12px 4px; }

  .footer .wrap { padding-top: 56px; }
  .footer-top { gap: 32px; padding-bottom: 40px; }
  .footer ul { gap: 4px; }
  .footer ul a { display: inline-block; padding: 6px 0; }
}

/* iOS zooms into inputs under 16px */
@media (max-width: 860px) {
  .field input, .field select, .field textarea { font-size: 16px; padding: 13px 14px; }
}

/* Session page on phones/tablets: form directly under the intro */
@media (max-width: 960px) {
  .session { row-gap: 0; }
  .session > div:first-child { display: contents; }
  .session .form-card { order: 2; margin-top: 8px; }
  .session .agenda { order: 3; margin-top: 48px; }
  .session > div:first-child > .mnote { order: 4; }
}

/* Small text over photography: brighter, a touch heavier, with a soft shadow
   so it holds up on busy parts of an image. */
.band .eyebrow, .cta .eyebrow {
  color: rgba(255,255,255,0.94);
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0,0,0,0.55), 0 0 18px rgba(0,0,0,0.45);
}
.band .eyebrow::before, .cta .eyebrow::before { opacity: 0.9; }
.band .mnote, .cta .mnote {
  color: #ecd5a8;
  text-shadow: 0 1px 2px rgba(0,0,0,0.6), 0 0 14px rgba(0,0,0,0.45);
}
.band .lede, .cta .lede {
  color: rgba(255,255,255,0.88);
  text-shadow: 0 1px 14px rgba(0,0,0,0.35);
}
.tl-row .who { font-weight: 500; }
@media (max-width: 600px) {
  .hero-media::after {
    background: linear-gradient(180deg, rgba(245,243,238,0.84) 0%, rgba(245,243,238,0.76) 52%, rgba(245,243,238,0.3) 76%, rgba(245,243,238,0) 100%);
  }
}

/* Segments strip: flowing row, labels never break mid-phrase */
.segments .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; }
.segments .seg { white-space: nowrap; }
@media (max-width: 1100px) {
  .segments .wrap { justify-content: flex-start; gap: 12px 28px; }
  .segments .wrap > .eyebrow { flex-basis: 100%; }
}
@media (max-width: 600px) {
  .segments .wrap { gap: 10px 22px; }
}

/* Line breaking: balanced headings, no single-word orphans in paragraphs */
.display, .h2, .h3, h1, h2, h3, h4, .essay blockquote, .thesis .pull { text-wrap: balance; }
p, li, .lede, .mnote, .compare-row span { text-wrap: pretty; }
@media (min-width: 601px) {
  .hero h1 em { white-space: nowrap; }
}
@media (max-width: 600px) {
  .segments .wrap { flex-direction: column; align-items: flex-start; gap: 8px; }
}
.hero h1 .line { display: block; }
.nw { white-space: nowrap; }

/* Spam trap: hidden from people and assistive tech, left for bots to fill */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Pages added for search: notes, case study, about, software, 404 ---------- */
.note-page { padding-top: 168px; }
.essay h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 5.2vw, 68px); line-height: 1.02; letter-spacing: -0.015em; margin: 18px 0 32px; }
.more-notes { max-width: 960px; margin: 0 auto; padding: 56px 0 clamp(72px, 9vw, 120px); border-top: 1px solid var(--line); }
.more-notes > .eyebrow { margin-bottom: 8px; }
.more-notes .notes-grid { margin: 24px 0 32px; }
.notes-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .notes-grid.two { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .note-page { padding-top: 116px; } .essay h1 { font-size: clamp(36px, 10vw, 46px); } }

.case-logo.on-light { margin-bottom: 28px; }
.glance { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 clamp(16px, 2.4vw, 32px); }
.glance > div { padding-top: 18px; border-top: 1px solid var(--line-strong); }
.glance dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.glance dd { margin-top: 8px; font-size: 15px; line-height: 1.45; }
@media (max-width: 960px) { .glance { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; } }
.consolidate.light { margin-top: 28px; }
.consolidate.light li { color: var(--muted); border-color: var(--line-strong); text-decoration-color: rgba(93, 97, 105, 0.5); }
.consolidate.light b { color: var(--ink); }
.case-shot.light { max-width: 960px; margin: clamp(40px, 5vw, 64px) auto 0; border-color: var(--line); background: var(--card); box-shadow: 0 24px 60px -32px rgba(18, 20, 23, 0.35); }
.case-shot.light .frame-bar { border-color: var(--line); }
.case-shot.light .frame-bar i { background: var(--line-strong); }
.case-shot.light .frame-bar span { color: var(--muted); }
.case-shot.light img { aspect-ratio: auto; }
.case .case-side .eyebrow { color: var(--night-muted); }
.case-more { margin-top: 28px; }
.case-more .text-link { color: var(--night-text); border-color: var(--night-line); }

.more-link { margin-top: 32px; }
.fineprint { margin-top: 40px; max-width: 860px; font-size: 13px; color: var(--muted); }
.lost-links { list-style: none; margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px 28px; }
