/* Mecca Morphs: Rare Reptiles */
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/nunito-v3.woff2") format("woff2");
}
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/playfair-italic-600-v3.woff2") format("woff2");
}

:root {
  --bg: #0A0A0A;
  --stone: #1E1B18;
  --stone-2: #25211D;
  --stone-3: #181614;
  --cream: #F4EAD4;
  --gold: #D6AC54;
  --mojave: #E4D6B6;
  --caramel: #C98A4E;
  --banana: #EAD58F;
  --error: #F4A38A;
  --line: rgba(214, 172, 84, 0.22);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.7, 0.25, 1);
  --radius: 22px;
  --header-h: 72px;
  --t: 1; /* intro time scale: 1 = first visit */
  --font-head: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-accent: "Playfair Display", Georgia, "Times New Roman", serif;
}
.intro-short { --t: 0.4; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--mojave);
  font-family: var(--font-head); font-size: 1.0625rem; line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); color: var(--cream); margin: 0; line-height: 1.12; letter-spacing: -0.01em; }
h2 { text-wrap: balance; font-weight: 800; font-size: clamp(2.2rem, 6vw, 3.6rem); }
h3 { font-weight: 800; font-size: 1.3rem; letter-spacing: 0; }
p { margin: 0 0 1em; text-wrap: pretty; }
strong { color: var(--cream); font-weight: 700; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 6px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 100; padding: 12px 18px; border-radius: 999px;
  background: var(--gold); color: var(--bg); font-weight: 800; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 16px; }
.container { width: min(1120px, 100% - 40px); margin-inline: auto; }

