:root {
  --ink: #0c0d0e;
  --ink-soft: #17181a;
  --paper: #f3f1eb;
  --muted: #a7a6a1;
  --blue: #7e94ff;
  --line: rgba(243, 241, 235, 0.18);
  --sans: "DM Sans", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "DM Mono", monospace;
}

* { box-sizing: border-box; }
html { background: var(--ink); scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--ink); color: var(--paper); font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.progress { position: fixed; z-index: 20; top: 0; left: 0; width: 100%; height: 2px; background: transparent; }
.progress span { display: block; width: 0; height: 100%; background: var(--blue); }
.site-header { position: absolute; z-index: 4; top: 0; left: 0; display: flex; width: 100%; height: 84px; align-items: center; justify-content: space-between; padding: 0 4.5vw; }
.brand { font-size: 21px; font-weight: 600; letter-spacing: -0.07em; }
nav { display: flex; gap: 25px; color: rgba(243, 241, 235, 0.7); font-size: 12px; }
nav a { transition: color 180ms ease; }
nav a:hover { color: var(--paper); }
nav span, footer b { color: var(--blue); font-size: 15px; }

.hero { position: relative; display: flex; min-height: 100svh; align-items: center; padding: 136px 4.5vw 70px; overflow: hidden; background: #0c0d0e; isolation: isolate; }
.hero::before { position: absolute; z-index: 0; top: 4%; right: -12%; width: 73vw; height: 88%; pointer-events: none; background: radial-gradient(ellipse at center, rgba(112, 132, 255, 0.17), rgba(75, 84, 182, 0.075) 37%, transparent 68%); filter: blur(18px); content: ""; animation: ambient 9s ease-in-out infinite; }
.hero-copy { position: relative; z-index: 2; width: min(49%, 670px); padding-bottom: 2vh; }
.kicker { margin: 0; color: var(--blue); font: 500 10px/1.2 var(--mono); letter-spacing: 0.11em; text-transform: uppercase; }
.hero h1, h2 { margin: 0; font-weight: 400; letter-spacing: -0.075em; }
.hero h1 { margin-top: 32px; font-size: clamp(68px, 7.65vw, 128px); line-height: 0.82; }
em { color: var(--blue); font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.06em; }
.hero-summary { max-width: 365px; margin: 33px 0 0; color: rgba(243, 241, 235, 0.66); font-size: 16px; line-height: 1.6; letter-spacing: -0.02em; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 32px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: space-between; gap: 29px; padding: 0 17px 0 19px; font: 500 10px var(--mono); letter-spacing: 0.035em; text-transform: uppercase; transition: transform 180ms ease, box-shadow 180ms ease; }
.button:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22); }
.button span { font-size: 18px; }
.button-light { color: var(--ink); background: var(--paper); }
.sound-button { display: flex; align-items: center; gap: 9px; padding: 0; border: 0; color: rgba(243, 241, 235, 0.8); background: transparent; font-size: 12px; }
.sound-button span { display: grid; width: 22px; height: 22px; place-items: center; border: 1px solid rgba(243, 241, 235, 0.5); border-radius: 50%; color: var(--paper); font-size: 8px; }
.sound-button i { font-style: normal; }

.hero-film { --px: 0; --py: 0; position: absolute; z-index: 1; top: 17vh; right: 4.5vw; width: min(51vw, 830px); margin: 0; overflow: hidden; border: 1px solid rgba(243, 241, 235, 0.13); background: #17181a; box-shadow: -32px 36px 90px rgba(0, 0, 0, 0.42), 0 0 72px rgba(112, 132, 255, 0.08); transform: perspective(1800px) rotateY(calc(var(--px) * 1.4deg - 3deg)) rotateX(calc(var(--py) * -0.8deg + 1deg)); transform-origin: right center; transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1); animation: film-appear 900ms cubic-bezier(0.22, 1, 0.36, 1) 160ms both; }
.hero-film::after { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(12, 13, 14, 0.23), transparent 28%); content: ""; }
.hero-film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: #17181a; }
.hero-film figcaption { position: absolute; z-index: 1; right: 18px; bottom: 15px; left: 18px; display: flex; justify-content: space-between; color: rgba(255, 255, 255, 0.76); font: 9px var(--mono); letter-spacing: 0.07em; text-transform: uppercase; }
.hero-index { position: absolute; right: 4.5vw; bottom: 28px; margin: 0; color: rgba(243, 241, 235, 0.36); font: 10px var(--mono); letter-spacing: 0.08em; }

