/* ════════════════════════════════════════════════
   DESIGN TOKENS — Alchemist Palette
   Thistle · Old Burgundy · Light Blue · UCLA Blue · Jacarta
   ════════════════════════════════════════════════ */
:root {
  /* Core Palette */
  --thistle:        #D8C0CB;
  --thistle-light:  #EDD8E4;
  --thistle-pale:   #F5EDF2;

  --burgundy:       #48293D;
  --burgundy-dark:  #2E1826;
  --burgundy-deep:  #1A0E16;

  --blue-light:     #AADBE3;
  --blue-light-lt:  #D0EEF3;
  --blue-light-mid: #7EC8D5;

  --blue-ucla:      #506F8A;
  --blue-ucla-dark: #3A5168;
  --blue-ucla-lt:   #7496AE;

  --jacarta:        #45304D;
  --jacarta-dark:   #2D1F33;
  --jacarta-deep:   #1C1222;

  /* Mystical accents */
  --gold:           #C9A84C;
  --gold-light:     #E8D08A;
  --gold-pale:      #F5E9C0;
  --silver:         #B8CDD8;
  --silver-light:   #D8ECF4;

  /* Background system */
  --bg-void:        #100B14;
  --bg-deep:        #160F1C;
  --bg-mid:         #1E1428;

  /* Text */
  --ink:            #EDE0F0;
  --ink-soft:       #C4AECF;
  --ink-light:      #907AA0;
  --ink-muted:      #6A5478;

  /* Fonts */
  --font-display:   'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-body:      'Be Vietnam Pro', sans-serif;
  --font-serif:     'Lora', 'EB Garamond', Georgia, serif;
  --font-condensed: 'Barlow Condensed', sans-serif;

  --radius-sm:   6px;
  --radius-md:   14px;
  --radius-lg:   28px;
  --radius-xl:   40px;

  --shadow-card:  0 4px 24px rgba(16, 11, 20, 0.5);
  --shadow-soft:  0 8px 40px rgba(16, 11, 20, 0.6);
  --shadow-glow:  0 0 30px rgba(170, 219, 227, 0.15);
  --shadow-gold:  0 0 20px rgba(201, 168, 76, 0.3);
}

/* ════════════════════════════════════════════════
   RESET & BASE
   ════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background-color: var(--bg-void);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--jacarta); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue-ucla); }


/* ════════════════════════════════════════════════
   COSMIC CANVAS — Fixed background layer
   ════════════════════════════════════════════════ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 60% 50% at 20% 15%, rgba(72, 41, 61, 0.45) 0%, transparent 65%),
    radial-gradient(ellipse 50% 60% at 80% 80%, rgba(69, 48, 77, 0.5) 0%, transparent 60%),
    radial-gradient(ellipse 40% 35% at 55% 45%, rgba(80, 111, 138, 0.2) 0%, transparent 55%),
    linear-gradient(170deg, #100B14 0%, #160F1C 40%, #1A0E16 70%, #0D0B12 100%);
  pointer-events: none;
}

/* Subtle noise texture overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.025'/%3E%3C/svg%3E");
  opacity: 0.35;
  pointer-events: none;
}


/* ════════════════════════════════════════════════
   TOP NAVBAR
   ════════════════════════════════════════════════ */
.top-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(22, 15, 28, 0.85);
  border-bottom: 1px solid rgba(170, 219, 227, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 4px 30px rgba(16, 11, 20, 0.6), inset 0 -1px 0 rgba(201, 168, 76, 0.08);
}

.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--thistle-light);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  transition: opacity 0.2s, transform 0.2s;
}
.nav-logo:hover { opacity: 0.9; transform: scale(1.02); }

.nav-logo__sparkle {
  color: var(--gold-light);
  font-size: 1rem;
  line-height: 1;
  display: inline-block;
  animation: alchemyPulse 3s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(201, 168, 76, 0.7));
}

.nav-logo__text {
  background: linear-gradient(135deg, var(--thistle-light) 0%, var(--blue-light) 50%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.22s ease;
  cursor: pointer;
  user-select: none;
}
.nav-link:hover {
  background: rgba(170, 219, 227, 0.08);
  color: var(--blue-light);
}

.dropdown-arrow {
  font-size: 0.7rem;
  opacity: 0.6;
  transition: transform 0.25s ease;
}
.nav-dropdown:hover .dropdown-arrow { transform: rotate(180deg); opacity: 1; }

.nav-link--violet {
  background: rgba(170, 219, 227, 0.08);
  border: 1px solid rgba(170, 219, 227, 0.2);
  padding: 8px 18px;
  border-radius: 30px;
  color: var(--blue-light);
  font-weight: 600;
}
.nav-link--violet:hover {
  background: rgba(170, 219, 227, 0.16);
  border-color: var(--blue-light);
  color: var(--blue-light-lt);
  box-shadow: 0 0 18px rgba(170, 219, 227, 0.25);
}
.violet-sparkle {
  color: var(--gold-light);
  font-size: 0.82rem;
  animation: alchemyPulse 2.2s ease-in-out infinite;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  width: 310px;
  background: rgba(26, 18, 38, 0.95);
  border: 1px solid rgba(170, 219, 227, 0.15);
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: 0 20px 60px rgba(10, 6, 16, 0.8), 0 0 40px rgba(80, 111, 138, 0.1);
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.97);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
  margin-top: 4px;
}
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.dropdown-item {
  display: flex;
  flex-direction: column;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.18s, transform 0.18s;
  color: var(--ink-soft);
}
.dropdown-item:hover:not(.disabled) {
  background: rgba(170, 219, 227, 0.07);
  transform: translateX(4px);
}
.dropdown-item.active {
  background: rgba(69, 48, 77, 0.6);
  border-left: 2px solid var(--blue-light);
}