/* ---------- Ambient background ---------- */
.ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; animation: ambient-in calc(.9s * var(--t)) var(--ease-soft) calc(.35s * var(--t)) both; }
/* The stone/scale backdrop fades in just after the logo, so its (large) first paint isn't in the same frame as the hero's. */
@keyframes ambient-in { 0% { visibility: hidden; opacity: 0; } 1% { visibility: visible; opacity: 0; } 100% { visibility: visible; opacity: 1; } }
.intro-skip .ambient { animation: none; }
.ambient__stone, .ambient__scales { position: absolute; inset: -25% -10%; }
.ambient__stone {
  background:
    radial-gradient(ellipse 55% 38% at 22% 18%, rgba(37, 33, 29, 0.85), transparent 70%),
    radial-gradient(ellipse 45% 35% at 82% 46%, rgba(30, 27, 24, 0.9), transparent 70%),
    radial-gradient(ellipse 60% 40% at 30% 80%, rgba(37, 33, 29, 0.7), transparent 70%);
}
.ambient__scales {
  -webkit-mask-image: radial-gradient(ellipse 50% 35% at 70% 25%, #000 0%, transparent 70%), radial-gradient(ellipse 45% 30% at 20% 70%, #000 0%, transparent 70%);
          mask-image: radial-gradient(ellipse 50% 35% at 70% 25%, #000 0%, transparent 70%), radial-gradient(ellipse 45% 30% at 20% 70%, #000 0%, transparent 70%);
  opacity: 0.055;
}
.ambient__drift { position: absolute; inset: -88px; background: url("/img/scales.png") repeat; background-size: 44px 22px; }
/* Slow drift only on larger, hover-capable screens that aren't flagged as low-power */
@media (min-width: 900px) and (hover: hover) {
  html:not(.lite) .ambient__stone, html:not(.lite) .ambient__scales { will-change: transform; }
  html:not(.lite) .ambient__drift { animation: drift 48s linear infinite; will-change: transform; }
}
@keyframes drift { to { transform: translate3d(-44px, -44px, 0); } }
.ambient__vignette { position: absolute; inset: 0; background: radial-gradient(ellipse 120% 90% at 50% 40%, transparent 55%, rgba(0, 0, 0, 0.55) 100%); }

/* ---------- Header (visible immediately) ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 clamp(16px, 4vw, 40px);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(12, 11, 10, 0.95);
  border-bottom: 1px solid rgba(214, 172, 84, 0.14);
  opacity: 0; transition: opacity .5s var(--ease-soft);
}
@media (min-width: 761px) {
  .site-header::before { background: rgba(14, 13, 12, 0.78); -webkit-backdrop-filter: blur(14px) saturate(120%); backdrop-filter: blur(14px) saturate(120%); }
}
.site-header.is-scrolled::before { opacity: 1; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 50%; transition: transform .6s var(--ease-out); }
.brand:hover img { transform: rotate(-12deg) scale(1.06); }
.brand__name { font-weight: 800; color: var(--cream); font-size: 1.08rem; letter-spacing: 0.01em; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); list-style: none; margin: 0; padding: 0; }
.nav__link a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  text-decoration: none; font-weight: 700; font-size: .95rem; color: var(--mojave); transition: color .3s;
}
.nav__link a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; border-radius: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.nav__link a:hover { color: var(--cream); }
.nav__link a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Buttons (gold shimmer sweep) ---------- */
.btn {
  --pad-y: 15px; --pad-x: 28px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: var(--pad-y) var(--pad-x); border-radius: 999px; overflow: hidden; isolation: isolate;
  border: 0; cursor: pointer;
  font-family: var(--font-head); font-weight: 800; font-size: 1rem; letter-spacing: 0.02em; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), background-color .3s, color .3s, border-color .3s;
}
.btn > span { position: relative; z-index: 2; }
.btn::after {
  content: ""; position: absolute; z-index: 1; top: -20%; bottom: -20%; left: 0; width: 55%;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 248, 225, 0) 15%, rgba(255, 248, 225, 0.75) 50%, rgba(255, 248, 225, 0) 85%, transparent 100%);
  transform: translateX(-160%) skewX(-18deg); transition: transform .9s var(--ease-soft); pointer-events: none;
}
.btn:hover::after, .btn:focus-visible::after { transform: translateX(260%) skewX(-18deg); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--gold { background: var(--gold); color: #120F0A; box-shadow: 0 10px 30px -12px rgba(214, 172, 84, 0.55); }
.btn--gold:hover { box-shadow: 0 16px 40px -12px rgba(214, 172, 84, 0.75); }
.btn--ghost { color: var(--cream); border: 1.5px solid rgba(244, 234, 212, 0.55); background: rgba(10, 10, 10, 0.25); }
.btn--ghost::after { background: linear-gradient(100deg, transparent 0%, rgba(214, 172, 84, 0) 15%, rgba(214, 172, 84, 0.35) 50%, rgba(214, 172, 84, 0) 85%, transparent 100%); }
.btn--ghost:hover { border-color: var(--gold); color: var(--banana); }
.btn--sm { --pad-y: 10px; --pad-x: 18px; font-size: .9rem; }
.btn--block { width: 100%; }

/* ---------- Hero + intro (~1.8s first visit, ~0.7s repeat, none on #hash) ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: calc(var(--header-h) + 8px) 20px 88px; text-align: center; overflow: hidden;
}
.hero__parallax { will-change: transform, opacity; }
.hero__logo { position: relative; width: min(112vw, 1000px); margin-inline: auto; }
/* The logo <img> itself is never faded (so it paints at full strength for LCP); the intro scales the
   <picture> wrapper and fades out a stone-black veil laid over it, which looks identical on #0A0A0A. */
.hero__pic { display: block; position: relative; animation: logo-zoom calc(1.1s * var(--t)) var(--ease-out) calc(.05s * var(--t)) both; }
.hero__pic::after { content: ""; position: absolute; inset: 0; background: radial-gradient(35% 30% at 50% 48%, rgba(214, 172, 84, 0.24), rgba(201, 138, 78, 0.1) 50%, transparent 100%), #0A0A0A; opacity: 0; pointer-events: none; animation: veil-out calc(1.1s * var(--t)) var(--ease-out) calc(.05s * var(--t)) both; }
.hero__base { display: block; width: 100%; height: auto; }
.hero__glow {
  position: absolute; left: 50%; top: 48%; width: 70%; aspect-ratio: 2 / 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(214, 172, 84, 0.28), rgba(201, 138, 78, 0.12) 50%, transparent 100%);
  transform: translate(-50%, -50%); opacity: .7; pointer-events: none;
  animation: glow-in calc(1.6s * var(--t)) var(--ease-soft) 0s both, glow-breathe 7s ease-in-out 1.8s infinite;
}
.hero__tagline {
  position: absolute; left: 27.733%; top: 73.174%; width: 44.467%;
  animation: tagline-in calc(.8s * var(--t)) var(--ease-out) calc(.65s * var(--t)) both;
}
.hero__tagline img { width: 100%; }
.hero__glint {
  position: absolute; inset: 0; overflow: hidden;
  -webkit-mask: url("/img/logo-v3-tagline-840.avif") center / 100% 100% no-repeat;
          mask: url("/img/logo-v3-tagline-840.avif") center / 100% 100% no-repeat;
}
.hero__glint::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 30%;
  background: linear-gradient(100deg, transparent, rgba(255, 246, 220, 0.95) 50%, transparent);
  transform: translateX(-120%) skewX(-20deg);
  animation: glint 1s var(--ease-soft) calc(1.3s * var(--t)) both, glint 1.4s var(--ease-soft) 10s infinite;
}
@keyframes logo-in { 0% { opacity: .2; transform: scale(1.06) translateY(8px); } 100% { opacity: 1; transform: none; } }
@keyframes logo-zoom { 0% { transform: scale(1.06) translateY(8px); } 100% { transform: none; } }
@keyframes veil-out { 0% { opacity: .8; } 100% { opacity: 0; } }
@keyframes glow-in {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(.5); }
  50%  { opacity: 1; transform: translate(-50%, -50%) scale(1.12); }
  100% { opacity: .7; transform: translate(-50%, -50%) scale(1); }
}
@keyframes glow-breathe {
  0%, 100% { opacity: .7; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1;  transform: translate(-50%, -50%) scale(1.06); }
}
@keyframes tagline-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes glint { 0% { transform: translateX(-120%) skewX(-20deg); } 100% { transform: translateX(460%) skewX(-20deg); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.hero__copy { margin-top: clamp(-36px, -3vw, -12px); position: relative; z-index: 2; }
.hero__lede {
  max-width: 44ch; margin: 0 auto 28px;
  font-size: clamp(1.12rem, 2.4vw, 1.35rem); font-weight: 600; color: var(--mojave); line-height: 1.55;
  animation: fade-up calc(.7s * var(--t)) var(--ease-out) calc(.85s * var(--t)) both;
}
.hero__lede strong { font-weight: 700; color: var(--cream); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; animation: fade-up calc(.7s * var(--t)) var(--ease-out) calc(1s * var(--t)) both; }
.scroll-cue {
  position: absolute; bottom: 18px; left: 50%; width: 44px; height: 56px; margin-left: -22px;
  display: grid; place-items: center;
  animation: fade-up calc(.6s * var(--t)) var(--ease-out) calc(1.2s * var(--t)) both;
}
.scroll-cue::before { content: ""; width: 26px; height: 42px; border: 1.5px solid rgba(244, 234, 212, 0.5); border-radius: 14px; }
.scroll-cue span {
  position: absolute; left: 50%; top: 15px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px;
  background: var(--gold); animation: cue 2s var(--ease-soft) 2s infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80%, 100% { opacity: 0; transform: translateY(14px); } }
.intro-skip .hero__pic, .intro-skip .hero__pic::after, .intro-skip .hero__tagline, .intro-skip .hero__lede, .intro-skip .hero__actions, .intro-skip .scroll-cue { animation: none; }
.intro-skip .hero__glow { animation: glow-breathe 7s ease-in-out infinite; }
.intro-skip .hero__glint::before { animation: glint 1.4s var(--ease-soft) 10s infinite; }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(56px, 8vw, 104px) 0; }
.about { padding-top: clamp(48px, 7vw, 88px); }
.waitlist { padding-top: clamp(16px, 3vw, 40px); }
.section__head { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section__intro { font-size: clamp(1.06rem, 1.8vw, 1.2rem); color: var(--mojave); max-width: 62ch; margin-inline: auto; }
.eyebrow { font-family: var(--font-accent); font-style: italic; font-weight: 600; color: var(--gold); font-size: clamp(1.2rem, 2.4vw, 1.45rem); margin: 0 0 10px; letter-spacing: 0.01em; }
.rule { display: block; position: relative; width: 140px; height: 1px; margin: 24px auto 26px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.rule::after { content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; background: var(--gold); transform: translate(-50%, -50%) rotate(45deg); }

/* Pillars with brand line icons */
.pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .pillars { grid-template-columns: repeat(4, 1fr); } }
.pillar {
  position: relative; padding: 28px 26px 28px; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(160deg, rgba(37, 33, 29, 0.92), rgba(24, 22, 20, 0.92));
  border: 1px solid rgba(244, 234, 212, 0.07);
  transition: transform .6s var(--ease-out), border-color .4s, box-shadow .6s var(--ease-out);
}
.pillar::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(ellipse 80% 60% at 20% 0%, rgba(214, 172, 84, 0.16), transparent 70%); transition: opacity .5s; }
.pillar:hover { transform: translateY(-6px); border-color: var(--line); box-shadow: 0 24px 50px -28px rgba(0, 0, 0, 0.9); }
.pillar:hover::before { opacity: 1; }
.pillar__icon { width: 52px; height: 52px; margin-bottom: 16px; overflow: visible; transition: transform .6s var(--ease-out); }
.pillar:hover .pillar__icon { transform: translateY(-3px) rotate(-4deg); }
.pillar__icon path, .pillar__icon circle { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pillar__icon .i-gold { stroke: var(--gold); }
.pillar__icon .i-cream { stroke: var(--cream); opacity: .75; }
.pillar__icon .i-fill { fill: var(--gold); stroke: none; }
.pillar h3 { margin-bottom: 10px; }
.pillar p { margin: 0; color: var(--mojave); font-size: 1rem; line-height: 1.65; }

/* Waitlist card + form */
.waitlist__card {
  position: relative; display: grid; gap: clamp(32px, 5vw, 56px); align-items: start;
  grid-template-columns: 1fr; padding: clamp(28px, 5vw, 64px);
  border-radius: calc(var(--radius) + 8px); overflow: hidden;
  background: radial-gradient(ellipse 70% 80% at 0% 0%, rgba(214, 172, 84, 0.10), transparent 60%), linear-gradient(150deg, var(--stone-2), var(--stone-3));
  border: 1px solid rgba(214, 172, 84, 0.18);
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 1);
}
.waitlist__card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .05;
  background: url("/img/scales.png") repeat; background-size: 44px 22px;
  -webkit-mask-image: linear-gradient(120deg, transparent 30%, #000 100%); mask-image: linear-gradient(120deg, transparent 30%, #000 100%);
}
@media (min-width: 900px) { .waitlist__card { grid-template-columns: 1fr 1.05fr; align-items: center; } }
.waitlist__intro { position: relative; z-index: 1; }
.waitlist__intro h2 { margin-bottom: 18px; }
.waitlist__intro > p { font-size: clamp(1.04rem, 1.6vw, 1.15rem); max-width: 46ch; }
.steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; }
.steps li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; position: relative; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 10px; top: 26px; bottom: -18px; width: 1px; background: linear-gradient(var(--line), transparent); }
.steps__dot { width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; border: 1.5px solid var(--gold); position: relative; }
.steps__dot::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--gold); }
.steps strong { display: block; color: var(--cream); font-weight: 800; }
.steps span { display: block; color: var(--mojave); font-size: .98rem; line-height: 1.55; }

