@font-face {
  font-family: "Geist";
  src: url("geist.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("fraunces-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("jetbrains-mono.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
}

:root {
  --paper: #faf7f2;
  --paper-2: #f0ebe0;
  --paper-3: #e7dfd1;
  --ink: #0c0a09;
  --ink-2: #1c1713;
  --muted: #635d56;
  --line: rgba(12, 10, 9, 0.14);
  --line-dark: rgba(250, 247, 242, 0.16);
  --torch: #f4511e;
  --torch-2: #ff7a3d;
  --torch-text: #a8320f;
  --cyan: #007f9d;
  --success: #176b3a;
  --white: #fff;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --mono: "JetBrains Mono", Consolas, monospace;
  --max: 1240px;
  --radius: 18px;
  --shadow: 0 24px 80px rgba(12, 10, 9, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--torch); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
::selection { color: var(--white); background: var(--torch); }
.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(820px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 999; padding: 12px 16px; background: var(--ink); color: var(--white); }
.skip-link:focus { top: 16px; }
.eyebrow { margin: 0 0 18px; color: var(--torch-text); font: 700 12px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.eyebrow.dark { color: var(--torch-2); }
.serif { color: var(--torch); font-family: var(--serif); font-style: italic; font-weight: 400; }
.muted { color: var(--muted); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--line); background: rgba(250, 247, 242, .94); backdrop-filter: blur(18px); }
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand img { width: 164px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 700; }
.nav-links a[aria-current="page"] { color: var(--torch); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--ink); transition: .2s; }

.btn { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 9px; padding: 12px 20px; border: 1px solid transparent; border-radius: 999px; font-weight: 800; transition: transform .2s, background .2s, color .2s, border .2s; }
.btn:hover { transform: translateY(-2px); color: inherit; }
.btn-primary { color: var(--white); background: var(--ink); }
.btn-primary:hover { color: var(--ink); background: var(--torch); }
.btn-accent { color: var(--ink); background: var(--torch); }
.btn-accent:hover { color: var(--ink); background: var(--torch-2); }
.btn-outline { border-color: var(--line); background: transparent; }
.btn-outline:hover { border-color: var(--ink); }
.btn-on-dark { color: var(--white); border-color: rgba(255,255,255,.3); }
.btn-on-dark:hover { color: var(--ink); background: var(--white); border-color: var(--white); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.text-link { color: var(--torch-text); font-weight: 800; text-decoration: underline; text-decoration-color: rgba(168, 50, 15, .35); text-underline-offset: 3px; }

.hero { position: relative; overflow: hidden; padding: clamp(76px, 10vw, 140px) 0 86px; border-bottom: 1px solid var(--line); }
.hero::after { content: ""; position: absolute; width: 560px; height: 560px; right: -180px; top: -240px; border-radius: 50%; background: radial-gradient(circle, rgba(244, 81, 30, .2), transparent 68%); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .5fr); gap: 64px; align-items: end; }
.hero h1, .page-hero h1 { max-width: 980px; margin: 0; font-size: clamp(48px, 7.5vw, 106px); line-height: .94; letter-spacing: -.062em; }
.hero-copy { max-width: 780px; }
.lead { margin: 24px 0 0; color: var(--muted); font-size: clamp(18px, 2vw, 22px); line-height: 1.55; }
.hero-panel { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .6); box-shadow: var(--shadow); }
.hero-panel h2 { margin: 0 0 14px; font-size: 22px; letter-spacing: -.03em; }
.check-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 25px; color: var(--muted); }
.check-list li::before { content: ""; position: absolute; left: 0; top: .54em; width: 9px; height: 9px; border: 2px solid var(--torch); border-radius: 50%; }
.local-strip { border-bottom: 1px solid var(--line); background: var(--paper-2); }
.local-strip .wrap { display: flex; min-height: 52px; align-items: center; justify-content: space-between; gap: 20px; font: 700 12px/1.4 var(--mono); letter-spacing: .04em; }

