/* ============================================================
   Lee Nieves Photography — Stylesheet
   Premium editorial redesign. Dark cinematic + warm ivory.
   Anchored to DESIGN.md brand contract.
   ============================================================ */

:root {
  /* ── Dark canvas (cinematic) ── */
  --bg: #0e0d0a;            /* warm tinted near-black */
  --surface: #15130e;
  --surface-2: #1f1c15;
  --fg: #f4f1ea;            /* warm ivory text */
  --muted: #a59d8c;         /* warm muted */
  --border: rgba(245, 240, 225, 0.10);
  --border-strong: rgba(245, 240, 225, 0.18);

  /* ── Ivory editorial (light sections) ── */
  --paper: #efe9dc;         /* warm ivory */
  --paper-2: #e6dfce;
  --ink: #1b1813;           /* text on paper */
  --ink-muted: #6c6453;
  --paper-border: rgba(27, 24, 19, 0.12);

  /* ── Accent ── */
  --accent: #c6a15b;        /* burnished gold (on dark) */
  --accent-bright: #d4af37; /* brighter gold for glows */
  --accent-deep: #a8823c;
  --accent-ink: #6f5220;    /* deep antique gold — AA-safe on ivory (5.9:1) */

  /* ── Layered shadow system (ambient + key light) ── */
  --shadow-card:  0 1px 2px rgba(0,0,0,0.18), 0 10px 28px rgba(0,0,0,0.30);
  --shadow-lift:  0 2px 6px rgba(0,0,0,0.22), 0 24px 50px rgba(0,0,0,0.42), 0 0 26px rgba(198,161,91,0.06);
  --shadow-paper: 0 2px 8px rgba(27,24,19,0.05), 0 26px 54px rgba(27,24,19,0.16);
  --shadow-paper-lift: 0 4px 12px rgba(27,24,19,0.07), 0 30px 60px rgba(27,24,19,0.20);
  --inner-sheen: inset 0 1px 0 rgba(245,240,225,0.06);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fluid: all 0.7s cubic-bezier(0.32, 0.72, 0, 1);
  --transition-tactile: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-snappy: all 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);

  /* Semantic z-index scale */
  --z-base: 1;
  --z-sticky: 100;
  --z-overlay: 200;
  --z-modal: 300;
  --z-toast: 400;
  --z-tooltip: 500;

  --maxw: 1320px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; object-fit: cover; }
picture { display: contents; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: 0.01em;
  text-wrap: balance;
  line-height: 1.12;
}

p { text-wrap: pretty; }

a { color: inherit; text-decoration: none; transition: var(--transition); }

::selection { background: var(--accent); color: var(--bg); }

/* ── Accessibility focus ── */
a:focus-visible, button:focus-visible, select:focus-visible,
input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2a261d; border-radius: 9999px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ── Language visibility ── */
html[lang="en"] .lang-es { display: none !important; }
html[lang="es"] .lang-en { display: none !important; }

/* ── Ambient depth ── */
.ambient-noise {
  position: fixed; inset: 0; pointer-events: none;
  z-index: var(--z-tooltip); opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent-bright));
  transform-origin: 0%; z-index: calc(var(--z-sticky) + 1); transform: scaleX(0);
}

/* ============================================================
   Reveal animations (progressive enhancement)
   ============================================================ */
.reveal { opacity: 1; transform: none; }
.js-enabled .reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
}
.js-enabled .reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-sticky);
  padding: 26px clamp(20px, 5vw, 72px);
  display: flex; align-items: center; justify-content: space-between;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(14, 13, 10, 0.82);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  padding: 14px clamp(20px, 5vw, 72px);
  border-bottom-color: var(--border);
}
.nav-logo-wrapper { display: flex; align-items: center; height: 76px; transition: var(--transition); }
.nav-logo-img { height: 100%; width: auto; object-fit: contain; filter: brightness(1.15); transition: var(--transition); }
.nav.scrolled .nav-logo-wrapper { height: 56px; }

