@font-face {
  font-family: "Adwaita";
  src: url("assets/adwaita-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --paper: #f1f0ed;
  --muted: #95918f;
  --red: #ff3442;
  --background: #080808;
  --gutter: clamp(24px, 4vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 280px; background: var(--background); }
body { margin: 0; color: var(--paper); font-family: "Adwaita", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
button, a { touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--paper); outline-offset: 6px; }
button:disabled { cursor: default; }
::selection { background: var(--red); color: white; }
[hidden] { display: none !important; }

.scene { position: fixed; inset: 0; overflow: hidden; pointer-events: none; isolation: isolate; }
.atmosphere { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 43%, #37050c66 0%, #19060955 29%, transparent 61%), radial-gradient(ellipse at 50% 100%, #30060944, transparent 49%); }
#light-canvas { position: absolute; width: 100%; height: 100%; inset: 0; opacity: .94; }
.fallback-orbit { position: absolute; width: min(60vw, 850px); height: min(65vh, 620px); top: 43%; left: 50%; transform: translate(-50%, -50%) rotate(-23deg); border: 2px solid #fc203d88; border-radius: 50%; box-shadow: 0 0 22px #ff152e44, inset 0 0 24px #ff152e22, 0 0 100px #ff182522; opacity: .75; }
.light-ready .fallback-orbit { opacity: 0; }
.scene-shade { position: absolute; inset: 0; background: linear-gradient(180deg, #08080844 0%, transparent 20%, transparent 65%, #08080888 100%), radial-gradient(ellipse at 50% 44%, transparent 38%, #08080877 86%); }
.grain { position: absolute; inset: 0; opacity: .047; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.94' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath filter='url(%23n)' opacity='.6' d='M0 0h180v180H0z'/%3E%3C/svg%3E"); }

.page { position: relative; width: 100%; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; padding: max(32px, env(safe-area-inset-top)) max(var(--gutter), env(safe-area-inset-right)) max(22px, env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left)); }
.header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 42px; z-index: 2; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 750; letter-spacing: -.035em; }
.brand-suffix { font-weight: 500; }
.status { display: flex; align-items: center; gap: 10px; padding: 11px 15px; border: 1px solid #ffffff1c; border-radius: 30px; font-size: 9px; font-weight: 550; letter-spacing: .14em; background: #12101066; }
.status-dot { width: 5px; height: 5px; background: var(--red); border-radius: 50%; box-shadow: 0 0 10px #ff344266; }

.hero { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; min-height: 640px; text-align: center; padding: 60px 0 80px; }
.hero-inner { position: relative; z-index: 1; width: 100%; padding-top: 25px; }
.eyebrow { display: flex; align-items: center; justify-content: center; gap: 17px; margin: 0 0 26px; font-size: 10px; font-weight: 500; letter-spacing: .24em; color: #d3cac8; text-transform: uppercase; }
.eyebrow > span { width: 23px; height: 1px; background: #ed536966; }
h1 { margin: 0; font-size: clamp(60px, 15.85vw, 244px); line-height: 1; font-weight: 850; letter-spacing: -.073em; }
.wordmark { display: inline-block; white-space: nowrap; padding: 0 .05em .035em 0; text-shadow: 0 2px 38px #00000038; }
.domain-suffix { display: inline-block; color: var(--red); font-size: .57em; font-weight: 520; letter-spacing: -.082em; margin-left: .025em; text-shadow: 0 0 38px #ff143a22; }
.domain-definition { display: flex; align-items: center; justify-content: center; gap: 11px; margin: 13px 0 0; color: #c5b7b7; font-size: 12px; font-weight: 430; letter-spacing: .02em; }
.initial { color: #ff6674; font-weight: 600; }
.intro { margin-top: 27px; }
.intro h2 { margin: 0; font-size: clamp(18px, 1.75vw, 25px); font-weight: 430; letter-spacing: -.035em; }
.intro p { margin: 12px 0 0; color: #aea6a5; font-size: 13px; font-weight: 380; line-height: 1.8; letter-spacing: .015em; }
.mobile-break { display: none; }
.interaction { margin-top: 35px; }
.pulse-button { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 51px; gap: 13px; border: 1px solid #fe778747; padding: 0 19px; border-radius: 4px; background: linear-gradient(120deg, #c62b4326, #73233512); color: #f5eeee; box-shadow: inset 0 1px 0 #ffb4be08, 0 0 28px #ff113e06; font-size: 12px; cursor: pointer; transition: background .25s, border-color .25s, box-shadow .25s, transform .25s; }
.spark-icon { width: 20px; height: 20px; color: #ff6674; }
.arrow-icon { width: 19px; height: 19px; margin-left: 11px; color: #ff7682; transition: transform .25s; }
.pulse-button:active { transform: scale(.97); }
.pulse-button.is-pulsing { background: #ff344230; border-color: #ff788b; box-shadow: 0 0 42px #ff143025; }
.edge-note { position: absolute; top: 41%; display: flex; gap: 12px; align-items: center; font-size: 8px; letter-spacing: .18em; color: #7d7372; writing-mode: vertical-rl; text-transform: uppercase; }
.edge-note-left { left: 0; transform: rotate(180deg); }
.edge-note-right { right: 0; }
.edge-line { width: 1px; height: 30px; background: #916e6b55; }
.chapter { position: absolute; bottom: 26px; display: flex; align-items: center; gap: 10px; font-size: 8px; letter-spacing: .14em; color: #8f7f7d; }
.chapter-number { color: #ed696e; font-size: 9px; }
.chapter-line { width: 34px; height: 1px; background: linear-gradient(90deg, #e23848bb, #e2384822); }

.footer { position: relative; z-index: 1; }
.footer-top { display: flex; justify-content: space-between; align-items: center; padding: 0 0 20px; border-bottom: 1px solid #ffffff16; }
.footer-top p { margin: 0; font-size: 12px; letter-spacing: -.01em; color: #c4bcba; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 18px; min-height: 48px; color: #99908d; font-size: 9px; }
.copyright { margin: 0; }
.copyright { letter-spacing: .025em; }
.motion-toggle { display: inline-flex; align-items: center; justify-content: flex-end; gap: 10px; min-height: 44px; padding: 6px 0 6px 8px; margin: -9px 0; border: 0; background: none; color: #b9abaa; font-size: 9px; letter-spacing: .025em; cursor: pointer; }
.motion-symbol { display: flex; align-items: center; gap: 2px; height: 13px; }
.motion-symbol span { width: 2px; height: 9px; background: #ee5964; animation: equalizer 1.4s ease-in-out infinite alternate; }
.motion-symbol span:nth-child(2) { height: 13px; animation-delay: -.3s; }
.motion-symbol span:nth-child(3) { height: 6px; animation-delay: -.8s; }
.motion-symbol span:nth-child(4) { height: 10px; animation-delay: -.5s; }
.motion-paused .motion-symbol span { animation-play-state: paused; height: 3px; }
.motion-paused .pulse-button { opacity: .6; }

@media (hover: hover) {
  .pulse-button:hover { background: #bc243a30; border-color: #ff6b7b99; box-shadow: 0 0 36px #ff113517; transform: translateY(-2px); }
  .pulse-button:hover .arrow-icon { transform: translateX(3px); }
  .motion-toggle:hover { color: white; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-inner { animation: reveal 1.4s cubic-bezier(.2,.7,.2,1) both; }
  .header, .footer { animation: reveal 1.2s .1s ease both; }
  .chapter { animation: reveal 1.5s .3s ease both; }
}
@keyframes reveal { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes equalizer { from { transform: scaleY(.45); } to { transform: scaleY(1); } }

@media (min-width: 1800px) { .hero { min-height: 730px; } }
@media (max-width: 900px) {
  .page { padding-top: max(24px, env(safe-area-inset-top)); }
  .hero { min-height: 610px; }
  .edge-note { display: none; }
  h1 { font-size: 16.2vw; }
  .eyebrow { font-size: 9px; gap: 12px; letter-spacing: .2em; }
}
@media (max-width: 600px) {
  :root { --gutter: 24px; }
  .page { padding-top: max(22px, env(safe-area-inset-top)); padding-bottom: max(19px, env(safe-area-inset-bottom)); }
  .brand { gap: 7px; font-size: 12px; }
  .status { padding: 9px 11px; font-size: 8px; letter-spacing: .1em; gap: 8px; }
  .hero { min-height: 565px; padding: 70px 0 85px; }
  .hero-inner { padding-top: 12px; }
  .eyebrow { margin-bottom: 24px; font-size: 8px; letter-spacing: .16em; gap: 10px; }
  .eyebrow > span { width: 15px; }
  h1 { font-size: 16.05vw; letter-spacing: -.074em; }
  .intro { margin-top: 25px; }
  .domain-definition { font-size: 10px; margin-top: 13px; }
  .intro h2 { font-size: 20px; font-weight: 440; }
  .intro p { margin-top: 11px; font-size: 12px; line-height: 1.85; }
  .mobile-break { display: block; }
  .interaction { margin-top: 30px; }
  .pulse-button { min-height: 50px; font-size: 12px; }
  .chapter { bottom: 28px; font-size: 7px; }
  .footer-top { padding-bottom: 19px; }
  .footer-top p { font-size: 11px; }
  .footer-bottom { padding-top: 18px; font-size: 8px; }
  .motion-toggle { font-size: 8px; }
  .fallback-orbit { width: 95vw; height: 52vh; }
}
@media (max-width: 360px) {
  :root { --gutter: 18px; }
  .intro h2 { font-size: 18px; }
  .hero { min-height: 480px; padding-top: 46px; }
  .eyebrow { font-size: 7px; }
}
@media (max-height: 740px) and (max-width: 600px) {
  .hero { min-height: 405px; padding: 35px 0 65px; }
  .hero-inner { padding-top: 0; }
  .chapter { bottom: 20px; }
}
@media (max-height: 760px) and (min-width: 601px) {
  .page { padding-top: 20px; padding-bottom: 15px; }
  .hero { min-height: 480px; padding: 42px 0 65px; }
  .hero-inner { padding-top: 0; }
  h1 { font-size: min(14.5vw, 175px); }
  .eyebrow { margin-bottom: 18px; }
  .intro { margin-top: 16px; }
  .interaction { margin-top: 23px; }
  .chapter { bottom: 19px; }
  .footer-top { padding-bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
