/* ==========================================================================
   Aarav & Ananya — Luxury Indian Wedding Design System
   Palette: Maroon · Champagne Gold · Ivory · Emerald
   ========================================================================== */

:root {
  /* Brand palette */
  --color-maroon: #5c0a1a;
  --color-maroon-deep: #3d0611;
  --color-maroon-soft: #7a1a2e;
  --color-gold: #c9a84c;
  --color-gold-light: #e8d5a3;
  --color-gold-deep: #a68632;
  --color-champagne: #f5e6c8;
  --color-ivory: #faf6ef;
  --color-ivory-warm: #f3ebe0;
  --color-emerald: #0d4f3c;
  --color-emerald-soft: #1a6b52;
  --color-emerald-mist: #d8ebe3;

  /* Neutrals */
  --color-ink: #1a1210;
  --color-ink-soft: #4a3f3a;
  --color-muted: #8a7a70;
  --color-white: #ffffff;
  --color-overlay: rgba(26, 18, 16, 0.55);
  --color-overlay-deep: rgba(61, 6, 17, 0.72);

  /* Typography */
  --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-script: "Great Vibes", "Brush Script MT", cursive;
  --font-body: "Outfit", "Segoe UI", sans-serif;

  --fs-hero: clamp(3.5rem, 8vw, 7rem);
  --fs-h1: clamp(2.5rem, 5vw, 4rem);
  --fs-h2: clamp(2rem, 4vw, 3rem);
  --fs-h3: clamp(1.4rem, 2.5vw, 1.85rem);
  --fs-body: clamp(1rem, 1.2vw, 1.125rem);
  --fs-small: 0.875rem;
  --fs-script: clamp(2.75rem, 6vw, 5.5rem);

  --lh-tight: 1.15;
  --lh-snug: 1.35;
  --lh-body: 1.7;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 8rem;
  --section-pad-y: clamp(4rem, 10vw, 7.5rem);
  --container: min(1120px, calc(100% - 2.5rem));

  /* Borders & effects */
  --radius-sm: 2px;
  --radius-md: 6px;
  --border-gold: 1px solid rgba(201, 168, 76, 0.45);
  --shadow-soft: 0 18px 50px rgba(61, 6, 17, 0.12);
  --shadow-gold: 0 0 0 1px rgba(201, 168, 76, 0.25);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-lux: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 200ms;
  --dur-med: 450ms;
  --dur-slow: 900ms;

  /* Layout */
  --header-h: 4.5rem;
  --z-header: 100;
  --z-nav: 110;
  --z-flash: 120;
}

