/* ═══════════════════════════════════════════════════
   JESSICA WOODALL — Portfolio Design System
   Luxury / Fashion / Refined aesthetic
   ═══════════════════════════════════════════════════ */

/* ─── Theme-invariant tokens ───
   These colors stay the same in light AND dark mode. Use them when you
   need a guaranteed dark or light hue regardless of which theme the user
   is in — typically on dark hero overlays, on white-pill buttons, or on
   the always-dark reel/footer sections. Previously many of these sites
   used var(--color-text) as a background, which flips in dark mode and
   causes white-on-white (or dark-on-dark) contrast failures. */
:root {
  --color-always-dark:      #1a1815;  /* matches light-mode --color-text */
  --color-always-light:     #faf9f6;  /* matches light-mode --color-bg   */
  --color-always-light-muted: rgba(250, 249, 246, 0.72);
  --color-always-light-faint: rgba(250, 249, 246, 0.48);
}

:root, [data-theme="light"] {
  /* Type Scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero: clamp(3rem,     0.5rem  + 7vw,    8rem);

  /* Spacing (4px system) */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Surfaces — warm ivory/cream for luxury feel */
  --color-bg:             #faf9f6;
  --color-surface:        #f5f3ef;
  --color-surface-2:      #ede9e3;
  --color-surface-offset: #f0ece6;
  --color-divider:        #d9d3ca;
  --color-border:         #c8c0b5;

  /* Text — deep charcoal with warm undertone */
  --color-text:           #1a1815;
  --color-text-muted:     #706b63;
  --color-text-faint:     #a8a29e;
  --color-text-inverse:   #faf9f6;

  /* Primary Accent — warm rose gold */
  --color-primary:        #b08968;
  --color-primary-hover:  #997558;
  --color-primary-active: #7d5f47;
  --color-primary-light:  #d4b89c;

  /* Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 600ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(26,24,21,0.05);
  --shadow-md: 0 4px 12px rgba(26,24,21,0.08);
  --shadow-lg: 0 12px 32px rgba(26,24,21,0.12);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
  --content-max: 1400px;

  /* Fonts */
  --font-display: 'Cormorant', 'Georgia', serif;
  --font-body: 'Switzer', 'Helvetica Neue', sans-serif;
}

[data-theme="dark"] {
  --color-bg:             #121110;
  --color-surface:        #1a1917;
  --color-surface-2:      #222120;
  --color-surface-offset: #1e1d1b;
  --color-divider:        #2e2c2a;
  --color-border:         #3a3836;
  --color-text:           #e8e4df;
  --color-text-muted:     #908a82;
  --color-text-faint:     #5a5650;
  --color-text-inverse:   #121110;
  --color-primary:        #d4a574;
  --color-primary-hover:  #c49464;
  --color-primary-active: #b08354;
  --color-primary-light:  #3d3028;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg:             #121110;
    --color-surface:        #1a1917;
    --color-surface-2:      #222120;
    --color-surface-offset: #1e1d1b;
    --color-divider:        #2e2c2a;
    --color-border:         #3a3836;
    --color-text:           #e8e4df;
    --color-text-muted:     #908a82;
    --color-text-faint:     #5a5650;
    --color-text-inverse:   #121110;
    --color-primary:        #d4a574;
    --color-primary-hover:  #c49464;
    --color-primary-active: #b08354;
    --color-primary-light:  #3d3028;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.5);
  }
}

/* ═══════════════════════════════════════════════════
   GLOBAL LAYOUT
   ═══════════════════════════════════════════════════ */

.container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.container--narrow { max-width: var(--content-default); }

section {
  padding-block: clamp(var(--space-12), 8vw, var(--space-32));
}

/* ═══════════════════════════════════════════════════
   HEADER / NAVIGATION
   ═══════════════════════════════════════════════════ */

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: var(--space-5) 0;
  background: transparent;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, padding 0.4s ease;
}

