/* SortEase landing page
   Brand tokens carried over from sortease.com: forest greens, leaf accent,
   Inter for text, DM Serif Display for headlines. */

:root {
  --forest-950: #0a1607;
  --forest-900: #0c1b09;
  --forest-850: #111f0d;
  --forest-800: #162313;
  --forest-700: #1f3b1a;
  --forest-600: #2a4b24;
  --leaf: #6ec45c;
  --leaf-soft: rgba(110, 196, 92, 0.14);
  --moss: #47672f;
  --moss-mid: #537049;
  --moss-light: #82af76;
  --on-dark: #edf3ec;
  --muted-on-dark: #9bb096;

  --paper: #ffffff;
  --tint: #f3f7f1;
  --tint-2: #e8efe5;
  --line: #dce6d8;
  --ink: #0c1b09;
  --body: #26351f;
  --muted: #56674f;

  --amber: #9a4508;
  --amber-soft: #fbecd9;

  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(12, 27, 9, 0.06), 0 8px 24px rgba(12, 27, 9, 0.08);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.2), 0 24px 60px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--moss); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--leaf); color: var(--forest-900); padding: 10px 14px; border-radius: 6px; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section.tint { background: var(--tint); }
.section.dark { background: var(--forest-900); color: var(--on-dark); }
.section.dark h2, .section.dark h3, .section.dark h4 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--moss); margin-bottom: 14px;
}
.dark .eyebrow { color: var(--leaf); }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4.2vw, 50px); line-height: 1.08; letter-spacing: -0.01em; }
.h3 { font-size: 21px; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
.lead { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.6; color: var(--body); max-width: 64ch; }
.dark .lead { color: var(--on-dark); opacity: 0.92; }
.muted { color: var(--muted); }
.dark .muted { color: var(--muted-on-dark); }
.section-head { display: flex; flex-direction: column; gap: 18px; margin-bottom: clamp(36px, 5vw, 56px); max-width: 820px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 24px; border-radius: 999px;
  font-family: var(--sans); font-size: 16px; font-weight: 700; line-height: 1.2;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--leaf); color: var(--forest-900); }
.btn-primary:hover { background: #82d470; color: var(--forest-900); }
.btn-dark { background: var(--forest-900); color: #fff; }
.btn-dark:hover { background: var(--forest-700); color: #fff; }
.btn-ghost { background: transparent; color: var(--on-dark); border-color: var(--forest-600); }
.btn-ghost:hover { border-color: var(--leaf); color: #fff; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-line:hover { border-color: var(--ink); color: var(--ink); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: 15px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.text-link { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.text-link:hover { text-decoration: underline; }
.text-link::after { content: "→"; transition: transform 0.15s ease; }
.text-link:hover::after { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(12, 27, 9, 0.94);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--forest-700);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.wordmark { font-weight: 900; font-size: 24px; letter-spacing: -0.03em; color: #fff; text-decoration: none; line-height: 1; }
.wordmark span { color: var(--leaf); }
.wordmark:hover { color: #fff; }
.nav-links { display: flex; align-items: center; gap: 22px; list-style: none; }
.nav-links a { color: var(--on-dark); text-decoration: none; font-size: 15px; font-weight: 500; opacity: 0.85; white-space: nowrap; }
.nav .btn { white-space: nowrap; }
.nav-links a:hover { opacity: 1; color: #fff; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--forest-600);
  background: transparent; color: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.mobile-menu { display: none; }

@media (max-width: 1260px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav .btn { display: none; }
  .mobile-menu[data-open="true"] {
    display: block; border-top: 1px solid var(--forest-700); padding: 8px 0 20px;
  }
  .mobile-menu ul { list-style: none; display: flex; flex-direction: column; }
  .mobile-menu li a {
    display: block; padding: 13px 0; color: var(--on-dark); text-decoration: none; font-weight: 600;
    border-bottom: 1px solid var(--forest-800);
  }
  .mobile-menu .btn { margin-top: 18px; width: 100%; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 520px at 88% -10%, rgba(110, 196, 92, 0.16), rgba(110, 196, 92, 0) 70%),
    linear-gradient(rgba(130, 175, 118, 0.05) 1px, transparent 1px) 0 0 / 100% 36px,
    linear-gradient(90deg, rgba(130, 175, 118, 0.05) 1px, transparent 1px) 0 0 / 36px 100%,
    var(--forest-900);
  color: var(--on-dark);
  padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 104px);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--forest-600); border-radius: 999px; padding: 7px 16px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--moss-light); background: rgba(22, 35, 19, 0.7); margin-bottom: 26px;
}
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--leaf); flex: none; }
.hero h1 {
  font-family: var(--serif); font-weight: 400; color: #fff;
  font-size: clamp(38px, 4.6vw, 60px); line-height: 1.04; letter-spacing: -0.015em; margin-bottom: 24px;
}
.hero h1 em { font-style: italic; color: var(--leaf); }
.hero .lead { margin-bottom: 26px; color: var(--on-dark); opacity: 0.9; }
.hero-services { list-style: none; display: flex; flex-direction: column; margin-bottom: 32px; border-top: 1px solid var(--forest-700); max-width: 640px; }
.hero-services a { display: grid; grid-template-columns: 178px minmax(0, 1fr); gap: 4px 20px; padding: 14px 0; border-bottom: 1px solid var(--forest-700); text-decoration: none; color: var(--on-dark); }
.hero-services b { color: var(--leaf); font-weight: 700; font-size: 16px; line-height: 1.45; }
.hero-services span { font-size: 15.5px; line-height: 1.5; color: var(--on-dark); opacity: 0.9; }
.hero-services a:hover b { text-decoration: underline; }
@media (max-width: 640px) { .hero-services a { grid-template-columns: minmax(0, 1fr); } }
.hero-note { margin-top: 22px; font-size: 15.5px; color: var(--muted-on-dark); max-width: 54ch; }
.hero-note strong { color: var(--on-dark); font-weight: 600; }
.assurances {
  list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px;
  margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--forest-700); max-width: 620px;
}
.assurances li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--on-dark); line-height: 1.45; }
.assurances svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--leaf); }

