/* ==========================================================================
   Golden Moments Rentals — Shared Stylesheet
   Palette, typography, layout primitives, nav, footer, cards, buttons.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Google Fonts Import
   Display: Cormorant Garamond (400, 400i, 600, 700)
   Body:    Nunito Sans (300, 400, 500, 600)
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Nunito+Sans:wght@300;400;500;600&display=swap');

/* --------------------------------------------------------------------------
   CSS Custom Properties — Brand Palette
   -------------------------------------------------------------------------- */
:root {
  /* Core palette */
  --color-cream:        #FAF7F2;   /* warm off-white — page background       */
  --color-ivory:        #F3EDE3;   /* slightly warmer — card backgrounds      */
  --color-rose:         #C9A89A;   /* dusty rose — primary accent             */
  --color-rose-light:   #E8D5CF;   /* soft rose — hover tints, chip bg       */
  --color-rose-dark:    #A07868;   /* deeper rose — hover states on buttons   */
  --color-sage:         #8FAF8F;   /* sage green — secondary accent           */
  --color-sage-light:   #D4E4D4;   /* pale sage — tags, soft backgrounds      */
  --color-gold:         #C4A253;   /* soft gold — decorative accents, borders */
  --color-gold-light:   #E8D9A8;   /* champagne — gold tints                  */

  /* Neutrals */
  --color-charcoal:     #3A3530;   /* warm near-black — primary text          */
  --color-stone:        #7A726A;   /* warm mid-gray — secondary text          */
  --color-pebble:       #B0A89E;   /* light warm gray — borders, dividers     */
  --color-mist:         #E8E3DD;   /* very light warm gray — section bgs      */

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Nunito Sans', system-ui, sans-serif;

  /* Type scale */
  --text-xs:    0.75rem;
  --text-sm:    0.875rem;
  --text-base:  1rem;
  --text-lg:    1.125rem;
  --text-xl:    1.25rem;
  --text-2xl:   1.5rem;
  --text-3xl:   1.875rem;
  --text-4xl:   2.25rem;
  --text-5xl:   3rem;
  --text-6xl:   3.75rem;
  --text-7xl:   4.5rem;

  /* Spacing (8px grid) */
  --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;

  /* Border radius */
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(58,53,48,0.07), 0 1px 2px rgba(58,53,48,0.04);
  --shadow-md:  0 4px 12px rgba(58,53,48,0.09), 0 2px 4px rgba(58,53,48,0.05);
  --shadow-lg:  0 8px 28px rgba(58,53,48,0.11), 0 4px 8px rgba(58,53,48,0.06);
  --shadow-xl:  0 20px 48px rgba(58,53,48,0.13), 0 8px 16px rgba(58,53,48,0.07);

  /* Transitions */
  --transition-fast:   150ms ease-out;
  --transition-base:   220ms ease-out;
  --transition-slow:   350ms ease-out;

  /* Layout */
  --max-width: 1240px;
  --nav-height: 72px;
}

/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-charcoal);
  background-color: var(--color-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-charcoal);
  text-wrap: balance;
}

p {
  max-width: 68ch;
}

/* --------------------------------------------------------------------------
   Skip Navigation (Accessibility)
   -------------------------------------------------------------------------- */
.skip-nav {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: 9999;
  background: var(--color-charcoal);
  color: var(--color-cream);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  transition: top var(--transition-fast);
}
.skip-nav:focus {
  top: var(--space-4);
}

/* --------------------------------------------------------------------------
   Focus Styles
   -------------------------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--color-rose);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

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

@media (min-width: 768px) {
  .container { padding-inline: var(--space-8); }
}
@media (min-width: 1024px) {
  .container { padding-inline: var(--space-12); }
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background-color: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-mist);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

/* Logo */
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
  color: var(--color-charcoal);
  flex-shrink: 0;
}
.nav-logo__primary {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--color-charcoal);
}
.nav-logo__secondary {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-stone);
  margin-top: 1px;
}

/* Desktop nav links */
.nav-links {
  display: none;
  align-items: center;
  gap: var(--space-8);
}

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

.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-stone);
  transition: color var(--transition-fast);
  padding-bottom: 2px;
  border-bottom: 1.5px solid transparent;
  touch-action: manipulation;
}
.nav-links a:hover {
  color: var(--color-charcoal);
  border-bottom-color: var(--color-rose);
}
.nav-links a.active {
  color: var(--color-charcoal);
  border-bottom-color: var(--color-rose);
}

/* Nav CTA */
.nav-cta {
  display: none;
}
@media (min-width: 768px) {
  .nav-cta { display: block; }
}

/* Hamburger */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: var(--space-2);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  touch-action: manipulation;
  transition: background var(--transition-fast);
}
.nav-hamburger:hover {
  background: var(--color-mist);
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-charcoal);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}
@media (min-width: 768px) {
  .nav-hamburger { display: none; }
}