/* When header is over hero (not scrolled), make nav white */
.header:not(.header--scrolled) .nav-links a { color: rgba(255,255,255,0.85); }
.header:not(.header--scrolled) .nav-links a:hover { color: #fff; }
.header:not(.header--scrolled) .logo { color: #fff; }
.header:not(.header--scrolled) .theme-toggle { color: rgba(255,255,255,0.7); }
.header:not(.header--scrolled) .theme-toggle:hover { color: #fff; }
.header:not(.header--scrolled) .nav-burger span { background: #fff; }

.header--scrolled {
  background: color-mix(in srgb, var(--color-bg) 85%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: var(--space-3) 0;
  box-shadow: var(--shadow-sm);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text);
  text-decoration: none;
}

.logo span {
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--color-primary);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover { color: var(--color-text); }
.nav-links a:hover::after { width: 100%; }

.theme-toggle {
  color: var(--color-text-muted);
  padding: var(--space-2);
  border-radius: var(--radius-full);
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-interactive);
}
.theme-toggle:hover { color: var(--color-text); }

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: var(--space-2);
  min-width: 44px;
  min-height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav-burger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--color-text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile Nav */
@media (max-width: 768px) {
  .nav-burger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    width: min(85vw, 360px);
    height: 100dvh;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-10);
    background: var(--color-bg);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 200;
    padding: var(--space-8);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: var(--text-sm); letter-spacing: 0.25em; }
  .nav-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.4);
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 150;
  }
  .nav-overlay.open { opacity: 1; pointer-events: auto; }
}

/* ═══════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════ */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero__bg {
  position: absolute; inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,24,21,0.82) 0%,
    rgba(26,24,21,0.62) 45%,
    rgba(26,24,21,0.45) 100%
  );
  z-index: 1;
}

/* On mobile, the content sits over the middle/bottom of the photo where the
   gradient is lightest — layer a vertical scrim so text stays readable */
@media (max-width: 768px) {
  .hero__overlay {
    background:
      linear-gradient(
        180deg,
        rgba(26,24,21,0.55) 0%,
        rgba(26,24,21,0.80) 45%,
        rgba(26,24,21,0.92) 100%
      );
  }
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: var(--space-8);
  max-width: 700px;
}

.hero__tagline {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
  margin-bottom: var(--space-4);
  opacity: 0;
  animation: fadeUp 1s 0.3s forwards;
}

.hero__name {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 300;
  line-height: 0.95;
  color: #fff;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
  margin-bottom: var(--space-6);
  opacity: 0;
  animation: fadeUp 1s 0.5s forwards;
}

.hero__name em {
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.9);
}

.hero__desc {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: rgba(255,255,255,0.95);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: var(--space-8);
  text-shadow: 0 1px 2px rgba(0,0,0,0.4); /* guarantees legibility over photo */
  opacity: 0;
  animation: fadeUp 1s 0.7s forwards;
}

.hero__ctas {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s 0.9s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  min-height: 44px;           /* ensures mobile tap target */
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn--primary {
  background: #fff;
  /* Always dark text — button is a white pill regardless of theme */
  color: var(--color-always-dark);
  border-color: #fff;
}
.btn--primary:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}
.btn--outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.12);
}

.btn--dark {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn--dark:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.hero__scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.5);
  animation: float 3s ease-in-out infinite;
}

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

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

/* ═══════════════════════════════════════════════════
   ABOUT / BIO SECTION
   ═══════════════════════════════════════════════════ */

.about {
  background: var(--color-bg);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-8), 6vw, var(--space-16));
  align-items: center;
}

.about__image-wrap {
  position: relative;
  overflow: hidden;
}

.about__image-wrap img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.about__image-accent {
  position: absolute;
  top: -20px; left: -20px;
  width: 100px; height: 100px;
  border: 1px solid var(--color-primary);
  opacity: 0.3;
}

.about__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.about__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 300;
  color: var(--color-text);
  margin-bottom: var(--space-6);
  line-height: 1.1;
}

.about__text {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  line-height: 1.8;
}

.about__text:last-of-type { margin-bottom: var(--space-8); }

/* Stats Row */
.stats-row {
  display: flex;
  gap: var(--space-10);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
}

.stat__value {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--color-text);
  display: block;
}

.stat__label {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .about__grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .stats-row { gap: var(--space-6); flex-wrap: wrap; }
}

/* ═══════════════════════════════════════════════════
   MEASUREMENTS / COMP CARD SECTION
   ═══════════════════════════════════════════════════ */

