@font-face {
  font-family: Archivo;
  src: url('/assets/fonts/archivo-100-900-w62-125-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Plex;
  src: url('/assets/fonts/ibm-plex-mono-400-latin.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  background: #020507;
  color: #edf4f7;
  font-family: Archivo, Arial, sans-serif;
  --gutter: clamp(25px, 5vw, 100px);
  --cyan: #89e7f3;
  --muted: #99adb9;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { cursor: default; opacity: .5; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.source-definitions { position: absolute; pointer-events: none; }
.skip-link { position: fixed; z-index: 30; top: 15px; left: 25px; padding: 12px 18px; background: #d5f7fc; color: #001019; transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.scene { position: relative; min-height: 100svh; overflow: hidden; isolation: isolate; background: #020507; }
.ambient-light {
  position: absolute; z-index: -4; inset: 0;
  background: radial-gradient(ellipse 37% 53% at 72% 42%, #062a3a73, transparent 78%),
              radial-gradient(ellipse 55% 24% at 67% 100%, #05243340, transparent 80%);
}
.still-field {
  position: absolute; z-index: -3; inset: 0; opacity: .3; pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 73px, #1a65841a 73px 74px, transparent 74px 140px);
  mask-image: linear-gradient(transparent, #0009 28%, transparent 82%);
}
#light-field { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.scene-vignette {
  position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, #020507a8, transparent 35%, transparent 80%, #02050745),
              linear-gradient(#02050775, transparent 22%, transparent 72%, #02050750);
}

.site-header {
  position: absolute; z-index: 5; inset: 0 0 auto;
  height: 108px; padding: 0 var(--gutter); display: flex;
  align-items: center; justify-content: space-between; mix-blend-mode: screen;
}
.brand { display: block; width: 158px; padding: 8px 0; mix-blend-mode: screen; }
.brand svg { display: block; width: 100%; height: auto; }
.navigation { display: flex; gap: 36px; align-items: center; font-size: 12px; letter-spacing: .015em; }
.navigation a { position: relative; display: inline-flex; align-items: center; min-height: 44px; color: #b8c8d1; transition: color .22s; }
.navigation a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: #8ed5e3; transform: scaleX(0); transform-origin: left; transition: transform .22s; }
.navigation a:hover { color: #effcff; }
.navigation a:hover::after { transform: scaleX(1); }
.navigation .account { margin-left: 5px; border-left: 1px solid #2b424b; padding-left: 31px; }
.navigation .account::after { left: 31px; }
.navigation .account > span[aria-hidden] { margin-left: 17px; color: #8cc4d4; }

.landing {
  position: relative; min-height: max(760px, 100svh); display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 22px;
  align-items: center; padding: 112px var(--gutter) 150px;
}
.hero-copy { position: relative; z-index: 2; align-self: center; max-width: 640px; padding-bottom: 8px; }
.eyebrow { display: flex; align-items: center; gap: 13px; margin: 0 0 28px; font: 400 10px/1.6 Plex, monospace; letter-spacing: .12em; text-transform: uppercase; color: #a0bfce; }
.eyebrow > span { display: inline-block; width: 28px; height: 1px; background: #6cc6d9; }
h1 { margin: 0; font-size: clamp(55px,5.3vw,96px); font-weight: 410; font-stretch: 96%; letter-spacing: -.055em; line-height: 1.035; }
h1 > span { color: #bce3ec; }
.description { margin: 27px 0 0; color: var(--muted); font-size: clamp(13px,1.03vw,16px); line-height: 1.85; letter-spacing: -.006em; }
.primary-action {
  position: relative; display: inline-flex; align-items: center; justify-content: space-between;
  gap: 39px; margin-top: 31px; padding: 18px 23px; min-height: 54px;
  border: 1px solid #557786; background: #08151cbb; font-size: 11px;
  font-weight: 500; letter-spacing: .025em; transition: background .22s, border-color .22s;
}
.primary-action::before { content: ''; position: absolute; left: -1px; right: -1px; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, #b1f1fa, transparent); opacity: .3; transition: opacity .22s; }
.primary-action > span[aria-hidden] { color: #b3f2fa; font-size: 18px; line-height: 1; transition: transform .22s; }
.primary-action:hover, .primary-action:focus-visible { background: #10303dbb; border-color: #8bcfdc; }
.primary-action:hover::before { opacity: .8; }
.primary-action:hover > span[aria-hidden] { transform: translate(2px,-2px); }

.art-stage { position: relative; z-index: 1; width: min(100%,690px,calc((100svh - 262px)*1.0256)); justify-self: center; aspect-ratio: 800/780; mix-blend-mode: screen; }
.company-art { position: relative; z-index: 2; display: block; width: 100%; height: 100%; overflow: hidden; }
.projection-ring { position: absolute; z-index: 1; left: 28%; right: 27%; bottom: 26%; height: 4%; border-radius: 50%; background: radial-gradient(ellipse, #20b5d51c, transparent 67%); filter: blur(12px); opacity: .3; }
.resting-art { opacity: 1; }
.forming-art { display: none; }

.landing-footer {
  position: absolute; z-index: 4; bottom: 25px; left: var(--gutter); right: var(--gutter);
  display: grid; grid-template-columns: 1fr 1.2fr 1fr; align-items: center; gap: 30px;
  padding-top: 20px; border-top: 1px solid #24404c80;
  color: #a2b3bd; font: 400 10px/1.75 Plex, monospace;
}
.footer-thought { margin: 0; color: #bacbd4; letter-spacing: .02em; }
.footer-thought > span { color: #78919f; }
.release-note { justify-self: center; }
.release-note > a { display: flex; align-items: center; gap: 13px; min-height: 28px; color: #cedee6; font-size: 10px; letter-spacing: .025em; }
.release-note > a > i { width: 4px; height: 4px; flex-shrink: 0; background: #8beaf4; box-shadow: 0 0 8px #4ce2ed45; }
.release-note .available { color: #87b5c8; font-size: 9px; }
.release-note > a > span[aria-hidden] { margin-left: 5px; color: #94b6c6; }
.release-note > p { margin: 4px 0 0; color: #6c8998; font-size: 8.5px; }
.release-note > p > span { margin-left: 10px; color: #96aebb; }
.motion-tools { display: flex; justify-self: end; align-items: center; gap: 23px; }
.motion-tools button { padding: 9px 0; min-height: 44px; border: 0; background: none; color: #a0b8c6; font: 400 9px/1.5 Plex, monospace; white-space: nowrap; transition: color .2s; }
.motion-tools button:hover { color: #d0f6fb; }
.motion-tools button > span:first-child { display: inline-block; margin-right: 7px; color: #9bdeeb; font-size: 12px; vertical-align: -1px; }
.motion-tools button[aria-pressed="true"] .pause-icon { font-size: 0; }
.motion-tools button[aria-pressed="true"] .pause-icon::after { content: '▷'; font-size: 12px; }

/* Navigation remains available throughout the reveal. */
html[data-reveal] .resting-art { opacity: var(--art-rest,0); }
html[data-reveal] .forming-art { display: block; opacity: var(--art-form,1); }
html[data-reveal="pending"] .company-art { opacity: 0; }
html[data-reveal] .hero-copy { opacity: var(--copy-alpha,0); transform: translateY(var(--copy-offset,8px)); }
html[data-reveal] .hero-copy:focus-within { opacity: 1; transform: none; }
#pixel-seed, #falling-fold, #reading-light, #forming-type { opacity: 0; }

@media (min-width:1900px) {
  .landing { gap: 40px; }
  .description { font-size: 16px; }
  .navigation { gap: 40px; }
}
@media (max-width:1120px) and (min-width:781px) {
  .landing { grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); gap: 0; }
  h1 { font-size: clamp(51px,6.2vw,69px); }
  .description { font-size: 12px; }
  .eyebrow { font-size: 8px; gap: 9px; }
  .landing-footer { grid-template-columns: .8fr 1.2fr; }
  .footer-thought { display: none; }
  .release-note { justify-self: start; }
  .motion-tools { gap: 16px; }
  .navigation { gap: 26px; }
}
@media (max-height:780px) and (min-width:781px) {
  .landing { min-height: max(640px,100svh); padding-top: 100px; padding-bottom: 128px; }
  .site-header { height: 90px; }
  .art-stage { width: min(100%,530px,calc((100svh - 230px)*1.0256)); }
  h1 { font-size: clamp(52px,5vw,78px); }
  .eyebrow { margin-bottom: 23px; }
  .description { margin-top: 22px; }
  .primary-action { margin-top: 24px; }
  .landing-footer { bottom: 20px; padding-top: 17px; }
}
@media (max-width:780px) {
  :root { --gutter: 25px; }
  .site-header { height: 83px; }
  .brand { width: 119px; }
  .navigation { gap: 17px; font-size: 10px; }
  .navigation .account { margin-left: 0; padding-left: 15px; }
  .navigation .account::after { left: 15px; }
  .navigation .account > span[aria-hidden] { margin-left: 7px; }
  .ambient-light { background: radial-gradient(ellipse 80% 48% at 58% 26%, #062b3b73, transparent 80%); }
  .scene-vignette { background: linear-gradient(#02050780, transparent 24%, transparent 65%, #02050750); }
  .landing { min-height: max(760px,100svh); display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: 99px var(--gutter) 176px; }
  .art-stage { order: 0; width: min(78vw,370px); flex-shrink: 0; }
  .hero-copy { order: 1; align-self: center; width: 100%; max-width: 100%; padding: 0; text-align: center; }
  .eyebrow { justify-content: center; gap: 9px; margin-bottom: 16px; font-size: 8px; letter-spacing: .08em; }
  .eyebrow > span { width: 17px; }
  h1 { font-size: clamp(39px,8.8vw,54px); letter-spacing: -.045em; line-height: 1.06; }
  h1 br { display: none; }
  h1 > span::before { content: ' '; }
  .description { margin-top: 16px; font-size: 11px; line-height: 1.85; }
  .primary-action { gap: 31px; margin-top: 21px; padding: 14px 19px; min-height: 47px; font-size: 10px; }
  .landing-footer { bottom: 17px; grid-template-columns: 1fr; gap: 8px; padding-top: 14px; text-align: center; }
  .footer-thought { display: none; }
  .release-note { justify-self: center; }
  .release-note > a { gap: 10px; font-size: 9px; }
  .release-note .available { font-size: 8px; }
  .release-note > p { margin-top: 2px; font-size: 8px; }
  .release-note > p > span { margin-left: 8px; }
  .motion-tools { justify-self: center; gap: 27px; }
  .motion-tools button { padding: 6px 0; font-size: 9px; }
  .motion-tools button > span:first-child { font-size: 11px; }
  .projection-ring { opacity: .2; }
}
@media (max-width:390px) {
  :root { --gutter: 21px; }
  .brand { width: 108px; }
  .navigation { gap: 12px; font-size: 9px; }
  .navigation .account { padding-left: 12px; }
  .navigation .account::after { left: 12px; }
  .landing { gap: 21px; }
  h1 { font-size: clamp(31px,9.5vw,37px); }
  .description { font-size: 10px; }
  .eyebrow { font-size: 7px; }
  .release-note > p { font-size: 7px; }
}
@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html[data-reveal] .company-art, html[data-reveal] .hero-copy { opacity: 1 !important; transform: none !important; }
  html[data-reveal] .resting-art { opacity: 1 !important; }
  .forming-art { display: none !important; }
}