/* Reset ------------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: var(--lh-body);
  color: var(--color-ink);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(201, 168, 76, 0.12), transparent 55%),
    linear-gradient(180deg, var(--color-ivory) 0%, var(--color-ivory-warm) 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-maroon);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color var(--dur-fast) var(--ease-out);
}

a:hover {
  color: var(--color-gold-deep);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: var(--lh-tight);
  color: var(--color-maroon-deep);
  margin: 0 0 var(--space-sm);
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: 0.02em; }

p { margin: 0 0 var(--space-sm); }

ul { margin: 0; padding: 0; list-style: none; }

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

/* Utilities -------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 999;
  background: var(--color-maroon);
  color: var(--color-champagne);
  padding: 0.75rem 1.25rem;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  padding-block: var(--section-pad-y);
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-emerald);
  margin-bottom: var(--space-sm);
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-md);
}

.section-lead {
  max-width: 36rem;
  margin: 0 auto var(--space-lg);
  text-align: center;
  color: var(--color-ink-soft);
}

.script {
  font-family: var(--font-script);
  font-weight: 400;
  line-height: var(--lh-snug);
  color: var(--color-maroon);
}

.gold-rule {
  width: 4.5rem;
  height: 1px;
  margin: var(--space-md) auto;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  border: 0;
}

.text-center { text-align: center; }

/* Header ----------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  height: var(--header-h);
  z-index: var(--z-header);
  background: transparent;
  transition:
    background var(--dur-med) var(--ease-out),
    box-shadow var(--dur-med) var(--ease-out),
    backdrop-filter var(--dur-med) var(--ease-out);
}

.site-header.is-scrolled {
  background: rgba(250, 246, 239, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(201, 168, 76, 0.25);
}

.header-inner {
  width: var(--container);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  text-decoration: none;
  color: var(--color-champagne);
  z-index: calc(var(--z-nav) + 1);
}

.site-header.is-scrolled .brand {
  color: var(--color-maroon);
}

.brand-script {
  font-family: var(--font-script);
  font-size: 1.75rem;
  line-height: 1;
}

.brand-amp {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  opacity: 0.75;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: calc(var(--z-nav) + 1);
}

.nav-toggle-bar {
  display: block;
  width: 1.35rem;
  height: 1.5px;
  background: var(--color-champagne);
  transition: transform var(--dur-med) var(--ease-lux), opacity var(--dur-fast);
}

.site-header.is-scrolled .nav-toggle-bar,
.site-header.nav-open .nav-toggle-bar {
  background: var(--color-maroon);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-list a {
  display: inline-block;
  padding: 0.55rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(245, 230, 200, 0.88);
  transition: color var(--dur-fast) var(--ease-out);
}

.site-header.is-scrolled .nav-list a {
  color: var(--color-ink-soft);
}

.nav-list a:hover,
.nav-list a.is-active {
  color: var(--color-gold-light);
}

.site-header.is-scrolled .nav-list a:hover,
.site-header.is-scrolled .nav-list a.is-active {
  color: var(--color-maroon);
}

.nav-list a.nav-cta {
  margin-left: 0.5rem;
  border: 1px solid rgba(201, 168, 76, 0.55);
  color: var(--color-gold-light);
  padding-inline: 1.15rem;
}

.site-header.is-scrolled .nav-list a.nav-cta {
  border-color: var(--color-gold);
  color: var(--color-maroon);
}

.nav-list a.nav-cta:hover {
  background: rgba(201, 168, 76, 0.15);
}

/* Hero — cinematic destination invitation -------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  color: var(--color-champagne);
  overflow: hidden;
  isolation: isolate;
  background: #050203;
}

body.hero-intro-lock {
  overflow: hidden;
}

.hero-curtain {
  position: absolute;
  inset: 0;
  z-index: 40;
  background: #050203;
  pointer-events: none;
}

.hero-loader {
  position: absolute;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background: #050203;
  pointer-events: none;
}

.hero-loader-ornament {
  text-align: center;
}

.loader-ring {
  stroke: var(--color-gold);
  transform-origin: 60px 60px;
  opacity: 0.65;
}

.loader-ring--mid { stroke: var(--color-gold-light); opacity: 0.45; }
.loader-ring--inner { stroke: var(--color-champagne); opacity: 0.35; }

.loader-mark {
  fill: var(--color-gold);
  transform-origin: 60px 60px;
}

.hero-loader-label {
  margin: 1rem 0 0;
  font-family: var(--font-script);
  font-size: 1.65rem;
  color: var(--color-gold-light);
  letter-spacing: 0.04em;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-media-parallax {
  position: absolute;
  inset: -4%;
  will-change: transform;
}

.hero-photo,
.hero-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(0.92) contrast(1.08) brightness(0.78);
}

.hero-fallback {
  background:
    linear-gradient(160deg, #2a0a12 0%, var(--color-maroon) 42%, #1a3d32 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(8, 3, 5, 0.72) 0%,
      rgba(61, 6, 17, 0.38) 38%,
      rgba(20, 10, 8, 0.25) 55%,
      rgba(8, 3, 5, 0.78) 100%
    ),
    radial-gradient(ellipse 70% 55% at 50% 42%, rgba(201, 168, 76, 0.14), transparent 62%);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(ellipse at center, transparent 35%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

.hero-light {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    radial-gradient(ellipse 45% 30% at 50% 28%, rgba(232, 213, 163, 0.16), transparent 70%),
    radial-gradient(ellipse 30% 25% at 20% 70%, rgba(201, 168, 76, 0.08), transparent 70%),
    radial-gradient(ellipse 30% 25% at 80% 65%, rgba(201, 168, 76, 0.07), transparent 70%);
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 4;
  opacity: 0.09;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: overlay;
}

.hero-ornament {
  position: absolute;
  z-index: 5;
  width: clamp(88px, 14vw, 168px);
  height: clamp(88px, 14vw, 168px);
  opacity: 0.55;
  pointer-events: none;
  will-change: transform;
}

.hero-ornament--tl { top: calc(var(--header-h) + 0.5rem); left: 1rem; }
.hero-ornament--tr { top: calc(var(--header-h) + 0.5rem); right: 1rem; }
.hero-ornament--bl { bottom: 1.25rem; left: 1rem; }
.hero-ornament--br { bottom: 1.25rem; right: 1rem; }

.ornament-stroke {
  fill: none;
  stroke: var(--color-gold);
  stroke-width: 1.1;
  opacity: 0.75;
}

.ornament-fill {
  fill: rgba(201, 168, 76, 0.28);
  stroke: var(--color-gold-light);
  stroke-width: 0.6;
}

.ornament-dot {
  fill: var(--color-gold-light);
}

.hero-petals {
  position: absolute;
  inset: 0;
  z-index: 6;
  overflow: hidden;
  pointer-events: none;
}

.hero-petal {
  position: absolute;
  top: -20px;
  width: var(--petal-size, 12px);
  height: calc(var(--petal-size, 12px) * 1.35);
  border-radius: 60% 40% 60% 40%;
  background: linear-gradient(145deg, var(--petal-tint, #c45c6a), #7a2030 85%);
  opacity: 0;
  transform: rotate(var(--petal-rotate, 0deg));
  filter: blur(0.2px);
  box-shadow: inset 0 -2px 4px rgba(0, 0, 0, 0.2);
}

.hero-content {
  position: relative;
  z-index: 8;
  text-align: center;
  padding: calc(var(--header-h) + 3rem) 1.25rem 4.5rem;
  max-width: 54rem;
}

/* Hide cinematic copy until GSAP / reduced-motion reveal */
.cinematic-hero:not(.is-ready) .hero-sub,
.cinematic-hero:not(.is-ready) .hero-names,
.cinematic-hero:not(.is-ready) .hero-date-block,
.cinematic-hero:not(.is-ready) .hero-location,
.cinematic-hero:not(.is-ready) .btn-invite,
.cinematic-hero:not(.is-ready) .hero-scroll {
  opacity: 0;
}