/* Homepage composition: deeper contrast, more visual hierarchy, same brand system. */
.home-hero {
  min-height: calc(100svh - 78px);
  display: flex;
  align-items: center;
  isolation: isolate;
  padding: clamp(76px, 8vw, 118px) 0;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 20%, rgba(0, 127, 157, .22), transparent 31%),
    radial-gradient(circle at 10% 88%, rgba(244, 81, 30, .2), transparent 28%),
    linear-gradient(135deg, #0c0a09 0%, #15110e 54%, #090d0e 100%);
  border-bottom-color: rgba(255,255,255,.12);
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .24;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to right, transparent, #000 28%, #000 88%, transparent);
}
.home-hero::after {
  width: 720px;
  height: 720px;
  right: -260px;
  top: -300px;
  z-index: -1;
  background: radial-gradient(circle, rgba(244, 81, 30, .19), transparent 67%);
}
.hero-orbit { position: absolute; z-index: -1; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; pointer-events: none; }
.hero-orbit-one { width: 460px; height: 460px; right: 7%; top: 13%; }
.hero-orbit-two { width: 640px; height: 640px; right: -2%; top: 1%; border-color: rgba(244,81,30,.13); }
.home-hero .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(410px, .92fr); gap: clamp(54px, 6vw, 96px); align-items: center; }
.home-hero .hero-copy { max-width: 790px; }
.home-hero h1 { max-width: 820px; font-size: clamp(52px, 6.35vw, 88px); line-height: .965; letter-spacing: -.058em; }
.home-hero .eyebrow { color: #ff9a70; }
.home-hero .serif { color: var(--torch-2); }
.home-hero .lead { max-width: 700px; color: rgba(255,255,255,.72); font-size: clamp(18px, 1.8vw, 21px); }
.home-hero .btn-outline { color: var(--white); border-color: rgba(255,255,255,.3); }
.home-hero .btn-outline:hover { color: var(--ink); border-color: var(--white); background: var(--white); }
.hero-assurance { display: flex; flex-wrap: wrap; gap: 8px 12px; margin: 26px 0 0; color: rgba(255,255,255,.58); font: 650 11px/1.5 var(--mono); letter-spacing: .025em; }
.hero-assurance span { color: var(--torch-2); }

.hero-system { position: relative; overflow: hidden; padding: 18px; border: 1px solid rgba(255,255,255,.16); border-radius: 26px; background: rgba(255,255,255,.07); box-shadow: 0 36px 100px rgba(0,0,0,.38); backdrop-filter: blur(18px); }
.hero-system::before { content: ""; position: absolute; width: 180px; height: 180px; right: -72px; bottom: -72px; border-radius: 50%; background: rgba(0,127,157,.16); filter: blur(3px); }
.system-topline, .system-footer { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; color: rgba(255,255,255,.52); font: 650 10px/1.4 var(--mono); letter-spacing: .045em; text-transform: uppercase; }
.system-topline { padding: 2px 4px 15px; border-bottom: 1px solid rgba(255,255,255,.11); }
.system-status { color: rgba(255,255,255,.84); }
.system-status i { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #5fd58a; box-shadow: 0 0 0 5px rgba(95,213,138,.1); }
.system-canvas { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 34px 1.15fr; grid-template-areas: "intake line1 ai" ". . line2" "review line3 action"; align-items: center; gap: 14px 0; padding: 28px 4px; }
.system-node { min-height: 95px; display: flex; flex-direction: column; justify-content: center; padding: 16px; border: 1px solid rgba(255,255,255,.13); border-radius: 14px; background: rgba(9,11,11,.72); box-shadow: 0 14px 34px rgba(0,0,0,.18); }
.system-node span { margin-bottom: 9px; color: #ff9a70; font: 700 9px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.system-node strong { color: var(--white); font-size: 15px; line-height: 1.18; }
.system-node small { margin-top: 7px; color: rgba(255,255,255,.5); font-size: 10px; }
.node-intake { grid-area: intake; }
.node-ai { grid-area: ai; border-color: rgba(244,81,30,.42); background: linear-gradient(145deg, rgba(244,81,30,.15), rgba(9,11,11,.8)); }
.node-review { grid-area: review; border-color: rgba(0,127,157,.42); }
.node-action { grid-area: action; }
.system-connector { position: relative; height: 1px; margin-inline: 6px; background: rgba(255,255,255,.22); }
.system-connector::after { content: ""; position: absolute; right: -1px; top: -3px; width: 6px; height: 6px; border-top: 1px solid var(--torch-2); border-right: 1px solid var(--torch-2); transform: rotate(45deg); }
.system-connector:nth-of-type(2) { grid-area: line1; }
.system-connector:nth-of-type(4) { grid-area: line2; width: 1px; height: 24px; justify-self: center; background: rgba(255,255,255,.22); }
.system-connector:nth-of-type(4)::after { right: -3px; top: auto; bottom: -1px; transform: rotate(135deg); }
.system-connector:nth-of-type(6) { grid-area: line3; }
.system-footer { justify-content: flex-start; padding: 14px 4px 2px; border-top: 1px solid rgba(255,255,255,.11); }
.system-footer span { padding: 6px 8px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; }

.local-strip { background: var(--white); }
.local-strip .wrap { min-height: 64px; }
.local-strip span { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); }
.local-strip b { display: inline-grid; width: 29px; height: 29px; place-items: center; border-radius: 50%; color: var(--white); background: var(--ink); font: 700 9px/1 var(--mono); }
.home-proof { background: linear-gradient(180deg, #efe8dc 0%, var(--paper) 100%); }
.home-proof .proof-grid { border: 0; box-shadow: 0 24px 70px rgba(12,10,9,.08); }
.home-proof .proof-item { background: rgba(255,255,255,.78); }
.home-proof .proof-item:nth-child(2) { background: #f7ded3; }
.home-proof .proof-item:nth-child(3) { background: #dcecef; }

.service-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.card.service-card { grid-column: span 4; min-height: 285px; display: flex; flex-direction: column; }
.card.service-card .text-link { margin-top: auto; padding-top: 24px; }
.card.service-card-featured { position: relative; grid-column: span 7; min-height: 350px; overflow: hidden; color: var(--white); border-color: var(--ink); background: var(--ink); }
.card.service-card-featured p { max-width: 470px; color: rgba(255,255,255,.66); }
.card.service-card-featured .card-number, .card.service-card-featured .text-link { position: relative; z-index: 1; color: var(--torch-2); }
.card.service-card-featured h3 { position: relative; z-index: 1; max-width: 470px; font-size: clamp(34px, 4vw, 52px); }
.card.service-card-featured p { position: relative; z-index: 1; }
.card.service-card-software { grid-column: span 5; min-height: 350px; background: linear-gradient(145deg, #dcecef, rgba(255,255,255,.7)); }
.card.service-card-growth { background: linear-gradient(145deg, #f7ded3, rgba(255,255,255,.72)); }
.card.service-card-assessment { grid-column: span 12; min-height: auto; display: grid; grid-template-columns: .65fr 1.1fr auto; column-gap: 40px; align-items: end; background: var(--paper-2); }
.service-card-assessment .card-number { grid-column: 1; }
.service-card-assessment h3 { grid-column: 1; margin-bottom: 0; }
.service-card-assessment p { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.card.service-card-assessment .text-link { grid-column: 3; grid-row: 1 / span 2; align-self: center; margin: 0; padding: 0; white-space: nowrap; }
.service-signal { position: absolute; right: 34px; bottom: 34px; width: 170px; height: 95px; display: flex; align-items: flex-end; gap: 8px; opacity: .62; }
.service-signal span { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(to top, var(--torch), var(--torch-2)); }
.service-signal span:nth-child(1) { height: 30%; }
.service-signal span:nth-child(2) { height: 56%; }
.service-signal span:nth-child(3) { height: 42%; }
.service-signal span:nth-child(4) { height: 88%; }

.evidence-section { overflow: hidden; background: linear-gradient(145deg, var(--paper-2), #e7dfd1); }
.evidence-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 18px; }
.evidence-card { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.68); }
.evidence-card h3 { margin: 18px 0 12px; font-size: 30px; line-height: 1; letter-spacing: -.045em; }
.evidence-card p { margin: 0; color: var(--muted); }
.evidence-card-featured { grid-row: span 2; min-height: 620px; display: grid; grid-template-rows: auto 1fr; color: var(--white); border-color: var(--ink); background: var(--ink); }
.evidence-copy { padding: 38px 38px 30px; }
.evidence-copy .card-number, .evidence-copy .text-link { color: var(--torch-2); }
.evidence-copy h3 { font-size: clamp(38px, 4.5vw, 62px); }
.evidence-copy p { max-width: 650px; color: rgba(255,255,255,.64); }
.staffing-visual { align-self: end; min-height: 310px; margin: 0 28px 28px; overflow: hidden; border: 1px solid rgba(255,255,255,.15); border-radius: 16px; background: #151a1b; box-shadow: 0 28px 60px rgba(0,0,0,.4); transform: perspective(900px) rotateX(4deg); transform-origin: bottom; }
.visual-bar { height: 42px; display: flex; align-items: center; gap: 6px; padding: 0 14px; border-bottom: 1px solid rgba(255,255,255,.09); }
.visual-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.24); }
.visual-bar i:first-child { background: var(--torch); }
.visual-bar span { margin-left: auto; color: rgba(255,255,255,.64); font: 600 9px/1 var(--mono); text-transform: uppercase; }
.visual-layout { min-height: 268px; display: grid; grid-template-columns: 74px 1fr; }
.visual-rail { border-right: 1px solid rgba(255,255,255,.09); background: repeating-linear-gradient(to bottom, transparent 0 26px, rgba(255,255,255,.08) 27px 30px, transparent 31px 42px); background-size: 34px 42px; background-position: center 18px; }
.visual-main { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 74px 1fr; gap: 14px; padding: 18px; }
.visual-stat { border: 1px solid rgba(255,255,255,.09); border-radius: 9px; background: linear-gradient(135deg, rgba(244,81,30,.17), rgba(255,255,255,.03)); }
.visual-chart { grid-column: 1 / -1; display: flex; align-items: flex-end; gap: 9px; padding: 20px; border: 1px solid rgba(255,255,255,.09); border-radius: 9px; background: rgba(255,255,255,.025); }
.visual-chart i { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(to top, #00677d, #42b5c8); }
.visual-chart i:nth-child(1) { height: 26%; }
.visual-chart i:nth-child(2) { height: 48%; }
.visual-chart i:nth-child(3) { height: 38%; }
.visual-chart i:nth-child(4) { height: 72%; }
.visual-chart i:nth-child(5) { height: 88%; background: linear-gradient(to top, var(--torch), var(--torch-2)); }
.evidence-card-small { min-height: 300px; display: grid; grid-template-columns: 80px 1fr; gap: 22px; padding: 30px; align-items: start; }
.evidence-symbol { width: 76px; height: 76px; display: grid; place-items: center; border-radius: 18px; font: italic 400 42px/1 var(--serif); }
.sealbook-symbol { color: #64220e; background: #f7cbb9; }
.bots-symbol { color: var(--ink); background: var(--torch-2); }
.evidence-card-dark { color: var(--white); border-color: var(--ink); background: linear-gradient(145deg, #171310, #090d0e); }
.evidence-card-dark p { color: rgba(255,255,255,.62); }
.evidence-card-dark .card-number, .evidence-card-dark .text-link { color: var(--torch-2); }

.section { padding: clamp(72px, 9vw, 118px) 0; border-bottom: 1px solid var(--line); }
.section-dark { color: var(--white); background: var(--ink); }
.section-warm { background: var(--paper-2); }
.section-head { display: grid; grid-template-columns: .65fr 1.35fr; gap: 60px; margin-bottom: 54px; align-items: start; }
.section h2, .cta-band h2 { margin: 0; font-size: clamp(38px, 5.4vw, 72px); line-height: .98; letter-spacing: -.055em; }
.compact-head { margin-bottom: 38px; }
.proof-section { padding-block: clamp(64px, 7vw, 88px); }
.section-intro { margin: 0; color: var(--muted); font-size: 19px; }
.section-dark .section-intro, .section-dark .muted { color: rgba(255,255,255,.68); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.55); transition: transform .25s, box-shadow .25s, border .25s; }
.card:hover { transform: translateY(-5px); border-color: rgba(244,81,30,.5); box-shadow: var(--shadow); }
.section-dark .card { border-color: var(--line-dark); background: rgba(255,255,255,.04); }
.card-number { color: var(--torch-text); font: 700 12px/1 var(--mono); }
.section-dark .card-number { color: var(--torch-2); }
.card h3 { margin: 34px 0 12px; font-size: 25px; line-height: 1.1; letter-spacing: -.035em; }
.card p { margin: 0; color: var(--muted); }
.section-dark .card p { color: rgba(255,255,255,.65); }
.card .text-link { display: inline-block; margin-top: 20px; }
.leadership-location { max-width: 820px; margin: 28px 0 0; color: var(--muted); font-size: 16px; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.proof-item { min-height: 170px; padding: 25px; border-right: 1px solid var(--line); background: rgba(255,255,255,.5); }
.proof-item:last-child { border: 0; }
.proof-item strong { display: block; margin-bottom: 13px; font-size: 28px; line-height: 1; letter-spacing: -.04em; }
.proof-item span { color: var(--muted); font-size: 14px; }

.page-hero { padding: 92px 0 74px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 86% 14%, rgba(244,81,30,.16), transparent 32%); }
.page-hero h1 { font-size: clamp(46px, 6vw, 88px); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; color: var(--muted); font: 600 12px/1.4 var(--mono); }
.breadcrumbs a:hover { color: var(--torch); }
.content-grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 72px; align-items: start; }
.sticky { position: sticky; top: 112px; }
.content h2 { margin: 0 0 20px; font-size: clamp(34px, 4.5vw, 60px); line-height: 1; letter-spacing: -.05em; }
.content h3 { margin: 34px 0 12px; font-size: 25px; line-height: 1.15; letter-spacing: -.03em; }
.content p { margin: 0 0 18px; color: var(--muted); font-size: 18px; }
.content ul, .content ol { display: grid; gap: 12px; color: var(--muted); }
.answer-box { padding: 30px; border-left: 5px solid var(--torch); border-radius: 0 var(--radius) var(--radius) 0; background: var(--white); font-size: 20px; box-shadow: var(--shadow); }
.answer-box p { color: var(--ink); }
.process { counter-reset: process; display: grid; margin: 0; padding: 0; list-style: none; }
.process li { counter-increment: process; display: grid; grid-template-columns: 58px 1fr; gap: 18px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.process li::before { content: counter(process, decimal-leading-zero); color: var(--torch); font: 700 13px/1.5 var(--mono); }
.process strong { display: block; margin-bottom: 6px; font-size: 19px; }
.process span { color: var(--muted); }
.section-dark .process span { color: rgba(255,255,255,.74); }

/* Legacy product pages inherit the shared AA-compliant accent on light cards. */
.siblings .serif-em,
.siblings .sib-name .em,
.siblings .sib-link { color: var(--torch-text); }
.comparison { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.comparison th, .comparison td { padding: 18px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.comparison th { color: var(--muted); font: 700 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font: 650 13px/1 var(--sans); background: rgba(255,255,255,.5); }

.work-card { display: grid; grid-template-columns: .8fr 1.2fr; min-height: 360px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.work-visual { display: grid; place-items: center; min-height: 300px; padding: 36px; color: var(--white); background: var(--ink); }
.work-visual .work-mark { font: 800 clamp(44px, 7vw, 92px)/.9 var(--sans); letter-spacing: -.08em; }
.work-body { padding: 44px; }
.work-body h2, .work-body h3 { margin: 0 0 16px; font-size: clamp(30px, 4vw, 54px); line-height: 1; letter-spacing: -.05em; }
.work-body p { color: var(--muted); }
.work-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px 24px; margin: 24px 0; padding: 0; list-style: none; color: var(--muted); }
.work-list li::before { content: "+"; margin-right: 8px; color: var(--torch); font-weight: 900; }

.faq { display: grid; gap: 10px; }
.faq details { padding: 22px 24px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.55); }
.faq summary { cursor: pointer; font-size: 18px; font-weight: 800; }
.faq p { margin: 14px 0 0; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; }
.contact-methods { display: grid; gap: 14px; margin-top: 30px; }
.contact-method { padding: 19px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.5); }
.contact-method small { display: block; color: var(--muted); font: 650 11px/1.4 var(--mono); text-transform: uppercase; }
.contact-method strong { display: block; margin-top: 5px; }
.form { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.form .full { grid-column: 1 / -1; }
.form label { display: grid; gap: 7px; color: var(--muted); font-size: 13px; font-weight: 800; }
.form input, .form select, .form textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: var(--paper); }
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--torch); outline: 2px solid rgba(244,81,30,.15); }
.form [aria-invalid="true"] { border-color: #a4251a; outline: 2px solid rgba(164,37,26,.14); }
.field-error { min-height: 16px; color: #a4251a; font-size: 12px; font-weight: 700; }
.form-status { grid-column: 1 / -1; min-height: 24px; margin: 0; font-weight: 700; }
.form-status.success { color: var(--success); }
.form-status.error { color: #a4251a; }
.consent { grid-column: 1 / -1; color: var(--muted); font-size: 12px; }
.homepage-contact .contact-grid { align-items: start; }
.contact-checks { margin-top: 28px; }
.section-dark .contact-checks li { color: rgba(255,255,255,.74); }

.cta-band { padding: clamp(72px, 10vw, 124px) 0; color: var(--white); background: var(--ink); }
.cta-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 60px; align-items: end; }
.cta-band p { max-width: 660px; color: rgba(255,255,255,.68); font-size: 19px; }
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(72px, 8vw, 108px) 0 28px;
  color: rgba(255,255,255,.76);
  background:
    radial-gradient(circle at 12% 12%, rgba(244,81,30,.18), transparent 26%),
    radial-gradient(circle at 86% 84%, rgba(130,52,22,.2), transparent 30%),
    linear-gradient(145deg, #24150f 0%, #170e0a 52%, #0e0b09 100%);
}
.site-footer::before {
  content: "";
  position: relative;
  z-index: 1;
  display: block;
  width: min(var(--max), calc(100% - 40px));
  aspect-ratio: 3 / 1;
  margin: 0 auto clamp(48px, 6vw, 78px);
  background: url("../olympia-giant-wordmark-dynamic.svg") left center / contain no-repeat;
}
.site-footer::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 520px;
  height: 520px;
  right: -190px;
  top: -230px;
  border: 1px solid rgba(255,122,61,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(255,122,61,.025), 0 0 0 180px rgba(255,122,61,.018);
  pointer-events: none;
}
.site-footer > .wrap { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.25fr repeat(3, .75fr); gap: 36px; padding-top: 46px; border-top: 1px solid var(--line-dark); }
.footer-brand img { display: none; }
.footer-brand p { max-width: 360px; }
.site-footer h2 { margin: 0 0 15px; color: var(--white); font-size: 14px; }
.site-footer ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: 12px; }

@media (max-width: 980px) {
  .nav-links { position: fixed; inset: 78px 0 auto; display: none; padding: 25px 20px 30px; flex-direction: column; align-items: flex-start; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-actions .btn { display: none; }
  .menu-toggle { display: block; }
  .hero-grid, .section-head, .content-grid, .contact-grid, .cta-grid { grid-template-columns: 1fr; gap: 38px; }
  .sticky { position: static; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-item:nth-child(2) { border-right: 0; }
  .proof-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .work-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .home-hero { min-height: auto; }
  .home-hero .hero-grid { grid-template-columns: 1fr; gap: 54px; }
  .home-hero .hero-copy { max-width: 850px; }
  .hero-system { width: min(100%, 720px); }
  .card.service-card { grid-column: span 6; }
  .card.service-card-featured, .card.service-card-software { grid-column: span 6; }
  .card.service-card-assessment { grid-column: span 12; }
  .evidence-grid { grid-template-columns: 1fr; }
  .evidence-card-featured { grid-row: auto; min-height: 590px; }
}

@media (max-width: 640px) {
  .wrap, .narrow { width: min(100% - 28px, var(--max)); }
  .hero { padding-top: 64px; }
  .hero h1, .page-hero h1 { font-size: clamp(44px, 14vw, 66px); }
  .cards, .cards.two, .proof-grid, .footer-grid, .form { grid-template-columns: 1fr; }
  .proof-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .form .full { grid-column: auto; }
  .local-strip .wrap, .footer-bottom { align-items: flex-start; flex-direction: column; padding-block: 12px; }
  .work-body { padding: 28px; }
  .work-list { grid-template-columns: 1fr; }
  .home-hero { padding-block: 58px 64px; }
  .home-hero .hero-grid { gap: 42px; }
  .home-hero h1 { font-size: clamp(43px, 13.6vw, 62px); line-height: .98; }
  .hero-assurance { display: grid; grid-template-columns: 1fr; }
  .hero-assurance span { display: none; }
  .hero-system { padding: 14px; border-radius: 20px; }
  .system-canvas { grid-template-columns: 1fr; grid-template-areas: "intake" "line1" "ai" "line2" "review" "line3" "action"; gap: 0; padding-block: 20px; }
  .system-node { min-height: 82px; }
  .system-connector, .system-connector:nth-of-type(2), .system-connector:nth-of-type(4), .system-connector:nth-of-type(6) { width: 1px; height: 20px; margin: 0; justify-self: center; background: rgba(255,255,255,.22); }
  .system-connector::after, .system-connector:nth-of-type(2)::after, .system-connector:nth-of-type(4)::after, .system-connector:nth-of-type(6)::after { right: -3px; top: auto; bottom: 0; transform: rotate(135deg); }
  .system-footer span { padding: 5px 7px; }
  .local-strip .wrap { display: grid; grid-template-columns: repeat(2, 1fr); align-items: center; gap: 12px; padding-block: 14px; }
  .local-strip span { font-size: 10px; }
  .service-grid { grid-template-columns: 1fr; }
  .card.service-card, .card.service-card-featured, .card.service-card-software, .card.service-card-assessment { grid-column: auto; min-height: auto; display: flex; }
  .card.service-card { min-height: 265px; }
  .service-card-assessment p { padding-right: 0; }
  .card.service-card-assessment .text-link { align-self: flex-start; margin-top: auto; padding-top: 24px; white-space: normal; }
  .service-signal { right: 24px; bottom: 24px; width: 105px; height: 64px; opacity: .34; }
  .evidence-card-featured { min-height: 530px; }
  .evidence-copy { padding: 30px 26px 24px; }
  .staffing-visual { min-height: 250px; margin: 0 16px 16px; }
  .visual-layout { min-height: 208px; grid-template-columns: 46px 1fr; }
  .visual-main { gap: 9px; padding: 12px; }
  .evidence-card-small { grid-template-columns: 58px 1fr; gap: 16px; padding: 24px; }
  .evidence-symbol { width: 56px; height: 56px; border-radius: 14px; font-size: 32px; }
  .site-footer { padding-top: 58px; }
  .site-footer::before { width: calc(100% - 28px); min-height: 116px; margin-bottom: 42px; }
  .footer-grid { padding-top: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .site-footer::before { background-image: url("../olympia-giant-wordmark.svg"); }
}

/* Olympia brand reset: dark brown, warm cream, and Olympia orange. */
:root {
  --brand-bg: #160d09;
  --brand-surface: #21130e;
  --brand-surface-2: #2a1811;
  --brand-surface-3: #341d14;
  --brand-cream: #faf3e9;
  --brand-muted: #cbbcaf;
  --brand-line: rgba(250, 243, 233, .16);
  --brand-orange: #ff5b1f;
  --brand-orange-soft: #ff8a52;
}

body { color: var(--brand-cream); background: var(--brand-bg); }
a:hover { color: var(--brand-orange-soft); }
.site-header { border-bottom-color: var(--brand-line); background: rgba(22,13,9,.94); }
.nav-links { color: var(--brand-cream); }
.menu-toggle { border-color: var(--brand-line); }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { background: var(--brand-cream); }
.btn-primary { color: var(--brand-bg); background: var(--brand-orange); }
.btn-primary:hover { color: var(--brand-bg); background: var(--brand-orange-soft); }
.btn-accent { color: var(--brand-bg); background: var(--brand-orange); }
.btn-outline { color: var(--brand-cream); border-color: var(--brand-line); }
.btn-outline:hover { color: var(--brand-bg); border-color: var(--brand-cream); background: var(--brand-cream); }
.text-link { color: var(--brand-orange-soft); text-decoration-color: rgba(255,138,82,.42); }
.eyebrow, .card-number { color: var(--brand-orange-soft); }
.serif { color: var(--brand-orange-soft); }

.home-hero {
  min-height: auto;
  padding: clamp(86px, 8vw, 126px) 0;
  background:
    radial-gradient(circle at 82% 24%, rgba(255,91,31,.14), transparent 29%),
    radial-gradient(circle at 12% 92%, rgba(120,48,24,.18), transparent 30%),
    linear-gradient(135deg, #130b08 0%, #1d100b 58%, #110b08 100%);
}
.home-hero::before { opacity: .18; background-size: 64px 64px; }
.home-hero .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(390px, .72fr); gap: clamp(58px, 6vw, 92px); }
.home-hero h1 { max-width: 850px; font-size: clamp(50px, 5.7vw, 82px); line-height: 1.01; letter-spacing: -.052em; }
.home-hero h1 .hero-line { display: block; }
.home-hero h1 .serif { margin-top: 7px; font-size: .86em; line-height: 1.02; letter-spacing: -.035em; }
.hero-result { margin: 20px 0 0; color: var(--brand-cream); font-size: clamp(24px, 2.6vw, 38px); font-weight: 780; letter-spacing: -.035em; }
.home-hero .lead { max-width: 680px; margin-top: 22px; color: var(--brand-muted); }
.hero-assurance { color: #b8a89c; }
.hero-system { border-color: var(--brand-line); background: rgba(39,22,16,.86); box-shadow: 0 34px 90px rgba(0,0,0,.36); }
.system-node { border-color: var(--brand-line); background: #1a0f0b; }
.node-ai { border-color: rgba(255,91,31,.5); background: linear-gradient(145deg, rgba(255,91,31,.14), #1a0f0b); }
.node-review { border-color: rgba(255,138,82,.38); }
.local-strip { color: var(--brand-cream); border-color: var(--brand-line); background: #24140e; }
.local-strip span { color: var(--brand-muted); }
.local-strip b { color: var(--brand-bg); background: var(--brand-orange); }

.section { color: var(--brand-cream); border-bottom-color: var(--brand-line); background: var(--brand-bg); }
.section-warm { background: var(--brand-surface); }
.section-dark { color: var(--brand-cream); background: #0f0907; }
.section h2, .section h3, .page-hero h1, .content h2, .content h3 { color: var(--brand-cream); }
.section-intro, .muted, .lead, .content p, .content ul, .content ol { color: var(--brand-muted); }
.card, .section-dark .card { color: var(--brand-cream); border-color: var(--brand-line); background: var(--brand-surface); box-shadow: none; }
.card:hover { border-color: rgba(255,91,31,.62); box-shadow: 0 22px 54px rgba(0,0,0,.2); }
.card p, .section-dark .card p { color: var(--brand-muted); }
.card.service-card-featured { color: var(--brand-cream); border-color: rgba(255,91,31,.32); background: linear-gradient(145deg, #100906, #2a150d); }
.card.service-card-software { background: linear-gradient(145deg, #2a1811, #1c100c); }
.card.service-card-growth { background: linear-gradient(145deg, #33190f, #21130e); }
.card.service-card-assessment { background: #28160f; }
.service-signal span { background: linear-gradient(to top, #9b3412, var(--brand-orange)); }

.evidence-section { background: linear-gradient(145deg, #1b0f0b, #2a1811); }
.evidence-card { color: var(--brand-cream); border-color: var(--brand-line); background: var(--brand-surface-2); }
.evidence-card p { color: var(--brand-muted); }
.evidence-card-dark, .evidence-card-featured { background: linear-gradient(145deg, #100906, #25130d); }
.sealbook-symbol, .bots-symbol { color: var(--brand-bg); background: var(--brand-orange); }

.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.portfolio-card { min-height: 240px; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--brand-line); border-radius: 18px; background: var(--brand-surface-2); }
.portfolio-card:nth-child(3n+2) { background: #2f1a12; }
.portfolio-card:nth-child(3n+3) { background: #1c100c; }
.portfolio-card .card-number { margin-bottom: 42px; }
.portfolio-card h3 { margin: 0 0 12px; font-size: 25px; line-height: 1.08; letter-spacing: -.035em; }
.portfolio-card p { margin: 0 0 22px; color: var(--brand-muted); }
.portfolio-card .text-link { margin-top: auto; }

.page-hero { color: var(--brand-cream); border-bottom-color: var(--brand-line); background: radial-gradient(circle at 84% 20%, rgba(255,91,31,.16), transparent 30%), #190e0a; }
.breadcrumbs { color: var(--brand-muted); }
.answer-box { color: var(--brand-cream); border-left-color: var(--brand-orange); background: var(--brand-surface-2); box-shadow: none; }
.answer-box p { color: var(--brand-cream); }
.process li { border-bottom-color: var(--brand-line); }
.process span, .section-dark .process span { color: var(--brand-muted); }
.comparison { color: var(--brand-cream); background: var(--brand-surface); box-shadow: none; }
.comparison th, .comparison td { border-color: var(--brand-line); }
.comparison th { color: var(--brand-muted); }
.tag { color: var(--brand-muted); border-color: var(--brand-line); background: var(--brand-surface-2); }
.work-card { color: var(--brand-cream); border-color: var(--brand-line); background: var(--brand-surface); }
.work-visual { color: var(--brand-cream); background: linear-gradient(145deg, #0f0907, #32180f); }
.work-body p, .work-list { color: var(--brand-muted); }
.faq details { border-color: var(--brand-line); background: var(--brand-surface); }
.faq p { color: var(--brand-muted); }
.contact-method { border-color: var(--brand-line); background: var(--brand-surface); }
.contact-method small { color: var(--brand-muted); }

.form { color: #1a0f0b; border-color: rgba(255,255,255,.18); background: #f7efe5; }
.form label, .form .consent { color: #5c4b40; }
.form input, .form select, .form textarea { color: #1a0f0b; border-color: rgba(55,31,21,.2); background: #fffaf4; }
.form .text-link { color: #a8320f; }
.homepage-contact { background: linear-gradient(145deg, #100906, #24130d); }
.cta-band { color: var(--brand-cream); background: linear-gradient(145deg, #100906, #28140d); }
.cta-band p { color: var(--brand-muted); }

/* Clean shared product-page flow. */
.product-hero { padding: clamp(76px, 8vw, 112px) 0; border-bottom: 1px solid var(--brand-line); background: radial-gradient(circle at 84% 22%, rgba(255,91,31,.16), transparent 30%), #180d09; }
.product-hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(320px, .58fr); gap: 72px; align-items: end; }
.product-hero h1 { max-width: 900px; margin: 0; font-size: clamp(48px, 6.4vw, 86px); line-height: .98; letter-spacing: -.052em; }
.product-hero .lead { margin-top: 24px; font-size: clamp(18px, 1.8vw, 21px); }
.product-aside { padding: 26px; border: 1px solid var(--brand-line); border-radius: 18px; background: var(--brand-surface); }
.product-aside strong { display: block; margin-bottom: 10px; font-size: 20px; }
.product-aside p { margin: 0; color: var(--brand-muted); }
.product-flow { counter-reset: product-flow; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.product-flow li { counter-increment: product-flow; min-height: 180px; padding: 24px; border: 1px solid var(--brand-line); border-radius: 16px; background: var(--brand-surface); }
.product-flow li::before { content: counter(product-flow, decimal-leading-zero); display: block; margin-bottom: 34px; color: var(--brand-orange-soft); font: 700 11px/1 var(--mono); }
.product-flow strong { display: block; margin-bottom: 9px; font-size: 19px; }
.product-flow span { color: var(--brand-muted); }

/* Footer: scaled wordmark above the tagline, with calm spacing. */
.site-footer { padding: clamp(54px, 6vw, 78px) 0 28px; border-top: 1px solid var(--brand-line); background: radial-gradient(circle at 14% 8%, rgba(255,91,31,.14), transparent 24%), linear-gradient(145deg, #24130d, #110a07); }
.site-footer::before {
  width: min(var(--max), calc(100% - 40px));
  height: clamp(132px, 15vw, 178px);
  margin: 0 auto 30px;
  border-top: 1px solid var(--brand-line);
  border-bottom: 1px solid var(--brand-line);
  background-position: center;
  background-size: min(430px, 72%) auto;
}
.site-footer::after { opacity: .55; }
.footer-grid { gap: 42px; padding-top: 18px; border-top: 0; }
.footer-brand p { max-width: 330px; margin-top: 0; color: var(--brand-muted); font-size: 15px; }
.site-footer h2 { color: var(--brand-cream); }
.footer-bottom { border-top-color: var(--brand-line); }

@media (max-width: 980px) {
  .nav-links { color: var(--brand-cream); border-bottom-color: var(--brand-line); background: #1a0f0b; }
  .home-hero .hero-grid, .product-hero-grid { grid-template-columns: 1fr; }
  .home-hero h1 { max-width: 760px; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .product-flow { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .home-hero { padding-block: 64px 70px; }
  .home-hero h1 { font-size: clamp(42px, 12vw, 56px); line-height: 1.02; }
  .home-hero h1 .serif { font-size: .8em; }
  .hero-result { font-size: 25px; }
  .portfolio-grid, .product-flow { grid-template-columns: 1fr; }
  .portfolio-card { min-height: 220px; }
  .product-hero { padding-block: 62px; }
  .product-hero h1 { font-size: clamp(42px, 12vw, 58px); line-height: 1.01; }
  .site-footer::before { width: calc(100% - 28px); height: 116px; min-height: 0; margin-bottom: 24px; background-size: min(290px, 78%) auto; }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer::before { background-image: url("../olympia-giant-wordmark.svg"); }
}