.nav-links { display: flex; gap: clamp(18px, 2.6vw, 38px); list-style: none; align-items: center; }
.nav-link {
  font-size: 10.5px; font-weight: 400; text-transform: uppercase;
  letter-spacing: 0.26em; color: var(--muted);
  position: relative; padding: 12px 4px; transition: var(--transition-fast);
}
.nav-link::after {
  content: ''; position: absolute; bottom: 4px; left: 4px; width: 0; height: 1px;
  background: var(--accent); transition: var(--transition-fast);
}
.nav-link:hover { color: var(--fg); }
.nav-link:hover::after { width: calc(100% - 8px); }

.nav-actions { display: flex; align-items: center; gap: clamp(12px, 2vw, 22px); }
.nav-cta {
  border: 1px solid var(--accent); padding: 11px 26px; font-size: 10.5px;
  font-weight: 500; text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--accent); background: transparent; border-radius: 9999px;
}
.nav-cta:hover { background: var(--accent); color: var(--bg); box-shadow: 0 6px 24px rgba(198, 161, 91, 0.22); }

.nav-lang-picker { display: flex; align-items: center; gap: 2px; }
.lang-btn {
  background: none; border: none; color: var(--muted); cursor: pointer;
  padding: 6px 3px; transition: var(--transition-fast);
  font-family: var(--font-body); font-size: 10px; letter-spacing: 0.12em;
}
.lang-btn:hover { color: var(--fg); }
.lang-btn.active { color: var(--accent) !important; font-weight: 600; }
.lang-separator { color: rgba(245, 240, 225, 0.2); font-size: 10px; pointer-events: none; }

.nav-toggle {
  display: none; background: none; border: none; color: var(--fg); cursor: pointer;
  z-index: calc(var(--z-sticky) + 1); min-height: 44px; min-width: 44px;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.5; }

.mobile-menu {
  position: fixed; inset: 0; background: var(--bg); z-index: calc(var(--z-sticky) - 1);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 22px; opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity 0.4s var(--ease-out), visibility 0s linear 0.4s;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; visibility: visible; transition: opacity 0.4s var(--ease-out); }
.mobile-menu .nav-link { font-size: 17px; letter-spacing: 0.3em; }

/* ============================================================
   Hero — asymmetric editorial
   ============================================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: var(--bg) center/cover no-repeat;
  transform: scale(1.04);
  animation: slowZoom 22s infinite alternate ease-in-out;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.82) contrast(1.04);
}
@keyframes slowZoom { 0% { transform: scale(1.02); } 100% { transform: scale(1.09); } }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(14,13,10,0.95) 2%, rgba(14,13,10,0.35) 45%, rgba(14,13,10,0.55) 100%),
    linear-gradient(to right, rgba(14,13,10,0.7) 0%, transparent 55%);
}
.hero-inner {
  position: relative; z-index: 1; width: 100%;
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 72px) clamp(64px, 9vh, 120px);
}
.hero-overline {
  display: flex; align-items: center; gap: 16px;
  font-size: 11px; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.42em; color: var(--accent); margin-bottom: 22px;
}
.hero-overline::before { content: ''; width: 48px; height: 1px; background: var(--accent); }
.hero-title {
  font-size: clamp(44px, 7.5vw, 96px);
  line-height: 1.0; letter-spacing: -0.015em;
  margin-bottom: 26px; max-width: 16ch;
}
.hero-title em { font-style: italic; color: var(--accent); font-weight: 300; }
.hero-sub {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px;
  max-width: 640px; margin-bottom: 40px;
}
.hero-subtitle {
  font-size: clamp(14px, 1.3vw, 17px); font-weight: 300;
  color: var(--muted); letter-spacing: 0.02em; line-height: 1.7;
}
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 12px 28px; margin-bottom: 40px;
  font-size: 11px; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.22em; color: var(--muted);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 10px; }
.hero-meta span::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

.hero-cta {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 38px; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.26em;
  color: var(--bg); background: var(--accent);
  border: 1px solid var(--accent); border-radius: 9999px; transition: var(--transition);
}
.hero-cta:hover { background: transparent; color: var(--fg); transform: translateY(-3px); box-shadow: 0 12px 34px rgba(198, 161, 91, 0.2); }
.hero-cta-ghost {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 30px; font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.24em; color: var(--fg);
  border: 1px solid var(--border-strong); border-radius: 9999px; transition: var(--transition);
}
.hero-cta-ghost:hover { border-color: var(--accent); color: var(--accent); }
.hero-scroll {
  position: absolute; bottom: 30px; right: clamp(20px, 5vw, 72px); z-index: 1;
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  writing-mode: vertical-rl;
}
.hero-scroll::after { content: ''; width: 1px; height: 46px; background: linear-gradient(var(--accent), transparent); }

/* ============================================================
   Section scaffolding
   ============================================================ */
