:root {
  --bg: #050505;
  --surface: #0b0b0b;
  --led: #FF3D00;
  --amber: #FF6D00;
  --border: #262626;
  --ink: #FFFFFF;
  --muted: #A3A3A3;
  --ok: #00E676;
  --bad: #FF1744;
}
*, *::before, *::after { box-sizing: border-box; border-radius: 0px !important; }
html { scroll-behavior: smooth; background: var(--bg); color: var(--ink); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: 'Syne', sans-serif; overflow-x: hidden;
  padding: 58px 28px 28px 28px;
}
@media (max-width: 1024px) { body { padding: 56px 0 0 0; } .rail { display: none !important; } }

.mono { font-family: 'Space Mono', monospace; font-variant-numeric: tabular-nums; }
.display { font-family: 'Archivo Black', sans-serif; text-transform: uppercase; letter-spacing: -0.04em; }

/* Architectural Viewport Frame (from Skrollex theme-suzi) */
.top-nav {
  position: fixed; top: 0; left: 28px; right: 28px; height: 58px; z-index: 60;
  background: rgba(5,5,5,0.94); border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; padding: 0 20px;
}
@media (max-width: 1024px) { .top-nav { left: 0; right: 0; padding: 0 12px; } }
.rail { position: fixed; z-index: 55; background: var(--bg); border-color: var(--border); border-style: solid; border-width: 0; }
.rail-left { left: 0; top: 0; bottom: 28px; width: 28px; border-right-width: 1px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; }
.rail-right { right: 0; top: 0; bottom: 28px; width: 28px; border-left-width: 1px; display: flex; align-items: center; justify-content: center; }
.rail-bottom { left: 0; right: 0; bottom: 0; height: 28px; border-top-width: 1px; display: flex; align-items: center; justify-content: space-between; padding: 0 36px; font-size: 10px; letter-spacing: 0.14em; color: var(--muted); }
.rail-vert { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 9px; letter-spacing: 0.2em; color: var(--muted); text-decoration: none; }
.rail-vert:hover { color: var(--led); }

/* Square Dot Scroll Indicator */
.dot-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.dot-nav a { display: block; width: 7px; height: 7px; border: 1px solid var(--muted); transition: 0.2s; }
.dot-nav a.active, .dot-nav a:hover { background: var(--led); border-color: var(--led); transform: scale(1.3); }

/* Skrollex Bracket Links */
.b-link { color: var(--ink); text-decoration: none; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; position: relative; padding: 4px 10px; }
.b-link::before { content: '['; position: absolute; left: 0; opacity: 0; transform: translateX(6px); transition: 0.2s; color: var(--led); }
.b-link::after { content: ']'; position: absolute; right: 0; opacity: 0; transform: translateX(-6px); transition: 0.2s; color: var(--led); }
.b-link:hover::before, .b-link:hover::after { opacity: 1; transform: translateX(0); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; font-family: 'Space Mono', monospace; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; border: 1px solid var(--border); cursor: pointer;
  background: transparent; color: var(--ink); text-decoration: none; transition: 0.18s;
}
.btn-led { background: var(--led); color: var(--bg); border-color: var(--led); }
.btn-led:hover { background: var(--amber); border-color: var(--amber); }
.btn-ghost:hover { border-color: var(--led); color: var(--led); }

/* Hero + Vermilion LED Monolith */
.hero { position: relative; min-height: calc(100vh - 86px); border-bottom: 1px solid var(--border); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.42; filter: contrast(1.15); pointer-events: none; }
.hero-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,5,5,0.55) 0%, rgba(5,5,5,0.35) 55%, #050505 100%); pointer-events: none; }
.hero-inner { position: relative; z-index: 2; padding: 36px 28px 24px; max-width: 1360px; width: 100%; margin: 0 auto; }