.measurements {
  background: var(--color-surface);
}

.measurements__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-8), 6vw, var(--space-16));
  align-items: center;
}

.measurements__content { order: 2; }
.measurements__image { order: 1; }

.measurements__image img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
}

.comp-card {
  background: var(--color-bg);
  padding: clamp(var(--space-6), 4vw, var(--space-10));
  border: 1px solid var(--color-divider);
}

.comp-card__header {
  text-align: center;
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-divider);
  margin-bottom: var(--space-6);
}

.comp-card__name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text);
}

.comp-card__subtitle {
  font-size: var(--text-xs);
  color: var(--color-primary);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: var(--space-1);
}

.comp-card__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

.comp-card__item {
  text-align: center;
  padding: var(--space-3);
}

.comp-card__label {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: var(--space-1);
}

.comp-card__value {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--color-text);
}

.comp-card__agencies {
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
  text-align: center;
}

.comp-card__agencies-label {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

.comp-card__agency-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2) var(--space-4);
}

.comp-card__agency-list li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .measurements__inner { grid-template-columns: 1fr; }
  .measurements__content { order: 1; }
  .measurements__image { order: 2; }
}

/* ═══════════════════════════════════════════════════
   PORTFOLIO / GALLERY
   ═══════════════════════════════════════════════════ */

.portfolio {
  background: var(--color-bg);
}

.section-header {
  text-align: center;
  margin-bottom: clamp(var(--space-8), 5vw, var(--space-16));
}

.section-header__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.section-header__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 300;
  color: var(--color-text);
}

/* Filter tabs */
.portfolio__filters {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-10);
  flex-wrap: wrap;
}

.filter-btn {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  padding: var(--space-2) var(--space-4);
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
}

.filter-btn:hover { color: var(--color-text); border-color: var(--color-divider); }
.filter-btn.active { color: var(--color-primary); border-color: var(--color-primary); }

/* Masonry Grid */
.gallery-grid {
  columns: 3;
  column-gap: var(--space-4);
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: var(--space-4);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-item__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,24,21,0.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  padding: var(--space-5);
}

.gallery-item:hover .gallery-item__overlay { opacity: 1; }

.gallery-item__label {
  font-size: var(--text-xs);
  color: #fff;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

@media (max-width: 960px) { .gallery-grid { columns: 2; } }
@media (max-width: 480px) { .gallery-grid { columns: 1; column-gap: var(--space-3); } }

/* ═══════════════════════════════════════════════════
   EXPERIENCE / SERVICES
   ═══════════════════════════════════════════════════ */

.experience {
  background: var(--color-surface);
}

.experience__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}

.exp-card {
  padding: clamp(var(--space-6), 4vw, var(--space-8));
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

[data-theme="dark"] .exp-card {
  /* Slightly lifted surface + warmer border for visibility in dark mode */
  background: var(--color-surface);
  border-color: rgba(232, 228, 223, 0.14);
}

.exp-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

[data-theme="dark"] .exp-card:hover {
  background: var(--color-surface-2);
}

.exp-card__icon {
  font-size: var(--text-xl);
  margin-bottom: var(--space-4);
}

.exp-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.exp-card__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════
   AGENCIES / REPRESENTATION
   ═══════════════════════════════════════════════════ */

.agencies {
  background: var(--color-bg);
}

.agencies__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-6);
}

.agency-card {
  text-align: center;
  padding: var(--space-8) var(--space-6);
  border: 1px solid var(--color-divider);
  transition: border-color 0.3s ease;
}

.agency-card:hover { border-color: var(--color-primary); }

.agency-card__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.agency-card__location {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════
   TESTIMONIALS / PRESS
   ═══════════════════════════════════════════════════ */

.press {
  background: var(--color-surface);
}

.press__quote {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.press__quote blockquote {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 300;
  font-style: italic;
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: var(--space-6);
}

.press__quote cite {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-style: normal;
  color: var(--color-primary);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════
   CONTACT / BOOKING
   ═══════════════════════════════════════════════════ */

.contact {
  background: var(--color-bg);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-8), 6vw, var(--space-16));
}

.contact__info-item {
  margin-bottom: var(--space-6);
}

.contact__info-label {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: var(--space-1);
}

.contact__info-value {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text);
}

