@charset "UTF-8";

:root {
  color-scheme: dark;
  --ink: #0c0a0e;
  --pearl: #f2ebe4;
  --muted: #b7a9ac;
  --rose: #e9b6be;
  --hairline: #ded0dc26;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 0; min-height: 100%; background: var(--ink); }
body {
  margin: 0;
  color: var(--pearl);
  background: radial-gradient(ellipse at 71% 44%, #261822 0%, #141017 39%, #0c0a0e 71%);
}
button { font: inherit; cursor: pointer; color: inherit; -webkit-tap-highlight-color: transparent; }
button:focus-visible { outline: 1px solid var(--rose); outline-offset: 5px; }
button:disabled { opacity: .35; cursor: default; }
.shell {
  min-height: 100vh;
  min-height: 100svh;
  max-width: 1600px;
  display: flex;
  flex-direction: column;
  margin: auto;
  padding: max(20px, env(safe-area-inset-top)) max(5.2vw, env(safe-area-inset-right)) max(17px, env(safe-area-inset-bottom)) max(5.2vw, env(safe-area-inset-left));
}
.top, .bottom { z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 67px; }
.top { border-bottom: 1px solid var(--hairline); }
.bottom { border-top: 1px solid var(--hairline); }
.wordmark { font: 17px var(--serif); letter-spacing: .045em; display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.seal { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #e5b6bd55; border-radius: 50%; color: var(--rose); font: 19px Georgia, serif; }
.quiet, .eyebrow, .footer-note, .primary, .timeline-info, .bootlog { font-family: var(--mono); }
.quiet { min-height: 44px; display: flex; align-items: center; gap: 9px; font-size: 10px; text-transform: uppercase; letter-spacing: .13em; background: none; border: 0; padding: 0 3px; color: var(--muted); }
.quiet:hover { color: var(--pearl); }
.soundmark { display: flex; height: 13px; gap: 2px; align-items: center; color: var(--rose); }
.soundmark i { width: 1px; height: 5px; background: currentColor; transform-origin: center; }
.soundmark i:nth-child(2) { height: 11px; }
.soundmark i:nth-child(3) { height: 7px; }
[aria-pressed="true"] .soundmark i { animation: equalizer 1s ease-in-out infinite alternate; }
[aria-pressed="true"] .soundmark i:nth-child(2) { animation-delay: -.5s; }
@keyframes equalizer { to { transform: scaleY(.35); } }

.stage { position: relative; flex: 1; isolation: isolate; display: flex; touch-action: pan-y pinch-zoom; align-items: center; min-height: min(650px, calc(100vh - 177px)); }
.artwork { position: absolute; inset: 11px 0; z-index: -1; pointer-events: none; overflow: hidden; }
#universe, #botanical, .frame { position: absolute; inset: 0; width: 100%; height: 100%; }
#botanical { overflow: visible; }
.orbit { position: absolute; width: var(--orbit-size, 38%); aspect-ratio: 1; left: var(--art-x, 72%); top: var(--art-y, 50%); transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid #efb5c121; transition: opacity 900ms; }
.orbit::before, .orbit::after, .orbit i { content: ""; position: absolute; }
.orbit::before { inset: 10%; border: 1px dashed #eac3d31a; border-radius: 50%; }
.orbit::after { inset: -7%; border: 1px solid #efb5c110; border-radius: 50%; }
.orbit i { width: 6px; height: 6px; border-radius: 50%; background: #dec3ca; box-shadow: 0 0 12px #eb8da7; top: 14%; left: 13%; }
.orbit i + i { width: 4px; height: 4px; top: 78%; left: 91%; }
.frame i { position: absolute; width: 11px; height: 11px; border: solid #dcbec44d; }
.frame i:nth-child(1) { top: 12px; left: 0; border-width: 1px 0 0 1px; }
.frame i:nth-child(2) { top: 12px; right: 0; border-width: 1px 1px 0 0; }
.frame i:nth-child(3) { bottom: 12px; left: 0; border-width: 0 0 1px 1px; }
.frame i:nth-child(4) { bottom: 12px; right: 0; border-width: 0 1px 1px 0; }
.copy { width: 45%; max-width: 565px; padding: 42px 0 40px 3.7%; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 23px; font-size: 10px; text-transform: uppercase; letter-spacing: .23em; color: var(--rose); }
.eyebrow span { display: inline-block; height: 1px; width: 23px; background: currentColor; opacity: .7; }
h1, h2 { font: 400 clamp(53px, 7.55vw, 120px)/.93 var(--serif); letter-spacing: -.055em; margin: 0; text-wrap: balance; }
h1 em { font-weight: 400; color: #ecd7d9; }
h2 { font-size: clamp(41px, 5.4vw, 84px); }
h2:focus { outline: none; }
.primary { display: inline-flex; align-items: center; min-height: 53px; gap: 34px; margin-top: 38px; padding: 0 18px 0 20px; background: #e9d7d4; color: #21161d; border: 1px solid #f1d6d7; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
.primary:hover { background: #fff4ec; }
.primary span { font: 19px var(--serif); }
.quote { max-width: 420px; margin: 26px 0 0; font: clamp(19px, 2.1vw, 31px)/1.45 var(--serif); color: #e5d9db; text-wrap: pretty; }
.enter { animation: arrive 1000ms ease both; }
@keyframes arrive { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
.bootlog { color: #e2c5cb; font-size: 12px; line-height: 1.7; min-height: 11em; white-space: pre-wrap; overflow-wrap: anywhere; transition: opacity 780ms; }
.bootlog.resolved { opacity: 0; }
.bootlog::after { content: "▍"; color: var(--rose); animation: caret 1s steps(2, start) infinite; }
@keyframes caret { 50% { opacity: 0; } }
[data-scene="0"] .orbit { opacity: .35; }
[data-scene="3"] .orbit { border-color: #e66a8d50; }
[data-scene="7"] .orbit, [data-scene="8"] .orbit, [data-scene="4"] .orbit, [data-scene="5"] .orbit { opacity: .28; }
[data-scene="7"] h2 { font-style: italic; }
.letter { max-width: 550px; width: 49%; }
.letter h2 { margin-bottom: 21px; }
.letter p:not(.eyebrow) { font: 17px/1.47 var(--serif); color: #efdee1; margin: 0 0 .72em; }
.letter .signature em { color: var(--rose); font-size: 25px; }
.letter .primary { margin-top: 7px; min-height: 44px; }
.footer-note, .timeline-info { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .15em; }
.footer-note span { color: var(--rose); margin-right: 8px; }
#timeline { flex: 1; max-width: 450px; }
.timeline-info { display: flex; justify-content: space-between; gap: 8px; padding: 12px 0 0; }
.segments { display: flex; gap: 5px; }
.segment { appearance: none; flex: 1; min-width: 18px; height: 32px; border: 0; background: none; padding: 0; display: grid; align-items: center; }
.segment::before { content: ""; display: block; height: 2px; background: #e0c1ca37; }
.segment.past::before { background: #b98994; }
.segment.current::before { height: 4px; background: linear-gradient(90deg, var(--rose) var(--progress, 0%), #ead5dc63 var(--progress, 0%)); }
.segment:hover::before { background: var(--pearl); }
.transport { display: flex; gap: 6px; }
.icon { font-size: 19px; min-width: 44px; min-height: 44px; border: 1px solid var(--hairline); border-radius: 50%; background: #160f17a6; }
.icon:not(:disabled):hover { border-color: var(--rose); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.no-script { padding: 16px; text-align: center; }
@media (min-width: 701px) and (max-height: 715px) {
  .stage { min-height: calc(100svh - 171px); }
  .letter { padding-top: 22px; padding-bottom: 22px; }
  .letter h2 { font-size: 50px; }
}
@media (max-width: 700px) {
  body { background: radial-gradient(ellipse at 50% 29%, #271924 0%, #141017 49%, #0c0a0e 82%); }
  .shell { padding-top: max(8px, env(safe-area-inset-top)); padding-bottom: max(8px, env(safe-area-inset-bottom)); }
  .top { min-height: 55px; }
  .bottom { min-height: 62px; gap: 8px; }
  .stage { display: block; min-height: auto; padding-top: var(--mobile-art, 340px); }
  .artwork { inset: 4px 0; }
  .copy { width: 100%; max-width: 480px; padding: 8px 12px 34px; margin: 0 auto; text-align: center; }
  .eyebrow { justify-content: center; margin-bottom: 13px; font-size: 9px; }
  h1 { font-size: clamp(53px, 13vw, 82px); }
  h2 { font-size: clamp(42px, 10vw, 68px); }
  .primary { margin-top: 25px; min-height: 47px; }
  .quote { margin: 14px auto 0; font-size: clamp(19px, 5.3vw, 23px); }
  .letter { text-align: left; }
  .letter .eyebrow { justify-content: flex-start; }
  .footer-note { font-size: 9px; }
  .timeline-info { font-size: 8px; letter-spacing: .07em; }
  .segments { gap: 3px; }
  .segment { min-width: 12px; height: 36px; }
  .transport { gap: 3px; }
  .icon { min-width: 44px; min-height: 44px; }
  .bootlog { font-size: 11px; min-height: 10em; }
}
@media (max-width: 355px) {
  .wordmark { font-size: 15px; gap: 6px; }
  .quiet { font-size: 9px; }
  .segments { gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