.dropdown-item__badge {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 2px;
}
.dropdown-item__badge--hot { color: var(--gold-light); }
.dropdown-item__title {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--thistle-light);
  line-height: 1.35;
}
.dropdown-item__sub {
  font-size: 0.73rem;
  color: var(--ink-light);
  margin-top: 2px;
}
.dropdown-divider {
  height: 1px;
  background: rgba(170, 219, 227, 0.1);
  margin: 8px 0;
}
.dropdown-header {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding: 4px 12px 2px;
  display: block;
}

@keyframes alchemyPulse {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.8; filter: drop-shadow(0 0 4px rgba(201,168,76,0.5)); }
  50%       { transform: scale(1.3) rotate(20deg); opacity: 1; filter: drop-shadow(0 0 12px rgba(201,168,76,0.9)); }
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--thistle);
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

@media (max-width: 860px) {
  .nav-container { padding: 0 16px; }
  .mobile-menu-toggle { display: block; outline: none; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(22, 15, 28, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    gap: 12px;
    border-top: 1px solid rgba(170, 219, 227, 0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  }
  .nav-menu.nav-menu--open { display: flex; }
  .nav-link { padding: 10px 0; font-size: 1rem; width: 100%; }
  .nav-link--violet { padding: 12px 24px; justify-content: center; margin-top: 8px; }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    background: rgba(69, 48, 77, 0.4);
    border: 1px solid rgba(170, 219, 227, 0.1);
    padding: 12px;
    border-radius: var(--radius-sm);
    margin-top: 8px;
    width: 100%;
    display: none;
    flex-direction: column;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-dropdown:hover .dropdown-menu { display: flex; }
}


/* ════════════════════════════════════════════════
   HERO — Alchemist Cosmos
   ════════════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  height: calc(100vh - 64px);
  min-height: 580px;
  max-height: 960px;
  background: var(--bg-deep);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Hero Image with float effect */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 30% 40%, rgba(72, 41, 61, 0.55) 0%, transparent 60%),
    radial-gradient(ellipse 45% 40% at 80% 70%, rgba(80, 111, 138, 0.25) 0%, transparent 55%),
    radial-gradient(ellipse 55% 50% at 50% 100%, rgba(16, 11, 20, 0.95) 0%, transparent 60%),
    linear-gradient(180deg, rgba(13, 9, 16, 0.4) 0%, rgba(22, 15, 28, 0.3) 50%, #1A0E16 100%);
  z-index: 0;
  pointer-events: none;
}

/* Starfield canvas */
.hero-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

/* Individual star */
.star {
  position: absolute;
  border-radius: 50%;
  animation: starTwinkle var(--dur, 3s) ease-in-out infinite var(--del, 0s);
}
.star--white  { background: rgba(255, 255, 255, 0.9); }
.star--blue   { background: rgba(170, 219, 227, 0.8); }
.star--gold   { background: rgba(201, 168, 76, 0.9); }
.star--pink   { background: rgba(216, 192, 203, 0.7); }

@keyframes starTwinkle {
  0%, 100% { opacity: 0.1; transform: scale(0.8); }
  50%       { opacity: 1; transform: scale(1.3); }
}

/* Shooting star */
.shooting-star {
  position: absolute;
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(170, 219, 227, 0.9), transparent);
  animation: shootingStar var(--dur, 4s) ease-in-out infinite var(--del, 0s);
  transform: rotate(-35deg);
}
@keyframes shootingStar {
  0%   { opacity: 0; transform: rotate(-35deg) translateX(-100px); }
  15%  { opacity: 1; }
  50%  { opacity: 0.8; transform: rotate(-35deg) translateX(200px); }
  100% { opacity: 0; transform: rotate(-35deg) translateX(400px); }
}

/* Constellation lines (SVG overlay) */
.hero-constellation {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.12;
}