.led-screen {
  background: var(--led); color: var(--bg); padding: clamp(22px, 4vw, 48px);
  border: 1px solid var(--led); min-height: clamp(270px, 38vw, 430px);
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 0 90px rgba(255, 61, 0, 0.25);
}
.led-headline { font-size: clamp(16px, 2.1vw, 28px); line-height: 1.05; max-width: 560px; margin-left: auto; text-align: right; }
.led-date { font-size: clamp(54px, 10vw, 132px); line-height: 0.85; margin: 24px 0 0 0; }

/* Dual Countdown & Early Bird Alert Strip */
.telemetry-grid { display: grid; grid-template-columns: 1.4fr 1fr 0.9fr; border: 1px solid var(--border); border-top: 0; background: rgba(5,5,5,0.92); }
@media (max-width: 900px) { .telemetry-grid { grid-template-columns: 1fr; } }
.tele-cell { padding: 18px 20px; border-right: 1px solid var(--border); }
.tele-cell:last-child { border-right: 0; }
@media (max-width: 900px) { .tele-cell { border-right: 0; border-bottom: 1px solid var(--border); } }
.eb-alert { background: rgba(255, 61, 0, 0.11); border-left: 4px solid var(--led); }
.pulse-dot { display: inline-block; width: 8px; height: 8px; background: var(--led); margin-right: 8px; animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:0.15;} }
.cd-digits { font-size: clamp(22px, 2.8vw, 34px); font-weight: 700; color: var(--ink); letter-spacing: 0.04em; margin-top: 6px; }

/* Tier Grid (.banner-cell inspired) */
.section-head { padding: 48px 28px 24px; border-bottom: 1px solid var(--border); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.tier-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--border); }
@media (max-width: 1024px) { .tier-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .tier-grid { grid-template-columns: 1fr; } }
.tier-card {
  padding: 28px 24px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
  display: flex; flex-direction: column; justify-content: space-between; background: var(--bg); transition: 0.2s; position: relative;
}
.tier-card.featured { background: #100704; border-top: 4px solid var(--led); }
.tier-card:hover { background: #0f0f0f; }
.tier-price { font-size: 42px; line-height: 1; margin: 14px 0; color: var(--ink); }
.tier-badge { display: inline-block; padding: 4px 8px; font-size: 10px; font-weight: 700; background: var(--led); color: var(--bg); letter-spacing: 0.12em; }

/* Legacy Counters + Duotone Gallery */
.counter-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--border); }
@media (max-width: 820px) { .counter-grid { grid-template-columns: repeat(2, 1fr); } }
.counter-box { padding: 34px 20px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); text-align: center; }
.counter-val { font-size: clamp(32px, 4vw, 52px); color: var(--led); line-height: 1; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--border); }
@media (max-width: 820px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery-grid { grid-template-columns: 1fr; } }
.gal-item { position: relative; aspect-ratio: 4/3; overflow: hidden; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--led); cursor: pointer; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%) contrast(1.2); mix-blend-mode: multiply; transition: 0.35s ease; display: block; }
.gal-item:hover img { filter: grayscale(0%) contrast(1.1); mix-blend-mode: normal; transform: scale(1.06); }
.gal-overlay { position: absolute; inset: 0; background: rgba(5,5,5,0.72); opacity: 0; transition: 0.25s; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; border: 1px solid transparent; }
.gal-item:hover .gal-overlay { opacity: 1; border-color: var(--led); }

/* Checkout Drawer & Inputs */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.82); z-index: 90; display: none; justify-content: flex-end; }
.drawer-backdrop.open { display: flex; }
.drawer-panel { width: min(500px, 100%); height: 100%; background: var(--bg); border-left: 2px solid var(--led); overflow-y: auto; padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.field-label { display: block; font-family: 'Space Mono', monospace; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px; }
.field-input { width: 100%; padding: 12px 14px; background: #0f0f0f; border: 1px solid var(--border); color: var(--ink); font-family: 'Space Mono', monospace; font-size: 13px; outline: none; }
.field-input:focus { border-color: var(--led); }
.hp-trap { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; pointer-events: none; }
.no-select { -webkit-user-select: none; user-select: none; }
