/* ═══════════════════════════════════════════
   ROMANTASY ADVENTURE — Shared Styles
   ═══════════════════════════════════════════ */

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

:root {
  /* Core palette — matches Tailwind stone/rose/violet from the app */
  --ink: #0c0a09;          /* stone-950 */
  --parchment: #fafaf9;    /* stone-50 */
  --night: #0c0a09;        /* stone-950 */
  --deep-violet: #1c1917;  /* stone-900 */
  --shadow-purple: #292524; /* stone-800 */
  --mist: #a8a29e;         /* stone-400 */
  --angel-white: #f5f5f4;  /* stone-100 */

  /* Accent — rose (primary) */
  --gold: #f43f5e;         /* rose-500 */
  --gold-light: #fb7185;   /* rose-400 */
  --gold-dark: #e11d48;    /* rose-600 */
  --ember: #881337;        /* rose-900 */
  --ember-glow: #f43f5e;   /* rose-500 */

  /* Creature/trope accent colors */
  --blood: #881337;        /* rose-900 */
  --blood-light: #e11d48;  /* rose-600 */
  --fae-green: #059669;    /* emerald-600 */
  --ice-blue: #8b5cf6;     /* violet-500 */
  --demon-orange: #ea580c; /* orange-600 */
  --dragon-amber: #d97706; /* amber-600 */

  --nav-link: #a8a29e;     /* stone-400 — light text on dark nav */

  /* Fonts — match the app */
  --font-display: 'Playfair Display', serif;
  --font-serif: 'Cormorant Garamond', serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
}