/* Hamburger → X */
.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--color-cream);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  text-align: center;
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu a {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 400;
  color: var(--color-charcoal);
  transition: color var(--transition-fast);
  touch-action: manipulation;
}
.mobile-menu a:hover {
  color: var(--color-rose);
}
.mobile-menu .mobile-menu__close {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  background: none;
  border: none;
  font-size: var(--text-2xl);
  cursor: pointer;
  color: var(--color-stone);
  touch-action: manipulation;
}
.mobile-menu__sub {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-stone);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1.5px solid transparent;
  text-decoration: none;
  transition: background var(--transition-base), color var(--transition-base),
              border-color var(--transition-base), transform var(--transition-fast),
              box-shadow var(--transition-base);
  touch-action: manipulation;
  white-space: nowrap;
  min-height: 44px;
}
.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--color-rose);
  color: var(--color-cream);
  border-color: var(--color-rose);
}
.btn-primary:hover {
  background: var(--color-rose-dark);
  border-color: var(--color-rose-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--color-charcoal);
  border-color: var(--color-pebble);
}
.btn-secondary:hover {
  background: var(--color-ivory);
  border-color: var(--color-rose);
  color: var(--color-charcoal);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--color-stone);
  border-color: transparent;
}
.btn-ghost:hover {
  color: var(--color-charcoal);
  background: var(--color-mist);
}

.btn-gold {
  background: var(--color-gold);
  color: var(--color-cream);
  border-color: var(--color-gold);
}
.btn-gold:hover {
  background: #b5923e;
  border-color: #b5923e;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: var(--text-xs);
  min-height: 36px;
}
.btn-lg {
  padding: 1rem 2.5rem;
  font-size: var(--text-base);
  min-height: 52px;
}

/* --------------------------------------------------------------------------
   Section Typography
   -------------------------------------------------------------------------- */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-rose);
  margin-bottom: var(--space-3);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 600;
  color: var(--color-charcoal);
  line-height: 1.15;
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--color-stone);
  line-height: 1.65;
}

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

.section-header--center {
  text-align: center;
}
.section-header--center p {
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Disclaimer Callout
   -------------------------------------------------------------------------- */
.disclaimer-callout {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-6) var(--space-8);
  background: var(--color-ivory);
  border: 1px solid var(--color-rose-light);
  border-left: 3px solid var(--color-rose);
  border-radius: var(--radius-md);
  max-width: 780px;
}
.disclaimer-callout__icon {
  font-size: var(--text-xl);
  flex-shrink: 0;
  margin-top: 1px;
}
.disclaimer-callout p {
  font-size: var(--text-base);
  color: var(--color-stone);
  line-height: 1.6;
  max-width: none;
}
.disclaimer-callout strong {
  color: var(--color-charcoal);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Cards (product / category / value)
   -------------------------------------------------------------------------- */
.card {
  background: var(--color-ivory);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-mist);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.card-img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--color-mist);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-pebble);
  font-size: var(--text-sm);
}

.card-body {
  padding: var(--space-6);
}

.card-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-rose);
  margin-bottom: var(--space-2);
}

.card-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: var(--space-2);
  line-height: 1.25;
}

.card-price {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-gold);
  font-variant-numeric: tabular-nums;
  margin-bottom: var(--space-3);
}

.card-desc {
  font-size: var(--text-sm);
  color: var(--color-stone);
  line-height: 1.6;
  margin-bottom: var(--space-5);
  max-width: none;
}

/* Color swatches */
.color-swatches {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}
.swatch {
  width: 18px;
  height: 18px;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(58,53,48,0.15);
  cursor: pointer;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.swatch:hover {
  transform: scale(1.2);
}
.swatch.is-active {
  border-color: var(--color-charcoal);
  box-shadow: 0 0 0 2px var(--color-cream), 0 0 0 3.5px var(--color-charcoal);
}
.swatch:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Gold divider ornament
   -------------------------------------------------------------------------- */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin: var(--space-8) 0;
  color: var(--color-gold);
}
.ornament::before,
.ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-gold-light), transparent);
}
.ornament span {
  font-size: var(--text-lg);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--color-charcoal);
  color: var(--color-pebble);
  padding: var(--space-20) 0 var(--space-8);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

@media (min-width: 640px) {
  .footer-inner { grid-template-columns: 2fr 1fr 1fr; }
}
@media (min-width: 1024px) {
  .footer-inner { grid-template-columns: 2.5fr 1fr 1fr 1.5fr; }
}

.footer-brand .nav-logo__primary {
  color: var(--color-cream);
}
.footer-brand .nav-logo__secondary {
  color: var(--color-pebble);
}
.footer-brand p {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-pebble);
  line-height: 1.7;
  max-width: 32ch;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-cream);
  margin-bottom: var(--space-5);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer-links a {
  font-size: var(--text-sm);
  color: var(--color-pebble);
  transition: color var(--transition-fast);
  touch-action: manipulation;
}
.footer-links a:hover {
  color: var(--color-cream);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-pebble);
  margin-bottom: var(--space-3);
}
.footer-contact-item span:first-child {
  flex-shrink: 0;
  margin-top: 1px;
}

