@font-face {
  font-family: "Cinzel Decorative";
  src: url("/assets/fonts/cinzel-decorative-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cinzel Decorative";
  src: url("/assets/fonts/cinzel-decorative-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cinzel";
  src: url("/assets/fonts/cinzel-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cinzel";
  src: url("/assets/fonts/cinzel-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-300.woff2") format("woff2");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}

:root {
  --obsidian: #0E0E10;
  --gold: #D4AF37;
  --specular: #FFF2C6;
  --chalk: #FCFCFC;
  --champagne: #D1C7B7;
  --hairline: rgba(212, 175, 55, 0.3);
  --serif: "Cinzel Decorative", "Cinzel", Georgia, serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--obsidian);
  color: var(--champagne);
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.12em;
  background: var(--obsidian);
  overflow-x: hidden;
}
/* Smoky champagne light, drifting slowly behind the content. */
body::before {
  content: "";
  position: fixed;
  inset: -20%;
  z-index: -2;
  background:
    radial-gradient(ellipse 45% 35% at 28% 28%, rgba(212, 175, 55, 0.13), transparent 70%),
    radial-gradient(ellipse 50% 40% at 72% 68%, rgba(255, 242, 198, 0.07), transparent 72%),
    radial-gradient(ellipse 70% 55% at 50% 50%, rgba(24, 18, 16, 0.55), transparent 80%);
  pointer-events: none;
  animation: smoke 26s ease-in-out infinite alternate;
  will-change: transform;
}
/* Black velvet grain: a static noise texture laid over everything. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.85  0 0 0 0 0.75  0 0 0 0 0.45  0 0 0 0.09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.6;
  pointer-events: none;
}
@keyframes smoke {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to   { transform: translate3d(2%, 1.5%, 0) scale(1.06); }
}
main { display: block; }
[hidden] { display: none !important; }

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

/* ---------- Hero ---------- */
.hero {
  min-height: 78svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 72px 16px 40px;
  text-align: center;
}
.logo {
  width: min(280px, 62vw);
  height: auto;
  display: block;
  opacity: 0;
  transform: translateY(10px);
  animation: reveal 2.6s cubic-bezier(.2, .7, .2, 1) 0.2s forwards,
             glow 7s ease-in-out 2.8s infinite;
}
.brand-name {
  margin: clamp(22px, 4vw, 34px) 0 0;
  font-family: "Cinzel", Georgia, serif;
  font-weight: 700;
  font-size: clamp(20px, 5.6vw, 40px);
  line-height: 1.2;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: linear-gradient(100deg, #A8862A 0%, #D4AF37 35%, var(--specular) 50%, #D4AF37 65%, #A8862A 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  animation: shimmer 9s linear infinite, fade 1.6s ease 0.8s forwards;
}
.brand-name + .tagline {
  margin-top: 14px;
  margin-bottom: 4px;
}
.kicker {
  margin: 44px 0 10px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  animation: fade 1.6s ease 1.4s forwards;
}
.tagline {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(13px, 3.4vw, 17px);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--chalk);
  opacity: 0;
  animation: fade 1.6s ease 1.8s forwards;
}

.rule {
  display: block;
  width: min(220px, 56vw);
  height: 1px;
  margin: 8px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.7;
}

.launch-date {
  margin: 34px 0 14px;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--chalk);
}
/* Digital-clock countdown: framed gold panels, lit numerals, colon separators. */
.countdown {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(6px, 2vw, 12px);
}
.countdown li {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.countdown .digits {
  display: block;
  min-width: clamp(64px, 17vw, 96px);
  padding: clamp(10px, 2.4vw, 14px) 0;
  text-align: center;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 8vw, 46px);
  line-height: 1;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--specular);
  text-shadow: 0 0 14px rgba(212, 175, 55, 0.45), 0 0 2px rgba(255, 242, 198, 0.6);
  background: linear-gradient(180deg, #1c1714 0%, #0c0a09 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 242, 198, 0.08), inset 0 -12px 24px rgba(0, 0, 0, 0.6), 0 16px 30px -18px rgba(212, 175, 55, 0.35);
}
.countdown small {
  margin-top: 10px;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--champagne);
  opacity: 0.85;
}
.countdown .sep {
  font-family: var(--serif);
  font-size: clamp(26px, 6vw, 38px);
  color: var(--gold);
  line-height: 1;
  padding-top: clamp(12px, 3vw, 16px);
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
  animation: blink 2s steps(2, start) infinite;
}
@keyframes blink {
  to { opacity: 0.25; }
}

