:root {
  color-scheme: light;
  --background: #f4f1e9;
  --text: #171714;
  --secondary: #686861;
  --rule: rgba(23, 23, 20, 0.22);
  --rule-soft: rgba(23, 23, 20, 0.11);
  --signal: #f13b22;
  --on-dark: #f7f4ec;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --background: #11110f;
  --text: #f1eee6;
  --secondary: #a5a39c;
  --rule: rgba(241, 238, 230, 0.22);
  --rule-soft: rgba(241, 238, 230, 0.11);
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) {
    color-scheme: dark;
    --background: #11110f;
    --text: #f1eee6;
    --secondary: #a5a39c;
    --rule: rgba(241, 238, 230, 0.22);
    --rule-soft: rgba(241, 238, 230, 0.11);
  }
}

* { box-sizing: border-box; }

html {
  background: var(--background);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100svh;
  background: var(--background);
  color: var(--text);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button, a { font: inherit; }
button { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--text);
  color: var(--background);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header,
.site-footer,
.landing-shell {
  width: min(1240px, calc(100% - 72px));
  margin-inline: auto;
}

.site-header {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--rule);
}

.brand {
  display: flex;
  align-items: center;
  width: 126px;
}

.brand-mark {
  display: block;
  width: 100%;
  height: auto;
}

.brand-mark-dark { display: none; }

html[data-theme="dark"] .brand-mark-light { display: none; }
html[data-theme="dark"] .brand-mark-dark { display: block; }

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .brand-mark-light { display: none; }
  html:not([data-theme="light"]) .brand-mark-dark { display: block; }
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 38px;
}

.release-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--secondary);
  font-size: 12px;
  letter-spacing: .04em;
}

.release-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
}

.theme-switch {
  display: flex;
  align-items: center;
  gap: 16px;
}

.theme-switch button {
  min-height: 44px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--secondary);
  cursor: pointer;
  font-size: 11px;
  letter-spacing: .04em;
}

.theme-switch button[aria-pressed="true"] {
  border-color: var(--text);
  color: var(--text);
}

.theme-switch button:focus-visible,
.watch-button:focus-visible,
.video-action:focus-visible,
.sound-toggle:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 4px;
}

.landing-shell {
  min-height: calc(100svh - 158px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  align-items: center;
  gap: clamp(70px, 10vw, 160px);
  padding-block: clamp(68px, 9vh, 116px);
}

.intro {
  align-self: center;
  padding-top: 8px;
}

.section-label {
  margin: 0 0 42px;
  color: var(--secondary);
  font-size: 13px;
  letter-spacing: .02em;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(64px, 8vw, 116px);
  font-weight: 600;
  letter-spacing: -.065em;
  line-height: .94;
}

.intro-copy {
  max-width: 460px;
  margin: 32px 0 0;
  color: var(--secondary);
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 400;
  letter-spacing: -.015em;
  line-height: 1.45;
}

.watch-button {
  width: min(100%, 460px);
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 46px;
  padding: 0 0 0 1px;
  border: 0;
  border-top: 1px solid var(--text);
  border-bottom: 1px solid var(--text);
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  text-align: left;
}

.watch-arrow {
  color: var(--signal);
  font-size: 23px;
  transition: transform 180ms ease;
}

.watch-button:hover .watch-arrow { transform: translateX(5px); }

.release-note {
  width: min(100%, 460px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 78px 0 0;
  padding-top: 15px;
  border-top: 1px solid var(--rule-soft);
}

.release-note div { min-width: 0; }
.release-note dt,
.release-note dd {
  margin: 0;
  font-size: 11px;
  line-height: 1.4;
}
.release-note dt { color: var(--secondary); }
.release-note dd { margin-top: 5px; }

.teaser-stage { align-self: center; }

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: #0d0d0c;
}

.video-frame video,
.video-poster {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-poster { z-index: 0; }

.video-frame video {
  z-index: 1;
  opacity: 0;
}

.video-frame.is-video-ready video { opacity: 1; }
.video-frame.is-video-ready .video-poster { opacity: 0; }

.video-action {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 13px;
  z-index: 2;
  border: 0;
  background: rgba(0, 0, 0, .12);
  color: var(--on-dark);
  cursor: pointer;
  text-align: center;
  transition: opacity 180ms ease;
}

.video-action span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-inline: auto;
  padding-left: 3px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  background: rgba(0, 0, 0, .38);
}

.video-action strong {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
}

.video-action.is-hidden { opacity: 0; pointer-events: none; }

.sound-toggle {
  position: absolute;
  z-index: 2;
  right: 13px;
  bottom: 13px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 2px;
  background: rgba(0, 0, 0, .58);
  color: var(--on-dark);
  cursor: pointer;
  font-size: 10px;
  letter-spacing: .03em;
}

.stage-caption {
  display: flex;
  justify-content: space-between;
  margin: 13px 0 0;
  color: var(--secondary);
  font-size: 11px;
  line-height: 1.4;
}

.site-footer {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--rule);
  color: var(--secondary);
  font-size: 11px;
}

@media (max-width: 900px) {
  .site-header,
  .site-footer,
  .landing-shell { width: min(100% - 40px, 680px); }
  .site-header { min-height: 80px; }
  .header-meta { gap: 18px; }
  .release-status { display: none; }
  .theme-switch { gap: 13px; }
  .theme-switch button { min-height: 42px; font-size: 10px; }
  .landing-shell { grid-template-columns: 1fr; gap: 70px; padding-block: 62px 80px; }
  .section-label { margin-bottom: 30px; }
  h1 { max-width: 590px; font-size: clamp(58px, 15vw, 94px); }
  .intro-copy { max-width: 430px; }
  .release-note { margin-top: 58px; }
  .teaser-stage { width: min(100%, 380px); margin-inline: auto; }
}

@media (max-width: 520px) {
  .site-header,
  .site-footer,
  .landing-shell { width: calc(100% - 32px); }
  .brand { width: 108px; }
  .theme-switch { gap: 10px; }
  .theme-switch button { font-size: 9px; }
  .landing-shell { gap: 58px; padding-top: 52px; }
  h1 { font-size: clamp(54px, 18vw, 78px); letter-spacing: -.055em; }
  .intro-copy { margin-top: 24px; font-size: 18px; }
  .watch-button { margin-top: 36px; }
  .release-note { grid-template-columns: 1fr 1fr; row-gap: 17px; margin-top: 48px; }
  .release-note div:last-child { grid-column: 1 / -1; }
  .site-footer { min-height: 58px; }
}

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