:root {
  --ink: #071017;
  --ice: #c5d3d9;
  --mist: #91a5af;
  --warm: #d69a52;
  --paper: #e8ece9;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; color: var(--paper); background: var(--ink); font-family: "Barlow Condensed", sans-serif; letter-spacing: .03em; }
a { color: inherit; }

.scene { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: #0a141c; }
.scene__image { position: absolute; inset: -3%; background: url("assets/everline-teaser.png") 44% center / cover no-repeat; filter: saturate(.55) contrast(1.08) brightness(.62); transform: scale(1.03); animation: breathe 18s ease-in-out infinite alternate; }
.scene__veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,9,14,.85) 0%, rgba(4,11,17,.48) 45%, rgba(5,13,19,.28) 70%), linear-gradient(180deg, rgba(4,10,15,.55), transparent 38%, rgba(3,8,12,.68)); }

.snow { position: absolute; inset: -100px 0 0; pointer-events: none; opacity: .22; background-image: radial-gradient(circle, #fff 0 1px, transparent 1.3px); background-size: 87px 87px; animation: snow 18s linear infinite; }
.snow--far { background-size: 137px 137px; opacity: .11; animation-duration: 32s; animation-direction: reverse; }

.site-header { position: fixed; z-index: 10; inset: 0 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 30px 4vw; }
.wordmark { font-family: "Cormorant Garamond", serif; font-size: 1.45rem; font-weight: 600; letter-spacing: .34em; text-decoration: none; text-shadow: 0 2px 20px #000; }
.sound-toggle { display: none; align-items: center; gap: 10px; color: var(--mist); border: 0; background: transparent; font: 500 .7rem/1 "Barlow Condensed"; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; }
.sound-toggle__bars { display: flex; align-items: center; gap: 2px; height: 13px; }
.sound-toggle__bars i { width: 1px; height: 5px; background: currentColor; }
.sound-toggle__bars i:nth-child(2) { height: 11px; }

main, footer { position: relative; z-index: 1; }
.hero { min-height: 100svh; display: flex; align-items: center; padding: 120px 8vw 90px; position: relative; }
.hero__content { max-width: 800px; animation: arrive 1.25s cubic-bezier(.2,.75,.2,1) both; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 30px; color: var(--warm); font-size: .72rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; }
.eyebrow span { width: 34px; height: 1px; background: var(--warm); box-shadow: 0 0 10px rgba(214,154,82,.6); }
h1 { max-width: 760px; margin: 0; font-family: "Cormorant Garamond", serif; font-size: clamp(3.4rem, 7.2vw, 7.4rem); line-height: .88; font-weight: 500; letter-spacing: -.045em; text-wrap: balance; text-shadow: 0 4px 35px rgba(0,0,0,.7); }
h1 em { color: var(--ice); font-weight: 500; }
.intro { margin: 34px 0 40px; color: #b7c4c9; font-size: clamp(1rem, 1.4vw, 1.25rem); line-height: 1.55; font-weight: 300; letter-spacing: .07em; }
.signal-link { display: inline-flex; flex-direction: column; gap: 9px; font-size: .75rem; font-weight: 500; letter-spacing: .23em; text-decoration: none; text-transform: uppercase; }
.signal-link__line { display: block; width: 100%; height: 1px; background: linear-gradient(90deg, var(--warm), transparent); transform-origin: left; transition: transform .3s ease; }
.signal-link:hover .signal-link__line { transform: scaleX(1.22); }

.coordinates { position: absolute; right: 4vw; bottom: 46px; display: flex; align-items: center; gap: 12px; color: rgba(197,211,217,.55); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; }
.coordinates i { width: 32px; height: 1px; background: rgba(197,211,217,.3); }
.scroll-cue { position: absolute; left: 50%; bottom: 36px; display: flex; flex-direction: column; align-items: center; gap: 10px; color: rgba(232,236,233,.55); text-decoration: none; transform: translateX(-50%); text-transform: uppercase; font-size: .58rem; letter-spacing: .25em; }
.scroll-cue i { height: 34px; width: 1px; background: linear-gradient(var(--warm), transparent); animation: pulse 2s ease-in-out infinite; }

.transmission { min-height: 100svh; display: grid; place-items: center; padding: 120px 24px; background: linear-gradient(rgba(5,12,17,.9), rgba(5,12,17,.98)), url("assets/everline-teaser.png") center / cover fixed; text-align: center; }
.transmission__inner { max-width: 750px; }
.section-index { color: #61727a; font-size: .65rem; letter-spacing: .25em; }
.signal-mark { height: 52px; display: flex; justify-content: center; align-items: flex-end; gap: 8px; margin: 28px 0; }
.signal-mark i { display: block; width: 1px; height: 16px; background: var(--warm); animation: signal 1.8s ease-in-out infinite; }
.signal-mark i:nth-child(2) { height: 38px; animation-delay: .15s; }
.signal-mark i:nth-child(3) { height: 24px; animation-delay: .3s; }
h2 { margin: 0; font-family: "Cormorant Garamond", serif; font-size: clamp(2.7rem, 6vw, 5.4rem); line-height: 1; font-weight: 500; letter-spacing: -.035em; }
.transmission__inner > p:not(.section-index,.coming,.tagline) { color: var(--mist); font: 300 clamp(1rem,1.5vw,1.25rem)/1.6 "Barlow Condensed"; letter-spacing: .08em; }
.transmission__closing { margin-top: 3px; color: var(--paper) !important; }
.status-line { display: flex; align-items: center; gap: 16px; margin: 80px 0 26px; color: var(--warm); font-size: .63rem; letter-spacing: .28em; text-transform: uppercase; }
.status-line i { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(214,154,82,.45)); }
.status-line i:last-child { transform: scaleX(-1); }
.coming { margin: 0; font-family: "Cormorant Garamond", serif; font-size: clamp(3.8rem, 9vw, 7.5rem); font-weight: 600; letter-spacing: .16em; text-indent: .16em; }
.tagline { margin-top: 2px; color: var(--mist); font-size: .65rem; letter-spacing: .3em; text-transform: uppercase; }

footer { display: flex; justify-content: space-between; padding: 24px 4vw; color: #60717a; background: #050b0f; font-size: .58rem; letter-spacing: .17em; text-transform: uppercase; }
footer a { color: inherit; text-decoration-color: rgba(96,113,122,.35); text-underline-offset: 3px; transition: color .25s ease, text-decoration-color .25s ease; }
footer a:hover, footer a:focus-visible { color: #91a5af; text-decoration-color: #91a5af; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.2s ease, transform 1.2s ease; }
.reveal.visible { opacity: 1; transform: none; }

@keyframes arrive { from { opacity: 0; transform: translateY(20px); } }
@keyframes breathe { to { transform: scale(1.07) translateX(-.5%); } }
@keyframes pulse { 50% { opacity: .35; transform: scaleY(.7); } }
@keyframes signal { 50% { opacity: .2; transform: scaleY(.65); } }
@keyframes snow { to { transform: translate3d(-70px, 170px, 0); } }

@media (max-width: 700px) {
  .site-header { padding: 24px; }
  .wordmark { font-size: 1.15rem; }
  .hero { align-items: flex-end; padding: 120px 24px 18vh; }
  .scene__image { background-position: 57% center; }
  .hero__content { width: 100%; }
  h1 { font-size: clamp(3.15rem, 15vw, 5rem); }
  .intro { margin-top: 26px; }
  .desktop-only, .coordinates { display: none; }
  .scroll-cue { left: auto; right: 24px; transform: none; }
  .coming { letter-spacing: .09em; text-indent: .09em; }
  footer { flex-direction: column; gap: 7px; text-align: center; }
  footer p { margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
