/* ════════════════════════════════════════════════════════════════
   CLAY CYANIDE — COMPLETE DESIGN SYSTEM
   Dark Ritual Aesthetic · Baldur's Gate 3 × Ancient Grimoire
   ════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&family=Cinzel:wght@400;500;600;700&family=EB+Garamond:ital,wght@0,400;0,500;1,400;1,500&family=Roboto:wght@300;400;500;700&display=swap');

/* ── CSS VARIABLES ─────────────────────────────────────────────── */
:root {
  --bg:          #0a0502;
  --bg-alt:      #0e0804;
  --parchment:   #2a1f0e;
  --charcoal:    #140e06;
  --void:        #050301;

  --bone-light:  #E8DCC8;
  --bone:        #c8b89a;
  --bone-dark:   #9a8870;

  --blood:       #8B0000;
  --blood-dark:  #5a0000;
  --blood-light: #b30000;

  --gold:        #B8860B;
  --gold-bright: #DAA520;
  --gold-hi:     #D4AF37;
  --gold-dim:    #7a5c00;

  --shadow:      rgba(0,0,0,0.8);

  --font-display: 'Cinzel Decorative', serif;
  --font-heading: 'Cinzel', serif;
  --font-body:    'Roboto', sans-serif;

  --border-blood:  1px solid rgba(139,0,0,0.4);
  --border-gold:   1px solid rgba(184,134,11,0.4);
  --border-bone:   1px solid rgba(232,220,200,0.12);
  --border-none:   1px solid rgba(232,220,200,0.06);

  --transition: all 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
  --glow-gold:  0 0 20px rgba(212,175,55,0.4), 0 0 40px rgba(184,134,11,0.2);
  --glow-blood: 0 0 20px rgba(139,0,0,0.5), 0 0 40px rgba(139,0,0,0.2);
}

/* ── RESET ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; font-size:16px; }
body {
  background: var(--bg);
  color: var(--bone);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.75;
  overflow-x: hidden;
  cursor: none;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
input, textarea, select, button { font-family: inherit; }

/* ── CUSTOM CURSOR ─────────────────────────────────────────────── */
#cursor {
  position: fixed;
  width: 18px;
  height: 18px;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%,-50%);
}
#cursor::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--blood-light);
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(139,0,0,0.8), 0 0 20px rgba(139,0,0,0.4);
}
#cursor::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 4px; height: 4px;
  background: var(--blood-light);
  border-radius: 50%;
  transform: translate(-50%,-50%);
  box-shadow: 0 0 6px rgba(139,0,0,1);
}
#cursor-follower {
  position: fixed;
  width: 40px; height: 40px;
  border: 1px solid rgba(139,0,0,0.3);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%,-50%);
  transition: width 0.3s, height 0.3s, border-color 0.3s;
}
body.cursor-hover #cursor-follower {
  width: 60px; height: 60px;
  border-color: rgba(212,175,55,0.5);
}
#ember-trail-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99990;
}

/* ── SPLASH SCREEN ─────────────────────────────────────────────── */
#splash {
  position: fixed;
  inset: 0;
  z-index: 99997;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
#splash.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
#splash-logo {
  width: clamp(100px,20vw,180px);
  filter: drop-shadow(0 0 30px rgba(212,175,55,0.6)) drop-shadow(0 0 60px rgba(212,175,55,0.3));
  animation: splashFloat 4s ease-in-out infinite;
  opacity: 0;
}
@keyframes splashFloat {
  0%,100% { transform: translateY(0) rotateY(0deg); }
  50% { transform: translateY(-14px) rotateY(8deg); }
}
#splash-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem,4vw,2.5rem);
  color: var(--bone-light);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-align: center;
  opacity: 0;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
#splash-sub {
  font-family: var(--font-body);
  font-style: italic;
  color: var(--bone-dark);
  font-size: clamp(0.85rem,2vw,1.1rem);
  letter-spacing: 0.12em;
  text-align: center;
  opacity: 0;
  max-width: 480px;
  padding: 0 1rem;
}
#splash-btn { opacity: 0; margin-top: 1rem; }
#splash-skip {
  position: absolute;
  top: 2rem; right: 2rem;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--bone-dark);
  cursor: none;
  opacity: 0;
  border: var(--border-bone);
  padding: 0.5rem 1rem;
  transition: var(--transition);
}
#splash-skip:hover { color: var(--bone-light); border-color: var(--gold-dim); }

/* ── GLOBAL BACKGROUND ─────────────────────────────────────────── */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
#vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.7) 100%);
}