/* Floating mystical glyphs */
.hero-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 3;
}
.deco-char {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1;
  user-select: none;
  animation: decoFloat 16s ease-in-out infinite;
}
.deco-char:nth-child(1) { font-size: clamp(100px,18vw,200px); top:-5%; left:-3%; color: rgba(72,41,61,0.18); animation-duration:18s; }
.deco-char:nth-child(2) { font-size: clamp(60px,10vw,110px); top:55%; right:-2%; color: rgba(170,219,227,0.06); animation-duration:13s; animation-delay:-4s; }
.deco-char:nth-child(3) { font-size: clamp(80px,14vw,160px); bottom:-5%; left:22%; color: rgba(69,48,77,0.2); animation-duration:20s; animation-delay:-8s; }
.deco-char:nth-child(4) { font-size: clamp(40px,7vw,80px); top:40%; left:5%; color: rgba(201,168,76,0.08); animation-duration:11s; animation-delay:-2s; }
.deco-char:nth-child(5) { font-size: clamp(70px,12vw,140px); top:4%; right:15%; color: rgba(170,219,227,0.05); animation-duration:15s; animation-delay:-6s; }
.deco-char:nth-child(6) { font-size: clamp(35px,6vw,70px); top:18%; left:28%; color: rgba(216,192,203,0.05); animation-duration:17s; animation-delay:-10s; }
.deco-char:nth-child(7) { font-size: clamp(45px,8vw,90px); bottom:16%; right:25%; color: rgba(72,41,61,0.12); animation-duration:14s; animation-delay:-5s; }
.deco-char:nth-child(8) { font-size: clamp(20px,3vw,36px); top:28%; right:32%; color: rgba(201,168,76,0.4); animation: alchemyPulse 4s ease-in-out infinite; }

@keyframes decoFloat {
  0%,100% { transform: translateY(0) rotate(-3deg) scale(1); }
  33%      { transform: translateY(-20px) rotate(2deg) scale(1.04); }
  66%      { transform: translateY(12px) rotate(-1deg) scale(0.97); }
}

/* Glowing orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: orbPulse var(--dur, 8s) ease-in-out infinite var(--del, 0s);
  z-index: 2;
}
@keyframes orbPulse {
  0%,100% { opacity: 0.4; transform: scale(1) translate(0, 0); }
  33%      { opacity: 0.9; transform: scale(1.2) translate(30px, -30px); }
  66%      { opacity: 0.5; transform: scale(0.95) translate(-20px, 20px); }
}

/* Main hero layout: two columns */
.hero-layout {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
  width: 100%;
  max-width: 1200px;
  padding: 0 40px;
}

/* Main hero content */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: left;
}

/* Hero floating image */
.hero-image-wrap {
  position: relative;
  width: 360px;
  flex-shrink: 0;
  animation: heroImageFloat 7s ease-in-out infinite;
}

@keyframes heroImageFloat {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50%       { transform: translateY(-18px) rotate(1deg); }
}

.hero-image-glow {
  position: absolute;
  inset: -30px;
  border-radius: 24px;
  background: radial-gradient(ellipse 70% 70% at 50% 60%,
    rgba(170, 219, 227, 0.25) 0%,
    rgba(80, 111, 138, 0.15) 40%,
    transparent 70%);
  filter: blur(20px);
  z-index: 0;
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.08); }
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  position: relative;
  z-index: 1;
  object-fit: cover;
  box-shadow:
    0 0 0 1px rgba(170, 219, 227, 0.15),
    0 0 40px rgba(170, 219, 227, 0.2),
    0 30px 80px rgba(10, 6, 16, 0.8),
    inset 0 0 60px rgba(72, 41, 61, 0.3);
  mask-image: linear-gradient(to bottom,
    transparent 0%,
    black 8%,
    black 85%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(to bottom,
    transparent 0%,
    black 8%,
    black 85%,
    transparent 100%
  );
}

.hero-image-vignette {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    rgba(72, 41, 61, 0.2) 0%,
    transparent 40%,
    rgba(80, 111, 138, 0.1) 100%
  );
  z-index: 2;
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 0 24px;
    gap: 32px;
  }
  .hero-content { text-align: center; }
  .hero-image-wrap { width: 280px; margin: 0 auto; }
}
@media (max-width: 600px) {
  .hero-image-wrap { width: 220px; }
}

.hero__eyebrow {
  font-family: var(--font-condensed);
  font-size: clamp(0.7rem, 1.1vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(170, 219, 227, 0.8);
  margin-bottom: 24px;
  animation: heroFadeUp 1s ease 0.2s both;
}
.hero__eyebrow::before,
.hero__eyebrow::after { content: '·'; margin: 0 16px; opacity: 0.5; color: var(--gold-light); }

.hero__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: normal;
  margin-bottom: 30px;
  animation: heroFadeUp 1s ease 0.4s both;
}

.hero__title--serif {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(216, 192, 203, 0.9);
  letter-spacing: 0.12em;
  margin-bottom: 4px;
  text-shadow: 0 0 40px rgba(216, 192, 203, 0.4);
}

