/* ============ METROCALK · Coming Soon ============ */
:root {
  --grey: #1a1a1d;            /* simple dark grey content bg */
  --grey-2: #202024;
  --ink: #f4f1ec;
  --muted: #9a948c;
  --chrome-1: #ffffff;
  --chrome-2: #8d9096;
  --stone-1: #9a9aa0;
  --stone-2: #3c3c41;
  --ember: #ff7a18;
  --ember-soft: #ffb066;
  --ember-deep: #c2410c;
  --line: rgba(255, 255, 255, 0.10);
  --maxw: 1100px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { width: 100%; }

body {
  background: var(--grey);
  color: var(--ink);
  font-family: "Space Grotesk", system-ui, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ============ HERO (video) ============ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 540px;
  overflow: hidden;
  background: #000;
}

.bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: #000; }
.bg__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transform: scale(1.06);
  filter: saturate(1.05) contrast(1.05);
  opacity: 0; transition: opacity 1.6s var(--ease);
}
.bg__video.is-ready { opacity: 1; }

.bg__vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 22%, transparent 0%, transparent 42%, rgba(0,0,0,0.5) 100%),
    linear-gradient(180deg, rgba(8,8,10,0.45) 0%, rgba(8,8,10,0.10) 30%, rgba(8,8,10,0.35) 62%, var(--grey) 100%);
}
.bg__grain {
  position: absolute; inset: -50%; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.6s steps(2) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 50%{transform:translate(-3%,2%)} 100%{transform:translate(2%,-2%)} }
.bg__scan {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.3; mix-blend-mode: overlay;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 3px);
}

.embers { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

/* Hero chrome */
.top {
  position: absolute; top: 0; left: 0; right: 0; z-index: 3;
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(20px, 4vw, 44px);
}
.brandmark {
  display: flex; align-items: center; gap: 10px;
  font-family: "Oswald", sans-serif; font-weight: 600; letter-spacing: 0.32em;
  font-size: 14px; text-transform: uppercase;
}
.brandmark svg { filter: drop-shadow(0 0 8px rgba(255,122,24,0.6)); }
.status {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.28em; color: #d8d2c8; text-transform: uppercase;
}
.status__dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--ember);
  box-shadow: 0 0 10px 2px rgba(255,122,24,0.8); animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.35;transform:scale(.7)} }

/* Scroll cue */
.scroll-cue {
  position: absolute; left: 50%; bottom: clamp(24px, 5vh, 48px); transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 12px;
  background: none; border: 0; cursor: pointer; color: #e8e3da;
  font-family: "Oswald", sans-serif; font-size: 11px; letter-spacing: 0.4em; text-transform: uppercase;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.scroll-cue.is-hidden { opacity: 0; pointer-events: none; transform: translate(-50%, 14px); }
.scroll-cue:hover { color: var(--ember-soft); }
.scroll-cue__mouse {
  width: 24px; height: 38px; border: 1.5px solid rgba(255,255,255,0.45); border-radius: 14px;
  display: flex; justify-content: center; padding-top: 7px;
}
.scroll-cue__wheel {
  width: 3px; height: 7px; border-radius: 3px; background: var(--ember);
  animation: wheel 1.6s var(--ease) infinite;
}
@keyframes wheel { 0%{opacity:0;transform:translateY(-3px)} 30%{opacity:1} 70%{opacity:1} 100%{opacity:0;transform:translateY(9px)} }
.scroll-cue__chev { animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(5px)} }

/* ============ CONTENT (dark grey) ============ */
.content {
  position: relative; z-index: 2;
  background:
    radial-gradient(140% 70% at 50% -10%, rgba(255,122,24,0.05) 0%, transparent 50%),
    var(--grey);
  border-top: 1px solid var(--line);
  min-height: 100svh;
  display: flex; align-items: center;
  padding: clamp(56px, 12vh, 130px) clamp(20px, 4vw, 48px);
}
.content__inner { width: 100%; max-width: var(--maxw); margin: 0 auto; text-align: center; }

.kicker {
  font-family: "Oswald", sans-serif; font-size: clamp(12px, 1.5vw, 15px);
  letter-spacing: 0.42em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px;
}
.kicker__year { color: var(--ember-soft); }