/* ── NAVIGATION ────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(5,3,1,0.88);
  backdrop-filter: blur(12px);
  border-bottom: var(--border-blood);
  transition: var(--transition);
}
.nav.scrolled { background: rgba(5,3,1,0.97); }
.nav .container { max-width: 1440px; margin: 0 auto; padding: 0 2.5rem; }
.nav-inner {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 1.5rem;
}
.nav-logo { flex-shrink: 0; display: flex; align-items: center; }
.nav-logo img {
  height: 36px; width: auto;
  filter: brightness(1.05);
  transition: var(--transition);
}
.nav-logo:hover img { filter: brightness(1.3) drop-shadow(0 0 8px rgba(212,175,55,0.5)); }
.nav-links {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
}
.nav-link {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bone-dark);
  padding: 0.6rem 0.9rem;
  position: relative;
  transition: var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0.9rem; right: 0.9rem;
  height: 1px;
  background: var(--gold-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-link:hover { color: var(--bone-light); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--bone-light); }
.nav-cta {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 0.62rem !important;
  padding: 0.6rem 1.4rem !important;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
}
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--bone); transition: var(--transition); }
.nav-mobile {
  display: none;
  flex-direction: column;
  background: rgba(5,3,1,0.98);
  border-top: var(--border-blood);
  padding: 1rem 2rem 1.5rem;
  gap: 0.25rem;
}
.nav-mobile .nav-link { display: block; padding: 0.75rem 0; font-size: 0.8rem; }
.nav-mobile.open { display: flex; }

/* ── BUTTONS ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 0.9rem 2.25rem;
  position: relative;
  cursor: none;
  transition: var(--transition);
  border: none;
  outline: none;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s;
}
.btn:hover::before { opacity: 1; }
.btn-primary {
  background: linear-gradient(135deg, #7a5c00 0%, var(--gold) 40%, var(--gold-bright) 60%, var(--gold) 100%);
  color: #0a0500;
  border: 1px solid var(--gold-bright);
  box-shadow: 0 2px 20px rgba(184,134,11,0.25), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary::before { background: linear-gradient(135deg, var(--gold-bright), var(--gold-hi)); }
.btn-primary:hover {
  box-shadow: var(--glow-gold), inset 0 1px 0 rgba(255,255,255,0.2);
  transform: translateY(-2px);
  color: #000;
}
.btn-secondary {
  background: transparent;
  color: var(--bone-light);
  border: var(--border-blood);
}
.btn-secondary::before { background: rgba(139,0,0,0.12); }
.btn-secondary:hover {
  border-color: var(--blood-light);
  box-shadow: var(--glow-blood);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--bone-dark);
  border: var(--border-bone);
}
.btn-ghost::before { background: rgba(232,220,200,0.05); }
.btn-ghost:hover { color: var(--gold-hi); border-color: var(--gold-dim); transform: translateY(-2px); }
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(212,175,55,0.4);
  width: 10px; height: 10px;
  transform: scale(0);
  animation: btnRipple 0.6s ease-out forwards;
  pointer-events: none;
}
@keyframes btnRipple { to { transform: scale(30); opacity: 0; } }

/* ── LAYOUT ────────────────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.container-wide { max-width: 1440px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 7rem 0; position: relative; z-index: 2; }
.section-sm { padding: 4rem 0; position: relative; z-index: 2; }
.section-lg { padding: 10rem 0; position: relative; z-index: 2; }
.bg-ash { background: var(--parchment); }
.bg-void { background: var(--void); }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 5rem; }
.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.62rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  position: relative;
  padding: 0 1.25rem;
}
.section-label::before, .section-label::after {
  content: '✦';
  position: absolute;
  top: 50%; transform: translateY(-50%);
  font-size: 0.5rem;
  color: var(--blood);
}
.section-label::before { left: 0; }
.section-label::after { right: 0; }

/* ── TYPOGRAPHY ────────────────────────────────────────────────── */
.heading-xl { font-family: var(--font-display); font-size: clamp(2.5rem,6vw,5rem); color: var(--bone-light); line-height: 1.1; letter-spacing: 0.04em; }
.heading-lg { font-family: var(--font-display); font-size: clamp(1.75rem,3.5vw,2.75rem); color: var(--bone-light); line-height: 1.2; margin-bottom: 1.25rem; }
.heading-md { font-family: var(--font-display); font-size: clamp(1.25rem,2.5vw,1.9rem); color: var(--bone-light); line-height: 1.3; }
.heading-sm { font-family: var(--font-heading); font-size: 1rem; color: var(--bone-light); letter-spacing: 0.08em; text-transform: uppercase; }
.body-text { font-style: italic; font-weight: 300; color: var(--bone-dark); line-height: 1.8; }
.text-gold { color: var(--gold-hi); }
.text-blood { color: var(--blood-light); }
.text-center { text-align: center; }
.mt-2 { margin-top: 0.5rem; } .mt-4 { margin-top: 1rem; } .mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; } .mt-12 { margin-top: 3rem; }

/* ── ORNAMENTS ─────────────────────────────────────────────────── */
.ornament {
  font-family: var(--font-heading);
  color: var(--blood);
  letter-spacing: 0.5em;
  text-align: center;
  margin: 1.5rem 0;
  opacity: 0.7;
}
.divider {
  display: flex; align-items: center; gap: 1rem;
  margin: 2rem 0;
  color: var(--blood); opacity: 0.5;
}
.divider::before, .divider::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--blood), transparent);
}
.divider-gold { color: var(--gold-dim); opacity: 0.6; }
.divider-gold::before, .divider-gold::after { background: linear-gradient(90deg, transparent, var(--gold-dim), transparent); }

/* ── HERO ──────────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 2;
}
.hero-img-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.3) saturate(0.6);
  transform: scale(1.05);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,5,2,0.2) 0%, rgba(10,5,2,0.5) 60%, var(--bg) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  padding: 0 2rem;
}
.hero-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s ease forwards;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem,7vw,6rem);
  color: var(--bone-light);
  line-height: 1.0;
  letter-spacing: 0.04em;
  margin-bottom: 1.75rem;
}
.hero-title .line-1 { display: block; opacity: 0; animation: fadeUp 0.8s 0.5s ease forwards; }
.hero-title .line-2 {
  display: block;
  font-size: clamp(1.1rem,2.8vw,2.2rem);
  font-family: var(--font-heading);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  animation: fadeUp 0.8s 0.7s ease forwards;
  margin-top: 0.5rem;
}
.hero-subtitle {
  font-family: var(--font-body);
  font-weight: 300;
  font-style: italic;
  color: var(--bone-dark);
  font-size: clamp(1rem,1.8vw,1.2rem);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.9s ease forwards;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 1.25rem; justify-content: center; flex-wrap: wrap; opacity: 0; animation: fadeUp 0.8s 1.1s ease forwards; }
.hero-scroll {
  position: absolute;
  bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  z-index: 3;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--bone-dark);
  opacity: 0;
  animation: fadeIn 1s 1.5s ease forwards;
}
.scroll-line { width: 1px; height: 40px; background: linear-gradient(180deg, var(--blood), transparent); margin: 0.75rem auto 0; animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100% { opacity: 0.4; } 50% { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
#sigil-3d { position: absolute; inset: 0; z-index: 2; pointer-events: none; }

/* ── TICKER ────────────────────────────────────────────────────── */
.highlight-band {
  background: rgba(5,3,1,0.95);
  border-top: var(--border-blood);
  border-bottom: var(--border-blood);
  padding: 0.9rem 0;
  overflow: hidden;
  position: relative;
  z-index: 3;
}
.ticker-wrap { display: flex; white-space: nowrap; animation: ticker 40s linear infinite; will-change: transform; }
.ticker-item {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0 3rem;
  position: relative;
  flex-shrink: 0;
}
.ticker-item::after { content: '⛧'; position: absolute; right: 0.5rem; top: 50%; transform: translateY(-50%); color: var(--blood); font-size: 0.7rem; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── STATS ─────────────────────────────────────────────────────── */
.stats-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; border: var(--border-blood); }
.stat-item { padding: 2.5rem 2rem; text-align: center; border-right: var(--border-blood); position: relative; }
.stat-item:last-child { border-right: none; }
.stat-item::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 40px; height: 2px; background: linear-gradient(90deg, transparent, var(--blood), transparent); }
.stat-number { display: block; font-family: var(--font-display); font-size: clamp(2rem,3.5vw,3rem); color: var(--gold-bright); line-height: 1; margin-bottom: 0.5rem; }
.stat-label { font-family: var(--font-heading); font-size: 0.6rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--bone-dark); }

