:root {
  --bg: #0a0a0a;
  --bg-2: #111010;
  --ink: #f2ead9;
  --ink-dim: #a8a091;
  --gold: #d1a95f;
  --gold-2: #e8c885;
  --gold-3: #8f6a2f;
  --line: rgba(209, 169, 95, 0.35);
  --line-soft: rgba(209, 169, 95, 0.18);
  --serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --sans: "Inter", -apple-system, "Segoe UI", sans-serif;
  --tracking: 0.32em;
  --tracking-tight: 0.12em;
  --radius: 2px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* subtle film grain */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 100;
  opacity: .06; mix-blend-mode: overlay;
  background-image: radial-gradient(#fff 1px, transparent 1px);
  background-size: 3px 3px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- header --- */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(18px, 3vw, 32px) clamp(20px, 5vw, 56px);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-lockup { display: block; height: 32px; width: auto; }
@media (max-width: 720px) { .brand-lockup { height: 26px; } }
.badge {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: var(--tracking);
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--line);
  padding: 6px 12px 5px;
  border-radius: 999px;
}

/* --- hero --- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  align-items: center;
  padding: clamp(96px, 12vh, 140px) clamp(20px, 6vw, 80px) clamp(80px, 10vh, 120px);
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.72) 42%, rgba(0,0,0,.35) 78%, rgba(0,0,0,.15) 100%),
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 30%, rgba(0,0,0,.15) 70%, rgba(0,0,0,.75) 100%);
}

.hero-content {
  max-width: 620px;
  width: 100%;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: var(--tracking);
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 clamp(18px, 3vh, 28px);
  opacity: 0;
  animation: rise .9s .05s ease forwards;
}

.logo-hero {
  margin: 0;
  opacity: 0;
  animation: rise 1.1s .15s ease forwards;
}
.logo-hero img {
  display: block;
  width: clamp(300px, 46vw, 560px);
  height: auto;
  filter: drop-shadow(0 8px 30px rgba(0,0,0,.6));
}
@media (max-width: 720px) {
  .logo-hero img { width: min(88vw, 420px); }
}

.rule {
  display: flex; align-items: center; gap: 12px;
  margin: clamp(20px, 3vh, 30px) 0 clamp(14px, 2vh, 20px);
  opacity: 0;
  animation: rise 1s .35s ease forwards;
}
.rule span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); }
.rule i { width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); display: block; }

.tags {
  font-family: var(--sans);
  font-size: clamp(10.5px, 1.1vw, 12px);
  letter-spacing: var(--tracking-tight);
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 10px;
  opacity: 0;
  animation: rise 1s .45s ease forwards;
}

.tagline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(16px, 2vw, 20px);
  letter-spacing: .1em;
  color: var(--gold-2);
  margin: 0 0 clamp(28px, 5vh, 44px);
  opacity: 0;
  animation: rise 1s .55s ease forwards;
}

.lede {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-dim);
  max-width: 54ch;
  margin: 0 0 clamp(16px, 2vh, 22px);
  opacity: 0;
  animation: rise 1s .7s ease forwards;
}
.lede-cta {
  color: var(--ink);
  max-width: 52ch;
  margin-bottom: clamp(24px, 4vh, 36px);
  animation-delay: .78s;
}

/* --- form --- */
.signup { opacity: 0; animation: rise 1s .85s ease forwards; }
.field {
  display: flex;
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(6px);
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.field:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), 0 12px 40px -20px rgba(209,169,95,.5);
}
.field input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  padding: 16px 18px;
  font: 400 15px/1.4 var(--sans);
  color: var(--ink);
  letter-spacing: .01em;
}
.field input::placeholder { color: rgba(242,234,217,.4); }
.field button {
  border: 0;
  background: linear-gradient(180deg, var(--gold-2), var(--gold) 55%, var(--gold-3));
  color: #1a1408;
  font: 500 12px/1 var(--sans);
  letter-spacing: var(--tracking);
  text-transform: uppercase;
  padding: 0 clamp(18px, 3vw, 28px);
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  transition: transform .25s ease, filter .25s ease;
}
.field button:hover { filter: brightness(1.08); }
.field button:active { transform: translateY(1px); }
.field button:disabled { opacity: .6; cursor: wait; }
.btn-arrow { transition: transform .25s ease; }
.field button:hover .btn-arrow { transform: translateX(3px); }

.msg {
  min-height: 20px;
  margin: 12px 2px 0;
  font-size: 13px;
  letter-spacing: .02em;
  color: var(--gold-2);
}
.msg.error { color: #e79a8f; }

.fineprint {
  font-size: 11.5px;
  color: rgba(168,160,145,.7);
  letter-spacing: .02em;
  margin: 10px 2px 0;
}

/* --- footer --- */
.site-footer {
  position: relative;
  background: #050505;
  border-top: 1px solid rgba(200,161,90,.18);
  padding: clamp(40px, 6vw, 64px) clamp(20px, 5vw, 56px) clamp(20px, 2vw, 28px);
  color: var(--ink-dim);
}
.foot-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
}
.foot-brand img { display: block; height: 28px; width: auto; }
.foot-meta {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: rgba(230,220,200,.75);
  text-align: center;
  letter-spacing: .01em;
}
.foot-links {
  display: inline-flex; align-items: center; gap: 18px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .16em; text-transform: uppercase;
}
.foot-links a { color: var(--gold); text-decoration: none; transition: color .2s ease; }
.foot-links a:hover { color: var(--gold-2); }
.foot-social {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin-top: clamp(22px, 3vw, 30px);
}
.social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(200,161,90,.35);
  border-radius: 999px;
  color: var(--gold);
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}
.social:hover {
  color: #0b0b0b;
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-1px);
}
.social:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #0b0b0b, 0 0 0 4px var(--gold);
}

.foot-legal {
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
  margin-top: clamp(24px, 3vw, 32px);
  padding-top: clamp(18px, 2vw, 22px);
  border-top: 1px solid rgba(255,255,255,.06);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(168,160,145,.55);
}
.foot-legal .dot { color: var(--gold); font-size: 7px; }
.dot { color: var(--gold); font-size: 8px; }

/* --- responsive --- */
@media (max-width: 720px) {
  .hero { padding-top: 108px; padding-bottom: 80px; }
  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.35) 30%, rgba(0,0,0,.55) 70%, rgba(0,0,0,.9) 100%);
  }
  .badge { display: none; }
  .field { flex-direction: column; }
  .field input { padding: 15px 16px; }
  .field button { padding: 15px 16px; justify-content: center; border-top: 1px solid var(--line); }
  .foot-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 18px;
  }
  .foot-brand img { height: 24px; }
  .foot-meta { max-width: 30ch; }
}

/* --- motion --- */
@keyframes rise {
  from { opacity: .001; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* Ensure content is fully visible after animations complete and if JS/animations are blocked */
.eyebrow, .logo-hero, .tags, .tagline, .lede, .signup { animation-fill-mode: both; }
@media (prefers-reduced-motion: reduce) {
  .eyebrow, .wordmark, .rule, .tags, .tagline, .lede, .signup { opacity: 1 !important; animation: none !important; }
}