.contact__info-value a {
  color: var(--color-text);
  text-decoration: none;
}
.contact__info-value a:hover { color: var(--color-primary); }

.contact__form { display: flex; flex-direction: column; gap: var(--space-4); }

.form-group { display: flex; flex-direction: column; gap: var(--space-1); }

.form-group label {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  padding: var(--space-3) var(--space-4);
  /* 16px on mobile prevents iOS Safari from auto-zooming on focus — the
     #1 cause of the "shift and zoom out after inputs" problem. Slightly
     larger type on desktop is fine. */
  font-size: 16px;
  color: var(--color-text);
  transition: border-color 0.3s ease;
  min-height: 48px;            /* comfortable mobile tap target */
}

@media (min-width: 768px) {
  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: var(--text-sm);
  }
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
}

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

.btn--submit {
  align-self: flex-start;
  background: var(--color-text);
  color: var(--color-text-inverse);
  border: 1px solid var(--color-text);
  padding: var(--space-3) var(--space-10);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn--submit:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

@media (max-width: 768px) {
  .contact__grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════
   INSTAGRAM FEED SECTION
   ═══════════════════════════════════════════════════ */

.instagram {
  background: var(--color-surface);
}

.instagram__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-2);
}

.instagram__item {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
}

.instagram__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.instagram__item:hover img { transform: scale(1.08); }

.instagram__item-overlay {
  position: absolute; inset: 0;
  background: rgba(176,137,104,0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.instagram__item:hover .instagram__item-overlay { opacity: 1; }

.instagram__item-overlay svg { color: #fff; width: 24px; height: 24px; }

.instagram__handle {
  text-align: center;
  margin-top: var(--space-8);
}

.instagram__handle a {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-primary);
  text-decoration: none;
  letter-spacing: 0.1em;
}

.instagram__handle a:hover { color: var(--color-primary-hover); }

@media (max-width: 768px) {
  .instagram__grid { grid-template-columns: repeat(3, 1fr); }
}

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

.footer {
  background: var(--color-text);
  color: var(--color-text-inverse);
  padding: var(--space-12) 0 var(--space-6);
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: var(--space-8);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
  gap: var(--space-8);
}

.footer__brand {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer__social {
  display: flex;
  gap: var(--space-4);
}

.footer__social a {
  color: rgba(255,255,255,0.6);
  transition: color 0.3s ease;
}
.footer__social a:hover { color: #fff; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer__copyright {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
}

.footer__attribution {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.3);
}

.footer__attribution a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
}
.footer__attribution a:hover { color: rgba(255,255,255,0.7); }

/* ═══════════════════════════════════════════════════
   LIGHTBOX
   ═══════════════════════════════════════════════════ */

.lightbox {
  position: fixed; inset: 0;
  z-index: 500;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.lightbox.open { opacity: 1; pointer-events: auto; }

.lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: var(--space-6); right: var(--space-6);
  color: #fff;
  font-size: var(--text-xl);
  padding: var(--space-2);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: var(--text-xl);
  padding: var(--space-4);
  opacity: 0.6;
  transition: opacity 0.3s ease;
}
.lightbox__nav:hover { opacity: 1; }
.lightbox__prev { left: var(--space-4); }
.lightbox__next { right: var(--space-4); }

/* ═══════════════════════════════════════════════════
   REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ═══════════════════════════════════════════════════
   NAV CTA BUTTON
   ═══════════════════════════════════════════════════ */

.nav-cta {
  background: var(--color-primary) !important;
  color: #fff !important;
  padding: var(--space-2) var(--space-5) !important;
  border-radius: var(--radius-full) !important;
  letter-spacing: 0.15em !important;
}
.nav-cta:hover {
  background: var(--color-primary-hover) !important;
}
.nav-cta::after { display: none !important; }

.header:not(.header--scrolled) .nav-cta {
  background: #fff !important;
  /* Always dark text — white pill button needs to stay readable in dark mode too */
  color: var(--color-always-dark) !important;
}
.header:not(.header--scrolled) .nav-cta:hover {
  background: var(--color-primary) !important;
  color: #fff !important;
}

/* ═══════════════════════════════════════════════════
   CONNECT / SOCIAL LINKS SECTION
   ═══════════════════════════════════════════════════ */

.connect {
  background: var(--color-bg);
}

.connect__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.connect__card {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-5) var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  text-decoration: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.connect__card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.connect__card-icon {
  color: var(--color-primary);
  flex-shrink: 0;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-surface-offset);
  border-radius: var(--radius-lg);
}