.section { padding: clamp(80px, 11vw, 150px) clamp(20px, 5vw, 72px); position: relative; }
.section-inner { max-width: var(--maxw); margin: 0 auto; }
.section-header { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-eyebrow {
  display: flex; align-items: center; gap: 14px; margin-bottom: 22px;
}
.section-eyebrow::before {
  content: ''; width: 28px; height: 1px; background: var(--accent); flex: none;
}
.section-label {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.34em; color: var(--accent);
}
.section-heading { font-size: clamp(38px, 5.2vw, 72px); margin-bottom: 24px; }
.section-heading em { font-style: italic; color: var(--accent); }
.section-body {
  max-width: 620px; font-size: clamp(15px, 1.1vw, 17px);
  color: var(--muted); font-weight: 300; line-height: 1.8;
}

/* ── Light / ivory editorial sections ── */
.section--light { background: var(--paper); color: var(--ink); border-top: 1px solid var(--paper-border); border-bottom: 1px solid var(--paper-border); }
.section--light .section-heading { color: var(--ink); }
.section--light .section-heading em { color: var(--accent-ink); }
.section--light .section-body { color: var(--ink-muted); }
.section--light .section-label { color: var(--accent-ink); }
.section--light .section-eyebrow::before { background: var(--accent-ink); }

/* ── Dark surface section ── */
.section--surface { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ============================================================
   About (ivory editorial)
   ============================================================ */
.about-grid {
  display: grid; grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 96px); align-items: center;
}
.about-image-shell { position: relative; }
.about-image-core {
  position: relative; overflow: hidden; border-radius: 6px; aspect-ratio: 4/5;
  box-shadow: var(--shadow-paper);
}
.about-image-core img { width: 100%; height: 100%; object-fit: cover; }
.about-image-tag {
  position: absolute; bottom: 22px; left: 22px;
  background: rgba(14, 13, 10, 0.7); backdrop-filter: blur(10px);
  color: var(--fg); padding: 12px 20px; border-radius: 9999px;
  font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
  border: 1px solid var(--border);
}
.about-stats {
  display: flex; flex-wrap: wrap; gap: clamp(20px, 3vw, 44px);
  margin: 36px 0 8px; padding: 22px 0;
  border-top: 1px solid var(--paper-border); border-bottom: 1px solid var(--paper-border);
}
.about-stat { display: flex; align-items: baseline; gap: 10px; }
.about-stat-num { font-family: var(--font-display); font-size: 30px; font-weight: 500; color: var(--accent-ink); line-height: 1; }
.about-stat-lbl { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-muted); }
.about-lead { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 30px); font-style: italic; line-height: 1.4; color: var(--ink); margin-bottom: 24px; }
.about-body { font-size: clamp(15px, 1.1vw, 16px); color: var(--ink-muted); font-weight: 300; line-height: 1.85; margin-bottom: 18px; }
.about-signature {
  margin-top: 32px; height: clamp(88px, 11vw, 128px); width: auto; max-width: 100%;
  opacity: 0.9; filter: brightness(0) saturate(100%); transition: var(--transition-fluid);
}

/* ============================================================
   Services
   ============================================================ */
.services-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; margin-top: 12px;
}
.service-card-shell {
  position: relative; transition: var(--transition-snappy); cursor: pointer; display: flex;
}
.service-card-shell:nth-child(1), .service-card-shell:nth-child(2) { grid-column: span 3; }
.service-card-shell:nth-child(3), .service-card-shell:nth-child(4), .service-card-shell:nth-child(5) { grid-column: span 2; }

