/* =============================================================================
   AMMAN VISUALS - PREMIUM DESIGN SYSTEM
   
   Design Read: Premium-consumer booking for South Indian temple ceremonies.
   Vibe: Editorial Luxury (heritage / ceremony context).
   Palette: Forest + Ivory + Antique Gold (deliberately NOT beige+brass+oxblood).
   
   DIALS:
     DESIGN_VARIANCE: 7  (Offset - asymmetric hero, varied sections)
     MOTION_INTENSITY: 5 (Fluid CSS - scroll reveals, hover physics)
     VISUAL_DENSITY: 3   (Art Gallery - generous whitespace, breathing)
   
   Corner-radius scale: 12px (cards), 8px (inputs), full-pill (buttons).
   Theme: Light (locked, no mid-page inversions).
   ============================================================================= */

/* -----------------------------------------------------------------------------
   0. CUSTOM PROPERTIES (Design Tokens)
   ----------------------------------------------------------------------------- */
:root {
  /* Primary palette - Forest meets Temple */
  --clr-deep: #1a2e1a;
  /* Deep forest near-black (text, hero bg) */
  --clr-forest: #2d4a2d;
  /* Forest green (section accents) */
  --clr-sage: #5a7a5a;
  /* Muted sage (secondary text) */
  --clr-gold: #b8960c;
  /* Antique gold (accent, selected states) */
  --clr-gold-light: #d4af37;
  /* Lighter gold (hover states) */
  --clr-ivory: #faf8f2;
  /* Warm ivory (page background) */
  --clr-cream: #f2efe6;
  /* Slightly darker cream (card backgrounds) */
  --clr-white: #ffffff;
  /* Pure white (form inputs) */
  --clr-border: #e0ddd4;
  /* Warm gray border */
  --clr-border-light: #eae7de;
  /* Lighter border for nested elements */
  --clr-text: #2a2a28;
  /* Body text (warm near-black, NOT #000) */
  --clr-text-muted: #6b6960;
  /* Muted body text */
  --clr-error: #c0392b;
  /* Validation error red */

  /* Typography - Cormorant Garamond (justified: genuine heritage/ceremony) */
  --ff-display: 'Cormorant Garamond', 'Georgia', serif;
  --ff-body: 'DM Sans', 'Segoe UI', system-ui, sans-serif;

  /* Spacing scale (generous, art-gallery density) */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Touch targets */
  --min-touch: 44px;

  /* Corners - consistent scale */
  --radius-card: 12px;
  --radius-input: 8px;
  --radius-pill: 999px;

  /* Transitions - custom cubic-bezier (no linear or ease-in-out) */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-base: 0.5s;
  --duration-slow: 0.8s;
}

/* -----------------------------------------------------------------------------
   1. RESET & BASE
   ----------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  color-scheme: light;
}

body {
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--clr-text);
  background-color: var(--clr-ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Skip to content link (a11y) */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1.5rem;
  background: var(--clr-deep);
  color: var(--clr-ivory);
  font-weight: 500;
  border-radius: var(--radius-input);
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* Focus ring (visible, never removed) */
:focus-visible {
  outline: 2px solid var(--clr-gold);
  outline-offset: 2px;
}

/* Touch action - prevent double-tap zoom */
a,
button,
label,
input,
textarea,
select {
  touch-action: manipulation;
}

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

/* Tabular numbers for any numeric displays */
.tabular-nums {
  font-variant-numeric: tabular-nums;
}

/* -----------------------------------------------------------------------------
   2. TYPOGRAPHY
   ----------------------------------------------------------------------------- */
h1,
h2,
h3,
h4 {
  font-family: var(--ff-display);
  font-weight: 600;
  line-height: 1.1;
  color: var(--clr-deep);
  text-wrap: balance;
}

/* Display heading - hero */
.heading-display {
  font-size: clamp(2.5rem, 5vw + 1rem, 4rem);
  letter-spacing: -0.02em;
  line-height: 1.08;
}

/* Section headings */
.heading-section {
  font-size: clamp(1.75rem, 3vw + 0.5rem, 2.75rem);
  letter-spacing: -0.01em;
}

/* Card headings */
.heading-card {
  font-size: 1.25rem;
  font-weight: 600;
}

/* Body copy */
.body-text {
  max-width: 65ch;
  color: var(--clr-text-muted);
  line-height: 1.7;
}

.body-text-sm {
  font-size: 0.875rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
}