/* Wordmark — letters assemble: metal from top, rock from bottom */
.wordmark {
  font-family: "Oswald", sans-serif; font-weight: 700;
  font-size: clamp(48px, 12vw, 168px); line-height: 0.9;
  letter-spacing: 0.005em; text-transform: uppercase; margin-bottom: 18px;
  display: flex; flex-wrap: wrap; justify-content: center;
  padding: 0.16em 0; overflow: hidden;
}
.wordmark .ltr { display: inline-block; opacity: 0; will-change: transform, opacity, filter; }
.m-chrome {
  background: linear-gradient(180deg, #fff 0%, #e8e8ea 32%, #9a9da3 58%, #d2d5d9 72%, #7d8087 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 14px rgba(0,0,0,0.5));
}
.m-stone {
  background: linear-gradient(180deg, var(--stone-1) 0%, #6a6a70 45%, var(--stone-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 14px rgba(0,0,0,0.5));
}

.subline {
  font-family: "Oswald", sans-serif; font-weight: 600;
  font-size: clamp(18px, 3vw, 32px); letter-spacing: 0.26em; text-transform: uppercase;
  margin-bottom: 30px;
  background: linear-gradient(90deg, var(--ember-soft), var(--ember) 60%, var(--ember-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.legend {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: clamp(14px, 2.4vw, 30px);
  font-family: "Oswald", sans-serif; text-transform: uppercase; margin-bottom: 32px;
}
.legend__pair { display: flex; flex-direction: column; gap: 4px; }
.legend__mat { font-weight: 700; font-size: clamp(18px, 2.6vw, 28px); letter-spacing: 0.1em; line-height: 1; }
.legend__sub { font-size: clamp(10px, 1.2vw, 12px); letter-spacing: 0.22em; color: var(--muted); font-weight: 500; }
.legend__plus { color: var(--ember); font-weight: 300; font-size: clamp(20px, 2.8vw, 30px); opacity: 0.8; }

.lede {
  max-width: 600px; font-size: clamp(17px, 2vw, 21px); line-height: 1.6;
  color: #d6d0c7; margin: 0 auto 46px; font-weight: 300;
}
.lede strong {
  font-weight: 500;
  background: linear-gradient(90deg, var(--ember-soft), #fff);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* Countdown */
.countdown { display: flex; justify-content: center; align-items: flex-end; gap: clamp(8px, 1.6vw, 18px); margin-bottom: 46px; }
.unit { display: flex; flex-direction: column; align-items: center; gap: 7px; min-width: 56px; }
.unit__num {
  font-family: "Oswald", sans-serif; font-weight: 600; font-size: clamp(30px, 5vw, 54px);
  line-height: 1; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff 0%, var(--chrome-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.unit__lbl { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }
.unit__sep {
  font-family: "Oswald", sans-serif; font-size: clamp(26px, 4.4vw, 46px); font-weight: 300;
  color: var(--ember); opacity: 0.5; transform: translateY(-12px); animation: blink 1s steps(2) infinite;
}
@keyframes blink { 0%,100%{opacity:.5} 50%{opacity:.12} }

/* Notify */
.notify { width: 100%; max-width: 480px; margin: 0 auto 56px; text-align: left; }
.notify__row {
  display: flex; gap: 10px; align-items: stretch;
  border: 1px solid var(--line); border-radius: 2px; padding: 6px;
  background: rgba(255,255,255,0.03); transition: border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.notify__row:focus-within {
  border-color: rgba(255,122,24,0.6);
  box-shadow: 0 0 0 1px rgba(255,122,24,0.3), 0 0 40px rgba(255,122,24,0.12);
}
.notify input {
  flex: 1; background: transparent; border: 0; outline: none; color: var(--ink);
  font-family: "Space Grotesk", sans-serif; font-size: 15px; padding: 12px 14px; letter-spacing: 0.02em;
}
.notify input::placeholder { color: #6d6862; }
.notify button {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font-family: "Oswald", sans-serif; font-weight: 600; letter-spacing: 0.18em; font-size: 13px;
  color: #120a04; padding: 0 22px; border: 0; border-radius: 2px; white-space: nowrap;
  background: linear-gradient(135deg, var(--ember-soft), var(--ember) 55%, var(--ember-deep));
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s var(--ease);
  box-shadow: 0 4px 24px rgba(255,122,24,0.28);
}
.notify button:hover { transform: translateY(-2px); box-shadow: 0 8px 34px rgba(255,122,24,0.45); filter: brightness(1.08); }
.notify button:active { transform: translateY(0); }
.notify button svg { transition: transform .25s var(--ease); }
.notify button:hover svg { transform: translateX(4px); }
.notify.is-done .notify__row { border-color: rgba(120,255,170,0.4); }
.notify__msg { min-height: 18px; margin-top: 12px; font-size: 13px; letter-spacing: 0.04em; color: var(--muted); }
.notify__msg.ok { color: #79e6a6; }
.notify__msg.err { color: #ff7a7a; }

/* Footer */
.bottom {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--line); padding-top: 22px;
}
.coords { font-size: 11px; letter-spacing: 0.28em; color: var(--muted); font-variant-numeric: tabular-nums; }
.socials { display: flex; gap: 6px; }
.social {
  width: 38px; height: 38px; display: grid; place-items: center; text-decoration: none;
  font-family: "Oswald", sans-serif; font-size: 12px; letter-spacing: 0.1em; color: var(--muted);
  border: 1px solid var(--line); border-radius: 2px; transition: all .3s var(--ease);
}
.social:hover { color: #fff; border-color: rgba(255,122,24,0.6); background: rgba(255,122,24,0.08); transform: translateY(-2px); }

/* Sound toggle */
.sound {
  position: fixed; right: clamp(20px, 4vw, 40px); bottom: clamp(20px, 4vw, 40px); z-index: 6;
  display: none; align-items: center; gap: 9px; cursor: pointer;
  background: rgba(20,20,24,0.7); border: 1px solid var(--line); border-radius: 100px;
  color: var(--muted); padding: 10px 16px; backdrop-filter: blur(8px);
  font-family: "Oswald", sans-serif; font-size: 11px; letter-spacing: 0.24em;
  transition: all .3s var(--ease);
}
.sound.is-visible { display: inline-flex; }
.sound:hover { color: #fff; border-color: rgba(255,122,24,0.5); }
.sound .sound__on { display: none; }
.sound.is-on { color: var(--ember-soft); border-color: rgba(255,122,24,0.55); }
.sound.is-on .sound__on { display: block; }
.sound.is-on .sound__off { display: none; }

/* Cursor glow */
.cursor-glow {
  position: fixed; top: 0; left: 0; z-index: 1; width: 460px; height: 460px;
  margin: -230px 0 0 -230px; border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, rgba(255,122,24,0.14) 0%, rgba(255,122,24,0.05) 35%, transparent 70%);
  transition: opacity 0.5s ease; mix-blend-mode: screen;
}

/* Boot loader */
.boot {
  position: fixed; inset: 0; z-index: 50; background: #050506;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  transition: opacity .8s var(--ease), visibility .8s;
}
.boot.is-gone { opacity: 0; visibility: hidden; }
.boot__bar { width: min(260px, 60vw); height: 2px; background: rgba(255,255,255,0.12); overflow: hidden; }
.boot__fill { display: block; width: 0%; height: 100%; background: linear-gradient(90deg, var(--ember-deep), var(--ember-soft)); box-shadow: 0 0 12px var(--ember); transition: width .2s linear; }
.boot__text { font-family: "Oswald", sans-serif; font-size: 11px; letter-spacing: 0.4em; color: var(--muted); text-transform: uppercase; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-in { animation: reveal .9s var(--ease) forwards; }
@keyframes reveal { to { opacity: 1; transform: none; } }

/* Responsive */
@media (max-width: 640px) {
  .status { display: none; }
  .unit { min-width: 0; }
  .bottom { flex-direction: column; gap: 16px; align-items: flex-start; }
  .notify__row { flex-direction: column; }
  .notify button { padding: 14px; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bg__grain, .status__dot, .unit__sep, .bg__video, .scroll-cue__wheel, .scroll-cue__chev { animation: none !important; }
  .reveal { opacity: 1; transform: none; animation: none; }
  .wordmark .ltr { opacity: 1 !important; }
}