.service-card-core {
  position: relative; overflow: hidden; width: 100%; aspect-ratio: 4/5;
  border-radius: 8px; background: #000; border: 1px solid var(--border);
}
.service-img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-fluid); filter: brightness(0.78) contrast(1.05); }
.service-card-core::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,13,10,0.9) 0%, rgba(14,13,10,0.1) 60%);
  transition: var(--transition-fluid);
}
.service-tag {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent);
  background: rgba(14,13,10,0.6); backdrop-filter: blur(8px);
  border: 1px solid var(--border); padding: 7px 12px; border-radius: 9999px;
}
.service-overlay {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column;
  align-items: flex-start; justify-content: flex-end; text-align: left; padding: 26px;
}
.service-name {
  font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 34px); font-weight: 400;
  letter-spacing: 0.02em; color: var(--fg); transition: var(--transition-fluid);
}
.service-desc {
  font-family: var(--font-body); font-size: 13px; font-weight: 300; color: var(--muted);
  max-width: 320px; margin-top: 10px; max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height 0.4s var(--ease-out), opacity 0.32s var(--ease-out), margin-top 0.32s var(--ease-out);
}
.service-arrow {
  margin-top: 14px; display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent);
  opacity: 0; transform: translateY(8px); transition: var(--transition-fluid);
}
.service-card-shell:hover { transform: translateY(-6px); }
.service-card-shell:hover .service-img { filter: brightness(0.5) contrast(1.05); }
.service-card-shell:hover .service-card-core { border-color: rgba(198,161,91,0.4); box-shadow: var(--shadow-lift); }
.service-card-shell:hover .service-name { color: var(--accent); }
.service-card-shell:hover .service-desc { max-height: 120px; opacity: 1; }
.service-card-shell:hover .service-arrow { opacity: 1; transform: translateY(0); }

/* ============================================================
   Galleries
   ============================================================ */
.gallery-filters {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 44px;
  border-bottom: 1px solid var(--border); padding-bottom: 18px;
}
.filter-btn {
  background: none; border: none; color: var(--muted); font-family: var(--font-body);
  font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.22em;
  cursor: pointer; padding: 14px 16px; transition: var(--transition-fast);
  position: relative; min-height: 44px;
}
.filter-btn::after {
  content: ''; position: absolute; bottom: -1px; left: 16px; right: 16px; height: 2px;
  background: var(--accent); transform: scaleX(0); transition: var(--transition-fast); transform-origin: center;
}
.filter-btn:hover, .filter-btn.active { color: var(--accent); }
.filter-btn.active::after { transform: scaleX(1); }

.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-auto-flow: dense; gap: 18px;
}
.gallery-item {
  position: relative; overflow: hidden; aspect-ratio: 1/1; cursor: pointer;
  border: 1px solid var(--border); border-radius: 8px; display: block; background: #000;
  transition: border-color 0.38s var(--transition-snappy), transform 0.38s ease, box-shadow 0.38s ease, opacity 0.38s ease;
}
.gallery-item.hide { display: none; }
.gallery-item.item-tall { grid-row: span 2; aspect-ratio: 1/2; }
.gallery-item.item-wide { grid-column: span 2; aspect-ratio: 2/1; }
.gallery-item.item-large { grid-column: span 2; grid-row: span 2; aspect-ratio: 1/1; }