/* ── GRIDS & CARDS ─────────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.card {
  background: var(--charcoal);
  border: var(--border-blood);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.card::before {
  content: '';
  position: absolute; inset: -1px;
  background: linear-gradient(135deg, rgba(184,134,11,0.3) 0%, transparent 40%, transparent 60%, rgba(184,134,11,0.15) 100%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  z-index: 10;
}
.card:hover::before { opacity: 1; }
.card:hover { border-color: rgba(184,134,11,0.5); box-shadow: 0 8px 40px rgba(0,0,0,0.6), var(--glow-gold); }
.card-img-wrap { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.card:hover .card-img-wrap img { transform: scale(1.07); }
.card-img-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, var(--charcoal) 100%); }
.card-body { padding: 1.5rem 1.75rem 2rem; }
.card-tag { font-family: var(--font-heading); font-size: 0.58rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 0.6rem; }
.card h3 { font-family: var(--font-display); font-size: 1.05rem; color: var(--bone-light); margin-bottom: 0.75rem; line-height: 1.3; }
.card p { font-style: italic; font-weight: 300; color: var(--bone-dark); font-size: 0.9rem; line-height: 1.7; }

/* ── IMAGE WATERMARK ───────────────────────────────────────────── */
.mini-img-wrap { position: relative; overflow: hidden; display: block; }
.mini-img-wrap::after {
  content: '© Clay Cyanide LLC 2026';
  position: absolute;
  bottom: 8px; right: 10px;
  font-family: var(--font-heading);
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
  text-shadow: 0 1px 3px rgba(0,0,0,0.9);
  pointer-events: none;
  z-index: 5;
  text-transform: uppercase;
}
.mini-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }

/* ── FEATURE BLOCKS ────────────────────────────────────────────── */
.feature-block { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.feature-block.reverse .feature-img { order: 2; }
.feature-block.reverse .feature-content { order: 1; }
.feature-img { position: relative; }
.feature-img-frame { position: absolute; inset: -8px; border: var(--border-gold); opacity: 0.4; pointer-events: none; }
.feature-img .mini-img-wrap { width: 100%; height: 480px; }
.feature-content h2 { margin: 1rem 0 1.25rem; }
.feature-content p { font-style: italic; font-weight: 300; color: var(--bone-dark); line-height: 1.8; margin-bottom: 1rem; }

/* ── QUOTE ─────────────────────────────────────────────────────── */
.quote-block { border-left: 3px solid var(--blood); padding: 1.5rem 2rem; background: rgba(139,0,0,0.05); margin: 2rem 0; }
.quote-block p { font-family: 'EB Garamond', serif; font-style: italic; color: var(--bone); font-size: 1.1rem; line-height: 1.8; margin-bottom: 0.75rem; }
.quote-block cite { font-family: var(--font-heading); font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); }

/* ── LORE QUOTE (contact page blockquote) ───────────────────────── */
.lore-quote p,
.lore-quote cite { font-family: 'EB Garamond', serif; }

/* ── TIER CARDS ────────────────────────────────────────────────── */
.tier-card {
  background: var(--charcoal);
  border: var(--border-blood);
  padding: 3rem 2rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.tier-card.featured { border-color: rgba(184,134,11,0.6); background: linear-gradient(180deg, rgba(30,20,0,0.8) 0%, var(--charcoal) 100%); box-shadow: 0 0 40px rgba(184,134,11,0.12); }
.tier-card:hover { transform: translateY(-6px); box-shadow: 0 16px 50px rgba(0,0,0,0.7), var(--glow-gold); }
.tier-seal {
  width: 70px; height: 70px;
  border-radius: 50%;
  border: 2px solid;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.75rem;
  position: relative;
}
.tier-seal::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid; opacity: 0.3; }
.tier-seal.bronze { border-color: #cd7f32; color: #cd7f32; }
.tier-seal.bronze::after { border-color: #cd7f32; }
.tier-seal.silver { border-color: #c0c0c0; color: #c0c0c0; }
.tier-seal.silver::after { border-color: #c0c0c0; }
.tier-seal.gold { border-color: var(--gold-bright); color: var(--gold-bright); }
.tier-seal.gold::after { border-color: var(--gold-bright); }
.tier-name { font-family: var(--font-display); font-size: 1.2rem; color: var(--bone-light); margin-bottom: 0.5rem; }
.tier-price { font-family: var(--font-display); font-size: 2.5rem; color: var(--gold-bright); line-height: 1; }
.tier-price span { font-size: 1rem; color: var(--bone-dark); font-family: var(--font-body); font-weight: 300; font-style: italic; }
.tier-period { font-family: var(--font-heading); font-size: 0.6rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--bone-dark); margin: 0.4rem 0 1.5rem; }
.tier-features { text-align: left; margin: 1.5rem 0 2rem; display: flex; flex-direction: column; gap: 0.6rem; }
.tier-features li { font-style: italic; font-weight: 300; color: var(--bone-dark); font-size: 0.9rem; padding: 0.4rem 0 0.4rem 1.5rem; position: relative; border-bottom: var(--border-none); }
.tier-features li::before { content: '✦'; position: absolute; left: 0; color: var(--blood); font-size: 0.55rem; top: 0.6rem; }
.tier-badge { position: absolute; top: 0; left: 50%; transform: translateX(-50%); background: var(--gold); color: #000; font-family: var(--font-heading); font-size: 0.55rem; letter-spacing: 0.25em; text-transform: uppercase; padding: 0.3rem 1.25rem; white-space: nowrap; }

/* ── PAGE HERO ─────────────────────────────────────────────────── */
.page-hero {
  padding: 12rem 0 5rem;
  text-align: center;
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.page-hero .heading-xl { margin: 1rem 0; }
.page-hero p { font-style: italic; font-weight: 300; color: var(--bone-dark); font-size: 1.1rem; max-width: 600px; margin: 1.5rem auto 0; line-height: 1.8; }
.breadcrumb { font-family: var(--font-heading); font-size: 0.6rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--bone-dark); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--gold); }
.breadcrumb span { margin: 0 0.5rem; color: var(--blood); }

/* ── RELEASE CARDS ─────────────────────────────────────────────── */
.release-card { background: var(--charcoal); border: var(--border-blood); position: relative; overflow: hidden; }
.release-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--blood-dark), var(--blood-light), var(--gold), var(--blood-light), var(--blood-dark)); }
.release-badge { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-heading); font-size: 0.6rem; letter-spacing: 0.25em; text-transform: uppercase; padding: 0.45rem 1.25rem; background: rgba(139,0,0,0.15); border: 1px solid var(--blood); color: var(--blood-light); position: relative; }
.release-badge.pulse::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--blood-light); box-shadow: 0 0 8px var(--blood-light); animation: pulseDot 1.5s ease-in-out infinite; }
@keyframes pulseDot { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.4); opacity: 0.7; } }