@media (prefers-color-scheme: light) {
  :root {
    --ink: #fafaf9;          /* stone-50 */
    --parchment: #1c1917;    /* stone-900 */
    --night: #fafaf9;        /* stone-50 */
    --deep-violet: #f5f5f4;  /* stone-100 */
    --shadow-purple: #e7e5e4;/* stone-200 */
    --mist: #44403c;         /* stone-700 — darker for readability */
    --angel-white: #292524;  /* stone-800 */
    --gold: #e11d48;         /* rose-600 */
    --gold-light: #f43f5e;   /* rose-500 */
    --gold-dark: #be123c;    /* rose-700 */
    --ember-glow: #e11d48;
    --ember: #9f1239;
    --blood: #9f1239;
    --blood-light: #e11d48;
    --fae-green: #047857;
    --ice-blue: #7c3aed;
    --demon-orange: #c2410c;
    --dragon-amber: #b45309;
    --nav-link: #d6d3d1;     /* stone-300 — light text on dark nav in light mode too */
  }

  /* Nuclear option: force ALL text that uses hardcoded rgba(184,169,201,...) to be readable */
  body { color: #1c1917; }

  /* Nav stays dark-themed even in light mode */
  .top-nav {
    background: rgba(12,10,9,0.82);
    border-bottom-color: rgba(255,255,255,0.06);
  }
  .nav-brand { color: var(--gold-light); }
  .btn-primary { color: #ffffff; }
  .nav-cta { color: #ffffff !important; }

  /* Cards and interactive elements */
  .card, .scene-card, .archetype-pill, .pairing-link {
    background: rgba(0,0,0,0.025);
    border-color: rgba(0,0,0,0.08);
  }
  .card:hover, .pairing-link:hover { border-color: rgba(0,0,0,0.18); }
  .scene-choice, .tag-chip {
    background: rgba(0,0,0,0.025);
    border-color: rgba(0,0,0,0.08);
  }
  .scene-choice:hover { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.15); }
  .tag-chip:hover { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.18); }

  /* Font weight — 300 is too thin on light bg */
  body { font-weight: 400; }

  /* Override ALL hardcoded rgba text colors from the dark theme */
  .lead, .section-text, .prose, .scene-text,
  .scene-choice, .faq-a p, .breadcrumb, .breadcrumb a,
  .pricing-list li, .archetype-pill p, .pairing-link p,
  .quote-attr, .a-desc, .footer-col a,
  .card p, .step-card p, .feature-item p { color: #44403c; }

  .prose strong, h1, h2, h3, .quote-block blockquote,
  .faq-q, .pairing-link h4, .archetype-pill h4 { color: #1c1917; }

  .breadcrumb .sep { color: rgba(0,0,0,0.25); }
  .choice-label { color: var(--gold); }

  /* Backgrounds */
  .bg-grad-1 { background: linear-gradient(180deg, var(--night), var(--deep-violet)); }
  .bg-grad-2 { background: linear-gradient(180deg, var(--deep-violet), var(--night)); }
  .bg-deep { background: var(--deep-violet); }

  footer { background: rgba(0,0,0,0.035); }
  .footer-copy { border-top-color: rgba(0,0,0,0.06); color: rgba(68,64,60,0.5); }

  .divider { background: linear-gradient(90deg, transparent, rgba(225,29,72,0.15), transparent); }
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--night);
  color: var(--parchment);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ═══ NAV ═══ */
.top-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 2rem; height: 56px;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(17,11,30,0.78);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(201,168,76,0.06);
  transition: background 0.3s;
}

.nav-brand {
  font-family: var(--font-display); font-size: 0.82rem;
  color: var(--gold); text-decoration: none; letter-spacing: 0.04em;
}

.nav-links { display: flex; gap: 1.5rem; align-items: center; }

.nav-links a {
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 400;
  color: var(--nav-link); text-decoration: none; letter-spacing: 0.03em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }

.nav-cta {
  color: #ffffff !important;
  background: linear-gradient(135deg, #f43f5e, #be185d);
  padding: 0.4rem 1.1rem; border-radius: 4px;
  font-weight: 600 !important; font-size: 0.76rem !important;
  transition: opacity 0.2s, transform 0.15s;
}
.nav-cta:hover { opacity: 0.92; transform: translateY(-1px); }

@media (max-width: 768px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .top-nav { padding: 0 1.2rem; }
}

/* ═══ BREADCRUMB ═══ */
.breadcrumb {
  position: absolute; top: 56px; left: 0; right: 0; z-index: 10;
  max-width: 900px; margin: 0 auto;
  padding: 0.75rem 2rem;
  font-family: var(--font-body); font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.5);
}
.breadcrumb a {
  color: rgba(255,255,255,0.5); text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: rgba(255,255,255,0.25); margin: 0 0.45rem; }
.breadcrumb .current { color: rgba(255,255,255,0.75); }

@media (prefers-color-scheme: light) {
  .breadcrumb { color: rgba(0,0,0,0.4); }
  .breadcrumb a { color: rgba(0,0,0,0.4); }
  .breadcrumb .sep { color: rgba(0,0,0,0.2); }
  .breadcrumb .current { color: rgba(0,0,0,0.6); }
}

/* ═══ BUTTONS ═══ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(135deg, #f43f5e, #be185d);
  padding: 0.95rem 2.4rem; border: none; border-radius: 6px;
  cursor: pointer; text-decoration: none;
  transition: transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 4px 28px rgba(244,63,94,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 40px rgba(244,63,94,0.45); }
.btn-primary svg { width: 17px; height: 17px; }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 500;
  color: var(--gold); background: transparent;
  border: 1px solid rgba(201,168,76,0.3);
  padding: 0.7rem 1.6rem; border-radius: 4px;
  cursor: pointer; text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.btn-secondary:hover { background: rgba(201,168,76,0.06); border-color: rgba(201,168,76,0.5); }

/* ═══ SECTIONS ═══ */
section { padding: 6rem 2rem; position: relative; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-narrow { max-width: 780px; margin: 0 auto; }

.section-label {
  font-family: var(--font-body); font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.9rem;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 900; line-height: 1.15;
  color: var(--parchment); margin-bottom: 1.5rem;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 700; line-height: 1.25;
  color: var(--parchment); margin-bottom: 1.1rem;
}

h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem; font-weight: 700;
  color: var(--parchment); margin-bottom: 0.45rem;
}

.accent {
  background: linear-gradient(135deg, var(--gold), var(--ice-blue), var(--gold-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.lead {
  font-family: var(--font-serif);
  font-size: clamp(1.08rem, 2.2vw, 1.35rem);
  font-style: italic; font-weight: 400; line-height: 1.65;
  color: var(--mist); max-width: 700px; margin-bottom: 2.5rem;
}

.section-text {
  font-family: var(--font-serif);
  font-size: 1.1rem; line-height: 1.7;
  color: var(--mist); max-width: 680px;
}

.prose {
  font-family: var(--font-serif);
  font-size: 1.08rem; line-height: 1.78;
  color: var(--mist);
}
.prose p { margin-bottom: 1.15rem; }
.prose strong { color: var(--parchment); font-weight: 600; }
.prose a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* ═══ SCENE CARDS ═══ */
.scene-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(201,168,76,0.08);
  border-radius: 10px; padding: 2rem;
  position: relative;
}

.scene-card::before {
  content: 'SAMPLE SCENE';
  position: absolute; top: -0.55rem; left: 1.5rem;
  font-family: var(--font-body); font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.2em;
  padding: 0 0.6rem;
}

.scene-text {
  font-family: var(--font-serif); font-size: 1.08rem;
  font-style: italic; line-height: 1.78;
  color: var(--parchment); margin-bottom: 1.4rem;
}

.scene-choices { display: flex; flex-direction: column; gap: 0.6rem; }

.scene-choice {
  font-family: var(--font-body); font-size: 0.84rem; font-weight: 300;
  color: var(--parchment);
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(201,168,76,0.1);
  padding: 0.8rem 1.2rem; border-radius: 5px;
  cursor: pointer; text-align: left;
  transition: background 0.2s, border-color 0.2s;
}
.scene-choice:hover { background: rgba(201,168,76,0.04); border-color: rgba(201,168,76,0.25); }
.choice-label { color: var(--gold); font-weight: 600; margin-right: 0.4rem; }

/* ═══ TAG CHIPS ═══ */
.tag-grid {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.2rem;
}

.tag-chip {
  font-family: var(--font-serif); font-size: 0.92rem;
  font-weight: 600; font-style: italic;
  color: var(--parchment);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,168,76,0.1);
  padding: 0.5rem 1rem; border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.tag-chip:hover { background: rgba(201,168,76,0.06); border-color: rgba(201,168,76,0.3); transform: translateY(-1px); }

.tag-chip-avatar {
  width: 22px; height: 22px; border-radius: 50%;
  object-fit: cover; vertical-align: middle;
  margin-right: 0.3rem; margin-top: -2px;
}

/* ═══ CARDS ═══ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem; margin-top: 2.5rem;
}

.card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(201,168,76,0.08);
  border-radius: 8px; padding: 1.6rem;
  text-decoration: none; color: inherit;
  transition: border-color 0.3s, transform 0.25s;
}
.card:hover { border-color: rgba(201,168,76,0.25); transform: translateY(-4px); }

.card h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.card p {
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 300;
  color: var(--mist); line-height: 1.6;
}

.card-icon {
  font-size: 1.5rem; margin-bottom: 0.8rem;
}

.card-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  object-fit: cover; margin-bottom: 0.8rem;
  border: 2px solid rgba(244,63,94,0.15);
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

/* Card with background image */
.card-has-bg {
  position: relative; overflow: hidden;
  padding-top: 6rem;
}
.card-has-bg .card-bg {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.2;
  transition: opacity 0.4s, transform 0.6s;
}
.card-has-bg:hover .card-bg {
  opacity: 0.3;
  transform: scale(1.05);
}
.card-has-bg h3,
.card-has-bg p { position: relative; z-index: 1; }

@media (prefers-color-scheme: light) {
  .card-has-bg .card-bg { opacity: 0.12; }
  .card-has-bg:hover .card-bg { opacity: 0.2; }
}

/* ═══ CUSTOM / WIDE CARD ═══ */
.card-custom {
  grid-column: 1 / -1;
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(244,63,94,0.06), rgba(139,92,246,0.06));
  border: 1px solid rgba(244,63,94,0.12);
  border-radius: 12px; padding: 2.5rem 2.5rem;
  text-decoration: none; color: inherit;
  display: flex; align-items: center; gap: 2.5rem;
  transition: border-color 0.3s, transform 0.25s, box-shadow 0.3s;
}
.card-custom:hover {
  border-color: rgba(244,63,94,0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(244,63,94,0.1);
}

.card-custom-bg {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.12;
  transition: opacity 0.5s;
}
.card-custom:hover .card-custom-bg { opacity: 0.2; }

.card-custom::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse 60% 80% at 90% 50%, rgba(139,92,246,0.08) 0%, transparent 60%),
              radial-gradient(ellipse 50% 70% at 10% 50%, rgba(244,63,94,0.06) 0%, transparent 50%);
  pointer-events: none;
}

@media (prefers-color-scheme: light) {
  .card-custom-bg { opacity: 0.08; }
  .card-custom:hover .card-custom-bg { opacity: 0.14; }
}

.card-custom-icon {
  flex-shrink: 0; width: 5rem; height: 5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(244,63,94,0.12), rgba(139,92,246,0.12));
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 24px rgba(244,63,94,0.1);
  position: relative; z-index: 1;
}

.card-custom-content { position: relative; z-index: 1; flex: 1; }

.card-custom-content h3 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold), var(--ice-blue));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 0.5rem;
}

