/* ===== CSS Variables ===== */
:root {
  /* Palette */
  --cream: #FBF7F3;
  --cream-dark: #F0E8E2;
  --cream-darker: #E8DDD0;
  --raspberry: #8B2252;
  --raspberry-light: #A83D6A;
  --raspberry-pale: #F2A7B7;
  --raspberry-bg: #FBF0F4;
  --raspberry-border: #F0DDE6;
  --gold: #C4926A;
  --gold-light: #D4A87E;
  --gold-bg: #F8F0E8;
  --dark: #1C1014;
  --dark-mid: #2D1428;
  --dark-deep: #3B1620;
  --surface: #ffffff;
  --text: #1C1014;
  --text-mid: #4A3040;
  --text-muted: #6B4F56;
  --text-light: #8B7080;

  /* Witchy Women Night theme colors (reused throughout experience) */
  --plum: #1A0A2E;
  --plum-mid: #2D1654;
  --witch-gold: #D4A84B;
  --witch-green: #0E2D1A;

  /* Typography */
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Outfit', sans-serif;

  /* Radii */
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-full: 100px;

  /* Z-index */
  --z-nav: 100;
  --z-popup: 200;
  --z-toast: 2000;

  /* Misc */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --shadow-sm: 0 2px 8px rgba(28,16,20,.04);
  --shadow-md: 0 4px 24px rgba(28,16,20,.08);
  --shadow-lg: 0 8px 40px rgba(28,16,20,.12);
  --shadow-glow: 0 6px 30px rgba(139,34,82,.3);
}

/* ===== Accessibility Utilities ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  background: var(--raspberry);
  color: var(--surface);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.15s;
}
.skip-link:focus { top: 16px; }

/* ===== Reset ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  font-size: 0.9375rem;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
}
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font-body); }
a { text-decoration: none; color: inherit; }

/* ===== Shared Utility ===== */
.fd { font-family: var(--font-display); }
.hidden { display: none !important; }

/* ===== Navigation ===== */
.site-nav {
  background: rgba(251,247,243,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(28,16,20,.06);
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: inline-flex;
  align-items: baseline;
  position: relative;
  padding-bottom: 6px;
  text-decoration: none;
}
.nav-logo .logo-plan { font-family: var(--font-body); font-size: 20px; font-weight: 400; color: var(--gold); }
.nav-logo .logo-bash { font-family: var(--font-body); font-size: 20px; font-weight: 700; color: var(--raspberry); letter-spacing: 4px; margin-left: 4px; text-transform: uppercase; }
.nav-logo .logo-line { position: absolute; bottom: -1px; left: 52px; width: 96px; height: 14px; }
.nav-logo .logo-line path { fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round; }
.nav-logo .logo-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--raspberry); position: absolute; top: -2px; right: -12px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--text-muted); transition: color .2s; }
.nav-links a:hover { color: var(--raspberry); }
.nav-cta {
  font-size: 13px; font-weight: 600; padding: 10px 20px; border-radius: 100px;
  background: var(--raspberry); color: #fff; border: none;
  transition: all .25s var(--ease); box-shadow: var(--shadow-sm);
}
.nav-cta:hover { box-shadow: var(--shadow-glow); transform: translateY(-1px); }

/* ===== Buttons ===== */
.btn {
  padding: 12px 28px; border-radius: 100px; font-size: 14px;
  font-weight: 600; border: none; cursor: pointer; font-family: var(--font-body);
  transition: all .25s var(--ease);
}
.btn-primary {
  background: var(--raspberry); color: #fff;
  box-shadow: 0 4px 20px rgba(139,34,82,.3);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 28px rgba(139,34,82,.45); }
.btn-back { background: transparent; color: var(--text-muted); border: 1.5px solid var(--cream-darker); }
.btn-back:hover { border-color: var(--text-light); }

/* ===== Footer ===== */
.site-footer { background: var(--dark); padding: 56px 0 32px; }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-brand { position: relative; display: inline-block; margin-bottom: 10px; }
.footer-brand .fp { font-family: var(--font-body); font-size: 20px; font-weight: 400; color: var(--gold); }
.footer-brand .fb { font-family: var(--font-body); font-size: 20px; font-weight: 700; color: #E8C4D4; letter-spacing: 4px; text-transform: uppercase; }
.footer-brand svg { position: absolute; bottom: -4px; left: 56px; }
.footer-brand .fd { width: 5px; height: 5px; border-radius: 50%; background: #E8C4D4; position: absolute; top: -2px; right: -10px; display: inline-block; }
.footer-desc { font-size: 13px; color: rgba(255,255,255,.4); line-height: 1.65; }
.footer-col-title { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.footer-col a, .footer-col p { display: block; font-size: 13px; color: rgba(255,255,255,.45); margin-bottom: 8px; transition: color .2s; }
.footer-col a:hover { color: rgba(255,255,255,.7); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p, .footer-bottom a { font-size: 12px; color: rgba(255,255,255,.3); }
.footer-legal { display: flex; gap: 20px; }

/* ===== Animations ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideDown { from { transform: translateY(-100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .6; } }
@keyframes confFall { 0% { transform: translateY(-20px) rotate(0deg); opacity: 1; } 100% { transform: translateY(100vh) rotate(720deg); opacity: 0; } }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links a:not(.nav-cta) { display: none; }
}