/* Subtitle (accent color) */
.subtitle {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-style: italic;
  color: var(--clr-sage);
  letter-spacing: 0.02em;
}

/* -----------------------------------------------------------------------------
   3. LAYOUT CONTAINER
   ----------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

@media (min-width: 768px) {
  .container {
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
  }
}

/* -----------------------------------------------------------------------------
   4. NAVIGATION — Separated Brand + Right-Aligned Pill
   ----------------------------------------------------------------------------- */

/* Brand — fixed top-left, independent of nav pill */
.nav-brand {
  position: fixed;
  top: var(--space-md);
  left: 1.25rem;
  z-index: 51;
  display: flex;
  align-items: center;
  transition: opacity var(--duration-base) var(--ease-out-expo);
}

.nav-logo {
  height: 47px;
  width: auto;
  border-radius: 8px;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.3));
}

.nav-brand:hover {
  opacity: 0.85;
}

/* Nav pill — fixed top-right */
.site-nav {
  position: fixed;
  top: var(--space-md);
  right: 1.25rem;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem;
  background: rgba(26, 46, 26, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
}

/* Hamburger toggle — mobile only */
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--clr-ivory);
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--duration-base) var(--ease-out-expo);
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
}

.nav-toggle svg {
  width: 18px;
  height: 18px;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }
}

/* Nav links */
.nav-links {
  display: none;
  list-style: none;
  gap: 0.25rem;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(250, 248, 242, 0.7);
  text-decoration: none;
  border-radius: var(--radius-pill);
  transition: color var(--duration-base) var(--ease-out-expo),
    background-color var(--duration-base) var(--ease-out-expo);
  min-height: var(--min-touch);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--clr-ivory);
  background: rgba(255, 255, 255, 0.08);
}

/* Nav CTA */
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.25rem;
  min-height: 36px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--clr-deep);
  background: var(--clr-gold);
  border: none;
  border-radius: var(--radius-pill);
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--duration-base) var(--ease-out-expo),
    background-color var(--duration-base) var(--ease-out-expo);
}

.nav-cta:hover {
  background: var(--clr-gold-light);
}

.nav-cta:active {
  transform: scale(0.97);
}

/* Mobile panel — hidden by default */
.nav-mobile-panel {
  display: none;
}

/* Mobile layout */
@media (max-width: 767px) {
  .site-nav {
    /* Kept default flex behavior, just reset padding if needed */
    padding: 0.35rem;
    gap: 0.25rem;
  }

  .nav-mobile-panel {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.5rem;
    background: rgba(26, 46, 26, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  }

  .nav-mobile-panel.is-open {
    display: flex;
  }

  .nav-mobile-panel .nav-links {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .nav-mobile-panel .nav-links a {
    display: flex;
    width: 100%;
    padding: 0.6rem 0.75rem;
    font-size: 0.9rem;
    border-radius: var(--radius-input);
  }

  .nav-mobile-panel .nav-cta {
    margin-top: 0.25rem;
    width: 100%;
    min-height: var(--min-touch);
    font-size: 0.875rem;
  }

  /* Hide desktop nav items outside panel on mobile */
  .site-nav>.nav-links {
    display: none;
  }
}

/* -----------------------------------------------------------------------------
   5. HERO SECTION (Asymmetric Split) — PRESERVED AS-IS
   ----------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--clr-deep);
}

/* Hero image fills the section as a background */
.hero-image-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

/* Dark overlay for text readability */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(135deg,
      rgba(26, 46, 26, 0.85) 0%,
      rgba(26, 46, 26, 0.55) 60%,
      rgba(26, 46, 26, 0.35) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-2xl);
}

.hero-content .heading-display {
  color: var(--clr-ivory);
  margin-bottom: var(--space-md);
}

.hero-content .subtitle {
  color: var(--clr-gold-light);
  font-size: 1.125rem;
  margin-bottom: var(--space-lg);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 2rem;
  min-height: var(--min-touch);
  font-family: var(--ff-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--clr-deep);
  background: var(--clr-gold);
  border: none;
  border-radius: var(--radius-pill);
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--duration-base) var(--ease-out-expo),
    background-color var(--duration-base) var(--ease-out-expo);
}

.hero-cta:hover {
  background: var(--clr-gold-light);
}

.hero-cta:active {
  transform: scale(0.97) translateY(1px);
}

/* Arrow inside CTA (button-in-button pattern) */
.hero-cta .cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(26, 46, 26, 0.1);
  border-radius: 50%;
  transition: transform var(--duration-base) var(--ease-spring);
}