/* Illustration: the draft quote */
.quote-card {
  background: #fbfdfa; color: var(--body); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  font-size: 14px; line-height: 1.45; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1);
}
.qc-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #fff; }
.qc-title { font-weight: 700; color: var(--ink); font-size: 14.5px; }
.qc-title small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pill.draft { background: var(--tint-2); color: var(--moss); }
.pill.draft::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--moss-light); }
.qc-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 14px; }
.qc-label { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.qc-enquiry { color: var(--ink); font-weight: 500; }
.qc-past { display: flex; flex-direction: column; gap: 6px; }
.qc-past div { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 7px 10px; background: var(--tint); border-radius: 6px; font-size: 13px; }
.qc-past b { color: var(--ink); font-weight: 700; }
.qc-past .won { color: var(--moss); font-weight: 700; }
.qc-past .lost { color: var(--muted); font-weight: 600; }
.qc-lines { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.qc-lines td { padding: 7px 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
.qc-lines td:last-child { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink); white-space: nowrap; padding-left: 12px; }
.qc-lines .src { display: block; font-size: 12px; color: var(--moss); font-weight: 600; }
.qc-lines .src::before { content: "→ "; }
.flag { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 8px; font-size: 13px; line-height: 1.4; }
.flag.warn { background: var(--amber-soft); color: var(--amber); }
.flag.info { background: var(--tint); color: var(--body); }
.flag svg { width: 16px; height: 16px; flex: none; margin-top: 1px; }
.qc-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; background: var(--forest-850); color: var(--on-dark); font-size: 13px; }
.qc-foot strong { color: #fff; }
.qc-approve { background: var(--leaf); color: var(--forest-900); font-weight: 700; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; white-space: nowrap; }
.qc-caption { margin-top: 14px; font-size: 13px; color: var(--muted-on-dark); text-align: center; }

/* ---------- Router ---------- */
.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.door {
  position: relative; display: flex; flex-direction: column; gap: 16px;
  padding: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  text-decoration: none; color: var(--body); transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.door:hover { border-color: var(--moss-light); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--body); }
.door .who { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.door blockquote { margin: 0; font-family: var(--serif); font-size: 25px; line-height: 1.2; color: var(--ink); }
.door p { color: var(--body); font-size: 16px; }
.door .offer { display: flex; flex-direction: column; gap: 6px; }
.door .offer b { font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--moss); }
.door .go { margin-top: auto; padding-top: 10px; font-weight: 700; color: var(--moss); display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); }
.door .go span:last-child { transition: transform 0.15s ease; }
.door:hover .go span:last-child { transform: translateX(4px); }

/* ---------- Constraint ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 80px); align-items: start; }
.prose { display: flex; flex-direction: column; gap: 18px; font-size: 18px; }
.prose strong { color: var(--ink); }
.stats { display: grid; gap: 14px; }
.stat { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 18px; align-items: center; padding: 20px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.stat b { font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 1; color: var(--moss); letter-spacing: -0.02em; }
.stat p { font-size: 16px; color: var(--body); }
.stat cite { display: block; margin-top: 4px; font-style: normal; font-size: 13px; color: var(--muted); }
.caveat { margin-top: 8px; padding: 18px 20px; border-left: 4px solid var(--amber); background: var(--amber-soft); border-radius: 0 var(--radius) var(--radius) 0; font-size: 16px; color: #5c3205; }
.caveat strong { color: #4a2804; }

/* Bottleneck diagram */
.bottleneck { margin-top: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 12px; }
.bottleneck svg { width: 100%; height: auto; display: block; }
.bottleneck figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* ---------- Service blocks ---------- */
.service-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 48px); align-items: start; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--tint); border: 1px solid var(--line); border-radius: 999px; margin-bottom: 26px; flex-wrap: wrap; }
.tab { border: 0; background: transparent; padding: 10px 18px; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 700; color: var(--muted); cursor: pointer; min-height: 44px; }
.tab[aria-selected="true"] { background: var(--forest-900); color: #fff; }
.tab:hover:not([aria-selected="true"]) { color: var(--ink); }
.steps { list-style: none; display: flex; flex-direction: column; counter-reset: s; }
.steps > li { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; padding: 0 0 26px; }
.steps > li::before {
  counter-increment: s; content: counter(s);
  display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--tint-2); color: var(--moss); font-weight: 800; font-size: 18px; position: relative; z-index: 1;
}
.steps > li:not(:last-child)::after { content: ""; position: absolute; left: 23px; top: 52px; bottom: 4px; width: 2px; background: var(--line); }
.steps h3 { font-size: 19px; font-weight: 700; margin: 10px 0 6px; }
.steps p { color: var(--body); font-size: 16.5px; }
.steps .key { display: inline-block; margin-top: 8px; font-size: 14.5px; font-weight: 600; color: var(--moss); }
.tint .steps > li::before { background: var(--paper); border: 1px solid var(--line); }

