:root {
  color-scheme: light dark;
  --bg: #f5f7fa;
  --surface: #ffffff;
  --surface-2: #e9edf3;
  --text: #111827;
  --muted: #526071;
  --line: #cdd5df;
  --accent: #2458d3;
  --accent-ink: #ffffff;
  --radius: 18px;
  --shadow: 0 24px 70px rgb(22 34 52 / 0.12);
  font-family: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.6; }
a { color: inherit; text-underline-offset: 0.2em; }
img { display: block; max-width: 100%; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid color-mix(in srgb, var(--line) 75%, transparent); background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(14px); }
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-size: 1.02rem; font-weight: 760; text-decoration: none; letter-spacing: -0.02em; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.nav-links { display: flex; align-items: center; gap: 28px; white-space: nowrap; }
.nav-links a { color: var(--muted); font-size: 0.94rem; font-weight: 650; text-decoration: none; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--text); }

.hero { min-height: calc(100dvh - 72px); display: grid; grid-template-columns: 0.85fr 1.15fr; align-items: center; gap: clamp(36px, 6vw, 84px); padding-block: 56px; }
.hero-copy { max-width: 560px; }
.eyebrow { margin: 0 0 18px; color: var(--accent); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
h1, h2, h3, p { text-wrap: pretty; }
h1 { margin: 0; font-size: clamp(2.55rem, 4.25vw, 3.65rem); line-height: 0.98; letter-spacing: -0.06em; }
h1 span { display: block; white-space: nowrap; }
h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.8rem); line-height: 1.02; letter-spacing: -0.045em; }
h3 { margin: 0 0 8px; font-size: 1.05rem; letter-spacing: -0.015em; }
.lede { max-width: 52ch; margin: 26px 0 0; color: var(--muted); font-size: 1.08rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 20px; border: 1px solid var(--line); border-radius: 12px; font-weight: 760; text-decoration: none; white-space: nowrap; transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease; }
.button:active { transform: translateY(1px); }
.button:focus-visible, a:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 3px; }
.button.primary { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.button.primary:hover { background: color-mix(in srgb, var(--accent) 88%, #000000); }
.button.secondary { background: var(--surface); color: var(--text); }
.button.secondary:hover { border-color: var(--text); }
.hero-media, .studio-media { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.hero-media { transform: translateY(12px); }
.hero-media img, .studio-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media img { aspect-ratio: 3 / 2; }

.company { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 9vw, 120px); padding-block: 112px; border-top: 1px solid var(--line); }
.company > div > p { max-width: 54ch; margin: 24px 0 0; color: var(--muted); }
.company-facts { margin: 0; }
.company-facts div { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.company-facts div:first-child { border-top: 1px solid var(--line); }
dt { color: var(--muted); font-size: 0.88rem; font-weight: 700; }
dd { margin: 0; font-weight: 680; }

.build { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(44px, 8vw, 100px); align-items: center; padding-block: 112px; }
.studio-media img { aspect-ratio: 3 / 2; }
.build-copy > p { max-width: 46ch; margin: 24px 0 36px; color: var(--muted); }
.build-list { display: grid; gap: 24px; }
.build-list article { padding-left: 18px; border-left: 3px solid var(--accent); }
.build-list p { margin: 0; color: var(--muted); }

.approach { padding-block: 112px; }
.approach > h2 { max-width: 620px; }
.principles { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 0 64px; margin-top: 52px; border-top: 1px solid var(--line); }
.principles article { padding: 30px 0; border-bottom: 1px solid var(--line); }
.principles p { margin: 0; max-width: 48ch; color: var(--muted); }

.process-film { border-block: 1px solid var(--line); }
.process-stage { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: clamp(44px, 7vw, 96px); align-items: center; padding-block: 112px; }
.process-film.is-scrubbable { height: 270vh; }
.process-film.is-scrubbable .process-stage { position: sticky; top: 72px; min-height: calc(100dvh - 72px); padding-block: clamp(44px, 7vh, 76px); }
.process-copy > p:not(.eyebrow) { max-width: 46ch; margin: 24px 0 0; color: var(--muted); }
.process-chapters { display: grid; gap: 0; margin: 38px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process-chapters li { display: grid; gap: 4px; padding: 18px 0 18px 16px; border-bottom: 1px solid var(--line); border-left: 3px solid transparent; color: var(--muted); transition: color 180ms ease, border-color 180ms ease; }
.process-chapters li.is-active { border-left-color: var(--accent); color: var(--text); }
.process-chapters strong { font-size: 0.98rem; }
.process-chapters span { font-size: 0.9rem; }
.process-media { position: relative; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.process-media video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.scrub-track { position: absolute; right: 20px; bottom: 18px; left: 20px; height: 3px; overflow: hidden; border-radius: 999px; background: rgb(255 255 255 / 0.4); box-shadow: 0 1px 0 rgb(0 0 0 / 0.12); }
.scrub-track > span { display: block; width: 100%; height: 100%; background: #ffffff; transform: scaleX(var(--scrub-progress, 0)); transform-origin: left center; will-change: transform; }

.contact { margin-block: 80px 112px; display: flex; align-items: center; justify-content: space-between; gap: 48px; padding: clamp(32px, 5vw, 64px); border-radius: var(--radius); background: #101827; color: #f4f7fb; }
.contact h2 { max-width: 720px; }
.contact p { max-width: 58ch; margin: 16px 0 0; color: #c6d0df; }
.contact .button.primary { flex: 0 0 auto; background: #f4f7fb; border-color: #f4f7fb; color: #101827; }

.footer { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
.footer nav { display: flex; gap: 22px; }
.footer a { font-weight: 700; }

.legal { max-width: 800px; padding-block: 88px 120px; }
.legal h1, .support h1 { font-size: clamp(3rem, 7vw, 5.5rem); }
.updated { color: var(--muted); margin: 18px 0 60px; }
.legal section { padding: 30px 0; border-top: 1px solid var(--line); }
.legal section h2 { font-size: 1.45rem; letter-spacing: -0.025em; }
.legal section p { margin: 14px 0 0; color: var(--muted); }

.support { min-height: calc(100dvh - 164px); display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(56px, 10vw, 130px); align-items: center; padding-block: 88px; }
.support-intro > p:not(.eyebrow) { max-width: 52ch; margin: 24px 0 30px; color: var(--muted); }
.support-note { padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.support-note h2 { margin-top: 32px; font-size: 1.35rem; letter-spacing: -0.025em; }
.support-note h2:first-child { margin-top: 0; }
.support-note p { margin: 10px 0 0; color: var(--muted); }

@media (prefers-color-scheme: dark) {
  :root { --bg: #0c111b; --surface: #141c29; --surface-2: #1a2433; --text: #edf2f8; --muted: #aab6c7; --line: #2b3748; --accent: #7da2ff; --accent-ink: #09101d; --shadow: 0 24px 70px rgb(0 0 0 / 0.35); }
  .contact { background: #e8edf5; color: #101827; }
  .contact p { color: #465469; }
  .contact .button.primary { background: #101827; border-color: #101827; color: #f4f7fb; }
}

@media (max-width: 820px) {
  .shell { width: min(100% - 28px, 680px); }
  .nav { min-height: 64px; }
  .nav-links { gap: 16px; }
  .nav-links a:first-child { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 40px; padding-block: 56px 72px; }
  h1 { font-size: clamp(2.3rem, 10vw, 2.75rem); }
  .hero-media { transform: none; }
  .company, .build, .support { grid-template-columns: 1fr; }
  .company, .build, .approach { padding-block: 78px; }
  .build-copy { order: -1; }
  .process-stage { grid-template-columns: 1fr; gap: 24px; padding-block: 78px; }
  .process-film.is-scrubbable { height: 230vh; }
  .process-film.is-scrubbable .process-stage { top: 64px; min-height: calc(100dvh - 64px); padding-block: 18px; }
  .process-copy > p:not(.eyebrow) { margin-top: 18px; }
  .process-chapters { margin-top: 24px; }
  .process-chapters li { padding-block: 10px; }
  .process-media { order: -1; }
  .principles { grid-template-columns: 1fr; gap: 0; }
  .contact { margin-block: 48px 78px; align-items: flex-start; flex-direction: column; }
  .footer { padding-block: 26px; align-items: flex-start; flex-direction: column; }
  .support { padding-block: 64px 88px; }
}

@media (max-width: 480px) {
  .brand span { font-size: 0.94rem; }
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 0.86rem; }
  .company-facts div { grid-template-columns: 1fr; gap: 4px; }
  .actions, .actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  .process-film.is-scrubbable { height: auto; }
  .process-film.is-scrubbable .process-stage { position: static; min-height: 0; padding-block: 78px; }
  .scrub-track { display: none; }
}