.hero-cta:hover .cta-arrow {
  transform: translateX(2px) translateY(-1px) scale(1.08);
}

/* -----------------------------------------------------------------------------
   6. SECTION RHYTHM (Art Gallery spacing)
   ----------------------------------------------------------------------------- */
.section {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

@media (min-width: 768px) {
  .section {
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
  }
}

.section-header {
  margin-bottom: var(--space-xl);
}

.section-header .heading-section {
  margin-bottom: var(--space-sm);
}

/* Gold underline accent for section titles */
.section-header .heading-section::after {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  margin-top: var(--space-sm);
  background: var(--clr-gold);
}

/* Alternating section background for visual rhythm */
.section--alt {
  background: var(--clr-cream);
}

/* -----------------------------------------------------------------------------
   7. GALLERY SECTION
   ----------------------------------------------------------------------------- */
.gallery-section {
  background: var(--clr-cream);
}

/* ---- 7a. AUTO-SCROLLING CAROUSEL ---- */
.carousel {
  position: relative;
  margin-bottom: var(--space-xl);
  border-radius: calc(var(--radius-card) + 4px);
  overflow: hidden;
  background: var(--clr-deep);
  box-shadow:
    0 4px 16px rgba(26, 46, 26, 0.08),
    0 16px 48px rgba(26, 46, 26, 0.06);
}

.carousel-viewport {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

@media (max-width: 599px) {
  .carousel-viewport {
    aspect-ratio: 4 / 3;
  }
}

/* Slides — crossfade stack */
.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s var(--ease-out-expo);
  will-change: opacity;
}

.carousel-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.carousel-slide-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Placeholder slide backgrounds — premium gradients */
.carousel-slide-inner.placeholder-bg {
  color: rgba(250, 248, 242, 0.6);
  font-family: var(--ff-display);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-style: italic;
  letter-spacing: 0.04em;
}

.carousel-slide-inner.placeholder-bg svg {
  width: 40px;
  height: 40px;
  opacity: 0.25;
  margin-bottom: 0.5rem;
}

.carousel-slide:nth-child(1) .placeholder-bg {
  background: linear-gradient(135deg, #1a2e1a 0%, #2d4a2d 60%, #3d5a3d 100%);
}

.carousel-slide:nth-child(2) .placeholder-bg {
  background: linear-gradient(150deg, #2d3a1a 0%, #1a2e1a 50%, #2d4a2d 100%);
}

.carousel-slide:nth-child(3) .placeholder-bg {
  background: linear-gradient(120deg, #1a2a24 0%, #2d4a2d 50%, #1a2e1a 100%);
}

.carousel-slide:nth-child(4) .placeholder-bg {
  background: linear-gradient(160deg, #2d4a2d 0%, #1a2e1a 60%, #2d3a24 100%);
}

.carousel-slide:nth-child(5) .placeholder-bg {
  background: linear-gradient(130deg, #1a2e1a 0%, #3d5a3d 50%, #2d4a2d 100%);
}

.carousel-slide:nth-child(6) .placeholder-bg {
  background: linear-gradient(140deg, #2d3a1a 0%, #2d4a2d 60%, #1a2e1a 100%);
}

.carousel-slide-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Caption overlay */
.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md) var(--space-lg);
  background: linear-gradient(transparent, rgba(26, 46, 26, 0.75));
  z-index: 2;
}

.carousel-caption span {
  font-family: var(--ff-display);
  font-size: clamp(0.9rem, 1.5vw, 1.125rem);
  font-style: italic;
  color: var(--clr-gold-light);
  letter-spacing: 0.02em;
}

/* Controls bar */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem var(--space-sm);
  background: var(--clr-deep);
}

.carousel-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--clr-ivory);
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1;
  transition: background var(--duration-base) var(--ease-out-expo),
    transform var(--duration-base) var(--ease-out-expo);
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.carousel-btn:active {
  transform: scale(0.92);
}

.carousel-btn svg {
  width: 16px;
  height: 16px;
}

/* Dot indicators */
.carousel-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(250, 248, 242, 0.25);
  cursor: pointer;
  transition: background var(--duration-base) var(--ease-out-expo),
    transform var(--duration-base) var(--ease-spring);
}

.carousel-dot:hover {
  background: rgba(250, 248, 242, 0.5);
}

.carousel-dot.is-active {
  background: var(--clr-gold);
  transform: scale(1.4);
}

/* Carousel pause indicator */
.carousel[data-paused="true"]::after {
  content: '';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  background: rgba(26, 46, 26, 0.6);
  border-radius: 50%;
  z-index: 3;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23faf8f2'%3E%3Crect x='6' y='5' width='4' height='14' rx='1'/%3E%3Crect x='14' y='5' width='4' height='14' rx='1'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.7;
  pointer-events: none;
}

/* ---- 7b. GALLERY GRID (below carousel) ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 180px;
  gap: var(--space-sm);
}

@media (min-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
  }
}

@media (min-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
    gap: var(--space-md);
  }
}

/* Tall items span 2 rows for masonry-like effect */
.gallery-item--tall {
  grid-row: span 2;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  border: 1px solid var(--clr-border);
  background: var(--clr-white);
  cursor: pointer;
  padding: 0;
  font: inherit;
  color: inherit;
  transition: transform var(--duration-base) var(--ease-out-expo),
    box-shadow var(--duration-base) var(--ease-out-expo);
}

.gallery-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 40px rgba(26, 46, 26, 0.12);
}

.gallery-item:active {
  transform: scale(0.98);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Placeholder styling (until real images are added) */
.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  background: linear-gradient(135deg, var(--clr-cream) 0%, var(--clr-border-light) 100%);
  color: var(--clr-sage);
}

.gallery-placeholder svg {
  width: 32px;
  height: 32px;
  opacity: 0.4;
}

.gallery-placeholder span {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.5;
}

/* Hover overlay on gallery items */
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 46, 26, 0);
  transition: background var(--duration-base) var(--ease-out-expo);
  pointer-events: none;
  border-radius: inherit;
}