/* ── COUNTDOWN ─────────────────────────────────────────────────── */
.countdown-wrap { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin: 2rem 0; }
.countdown-unit { text-align: center; min-width: 80px; padding: 1.25rem 1rem; background: var(--charcoal); border: var(--border-blood); position: relative; }
.countdown-unit::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 40px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.countdown-num { font-family: var(--font-display); font-size: 2.5rem; color: var(--gold-bright); line-height: 1; display: block; }
.countdown-label { font-family: var(--font-heading); font-size: 0.55rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--bone-dark); display: block; margin-top: 0.4rem; }
.candle-flame { text-align: center; font-size: 2rem; animation: flicker 1.5s ease-in-out infinite alternate; margin-bottom: 0.5rem; }
@keyframes flicker { 0% { transform: scaleY(1); filter: brightness(1); } 50% { transform: scaleY(1.08) scaleX(0.96); filter: brightness(1.15); } 100% { transform: scaleY(0.97); filter: brightness(1.05); } }

/* ── SCROLL NOTICE ─────────────────────────────────────────────── */
.scroll-notice {
  background: linear-gradient(135deg, #1a0a00, #0f0600, #1a0a00);
  border: 2px solid rgba(139,0,0,0.5);
  padding: 3rem;
  position: relative;
  text-align: center;
  margin: 3rem 0;
}
.scroll-notice::before, .scroll-notice::after { content: ''; position: absolute; left: 1.5rem; right: 1.5rem; height: 2px; background: linear-gradient(90deg, transparent, var(--gold-dim), var(--gold), var(--gold-dim), transparent); }
.scroll-notice::before { top: 1rem; }
.scroll-notice::after { bottom: 1rem; }
.wax-seal { width: 50px; height: 50px; background: radial-gradient(circle, var(--blood-light), var(--blood-dark)); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; font-size: 1.25rem; box-shadow: 0 0 20px rgba(139,0,0,0.6); }

/* ── GALLERY ───────────────────────────────────────────────────── */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 1rem; }
.gallery-item { overflow: hidden; position: relative; cursor: none; border: var(--border-blood); transition: var(--transition); aspect-ratio: 3/4; }
.gallery-item:hover { box-shadow: var(--glow-gold); }
.gallery-item .mini-img-wrap { width: 100%; height: 100%; }

#lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,0.94); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: var(--transition); }
#lightbox.open { opacity: 1; visibility: visible; }
#lightbox-img-wrap { position: relative; max-width: 90vw; max-height: 85vh; }
#lightbox-img-wrap::after { content: '© Clay Cyanide LLC 2026'; position: absolute; bottom: 10px; right: 12px; font-family: var(--font-heading); font-size: 0.55rem; letter-spacing: 0.08em; color: rgba(255,255,255,0.55); text-shadow: 0 1px 3px rgba(0,0,0,0.9); }
#lightbox-img { max-width: 100%; max-height: 85vh; object-fit: contain; display: block; }
#lightbox-close { position: absolute; top: 2rem; right: 2rem; font-family: var(--font-heading); font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--bone-dark); cursor: none; border: var(--border-bone); padding: 0.5rem 1rem; background: rgba(10,5,2,0.8); transition: var(--transition); }
#lightbox-close:hover { color: var(--bone-light); border-color: var(--gold-dim); }

/* ── FORMS ─────────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; font-family: var(--font-heading); font-size: 0.62rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--bone-dark); margin-bottom: 0.6rem; }
.form-control { width: 100%; background: rgba(10,5,2,0.8); border: var(--border-bone); color: var(--bone); font-family: var(--font-body); font-weight: 400; font-style: italic; font-size: 1rem; padding: 0.85rem 1.25rem; outline: none; transition: var(--transition); appearance: none; -webkit-appearance: none; }
.form-control:focus { border-color: rgba(212,175,55,0.5); box-shadow: 0 0 0 3px rgba(212,175,55,0.08); }
.form-control::placeholder { color: rgba(154,136,112,0.4); font-style: italic; }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control option { background: var(--charcoal); }

/* ── ABOUT ─────────────────────────────────────────────────────── */
.drop-cap::first-letter { float: left; font-family: var(--font-display); font-size: 4.5rem; line-height: 0.7; margin: 0.15em 0.15em 0 0; color: var(--gold); text-shadow: 0 0 20px rgba(184,134,11,0.4); }
.timeline-item { position: relative; padding: 1.5rem 0 1.5rem 2.5rem; border-bottom: var(--border-none); }
.timeline-item::before { content: ''; position: absolute; left: 0; top: 2rem; width: 10px; height: 10px; border-radius: 50%; background: var(--blood); border: 2px solid var(--gold-dim); box-shadow: 0 0 10px rgba(139,0,0,0.5); }
.timeline-year { font-family: var(--font-display); font-size: 0.8rem; color: var(--gold); margin-bottom: 0.25rem; }
.process-step { display: flex; gap: 1.5rem; padding: 1.5rem; border: var(--border-none); background: var(--charcoal); transition: var(--transition); margin-bottom: 1rem; }
.process-step:hover { border-color: rgba(184,134,11,0.3); }
.process-num { font-family: var(--font-display); font-size: 3rem; color: rgba(139,0,0,0.2); line-height: 1; flex-shrink: 0; width: 50px; }
.process-content h4 { font-family: var(--font-heading); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bone-light); margin-bottom: 0.4rem; }
.process-content p { font-style: italic; font-weight: 300; color: var(--bone-dark); font-size: 0.88rem; line-height: 1.6; }

/* ── SIGIL BG ──────────────────────────────────────────────────── */
.sigil-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.sigil-bg::after { content: '⛧'; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-size: min(50vw, 500px); color: var(--blood); opacity: 0.03; line-height: 1; }