.connect__card-info { flex: 1; min-width: 0; }

.connect__card-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: 2px;
}

.connect__card-handle {
  font-size: var(--text-sm);
  color: var(--color-primary);
  margin-bottom: 4px;
}

.connect__card-meta {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.connect__card-arrow {
  font-size: var(--text-lg);
  color: var(--color-text-faint);
  transition: color 0.3s ease, transform 0.3s ease;
  flex-shrink: 0;
}

.connect__card:hover .connect__card-arrow {
  color: var(--color-primary);
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .connect__grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════
   BOOKING — MODAL WIDGET + MULTI-STEP FORM
   ═══════════════════════════════════════════════════ */

/* Modal shell */
.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(var(--space-3), 3vw, var(--space-6));
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.booking-modal.is-open {
  display: flex;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0s linear 0s;
}

.booking-modal__backdrop {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--color-text) 55%, transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}

.booking-modal__panel {
  position: relative;
  width: min(860px, 100%);
  max-height: min(92vh, 900px);
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.35), 0 10px 30px -10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.booking-modal.is-open .booking-modal__panel {
  transform: translateY(0) scale(1);
}

.booking-modal__close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  color: var(--color-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.booking-modal__close:hover {
  background: var(--color-text);
  color: var(--color-bg);
  border-color: var(--color-text);
  transform: rotate(90deg);
}
.booking-modal__close:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.booking-modal__body {
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: clamp(var(--space-6), 4vw, var(--space-10)) clamp(var(--space-5), 4vw, var(--space-10));
}

/* Scroll lock applied to <html> when modal open */
html.booking-modal-open,
html.booking-modal-open body {
  overflow: hidden;
}

/* Mobile: true full-screen sheet for maximum stability — no gutters, no
   bottom-sheet bounce, the whole viewport is the form. This eliminates the
   "shift and zoom out" behavior caused by a floating panel resizing as
   different steps render different amounts of content. */
@media (max-width: 640px) {
  .booking-modal {
    padding: 0;
    align-items: stretch;
    justify-content: stretch;
  }
  .booking-modal__panel {
    width: 100%;
    max-width: none;
    height: 100dvh;           /* full viewport */
    max-height: 100dvh;
    border-radius: 0;
    transform: translateY(20px);
  }
  .booking-modal.is-open .booking-modal__panel {
    transform: translateY(0);
  }
  .booking-modal__close {
    top: var(--space-3);
    right: var(--space-3);
    width: 44px;
    height: 44px;
  }
  .booking-modal__body {
    /* Leave room at the bottom for the sticky nav bar + iOS safe area */
    padding: var(--space-6) var(--space-4) calc(96px + env(safe-area-inset-bottom, 0px));
  }

  /* Compact the modal header and step indicator on phones so the actual
     step content gets more vertical room above the fold. */
  .booking-modal__panel .booking__header {
    margin-bottom: var(--space-4);
  }
  .booking-modal__panel .booking__header .booking__title {
    font-size: var(--text-xl);
  }
  .booking-modal__panel .booking__subtitle {
    display: none;           /* subtitle is redundant with panel-desc on mobile */
  }
  .booking-modal__panel .booking__steps {
    margin-bottom: var(--space-5);
  }
  .booking__panel-title {
    font-size: var(--text-lg);
  }
  .booking__panel-desc {
    font-size: 14px;
    margin-bottom: var(--space-5);
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .booking-modal,
  .booking-modal__panel {
    transition: none;
  }
  .booking-modal__panel {
    transform: none;
  }
}

/* Inside-modal tweaks — the form used to live in a full section */
.booking-modal__panel .booking__header {
  margin-bottom: var(--space-6);
}
.booking-modal__panel .booking__steps {
  margin-bottom: var(--space-6);
}

/* Ensure `hidden` attribute wins over display: flex on form chrome */
.booking-modal__panel [hidden] { display: none !important; }

/* Label row for date field: label on the left, "Flexible / TBD" toggle on the right */
.form-group__label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.form-group__label-row > label:first-child {
  margin-bottom: 0;
  flex: 0 1 auto;
  white-space: nowrap;
}

.booking__flexible-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-muted);
  cursor: pointer;
  user-select: none;
  letter-spacing: 0.02em;
}
.booking__flexible-toggle input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: var(--color-primary);
  cursor: pointer;
  margin: 0;
}
.booking__flexible-toggle:hover span { color: var(--color-text); }