/* ---------- Script (founder signature) ---------- */
@font-face {
  font-family: "Alex Brush";
  src: url("/assets/fonts/alex-brush-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}

/* ---------- Private batch badge (replaces the countdown) ---------- */
.allocation {
  margin: clamp(26px, 4vw, 36px) auto 0;
  padding: 18px 26px 16px;
  max-width: 420px;
  border: 1px solid var(--hairline);
  background: linear-gradient(180deg, rgba(24, 18, 16, 0.85), rgba(12, 10, 9, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 242, 198, 0.06), 0 22px 40px -28px rgba(212, 175, 55, 0.4);
  text-align: center;
}
.allocation-kicker {
  margin: 0;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}
.allocation-sub {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: clamp(14px, 3.6vw, 17px);
  letter-spacing: 0.12em;
  color: var(--chalk);
}
.allocation-status {
  margin: 10px 0 0;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--champagne);
  opacity: 0.85;
}

/* ---------- Manifesto ---------- */
.manifesto {
  padding: clamp(56px, 9vw, 96px) 16px clamp(40px, 6vw, 64px);
  text-align: center;
}
.manifesto-text {
  margin: 0 auto;
  max-width: 680px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(16px, 3.4vw, 21px);
  line-height: 1.75;
  letter-spacing: 0.04em;
  color: var(--chalk);
}
.manifesto-text p { margin: 0 0 0.9em; }
.manifesto-text p:last-child { margin-bottom: 0; color: var(--gold); }
.manifesto-credit {
  margin: 28px 0 0;
  font-family: "Alex Brush", "Homemade Apple", cursive;
  font-size: clamp(28px, 6vw, 38px);
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--gold);
  text-shadow: 0 0 14px rgba(212, 175, 55, 0.35);
}

/* ---------- Collection cards ---------- */
.collection {
  padding: clamp(24px, 4vw, 48px) 16px clamp(56px, 8vw, 88px);
}
.collection .cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2.4vw, 24px);
  max-width: 1040px;
  margin: 0 auto;
}
@media (min-width: 760px) {
  .collection .cards { grid-template-columns: repeat(3, 1fr); }
}
.collection .card {
  position: relative;
  padding: clamp(30px, 4vw, 40px) clamp(22px, 3vw, 28px);
  border: 1px solid var(--hairline);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.05), rgba(14, 14, 16, 0.6));
  text-align: center;
  transition: border-color 0.5s ease, box-shadow 0.5s ease, transform 0.5s ease;
}
.collection .card::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(212, 175, 55, 0.12);
  pointer-events: none;
}
.collection .card:hover,
.collection .card:focus-within {
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 16px 40px -20px rgba(212, 175, 55, 0.45);
  transform: translateY(-3px);
}
.card-name {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(20px, 3.6vw, 26px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: linear-gradient(100deg, #A8862A 0%, #D4AF37 40%, #FFF2C6 55%, #D4AF37 70%, #A8862A 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 9s linear infinite;
}
.card-category {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: clamp(13px, 2.2vw, 15px);
  letter-spacing: 0.1em;
  color: var(--chalk);
  line-height: 1.6;
}
.card-accords {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--champagne);
  line-height: 2;
}

/* ---------- Request switch (invitation / blend) ---------- */
.switch {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 34px;
  flex-wrap: wrap;
}
.switch button {
  padding: 11px 20px;
  border: 1px solid var(--hairline);
  border-radius: 0;
  background: transparent;
  color: var(--champagne);
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.4s ease, border-color 0.4s ease, background 0.4s ease;
}
.switch button:hover { border-color: rgba(212, 175, 55, 0.7); color: var(--chalk); }
.switch button[aria-selected="true"] {
  color: var(--obsidian);
  border-color: var(--gold);
  background: linear-gradient(100deg, #A8862A 0%, #D4AF37 35%, var(--specular) 50%, #D4AF37 65%, #A8862A 100%);
  background-size: 250% 100%;
  animation: shimmer 9s linear infinite;
}
.switch button:focus-visible { outline: 1px solid var(--chalk); outline-offset: 3px; }

.blend-intro {
  max-width: 520px;
  margin: 0 auto 26px;
  font-family: var(--serif);
  font-size: clamp(14px, 3vw, 16px);
  letter-spacing: 0.04em;
  line-height: 1.7;
  color: var(--chalk);
}
.field.area {
  width: min(440px, 88vw);
  min-height: 110px;
  resize: vertical;
  border: 1px solid var(--hairline);
  padding: 14px 16px;
  text-align: left;
  letter-spacing: 0.04em;
  line-height: 1.6;
  font-size: 15px;
}
.blend-hint {
  margin: 12px 0 0;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--champagne);
  opacity: 0.7;
}
#phone-step { margin-top: 26px; display: flex; flex-direction: column; align-items: center; }
#phone-step[hidden] { display: none; }
.phone-note {
  margin: 0 0 18px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--champagne);
}
.phone-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(340px, 86vw);
}
.cc {
  padding: 13px 12px;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--gold);
}
.phone-input {
  flex: 1;
  width: auto;
  min-width: 0;
  text-align: left;
  font-variant-numeric: tabular-nums;
}
#phone-step .btn { margin-top: 26px; }