.gallery-img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-fluid); filter: brightness(0.92); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,13,10,0.88) 0%, rgba(14,13,10,0.05) 75%);
  display: flex; align-items: flex-end; padding: 22px; opacity: 0; transition: var(--transition-fluid);
}
.gallery-label {
  font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.24em;
  color: var(--accent); transform: translateY(8px); transition: var(--transition-fluid);
}
.gallery-item:hover { border-color: rgba(198,161,91,0.45); transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.gallery-item:hover .gallery-img { filter: brightness(1); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover .gallery-label { transform: translateY(0); }

/* ============================================================
   Lightbox
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; background: rgba(8, 7, 5, 0.98); z-index: var(--z-modal);
  display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease; padding: 40px;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox-content { position: relative; max-width: 92vw; max-height: 86vh; display: flex; flex-direction: column; align-items: center; }
.lightbox-img {
  max-width: 100%; max-height: 78vh; object-fit: contain; border-radius: 4px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.6); transform: scale(0.96); opacity: 0;
  transition: transform 0.4s var(--ease-out), opacity 0.22s var(--ease-out), filter 0.22s var(--ease-out);
}
.lightbox-img.swapping { opacity: 0; filter: blur(8px); }
.lightbox.open .lightbox-img { transform: scale(1); opacity: 1; }
.lightbox-caption { margin-top: 20px; font-family: var(--font-display); font-size: 19px; font-style: italic; color: var(--fg); text-align: center; }
.lightbox-close {
  position: absolute; top: 22px; right: 22px; background: rgba(245,240,225,0.06);
  border: 1px solid var(--border); color: var(--fg); cursor: pointer; transition: var(--transition-fast);
  width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(10px);
}
.lightbox-close:hover { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%); background: rgba(245,240,225,0.06);
  border: 1px solid var(--border); color: var(--fg); cursor: pointer; transition: var(--transition-fast);
  width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(10px); z-index: calc(var(--z-modal) + 1);
}
.lightbox-nav:hover { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.lightbox-prev { left: clamp(14px, 4vw, 44px); }
.lightbox-next { right: clamp(14px, 4vw, 44px); }

/* ============================================================
   Featured story (cinematic band)
   ============================================================ */
.story { position: relative; overflow: hidden; }
.story-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 0; align-items: stretch; }
.story-media { position: relative; min-height: 460px; }
.story-media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.86); }
.story-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, transparent 40%, var(--surface)); }
.story-content { background: var(--surface); padding: clamp(40px, 6vw, 84px); display: flex; flex-direction: column; justify-content: center; }
.story-quote { font-family: var(--font-display); font-size: clamp(26px, 3vw, 42px); font-style: italic; line-height: 1.3; margin-bottom: 28px; }
.story-quote span { color: var(--accent); }
.story-attr { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); margin-bottom: 36px; }
.story-cta { align-self: flex-start; }

/* ============================================================
   Testimonials
   ============================================================ */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial {
  background: var(--paper-2); border: 1px solid var(--paper-border); border-radius: 10px;
  padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; transition: var(--transition-snappy);
}
.testimonial-stars { color: var(--accent-ink); letter-spacing: 4px; margin-bottom: 20px; font-size: 14px; }
.testimonial-quote { font-family: var(--font-display); font-size: clamp(19px, 1.7vw, 23px); font-style: italic; line-height: 1.45; color: var(--ink); margin-bottom: 26px; flex: 1; }
.testimonial-author { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; color: var(--ink); }
.testimonial-role { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-muted); margin-top: 4px; }
.testimonial:hover { transform: translateY(-5px); box-shadow: var(--shadow-paper-lift); border-color: rgba(168,130,60,0.4); }

/* ============================================================
   Booking / Collections
   ============================================================ */
.booking-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 5vw, 72px); align-items: start; }
.booking-rates { display: flex; flex-direction: column; gap: 12px; }
.rate-card {
  border: 1px solid var(--border); border-radius: 12px; padding: 28px;
  transition: var(--transition-snappy); position: relative; background: rgba(245,240,225,0.015);
  box-shadow: var(--inner-sheen);
}
.rate-card.featured { border-color: rgba(198,161,91,0.4); background: rgba(198,161,91,0.05); }
.rate-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 10px; }
.rate-title { font-size: 24px; color: var(--fg); }
.rate-price { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; color: var(--accent); white-space: nowrap; }
.rate-desc { font-size: 13.5px; color: var(--muted); font-weight: 300; line-height: 1.7; }
.rate-badge {
  position: absolute; top: -10px; right: 22px; font-size: 9px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--bg); background: var(--accent); padding: 5px 12px; border-radius: 9999px;
}
.rate-card:hover { border-color: rgba(198,161,91,0.5); transform: translateX(4px); }