/* ── FOOTER ────────────────────────────────────────────────────── */
.footer { background: var(--charcoal); border-top: var(--border-blood); padding: 6rem 0 3rem; position: relative; z-index: 2; }
.footer-logo-wrap { text-align: center; margin-bottom: 3rem; }
.footer-logo-wrap img { width: 90px; margin: 0 auto 1rem; filter: drop-shadow(0 0 20px rgba(212,175,55,0.5)) drop-shadow(0 0 40px rgba(184,134,11,0.2)); animation: splashFloat 5s ease-in-out infinite; }
.footer-tagline { font-family: var(--font-heading); font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-dim); margin-top: 0.75rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.footer-brand p { font-style: italic; font-weight: 300; color: var(--bone-dark); font-size: 0.9rem; line-height: 1.7; margin: 1rem 0 1.5rem; }
.footer-heading { font-family: var(--font-heading); font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem; padding-bottom: 0.75rem; border-bottom: var(--border-blood); }
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { font-style: italic; font-weight: 300; color: var(--bone-dark); font-size: 0.88rem; transition: var(--transition); display: flex; align-items: center; gap: 0.4rem; }
.footer-links a::before { content: '›'; color: var(--blood); }
.footer-links a:hover { color: var(--gold-hi); padding-left: 0.25rem; }
.footer-social { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1rem; }
.social-icon { width: 38px; height: 38px; border: var(--border-bone); display: flex; align-items: center; justify-content: center; color: var(--bone-dark); transition: var(--transition); }
.social-icon svg { width: 16px; height: 16px; flex-shrink: 0; }
.social-icon:hover { border-color: var(--gold-dim); color: var(--gold-hi); background: rgba(184,134,11,0.08); }
.footer-bottom { border-top: var(--border-none); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-family: var(--font-heading); font-size: 0.58rem; letter-spacing: 0.18em; color: var(--bone-dark); opacity: 0.6; text-transform: uppercase; }
.footer-motto { font-family: var(--font-heading); font-size: 0.65rem; letter-spacing: 0.35em; color: var(--blood); opacity: 0.7; text-transform: uppercase; }

/* ── REVEAL ────────────────────────────────────────────────────── */
.reveal, .reveal-left, .reveal-right { opacity: 0; transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal { transform: translateY(30px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.revealed { opacity: 1 !important; transform: none !important; }
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }

/* ── PAGE TRANSITION — 3D PORTAL DEPTH PUSH ────────────────────── */
#page-transition {
  position: fixed; inset: 0; z-index: 99995;
  background: radial-gradient(ellipse at center, rgba(20,8,2,0.97) 0%, #000 100%);
  opacity: 0; pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
  transform: translateZ(0);
}
#page-transition.active { opacity: 1; pointer-events: all; }

/* Body portal-exit: current page tilts back into the void */
body.portal-exit {
  transform: perspective(1400px) rotateY(-3deg) scale(0.96) translateZ(-40px);
  filter: blur(3px);
  opacity: 0.5;
  transition: transform 0.55s cubic-bezier(0.25,0.46,0.45,0.94),
              filter 0.45s ease, opacity 0.45s ease;
}
/* Body portal-enter: new page slides forward through the portal */
body.portal-enter {
  transform: perspective(1400px) translateZ(80px) scale(1.04);
  filter: blur(5px); opacity: 0; transition: none;
}
body.portal-enter-active {
  transform: perspective(1400px) translateZ(0) scale(1);
  filter: blur(0); opacity: 1;
  transition: transform 0.75s cubic-bezier(0.16,1,0.3,1),
              filter 0.55s ease, opacity 0.6s ease;
}

/* ── EMAIL CAPTURE ─────────────────────────────────────────────── */
.email-form { display: flex; gap: 0; max-width: 480px; }
.email-form input { flex: 1; border-right: none; }
.email-form .btn { flex-shrink: 0; padding: 0.85rem 1.75rem; font-size: 0.65rem; }

/* ── TESTIMONIALS ──────────────────────────────────────────────── */
.testimonial-card { background: var(--charcoal); border: var(--border-none); padding: 2rem; position: relative; }
.testimonial-card::before { content: '"'; font-family: var(--font-display); font-size: 4rem; color: rgba(139,0,0,0.2); position: absolute; top: 0.5rem; left: 1.5rem; line-height: 1; }
.stars { color: var(--gold-bright); letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.testimonial-card p { font-style: italic; font-weight: 300; color: var(--bone-dark); font-size: 0.95rem; line-height: 1.8; margin-bottom: 1.25rem; }
.testimonial-author { font-family: var(--font-heading); font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }

/* ── FAQ ───────────────────────────────────────────────────────── */
.faq-item { border: var(--border-none); background: var(--charcoal); margin-bottom: 0.75rem; overflow: hidden; }
.faq-item summary { padding: 1.5rem; cursor: none; font-family: var(--font-display); font-size: 0.95rem; color: var(--bone-light); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; transition: var(--transition); }
.faq-item summary:hover { color: var(--gold-hi); }
.faq-icon { color: var(--blood-light); font-family: var(--font-heading); font-size: 1.4rem; font-style: normal; flex-shrink: 0; transition: transform 0.3s; }
.faq-item[open] summary { color: var(--gold-hi); }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item[open] { border-color: rgba(184,134,11,0.3); }
.faq-body { padding: 0 1.5rem 1.5rem; font-style: italic; font-weight: 300; color: var(--bone-dark); line-height: 1.8; }

/* ── MILESTONE ─────────────────────────────────────────────────── */
.milestone-bar { background: rgba(232,220,200,0.06); height: 6px; position: relative; margin: 0.5rem 0 1rem; border: 1px solid rgba(232,220,200,0.08); }
.milestone-fill { height: 100%; background: linear-gradient(90deg, var(--blood-dark), var(--gold)); position: relative; transition: width 1.5s ease; }
.milestone-fill::after { content: ''; position: absolute; right: 0; top: -4px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold-bright); box-shadow: var(--glow-gold); }

/* ── COLLECTION LOGOS ──────────────────────────────────────────── */
.collection-logo { height: 70px; width: auto; margin: 0 auto 1.25rem; filter: brightness(1.1); display: block; }

/* ── STARSEED COSMIC ───────────────────────────────────────────── */
.starseed-hero { background: radial-gradient(ellipse 100% 80% at 50% 0%, #0a0520 0%, #000 60%); }

/* ── CONTACT PAGE ──────────────────────────────────────────────── */
.contact-hero { min-height: 55vh; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: start;
}

/* Form wrap */
.contact-form-wrap {
  position: relative;
  background: var(--charcoal);
  border: var(--border-none);
  padding: 3.5rem;
}

.offering-form { margin-top: 2rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23B8860B' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-select option {
  background: var(--parchment);
  color: var(--bone-light);
}

.form-check-group { padding: 0.25rem 0; }

.form-check-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.85rem;
  font-style: italic;
  font-weight: 300;
  color: var(--bone-dark);
  line-height: 1.5;
}

.form-check {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 1px solid rgba(184,134,11,0.4);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  margin-top: 0.1rem;
}

.form-check:checked {
  background: var(--blood-dark);
  border-color: var(--gold);
}

.form-check:checked::after {
  content: '✦';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.65rem;
  color: var(--gold-hi);
}

.btn-full { width: 100%; margin-top: 0.5rem; }

.form-success {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  background: rgba(184,134,11,0.08);
  border: 1px solid rgba(184,134,11,0.3);
  color: var(--gold-hi);
  font-style: italic;
  font-weight: 300;
  font-size: 0.9rem;
  line-height: 1.6;
}

.success-icon {
  font-size: 1.1rem;
  color: var(--gold);
  flex-shrink: 0;
  animation: splashFloat 3s ease-in-out infinite;
}

.form-error {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  background: rgba(139,0,0,0.12);
  border: 1px solid rgba(139,0,0,0.4);
  color: var(--blood-light);
  font-style: italic;
  font-weight: 300;
  font-size: 0.9rem;
}

/* Info sidebar */
.contact-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 90px;
}

.info-card {
  background: var(--charcoal);
  border: var(--border-none);
  padding: 2rem;
  position: relative;
}

.info-card-cta {
  border-color: rgba(184,134,11,0.4);
  background: linear-gradient(135deg, var(--charcoal) 0%, rgba(184,134,11,0.04) 100%);
}

.info-card-icon {
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
  filter: drop-shadow(0 0 6px rgba(184,134,11,0.5));
}

.info-card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--bone-light);
  margin-bottom: 0.5rem;
}