.hero__title--main {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(4rem, 11vw, 9.5rem);
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.02em;
  line-height: 1.05;
  background: linear-gradient(
    135deg,
    var(--thistle) 0%,
    var(--blue-light-lt) 25%,
    var(--thistle-light) 45%,
    var(--gold-light) 60%,
    var(--blue-light) 78%,
    var(--thistle) 100%
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding: 0.05em 0.15em 0.12em;
  filter: drop-shadow(0 8px 30px rgba(170, 219, 227, 0.4));
  animation: alchemyShimmer 8s ease-in-out infinite alternate;
}

@keyframes alchemyShimmer {
  0%   { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.hero__title--sub {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.9rem);
  font-weight: 400;
  font-style: normal;
  color: rgba(170, 219, 227, 0.85);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 14px;
  text-shadow: 0 0 25px rgba(170, 219, 227, 0.3);
}

.hero__desc {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: rgba(237, 216, 228, 0.8);
  font-style: italic;
  max-width: 680px;
  margin: 0 auto 32px;
  animation: heroFadeUp 1s ease 0.6s both;
  line-height: 1.9;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}
.hero__desc em { font-style: normal; color: var(--blue-light-lt); font-weight: 500; }

.hero__deco-line {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(170, 219, 227, 0.6), rgba(201, 168, 76, 0.6), transparent);
  margin: 0 auto 20px;
  animation: lineExpand 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.7s both;
}
@keyframes lineExpand {
  from { width: 0; opacity: 0; }
  to   { width: 80px; opacity: 1; }
}

.hero-tags-strip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 32px;
  background: rgba(69, 48, 77, 0.35);
  border: 1px solid rgba(170, 219, 227, 0.2);
  border-radius: 40px;
  backdrop-filter: blur(12px);
  font-family: var(--font-condensed);
  font-size: clamp(0.75rem, 1vw, 0.9rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(170, 219, 227, 0.9);
  animation: heroFadeUp 1s ease 0.85s both;
  transition: all 0.35s ease;
}
.hero-tags-strip:hover {
  transform: translateY(-4px) scale(1.03);
  background: rgba(69, 48, 77, 0.6);
  border-color: rgba(170, 219, 227, 0.4);
  box-shadow: 0 10px 50px rgba(16,11,20,0.6), 0 0 40px rgba(170,219,227,0.2);
}
.hero-tags-strip .dot {
  color: var(--gold-light);
  font-size: 0.6rem;
  opacity: 0.8;
  animation: alchemyPulse 3s infinite;
}

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

@media (max-width: 768px) {
  .hero-content { padding: 16px 20px; }
  .hero__eyebrow::before, .hero__eyebrow::after { display: none; }
}
@media (max-width: 480px) {
  .hero { min-height: 500px; }
  .hero__title--main { font-size: 3.2rem; }
}


/* ════════════════════════════════════════════════
   SECTION SWITCHER
   ════════════════════════════════════════════════ */
.section-switcher {
  position: sticky;
  top: 64px;
  z-index: 200;
  background: rgba(18, 12, 24, 0.92);
  border-bottom: 1px solid rgba(170, 219, 227, 0.1);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(10, 6, 16, 0.5);
}

.switcher-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: none;
}
.switcher-inner::-webkit-scrollbar { display: none; }

.switcher-tab {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 32px;
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
  text-align: left;
  white-space: nowrap;
  flex-shrink: 0;
}
.switcher-tab:hover { background: rgba(170, 219, 227, 0.05); }
.switcher-tab--active {
  border-bottom-color: var(--blue-light);
  background: rgba(80, 111, 138, 0.15);
}

.tab-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  font-style: italic;
  color: rgba(107, 80, 120, 0.6);
  line-height: 1;
  transition: color 0.3s, text-shadow 0.3s, transform 0.3s;
  flex-shrink: 0;
}
.switcher-tab--active .tab-num {
  color: var(--blue-light);
  text-shadow: 0 0 25px rgba(170, 219, 227, 0.6);
  transform: scale(1.05);
}
.switcher-tab:hover .tab-num { color: rgba(170, 219, 227, 0.8); }

.tab-text { display: flex; flex-direction: column; gap: 4px; }

.tab-label {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.3s;
}
.switcher-tab--active .tab-label { color: var(--thistle-light); font-weight: 700; }
.switcher-tab:hover .tab-label { color: var(--ink); }

.tab-sub {
  font-size: 0.85rem;
  color: var(--ink-muted);
  font-style: italic;
  font-family: var(--font-body);
}

.switcher-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(80, 111, 138, 0.5);
  font-size: 0.8rem;
  padding: 0 16px;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .switcher-tab { padding: 16px 20px; gap: 12px; }
  .tab-num { font-size: 1.8rem; }
  .tab-label { font-size: 1.05rem; }
  .tab-sub { display: none; }
}


/* ════════════════════════════════════════════════
   TAB SECTIONS
   ════════════════════════════════════════════════ */
.tab-section { display: none; }
.tab-section--active {
  display: block;
  animation: tabFadeIn 0.4s ease both;
}
@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(14px); }
}

#guideSection {
  background: 
    linear-gradient(160deg, rgba(16, 11, 20, 0.85), rgba(8, 4, 10, 0.95)),
    url('bg2.jpeg') center/cover no-repeat fixed;
}
/* ════════════════════════════════════════════════
   PAGE CONTENT WRAPPER
   ════════════════════════════════════════════════ */
.page-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px 80px;
}
@media (max-width: 600px) { .page-content { padding: 0 16px 60px; } }


/* ════════════════════════════════════════════════
   SECTION INTRO
   ════════════════════════════════════════════════ */
.section-intro { padding: 40px 0 0; max-width: 720px; }
.section-intro__text {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.85;
}
.section-intro__text strong { color: var(--blue-light); }


/* ════════════════════════════════════════════════
   SEARCH BAR
   ════════════════════════════════════════════════ */