.gallery-item:hover::after {
  background: rgba(26, 46, 26, 0.08);
}

/* -----------------------------------------------------------------------------
   8. LIGHTBOX
   ----------------------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 46, 26, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.lightbox-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  max-width: 90vw;
  max-height: 85vh;
}

.lightbox-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-xs);
}

.lightbox-image-wrap {
  width: 70vw;
  max-width: 800px;
  height: 60vh;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--clr-deep);
}

.lightbox-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-placeholder {
  background: linear-gradient(135deg, var(--clr-forest) 0%, var(--clr-deep) 100%);
  color: rgba(250, 248, 242, 0.4);
  border-radius: 0;
}

.lightbox-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.3;
}

.lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: var(--clr-ivory);
  cursor: pointer;
  transition: background var(--duration-base) var(--ease-out-expo);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-close svg {
  width: 18px;
  height: 18px;
}

.lightbox-prev,
.lightbox-next {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: var(--clr-ivory);
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--duration-base) var(--ease-out-expo),
    transform var(--duration-base) var(--ease-out-expo);
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.18);
}

.lightbox-prev:active,
.lightbox-next:active {
  transform: scale(0.92);
}

.lightbox-prev svg,
.lightbox-next svg {
  width: 20px;
  height: 20px;
}

.lightbox-counter {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(250, 248, 242, 0.8);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  min-width: 60px;
  text-align: center;
}

/* Mobile lightbox adjustments */
@media (max-width: 600px) {
  .lightbox-content {
    gap: var(--space-sm);
  }

  .lightbox-image-wrap {
    width: 90vw;
    height: 60vh;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 36px;
    height: 36px;
  }

  .lightbox-controls {
    gap: var(--space-sm);
  }
}

/* -----------------------------------------------------------------------------
   9. WIZARD — CONTAINED FLOATING CARD (Compact)
   ----------------------------------------------------------------------------- */
#booking-flow {
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
}

@media (min-width: 768px) {
  #booking-flow {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
  }
}

.wizard {
  max-width: 820px;
  margin: 0 auto;
  padding: var(--space-sm);
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: calc(var(--radius-card) + 8px);
  box-shadow:
    0 1px 3px rgba(26, 46, 26, 0.04),
    0 8px 32px rgba(26, 46, 26, 0.06),
    0 24px 60px rgba(26, 46, 26, 0.04);
  scroll-margin-top: 80px;
}

@media (min-width: 768px) {
  .wizard {
    padding: 1.25rem;
  }
}

/* -----------------------------------------------------------------------------
   10. PROGRESS BAR
   ----------------------------------------------------------------------------- */
.wizard-progress {
  position: relative;
  margin-bottom: var(--space-sm);
}