/* Flatpickr palette override — match warm ivory + rose gold */
.flatpickr-calendar {
  font-family: var(--font-body) !important;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.18), 0 4px 12px -4px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid var(--color-divider) !important;
  border-radius: var(--radius-md) !important;
  background: var(--color-bg) !important;
}
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover,
.flatpickr-day.selected.prevMonthDay,
.flatpickr-day.startRange.prevMonthDay,
.flatpickr-day.endRange.prevMonthDay,
.flatpickr-day.selected.nextMonthDay,
.flatpickr-day.startRange.nextMonthDay,
.flatpickr-day.endRange.nextMonthDay {
  background: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
  color: #fff !important;
}
.flatpickr-day.inRange {
  background: color-mix(in srgb, var(--color-primary) 18%, var(--color-bg)) !important;
  border-color: transparent !important;
  box-shadow: -5px 0 0 color-mix(in srgb, var(--color-primary) 18%, var(--color-bg)), 5px 0 0 color-mix(in srgb, var(--color-primary) 18%, var(--color-bg)) !important;
  color: var(--color-text) !important;
}
.flatpickr-day:hover { background: var(--color-surface) !important; }
.flatpickr-day.today { border-color: var(--color-primary) !important; }
.flatpickr-months .flatpickr-month,
.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
  color: var(--color-text) !important;
}
.flatpickr-weekday { color: var(--color-text-muted) !important; }
.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month { fill: var(--color-text-muted) !important; }
.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover { fill: var(--color-primary) !important; }

/* Dark mode support for the calendar */
[data-theme="dark"] .flatpickr-calendar {
  background: var(--color-surface) !important;
  border-color: var(--color-divider) !important;
}
[data-theme="dark"] .flatpickr-day { color: var(--color-text) !important; }
[data-theme="dark"] .flatpickr-day.flatpickr-disabled,
[data-theme="dark"] .flatpickr-day.prevMonthDay,
[data-theme="dark"] .flatpickr-day.nextMonthDay { color: var(--color-text-faint) !important; }

/* ─── Booking success / error panels ─── */
.booking__success,
.booking__error-state {
  text-align: center;
  padding: var(--space-4) 0 var(--space-2);
}

.booking__success-icon,
.booking__error-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin: 0 auto var(--space-6);
  background: color-mix(in srgb, var(--color-primary) 10%, var(--color-bg));
  color: var(--color-primary);
  animation: booking-success-pop 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.booking__error-icon {
  background: color-mix(in srgb, #b42318 10%, var(--color-bg));
  color: #b42318;
}

@keyframes booking-success-pop {
  0%   { transform: scale(0.6); opacity: 0; }
  60%  { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

.booking__success-title,
.booking__error-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  font-weight: 300;
  color: var(--color-text);
  margin: 0 0 var(--space-3);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.booking__success-text,
.booking__error-text {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto var(--space-5);
}
.booking__success-text strong {
  color: var(--color-text);
  font-weight: 500;
  overflow-wrap: anywhere;
}

.booking__success-meta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 8px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}
.booking__success-id { color: var(--color-primary); }
.booking__success-divider { opacity: 0.4; }

.booking__success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}
.booking__success-actions .btn { min-width: 180px; justify-content: center; }

.booking__success-note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin: 0;
}
.booking__success-note a {
  color: var(--color-text-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--color-divider);
}
.booking__success-note a:hover { color: var(--color-primary); border-bottom-color: var(--color-primary); }

/* Submit button loading state */
.btn--booking-submit.is-loading {
  position: relative;
  pointer-events: none;
  color: transparent !important;
}
.btn--booking-submit.is-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: booking-spin 0.7s linear infinite;
}
@keyframes booking-spin {
  to { transform: rotate(360deg); }
}