.search-wrap {
  position: relative;
  max-width: 420px;
  margin-bottom: 4px;
  padding-top: 28px;
}
.search-input {
  width: 100%;
  padding: 12px 18px 12px 44px;
  background: rgba(69, 48, 77, 0.3);
  border: 1px solid rgba(170, 219, 227, 0.15);
  border-radius: 30px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  backdrop-filter: blur(8px);
}
.search-input:focus {
  border-color: rgba(170, 219, 227, 0.4);
  background: rgba(69, 48, 77, 0.5);
  box-shadow: 0 0 0 3px rgba(170, 219, 227, 0.08), 0 0 20px rgba(170, 219, 227, 0.1);
}
.search-input::placeholder { color: var(--ink-muted); }
.search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%) translateY(14px);
  color: var(--ink-muted);
  font-size: 0.95rem;
  pointer-events: none;
}
.search-empty {
  display: none;
  text-align: center;
  padding: 70px 20px;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--ink-muted);
  font-size: 1.05rem;
}


/* ════════════════════════════════════════════════
   GROUP FILTER BAR
   ════════════════════════════════════════════════ */
.group-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 24px 0 20px;
  border-bottom: 1px solid rgba(170, 219, 227, 0.08);
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .group-filter {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 12px;
  }
  .group-filter::-webkit-scrollbar {
    display: none;
  }
}

.grp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(69, 48, 77, 0.25);
  border: 1px solid rgba(170, 219, 227, 0.12);
  border-radius: 40px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink-light);
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
  backdrop-filter: blur(6px);
}
.grp-btn:hover {
  border-color: rgba(170, 219, 227, 0.3);
  color: var(--blue-light);
  background: rgba(80, 111, 138, 0.15);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(170, 219, 227, 0.1);
}
.grp-btn--active {
  background: rgba(80, 111, 138, 0.3);
  border-color: var(--blue-light-mid);
  color: var(--blue-light);
  box-shadow: 0 0 20px rgba(170, 219, 227, 0.15), inset 0 0 10px rgba(170, 219, 227, 0.05);
}
.grp-btn--active:hover {
  background: rgba(80, 111, 138, 0.4);
  transform: translateY(-1px);
}

.grp-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 11px;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
}
.grp-btn--active .grp-count { background: rgba(170, 219, 227, 0.2); }


/* ════════════════════════════════════════════════
   GROUP HEADER ROW
   ════════════════════════════════════════════════ */
.group-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin: 64px 0 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(170, 219, 227, 0.08);
  position: relative;
}
.group-header-row:first-child { margin-top: 0; }

/* Glow line underneath */
.group-header-row::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, var(--blue-light-mid), transparent);
}

.group-header-row__emoji { font-size: 2.2rem; line-height: 1; flex-shrink: 0; }
.group-header-row__name {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  font-style: italic;
  background: linear-gradient(135deg, var(--thistle-light), var(--blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex: 1;
  min-width: 280px;
}
.group-header-row__sub {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--ink-soft);
  text-align: left;
  margin-top: 8px;
  padding: 16px 24px;
  background: rgba(69, 48, 77, 0.25);
  border-left: 4px solid var(--blue-light-mid);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  line-height: 1.65;
  font-weight: 500;
  letter-spacing: 0.02em;
}


/* ════════════════════════════════════════════════
   SYMBOL CARD GRID
   ════════════════════════════════════════════════ */
.symbol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

@keyframes cardFadeIn {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.symbol-group-block { animation: cardFadeIn 0.4s ease both; }

.symbol-card {
  background: rgba(45, 24, 51, 0.45);
  border: 1px solid rgba(170, 219, 227, 0.08);
  border-radius: var(--radius-md);
  padding: 28px 24px 26px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
}

/* Shimmer line on top */
.symbol-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(170, 219, 227, 0.2), rgba(201, 168, 76, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

/* Inner glow on hover */
.symbol-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(170, 219, 227, 0.05) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.symbol-card--image {
  padding: 0;
  overflow: hidden;
  display: flex;
  aspect-ratio: 4/3;
  min-height: 200px;
}
.symbol-card--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.symbol-card:hover.symbol-card--image img {
  transform: scale(1.05);
}

.symbol-card:hover {
  transform: translateY(-7px) scale(1.01);
  box-shadow: 0 16px 50px rgba(10, 6, 16, 0.7), 0 0 30px rgba(170, 219, 227, 0.1);
  border-color: rgba(170, 219, 227, 0.2);
  background: rgba(58, 32, 65, 0.6);
}
.symbol-card:hover::before { opacity: 1; }
.symbol-card:hover::after  { opacity: 1; }

/* Number watermark */
.symbol-card__num {
  position: absolute;
  top: 10px;
  right: 12px;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  font-style: italic;
  color: rgba(69, 48, 77, 0.5);
  line-height: 1;
  user-select: none;
  transition: color 0.3s;
}
.symbol-card:hover .symbol-card__num { color: rgba(80, 111, 138, 0.3); }

.symbol-card__icon {
  font-size: 2.8rem;
  line-height: 1;
  user-select: none;
  filter: drop-shadow(0 2px 8px rgba(16, 11, 20, 0.5));
  transition: transform 0.3s ease, filter 0.3s ease;
}
.symbol-card:hover .symbol-card__icon {
  transform: scale(1.12) translateY(-2px);
  filter: drop-shadow(0 4px 12px rgba(170, 219, 227, 0.3));
}

.symbol-card__name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--thistle-light);
  line-height: 1.25;
  padding-right: 26px;
}

.symbol-card__name-en {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink-muted);
  letter-spacing: 0.06em;
  margin-top: -2px;
  font-style: italic;
}