.progress-steps {
  list-style: none;
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

/* Track line behind the steps */
.progress-track {
  position: absolute;
  top: 18px;
  left: calc(12.5%);
  right: calc(12.5%);
  height: 3px;
  background: var(--clr-border);
  border-radius: 2px;
  z-index: 1;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--clr-gold);
  border-radius: 2px;
  transition: width var(--duration-slow) var(--ease-out-expo);
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  flex: 1;
}

.step-indicator {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--clr-border);
  background: var(--clr-white);
  color: var(--clr-text-muted);
  cursor: default;
  padding: 0;
  font: inherit;
  transition: border-color var(--duration-base) var(--ease-out-expo),
    background-color var(--duration-base) var(--ease-out-expo),
    color var(--duration-base) var(--ease-out-expo),
    transform var(--duration-base) var(--ease-spring);
}

.step-number {
  font-family: var(--ff-body);
  font-size: 0.8rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.step-check {
  display: none;
}

.step-check svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 3;
  fill: none;
}

.step-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--clr-text-muted);
  transition: color var(--duration-base) var(--ease-out-expo);
  white-space: nowrap;
}

/* Active step */
.progress-step.is-active .step-indicator {
  border-color: var(--clr-gold);
  background: var(--clr-gold);
  color: var(--clr-deep);
  cursor: default;
  transform: scale(1.1);
  box-shadow: 0 0 0 4px rgba(184, 150, 12, 0.15);
}

.progress-step.is-active .step-label {
  color: var(--clr-gold);
}

/* Completed step */
.progress-step.is-completed .step-indicator {
  border-color: var(--clr-forest);
  background: var(--clr-forest);
  color: var(--clr-ivory);
  cursor: pointer;
}

.progress-step.is-completed .step-indicator:hover {
  transform: scale(1.1);
}

.progress-step.is-completed .step-number {
  display: none;
}

.progress-step.is-completed .step-check {
  display: flex;
  align-items: center;
  justify-content: center;
}

.progress-step.is-completed .step-label {
  color: var(--clr-forest);
}

/* Mobile: hide labels on very small screens */
@media (max-width: 400px) {
  .step-label {
    font-size: 0.6rem;
    letter-spacing: 0.02em;
  }
}

/* -----------------------------------------------------------------------------
   11. WIZARD STEP PANELS
   ----------------------------------------------------------------------------- */
.wizard-step {
  display: none;
}

.wizard-step.is-active {
  display: block;
  animation: wizardFadeIn 0.5s var(--ease-out-expo) forwards;
}

/* Slide transitions */
.wizard-step.slide-in-right {
  animation: slideInRight 0.5s var(--ease-out-expo) forwards;
}

.wizard-step.slide-in-left {
  animation: slideInLeft 0.5s var(--ease-out-expo) forwards;
}

@keyframes wizardFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.step-header {
  margin-bottom: 0.5rem;
}

.step-header .heading-section {
  margin-bottom: 0.125rem;
  font-size: clamp(1.1rem, 1.8vw + 0.5rem, 1.4rem);
}

.step-header .body-text {
  font-size: 0.8rem;
  margin-top: 0.125rem;
  color: var(--clr-text-muted);
}

/* -----------------------------------------------------------------------------
   12. SELECTABLE CARDS (Double-Bezel Architecture)
   ----------------------------------------------------------------------------- */

/* Card grid layouts */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

@media (min-width: 480px) {
  .card-grid--4col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 600px) {
  .card-grid--2col {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid--3col {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .card-grid--4col {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Outer shell (double-bezel outer ring) */
.selectable-card {
  display: block;
  position: relative;
  cursor: pointer;
  padding: 3px;
  background: var(--clr-border-light);
  border: 1px solid var(--clr-border);
  border-radius: calc(var(--radius-card) + 3px);
  transition: border-color var(--duration-base) var(--ease-out-expo),
    box-shadow var(--duration-base) var(--ease-out-expo);
}

/* Hidden radio for logic + a11y */
.selectable-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* Inner core (double-bezel inner surface) */
.card-inner {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0.75rem;
  background: var(--clr-white);
  border-radius: var(--radius-card);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.6);
  transition: background-color var(--duration-base) var(--ease-out-expo),
    box-shadow var(--duration-base) var(--ease-out-expo);
  min-height: auto;
}

.card-inner .heading-card {
  margin-bottom: var(--space-xs);
}

.card-inner .body-text-sm {
  flex-grow: 1;
}

/* Hover state */
.selectable-card:hover {
  border-color: var(--clr-gold);
  box-shadow: 0 4px 20px rgba(184, 150, 12, 0.08);
}

/* SELECTED STATE: 2px solid gold border + subtle gold tint */
.selectable-card input[type="radio"]:checked~.card-inner {
  background: rgba(184, 150, 12, 0.04);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.6),
    0 0 0 0 transparent;
}

.selectable-card:has(input:checked) {
  border-color: var(--clr-gold);
  background: rgba(184, 150, 12, 0.1);
  box-shadow: 0 4px 24px rgba(184, 150, 12, 0.12);
}

/* Check indicator */
.card-check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-gold);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity var(--duration-base) var(--ease-spring),
    transform var(--duration-base) var(--ease-spring);
  pointer-events: none;
}