.waitlist__panel {
  position: relative; z-index: 1; padding: clamp(22px, 3.5vw, 36px); border-radius: var(--radius);
  background: rgba(10, 10, 10, 0.55); border: 1px solid rgba(244, 234, 212, 0.1);
  box-shadow: inset 0 1px 0 rgba(244, 234, 212, 0.05);
}
.wl-form__title { font-size: 1.5rem; margin-bottom: 6px; }
.wl-form__sub { color: var(--mojave); font-size: 1rem; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 7px; font-weight: 700; color: var(--cream); font-size: .98rem; }
.optional { font-weight: 400; color: var(--mojave); }
.field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px;
  background: #141210; color: var(--cream); font: inherit; font-size: 1rem; line-height: 1.5;
  border: 1.5px solid rgba(244, 234, 212, 0.38);
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(228, 214, 182, 0.62); }
.field input:hover, .field textarea:hover { border-color: rgba(244, 234, 212, 0.55); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(214, 172, 84, 0.22); background: #17140f; }
.field [aria-invalid="true"] { border-color: var(--error); }
.field__error { margin: 6px 0 0; min-height: 0; color: var(--error); font-size: .92rem; font-weight: 600; }
.field__error:empty { display: none; }
.field--check { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; margin-top: 6px; }
.field--check label { margin: 0; font-weight: 400; color: var(--mojave); font-size: .95rem; line-height: 1.5; cursor: pointer; }
.field--check .field__error { grid-column: 2; }
.field--check input {
  appearance: none; -webkit-appearance: none; margin: 1px 0 0; width: 26px; height: 26px; border-radius: 8px; cursor: pointer;
  background: #141210; border: 1.5px solid rgba(244, 234, 212, 0.5); display: grid; place-items: center;
  transition: background-color .2s, border-color .2s;
}
.field--check input::after { content: ""; width: 7px; height: 12px; border: solid #120F0A; border-width: 0 2.5px 2.5px 0; transform: translateY(-1px) rotate(45deg) scale(0); transition: transform .25s var(--ease-out); }
.field--check input:checked { background: var(--gold); border-color: var(--gold); }
.field--check input:checked::after { transform: translateY(-1px) rotate(45deg) scale(1); }
.field--check input:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.field--check input[aria-invalid="true"] { border-color: var(--error); }
.wl-turnstile.is-visible { margin-top: 14px; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.wl-form .btn { margin-top: 18px; min-height: 54px; }
.btn__spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(18, 15, 10, 0.3); border-top-color: #120F0A; animation: spin .8s linear infinite; position: relative; z-index: 2; }
.is-loading .btn__spinner { display: inline-block; }
.is-loading .btn { pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.wl-form__status { margin: 14px 0 0; font-size: .95rem; font-weight: 600; color: var(--error); }
.wl-form__status:empty { display: none; }
.wl-form__status.is-shake { animation: shake .45s var(--ease-soft); }
@keyframes shake { 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }
.wl-form.is-leaving { animation: form-out .35s var(--ease-soft) both; }
@keyframes form-out { to { opacity: 0; transform: translateY(-10px) scale(.98); } }
.wl-alt { margin: 18px 0 0; text-align: center; font-size: .95rem; color: var(--mojave); }
.wl-alt a { color: var(--cream); font-weight: 700; display: inline-block; padding: 10px 2px; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.wl-alt a:hover { color: var(--banana); }

.wl-success { position: relative; text-align: center; padding: 28px 8px 8px; outline: none; }
.wl-success:not([hidden]) { animation: fade-up .6s var(--ease-out) both; }
.wl-success__burst {
  position: absolute; left: 50%; top: 58px; width: 220px; height: 220px; margin: -110px 0 0 -110px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(214, 172, 84, 0.35), transparent); pointer-events: none;
  animation: burst 1.2s var(--ease-out) both;
}
@keyframes burst { from { opacity: 0; transform: scale(.3); } 40% { opacity: 1; } to { opacity: .35; transform: scale(1); } }
.wl-success__check { position: relative; width: 64px; height: 64px; margin: 0 auto 18px; }
.wl-success__check circle, .wl-success__check path { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.wl-success__check circle { stroke-dasharray: 176; stroke-dashoffset: 176; animation: draw .7s var(--ease-out) .1s forwards; }
.wl-success__check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .45s var(--ease-out) .65s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.wl-success h3 { font-size: 1.6rem; margin-bottom: 10px; }
.wl-success__msg { margin: 0 auto; max-width: 34ch; }

/* Contact */
.contact__inner { text-align: center; max-width: 760px; }
.contact h2 { margin-bottom: 18px; }
.email-link {
  position: relative; display: inline-block; margin: 6px 0 18px; padding: 8px 0;
  font-weight: 800; color: var(--cream); text-decoration: none;
  font-size: clamp(1.35rem, 5.4vw, 2.4rem); letter-spacing: -0.01em; overflow-wrap: anywhere; transition: color .3s;
}
.email-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--caramel), var(--gold), var(--banana));
  transform: scaleX(.3); transform-origin: left; transition: transform .6s var(--ease-out);
}
.email-link:hover { color: var(--banana); }
.email-link:hover::after { transform: scaleX(1); }
.location { display: flex; justify-content: center; align-items: center; gap: 8px; color: var(--mojave); font-weight: 600; margin: 0; }
.location svg { color: var(--gold); }

/* Footer */
.site-footer { padding: 44px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(214, 172, 84, 0.12); }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.footer__name { font-weight: 800; color: var(--cream); margin: 0; font-size: 1.05rem; }
.footer__tag { font-family: var(--font-accent); font-style: italic; color: var(--gold); font-size: 1.1rem; margin: 0 0 6px; }
.footer__legal { font-size: .92rem; color: rgba(228, 214, 182, 0.78); margin: 0; }

/* Simple pages (404 / thanks) */
.page-simple { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.page-simple main { flex: 1; display: grid; place-items: center; padding: calc(var(--header-h) + 24px) 20px 56px; text-align: center; }
.page-simple__logo { width: min(92vw, 560px); margin: 0 auto 8px; animation: logo-in .9s var(--ease-out) both; }
.page-simple h1 { font-weight: 800; font-size: clamp(2rem, 6vw, 3rem); margin-bottom: 14px; animation: fade-up .7s var(--ease-out) .2s both; }
.page-simple p.lead { max-width: 44ch; margin: 0 auto 26px; font-size: 1.1rem; animation: fade-up .7s var(--ease-out) .3s both; }
.page-simple .hero__actions { animation-delay: .4s; }

/* ---------- Scroll reveals (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translate3d(0, 30px, 0); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.js .rule.reveal { transform: scaleX(0); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Mobile ---------- */
@media (max-width: 639px) {
  .pillar { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding: 22px 20px; }
  .pillar__icon { width: 44px; height: 44px; margin: 2px 0 0; grid-row: span 2; }
  .waitlist__card { padding: 26px 18px 18px; }
  .waitlist__panel { padding: 22px 18px; margin-inline: -4px; }
}
@media (max-width: 760px) {
  .nav__link { display: none; }
  .brand__name { font-size: 1rem; }
}
@media (max-width: 360px) { .brand__name { display: none; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .rule.reveal { opacity: 1; transform: none; }
  .hero__glow { opacity: .7; }
  .btn::after { display: none; }
  .wl-success__check circle, .wl-success__check path { stroke-dashoffset: 0; }
  .wl-success__burst { opacity: .35; }
}