.symbol-card__divider {
  width: 36px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-ucla), transparent);
  border-radius: 2px;
  transition: width 0.35s ease, background 0.35s ease;
}
.symbol-card:hover .symbol-card__divider {
  width: 60px;
  background: linear-gradient(90deg, var(--blue-light), var(--gold));
}

.symbol-card__meaning {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--ink-light);
  line-height: 1.75;
}
.symbol-card__meaning strong {
  color: var(--blue-light-mid);
  font-weight: 600;
}

@media (max-width: 900px)  { .symbol-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 500px)  { .symbol-grid { grid-template-columns: 1fr; gap: 16px; } }


/* ════════════════════════════════════════════════
   TAB 2 — Guide blocks
   ════════════════════════════════════════════════ */
.block {
  padding: 72px 0;
  border-bottom: 1px solid rgba(170, 219, 227, 0.07);
  position: relative;
}
.block:last-child { border-bottom: none; }

.section-number {
  position: absolute;
  top: 60px;
  right: 0;
  font-family: var(--font-display);
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 700;
  font-style: italic;
  color: rgba(69, 48, 77, 0.2);
  line-height: 1;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.section-header-wrap {
  position: relative;
  z-index: 1;
  margin-bottom: 40px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--thistle-light) 0%, var(--blue-light) 60%, var(--thistle) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.section-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(0.95rem, 1.8vw, 1.2rem);
  font-style: italic;
  color: var(--ink-muted);
}
.section-subtitle em { color: var(--blue-light-mid); }

.chapter-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 48px 0 0;
  font-family: var(--font-condensed);
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.chapter-divider__rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(170, 219, 227, 0.15), rgba(80, 111, 138, 0.08));
}


/* ════════════════════════════════════════════════
   STEP CARDS
   ════════════════════════════════════════════════ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
  margin-bottom: 36px;
}
@media (max-width: 860px) { .steps-grid { grid-template-columns: 1fr; } }

.step-card {
  background: rgba(45, 24, 51, 0.4);
  border: 1px solid rgba(170, 219, 227, 0.1);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}
.step-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.4), transparent);
}
.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(10, 6, 16, 0.6), 0 0 20px rgba(170, 219, 227, 0.08);
  border-color: rgba(170, 219, 227, 0.18);
}
.step-card__step {
  font-family: var(--font-condensed);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.step-card__num {
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  font-style: italic;
  color: rgba(69, 48, 77, 0.4);
  line-height: 1;
  user-select: none;
}
.step-card__title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  font-style: italic;
  color: var(--thistle-light);
  line-height: 1.2;
}
.step-card__text {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.8;
}
.step-card__text strong { color: var(--blue-light); font-weight: 600; }


/* ════════════════════════════════════════════════
   COMBO CARDS
   ════════════════════════════════════════════════ */
.combo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}
@media (max-width: 720px) { .combo-grid { grid-template-columns: 1fr; } }

.combo-card {
  background: rgba(45, 24, 51, 0.4);
  border: 1px solid rgba(170, 219, 227, 0.1);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s, box-shadow 0.25s;
  backdrop-filter: blur(8px);
  border-left: 3px solid var(--blue-ucla);
  position: relative;
  overflow: hidden;
}
.combo-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--blue-ucla), transparent);
}
.combo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 50px rgba(10, 6, 16, 0.7), 0 0 25px rgba(80, 111, 138, 0.1);
}
.combo-card__label {
  font-family: var(--font-condensed);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.combo-card__title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  font-style: italic;
  color: var(--thistle-light);
  margin-bottom: 14px;
  line-height: 1.3;
}
.combo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.combo-row__badge {
  font-family: var(--font-condensed);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}
.combo-row__badge--primary   { background: rgba(80, 111, 138, 0.35); color: var(--blue-light); border: 1px solid rgba(170, 219, 227, 0.2); }
.combo-row__badge--secondary { background: rgba(69, 48, 77, 0.5); color: var(--thistle); border: 1px solid rgba(216, 192, 203, 0.2); }
.combo-row__badge--tone      { background: rgba(72, 41, 61, 0.5); color: var(--gold-light); border: 1px solid rgba(201, 168, 76, 0.2); }
.combo-row__value {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--ink-soft);
  font-style: italic;
}
.combo-card__result {
  margin-top: 16px;
  padding: 16px 20px;
  background: rgba(16, 11, 20, 0.5);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(170, 219, 227, 0.07);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink-light);
  line-height: 1.8;
}
.combo-card__result strong { color: var(--blue-light-mid); }


/* ════════════════════════════════════════════════
   PRO TIP BLOCK
   ════════════════════════════════════════════════ */
.pro-tip {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 26px;
  background: linear-gradient(135deg, rgba(72, 41, 61, 0.25), rgba(69, 48, 77, 0.2));
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: var(--radius-md);
  margin-top: 28px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 30px rgba(201, 168, 76, 0.05);
}
.pro-tip::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.5), transparent);
}
.pro-tip__icon {
  font-size: 1.4rem;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
  animation: alchemyPulse 3.5s ease-in-out infinite;
}
.pro-tip__title {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--gold-light);
  margin-bottom: 6px;
  font-weight: 600;
}
.pro-tip__text {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.8;
}
.pro-tip__text strong { color: var(--thistle-light); }