.card-check svg {
  width: 12px;
  height: 12px;
  stroke: var(--clr-deep);
  stroke-width: 3;
  fill: none;
}

.selectable-card:has(input:checked) .card-check {
  opacity: 1;
  transform: scale(1);
}

/* Active press feedback */
.selectable-card:active {
  transform: scale(0.98);
}

/* -----------------------------------------------------------------------------
   13. DURATION TOGGLE (Segmented Control)
   ----------------------------------------------------------------------------- */
.toggle-container {
  margin-top: 0.5rem;
  text-align: center;
}

.toggle-container .heading-card {
  margin-bottom: 0.5rem;
  color: var(--clr-sage);
  font-family: var(--ff-body);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.toggle-switch {
  display: inline-flex;
  padding: 3px;
  background: var(--clr-cream);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-pill);
}

.toggle-switch input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-switch label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
  min-height: var(--min-touch);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--clr-text-muted);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: color var(--duration-base) var(--ease-out-expo),
    background-color var(--duration-base) var(--ease-out-expo),
    box-shadow var(--duration-base) var(--ease-out-expo);
  user-select: none;
}

.toggle-switch input[type="radio"]:checked+label {
  color: var(--clr-ivory);
  background: var(--clr-forest);
  box-shadow: 0 2px 8px rgba(45, 74, 45, 0.25);
}

/* -----------------------------------------------------------------------------
   14. PACKAGE CARDS (Featured, with visual differentiation)
   ----------------------------------------------------------------------------- */
.package-grid {
  gap: 0.5rem;
}

@media (min-width: 600px) {
  .package-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.package-card .card-inner {
  padding: 0.625rem;
  min-height: auto;
}

.package-card .subtitle {
  font-size: 0.875rem;
  margin-bottom: var(--space-md);
}

.package-features {
  list-style: none;
  margin-bottom: var(--space-sm);
  flex-grow: 1;
}

.package-features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.25rem;
  font-size: 0.8rem;
  color: var(--clr-text-muted);
  line-height: 1.45;
}

/* Checkmark before each feature */
.package-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 14px;
  height: 14px;
  background: var(--clr-gold);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Select button inside package card */
.select-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: var(--min-touch);
  font-family: var(--ff-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--clr-forest);
  background: transparent;
  border: 2px solid var(--clr-forest);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background-color var(--duration-base) var(--ease-out-expo),
    color var(--duration-base) var(--ease-out-expo),
    transform var(--duration-base) var(--ease-out-expo);
}

.selectable-card:has(input:checked) .select-btn {
  background: var(--clr-forest);
  color: var(--clr-ivory);
  border-color: var(--clr-forest);
}

/* -----------------------------------------------------------------------------
   15. DELIVERY SECTION
   ----------------------------------------------------------------------------- */
.delivery-grid {
  gap: 0.5rem;
}

@media (min-width: 600px) {
  .delivery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.delivery-card .card-inner {
  align-items: center;
  text-align: center;
  padding: 0.625rem;
}

/* Delivery icon circle */
.delivery-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.375rem;
  background: rgba(184, 150, 12, 0.08);
  border-radius: 50%;
}

.delivery-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--clr-gold);
  stroke-width: 1.5;
  fill: none;
}

/* -----------------------------------------------------------------------------
   16. WIZARD FORM FIELDS (Step 4)
   ----------------------------------------------------------------------------- */
.form-fields-wizard {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--clr-text-muted);
  letter-spacing: 0.04em;
}