/* ---------- Invitation ---------- */
.invite {
  padding: 48px 16px 72px;
  text-align: center;
}
.trilogy {
  margin: 0 0 34px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  column-gap: clamp(14px, 3.5vw, 26px);
  row-gap: 10px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(15px, 3.9vw, 26px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  background: linear-gradient(100deg, #A8862A 0%, #D4AF37 35%, #FFF2C6 50%, #D4AF37 65%, #A8862A 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.55));
  animation: shimmer 9s linear infinite;
}
.trilogy span + span::before {
  content: "\00B7";
  margin-right: clamp(14px, 3.5vw, 26px);
  color: rgba(212, 175, 55, 0.55);
  font-weight: 400;
}
.hero .trilogy {
  margin: clamp(20px, 3.5vw, 28px) 0 clamp(18px, 3vw, 24px);
}
/* Phones: stack the three names cleanly, one per line. */
@media (max-width: 480px) {
  .trilogy { flex-direction: column; row-gap: 12px; }
  .trilogy span + span::before { content: none; }
}
.form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 420px;
  margin: 0 auto;
}
.field {
  width: min(340px, 86vw);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hairline);
  border-radius: 0;
  padding: 14px 4px;
  color: var(--chalk);
  font: inherit;
  font-size: 15px;
  letter-spacing: 0.1em;
  text-align: center;
  outline: none;
  transition: border-color 0.4s ease;
}
.field::placeholder { color: rgba(209, 199, 183, 0.5); }
.field:focus { border-bottom-color: var(--gold); }

.btn {
  margin-top: 30px;
  min-width: min(340px, 86vw);
  padding: 15px 28px;
  border: 1px solid var(--gold);
  border-radius: 0;
  cursor: pointer;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--obsidian);
  background: linear-gradient(100deg, #A8862A 0%, #D4AF37 35%, var(--specular) 50%, #D4AF37 65%, #A8862A 100%);
  background-size: 250% 100%;
  animation: shimmer 9s linear infinite;
  transition: box-shadow 0.4s ease, opacity 0.3s ease;
}
.btn:hover { box-shadow: 0 10px 30px -12px rgba(212, 175, 55, 0.7); }
.btn:focus-visible, .field:focus-visible { outline: 1px solid var(--chalk); outline-offset: 3px; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.status {
  min-height: 22px;
  margin: 16px 0 0;
  font-size: 12px;
  letter-spacing: 0.12em;
}
.status.error { color: #E3A184; }
.reserved {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.1em;
  color: var(--chalk);
}

/* ---------- Footer ---------- */
footer {
  padding: 40px 16px 48px;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.18em;
  line-height: 2;
  color: rgba(209, 199, 183, 0.75);
}
footer p { margin: 0; }
footer .brand {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(16px, 4.4vw, 24px);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
footer a { color: var(--champagne); text-decoration: none; border-bottom: 1px solid var(--hairline); }
footer a:hover { color: var(--gold); }

/* ---------- Motion ---------- */
@keyframes reveal {
  to { opacity: 1; transform: none; }
}
@keyframes fade {
  to { opacity: 1; }
}
@keyframes glow {
  0%, 100% { filter: drop-shadow(0 0 14px rgba(212, 175, 55, 0.45)); }
  50%      { filter: drop-shadow(0 0 36px rgba(255, 215, 90, 0.8)); }
}
@keyframes shimmer {
  from { background-position: 150% 0; }
  to   { background-position: -150% 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .logo, .kicker, .tagline, .brand-name, .launch-date, .countdown { opacity: 1; transform: none; }
  .countdown .sep { animation: none; }
}
@media (max-width: 380px) {
  .hero { padding-top: 56px; }
}

/* ---------- Social links (footer) ---------- */
.social {
  margin: 18px 0 0;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.social a {
  color: var(--champagne);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 2px;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.social a:hover,
.social a:focus-visible {
  color: var(--gold);
  border-color: var(--gold);
}
.social span { margin: 0 10px; color: var(--gold); }
.social a svg {
  width: 14px;
  height: 14px;
  margin-right: 8px;
  vertical-align: -2px;
  color: var(--gold);
}