.booking-widget-shell {
  background: rgba(245,240,225,0.02); border: 1px solid var(--border); padding: 8px;
  border-radius: 22px; box-shadow: var(--shadow-card), var(--inner-sheen);
}
.booking-widget { background: var(--surface); border: 1px solid var(--border); padding: clamp(24px, 4vw, 40px); border-radius: 16px; }
.widget-title { font-size: 28px; margin-bottom: 8px; text-align: center; }
.widget-note { font-size: 12px; color: var(--muted); text-align: center; margin-bottom: 28px; font-weight: 300; }
.step-indicator { display: flex; justify-content: space-between; margin-bottom: 30px; position: relative; }
.step-indicator::before { content: ''; position: absolute; top: 12px; left: 10%; right: 10%; height: 1px; background: var(--border); z-index: 0; }
.step-node {
  position: relative; z-index: 1; width: 26px; height: 26px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600; color: var(--muted); transition: var(--transition-fluid);
}
.step-node.active { background: var(--accent); color: var(--bg); border-color: var(--accent); box-shadow: 0 0 14px rgba(198,161,91,0.4); }
.step-pane { display: none; }
.step-pane.active { display: block; animation: fadeStep 0.26s var(--ease-out); }
@keyframes fadeStep { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.form-group { margin-bottom: 28px; }
.form-label { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted); margin-bottom: 14px; display: block; }
.form-group-minimal { position: relative; border-bottom: 1px solid var(--border); padding-bottom: 8px; margin-bottom: 30px; }
.select-input, .text-input {
  width: 100%; padding: 12px 0; background: transparent !important; border: none !important;
  color: var(--fg); font-family: var(--font-body); font-size: 15px; font-weight: 300; transition: var(--transition-tactile);
}
.select-input option { background: var(--surface); color: var(--fg); }
.select-input:focus, .text-input:focus { outline: none !important; }
.form-group-minimal::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 0; height: 1.5px; background: var(--accent); transition: var(--transition-fluid); }
.form-group-minimal:focus-within::after { width: 100%; }
.form-label-minimal { position: absolute; left: 0; top: 12px; font-size: 13px; color: var(--muted); pointer-events: none; transition: var(--transition-fluid); font-weight: 300; }
.text-input:focus ~ .form-label-minimal,
.text-input:not(:placeholder-shown) ~ .form-label-minimal,
.select-input:focus ~ .form-label-minimal,
.select-input:valid ~ .form-label-minimal { top: -12px; font-size: 11px; color: var(--accent); letter-spacing: 0.15em; }

.calendar { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
.calendar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; }
.calendar-days-lbl { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-size: 11px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.calendar-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-day {
  aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 400; border: 1px solid rgba(245,240,225,0.03) !important; border-radius: 6px;
  background: rgba(0,0,0,0.2); color: var(--fg); cursor: pointer; transition: var(--transition-tactile); min-height: 42px;
}
.cal-day:hover:not(.disabled) { background: var(--accent); color: var(--bg); border-color: var(--accent) !important; transform: scale(0.95); }
.cal-day.selected { background: var(--accent); color: var(--bg); font-weight: 600; border-color: var(--accent) !important; box-shadow: 0 0 12px rgba(198,161,91,0.3); }
.cal-day.disabled { color: rgba(245,240,225,0.1); background: transparent; border-color: transparent !important; cursor: not-allowed; text-decoration: line-through; }

.timeslots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.time-btn {
  padding: 12px; background: rgba(0,0,0,0.2); border: 1px solid rgba(245,240,225,0.03); border-radius: 6px;
  color: var(--fg); font-family: var(--font-body); font-size: 13px; font-weight: 300; cursor: pointer; transition: var(--transition-tactile); text-align: center;
}
.time-btn:hover:not(.selected) { border-color: var(--accent); color: var(--accent); transform: scale(0.96); }
.time-btn.selected { background: var(--accent); color: var(--bg); font-weight: 600; border-color: var(--accent); box-shadow: 0 0 12px rgba(198,161,91,0.3); }

.widget-actions { display: flex; justify-content: space-between; margin-top: 30px; gap: 16px; }
.btn-secondary {
  flex: 1; padding: 13px 24px; background: transparent; border: 1px solid var(--border); color: var(--muted);
  font-family: var(--font-body); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em;
  cursor: pointer; transition: var(--transition-tactile); display: inline-flex; align-items: center; justify-content: center; gap: 12px; border-radius: 9999px; min-height: 46px;
}
.btn-secondary:hover { color: var(--fg); border-color: var(--muted); transform: scale(0.98); }
.btn-primary {
  flex: 1.5; padding: 13px 24px; background: var(--accent); border: 1px solid var(--accent); color: var(--bg);
  font-family: var(--font-body); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em;
  cursor: pointer; transition: var(--transition-tactile); display: inline-flex; align-items: center; justify-content: center; gap: 12px; border-radius: 9999px; min-height: 46px;
}
.btn-primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: var(--bg); transform: scale(0.98); }
.btn-primary:active, .btn-secondary:active, .hero-cta:active, .nav-cta:active, .cal-day:active, .time-btn:active, .selector-btn:active {
  transform: scale(0.95) !important; transition: transform 0.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-icon-circle { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(0,0,0,0.12); color: inherit; transition: var(--transition-tactile); }
.btn-primary:hover .btn-icon-circle { background: rgba(255,255,255,0.12); }
.btn-icon-circle svg { width: 12px; height: 12px; stroke: currentColor; stroke-width: 2; fill: none; transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1); }
.btn-primary:hover .btn-icon-circle svg { transform: translateX(2px); }
.btn-secondary:hover .btn-icon-circle svg { transform: translateX(-2px); }

