/* Coming-soon page: the homepage hero's rules only (see ../styles.css). */
@font-face { font-family: 'Jost'; src: url('/fonts/jost.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Libre Caslon'; src: url('/fonts/libre-caslon-text.woff2') format('woff2'); font-weight: 400; font-display: swap; }
:root { --ink: #eeeef0; --night: #070a10; --sheet: #ebe6da; --bone: #ece8e0; --sans: 'Jost', 'Futura', 'Century Gothic', Arial, sans-serif; --serif: 'Libre Caslon', 'Big Caslon', Georgia, serif; color-scheme: dark; background: #030405; font-family: Arial, sans-serif; }
* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; height: 100%; }
body { overflow: hidden; color: var(--ink); }
.landing { position: relative; width: 100%; height: 100svh; overflow: hidden; background: #030405; }
#ocean { position: absolute; inset: 0; width: 100%; height: 100%; }
.atmosphere { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 49%, transparent 18%, rgba(0,0,0,.12) 57%, rgba(0,0,0,.65) 100%), linear-gradient(to bottom, rgba(0,0,0,.35), transparent 32%, transparent 71%, rgba(0,0,0,.68)); }
.artwork { position: absolute; z-index: 5; left: 0; top: 0; width: min(100vw, 177.7778svh); aspect-ratio: 16 / 9; perspective: 1500px; pointer-events: none; will-change: transform; transform-origin: 0 0; transform: translate3d(calc(50vw - 50%), calc(50svh - 50%), 0); }
.molecule, .wordmark { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; }
.molecule { z-index: 1; transform: translate3d(calc(var(--tilt-x, 0) * 3.375px), calc(var(--tilt-y, 0) * 2.25px), 0) rotateX(calc(var(--tilt-y, 0) * -3.6deg)) rotateY(calc(var(--tilt-x, 0) * 5.175deg)); transform-origin: 50% 50%; }
.wordmark { z-index: 2; transform: translate3d(calc(var(--tilt-x, 0) * 9px), calc(var(--tilt-y, 0) * 6.75px), 0) rotateX(calc(var(--tilt-y, 0) * -6.3deg)) rotateY(calc(var(--tilt-x, 0) * 8.55deg)); transform-origin: 50% 50%; }
.wordmark-name { position: absolute; left: 25%; top: 45.648148%; width: 51.041667%; height: 8.703704%; overflow: hidden; }
.wordmark-substance { position: absolute; left: 63.697917%; top: 55.555556%; width: 12.291667%; height: 3.148148%; overflow: hidden; }
.structure-transition { pointer-events: none; }
.structure-switch { position: absolute; left: 24%; top: 24%; width: 53%; height: 51%; z-index: 3; padding: 0; border: 0; border-radius: 5px; background: transparent; cursor: pointer; pointer-events: auto; -webkit-tap-highlight-color: transparent; }
.structure-switch:focus-visible { outline: 1px solid var(--bone); outline-offset: 5px; }
.molecule .structure-ink { filter: saturate(1.25) brightness(1.35); }
html.is-booting #ocean { opacity: 0; }
html.ocean-fade #ocean { transition: opacity .6s ease; }

.hero-intro { position: absolute; z-index: 6; left: 50%; bottom: clamp(48px, 9svh, 104px); transform: translateX(-50%); width: min(680px, calc(100% - 48px)); display: grid; justify-items: center; gap: 10px; text-align: center; }
.hero-question { max-width: 620px; margin: 0; color: #f2f3f5; font: 400 23px/1.32 var(--serif); letter-spacing: -.01em; text-wrap: balance; text-shadow: 0 1px 12px #030405; }
.hero-tagline { margin: 0; color: #a9afb9; font: 400 16px/1.6 var(--sans); letter-spacing: .01em; text-wrap: balance; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 10px; }
.hero-join { display: inline-block; min-height: 46px; padding: 13px 20px; border: 1px solid var(--sheet); border-radius: 2px; background: var(--sheet); color: var(--night); font: 500 15px/20px var(--sans); text-decoration: none; text-align: center; -webkit-tap-highlight-color: #efd18433; transition: background-color 180ms ease; }
.hero-join:hover { background: #fff; }
.hero-join:focus-visible { outline: 2px solid var(--sheet); outline-offset: 3px; }

.motion-control { position: absolute; z-index: 6; bottom: 22px; right: 24px; display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 10px 12px; border: 1px solid transparent; border-radius: 5px; color: #969ba5; background: transparent; cursor: pointer; font: 16px/1.2 Arial, sans-serif; letter-spacing: .09em; -webkit-tap-highlight-color: transparent; }
.motion-control:hover, .motion-control:focus-visible { color: white; background: #11151c; border-color: #454b56; }
.motion-control:focus-visible { outline: 2px solid var(--bone); outline-offset: 3px; }
.motion-control svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.motion-control .play-icon { display: none; }
.motion-control[aria-pressed="true"] .pause-icon { display: none; }
.motion-control[aria-pressed="true"] .play-icon { display: block; }
.control-label { opacity: 0; transition: opacity .2s; }
.motion-control:hover .control-label, .motion-control:focus-visible .control-label { opacity: 1; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

@media (max-aspect-ratio: 4/5) {
  .artwork { width: 180vw; }
  .motion-control { bottom: max(16px, env(safe-area-inset-bottom)); right: 14px; }
}
@media (min-width: 700px) and (max-height: 800px) {
  .hero-intro { bottom: clamp(24px, 4svh, 40px); gap: 8px; }
  .hero-question { font-size: 21px; }
}
@media (max-width: 699px) {
  .hero-intro { bottom: 76px; }
  .hero-question { font-size: 20px; }
  .hero-tagline { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: stretch; width: min(320px, 100%); }
  .control-label { display: none; }
}
@media (max-width: 359px) {
  .hero-question { font-size: 18px; }
  .hero-tagline { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
