:root {
  --ink: #171717;
  --muted: #606060;
  --line: rgba(0, 0, 0, 0.1);
  --surface: #f5f5f7;
  --soft: #fafafa;
  --white: #ffffff;
  --accent: #006edc;
  --dark: #090909;
  --dark-muted: #a9a9ad;
  --shell: 1200px;
  --pad: clamp(22px, 4vw, 52px);
  --section: clamp(88px, 12vw, 168px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 74px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
::selection { background: #dcecff; color: var(--ink); }

.shell { width: min(100%, var(--shell)); margin-inline: auto; padding-inline: var(--pad); }
.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-link { position: fixed; z-index: 1000; top: 12px; left: 12px; transform: translateY(-150%); padding: 10px 14px; background: var(--dark); color: var(--white); border-radius: 6px; text-decoration: none; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 100; top: 0; left: 0; width: 100%; background: rgba(255, 255, 255, 0.82); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); box-shadow: 0 1px 0 var(--line); transition: background 180ms ease; }
.site-header.is-scrolled { background: rgba(255, 255, 255, 0.94); }
.nav { min-height: 64px; display: flex; align-items: center; justify-content: space-between; }
.wordmark { display: inline-flex; align-items: baseline; font-size: 18px; font-weight: 650; letter-spacing: -0.04em; text-decoration: none; }
.wordmark span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 13px; font-weight: 520; }
.nav-links a { text-decoration: none; color: #414141; transition: color 160ms ease; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { padding: 8px 15px; color: var(--white) !important; background: var(--ink); border-radius: 999px; }
.menu-button { display: none; width: 44px; height: 44px; border: 0; background: transparent; align-items: center; justify-content: center; flex-direction: column; gap: 6px; cursor: pointer; }
.menu-button > span:not(.sr-only) { width: 18px; height: 1px; background: var(--ink); transition: transform 180ms ease; }

.hero { min-height: max(720px, 100svh); padding-top: clamp(142px, 18vh, 206px); padding-bottom: 90px; display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(290px, 0.68fr); gap: clamp(70px, 10vw, 146px); align-items: center; }
.eyebrow, .section-kicker, .system-label, .project-type, .project-number, .stack-label, .asset-type, .footer-kicker {
  margin: 0;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.eyebrow { color: #4e4e4e; }
.eyebrow span { margin: 0 7px; color: var(--accent); }
.hero h1 { max-width: 900px; margin: 28px 0 30px; font-size: clamp(54px, 7.3vw, 104px); font-weight: 620; line-height: 0.94; letter-spacing: -0.072em; text-wrap: balance; }
.hero h1 span { color: #8b8b90; }
.hero-lede { max-width: 730px; margin: 0; color: #4f4f52; font-size: clamp(19px, 2.1vw, 25px); line-height: 1.45; letter-spacing: -0.026em; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 38px; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 11px 19px; border-radius: 999px; font-size: 14px; font-weight: 560; text-decoration: none; transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease; }
.button:hover { transform: translateY(-1px); }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: #303030; }
.button-light { background: var(--white); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.13); }
.button-light:hover { box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.24); }
.button-white { background: var(--white); color: var(--ink); }
.availability { display: flex; align-items: flex-start; gap: 9px; max-width: 670px; margin: 27px 0 0; color: #69696d; font-size: 12px; line-height: 1.45; }
.status-dot { flex: 0 0 7px; width: 7px; height: 7px; margin-top: 5px; border-radius: 50%; background: #24a148; box-shadow: 0 0 0 4px rgba(36, 161, 72, 0.1); }
.operating-system { align-self: center; }
.system-label { padding-bottom: 16px; color: #8a8a8e; border-bottom: 1px solid var(--line); }
.operating-system ol { list-style: none; margin: 0; padding: 0; }
.operating-system li { display: grid; grid-template-columns: 34px 1fr; gap: 0 12px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.operating-system li > span { grid-row: 1 / 3; color: var(--accent); font-family: "SFMono-Regular", Consolas, monospace; font-size: 10px; padding-top: 3px; }
.operating-system strong { font-size: 15px; font-weight: 590; }
.operating-system small { color: #747478; font-size: 12px; margin-top: 2px; }

.proof { background: var(--surface); }
.proof .shell { padding-top: 42px; padding-bottom: 46px; }
.proof .section-kicker { color: #77777b; margin-bottom: 24px; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.proof-grid > div { min-height: 96px; padding: 4px 28px 0 0; }
.proof-grid > div + div { padding-left: 28px; border-left: 1px solid rgba(0, 0, 0, 0.12); }
.proof-grid dt { font-size: clamp(27px, 3vw, 38px); font-weight: 610; letter-spacing: -0.055em; line-height: 1; }
.proof-grid dd { max-width: 190px; margin: 11px 0 0; color: #5f5f63; font-size: 13px; line-height: 1.35; }

.work-intro { padding-top: var(--section); padding-bottom: clamp(70px, 8vw, 112px); }
.section-kicker { color: #747478; margin-bottom: 24px; }
.work-intro h2, .section-heading h2, .assets-heading h2 { margin: 0; font-size: clamp(44px, 6.2vw, 78px); font-weight: 610; line-height: 1.02; letter-spacing: -0.06em; }
.work-intro h2 span, .section-heading h2 span { color: #929296; }

.project { position: relative; }
.project-inner { padding-top: var(--section); padding-bottom: var(--section); display: grid; grid-template-columns: minmax(210px, 0.56fr) minmax(0, 1.44fr); gap: clamp(54px, 10vw, 150px); }
.project-dark { background: var(--dark); color: var(--white); }
.project-light { background: var(--white); }
.project-soft { background: var(--surface); }
.project-meta { align-self: start; display: grid; gap: 9px; color: #77777b; font-size: 12px; line-height: 1.4; }
.project-dark .project-meta { color: #848488; }
.project-meta p { margin: 0; }
.project-meta p:nth-child(2) { margin-top: 14px; color: currentColor; font-weight: 620; font-size: 14px; }
.project-number { color: var(--accent) !important; }
.project-type { margin-bottom: 24px; color: var(--accent); }
.project-dark .project-type { color: #5eb0ff; }
.project-story h3 { max-width: 790px; margin: 0; font-size: clamp(42px, 5.5vw, 72px); font-weight: 580; line-height: 1.02; letter-spacing: -0.058em; text-wrap: balance; }
.project-lede { max-width: 800px; margin: 32px 0 0; color: #555559; font-size: clamp(19px, 2vw, 24px); line-height: 1.5; letter-spacing: -0.025em; }
.project-dark .project-lede { color: #bababe; }
.project-evidence, .recovered-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 55px; padding: 27px 0; border-top: 1px solid rgba(255, 255, 255, 0.18); border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.project-evidence p, .recovered-grid p { margin: 0; padding-right: 20px; }
.project-evidence p + p, .recovered-grid p + p { padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, 0.18); }
.project-evidence strong, .recovered-grid strong { display: block; font-size: clamp(22px, 2.5vw, 31px); font-weight: 590; letter-spacing: -0.05em; }
.project-evidence span, .recovered-grid span { display: block; margin-top: 7px; color: var(--dark-muted); font-size: 12px; line-height: 1.35; }
.stack-label { margin-top: 34px; color: #77777b; }
.stack-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 13px 0 31px; padding: 0; }
.stack-list li { padding: 7px 10px; border-radius: 999px; background: #1c1c1e; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12); color: #d0d0d4; font-size: 11px; }
.text-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 35px; color: var(--accent); font-size: 14px; font-weight: 570; text-decoration: none; }
.text-link span { transition: transform 160ms ease; }
.text-link:hover span { transform: translate(2px, -2px); }
.text-link-light { color: #5eb0ff; margin-top: 0; }
.narrative-list { list-style: none; margin: 51px 0 0; padding: 0; border-top: 1px solid var(--line); }
.narrative-list li { position: relative; padding: 20px 10px 20px 32px; border-bottom: 1px solid var(--line); color: #454548; font-size: 16px; line-height: 1.5; }
.narrative-list li::before { content: ""; position: absolute; left: 2px; top: 29px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.recovered-grid { border-color: rgba(0, 0, 0, 0.14); }
.recovered-grid p + p { border-color: rgba(0, 0, 0, 0.14); }
.recovered-grid span { color: #69696d; }
.project-note { max-width: 790px; margin: 30px 0 0; color: #555559; font-size: 16px; line-height: 1.6; }

.approach { padding-top: var(--section); padding-bottom: var(--section); display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, 0.95fr); gap: clamp(60px, 10vw, 150px); }
.section-heading h2 { font-size: clamp(42px, 5vw, 68px); }
.approach-list { list-style: none; margin: 2px 0 0; padding: 0; border-top: 1px solid var(--line); }
.approach-list li { display: grid; grid-template-columns: 44px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.approach-list li > span { padding-top: 5px; color: var(--accent); font-family: "SFMono-Regular", Consolas, monospace; font-size: 10px; }
.approach-list h3 { margin: 0; font-size: 20px; font-weight: 590; letter-spacing: -0.03em; }
.approach-list p { margin: 7px 0 0; color: #606064; font-size: 14px; line-height: 1.55; }

.about { background: var(--surface); padding-top: var(--section); padding-bottom: var(--section); }
.about-inner { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr); gap: clamp(62px, 11vw, 164px); }
.about-copy > p { margin: 0 0 24px; color: #3e3e41; font-size: clamp(19px, 2vw, 24px); line-height: 1.56; letter-spacing: -0.025em; }
.credentials { margin: 51px 0 0; border-top: 1px solid rgba(0, 0, 0, 0.14); }
.credentials div { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid rgba(0, 0, 0, 0.14); }
.credentials dt { color: #77777b; font-size: 12px; }
.credentials dd { margin: 0; font-size: 13px; }
.toolkit { margin-top: clamp(85px, 10vw, 135px); }
.toolkit h3 { margin: 0 0 23px; font-size: 13px; font-weight: 600; }
.toolkit-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(0, 0, 0, 0.14); }
.toolkit-grid p { margin: 0; padding: 22px 27px 0 0; }
.toolkit-grid p + p { padding-left: 27px; border-left: 1px solid rgba(0, 0, 0, 0.14); }
.toolkit-grid strong { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 590; }
.toolkit-grid span { display: block; color: #646468; font-size: 12px; line-height: 1.55; }

.assets { padding-top: var(--section); padding-bottom: var(--section); }
.assets-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 60px; align-items: end; margin-bottom: 66px; }
.assets-heading .section-kicker { grid-column: 1 / -1; }
.assets-heading h2 { font-size: clamp(45px, 5vw, 68px); }
.assets-heading > p:last-child { max-width: 390px; justify-self: end; margin: 0 0 7px; color: #656569; font-size: 15px; }
.asset-list { border-top: 1px solid var(--line); }
.asset-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); }
.asset-type { margin-bottom: 10px; color: #858589; }
.asset-row h3 { margin: 0; font-size: clamp(21px, 2.3vw, 30px); font-weight: 570; letter-spacing: -0.04em; }
.asset-row > div:first-child > p:last-child { max-width: 650px; margin: 9px 0 0; color: #66666a; font-size: 13px; }
.asset-actions { display: flex; gap: 8px; }
.asset-actions a { min-width: 92px; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 9px 15px; border-radius: 999px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.13); font-size: 13px; font-weight: 540; text-decoration: none; }
.asset-actions a:last-child { background: var(--ink); color: var(--white); box-shadow: none; }

.footer { background: var(--dark); color: var(--white); padding-top: clamp(88px, 10vw, 140px); padding-bottom: 26px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 60px; }
.footer-kicker { color: #7e7e83; margin-bottom: 23px; }
.footer h2 { margin: 0; font-size: clamp(44px, 6.4vw, 82px); font-weight: 570; line-height: 1; letter-spacing: -0.06em; }
.footer-contact { min-width: 205px; display: grid; gap: 14px; justify-items: start; }
.footer-contact > a:not(.button) { color: #b8b8bc; font-size: 13px; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 95px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.16); color: #77777b; font-size: 11px; }
.footer-bottom p { margin: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 75px; min-height: auto; padding-top: 148px; }
  .operating-system { max-width: 560px; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 0; }
  .proof-grid > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .project-inner, .approach, .about-inner { grid-template-columns: 1fr; }
  .project-inner { gap: 52px; }
  .project-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-meta .project-number { grid-column: 1 / -1; }
  .approach { gap: 60px; }
  .toolkit-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .toolkit-grid p:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 680px) {
  :root { --pad: 21px; --section: 86px; }
  .nav { min-height: 58px; }
  .menu-button { display: flex; }
  .menu-button[aria-expanded="true"] > span:nth-of-type(2) { transform: translateY(3.5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] > span:nth-of-type(3) { transform: translateY(-3.5px) rotate(-45deg); }
  .nav-links { position: absolute; top: 58px; left: 0; width: 100%; display: none; padding: 18px var(--pad) 25px; background: rgba(255, 255, 255, 0.97); box-shadow: 0 1px 0 var(--line); flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links.is-open { display: flex; }
  .nav-links a { min-height: 48px; display: flex; align-items: center; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav-links .nav-cta { justify-content: center; margin-top: 14px; border: 0; }
  .hero { padding-top: 130px; padding-bottom: 74px; gap: 65px; }
  .hero h1 { margin-top: 24px; font-size: clamp(50px, 15.4vw, 68px); }
  .hero h1 br { display: none; }
  .hero-lede { font-size: 19px; }
  .hero-actions .button { flex: 1 1 100%; }
  .availability { font-size: 11px; }
  .proof .shell { padding-top: 37px; padding-bottom: 39px; }
  .proof-grid { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .proof-grid > div { min-height: 94px; padding-right: 18px; }
  .proof-grid > div + div { padding-left: 18px; }
  .proof-grid > div:nth-child(3) { padding-left: 0; }
  .proof-grid dt { font-size: 27px; }
  .work-intro h2, .section-heading h2 { font-size: 45px; }
  .project-inner { gap: 46px; }
  .project-meta { grid-template-columns: 1fr; }
  .project-story h3 { font-size: 43px; }
  .project-lede { margin-top: 25px; font-size: 19px; }
  .project-evidence, .recovered-grid { grid-template-columns: 1fr 1fr; gap: 23px 0; margin-top: 42px; }
  .project-evidence p, .recovered-grid p { padding-right: 15px; }
  .project-evidence p + p, .recovered-grid p + p { padding-left: 15px; }
  .project-evidence p:nth-child(3), .recovered-grid p:nth-child(3) { padding-left: 0; border-left: 0; }
  .about-inner { gap: 52px; }
  .about-copy > p { font-size: 19px; }
  .credentials div { grid-template-columns: 1fr; gap: 5px; }
  .toolkit-grid { grid-template-columns: 1fr; gap: 0; }
  .toolkit-grid p, .toolkit-grid p + p { padding: 20px 0; border-left: 0; border-bottom: 1px solid rgba(0, 0, 0, 0.14); }
  .assets-heading { grid-template-columns: 1fr; margin-bottom: 49px; }
  .assets-heading .section-kicker { grid-column: auto; }
  .assets-heading > p:last-child { justify-self: start; }
  .asset-row { grid-template-columns: 1fr; gap: 21px; padding: 27px 0; }
  .asset-actions a { flex: 1; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer h2 { font-size: 49px; }
  .footer-bottom { margin-top: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

@media print {
  .site-header, .hero-actions, .footer, .asset-actions { display: none !important; }
  .hero { min-height: 0; padding-top: 40px; }
  .project-dark { color: var(--ink); background: var(--white); }
  .project-dark .project-lede { color: #555; }
}