.card-custom-content p {
  font-family: var(--font-serif);
  font-size: 1.05rem; font-style: italic;
  line-height: 1.6;
  color: var(--mist);
  max-width: 540px;
}

.card-custom-cta {
  flex-shrink: 0; position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(135deg, #f43f5e, #be185d);
  padding: 0.7rem 1.4rem; border-radius: 6px;
  box-shadow: 0 4px 16px rgba(244,63,94,0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card-custom:hover .card-custom-cta {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(244,63,94,0.35);
}

/* Sparkle animation for the icon */
.card-custom-icon::after {
  content: ''; position: absolute;
  width: 120%; height: 120%;
  border-radius: 50%;
  border: 1px solid rgba(244,63,94,0.08);
  animation: customPulse 3s ease-in-out infinite;
}
@keyframes customPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.15); opacity: 0; }
}

@media (max-width: 768px) {
  .card-custom { flex-direction: column; text-align: center; gap: 1.5rem; padding: 2rem 1.5rem; }
  .card-custom-content p { max-width: none; }
}

/* ═══ 2x2 CARD GRID ═══ */
.card-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem; margin-top: 2.5rem;
}
@media (max-width: 640px) {
  .card-grid-2x2 { grid-template-columns: 1fr; }
}

/* ═══ TWO COLUMN ═══ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: start;
}

@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
}

/* ═══ ARCHETYPE PILLS ═══ */
.archetype-list { display: flex; flex-direction: column; gap: 0.8rem; }