.booking {
  background: var(--color-surface);
}

.booking__inner {
  max-width: 800px;
  margin: 0 auto;
}

.booking__header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.booking__subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 560px;
  margin: var(--space-4) auto 0;
  line-height: 1.7;
}

/* Step Indicator */
.booking__steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: var(--space-10);
}

.booking__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  position: relative;
}

.booking__step-num {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-divider);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-faint);
  background: var(--color-bg);
  transition: all 0.4s ease;
}

.booking__step.active .booking__step-num,
.booking__step.completed .booking__step-num {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
}

.booking__step-label {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.4s ease;
}

.booking__step.active .booking__step-label,
.booking__step.completed .booking__step-label {
  color: var(--color-primary);
}

.booking__step-line {
  flex: 1;
  max-width: 80px;
  height: 2px;
  background: var(--color-divider);
  margin: 0 var(--space-3);
  margin-bottom: var(--space-6);
  transition: background 0.4s ease;
}

.booking__step-line.active {
  background: var(--color-primary);
}

@media (max-width: 600px) {
  .booking__step-label { display: none; }
  .booking__step-num { width: 32px; height: 32px; font-size: var(--text-xs); }
  .booking__step-line { max-width: 40px; margin-bottom: 0; }
}

/* Panels */
.booking__panel {
  display: none;
  /* Panels swap instantly on mobile to avoid layout jitter when content
     height changes between steps. On desktop we keep a subtle fade only. */
  animation: none;
}

@media (min-width: 768px) {
  .booking__panel {
    animation: fadeUp 0.4s ease;
  }
}

.booking__panel.active { display: block; }

.booking__panel-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 300;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.booking__panel-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

/* Option Cards (Category & Budget) */
.booking__options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

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

.booking__option input {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}

.booking__option-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-1);
  padding: var(--space-5) var(--space-4);
  background: var(--color-bg);
  border: 2px solid var(--color-divider);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s ease;
}

.booking__option-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.booking__option input:checked + .booking__option-card {
  border-color: var(--color-primary);
  background: color-mix(in srgb, var(--color-primary) 6%, var(--color-bg));
  box-shadow: 0 0 0 1px var(--color-primary);
}

.booking__option-icon {
  font-size: var(--text-lg);
  color: var(--color-text-faint);
  margin-bottom: var(--space-1);
}

.booking__option input:checked + .booking__option-card .booking__option-icon {
  color: var(--color-primary);
}

.booking__option-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--color-text);
}

.booking__option-desc {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  line-height: 1.4;
}

@media (max-width: 600px) {
  .booking__options { grid-template-columns: 1fr; }
  .booking__options--budget { grid-template-columns: 1fr 1fr; }
}

/* Fields row */
.booking__fields-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

@media (max-width: 600px) {
  .booking__fields-row { grid-template-columns: 1fr; }
}

/* Availability note */
.booking__availability-note {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: color-mix(in srgb, var(--color-primary) 6%, var(--color-bg));
  border-left: 3px solid var(--color-primary);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-4);
  margin-bottom: var(--space-6);
}

.booking__availability-note svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

/* Nav buttons */
.booking__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
}

/* On mobile, pin the Next/Back/Submit controls to the bottom of the modal so
   they're always reachable without hunting as steps change height. The
   buttons live inside each step panel but are identically positioned across
   steps, giving a rock-solid, predictable footprint. */
@media (max-width: 640px) {
  .booking-modal__panel .booking__nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: var(--space-3) var(--space-4);
    padding-bottom: calc(var(--space-3) + env(safe-area-inset-bottom, 0px));
    background: color-mix(in srgb, var(--color-bg) 96%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--color-divider);
    z-index: 5;
  }
  .booking-modal__panel .booking__nav .btn {
    flex: 1;
    min-width: 0;
    padding-left: var(--space-4);
    padding-right: var(--space-4);
    font-size: 11px;
  }
  /* When a step only has one button (first step with just "Continue"), let
     it stretch across the full width. */
  .booking-modal__panel .booking__nav:has(> .btn:only-child) {
    justify-content: stretch;
  }
}

