/* ============================================
   Tokens
   ============================================ */
:root {
  --void-black:   #0B0A08;
  --charcoal:     #17130F;
  --leather:      #4A2F22;
  --whiskey-gold: #C9962C;
  --rust-ember:   #8C3A2B;
  --bone:         #E8DFC9;
  --bone-dim:     #9A9081;

  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Work Sans', sans-serif;
  --font-mono:    'Space Mono', monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #000;
  color: var(--bone);
  font-family: var(--font-body);
  min-height: 100vh;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ============================================
   Ambient texture — grain + ember glow (signature)
   ============================================ */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.ember-glow {
  position: fixed;
  top: 38%;
  left: 50%;
  width: 900px;
  height: 900px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(201, 150, 44, 0.16) 0%, rgba(140, 58, 43, 0.08) 35%, transparent 70%);
  z-index: 0;
  pointer-events: none;
  animation: ember-breathe 6s ease-in-out infinite;
}

@keyframes ember-breathe {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1;   transform: translate(-50%, -50%) scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  .ember-glow { animation: none; }
}

/* ============================================
   Layout
   ============================================ */
.page {
  position: relative;
  z-index: 1;
  max-width: 100%;
  margin: 0 auto;
  padding: 1rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.mark {
  margin-bottom: 0.5rem;
}

.logo {
  max-width: 320px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 24px rgba(201, 150, 44, 0.25));
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--whiskey-gold);
  margin: 0 0 1rem;
}

.headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.8rem, 8vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
  margin: 0 0 1.5rem;
  color: var(--bone);
}

.subtext {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--bone-dim);
  max-width: 460px;
  margin: 0 0 2.5rem;
}

.br-desktop { display: inline; }
@media (max-width: 560px) {
  .br-desktop { display: none; }
}

.divider {
  width: 60px;
  height: 1px;
  background: var(--leather);
  margin: 0.5rem 0 2rem;
}

/* ============================================
   Countdown
   ============================================ */
.countdown {
  margin-bottom: 0.5rem;
}

.countdown-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin: 0 0 1.25rem;
}

.countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 58px;
  padding: 0.75rem 0.5rem;
  background: var(--charcoal);
  border: 1px solid var(--leather);
  border-radius: 4px;
}

.value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--whiskey-gold);
  font-variant-numeric: tabular-nums;
}

.unit-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin-top: 0.3rem;
}

.colon {
  font-family: var(--font-mono);
  color: var(--leather);
  font-size: 1.4rem;
  transform: translateY(-8px);
}

/* ============================================
   Notify form
   ============================================ */
.notify-form {
  display: flex;
  width: 100%;
  max-width: 380px;
  gap: 0.6rem;
  margin: 2rem 0 0.75rem;
}

.notify-form input {
  flex: 1;
  min-width: 0;
  padding: 0.85rem 1rem;
  background: var(--charcoal);
  border: 1px solid var(--leather);
  border-radius: 4px;
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.notify-form input::placeholder {
  color: var(--bone-dim);
}

.notify-form input:focus-visible {
  outline: 2px solid var(--whiskey-gold);
  outline-offset: 2px;
}

.notify-form button {
  padding: 0.85rem 1.4rem;
  background: var(--whiskey-gold);
  border: none;
  border-radius: 4px;
  color: var(--void-black);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.notify-form button:hover {
  background: #dba940;
}

.notify-form button:focus-visible {
  outline: 2px solid var(--bone);
  outline-offset: 2px;
}

@media (max-width: 460px) {
  .notify-form { flex-direction: column; }
}

.form-note {
  font-size: 0.78rem;
  color: var(--bone-dim);
  margin: 0 0 2.5rem;
}

/* ============================================
   Social + footer
   ============================================ */
.social {
  display: flex;
  gap: 1.25rem;
}

.social a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--bone-dim);
  text-decoration: none;
  border: 1px solid var(--leather);
  border-radius: 4px;
  padding: 0.45rem 0.7rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.social a:hover,
.social a:focus-visible {
  color: var(--whiskey-gold);
  border-color: var(--whiskey-gold);
  outline: none;
}

.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1.5rem 1rem 2rem;
}

.footer p {
  font-size: 0.75rem;
  color: var(--bone-dim);
  margin: 0;
}

@media(min-width:320px) and (max-width:768px){
  .logo {
    max-width: 70%;
  }
  .cs-logo{
    width: 80% !important;
    margin-bottom: 30px !important;
  }
  .headline{
  margin-top: 30px;
  }
  
  .page{
  padding: 3rem 1rem 1rem;
  }
  }