.info-card-sub {
  font-style: italic;
  font-weight: 300;
  color: var(--bone-dark);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.info-email {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--gold-hi);
  text-transform: lowercase;
  word-break: break-all;
  transition: var(--transition);
  margin-bottom: 0.75rem;
}

.info-email:hover { color: var(--gold-bright); text-shadow: var(--glow-gold); }

.info-response {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-style: italic;
  font-weight: 300;
  color: var(--bone-dark);
  font-size: 0.8rem;
}

.response-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  animation: pulseDot 2s ease-in-out infinite;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(232,220,200,0.06);
  font-size: 0.84rem;
}

.info-list li:last-child { border-bottom: none; padding-bottom: 0; }

.info-list-label { font-style: italic; color: var(--bone-dark); }

.info-list-value {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--gold-hi);
  text-transform: uppercase;
  white-space: nowrap;
}

.info-socials {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.social-pill {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(184,134,11,0.2);
  background: rgba(184,134,11,0.04);
  color: var(--bone-dark);
  font-size: 0.85rem;
  font-style: italic;
  font-weight: 300;
  transition: var(--transition);
  text-decoration: none;
}

.social-pill:hover {
  border-color: var(--gold);
  color: var(--gold-hi);
  background: rgba(184,134,11,0.08);
  transform: translateX(4px);
}

.social-pill svg { flex-shrink: 0; color: var(--gold-dim); }

/* Lore divider */
.lore-divider { border-top: var(--border-none); border-bottom: var(--border-none); }

/* ── SITE FOOTER (contact page uses .site-footer) ──────────────── */
.site-footer {
  background: var(--charcoal);
  border-top: var(--border-blood);
  padding: 6rem 0 3rem;
  position: relative;
  z-index: 2;
}

.footer-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
  box-shadow: 0 0 60px 20px rgba(184,134,11,0.08);
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.site-footer .footer-brand {}

.site-footer .footer-logo {
  width: 90px;
  margin: 0 0 1rem;
  filter: drop-shadow(0 0 20px rgba(212,175,55,0.5)) drop-shadow(0 0 40px rgba(184,134,11,0.2));
  animation: splashFloat 5s ease-in-out infinite;
}

.site-footer .footer-tagline {
  font-style: italic;
  font-weight: 300;
  color: var(--bone-dark);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0.5rem 0 1rem;
}

.site-footer .footer-copy {
  font-family: var(--font-heading);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  color: var(--bone-dark);
  opacity: 0.55;
  text-transform: uppercase;
}

.site-footer .footer-heading {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: var(--border-blood);
}

.site-footer .footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer .footer-nav a {
  font-style: italic;
  font-weight: 300;
  color: var(--bone-dark);
  font-size: 0.88rem;
  transition: var(--transition);
}

.site-footer .footer-nav a:hover { color: var(--gold-hi); padding-left: 4px; }

.site-footer .social-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer .social-links a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--bone-dark);
  font-style: italic;
  font-weight: 300;
  font-size: 0.88rem;
  transition: var(--transition);
}

.site-footer .social-links a:hover { color: var(--gold-hi); }
.site-footer .social-links svg { color: var(--gold-dim); }

.footer-email {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--gold-hi);
  word-break: break-all;
  transition: var(--transition);
  margin-bottom: 0.6rem;
  text-decoration: none;
}

.footer-email:hover { color: var(--gold-bright); text-shadow: var(--glow-gold); }

.footer-response {
  font-style: italic;
  font-weight: 300;
  color: var(--bone-dark);
  font-size: 0.78rem;
  opacity: 0.75;
  margin-bottom: 1.5rem;
}

.footer-seals {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  color: var(--gold-dim);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  opacity: 0.5;
}

.site-footer .footer-bottom {
  border-top: 1px solid rgba(232,220,200,0.06);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer .footer-bottom p {
  font-family: var(--font-heading);
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  color: var(--bone-dark);
  opacity: 0.5;
  text-transform: uppercase;
}

.footer-runes {
  color: var(--gold-dim);
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  opacity: 0.45;
}

/* Contact responsive */
@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info-wrap { position: static; }
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 640px) {
  .contact-form-wrap { padding: 2rem 1.25rem; }
  .form-row { grid-template-columns: 1fr; }
  .site-footer .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .site-footer .footer-bottom { flex-direction: column; text-align: center; }
}

