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

:root {
  color-scheme: light dark;
  --bg: #f3f4f6;
  --surface: #e9ebef;
  --text: #111318;
  --muted: #555b66;
  --line: #d5d8de;
  --accent: #2a44d8;
  --on-accent: #f5f6fa;
  --shell: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0e11;
    --surface: #15171b;
    --text: #eceef2;
    --muted: #9aa0ab;
    --line: #262a31;
    --accent: #8093ff;
    --on-accent: #0d0e11;
  }
}

* { box-sizing: border-box; }
html { overflow-x: hidden; scrollbar-color: var(--line) var(--bg); caret-color: var(--accent); accent-color: var(--accent); }
body { min-width: 0; margin: 0; background: var(--bg); color: var(--text); font-family: "Geist", ui-sans-serif, system-ui, sans-serif; font-size: 1.0625rem; line-height: 1.6; }
::selection { background: color-mix(in srgb, var(--accent) 25%, transparent); color: var(--text); }
a { color: var(--accent); text-underline-offset: .18em; transition: color 160ms ease; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  a:hover { color: var(--text); text-decoration-color: var(--accent); }
}
.shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--text); font-size: 1rem; font-weight: 600; letter-spacing: -.02em; text-decoration: none; }
.logo-mark { width: 28px; height: 14px; flex: 0 0 auto; }
.logo-fill { fill: var(--accent); }
.logo-outline { fill: none; stroke: var(--text); stroke-width: 1.5; }
.logo-line { fill: none; stroke: var(--text); stroke-width: 1; }
.header-link { color: var(--muted); font-size: .9375rem; text-decoration: none; }
h1, h2, h3 { text-wrap: balance; }
h1 { max-width: 12ch; margin: 0 0 24px; font-size: clamp(2.5rem, 5.2vw, 4.25rem); font-weight: 650; letter-spacing: -.03em; line-height: 1.05; }
h2 { margin: 0 0 22px; font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.12; }
h3 { margin: 0 0 8px; font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
p { max-width: 65ch; margin: 0; }
.hero { min-height: 520px; display: grid; grid-template-columns: 7fr 5fr; align-items: center; gap: 40px; padding-top: 6rem; padding-bottom: 6rem; }
.hero-copy > p { max-width: 40ch; color: var(--muted); margin-bottom: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 23px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: color 160ms ease, background-color 160ms ease, transform 160ms cubic-bezier(.23, 1, .32, 1); }
.button:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: color-mix(in srgb, var(--accent) 88%, var(--text)); color: var(--on-accent); }
}
.hero-capsule { width: min(100%, 320px); justify-self: end; transform: rotate(-18deg); }
.hero-capsule svg { display: block; width: 100%; height: auto; overflow: visible; }
.capsule-half-left { transform: translateX(-12px); animation: capsule-left 900ms cubic-bezier(.23, 1, .32, 1) 150ms forwards; }
.capsule-half-right { transform: translateX(12px); animation: capsule-right 900ms cubic-bezier(.23, 1, .32, 1) 150ms forwards; }
@keyframes capsule-left { to { transform: translateX(0); } }
@keyframes capsule-right { to { transform: translateX(0); } }
.section { padding-top: 8rem; padding-bottom: 8rem; }
.work-section { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; }
.section-title h2 { position: sticky; top: 96px; }
.work-list { border-top: 1px solid var(--line); }
.work-item { padding: 30px 0 34px; }
.work-item + .work-item { border-top: 1px solid var(--line); }
.work-item p { color: var(--muted); }
.applications-section { background: var(--surface); }
.applications-inner { padding-top: 7rem; padding-bottom: 7rem; }
.applications-lead { max-width: 22ch; margin-bottom: 20px; font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.12; }
.applications-note { color: var(--muted); }
.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; }
.contact-section { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; }
.contact-email { display: inline-block; max-width: 100%; margin: 0 0 24px; overflow-wrap: anywhere; font-size: clamp(1.5rem, 4vw, 2.75rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; text-decoration-thickness: 2px; }
address { color: var(--muted); font-style: normal; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; padding-top: 38px; padding-bottom: 48px; }
.footer-grid p { margin: 0; }
.footer-grid > div:last-child { justify-self: end; }
.footer-grid a { display: inline-block; margin-bottom: 4px; }
.legal-page { width: min(calc(100% - 48px), 68ch); padding-top: 7rem; padding-bottom: 8rem; }
.legal-page h1 { max-width: 14ch; margin-bottom: 18px; }
.legal-date { color: var(--muted); margin-bottom: 5rem; }
.legal-content section { padding: 30px 0 34px; border-top: 1px solid var(--line); }
.legal-content h2 { margin-bottom: 18px; font-size: 1.3rem; letter-spacing: -.015em; }
.legal-content p { color: var(--muted); margin-bottom: 14px; }
.legal-content p:last-child { margin-bottom: 0; }
.legal-content strong { color: var(--text); font-weight: 600; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .capsule-half-left, .capsule-half-right { transform: translateX(0); }
}
@media (max-width: 767px) {
  .shell { width: min(calc(100% - 32px), var(--shell)); }
  .hero { min-height: 0; grid-template-columns: 1fr; gap: 48px; padding-top: 4.5rem; padding-bottom: 5.5rem; }
  .hero-capsule { width: min(200px, 70vw); justify-self: start; margin-left: 14px; }
  .section { padding-top: 5.5rem; padding-bottom: 5.5rem; }
  .work-section, .contact-section { grid-template-columns: 1fr; gap: 24px; }
  .section-title h2 { position: static; }
  .applications-inner { padding-top: 5.5rem; padding-bottom: 5.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; }
  .footer-grid > div:last-child { justify-self: start; }
  .legal-page { width: min(calc(100% - 32px), 68ch); padding-top: 4.5rem; padding-bottom: 5.5rem; }
  .legal-date { margin-bottom: 3.5rem; }
}