.cinematic-hero:not(.is-ready) .hero-media {
  opacity: 0;
}

.hero-sub {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.12em;
  text-transform: none;
  color: var(--color-gold-light);
  margin: 0 0 var(--space-md);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero-names {
  font-family: var(--font-script);
  font-size: var(--fs-script);
  color: transparent;
  background: linear-gradient(180deg, #fff6e4 10%, var(--color-champagne) 45%, var(--color-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  margin: 0 0 var(--space-md);
  line-height: 1.05;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.45));
}

.hero-letter {
  display: inline-block;
  will-change: transform, opacity;
}

.hero-letter.is-space {
  width: 0.28em;
}

.hero-date-block {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  margin-bottom: var(--space-sm);
}

.hero-date {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(0.78rem, 1.4vw, 0.92rem);
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(245, 230, 200, 0.92);
}

.hero-date-line path {
  stroke: var(--color-gold);
  stroke-width: 1.2;
}

.hero-location {
  margin: 0 0 var(--space-lg);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(232, 213, 163, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.btn-invite {
  position: relative;
  background: linear-gradient(180deg, rgba(201, 168, 76, 0.95), rgba(166, 134, 50, 0.92));
  color: var(--color-maroon-deep);
  border: 1px solid rgba(245, 230, 200, 0.55);
  letter-spacing: 0.2em;
  padding-inline: 1.85rem;
  box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.25), 0 12px 40px rgba(0, 0, 0, 0.28);
}

.btn-invite:hover {
  background: linear-gradient(180deg, var(--color-gold-light), var(--color-gold));
  color: var(--color-maroon-deep);
}

.hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 8;
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(245, 230, 200, 0.72);
  text-decoration: none;
}