/* FAQ answer selector for contact FAQ */
.faq-answer { padding: 0 1.5rem 1.5rem; font-style: italic; font-weight: 300; color: var(--bone-dark); line-height: 1.8; }
.faq-answer a { color: var(--gold-hi); transition: var(--transition); }
.faq-answer a:hover { color: var(--gold-bright); }
.cosmic-glow { filter: drop-shadow(0 0 30px rgba(100,80,200,0.5)) drop-shadow(0 0 60px rgba(60,40,150,0.3)); }

/* ── RESPONSIVE ────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .feature-block { grid-template-columns: 1fr; gap: 3rem; }
  .feature-block.reverse .feature-img { order: 0; }
  .feature-block.reverse .feature-content { order: 0; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .section { padding: 4rem 0; }
  .section-lg { padding: 6rem 0; }
  .hero-actions { flex-direction: column; align-items: center; }
  .feature-img .mini-img-wrap { height: 300px; }
  body { cursor: auto; }
  #cursor, #cursor-follower, #ember-trail-canvas { display: none; }
  .btn { cursor: pointer; }
  .faq-item summary { cursor: pointer; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .email-form { flex-direction: column; }
  .countdown-wrap { gap: 0.5rem; }
  .countdown-unit { min-width: 60px; padding: 1rem 0.5rem; }
  .countdown-num { font-size: 1.8rem; }
  .scroll-notice { padding: 2rem 1.5rem; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: var(--border-blood); }
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════
   PREMIUM ENHANCEMENTS — CINEMATIC UPGRADE
   ══════════════════════════════════════════════════════════════ */

/* ── SPLASH LOGO — CCMLETTERS WORDMARK ─────────────────────────── */
#splash-logo {
  width: clamp(220px,38vw,460px) !important;
  height: auto !important;
  filter: drop-shadow(0 0 30px rgba(212,175,55,0.7)) drop-shadow(0 0 70px rgba(184,134,11,0.35)) !important;
}

/* ── HERO LOGO IMAGE (replaces text h1) ─────────────────────────── */
.hero-logo-img {
  width: clamp(260px,42vw,580px);
  height: auto;
  display: block;
  margin: 0 auto 1.75rem;
  filter: drop-shadow(0 0 35px rgba(212,175,55,0.55)) drop-shadow(0 0 70px rgba(184,134,11,0.3));
  animation: fadeUp 0.8s 0.5s ease forwards;
  opacity: 0;
}

/* ── ENHANCED 3D CARD HOVER — GOLD + EMBER EDGE GLOW ───────────── */
.card, .tier-card, .release-card, .testimonial-card {
  will-change: transform;
}
.card:hover, .tier-card:hover, .release-card:hover {
  box-shadow: 0 12px 50px rgba(0,0,0,0.7),
              0 0 30px rgba(212,175,55,0.18),
              0 0 60px rgba(184,134,11,0.1),
              0 0 1px rgba(212,175,55,0.6) inset !important;
  border-color: rgba(212,175,55,0.45) !important;
}
/* Micro press-in on click */
.card:active, .tier-card:active, .release-card:active {
  transform: scale(0.985) translateZ(-6px) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.8), 0 0 15px rgba(212,175,55,0.2) !important;
  transition: transform 0.1s ease, box-shadow 0.1s ease !important;
}

/* ── SECTION TITLES — CINEMATIC EMBER REVEAL MARKER ────────────── */
.section-header .heading-lg,
.section-header .heading-md {
  position: relative;
}
.section-header.revealed .heading-lg::after,
.section-header.revealed .heading-md::after {
  content: '';
  position: absolute;
  bottom: -0.5rem; left: 50%; transform: translateX(-50%);
  width: 40px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
  opacity: 0;
  animation: emberLineReveal 0.8s 0.3s ease forwards;
}
@keyframes emberLineReveal {
  from { opacity: 0; width: 0; }
  to   { opacity: 0.7; width: 60px; }
}

/* ── SCROLL REVEAL — CINEMATIC COMBINED MOTION ──────────────────── */
.reveal { transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.reveal-left { transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.reveal-right { transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }

/* ── CARD PARALLAX TILT — EDGE REFLECTION ───────────────────────── */
[data-tilt] {
  transform-style: preserve-3d;
}
[data-tilt]::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(212,175,55,0.08) 0%,
    transparent 35%,
    transparent 65%,
    rgba(139,0,0,0.06) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}
[data-tilt]:hover::after { opacity: 1; }

/* ── BACKGROUND EMBER CANVAS UPGRADE ────────────────────────────── */
#bg-canvas { opacity: 0.85; }

/* ── SPLASH ENTER BUTTON — 3D BEVEL + GOLD GLOW ────────────────── */
.splash-enter-btn {
  position: relative;
  font-family: var(--font-display) !important;
  font-size: clamp(0.75rem, 1.4vw, 0.95rem) !important;
  letter-spacing: 0.35em !important;
  padding: 1.1rem 3.2rem !important;
  background: linear-gradient(180deg, #2a1800 0%, #1a0e00 50%, #0f0800 100%) !important;
  border: 1px solid rgba(212,175,55,0.55) !important;
  color: var(--gold-hi) !important;
  box-shadow:
    0 6px 0 rgba(0,0,0,0.7),
    0 8px 20px rgba(0,0,0,0.8),
    0 0 25px rgba(212,175,55,0.25),
    0 0 50px rgba(184,134,11,0.12),
    inset 0 1px 0 rgba(212,175,55,0.3),
    inset 0 -2px 0 rgba(0,0,0,0.5) !important;
  transform: translateY(0) !important;
  transition: box-shadow 0.25s ease, transform 0.15s ease, background 0.25s ease !important;
  overflow: hidden;
}
.splash-enter-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    transparent 0%, rgba(212,175,55,0.15) 40%,
    rgba(212,175,55,0.3) 50%, rgba(212,175,55,0.15) 60%,
    transparent 100%);
  background-size: 300% 100%;
  background-position: -100% 0;
  transition: background-position 0s;
  pointer-events: none;
}
.splash-enter-btn:hover {
  background: linear-gradient(180deg, #3a2200 0%, #271500 50%, #180d00 100%) !important;
  box-shadow:
    0 6px 0 rgba(0,0,0,0.7),
    0 10px 30px rgba(0,0,0,0.8),
    0 0 40px rgba(212,175,55,0.5),
    0 0 80px rgba(184,134,11,0.25),
    inset 0 1px 0 rgba(212,175,55,0.5),
    inset 0 -2px 0 rgba(0,0,0,0.5) !important;
}
.splash-enter-btn:hover::before {
  background-position: 200% 0;
  transition: background-position 0.7s ease;
}
.splash-enter-btn:active {
  transform: translateY(4px) !important;
  box-shadow:
    0 2px 0 rgba(0,0,0,0.7),
    0 4px 12px rgba(0,0,0,0.8),
    0 0 20px rgba(212,175,55,0.3),
    inset 0 1px 0 rgba(212,175,55,0.2),
    inset 0 2px 6px rgba(0,0,0,0.6) !important;
  transition: transform 0.08s ease, box-shadow 0.08s ease !important;
}

/* ── HERO TAGLINES ──────────────────────────────────────────────── */
.hero-tagline-main {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.05rem, 2.2vw, 1.55rem);
  color: var(--gold-hi);
  letter-spacing: 0.08em;
  margin: 0 auto 0.75rem;
  max-width: 700px;
  text-shadow: 0 0 30px rgba(212,175,55,0.4);
  animation: fadeUp 0.8s 0.8s ease forwards;
  opacity: 0;
}
.hero-tagline-sub {
  font-family: 'EB Garamond', serif;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-style: italic;
  color: var(--bone-dark);
  letter-spacing: 0.04em;
  margin: 0 auto 1.75rem;
  max-width: 560px;
  animation: fadeUp 0.8s 1.0s ease forwards;
  opacity: 0;
}