.success-pane { text-align: center; padding: 40px 0; }
.success-icon {
  width: 64px; height: 64px; margin: 0 auto 24px; border-radius: 50%; background: rgba(198,161,91,0.12);
  border: 1px solid var(--accent); color: var(--accent); font-size: 30px; display: flex; align-items: center; justify-content: center;
}
.success-title { font-size: 30px; margin-bottom: 16px; }
.success-text { font-size: 15px; color: var(--muted); font-weight: 300; line-height: 1.7; }

/* ============================================================
   Gift cards
   ============================================================ */
.giftcard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 72px); align-items: center; }
.card-preview-container { display: flex; justify-content: center; position: relative; }
.giftcard-mesh-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 320px; height: 320px; background: radial-gradient(circle, rgba(198,161,91,0.18) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.giftcard-preview-shell {
  background: rgba(245,240,225,0.02); border: 1px solid var(--border); padding: 8px; border-radius: 22px;
  box-shadow: var(--shadow-card), var(--inner-sheen); width: 100%; max-width: 456px; transition: var(--transition-fluid); position: relative; z-index: var(--z-base);
}
.giftcard-preview {
  width: 100%; aspect-ratio: 1.6/1;
  background: linear-gradient(135deg, rgba(46,42,32,0.85) 0%, rgba(20,18,14,0.92) 100%);
  border: 1px solid rgba(245,240,225,0.06); border-radius: 16px; padding: 34px;
  display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden;
}
.giftcard-preview::before {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(198,161,91,0.1) 0%, transparent 60%); pointer-events: none;
}
.giftcard-glare {
  position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(245,240,225,0.1) 50%, transparent 60%);
  pointer-events: none; z-index: calc(var(--z-base) + 1); transform: translateX(-100%); transition: transform 1.2s cubic-bezier(0.32, 0.72, 0, 1);
}
.giftcard-preview-shell:hover .giftcard-glare { transform: translateX(100%); }
.giftcard-preview-shell:hover { transform: translateY(-4px); border-color: rgba(198,161,91,0.25); box-shadow: var(--shadow-lift); }
.card-logo-img { height: 30px; width: auto; object-fit: contain; align-self: flex-start; filter: brightness(1.15); }
.card-meta { display: flex; justify-content: space-between; align-items: flex-end; position: relative; z-index: 2; }
.card-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted); }
.card-sub { font-size: 13px; color: var(--muted); margin-top: 4px; }
.card-value { font-family: var(--font-display); font-size: 42px; color: var(--accent); line-height: 1; }