.form-group input,
.form-group textarea,
.form-group select {
  display: block;
  width: 100%;
  min-height: var(--min-touch);
  padding: 0.625rem 0.875rem;
  font-family: var(--ff-body);
  font-size: 1rem;
  color: var(--clr-text);
  background: var(--clr-ivory);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-input);
  transition: border-color var(--duration-base) var(--ease-out-expo),
    box-shadow var(--duration-base) var(--ease-out-expo);
}

.form-group textarea {
  min-height: 56px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--clr-gold);
  box-shadow: 0 0 0 3px rgba(184, 150, 12, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #a09e96;
}

/* Mobile input fix: 16px minimum to prevent iOS zoom */
@media (max-width: 767px) {

  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 16px;
  }
}

/* Two inputs side by side */
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}

@media (min-width: 480px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* -----------------------------------------------------------------------------
   17. WIZARD NAVIGATION BUTTONS
   ----------------------------------------------------------------------------- */
.wizard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--clr-border-light);
  gap: var(--space-sm);
}

.wizard-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: var(--min-touch);
  padding: 0 2rem;
  font-family: var(--ff-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: none;
  transition: transform var(--duration-base) var(--ease-out-expo),
    background-color var(--duration-base) var(--ease-out-expo),
    color var(--duration-base) var(--ease-out-expo),
    box-shadow var(--duration-base) var(--ease-out-expo);
}

.wizard-btn:active {
  transform: scale(0.97);
}

/* Back button - ghost style */
.wizard-btn-prev {
  color: var(--clr-text-muted);
  background: transparent;
  border: 1px solid var(--clr-border);
}

.wizard-btn-prev:hover {
  color: var(--clr-text);
  border-color: var(--clr-text-muted);
  background: var(--clr-cream);
}

.wizard-btn-prev svg {
  flex-shrink: 0;
}

/* Continue button - primary gold */
.wizard-btn-next {
  color: var(--clr-deep);
  background: var(--clr-gold);
  margin-left: auto;
}

.wizard-btn-next:hover {
  background: var(--clr-gold-light);
  box-shadow: 0 4px 16px rgba(184, 150, 12, 0.25);
}

.wizard-btn-next svg {
  flex-shrink: 0;
}

/* Submit button - forest green */
.wizard-btn-submit {
  color: var(--clr-ivory);
  background: var(--clr-forest);
  margin-left: auto;
  padding: 0 2.5rem;
}

.wizard-btn-submit:hover {
  background: var(--clr-deep);
  box-shadow: 0 4px 16px rgba(26, 46, 26, 0.25);
}

/* Spinner state for loading (hidden by default) */
.wizard-btn-submit .spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid var(--clr-ivory);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.wizard-btn-submit.is-loading .spinner {
  display: block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Hidden buttons */
.wizard-btn[hidden] {
  display: none;
}

/* -----------------------------------------------------------------------------
   18. WIZARD VALIDATION TOAST
   ----------------------------------------------------------------------------- */
.wizard-toast {
  display: none;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--space-md);
  padding: 0.75rem 1rem;
  background: rgba(192, 57, 43, 0.06);
  border: 1px solid rgba(192, 57, 43, 0.2);
  border-radius: var(--radius-input);
  color: var(--clr-error);
  font-size: 0.85rem;
  font-weight: 500;
}

.wizard-toast:not([hidden]) {
  display: flex;
}

.wizard-toast svg {
  flex-shrink: 0;
}

.wizard-toast.toast-enter {
  animation: toastIn 0.3s var(--ease-out-expo) forwards;
}

.wizard-toast.toast-exit {
  animation: toastOut 0.3s var(--ease-out-expo) forwards;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toastOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(-8px);
  }
}

/* -----------------------------------------------------------------------------
   18b. ABOUT US SECTION
   ----------------------------------------------------------------------------- */
.about-section {
  background: var(--clr-deep);
  color: var(--clr-ivory);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 768px) {
  .about-content {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
}

.about-text {
  order: 1;
}

.about-text .heading-section {
  color: var(--clr-ivory);
  margin-bottom: var(--space-sm);
}

.about-text .heading-section::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  margin-top: var(--space-xs);
  background: var(--clr-gold);
}

.about-text .body-text {
  color: rgba(250, 248, 242, 0.7);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

.about-text .body-text:last-child {
  margin-bottom: 0;
}

.about-highlight {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-md);
}

.about-stat {
  display: flex;
  flex-direction: column;
}

.about-stat-number {
  font-family: var(--ff-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--clr-gold);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.about-stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(250, 248, 242, 0.5);
  margin-top: 0.25rem;
}

