/* ── Reset ───────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Tokens ──────────────────────────────────────────── */
:root {
  --bg:           #0E0E0E;
  --bg-card:      #161616;
  --border:       rgba(255,255,255,0.07);
  --border-hover: rgba(255,255,255,0.14);
  --green:        #00520A;
  --green-glow:   rgba(0,82,10,0.18);
  --orange:       #FF6800;
  --white:        #FFFFFF;
  --text:         rgba(255,255,255,0.88);
  --text-mid:     rgba(255,255,255,0.50);
  --text-muted:   rgba(255,255,255,0.28);
}

/* ── Base ────────────────────────────────────────────── */
html, body {
  height: 100%;
}

body {
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 300;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
}

/* ── Background green glow ───────────────────────────── */
body::before {
  content: '';
  position: fixed;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, var(--green-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── Grain texture ───────────────────────────────────── */
.grain {
  position: fixed;
  inset: -100px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(8) infinite;
}

@keyframes grain {
  0%   { transform: translate(0, 0); }
  12%  { transform: translate(-2px, 3px); }
  25%  { transform: translate(3px, -2px); }
  37%  { transform: translate(-3px, 2px); }
  50%  { transform: translate(2px, -3px); }
  62%  { transform: translate(-2px, 3px); }
  75%  { transform: translate(3px, -2px); }
  87%  { transform: translate(-1px, 2px); }
  100% { transform: translate(0, 0); }
}

/* ── Top bar ─────────────────────────────────────────── */
.topbar {
  position: relative;
  z-index: 1;
  padding: 22px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.topbar-logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--white);
}

/* Small green dot after the logo */
.topbar-logo::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  margin-left: 6px;
  margin-bottom: 8px;
  vertical-align: bottom;
}

.topbar-tag {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── Main content ────────────────────────────────────── */
.main {
  flex: 1;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 28px;
  text-align: center;
}

/* ── Rise animation ──────────────────────────────────── */
.rise {
  opacity: 0;
  transform: translateY(20px);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Eyebrow ─────────────────────────────────────────── */
.eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 22px;
  animation-delay: 0.05s;
}

/* ── Headline ────────────────────────────────────────── */
.headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(52px, 12vw, 108px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.06;
  color: var(--white);
  margin-bottom: 10px;
  animation-delay: 0.12s;
}

/* "space." — orange underline sweep */
.headline .accent {
  font-style: normal;
  font-weight: 600;
  color: var(--white);
  position: relative;
  display: inline-block;
}

.headline .accent::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
  animation: sweep 0.6s 1.2s ease forwards;
}

@keyframes sweep {
  to { width: 100%; }
}

/* ── Subline ─────────────────────────────────────────── */
.subline {
  font-size: clamp(13px, 2vw, 15px);
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.85;
  max-width: 420px;
  margin-bottom: 56px;
  animation-delay: 0.20s;
}

/* ── Countdown ───────────────────────────────────────── */
.countdown {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 56px;
  animation-delay: 0.28s;
}

.c-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.c-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  width: clamp(62px, 15vw, 80px);
  height: clamp(64px, 16vw, 82px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s;
}

/* Brief green border flash on every second tick */
.c-box.tick {
  border-color: rgba(0, 82, 10, 0.6);
}

.c-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(30px, 7vw, 44px);
  font-weight: 600;
  color: var(--white);
  line-height: 1;
  display: block;
  transition: transform 0.13s ease, opacity 0.13s ease;
}

.c-num.flip {
  transform: translateY(-6px);
  opacity: 0;
}

.c-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.c-sep {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 5vw, 34px);
  font-weight: 300;
  color: var(--text-muted);
  opacity: 0.4;
  margin-top: 12px;
  align-self: flex-start;
}

/* ── Thin rule ───────────────────────────────────────── */
.rule {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--border), transparent);
  margin: 52px auto;
  animation-delay: 0.44s;
}

/* ── Product chips ───────────────────────────────────── */
.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 500px;
  animation-delay: 0.52s;
}

.chip {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 99px;
  background: var(--bg-card);
  font-size: 11px;
  color: var(--text-mid);
  cursor: default;
  transition: border-color 0.2s, color 0.2s, transform 0.18s;
  position: relative;
  overflow: hidden;
}

.chip:hover {
  border-color: var(--border-hover);
  color: var(--text);
  transform: translateY(-2px);
}

/* Green dot — subtle brand touch */
.chip-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

/* ── Social icons ────────────────────────────────────── */
.socials {
  display: flex;
  gap: 10px;
  margin-top: 48px;
  animation-delay: 0.60s;
}

.soc {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-muted);
  background: var(--bg-card);
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

.soc:hover {
  border-color: var(--border-hover);
  color: var(--text);
  transform: translateY(-2px);
}

/* ── Footer ──────────────────────────────────────────── */
footer {
  position: relative;
  z-index: 1;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--border);
}

footer span,
footer a {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-decoration: none;
}

footer a:hover { color: var(--text-mid); }

/* ── Reduced motion ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ── Mobile ──────────────────────────────────────────── */
@media (max-width: 520px) {
  .topbar { padding: 18px 20px; }
  .main   { padding: 60px 20px; }

  .countdown { gap: 4px; }

  footer {
    padding: 16px 20px;
    flex-direction: column;
    text-align: center;
  }
}