.hero-scroll-chevron {
  width: 10px;
  height: 10px;
  border-right: 1px solid var(--color-gold-light);
  border-bottom: 1px solid var(--color-gold-light);
  transform: rotate(45deg);
  opacity: 0.75;
}

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.75rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background var(--dur-med) var(--ease-out),
    color var(--dur-med) var(--ease-out),
    border-color var(--dur-med) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--color-gold);
  color: var(--color-maroon-deep);
  border-color: var(--color-gold);
}

.btn-primary:hover {
  background: var(--color-gold-light);
  color: var(--color-maroon-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--color-champagne);
  border-color: rgba(245, 230, 200, 0.45);
}

.btn-ghost:hover {
  background: rgba(245, 230, 200, 0.1);
  color: var(--color-white);
}

.btn-maroon {
  background: var(--color-maroon);
  color: var(--color-champagne);
  border-color: var(--color-maroon);
}

.btn-maroon:hover {
  background: var(--color-maroon-soft);
  color: var(--color-white);
}

/* Countdown -------------------------------------------------------------- */
.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(4.5rem, 6.5rem));
  gap: 0.75rem;
  justify-content: center;
  margin-block: var(--space-lg);
}

.countdown-unit {
  text-align: center;
  padding: 1rem 0.5rem;
  background: rgba(250, 246, 239, 0.65);
  border: var(--border-gold);
  box-shadow: var(--shadow-gold);
}

.countdown-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--color-maroon);
  line-height: 1;
}

.countdown-label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
}

/* Cards / panels --------------------------------------------------------- */
.panel {
  background: rgba(255, 255, 255, 0.55);
  border: var(--border-gold);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-soft);
}

.event-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.event-card {
  position: relative;
  padding: var(--space-md);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.7), rgba(245, 230, 200, 0.25));
  border: var(--border-gold);
  overflow: hidden;
}

.event-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-maroon), var(--color-gold), var(--color-emerald));
}

.event-card h3 {
  margin-top: var(--space-sm);
}

.event-card .event-time {
  font-size: var(--fs-small);
  letter-spacing: 0.08em;
  color: var(--color-emerald);
  text-transform: uppercase;
}

.event-card p {
  color: var(--color-ink-soft);
  margin-bottom: 0;
}

/* Image treatments ------------------------------------------------------- */
.media-frame {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
  transition: transform var(--dur-slow) var(--ease-lux);
}

.media-frame:hover img {
  transform: scale(1.04);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(201, 168, 76, 0.35);
}

.media-portrait {
  aspect-ratio: 3 / 4;
}

.media-landscape {
  aspect-ratio: 16 / 10;
}

.media-square {
  aspect-ratio: 1;
}

/* Split layout ----------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.split-copy {
  max-width: 34rem;
}

/* Gallery ---------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: 0;
  padding: 0;
  background: var(--color-maroon-deep);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1;
  transition: transform var(--dur-slow) var(--ease-lux), opacity var(--dur-med);
  opacity: 0.92;
}

.gallery-item:hover img {
  transform: scale(1.06);
  opacity: 1;
}

/* Forms ------------------------------------------------------------------ */
.form-stack {
  display: grid;
  gap: var(--space-md);
  max-width: 36rem;
  margin-inline: auto;
}