/* ════════════════════════════════════════════════
   PULL QUOTE
   ════════════════════════════════════════════════ */
.pull-quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.5vw, 2.3rem);
  font-style: italic;
  font-weight: 400;
  color: var(--ink-soft);
  line-height: 1.55;
  padding: 32px 0;
  text-align: center;
  position: relative;
  z-index: 1;
}
.pull-quote strong {
  color: var(--thistle-light);
  background: linear-gradient(135deg, var(--thistle-light), var(--blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* ════════════════════════════════════════════════
   CTA PARALLAX + MIRROR GLASS CARD
   ════════════════════════════════════════════════ */

.cta-parallax {
  position: relative;
  overflow: hidden;
  padding: 100px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  margin: 48px -40px 0;
}
.cta-parallax__bg {
  position: absolute;
  inset: -20%;
  background: url('bg1.jpeg') center/cover no-repeat;
  will-change: transform;
  z-index: 0;
}
.cta-parallax__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(45, 24, 51, 0.65) 0%, transparent 80%),
    linear-gradient(180deg, rgba(13, 9, 16, 0.55) 0%, rgba(26, 14, 22, 0.75) 100%);
  z-index: 1;
}
.mirror-card {
  position: relative;
  z-index: 2;
  max-width: 720px;
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
  padding: 2px;
  background: linear-gradient(135deg,rgba(170,219,227,0.6) 0%,rgba(216,192,203,0.4) 25%,rgba(201,168,76,0.5) 50%,rgba(170,219,227,0.3) 75%,rgba(80,111,138,0.6) 100%);
  background-size: 300% 300%;
  animation: mirrorBorderShift 6s ease-in-out infinite alternate;
  box-shadow: 0 24px 80px rgba(10,6,16,0.7), 0 0 60px rgba(170,219,227,0.12);
}
@keyframes mirrorBorderShift {
  0%   { background-position: 0% 0%; }
  100% { background-position: 100% 100%; }
}
.mirror-card__shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg,transparent 30%,rgba(255,255,255,0.13) 47%,rgba(255,255,255,0.07) 50%,transparent 65%);
  background-size: 200% 100%;
  animation: shimmerSweep 3.5s ease-in-out infinite;
  z-index: 4;
  pointer-events: none;
  border-radius: 28px;
}
@keyframes shimmerSweep {
  0%   { background-position: 200% 0; }
  100% { background-position: -100% 0; }
}
.mirror-card__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(50px);
  z-index: 1;
}
.mirror-card__orb--a {
  width: 280px; height: 280px;
  top: -80px; left: -60px;
  background: radial-gradient(circle,rgba(170,219,227,0.3),transparent 70%);
  animation: orbDrift 9s ease-in-out infinite alternate;
}
.mirror-card__orb--b {
  width: 240px; height: 240px;
  bottom: -60px; right: -40px;
  background: radial-gradient(circle,rgba(216,192,203,0.25),transparent 70%);
  animation: orbDrift 11s ease-in-out infinite alternate-reverse;
}
@keyframes orbDrift {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(30px,20px) scale(1.15); }
}
.mirror-card__inner {
  position: relative;
  z-index: 3;
  background: linear-gradient(135deg,rgba(255,255,255,0.08) 0%,rgba(255,255,255,0.02) 40%,rgba(170,219,227,0.04) 100%);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-radius: 26px;
  padding: 64px 56px;
  text-align: center;
}
.mirror-card__icon {
  font-size: 2rem;
  color: var(--gold-light);
  margin-bottom: 20px;
  animation: alchemyPulse 4s ease-in-out infinite;
  text-shadow: 0 0 30px rgba(201,168,76,0.6);
}
.mirror-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.25;
  margin-bottom: 24px;
  background: linear-gradient(135deg,#fff 0%,var(--thistle-light) 40%,var(--blue-light) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mirror-card__desc {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.9;
  color: rgba(237,216,228,0.85);
  font-style: italic;
  max-width: 600px;
  margin: 0 auto;
}
.mirror-card__desc strong {
  font-style: normal;
  color: var(--blue-light);
  font-weight: 600;
}
@media (max-width: 640px) {
  .cta-parallax { padding: 60px 20px; margin: 32px -24px 0; }
  .mirror-card__inner { padding: 40px 28px; }
}

/* ════════════════════════════════════════════════
   FOOTER

   ════════════════════════════════════════════════ */
.site-footer {
  background: var(--burgundy-deep);
  border-top: 1px solid rgba(170, 219, 227, 0.08);
  position: relative;
  overflow: hidden;
}
/* Footer cosmic bg */
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 50%, rgba(72, 41, 61, 0.3) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 80% 30%, rgba(69, 48, 77, 0.25) 0%, transparent 55%);
  pointer-events: none;
}

