:root {
  --dw-bg: #020406; --dw-fg: #cdd8d3; --dw-accent: #6ff2c8; --dw-panel: rgba(4, 12, 12, .95);
  --dw-font-body: 'Cormorant Garamond', Georgia, serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace; --term: 'VT323', ui-monospace, monospace;
  --gold: #d9b56a; --dim: #7f918b; --line: rgba(111, 242, 200, .14);
}
body { overflow-x: hidden; font-size: 1.22rem; line-height: 1.65; background: radial-gradient(120% 60% at 50% 0%, #061413 0%, #020406 60%) fixed, #020406; }
h1, h2, h3 { font-weight: 600; line-height: 1.05; margin: 0 0 .5em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
section, main { padding: clamp(56px, 9vw, 110px) clamp(16px, 5vw, 64px); }
em { color: #e8efe9; }

/* drifting spores */
.spores { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.spores i { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--dw-accent); box-shadow: 0 0 14px 4px #6ff2c855; opacity: .35;
  animation: drift 38s linear infinite; }
.spores i:nth-child(1) { left: 8%; top: 80%; }
.spores i:nth-child(2) { left: 26%; top: 30%; animation-duration: 52s; animation-delay: -12s; width: 4px; height: 4px; }
.spores i:nth-child(3) { left: 61%; top: 70%; animation-duration: 44s; animation-delay: -20s; background: var(--gold); box-shadow: 0 0 14px 4px #d9b56a44; }
.spores i:nth-child(4) { left: 83%; top: 40%; animation-duration: 60s; animation-delay: -5s; }
.spores i:nth-child(5) { left: 45%; top: 92%; animation-duration: 47s; animation-delay: -30s; width: 3px; height: 3px; }
.spores i:nth-child(6) { left: 92%; top: 85%; animation-duration: 56s; animation-delay: -40s; background: var(--gold); }
@keyframes drift { from { transform: translate(0, 0); opacity: 0; } 15% { opacity: .4; } 85% { opacity: .3; } to { transform: translate(40px, -90vh); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .spores { display: none; } }

.bar { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 12px clamp(16px, 4vw, 40px); background: #020406c4; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.mark { display: flex; align-items: center; gap: .6em; font-family: var(--mono); font-size: .82rem; letter-spacing: .32em; color: var(--dw-fg); text-decoration: none; }
.mark-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--dw-accent); box-shadow: 0 0 12px var(--dw-accent); animation: breathe 4s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .35; box-shadow: 0 0 2px var(--dw-accent); } }
.bar nav { display: flex; align-items: center; gap: 18px; font-family: var(--mono); font-size: .76rem; }
.bar nav a { color: var(--dim); text-decoration: none; }
.bar nav a:hover { color: var(--dw-accent); }
.dw-audio { font-family: var(--mono); font-size: .72rem; color: var(--dw-accent); }
@media (max-width: 700px) { .bar nav a { display: none; } .mark { letter-spacing: .2em; } }

.hero { position: relative; min-height: 100svh; display: grid; align-items: end; padding: 0; overflow: hidden; z-index: 1; }
.hero-layer { position: absolute; inset: 0; }
.hero-fig { position: absolute; left: 50%; top: 50%; width: max(100%, calc(100svh * 1.7778)); aspect-ratio: 16 / 9; transform: translate(-50%, -50%); }
.hero-art { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 35%, #020406bb 68%), linear-gradient(transparent 50%, #020406 97%); pointer-events: none; z-index: 1; }
.hero-copy { position: relative; z-index: 3; justify-self: end; width: min(100%, 680px); padding: 0 clamp(16px, 5vw, 64px) clamp(40px, 8vh, 96px); }
.rx { font-family: var(--mono); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--dw-accent); margin: 0 0 1rem; }
.hero h1 { font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 400; font-style: italic; text-shadow: 0 2px 30px #000; }
.lede { font-size: clamp(1.15rem, 2vw, 1.35rem); color: #dfe8e3; }
.status { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 1.4rem; font-family: var(--mono); font-size: .76rem; color: var(--dim); }
.led { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--dw-accent); margin-right: .5em; box-shadow: 0 0 8px var(--dw-accent); animation: breathe 2.2s ease-in-out infinite; }
.subs { color: var(--gold); cursor: pointer; border-bottom: 1px dotted var(--gold); }
.hs { position: absolute; z-index: 2; border-radius: 50%; border: 1px dashed transparent; background: transparent; cursor: pointer; transition: border-color .3s, background .3s; }
.hs:hover, .hs:focus-visible { border-color: var(--dw-accent); background: #6ff2c81c; }
.hs.is-found { border-color: #d9b56a88; }
.hero .hs { z-index: 4; }
.hs-window { left: 37.2%; top: 38.4%; width: 9.9%; aspect-ratio: 1; }
.hs-antenna { left: 22.5%; top: 9%; width: 5%; aspect-ratio: 1; }
@media (max-width: 760px) {
  .hero { display: block; min-height: 0; }
  .hero-layer { position: relative; inset: auto; overflow: hidden; }
  .hero-fig { position: relative; left: -18%; top: 0; width: 150%; transform: none; }
  .hero::after { inset: 0 0 auto 0; height: 84.4vw; background: linear-gradient(transparent 60%, #020406 100%); }
  .hero-copy { justify-self: stretch; width: 100%; margin-top: -10vw; }
}

.intro { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; text-align: center; }
.intro-k { font-family: var(--mono); font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin: 0 0 .8rem; }
.intro p:last-child { color: #bfcbc6; }

.log { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; padding-top: 20px; }
.log-h { font-family: var(--mono); font-size: .8rem; letter-spacing: .4em; text-transform: uppercase; color: var(--dim); border-bottom: 1px solid var(--line); padding-bottom: .8rem; }
.entry { padding: 2.2rem 0 2rem; border-bottom: 1px solid var(--line); }
.entry h3 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-style: italic; font-weight: 500; color: #eef4f0; }
.entry p { margin: 0 0 1em; }
.meta { font-family: var(--mono); font-size: .72rem !important; letter-spacing: .12em; text-transform: uppercase; color: var(--dw-accent); margin-bottom: .6rem !important; }
.aside { color: var(--dim); font-style: italic; }
.entry.is-unread h3::after { content: 'new'; font-family: var(--mono); font-size: .62rem; font-style: normal; letter-spacing: .2em; text-transform: uppercase; vertical-align: middle;
  margin-left: .8em; padding: .2em .6em; border: 1px solid var(--gold); color: var(--gold); border-radius: 99px; }
.word { font: inherit; color: var(--gold); background: none; border: 0; padding: 0; border-bottom: 1px dotted var(--gold); cursor: pointer; }
.word:hover, .word:focus-visible { color: #fff0c8; }
.next-card { font-family: var(--mono); font-size: .82rem; color: var(--dim); border: 1px dashed var(--line); padding: 1rem 1.2rem; margin-top: 2rem; border-radius: 6px; }
.next-card::before { content: '◌  '; color: var(--dw-accent); }

.cabin { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; display: grid; gap: 28px; }
.cabin-copy { max-width: 620px; }
.cabin-copy p { color: #bfcbc6; }
.art { position: relative; margin: 0; border-radius: 6px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 40px 120px #000; }
.art img { width: 100%; height: auto; }
.hs-gel { left: 22%; top: 60%; width: 13%; aspect-ratio: 1; }
.hs-seat { left: 60%; top: 42%; width: 12%; aspect-ratio: 1; }
.hs-reels { left: 86%; top: 28%; width: 11%; aspect-ratio: 1; }
.hs-port { left: 54%; top: 14%; width: 13%; aspect-ratio: 1; }

.scope { position: relative; z-index: 1; max-width: 1000px; margin: 0 auto; }
.scope-head { max-width: 680px; margin: 0 auto 1.6rem; text-align: center; }
.scope-head p:last-child { color: #bfcbc6; }
.scope-frame { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #020807; box-shadow: inset 0 0 60px #000, 0 30px 90px #000a; }
#scope { width: 100%; height: auto; aspect-ratio: 16 / 5; }
.readout { margin: 0; padding: 12px 16px 14px; font-family: var(--term); font-size: clamp(1.15rem, 3vw, 1.7rem); letter-spacing: .08em; color: var(--dw-accent); text-align: center;
  border-top: 1px solid var(--line); text-shadow: 0 0 10px #6ff2c888; overflow-wrap: anywhere; }
.dials { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px 28px; margin-top: 22px; }
.dial { display: grid; gap: 8px; font-family: var(--mono); font-size: .82rem; color: var(--dim); }
.dial b { color: var(--dw-accent); font-weight: 600; }
.dial input[type=range] { width: 100%; accent-color: var(--dw-accent); }
.lock { font-family: var(--mono); font-size: .86rem; color: var(--gold); text-align: center; margin-top: 1.2rem; }
.logit { text-align: center; }
.btn { font-family: var(--mono); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: #02130e; background: var(--dw-accent); border: 0; border-radius: 6px; padding: .95em 1.4em; cursor: pointer; }
.btn.is-found { background: var(--gold); }

.secrets { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; padding-top: 30px; padding-bottom: 30px; }
.found { font-family: var(--mono); font-size: .82rem; text-align: center; color: var(--dim); }
.journal { font-size: 1.05rem; color: #c6d2cd; }
.journal li { margin: .6em 0; }
.journal strong { color: var(--gold); font-weight: 600; margin-right: .3em; }
.reward { margin: 1rem 0; padding: 1rem 1.2rem; border: 1px solid var(--gold); border-radius: 8px; background: #d9b56a12; }

.support { position: relative; z-index: 1; text-align: center; max-width: 1000px; margin: 0 auto; }
.support > p { color: #bfcbc6; }
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 1.6rem; }
.offer { font: inherit; font-size: 1.3rem; font-weight: 600; font-style: italic; color: var(--dw-fg); background: #06100f; border: 1px solid var(--line); border-radius: 10px; padding: 1.1em 1em; cursor: pointer; transition: border-color .2s, transform .2s; }
.offer small { display: block; margin-top: .4em; font-family: var(--mono); font-style: normal; font-weight: 400; font-size: .74rem; color: var(--dim); }
.offer:hover, .offer:focus-visible { border-color: var(--dw-accent); transform: translateY(-2px); }

.subscribe { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; background: linear-gradient(transparent, #04120f); }
.subscribe > p { max-width: 560px; color: #bfcbc6; }
.subscribe .dw-optin { text-align: left; width: 100%; font-family: var(--mono); font-size: .9rem; }
.dw-optin input[type=email] { background: #030a09; border-color: #6ff2c855; }
.offer-note { margin: 0; color: var(--gold); font-size: .85rem; }

.foot { position: relative; z-index: 1; padding: 30px 16px 6px; text-align: center; border-top: 1px solid var(--line); font-family: var(--mono); font-size: .78rem; color: var(--dim); }
.foot a { color: var(--dw-accent); }
.hull .word { font-family: var(--mono); letter-spacing: .2em; }
.glyph { cursor: pointer; color: var(--dw-accent); padding: 0 .3em; }