.archetype-pill {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(201,168,76,0.07);
  border-radius: 6px; padding: 1rem 1.2rem;
  transition: border-color 0.2s;
}
.archetype-pill:hover { border-color: rgba(201,168,76,0.2); }

.archetype-pill h4 {
  font-family: var(--font-serif); font-size: 1rem; font-weight: 700;
  color: var(--parchment); margin-bottom: 0.2rem;
}
.archetype-pill p {
  font-family: var(--font-body); font-size: 0.8rem; font-weight: 300;
  color: var(--mist); line-height: 1.5;
}

/* ═══ PAIRING LINKS ═══ */
.pairing-row {
  display: flex; flex-direction: column; gap: 1rem;
  margin-top: 2rem;
}

.pairing-link {
  display: flex; gap: 1rem; align-items: flex-start;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(201,168,76,0.07);
  border-radius: 8px; padding: 1.2rem 1.4rem;
  text-decoration: none; color: inherit;
  transition: border-color 0.2s, transform 0.15s;
}
.pairing-link:hover { border-color: rgba(201,168,76,0.22); transform: translateY(-2px); }

.pairing-icon {
  flex-shrink: 0; width: 38px; height: 38px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}

.pairing-link h4 {
  font-family: var(--font-serif); font-size: 1.05rem; font-weight: 700;
  color: var(--parchment); margin-bottom: 0.2rem;
}
.pairing-link p {
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 300;
  color: var(--mist); line-height: 1.5;
}