.giftcard-selectors { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.selector-btn {
  flex: 1; min-width: 70px; padding: 14px; background: rgba(245,240,225,0.02); border: 1px solid var(--border);
  color: var(--fg); font-family: var(--font-body); font-size: 14px; font-weight: 400; cursor: pointer; transition: var(--transition-tactile); border-radius: 8px;
}
.selector-btn:hover:not(.active) { border-color: var(--accent); color: var(--accent); }
.selector-btn.active { background: var(--accent); color: var(--bg); border-color: var(--accent); font-weight: 600; }

/* ============================================================
   Contact
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(48px, 6vw, 80px); }
.contact-form { display: flex; flex-direction: column; gap: 30px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-field { position: relative; border-bottom: 1px solid var(--border); padding-bottom: 8px; }
.form-field input, .form-field textarea {
  width: 100%; padding: 12px 0; background: transparent; border: none; color: var(--fg);
  font-family: var(--font-body); font-size: 14px; font-weight: 300; transition: var(--transition);
}
.form-field label { position: absolute; left: 0; top: 12px; font-size: 13px; color: var(--muted); pointer-events: none; transition: var(--transition); font-weight: 300; }
.form-field input:focus ~ label, .form-field input:valid ~ label,
.form-field textarea:focus ~ label, .form-field textarea:valid ~ label { top: -12px; font-size: 11px; color: var(--accent); letter-spacing: 0.1em; }
.form-field input:focus, .form-field textarea:focus { outline: none; }
.form-field::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 0; height: 1px; background: var(--accent); transition: var(--transition); }
.form-field:focus-within::after { width: 100%; }
.form-field textarea { min-height: 120px; resize: vertical; }

.contact-info { display: flex; flex-direction: column; gap: 36px; justify-content: center; }
.contact-info-block { display: flex; flex-direction: column; }
.contact-info-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3em; color: var(--accent); margin-bottom: 12px; }
.contact-info-value { font-size: 17px; font-weight: 300; color: var(--muted); }
.contact-info-value a:hover { color: var(--accent); }
.contact-socials { display: flex; gap: 18px; }

/* ============================================================
   Footer
   ============================================================ */
.footer { padding: 80px clamp(20px, 5vw, 72px) 40px; border-top: 1px solid var(--border); text-align: center; }
.footer-logo { height: clamp(150px, 18vw, 220px); width: auto; max-width: 100%; margin: 0 auto 40px; display: block; opacity: 0.95; filter: brightness(1.2); }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(14px, 3vw, 34px); list-style: none; margin-bottom: 36px; }
.footer-link { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.footer-link:hover { color: var(--accent); }
.footer-copy { font-size: 12px; color: rgba(245,240,225,0.28); letter-spacing: 0.05em; margin-top: 22px; }

/* ============================================================
   Button resets for semantic <button> cards
   ============================================================ */
button.service-card-shell, button.gallery-item {
  font: inherit; color: inherit; text-transform: none; background: transparent; border: none;
  padding: 0; margin: 0; text-align: left; cursor: pointer; display: block; width: 100%; appearance: none; box-sizing: border-box;
}
button.gallery-item { border: 1px solid var(--border); }

/* ============================================================
   Glare sweep
   ============================================================ */
.glare-overlay {
  position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: linear-gradient(135deg, rgba(255,255,255,0) 30%, rgba(255,255,255,0.14) 50%, rgba(255,255,255,0) 70%);
  transform: translate(-100%, -100%) rotate(45deg); pointer-events: none; z-index: 3;
}
@keyframes glare-sweep { 0% { transform: translate(-100%, -100%) rotate(45deg); } 100% { transform: translate(100%, 100%) rotate(45deg); } }
.service-card-shell:hover .glare-overlay, .gallery-item:hover .glare-overlay {
  animation: glare-sweep 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .service-card-shell:nth-child(1), .service-card-shell:nth-child(2) { grid-column: span 2; }
  .service-card-shell:nth-child(3), .service-card-shell:nth-child(4) { grid-column: span 2; }
  .service-card-shell:nth-child(5) { grid-column: span 4; }
  .service-card-shell:nth-child(5) .service-card-core { aspect-ratio: 2/1; }
  .booking-grid, .giftcard-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .story-media { min-height: 320px; }
  .story-media::after { background: linear-gradient(to bottom, transparent 50%, var(--surface)); }
  .testimonial-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .services-grid { grid-template-columns: 1fr; gap: 18px; }
  .service-card-shell { grid-column: span 1 !important; }
  .service-card-shell .service-card-core { aspect-ratio: 4/5 !important; }
  .service-card-shell:nth-child(5) .service-card-core { aspect-ratio: 4/5; }
  .service-desc { max-height: 120px; opacity: 1; }
  .gallery-item.item-tall, .gallery-item.item-wide, .gallery-item.item-large {
    grid-column: span 1 !important; grid-row: span 1 !important; aspect-ratio: 1/1 !important;
  }
  .field-row { grid-template-columns: 1fr; }
  .hero-scroll { display: none; }
  .lightbox-nav { width: 42px; height: 42px; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0s !important; transition-delay: 0s !important; scroll-behavior: auto !important;
  }
  .hero-bg { animation: none !important; transform: scale(1.02) !important; }
}
