:root {
  --ink: #131816;
  --paper: #f4f3ed;
  --accent: #ff916b;
  --muted: #bbc5bd;
  --line: #3b463e;
  --mono: "IBM Plex Mono", monospace;
  font-family: "Instrument Sans", system-ui, sans-serif;
  color: var(--paper);
  background: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 22px; }
body, h1, h2, h3, p, figure { margin: 0; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
canvas { display: block; width: 100%; height: 100%; }
[hidden] { display: none !important; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 3; padding: 12px; color: var(--ink); background: var(--paper); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.shell { width: min(calc(100% - 88px), 1248px); margin-inline: auto; }
.nav-row, .footer-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header { border-bottom: 1px solid var(--line); }
.nav-row { min-height: 72px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; font-size: 1.75rem; font-weight: 700; letter-spacing: -.075em; }
.brand-mark {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 10px;
  background: repeating-linear-gradient(0deg, transparent 0 3px, currentColor 3px 5px);
  clip-path: polygon(0 0, 25% 0, 75% 60%, 75% 0, 100% 0, 100% 100%, 75% 100%, 25% 40%, 25% 100%, 0 100%);
}
.brand-dot, h1 span { color: var(--accent); }
.nav-row nav { display: flex; gap: 30px; }
.nav-row nav a { text-decoration: none; color: var(--muted); }
.nav-row nav a:hover, .text-link:hover { color: var(--accent); }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: 0 17px; border: 1px solid transparent; border-radius: 5px; font-size: .9375rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.button-primary { background: var(--accent); color: var(--ink); }
.button-primary:hover { background: #ffac90; }
.button-outline { border-color: #59665d; }
.button-outline:hover { background: #2b342d; }
.text-link { text-underline-offset: 5px; text-decoration-color: #7e897f; }
.hero {
  background: radial-gradient(ellipse at 86% 36%, #2b382b 0, transparent 56%), var(--ink);
}
.hero-layout { display: grid; grid-template-columns: .91fr 1.09fr; align-items: center; gap: clamp(36px, 5vw, 75px); padding-block: clamp(70px, 9vw, 134px); }
.kicker { font: 500 .8125rem/1.5 var(--mono); text-transform: uppercase; letter-spacing: .075em; color: var(--accent); }
h1, h2, h3 { font-weight: 600; letter-spacing: -.055em; line-height: 1.02; }
h1 { margin: 17px 0 20px; font-size: clamp(3.65rem, 6.15vw, 6.35rem); }
h2 { font-size: clamp(2.65rem, 5vw, 4.85rem); }
.hero-description { max-width: 440px; color: #d1dbd2; font-size: 1.125rem; line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 14px 20px; flex-wrap: wrap; margin-top: 27px; }
.map-figure { min-width: 0; }
.map-figure figcaption { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 9px; color: var(--muted); font-size: .8125rem; }
.motion-toggle { flex: none; background: transparent; color: inherit; border: 0; padding: 4px 1px; text-decoration: underline; text-underline-offset: 4px; }
.motion-toggle:hover { color: var(--accent); }
.workflow, .reference { padding-block: clamp(65px, 8vw, 112px); }
.workflow { background: var(--paper); color: var(--ink); }
.workflow .kicker { color: #894227; }
.workflow-intro { display: grid; justify-items: center; text-align: center; }
.workflow-intro h2, .reference h2 { margin-top: 12px; }
.workflow-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.workflow-nav a { padding: 8px 13px; border: 1px solid #c5cec3; border-radius: 5px; color: #37453d; font-size: .9375rem; text-decoration: none; }
.workflow-nav a:hover { background: #e3e8de; color: var(--ink); }
.feature { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(35px, 7vw, 110px); padding-top: 49px; margin-top: 49px; border-top: 1px solid #c7cdc2; }
.feature-reverse { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.feature-reverse .feature-copy { grid-column: 2; grid-row: 1; }
.feature-copy h3 { margin: 11px 0 14px; font-size: clamp(2.1rem, 3.95vw, 3.75rem); }
.feature-copy > p:last-child, .workflow-end { color: #44544a; font-size: 1.0625rem; line-height: 1.55; }
.feature-copy > p:last-child { max-width: 420px; }
.workflow-end { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; margin-top: 39px; padding-top: 17px; border-top: 1px solid #c7cdc2; }
.workflow-end .motion-toggle { font-size: .875rem; }
.workflow-end .motion-toggle:hover { color: #894227; }
.reference { background: #e6ebe2; color: var(--ink); }
.reference .kicker { color: #894227; }
.reference-grid { display: grid; grid-template-columns: 1fr 1.1fr; align-items: start; gap: clamp(40px, 7vw, 105px); }
.reference-grid > div > p:not(.kicker) { margin-top: 19px; max-width: 470px; color: #44544a; font-size: 1.0625rem; line-height: 1.6; }
.brief { background: #fbfcf8; border: 1px solid #b7c4b7; border-radius: 7px; overflow: hidden; }
.brief header { padding: 22px 24px; border-bottom: 1px solid #ccd6cb; }
.brief h3 { font-size: 1.6rem; margin-top: 7px; }
.brief-body { padding: 23px 24px; }
.question { font-size: 1.2rem; font-weight: 650; line-height: 1.35; }
.finding { margin-top: 11px; color: #415347; line-height: 1.5; }
.finding strong { color: var(--ink); }
.records { margin: 20px 0 0; padding: 0; list-style: none; }
.records li { display: grid; grid-template-columns: 78px 1fr; gap: 9px; padding-block: 10px; border-top: 1px solid #ccd6cb; }
.records span, .records time { color: #526458; font: .8125rem/1.55 var(--mono); }
.records a { text-decoration-color: #859584; text-underline-offset: 4px; }
.records a:hover { color: #894227; }
.closing { padding-block: 58px; }
.closing-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.closing h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); }
.closing p { margin-top: 9px; color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); }
.footer-row { padding-block: 22px; }
.footer-row > span { color: var(--muted); font-size: .875rem; }

@media (max-width: 900px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-copy { max-width: 650px; }
  .map-figure { width: min(100%, 660px); }
  .reference-grid { grid-template-columns: 1fr; }
}
@media (max-width: 730px) {
  .shell { width: calc(100% - 36px); }
  .nav-row { min-height: 64px; gap: 11px; }
  .nav-row nav { display: none; }
  .nav-row .button { padding-inline: 10px; }
  .hero-layout { padding-block: 56px; }
  h1 { font-size: clamp(2.8rem, 10vw, 4.25rem); }
  .feature, .feature-reverse { grid-template-columns: 1fr; gap: 23px; padding-top: 34px; margin-top: 34px; }
  .feature-reverse .feature-copy { grid-column: auto; grid-row: auto; }
  .brief header, .brief-body { padding: 17px; }
  .records li { grid-template-columns: 70px 1fr; }
  .closing-row, .footer-row { flex-wrap: wrap; gap: 16px; }
  .workflow-end { align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