/* ═══ BACKGROUNDS ═══ */
.bg-night { background: var(--night); }
.bg-deep { background: var(--deep-violet); }
.bg-grad-1 { background: linear-gradient(180deg, var(--night), var(--deep-violet)); }
.bg-grad-2 { background: linear-gradient(180deg, var(--deep-violet), var(--night)); }

/* ═══ HERO PAGES ═══ */
.page-hero {
  padding: 5.5rem 2rem 5rem;
  position: relative; overflow: hidden;
}

.page-hero::before {
  content: ''; position: absolute; inset: 0;
}

.page-hero-inner {
  position: relative; z-index: 1;
  max-width: 900px; margin: 0 auto;
}

.hero-with-sigil {
  display: flex; align-items: flex-start; gap: 2rem;
}
.hero-sigil {
  /* Match the height of the 3-line h1: font-size * line-height * 3 lines + margin */
  width: clamp(5rem, 12vw, 10rem);
  height: clamp(5rem, 12vw, 10rem);
  border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  border: 3px solid rgba(244,63,94,0.2);
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
  animation: fadeIn 0.8s ease-out;
  margin-top: 0.3rem;
}
@media (max-width: 640px) {
  .hero-with-sigil { flex-direction: column; gap: 1rem; }
  .hero-sigil { width: 4.5rem; height: 4.5rem; margin-top: 0; }
}

.page-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.3;
}
@media (prefers-color-scheme: light) {
  .page-hero-bg { opacity: 0.18; }
  .page-hero::before { mix-blend-mode: multiply; }
}

.page-hero h1 { animation: fadeIn 0.8s ease-out; }
.page-hero .lead { animation: fadeIn 0.8s ease-out 0.15s both; }
.page-hero .btn-primary { animation: fadeIn 0.8s ease-out 0.3s both; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══ SEO CONTENT ═══ */
.seo-content h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  margin-top: 2.5rem; margin-bottom: 0.9rem;
}
.seo-content h2:first-child { margin-top: 0; }

/* ═══ CTA SECTION ═══ */
.cta-section {
  text-align: center; padding: 7rem 2rem;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(168,50,50,0.07) 0%, transparent 70%);
}
.cta-section .section-inner { position: relative; z-index: 1; }
.cta-section .section-text { margin: 0 auto 2.5rem; text-align: center; }

/* ═══ FOOTER ═══ */
footer { background: rgba(0,0,0,0.35); padding: 3rem 2rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-brand {
  font-family: var(--font-display); font-size: 0.95rem;
  color: var(--gold); margin-bottom: 1.2rem; text-align: center;
}

.footer-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem; text-align: left; margin-bottom: 2rem;
}
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; text-align: center; } }

.footer-col h4 {
  font-family: var(--font-body); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.8rem;
}
.footer-col a {
  display: block; font-family: var(--font-body); font-size: 0.82rem;
  font-weight: 300; color: var(--mist); text-decoration: none;
  padding: 0.2rem 0; transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }

.footer-copy {
  font-family: var(--font-body); font-size: 0.72rem;
  color: var(--mist); opacity: 0.5; text-align: center;
  padding-top: 1.5rem; border-top: 1px solid rgba(201,168,76,0.05);
}

/* ═══ ANIMATION ═══ */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(.22,.61,.36,1), transform 0.7s cubic-bezier(.22,.61,.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ═══ DIVIDER ═══ */
.divider {
  height: 1px; max-width: 200px; margin: 0 auto;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.25), transparent);
}
</style>