.btn--booking-next:disabled,
.btn--booking-submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn--booking-submit {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.btn--booking-submit:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
}

/* Summary box */
.booking__summary {
  background: var(--color-surface-offset);
  border: 1px solid var(--color-divider);
  padding: var(--space-5);
  margin-bottom: var(--space-6);
  border-radius: var(--radius-md);
}

.booking__summary-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-divider);
}

.booking__summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.booking__summary-label {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.booking__summary-value {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════
   STICKY BOOKING CTA BAR
   ═══════════════════════════════════════════════════ */

.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  /* Always-dark bar regardless of theme — gives guaranteed contrast for light text inside */
  background: color-mix(in srgb, var(--color-always-dark) 95%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: var(--space-3) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sticky-cta.visible { transform: translateY(0); }

.sticky-cta__text {
  font-size: var(--text-sm);
  color: var(--color-always-light-muted);
}

.sticky-cta__text strong {
  color: var(--color-always-light);
}

.sticky-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  /* White pill with always-dark text for strong contrast on the dark bar */
  background: var(--color-always-light);
  color: var(--color-always-dark);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-full);
  min-height: 44px; /* mobile tap target */
  transition: background 0.3s ease, color 0.3s ease;
}

.sticky-cta__btn:hover {
  background: var(--color-primary);
  color: #fff;
}

.sticky-cta__social {
  display: flex;
  gap: var(--space-3);
  margin-left: auto;
}

.sticky-cta__social a {
  color: rgba(250, 249, 246, 0.82);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;   /* mobile tap target */
  height: 44px;
  transition: color 0.3s ease;
}
.sticky-cta__social a:hover { color: var(--color-always-light); }

@media (max-width: 768px) {
  .sticky-cta { gap: var(--space-3); padding: var(--space-3) var(--space-4); }
  .sticky-cta__text { display: none; }
  .sticky-cta__social { margin-left: 0; }
}

/* ═══════════════════════════════════════════════════
   REEL MODAL — Instagram video player
   ═══════════════════════════════════════════════════ */

.reel-modal {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(var(--space-3), 3vw, var(--space-6));
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.reel-modal.is-open {
  display: flex;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0s linear 0s;
}

.reel-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}

.reel-modal__panel {
  position: relative;
  width: min(440px, 100%);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  transform: translateY(10px) scale(0.98);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.reel-modal.is-open .reel-modal__panel {
  transform: translateY(0) scale(1);
}

.reel-modal__close {
  position: absolute;
  top: -52px;
  right: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s ease, transform 0.2s ease;
}
.reel-modal__close:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: rotate(90deg);
}
.reel-modal__close:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.reel-modal__frame-wrap {
  width: 100%;
  /* Instagram reels are 9:16 \u2014 the captioned embed is slightly taller because of the caption panel */
  aspect-ratio: 9 / 16;
  max-height: calc(92vh - 80px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px -10px rgba(0, 0, 0, 0.6);
  background: #111;
}
.reel-modal__frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.reel-modal__caption {
  margin: 0;
  font-size: var(--text-sm);
  text-align: center;
}
.reel-modal__caption a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.reel-modal__caption a:hover {
  color: #fff;
  border-bottom-color: #fff;
}

/* Lock body scroll while open */
html.reel-modal-open,
html.reel-modal-open body {
  overflow: hidden;
}

/* Mobile: panel fills more of the screen, close button moves inside top-right */
@media (max-width: 640px) {
  .reel-modal { padding: var(--space-2); }
  .reel-modal__panel { width: 100%; gap: var(--space-2); }
  .reel-modal__close {
    top: var(--space-2);
    right: var(--space-2);
    background: rgba(0, 0, 0, 0.55);
    border-color: rgba(255, 255, 255, 0.3);
    width: 36px;
    height: 36px;
  }
  .reel-modal__frame-wrap {
    max-height: calc(100vh - 60px);
    border-radius: var(--radius-md);
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .reel-modal,
  .reel-modal__panel { transition: none; }
  .reel-modal__panel { transform: none; }
  .reel-modal__close:hover { transform: none; }
}

/* Make the reel cards feel interactive */
.reel__card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.reel__card:hover {
  transform: translateY(-4px);
}
.reel__card:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
  border-radius: var(--radius-md);
}