.aside-card { background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; display: flex; flex-direction: column; gap: 22px; position: sticky; top: 96px; }
.tint .aside-card { background: var(--paper); }
.aside-card h3 { font-size: 17px; }
.checklist { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15.5px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.checklist svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.checklist.yes svg { color: var(--moss); }
.checklist.no svg { color: #9a8d7f; }
.measure { display: flex; flex-wrap: wrap; gap: 8px; }
.measure span { font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); }
.tint .measure span { background: var(--tint); }
.aside-card .small { font-size: 14.5px; color: var(--muted); }
.aside-card hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

.questions { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 4px; }
.questions span { font-family: var(--serif); font-size: 19px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; }
.value-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.value { padding: 22px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.value b { display: block; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--moss); margin-bottom: 6px; }
.value p { font-size: 16px; }
.pullline { margin-top: 28px; font-family: var(--serif); font-size: clamp(24px, 2.6vw, 30px); line-height: 1.25; color: var(--ink); max-width: 30ch; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: p; }
.stage { display: flex; flex-direction: column; gap: 12px; padding: 26px 24px; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); position: relative; }
.stage .num { font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--moss); }
.stage h3 { font-size: 21px; }
.stage p { font-size: 15.5px; }
.stage .price { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-weight: 700; color: var(--ink); font-size: 15px; }
.stage .price small { display: block; font-weight: 500; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.stage.free { background: var(--forest-900); border-color: var(--forest-900); color: var(--on-dark); }
.stage.free h3 { color: #fff; }
.stage.free .num { color: var(--leaf); }
.stage.free .price { color: #fff; border-color: var(--forest-700); }
.stage.free .price small { color: var(--muted-on-dark); }
.stop-note { display: flex; gap: 14px; align-items: flex-start; margin-top: 28px; padding: 20px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); font-size: 16px; }
.stop-note svg { width: 22px; height: 22px; flex: none; color: var(--moss); margin-top: 1px; }
.process-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.process-meta div { padding: 18px 20px; border-radius: var(--radius); background: var(--tint-2); font-size: 15px; }
.process-meta b { display: block; color: var(--ink); margin-bottom: 4px; font-size: 15.5px; }

/* ---------- Controls ---------- */
.controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.control { padding: 24px; border-radius: var(--radius); background: var(--forest-800); border: 1px solid var(--forest-700); }
.control svg { width: 26px; height: 26px; color: var(--leaf); margin-bottom: 14px; }
.control h3 { font-size: 18px; margin-bottom: 8px; }
.control p { font-size: 15.5px; color: var(--muted-on-dark); }
.controls-foot { margin-top: 26px; font-size: 15.5px; color: var(--muted-on-dark); max-width: 70ch; }

/* ---------- AI Direction ---------- */
.direction { background: var(--forest-950); color: var(--on-dark); position: relative; overflow: hidden; }
.direction::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 420px at 0% 0%, rgba(110, 196, 92, 0.12), rgba(110, 196, 92, 0) 70%);
}
.direction .wrap { position: relative; }
.direction h2, .direction h3, .direction h4 { color: #fff; }
.dir-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: end; margin-bottom: 48px; }
.dir-head .lead { color: var(--on-dark); }
.dir-head .lead + .lead { margin-top: 16px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fact { padding: 18px; border-radius: var(--radius); background: var(--forest-800); border: 1px solid var(--forest-700); }
.fact b { display: block; font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1; color: var(--leaf); margin-bottom: 6px; }
.fact span { font-size: 14.5px; color: var(--on-dark); }
.dir-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 18px; }
.dir-card { padding: 26px; border-radius: var(--radius-lg); background: var(--forest-800); border: 1px solid var(--forest-700); display: flex; flex-direction: column; gap: 10px; }
.dir-card .k { font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--leaf); }
.dir-card h3 { font-size: 20px; }
.dir-card p { font-size: 15.5px; color: var(--muted-on-dark); }
.dir-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.method { padding: 28px; border-radius: var(--radius-lg); background: var(--forest-800); border: 1px solid var(--forest-700); }
.method > p { color: var(--on-dark); font-size: 16px; margin: 8px 0 18px; }
.method ol { list-style: none; display: flex; flex-direction: column; gap: 14px; counter-reset: m; }
.method ol li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; font-size: 15.5px; color: var(--muted-on-dark); }
.method ol li::before { counter-increment: m; content: counter(m); width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--leaf-soft); color: var(--leaf); font-weight: 800; }
.method ol li b { color: #fff; display: block; font-size: 16px; }
.sessions { list-style: none; display: flex; flex-direction: column; }
.sessions li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 14px 0; border-bottom: 1px solid var(--forest-700); }
.sessions li:first-child { padding-top: 4px; }
.sessions b { color: #fff; font-size: 16px; }
.sessions .t { font-size: 13.5px; font-weight: 700; color: var(--leaf); white-space: nowrap; }
.sessions p { grid-column: 1 / -1; font-size: 15px; color: var(--muted-on-dark); }
.isnt { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.isnt div { padding: 20px 22px; border-radius: var(--radius); border: 1px dashed var(--forest-600); font-size: 15px; color: var(--muted-on-dark); }
.isnt b { display: block; color: #fff; margin-bottom: 4px; font-size: 16px; }
.fact.wide { grid-column: 1 / -1; }
.dir-foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; margin-top: 40px; padding-top: 36px; border-top: 1px solid var(--forest-700); }
.dir-foot > div:first-child { display: flex; flex-direction: column; gap: 16px; }
.dir-price { padding: 28px; border-radius: var(--radius-lg); background: var(--forest-800); border: 1px solid var(--forest-700); }
.dir-price .inc-title { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-on-dark); }
.dir-price .checklist { color: var(--on-dark); font-size: 15.5px; gap: 9px; }
.dir-price .checklist svg { color: var(--leaf); }
.dir-price .btn { width: 100%; }
.dir-price .approve { font-size: 14.5px; color: var(--muted-on-dark); }
.dir-price .promise { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding: 14px 16px; border-radius: var(--radius); background: var(--leaf-soft); border: 1px solid rgba(110, 196, 92, 0.45); color: var(--on-dark); font-size: 15px; line-height: 1.5; }
.dir-price .promise svg { width: 22px; height: 22px; color: var(--leaf); margin-top: 1px; }
.dir-price .promise b { color: #fff; }
.dir-foot p { color: var(--on-dark); font-size: 16px; }
.dir-foot .muted { font-size: 14.5px; }
.dir-price { display: flex; flex-direction: column; gap: 16px; align-items: stretch; }
.dir-price .amount { font-family: var(--serif); font-size: 46px; line-height: 1; color: #fff; }
.dir-price .amount small { font-family: var(--sans); font-size: 15px; color: var(--muted-on-dark); margin-left: 8px; }
.ladder { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; }
.ladder span { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--forest-600); color: var(--on-dark); }
.ladder span.on { background: var(--leaf); border-color: var(--leaf); color: var(--forest-900); font-weight: 700; }
.ladder i { font-style: normal; color: var(--muted-on-dark); }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.person { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 24px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); align-items: start; }
.avatar { width: 132px; height: 132px; border-radius: 14px; overflow: hidden; background: var(--forest-800); position: relative; }
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.avatar .initials { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 44px; color: var(--leaf); }
.avatar img + .initials { display: none; }
.avatar.no-img .initials { display: flex; }
.person h3 { font-size: 23px; }
.person .role { font-size: 15px; font-weight: 600; color: var(--moss); margin: 2px 0 14px; }
.person p { font-size: 16px; }
.person p + p { margin-top: 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tags span { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--tint); color: var(--body); }
.person .li { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 700; font-size: 15px; text-decoration: none; }
.person .li svg { width: 18px; height: 18px; }
.person .li:hover { text-decoration: underline; }
.partner {
  margin: 24px 0 12px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(26px, 3.5vw, 44px);
  border-radius: var(--radius-lg); color: var(--on-dark);
  background: radial-gradient(620px 340px at 100% 0%, rgba(110, 196, 92, 0.17), rgba(110, 196, 92, 0) 70%), var(--forest-900);
}
.partner .chip { margin-bottom: 18px; }
.partner h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.12; color: #fff; margin-bottom: 16px; }
.partner p { font-size: 16.5px; color: var(--on-dark); opacity: 0.92; }
.partner p + p { margin-top: 12px; }
.partner-points { list-style: none; display: flex; flex-direction: column; }
.partner-points li { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--forest-700); }
.partner-points li:first-child { padding-top: 0; }
.partner-points li:last-child { padding-bottom: 0; border-bottom: 0; }
.partner-points b { color: var(--leaf); font-size: 16px; }
.partner-points span { font-size: 15.5px; line-height: 1.5; color: var(--on-dark); opacity: 0.9; }
@media (max-width: 960px) { .partner { grid-template-columns: minmax(0, 1fr); } }
.split-roles { margin-top: 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.split-roles div { padding: 20px 22px; border-radius: var(--radius); background: var(--tint); font-size: 15.5px; }
.split-roles b { display: block; color: var(--ink); margin-bottom: 4px; }

/* ---------- Early ---------- */
.early { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.early-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.early-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); font-size: 16px; }
.early-list .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--tint-2); color: var(--moss); display: flex; align-items: center; justify-content: center; }
.early-list .ic svg { width: 20px; height: 20px; }
.early-list b { color: var(--ink); display: block; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 22px 0; font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.35;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-weight: 500; font-size: 20px; color: var(--moss); transition: transform 0.2s ease; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list summary:hover { color: var(--moss); }
.faq-list .a { padding: 0 52px 24px 0; display: flex; flex-direction: column; gap: 12px; font-size: 16.5px; }
.faq-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 18px; }

