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

:root {
  --gold:       #c9a96e;
  --gold-light: #e8c98a;
  --gold-dark:  #9a7040;
  --dark:       #080604;
  --off-white:  #f2ede6;
  --muted:      #7a7168;
  --body:       #bdb2a5;

  --serif:  'Cormorant Garamond', Georgia, serif;
  --sans:   'Montserrat', system-ui, sans-serif;
  --script: 'Great Vibes', cursive;
}

html, body {
  height: 100%;
  overflow: hidden; /* single-screen, no scroll */
}

body {
  background: var(--dark);
  color: var(--off-white);
  font-family: var(--sans);
}

a { text-decoration: none; color: inherit; }

/* ─── CANVAS ──────────────────────────────────────────────── */
#particles-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ─── NOISE ───────────────────────────────────────────────── */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.035;
}

/* ─── HEADER ──────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 1.6rem 2.8rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.logo-emblem {
  height: clamp(54px, 8vw, 76px);
  width: auto;
  max-width: 280px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(201,169,110,.4));
  transition: transform .4s cubic-bezier(0.22,1,0.36,1), filter .4s ease;
}
.logo-emblem:hover {
  transform: scale(1.06);
  filter: drop-shadow(0 0 20px rgba(201,169,110,.6));
}

.header-socials {
  display: flex;
  gap: 0.65rem;
}

/* ─── HERO (FULL SCREEN) ──────────────────────────────────── */
.hero {
  position: relative;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 2;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('bg.png') center / cover no-repeat;
  opacity: 0.22;
  filter: saturate(0.35);
  transform: scale(1.04);
  animation: bgDrift 20s ease-in-out infinite alternate;
}
@keyframes bgDrift {
  from { transform: scale(1.04) translateY(0); }
  to   { transform: scale(1.04) translateY(-16px); }
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 60% at 50% 50%, transparent 20%, var(--dark) 100%),
    linear-gradient(to bottom, var(--dark) 0%, transparent 18%, transparent 80%, var(--dark) 100%);
}

/* ─── CONTENT ─────────────────────────────────────────────── */
.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.5rem;
  width: 100%;
  max-width: 820px;
  gap: 1.25rem;
}

/* Animate-in */
.animate-up {
  opacity: 0;
  transform: translateY(28px);
  animation: up 0.9s cubic-bezier(0.22,1,0.36,1) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes up {
  to { opacity: 1; transform: none; }
}

/* Pre-label */
.pre-label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}
.pre-line {
  display: block;
  width: 36px;
  height: 1px;
  background: var(--gold-dark);
  opacity: 0.7;
}

/* Title */
.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 7.5vw, 6rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: var(--off-white);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.script {
  font-family: var(--script);
  font-size: 1.22em;
  font-style: normal;
  color: var(--gold);
  line-height: 1.25;
}

/* Subtitle */
.hero-sub {
  font-size: clamp(0.8rem, 1.8vw, 0.95rem);
  font-weight: 300;
  line-height: 1.9;
  color: var(--body);
  max-width: 480px;
}

/* Gold divider */
.divider {
  width: 70px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
}



/* ─── SUBSCRIBE FORM ──────────────────────────────────────── */
.sub-form {
  display: flex;
  width: 100%;
  max-width: 480px;
  border: 1px solid rgba(201,169,110,.22);
  border-radius: 3px;
  overflow: hidden;
  transition: border-color .35s, box-shadow .35s;
}
.sub-form:focus-within {
  border-color: rgba(201,169,110,.55);
  box-shadow: 0 0 0 3px rgba(201,169,110,.07);
}
.sub-form input {
  flex: 1;
  background: rgba(255,255,255,.03);
  border: none;
  outline: none;
  padding: .85rem 1.2rem;
  font-family: var(--sans);
  font-size: .8rem;
  color: var(--off-white);
  letter-spacing: .02em;
}
.sub-form input::placeholder { color: var(--muted); }
.sub-form button {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border: none;
  padding: .85rem 1.5rem;
  font-family: var(--sans);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--dark);
  cursor: pointer;
  white-space: nowrap;
  transition: background .3s, transform .15s;
}
.sub-form button:hover { background: linear-gradient(135deg, var(--gold), var(--gold-light)); }
.sub-form button:active { transform: scale(.97); }

.form-msg {
  font-size: .72rem;
  letter-spacing: .05em;
  color: var(--gold);
  min-height: .9em;
  margin-top: -.5rem;
}

/* ─── SOCIALS ─────────────────────────────────────────────── */
.socials, .header-socials {
  display: flex;
  gap: .65rem;
}
.soc-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201,169,110,.18);
  border-radius: 50%;
  color: var(--muted);
  transition: border-color .3s, color .3s, background .3s, transform .3s;
}
.soc-icon svg { width: 14px; height: 14px; }
.soc-icon:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,169,110,.08);
  transform: translateY(-3px);
}

/* ─── FOOTER ROW ──────────────────────────────────────────── */
.page-footer {
  position: absolute;
  bottom: 1.8rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2.8rem;
  z-index: 3;
}
.page-footer .copy,
.page-footer .tagline {
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(122,113,104,.55);
}

/* ─── CURSOR GLOW ─────────────────────────────────────────── */
/* injected by JS */

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 600px) {
  .site-header { padding: 1.2rem 1.2rem; }
  .hero-content { gap: 1rem; }
  .countdown { padding: 1rem 1.2rem; gap: 0.7rem; }
  .cd-unit { min-width: 40px; }
  .sub-form { flex-direction: column; }
  .sub-form input  { border-radius: 3px 3px 0 0; }
  .sub-form button { border-radius: 0 0 3px 3px; padding: .85rem; }
  .page-footer { padding: 0 1.2rem; }
  .header-socials { display: none; }
}

@media (max-height: 700px) {
  .hero-content { gap: 0.8rem; }
  .hero-title { font-size: clamp(2rem, 6vw, 3.5rem); }
  .hero-sub { display: none; }
}