.footer-social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-5);
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--color-pebble);
  font-size: var(--text-sm);
  transition: border-color var(--transition-fast), color var(--transition-fast),
              background var(--transition-fast);
  touch-action: manipulation;
}
.social-link:hover {
  border-color: var(--color-rose);
  color: var(--color-cream);
  background: rgba(201,168,154,0.2);
}

.footer-disclaimer {
  margin-top: var(--space-8);
  padding: var(--space-5) var(--space-6);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
}
.footer-disclaimer p {
  font-size: var(--text-xs);
  color: var(--color-pebble);
  line-height: 1.6;
  margin: 0;
  max-width: none;
}

.footer-bottom {
  margin-top: var(--space-6);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p, .footer-bottom a {
  font-size: var(--text-xs);
  color: var(--color-pebble);
}
.footer-bottom a:hover {
  color: var(--color-cream);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-5);
}

.footer-credit {
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--color-pebble);
  max-width: none;
  width: 100%;
}
.footer-credit-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  color: var(--color-pebble);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-credit-link span {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.footer-credit-link:hover {
  color: var(--color-cream);
}
.footer-credit-mark {
  width: 1.4em;
  height: 1.1em;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Page Hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  background: var(--color-mist);
  padding: var(--space-20) 0 var(--space-16);
  text-align: center;
  border-bottom: 1px solid var(--color-pebble);
}
.page-hero .section-label {
  display: block;
  margin-bottom: var(--space-3);
}
.page-hero h1 {
  font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
  margin-bottom: var(--space-4);
}
.page-hero p {
  font-size: var(--text-lg);
  color: var(--color-stone);
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Utility classes
   -------------------------------------------------------------------------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
.text-left   { text-align: left;   }

.gold-text {
  color: var(--color-gold);
}

.section {
  padding: var(--space-24) 0;
}
.section--mist {
  background: var(--color-mist);
}
.section--ivory {
  background: var(--color-ivory);
}

/* Gold line accent */
.gold-line {
  display: block;
  width: 48px;
  height: 2px;
  background: linear-gradient(to right, var(--color-gold), var(--color-gold-light));
  border-radius: 2px;
  margin-bottom: var(--space-5);
}
.gold-line--center {
  margin-inline: auto;
}

/* Responsive grid helpers */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}
@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}
@media (min-width: 768px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   Lightbox — click-to-expand image viewer
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  opacity: 0;
  transition: opacity 220ms ease-out;
}
.lightbox.is-open {
  display: flex;
  opacity: 1;
}
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 22, 18, 0.94);
  cursor: pointer;
}
.lightbox__figure {
  position: relative;
  z-index: 1;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  max-width: min(95vw, 1400px);
  pointer-events: none;
}
.lightbox__img {
  display: block;
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.55);
  background: #0f0c0a;
  pointer-events: auto;
  animation: lb-zoom-in 260ms cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes lb-zoom-in {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}
.lightbox__caption {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-ivory);
  text-align: center;
  max-width: 70ch;
  line-height: 1.5;
  pointer-events: auto;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--color-cream);
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.4);
}
.lightbox__close:focus-visible,
.lightbox__prev:focus-visible,
.lightbox__next:focus-visible {
  outline: 2px solid var(--color-gold-light);
  outline-offset: 3px;
}
.lightbox__close {
  top: var(--space-4);
  right: var(--space-4);
  width: 44px;
  height: 44px;
}
.lightbox__close:hover { transform: scale(1.06); }
.lightbox__prev,
.lightbox__next {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
}
.lightbox__prev:hover { transform: translateY(-50%) translateX(-2px); }
.lightbox__next:hover { transform: translateY(-50%) translateX(2px); }
.lightbox__prev { left: var(--space-4); }
.lightbox__next { right: var(--space-4); }
.lightbox__prev[hidden],
.lightbox__next[hidden] { display: none; }

/* Make expandable images feel clickable */
.card-img,
.gallery-item img,
.collage-item img,
.intro-image,
.portrait-img {
  cursor: zoom-in;
}
.card-img:focus-visible,
.gallery-item img:focus-visible,
.collage-item img:focus-visible,
.intro-image:focus-visible,
.portrait-img:focus-visible {
  outline: 3px solid var(--color-rose);
  outline-offset: 3px;
}

/* Mobile tweaks */
@media (max-width: 640px) {
  .lightbox { padding: var(--space-3); }
  .lightbox__close { top: var(--space-3); right: var(--space-3); width: 40px; height: 40px; }
  .lightbox__prev { left: 6px; width: 40px; height: 40px; }
  .lightbox__next { right: 6px; width: 40px; height: 40px; }
  .lightbox__img { max-height: 72vh; }
}

@media (prefers-reduced-motion: reduce) {
  .lightbox { transition: none; }
  .lightbox__img { animation: none; }
}