.form-row {
  display: grid;
  gap: 0.45rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

label {
  font-size: var(--fs-small);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: var(--radius-sm);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.2);
  outline: none;
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.radio-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border: var(--border-gold);
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
  font-size: var(--fs-body);
}

.form-note {
  font-size: var(--fs-small);
  color: var(--color-muted);
}

.form-errors {
  background: rgba(92, 10, 26, 0.08);
  border: 1px solid rgba(92, 10, 26, 0.25);
  color: var(--color-maroon-deep);
  padding: 1rem 1.25rem;
}

.form-errors ul {
  margin: 0;
  padding-left: 1.1rem;
  list-style: disc;
}

/* Page hero (inner pages) ------------------------------------------------ */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 4rem) 1.25rem 4rem;
  text-align: center;
  color: var(--color-champagne);
  background:
    linear-gradient(135deg, var(--color-maroon-deep) 0%, var(--color-maroon) 55%, var(--color-emerald) 130%);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(201, 168, 76, 0.18), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(13, 79, 60, 0.25), transparent 45%);
  pointer-events: none;
}

.page-hero .script {
  position: relative;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--color-champagne);
  margin-bottom: 0.35rem;
}

.page-hero h1 {
  position: relative;
  color: var(--color-gold-light);
  margin-bottom: 0.5rem;
}

.page-hero p {
  position: relative;
  margin: 0 auto;
  max-width: 32rem;
  color: rgba(245, 230, 200, 0.85);
}

/* Venue ------------------------------------------------------------------ */
.venue-map {
  width: 100%;
  min-height: 320px;
  border: var(--border-gold);
  background: var(--color-ivory-warm);
}

.venue-map iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
  filter: grayscale(0.25) contrast(1.05);
}

/* Flash ------------------------------------------------------------------ */
.flash {
  position: sticky;
  top: var(--header-h);
  z-index: var(--z-flash);
  padding: 0.85rem 0;
  font-size: var(--fs-small);
  letter-spacing: 0.04em;
}

.flash--success {
  background: var(--color-emerald-mist);
  color: var(--color-emerald);
  border-bottom: 1px solid rgba(13, 79, 60, 0.2);
}

.flash--error {
  background: rgba(92, 10, 26, 0.1);
  color: var(--color-maroon-deep);
  border-bottom: 1px solid rgba(92, 10, 26, 0.2);
}

.flash p { margin: 0; }

/* Footer ----------------------------------------------------------------- */
.site-footer {
  position: relative;
  padding: var(--space-xl) 0 var(--space-lg);
  background:
    linear-gradient(180deg, transparent, rgba(92, 10, 26, 0.04)),
    var(--color-ivory);
  text-align: center;
  color: var(--color-ink-soft);
}

.footer-ornament {
  width: min(280px, 60%);
  height: 1px;
  margin: 0 auto var(--space-lg);
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.footer-script {
  font-family: var(--font-script);
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--color-maroon);
  margin-bottom: 0.35rem;
}

.footer-meta {
  font-size: var(--fs-small);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: var(--space-md);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin-bottom: var(--space-md);
}

.footer-nav a {
  font-size: var(--fs-small);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-ink-soft);
}

.footer-nav a:hover {
  color: var(--color-maroon);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--color-muted);
  margin: 0;
}

/* Admin shell (minimal shared styles) ------------------------------------ */
.admin-body {
  background: var(--color-ivory-warm);
}

.admin-wrap {
  width: min(960px, calc(100% - 2rem));
  margin: 4rem auto;
}

.admin-card {
  background: var(--color-white);
  border: var(--border-gold);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.admin-card h1 {
  margin-bottom: var(--space-md);
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: var(--space-lg);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.admin-table th,
.admin-table td {
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid rgba(201, 168, 76, 0.25);
  text-align: left;
}

.admin-table th {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  font-weight: 500;
}