/* About image placeholder */
.about-image {
  order: 2;
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, rgba(45, 74, 45, 0.4) 0%, rgba(26, 46, 26, 0.8) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  color: rgba(250, 248, 242, 0.3);
}

.about-image-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.4;
}

.about-image-placeholder span {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 767px) {
  .about-image {
    order: 0;
    aspect-ratio: 16 / 9;
  }

  .about-highlight {
    justify-content: center;
  }
}

/* -----------------------------------------------------------------------------
   19. FOOTER
   ----------------------------------------------------------------------------- */
.site-footer {
  padding: var(--space-xl) 0;
  padding-bottom: calc(var(--space-xl) + env(safe-area-inset-bottom, 0px));
  background: var(--clr-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  text-align: center;
}

.footer-brand {
  font-family: var(--ff-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--clr-ivory);
}

.footer-text {
  font-size: 0.8rem;
  color: rgba(250, 248, 242, 0.4);
}

/* -----------------------------------------------------------------------------
   20. SCROLL REVEAL ANIMATIONS (IntersectionObserver driven)
   
   Elements start hidden and fade-up when they enter the viewport.
   Animated via transform + opacity only (GPU-safe).
   ----------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-slow) var(--ease-out-expo),
    transform var(--duration-slow) var(--ease-out-expo);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children: each child delays 60ms more */
.reveal-stagger>.reveal:nth-child(1) {
  transition-delay: 0ms;
}

.reveal-stagger>.reveal:nth-child(2) {
  transition-delay: 60ms;
}

.reveal-stagger>.reveal:nth-child(3) {
  transition-delay: 120ms;
}

.reveal-stagger>.reveal:nth-child(4) {
  transition-delay: 180ms;
}

.reveal-stagger>.reveal:nth-child(5) {
  transition-delay: 240ms;
}

.reveal-stagger>.reveal:nth-child(6) {
  transition-delay: 300ms;
}

.reveal-stagger>.reveal:nth-child(7) {
  transition-delay: 360ms;
}

.reveal-stagger>.reveal:nth-child(8) {
  transition-delay: 420ms;
}

/* -----------------------------------------------------------------------------
   21. REDUCED MOTION (mandatory)
   ----------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .selectable-card,
  .hero-cta,
  .nav-cta,
  .wizard-btn,
  .toggle-switch label,
  .card-check,
  .gallery-item,
  .carousel-slide,
  .carousel-dot,
  .carousel-btn {
    transition: none;
  }

  .hero-cta:active,
  .nav-cta:active,
  .wizard-btn:active,
  .selectable-card:active,
  .gallery-item:hover {
    transform: none;
  }

  .wizard-step.is-active,
  .wizard-step.slide-in-right,
  .wizard-step.slide-in-left {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .progress-fill {
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }

  /* Carousel: instant transitions, no autoplay handled by JS */
  .carousel-slide {
    transition-duration: 0.01s;
  }
}

/* -----------------------------------------------------------------------------
   22b. EXTENDED RESPONSIVE BREAKPOINTS
   ----------------------------------------------------------------------------- */

/* Ultra-small phones (< 360px) */
@media (max-width: 359px) {
  .heading-display {
    font-size: 2rem;
  }

  .wizard {
    padding: 0.75rem;
    border-radius: var(--radius-card);
  }

  .step-label {
    font-size: 0.55rem;
    letter-spacing: 0.01em;
  }

  .step-indicator {
    width: 28px;
    height: 28px;
  }

  .step-number {
    font-size: 0.7rem;
  }

  .progress-track {
    top: 14px;
  }

  .toggle-switch label {
    padding: 0 0.75rem;
    font-size: 0.75rem;
  }

  .carousel-controls {
    gap: 0.5rem;
    padding: 0.5rem;
  }

  .carousel-btn {
    width: 30px;
    height: 30px;
  }
}

/* Ultra-wide desktop (1440px+) */
@media (min-width: 1440px) {
  .container {
    max-width: 1200px;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
  }
}

/* -----------------------------------------------------------------------------
   22. PRINT STYLES
   ----------------------------------------------------------------------------- */
@media print {

  .site-nav,
  .hero-cta,
  .nav-cta,
  .wizard-nav,
  .wizard-progress,
  .gallery-section,
  .lightbox {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .wizard {
    box-shadow: none;
    border: 1px solid #ccc;
  }

  .wizard-step {
    display: block !important;
    animation: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }
}