.footer-cta-strip {
  padding: 84px 32px 76px;
  text-align: center;
  background:
    linear-gradient(160deg, rgba(45, 24, 51, 0.75), rgba(26, 14, 22, 0.95)),
    url('bg1.jpeg') center/cover no-repeat;
  border-bottom: 1px solid rgba(170, 219, 227, 0.08);
  position: relative;
}
.footer-cta-strip::before {
  content: '✦';
  position: absolute;
  font-family: var(--font-display);
  font-size: 20rem;
  color: rgba(69, 48, 77, 0.12);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
  animation: alchemyPulse 8s ease-in-out infinite;
}

.footer-cta-eyebrow {
  font-family: var(--font-condensed);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue-light-mid);
  margin-bottom: 18px;
  opacity: 0.7;
}
.footer-cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 700;
  font-style: italic;
  color: var(--thistle-light);
  margin-bottom: 20px;
  line-height: 1.15;
}
.footer-cta-title em {
  background: linear-gradient(135deg, var(--blue-light), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-cta-sub {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--ink-muted);
  font-style: italic;
  margin-bottom: 32px;
  line-height: 1.75;
}
.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 38px;
  background: linear-gradient(135deg, rgba(80, 111, 138, 0.4), rgba(72, 41, 61, 0.4));
  border: 1px solid rgba(170, 219, 227, 0.3);
  color: var(--blue-light);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 40px;
  transition: all 0.28s ease;
  box-shadow: 0 6px 24px rgba(170, 219, 227, 0.1);
  backdrop-filter: blur(8px);
}
.footer-cta-btn:hover {
  background: linear-gradient(135deg, rgba(80, 111, 138, 0.6), rgba(72, 41, 61, 0.6));
  border-color: var(--blue-light);
  color: var(--blue-light-lt);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(170, 219, 227, 0.2);
}

.footer-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 32px 48px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  position: relative;
}
@media (max-width: 900px) { .footer-body { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-body { grid-template-columns: 1fr; padding: 40px 20px 32px; gap: 32px; } }

.footer-brand-mark {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 12px;
  animation: alchemyPulse 4s ease-in-out infinite;
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  font-style: italic;
  color: var(--thistle-light);
  margin-bottom: 4px;
}
.footer-brand-role {
  font-family: var(--font-condensed);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 14px;
}
.footer-brand-bio {
  font-family: var(--font-serif);
  font-size: 0.86rem;
  line-height: 1.78;
  color: var(--ink-muted);
  font-style: italic;
}
.footer-brand-bio strong { color: var(--ink-light); font-style: normal; }

.footer-col-label {
  font-family: var(--font-condensed);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-light-mid);
  margin-bottom: 8px;
}
.footer-col-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  font-style: italic;
  color: var(--thistle-light);
  line-height: 1.4;
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--blue-light); }

.footer-bottom {
  border-top: 1px solid rgba(170, 219, 227, 0.06);
  padding: 20px 32px;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-bottom-left,
.footer-bottom-right {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: rgba(107, 80, 120, 0.5);
}
.footer-bottom-center {
  color: var(--gold);
  font-size: 0.55rem;
  opacity: 0.5;
  animation: alchemyPulse 5s ease-in-out infinite;
}


/* ════════════════════════════════════════════════
   LIGHTBOX MODAL
   ════════════════════════════════════════════════ */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 6, 16, 0.94);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.lightbox-modal.active { opacity: 1; visibility: visible; }
.lightbox-modal__content {
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
}
.lightbox-modal__content img {
  max-width: 88vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 80px rgba(0,0,0,0.9);
}
.lightbox-modal__close {
  position: absolute;
  top: -48px;
  right: 0;
  background: rgba(69, 48, 77, 0.5);
  border: 1px solid rgba(170, 219, 227, 0.15);
  color: var(--ink);
  font-size: 1.5rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.lightbox-modal__close:hover {
  background: rgba(80, 111, 138, 0.4);
  border-color: var(--blue-light);
}
.lightbox-modal__caption {
  text-align: center;
  margin-top: 14px;
  font-family: var(--font-serif);
  font-size: 0.82rem;
  color: var(--ink-muted);
  font-style: italic;
}

/* ════════════════════════════════════════════════
   MAGIC SPARKLE HOVER EFFECT
   ════════════════════════════════════════════════ */
.magic-sparkle {
  position: fixed;
  pointer-events: none;
  width: 14px;
  height: 14px;
  clip-path: polygon(50% 0%, 55% 45%, 100% 50%, 55% 55%, 50% 100%, 45% 55%, 0% 50%, 45% 45%);
  animation: sparkle-anim forwards;
  z-index: 99999;
}
@keyframes sparkle-anim {
  0% { transform: scale(0) rotate(0deg); opacity: 1; margin-top: 0; }
  100% { transform: scale(1.5) rotate(90deg); opacity: 0; margin-top: -30px; }
}

/* ════════════════════════════════════════════════
   CUSTOM CURSOR GLOW
   ════════════════════════════════════════════════ */
body {
  cursor: default; /* Optional: hide default cursor if you want fully custom, but keeping it is safer */
}
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(170,219,227,0.8) 0%, rgba(170,219,227,0) 70%);
  pointer-events: none;
  z-index: 999999;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  transition: width 0.2s, height 0.2s;
  will-change: transform;
}
.cursor-glow.active {
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(201,168,76,0.8) 0%, rgba(201,168,76,0) 70%);
}