/* ---------- Contact ---------- */
.contact { background:
    radial-gradient(800px 480px at 100% 100%, rgba(110, 196, 92, 0.14), rgba(110, 196, 92, 0) 70%),
    var(--forest-900);
  color: var(--on-dark);
}
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact h2 { color: #fff; }
.contact .lead { color: var(--on-dark); margin: 20px 0 30px; }
.oncall { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 30px; counter-reset: c; }
.oncall li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; font-size: 16.5px; color: var(--on-dark); }
.oncall li::before { counter-increment: c; content: counter(c); width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--leaf-soft); color: var(--leaf); font-weight: 800; font-size: 15px; }
.contact-card { background: var(--forest-800); border: 1px solid var(--forest-700); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.contact-card h3 { color: #fff; font-size: 19px; }
.cline { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; align-items: start; }
.cline svg { width: 20px; height: 20px; color: var(--leaf); margin-top: 3px; }
.cline .l { font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-on-dark); }
.cline a, .cline span.v { color: #fff; font-weight: 600; font-size: 17px; text-decoration: none; overflow-wrap: anywhere; }
.cline a:hover { color: var(--leaf); text-decoration: underline; }
.cline .reveal-contact { background: none; border: 0; padding: 0; font: inherit; color: #fff; font-weight: 600; font-size: 17px; text-align: left; cursor: pointer; }
.cline .reveal-contact:hover { color: var(--leaf); text-decoration: underline; }
.cline .nojs-note { color: var(--on-dark); font-size: 16px; }
.js .cline .nojs-note, html:not(.js) .cline .reveal-contact { display: none; }
.copy-btn { margin-left: 8px; background: transparent; border: 1px solid var(--forest-600); color: var(--on-dark); border-radius: 999px; font: inherit; font-size: 12.5px; font-weight: 600; padding: 3px 10px; cursor: pointer; vertical-align: 2px; }
.copy-btn:hover { border-color: var(--leaf); }
.contact-card .note { font-size: 14px; color: var(--muted-on-dark); }
.contact-card .note a { color: var(--on-dark); }
.contact-card form { display: flex; flex-direction: column; gap: 16px; }
.contact-card form h3 { font-size: 22px; margin-bottom: 2px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14.5px; font-weight: 600; color: var(--on-dark); }
.field label span { font-weight: 500; color: var(--muted-on-dark); }
.field input, .field select {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 8px;
  border: 1px solid var(--forest-600); background: var(--forest-900); color: #fff;
  font: inherit; font-size: 16px; color-scheme: dark;
}
.field input:hover, .field select:hover { border-color: var(--moss-light); }
.field input[aria-invalid="true"] { border-color: #f0a35e; }
.field .err { font-size: 14px; color: #f5b97f; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { padding: 12px 14px; border-radius: 8px; border: 1px solid #f0a35e; background: rgba(240, 163, 94, 0.12); color: #fbd9b5; font-size: 15px; }
.contact-card form .btn { width: 100%; }
.contact-card form .btn[disabled] { opacity: 0.7; cursor: default; }
.cb-done { display: flex; flex-direction: column; gap: 12px; padding: 12px 0; outline: none; }
.cb-done svg { width: 40px; height: 40px; color: var(--leaf); }
.cb-done h3 { font-size: 22px; }
.cb-done p { color: var(--on-dark); font-size: 16.5px; }
.oncall-title, .direct-title { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-on-dark); margin-bottom: 14px; }
.direct { display: flex; flex-direction: column; gap: 16px; padding-top: 28px; border-top: 1px solid var(--forest-700); }
.direct-title { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-950); color: var(--muted-on-dark); padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); font-size: 14.5px; border-top: 1px solid var(--forest-800); }
.foot { display: flex; flex-wrap: wrap; gap: 18px 32px; justify-content: space-between; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot a { color: var(--on-dark); text-decoration: none; }
.foot a:hover { color: var(--leaf); text-decoration: underline; }
.foot .legal { flex-basis: 100%; font-size: 13.5px; padding-top: 18px; border-top: 1px solid var(--forest-800); }

/* ---------- Mobile sticky CTA ---------- */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(12, 27, 9, 0.96);
    border-top: 1px solid var(--forest-700); transform: translateY(110%); transition: transform 0.25s ease;
  }
  .sticky-cta.show { transform: translateY(0); }
  .sticky-cta .btn { width: 100%; }
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* ---------- Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { transition: opacity 0.6s ease, transform 0.6s ease; }
  .reveal.pre { opacity: 0; transform: translateY(14px); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .hero-grid, .split, .service-grid, .dir-head, .dir-two, .dir-foot, .early, .faq, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .doors, .dir-grid, .isnt, .value-row, .process-meta, .split-roles { grid-template-columns: minmax(0, 1fr); }
  .team { grid-template-columns: minmax(0, 1fr); }
  .aside-card, .faq-side { position: static; }
  /* Contact: heading, then the form, then the details */
  .contact-grid { display: flex; flex-direction: column; gap: 0; }
  .contact-copy { display: contents; }
  .contact-copy > * { order: 3; }
  .contact-copy > .eyebrow { order: 1; align-self: flex-start; }
  .contact-copy > h2, .contact-copy > .lead { order: 1; }
  .contact-card { order: 2; margin-bottom: 40px; }
  .hero-visual { max-width: 560px; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .process, .controls { grid-template-columns: minmax(0, 1fr); }
  .assurances { grid-template-columns: minmax(0, 1fr); }
  .person { grid-template-columns: minmax(0, 1fr); }
  .avatar { width: 104px; height: 104px; }
  .stat { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .cta-row .btn { width: 100%; }
  .door blockquote { font-size: 23px; }
  .faq-list .a { padding-right: 0; }
  .qc-past div { grid-template-columns: minmax(0, 1fr) auto; }
  .qc-past div span:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .chip { font-size: 11px; letter-spacing: 0.05em; padding: 6px 12px; gap: 8px; }
  .tabs { display: flex; flex-wrap: nowrap; }
  .tab { flex: 1; padding: 10px 12px; }
  .hero h1 { font-size: 38px; }
}
@media print {
  .site-header, .sticky-cta, .nav-toggle { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}


/* =====================================================================
   VISION THEME (November 2026)
   White, black and one signal green, with Geist lettering.
   This block redefines the colour and type tokens set at the top of the
   file, then restyles the parts that were built for the old dark hero.
   The previous dark green look is kept in _previous/green-serif/.
   ===================================================================== */
:root {
  --forest-950: #060a08;
  --forest-900: #0a0f0c;
  --forest-850: #0f1512;
  --forest-800: #141b17;
  --forest-700: #26302a;
  --forest-600: #3b4840;
  --leaf: #00d67a;
  --leaf-soft: rgba(0, 214, 122, 0.14);
  --moss: #007a47;
  --moss-mid: #00804a;
  --moss-light: #5fe3a1;
  --on-dark: #f2f5f3;
  --muted-on-dark: #a9b5ad;
  --paper: #ffffff;
  --tint: #f4f6f2;
  --tint-2: #e7ece7;
  --line: #d6dcd4;
  --ink: #0a0f0c;
  --body: #1d2721;
  --muted: #56655c;
  --serif: "Geist", "Segoe UI", system-ui, -apple-system, sans-serif;
  --sans: "Geist", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, Consolas, monospace;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 1px 2px rgba(10, 15, 12, 0.06), 0 10px 26px rgba(10, 15, 12, 0.08);
}

/* ---- Lettering ---- */
.h2 { font-weight: 700; letter-spacing: -0.035em; line-height: 1.06; }
.h3 { letter-spacing: -0.02em; }
.eyebrow { font-family: var(--mono); font-weight: 500; font-size: 12.5px; letter-spacing: 0.06em; }
.wordmark { font-weight: 700; letter-spacing: -0.045em; }
.wordmark span { color: inherit; }
.door blockquote { font-weight: 600; font-size: 23px; letter-spacing: -0.025em; }
.stat b, .fact b, .dir-price .amount { font-weight: 700; letter-spacing: -0.04em; }
.pullline, .partner h3 { font-weight: 700; letter-spacing: -0.03em; }
.questions span { font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.avatar .initials { font-weight: 700; }
.who, .num, .dir-card .k, .inc-title, .oncall-title, .direct-title, .cline .l, .qc-label, .qc-lines .src { font-family: var(--mono); font-weight: 500; }

/* ---- Buttons and small shapes: square-shouldered, not pills ---- */
.btn { border-radius: 8px; }
.btn-primary { background: var(--leaf); color: var(--ink); border-color: var(--ink); }
.btn-primary:hover { background: #33e695; color: var(--ink); }
.dark .btn-primary, .direction .btn-primary, .contact .btn-primary, .sticky-cta .btn-primary, .partner .btn-primary { border-color: var(--leaf); }
.btn-dark { background: var(--ink); color: #fff; }
.tabs { border-radius: 10px; }
.tab { border-radius: 7px; }
.measure span, .tags span, .ladder span, .questions span, .copy-btn, .pill, .qc-approve, .partner .chip { border-radius: 6px; }
.steps > li::before, .oncall li::before, .method ol li::before { border-radius: 8px; }

/* ---- Header: white, with a black rule ---- */
.site-header { background: rgba(255, 255, 255, 0.95); border-bottom: 1.5px solid var(--ink); }
.site-header .wordmark, .site-header .wordmark:hover { color: var(--ink); }
.nav-links a { color: var(--ink); opacity: 0.78; }
.nav-links a:hover { color: var(--ink); opacity: 1; }
.nav-toggle { border-color: var(--ink); color: var(--ink); }
.site-footer .wordmark, .site-footer .wordmark:hover { color: #fff; }
.sticky-cta { background: rgba(10, 15, 12, 0.96); }
@media (max-width: 1260px) {
  .mobile-menu[data-open="true"] { border-top-color: var(--line); }
  .mobile-menu li a { color: var(--ink); border-bottom-color: var(--line); }
}

/* ---- Hero: light, on a dotted drawing grid ---- */
.hero { background: radial-gradient(#cdd6ce 1px, transparent 1.4px) 0 0 / 22px 22px, #fafbf9; color: var(--body); border-bottom: 1.5px solid var(--ink); }
.hero h1 { color: var(--ink); font-weight: 700; letter-spacing: -0.045em; line-height: 1.12; }
.hero h1 em { font-style: normal; color: var(--ink); padding: 0 0.14em; background: linear-gradient(transparent 10%, var(--leaf) 10%, var(--leaf) 94%, transparent 94%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero .lead { color: var(--body); opacity: 1; }
.hero .chip { border: 0; background: none; padding: 0; border-radius: 0; gap: 0; display: inline-block; font-family: var(--mono); font-weight: 500; font-size: 12.5px; letter-spacing: 0.06em; color: var(--ink); }
.hero .chip::before { content: "[\00a0"; color: var(--moss-mid); }
.hero .chip::after { content: "\00a0]"; color: var(--moss-mid); }
.hero-services { border-top-color: var(--ink); }
.hero-services a { border-bottom-color: var(--line); color: var(--body); }
.hero-services b { color: var(--moss); }
.hero-services span { color: var(--body); opacity: 1; }
.hero-note { color: var(--muted); }
.hero-note strong { color: var(--ink); }
.hero .qc-caption, .head-split .qc-caption { color: var(--muted); }

/* ---- Hero picture: an enquiry drawing as read by the AI ---- */
.read-card { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); border-radius: 12px; overflow: hidden; box-shadow: 0 22px 44px rgba(10, 15, 12, 0.1); }
.rc-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1.5px solid var(--ink); font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
.rc-top b { font-weight: 600; }
.rc-pill { background: var(--leaf); font-weight: 600; font-size: 11px; padding: 3px 8px; border-radius: 4px; white-space: nowrap; }
.read-card svg { display: block; width: 100%; height: auto; }
.rc-read { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); font-family: var(--mono); font-size: 12.5px; }
.rc-read li { display: flex; gap: 9px; align-items: baseline; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.rc-read li:nth-child(odd) { border-right: 1px solid var(--line); }
.rc-read li::before { content: ""; width: 9px; height: 9px; flex: none; background: var(--leaf); }
.rc-read li.miss::before { background: var(--ink); }
.rc-read li.wide { grid-column: 1 / -1; border: 0; background: var(--ink); color: #fff; }
.rc-read li.wide::before { border-radius: 50%; }

/* ---- Draft quote, now at the head of the quoting section ---- */
.head-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, 4vw, 56px); align-items: center; margin-bottom: clamp(36px, 5vw, 56px); }
.head-split .section-head { margin-bottom: 0; }
.quote-card { border: 1.5px solid var(--ink); border-radius: 12px; box-shadow: 0 22px 44px rgba(10, 15, 12, 0.1); }
.qc-top { border-bottom: 1.5px solid var(--ink); }
.pill.draft { background: var(--leaf); color: var(--ink); font-family: var(--mono); }
.pill.draft::before { background: var(--ink); }
.qc-past .won, .qc-lines .src { color: var(--moss); }

/* ---- Cards: black outlines on the ones that ask for a choice ---- */
.door { border: 1.5px solid var(--ink); }
.door:hover { border-color: var(--ink); box-shadow: 6px 6px 0 var(--leaf); transform: translate(-2px, -2px); }
.stage.free { border-color: var(--ink); }
.direction::before { background: radial-gradient(700px 420px at 0% 0%, rgba(0, 214, 122, 0.13), rgba(0, 214, 122, 0) 70%); }
.contact { background: radial-gradient(800px 480px at 100% 100%, rgba(0, 214, 122, 0.14), rgba(0, 214, 122, 0) 70%), var(--forest-900); }
.partner { background: radial-gradient(620px 340px at 100% 0%, rgba(0, 214, 122, 0.16), rgba(0, 214, 122, 0) 70%), var(--forest-900); }
.dir-price .promise { border-color: rgba(0, 214, 122, 0.5); }
.field input, .field select { border-radius: 8px; }

@media (max-width: 960px) {
  .head-split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .rc-read { grid-template-columns: minmax(0, 1fr); }
  .rc-read li:nth-child(odd) { border-right: 0; }
}

/* ---- Logo: the name with its "o" as a solid green dot ----
   Sizes are in em, measured from Geist Bold, so the dot scales with the name.
   It is as tall as the small letters, sits on the baseline, and keeps the same
   clear gap to the S as to the r. The r side is given a touch more room,
   because a round dot beside a straight stem looks closer than it measures. */
.wm-dot { display: inline-block; width: 0.547em; height: 0.547em; margin: 0 0.015em 0 0.065em; border-radius: 50%; background: var(--leaf); }
/* The two notched triangles inside the dot: top line and bottom line, both moving forward. */
.wm-dot polygon { fill: #0a0f0c; }
/* The pointer under the three service cards */
.doors-more { margin-top: 26px; font-size: 17px; color: var(--muted); }

/* AI Discovery: two ways in, and what you leave with */
.ways, .leave-grid { display: grid; gap: 18px; }
.ways { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 40px; }
.leave-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ways > div, .leave-grid > div { padding: 20px 22px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); font-size: 15.5px; color: var(--body); }
.ways b, .leave-grid b { display: block; color: var(--ink); margin-bottom: 5px; font-size: 16.5px; }
.leave { margin-top: 46px; }
.leave > h3 { font-size: 19px; font-weight: 700; margin-bottom: 14px; }
.leave .after { margin-top: 20px; max-width: 920px; color: var(--muted); font-size: 16px; }
@media (max-width: 1000px) { .leave-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ways, .leave-grid { grid-template-columns: minmax(0, 1fr); } }

/* Claude for Manufacturing strip inside the partner card */
.partner-cfm { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; align-items: center; padding-top: 28px; border-top: 1px solid var(--forest-700); }
.partner-cfm h4 { color: var(--leaf); font-size: 18px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.partner-cfm p { max-width: 720px; }
.partner-cfm .btn { white-space: nowrap; }
@media (max-width: 960px) {
  .partner-cfm { grid-template-columns: minmax(0, 1fr); }
  .partner-cfm .btn { width: 100%; white-space: normal; text-align: center; }
}

/* Hero picture: five example cards behind one strip of tabs */
.card-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-bottom: 10px; background: #fff; border: 1.5px solid var(--ink); border-radius: 10px; overflow: hidden; }
.card-tab { appearance: none; border: 0; border-right: 1px solid var(--line); border-radius: 0; background: transparent; min-height: 42px; padding: 8px 4px; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); cursor: pointer; }
.card-tab:last-child { border-right: 0; }
.card-tab:hover { color: var(--ink); }
.card-tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.card-tab:focus-visible { outline: 2px solid var(--leaf); outline-offset: -4px; }
.js .card-stack { display: grid; }
.js .card-stack > .cpanel { grid-area: 1 / 1; min-width: 0; display: flex; flex-direction: column; }
.js .card-stack > .cpanel:not(.is-on) { visibility: hidden; }
.cpanel .read-card { flex: 1; display: flex; flex-direction: column; }
.cpanel .rc-read { margin-top: auto; }
html:not(.js) .card-tabs { display: none; }
html:not(.js) .cpanel { margin-bottom: 28px; }
@media (max-width: 480px) {
  .card-tab { font-size: 10px; letter-spacing: 0; min-height: 44px; padding: 8px 2px; }
}