.statement { display: grid; grid-template-columns: 0.55fr 1.45fr; gap: 7vw; padding: 145px 9vw 155px; color: var(--ink); background: var(--paper); }
.statement .kicker { color: #62615d; }
.statement h2 { max-width: 950px; font-size: clamp(55px, 6.3vw, 100px); line-height: 0.89; }
.statement div > p { max-width: 390px; margin: 46px 0 0; color: #696862; font-size: 17px; line-height: 1.6; }

.steps { padding: 144px 9vw 135px; background: var(--ink-soft); }
.steps-heading { display: grid; grid-template-columns: 0.55fr 1.45fr; gap: 7vw; }
.steps h2 { font-size: clamp(54px, 6vw, 96px); line-height: 0.86; }
.steps ol { max-width: 1120px; margin: 105px auto 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 104px 1fr; gap: 23px; padding: 34px 0 38px; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li > span { color: var(--blue); font: 10px var(--mono); }
.steps h3 { margin: 0; font-size: clamp(29px, 3.2vw, 47px); font-weight: 400; letter-spacing: -0.06em; line-height: 0.98; }
.steps li p { max-width: 440px; margin: 15px 0 0; color: var(--muted); font-size: 15px; line-height: 1.58; }

.systems { padding: 150px 9vw; color: var(--ink); background: #dbe2ff; }
.systems .kicker { color: #5263b3; }
.systems h2 { margin-top: 40px; font-size: clamp(61px, 7.1vw, 112px); line-height: 0.84; }
.systems h2 em { color: #5368d4; }
.systems-copy { max-width: 370px; margin: 44px 0 0; color: #555a70; font-size: 17px; line-height: 1.58; }
.systems-list { display: flex; flex-wrap: wrap; gap: 11px 28px; margin-top: 95px; font-size: clamp(25px, 3.2vw, 49px); letter-spacing: -0.065em; }
.systems-list span { transition: color 180ms ease; }
.systems-list span:hover { color: #5368d4; }

.closing { display: flex; min-height: 79svh; flex-direction: column; align-items: center; justify-content: center; padding: 110px 7vw; text-align: center; background: var(--ink); }
.closing h2 { margin: 37px 0 39px; font-size: clamp(57px, 7.4vw, 118px); line-height: 0.84; }
.button-blue { color: var(--ink); background: var(--blue); }
footer { display: flex; min-height: 98px; align-items: center; justify-content: space-between; gap: 20px; padding: 0 4.5vw; border-top: 1px solid var(--line); color: rgba(243, 241, 235, 0.55); font-size: 12px; }
footer .attribution { margin-left: auto; }
footer > a:last-child { color: var(--paper); font-weight: 500; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
.intro { opacity: 0; transform: translateY(16px); animation: enter 650ms cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.intro:nth-child(1) { animation-delay: 70ms; }.intro:nth-child(2) { animation-delay: 140ms; }.intro:nth-child(3) { animation-delay: 210ms; }.intro:nth-child(4) { animation-delay: 280ms; }
@keyframes enter { to { opacity: 1; transform: none; } }
@keyframes film-appear { from { opacity: 0; filter: blur(8px); } to { opacity: 1; filter: blur(0); } }
@keyframes ambient { 50% { opacity: 0.58; transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 1ms !important; transition-duration: 1ms !important; } }

@media (max-width: 800px) {
  .site-header { height: 68px; padding: 0 6vw; }
  .hero { min-height: 100svh; align-items: flex-end; padding: 112px 7vw 79px; }
  .hero-copy { width: 100%; padding: 0; }
  .hero h1 { margin-top: 25px; font-size: clamp(63px, 17vw, 91px); }
  .hero-summary { max-width: 330px; margin-top: 27px; font-size: 15px; }
  .hero::before { top: 7%; right: -35%; width: 120vw; opacity: 0.55; }
  .hero-film { top: 0; right: 0; width: 100%; height: 100%; box-shadow: none; opacity: 0.34; transform: none !important; animation: none; }
  .hero-film::before { position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, rgba(12, 13, 14, 0.12) 12%, rgba(12, 13, 14, 0.86) 73%, #0c0d0e); content: ""; }
  .hero-film::after { background: rgba(12, 13, 14, 0.18); }
  .hero-film video { height: 100%; object-position: 58% center; }
  .hero-film figcaption { display: none; }
  .hero-index { right: 7vw; bottom: 26px; }
  .statement, .steps-heading { grid-template-columns: 1fr; gap: 35px; }
  .statement, .steps, .systems { padding: 95px 7vw; }
  .statement h2, .steps h2 { font-size: clamp(51px, 13vw, 75px); }
  .statement div > p { margin-top: 33px; font-size: 16px; }
  .steps ol { margin-top: 70px; }
  .steps li { grid-template-columns: 39px 1fr; gap: 13px; padding: 28px 0 31px; }
  .steps h3 { font-size: 31px; }
  .systems h2 { font-size: clamp(58px, 14vw, 82px); }
  .systems-list { gap: 7px 20px; margin-top: 65px; font-size: 31px; }
  .closing { min-height: 68svh; padding: 90px 7vw; }
  .closing h2 { font-size: clamp(55px, 14vw, 77px); }
  footer { min-height: 120px; flex-wrap: wrap; align-content: center; padding: 20px 7vw; }
  footer > span { width: 100%; order: 3; }
  footer .attribution { margin-left: 0; }
}

@media (max-width: 480px) {
  nav a:first-child { display: none; }
  nav { gap: 0; }
  .hero-actions { gap: 18px; flex-wrap: wrap; }
  .button { min-height: 47px; }
  .sound-button { font-size: 11px; }
}