/* ── CONTACT PAGE — ENSURE NAV MATCHES SITE-WIDE ───────────────── */
/* Contact page splash was removed; nav uses standard .nav structure */

/* ── MOBILE PARITY ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-logo-img { width: clamp(200px,70vw,360px); }
  #splash-logo { width: clamp(180px,60vw,320px) !important; }
  .hero-tagline-main { font-size: clamp(0.9rem,4.5vw,1.2rem); }
  .hero-tagline-sub { font-size: clamp(0.9rem,3.5vw,1.1rem); }
  .splash-enter-btn { padding: 1rem 2.4rem !important; }
}

/* ── STARSEED RULEBOOK SECTION ──────────────────────────────────── */
.starseed-rulebook {
  width: 100%;
  padding: 60px 24px;
  display: flex;
  justify-content: center;
}
.rulebook-container {
  width: min(1100px, 100%);
  display: flex;
  flex-direction: row;
  gap: 48px;
  align-items: flex-start;
  background: rgba(10, 5, 2, 0.75);
  border: 1px solid rgba(201, 163, 74, 0.25);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
}
.rulebook-cover {
  flex-shrink: 0;
  width: min(280px, 100%);
}
.rulebook-cover img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
  transition:
    transform 300ms ease,
    box-shadow 300ms ease;
  filter: drop-shadow(
    0 0 18px rgba(201,163,74,0.15)
  );
}
.rulebook-cover img:hover {
  transform: translateY(-4px);
  box-shadow:
    0 20px 55px rgba(0,0,0,0.7),
    0 0 30px rgba(201,163,74,0.2);
}
.rulebook-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.rulebook-info h2 {
  font-family: 'Cinzel Decorative', serif;
  color: #D4AF37;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  letter-spacing: 3px;
  margin: 0;
}
.rulebook-info p {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-style: italic;
  color: #E8DCC8;
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0;
  opacity: 0.9;
}
.rulebook-info strong {
  color: #D4AF37;
  font-style: normal;
}
.rulebook-download-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 14px 32px;
  border-radius: 10px;
  border: 1px solid #c9a34a;
  color: #f5d27a;
  background: rgba(0,0,0,0.5);
  text-decoration: none;
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  letter-spacing: 2px;
  transition:
    all 200ms ease,
    transform 150ms ease;
  align-self: flex-start;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
.rulebook-download-btn:hover {
  background: #c9a34a;
  color: #000;
  transform: translateY(-2px);
  box-shadow:
    0 14px 40px rgba(0,0,0,0.5),
    0 0 20px rgba(201,163,74,0.3);
}
.rulebook-download-btn:active {
  transform: translateY(1px) scale(0.99);
}
@media (max-width: 768px) {
  .rulebook-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 20px;
  }
  .rulebook-cover {
    width: min(240px, 80%);
  }
  .rulebook-download-btn {
    align-self: center;
  }
}

/* ── STARSEED PORTRAIT SECTION ──────────────────────────────────── */
.starseed-portrait-section {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 70px 24px 30px;
}
.starseed-portrait-frame {
  width: min(980px, 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(255, 120, 0, 0.15);
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(6px);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.55);
}
.starseed-portrait-img {
  width: 100%;
  height: auto;
  max-height: 75vh;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 22px rgba(255, 140, 0, 0.25));
}

/* ── INTRO GATE ─────────────────────────────────────────────────── */
.intro-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(
    circle at center,
    rgba(15,10,6,0.85),
    rgba(0,0,0,0.98)
  );
  overflow: hidden;
}
.intro-gate-inner {
  width: min(1100px, 92%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  text-align: center;
  transform: translateZ(0);
}
.intro-logo {
  width: min(900px, 92vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 0 32px rgba(255,120,0,0.25));
  animation: introFade 900ms ease forwards;
}
@keyframes introFade {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.enter-realm-btn {
  position: relative;
  padding: 14px 38px;
  border-radius: 12px;
  border: 1px solid rgba(255,170,60,0.55);
  background: rgba(0,0,0,0.35);
  color: rgba(255,210,140,0.95);
  letter-spacing: 3px;
  font-weight: 600;
  cursor: pointer;
  transform: translateZ(0);
  box-shadow: 0 18px 55px rgba(0,0,0,0.55);
  transition:
    transform 150ms ease,
    box-shadow 150ms ease,
    background 150ms ease;
  overflow: hidden;
}
.enter-realm-btn:hover {
  transform: translateY(-1px);
  background: rgba(20,10,4,0.55);
  box-shadow: 0 22px 65px rgba(0,0,0,0.70);
}
.enter-realm-btn:active {
  transform: translateY(1px) scale(0.99);
}
.enter-realm-glow {
  position: absolute;
  inset: -40%;
  background: radial-gradient(
    circle,
    rgba(255,140,0,0.16),
    rgba(255,140,0,0),
    rgba(0,0,0,0)
  );
  filter: blur(10px);
  opacity: 0;
  transition: opacity 200ms ease;
  pointer-events: none;
}
.enter-realm-btn:hover .enter-realm-glow {
  opacity: 1;
}
