/* ═══════════════════════════════════════════════════════════════
   LA DOLCE APE — Quiet Luxury Stylesheet
   ═══════════════════════════════════════════════════════════════ */

:root {
  --cream:       #F7F4EF;
  --cream-mid:   #EDE9E2;
  --cream-dark:  #E0D9CF;
  --sand:        #C8BEA8;
  --taupe:       #8C7E6A;
  --brown:       #3D2E1E;
  --ink:         #1A1614;
  --white:       #FDFCFA;

  --accent:      #3D2E1E;
  --accent-warm: #7A5C3A;

  --font-serif:  'Cormorant Garant', Georgia, serif;
  --font-sans:   'Montserrat', system-ui, sans-serif;
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── NAV ────────────────────────────────────────────────────── */
.lda-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem 4rem;
  transition: background 0.5s ease, padding 0.4s ease, border-color 0.5s ease;
  border-bottom: 1px solid transparent;
}
.lda-nav.scrolled {
  background: rgba(247,244,239,0.94);
  backdrop-filter: blur(12px);
  padding: 1.1rem 4rem;
  border-bottom-color: var(--cream-dark);
}
.lda-nav__brand {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.05em;
}
.lda-nav__links {
  display: flex;
  gap: 3rem;
  align-items: center;
}
.lda-nav__links a {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe);
  transition: color 0.2s;
}
.lda-nav__links a:hover { color: var(--ink); }
.lda-nav__cta {
  padding: 0.55rem 1.4rem;
  border: 1px solid var(--ink) !important;
  color: var(--ink) !important;
  transition: background 0.25s, color 0.25s !important;
}
.lda-nav__cta:hover {
  background: var(--ink) !important;
  color: var(--white) !important;
}
.lda-nav__burger { display: none; flex-direction: column; gap: 5px; padding: 4px; cursor: pointer; border: none; background: none; }
.lda-nav__burger span { display: block; width: 22px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: all 0.3s; }

/* ── HERO ───────────────────────────────────────────────────── */
.lda-hero {
  position: relative;
  height: 100vh;
  min-height: 650px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--cream);
  overflow: hidden;
}
/* Subtle grain texture via SVG filter */
.lda-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px;
  pointer-events: none;
  opacity: 0.5;
}
/* Decorative corner ornament */
.lda-hero::before {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 35vw; height: 35vw;
  background: var(--cream-mid);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}
/* Particles container off - heroes are calm now */
.lda-hero__particles { display: none; }

.lda-hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 2rem;
}
.lda-hero__eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.9s var(--ease-out) 0.2s forwards;
}
.lda-hero__title {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 0.95;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
}
.lda-hero__title-line {
  display: block;
  font-size: clamp(5rem, 12vw, 10rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s var(--ease-out) forwards;
}
.lda-hero__title-line:nth-child(1) { animation-delay: 0.3s; }
.lda-hero__title-line:nth-child(2) { animation-delay: 0.45s; font-style: italic; color: var(--accent-warm); }
.lda-hero__title-line:nth-child(3) { animation-delay: 0.6s; }

.lda-hero__tagline {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--taupe);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.8s forwards;
}
.lda-hero__scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 1.2s forwards;
}
.lda-hero__scroll-hint span {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--taupe);
}
.lda-hero__scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--taupe), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ════════════════════════════════════════════════════════════
   FILM STAGE — Canvas frame-scroll animation
   ════════════════════════════════════════════════════════════ */

/* Tall container that drives the scroll */
.lda-film-stage {
  position: relative;
  height: 700vh;           /* scroll distance = animation depth */
}

/* Sticky viewport: fills screen, holds canvas + overlays */
.lda-film-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: #0d0c0b;    /* near-black for dark film look */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Canvas — fills the sticky viewport exactly, no bars */
#lda-canvas {
  display: block;
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
}

/* ── Hero overlay (fades out as animation starts) ── */
.lda-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  color: var(--white);
  z-index: 10;
  transition: none;  /* opacity handled by GSAP */
}
.lda-hero-overlay .lda-hero__eyebrow {
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.5rem;
}
.lda-hero-overlay .lda-hero__title-line {
  color: var(--white);
  text-shadow: 0 2px 24px rgba(0,0,0,0.5);
}
.lda-hero-overlay .lda-hero__title-line--accent {
  color: #D4A853;
}
.lda-hero-overlay .lda-hero__tagline {
  color: rgba(255,255,255,0.7);
  margin-top: 1.5rem;
}
.lda-hero-overlay .lda-hero__scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.45);
}
.lda-hero-overlay .lda-hero__scroll-line {
  background: rgba(255,255,255,0.3);
}

/* ── Concept panels (slide in from right) ── */
.lda-film-panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(420px, 42%);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 3rem;
  opacity: 0;
  transform: translateX(40px);
  pointer-events: none;
  z-index: 20;
}

/* Frosted glass panel background */
.lda-film-panel__inner {
  background: rgba(247, 244, 239, 0.10);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 2px;
  padding: 2.5rem 2rem;
  width: 100%;
}

.lda-film-panel .lda-section__number {
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.5rem;
}
.lda-film-panel__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}
.lda-film-panel__sub {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.25rem;
}
.lda-film-panel .lda-section__divider {
  background: rgba(255,255,255,0.2);
  margin-bottom: 1.25rem;
}
.lda-film-panel__text {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.25rem;
}
.lda-film-panel__features {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}
.lda-film-panel__features li {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.lda-film-panel__features li::before {
  content: '—';
  margin-right: 0.5em;
  color: rgba(255,255,255,0.3);
}
.lda-film-panel .lda-section__price {
  margin-bottom: 1.5rem;
}
.lda-film-panel .lda-price-label,
.lda-film-panel .lda-price-unit {
  color: rgba(255,255,255,0.5);
}
.lda-film-panel .lda-price-amount {
  color: var(--white);
}

/* Film button variant */
.lda-btn--film {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.3);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  padding: 0.75rem 1.5rem;
}
.lda-btn--film:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}

/* ── Progress dots ── */
.lda-film-dots {
  position: absolute;
  left: 2.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 20;
}
.lda-film-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transition: background 0.4s, transform 0.4s;
}
.lda-film-dot.is-active {
  background: rgba(255,255,255,0.9);
  transform: scale(1.6);
}

/* ── SCROLL STAGE (legacy, keep for safety) ─────────────────── */
.lda-stage {
  position: relative;
  display: flex;
  height: 300vh;
  background: var(--white);
}

/* ── APE STICKY ─────────────────────────────────────────────── */
.lda-ape-sticky {
  position: sticky;
  top: 0;
  width: 52%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--cream);
  transition: background 1s ease;
  overflow: hidden;
}
/* Subtle background shift per concept */
.lda-ape-sticky::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--cream);
  transition: background 1s ease;
}
.lda-ape-sticky.concept-pizza  { background: #EDE5DB; }
.lda-ape-sticky.concept-caffe  { background: #E8E0D5; }
.lda-ape-sticky.concept-aperol { background: #EDE7DC; }

/* Large number watermark behind Ape */
.lda-ape-sticky::after {
  content: attr(data-num);
  position: absolute;
  bottom: 3rem;
  right: 3rem;
  font-family: var(--font-serif);
  font-size: 14rem;
  font-weight: 700;
  color: var(--cream-dark);
  line-height: 1;
  pointer-events: none;
  transition: opacity 0.6s ease, content 0.3s;
  opacity: 0.6;
  user-select: none;
}

/* ── APE image stack ── */
.lda-ape-imgs {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 16 / 9;
}
.lda-ape-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lda-ape-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 3rem;
  width: 100%;
}
.lda-ape-svg {
  width: 100%;
  max-width: 500px;
  /* Recolour the gold body to warm brown palette for light theme */
  filter: drop-shadow(0 16px 48px rgba(61,46,30,0.12));
  transition: transform 0.7s var(--ease-out);
}
.lda-ape-label {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--taupe);
  letter-spacing: 0.08em;
}

/* ── SCROLL CONTENT ─────────────────────────────────────────── */
.lda-scroll-content {
  width: 48%;
  flex-shrink: 0;
}

/* ── SECTIONS ───────────────────────────────────────────────── */
.lda-section {
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 4rem 0 4.5rem;
  background: var(--white);
  position: relative;
  border-top: 1px solid var(--cream-dark);
}
.lda-section:first-child { border-top: none; }

.lda-section__inner { max-width: 440px; }

/* Stagger-in animation */
.lda-section__content > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.lda-section.is-active .lda-section__content > * { opacity: 1; transform: translateY(0); }
.lda-section.is-active .lda-section__content > *:nth-child(1) { transition-delay: 0.00s; }
.lda-section.is-active .lda-section__content > *:nth-child(2) { transition-delay: 0.08s; }
.lda-section.is-active .lda-section__content > *:nth-child(3) { transition-delay: 0.14s; }
.lda-section.is-active .lda-section__content > *:nth-child(4) { transition-delay: 0.20s; }
.lda-section.is-active .lda-section__content > *:nth-child(5) { transition-delay: 0.26s; }
.lda-section.is-active .lda-section__content > *:nth-child(6) { transition-delay: 0.34s; }
.lda-section.is-active .lda-section__content > *:nth-child(7) { transition-delay: 0.42s; }
.lda-section.is-active .lda-section__content > *:nth-child(8) { transition-delay: 0.50s; }

.lda-section__number {
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.lda-section__number::after {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--sand);
}
.lda-section__title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 4.5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 0.2rem;
}
.lda-section__subtitle {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--taupe);
  margin-bottom: 1.75rem;
}
.lda-section__divider {
  width: 36px;
  height: 1px;
  background: var(--sand);
  margin-bottom: 1.75rem;
}
.lda-section__text {
  font-size: 0.88rem;
  line-height: 1.85;
  color: var(--taupe);
  margin-bottom: 2rem;
}
.lda-section__features {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 2.25rem;
  padding-left: 0;
}
.lda-section__features li {
  font-size: 0.82rem;
  color: var(--brown);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--cream-dark);
}
.lda-feature-icon { font-size: 0.9rem; flex-shrink: 0; }

.lda-section__price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 2rem;
}
.lda-price-label {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--taupe);
}
.lda-price-amount {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
}
.lda-price-unit {
  font-size: 0.78rem;
  color: var(--taupe);
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.lda-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 0;
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
}
.lda-btn--primary {
  background: var(--ink);
  color: var(--white);
  border: 1px solid var(--ink);
}
.lda-btn--primary:hover {
  background: var(--brown);
  border-color: var(--brown);
}
.lda-btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.lda-btn--outline:hover {
  background: var(--ink);
  color: var(--white);
}
.lda-btn--full { width: 100%; justify-content: center; }

/* ── SVG RECOLOUR for light theme ───────────────────────────── */
/* Override the gradient stops via CSS filter to tone down the gold */
.lda-ape-svg {
  /* slightly desaturate to match the calm palette */
  filter: drop-shadow(0 16px 48px rgba(61,46,30,0.12)) saturate(0.7) brightness(1.05);
}

/* ── SMOKE ANIMATION (keep, but quieter) ────────────────────── */
.lda-smoke { animation: smoke 3.5s ease-in-out infinite; opacity: 0.35; }
.lda-smoke:nth-child(2) { animation-delay: 1.1s; }
.lda-smoke:nth-child(3) { animation-delay: 2.2s; }
@keyframes smoke {
  0%   { transform: translateY(0) scale(1); opacity: 0.35; }
  100% { transform: translateY(-18px) scale(1.5); opacity: 0; }
}

/* ── ABOUT ──────────────────────────────────────────────────── */
.lda-about {
  padding: 9rem 4rem;
  background: var(--cream);
  position: relative;
}
.lda-about::before {
  content: '';
  position: absolute;
  top: 0; left: 4rem; right: 4rem;
  height: 1px;
  background: var(--cream-dark);
}
.lda-about__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: center;
}
.lda-section__number--light { color: var(--sand); }
.lda-about__title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--ink);
  margin: 1rem 0 2rem;
}
.lda-about__body {
  font-size: 0.88rem;
  line-height: 1.9;
  color: var(--taupe);
  margin-bottom: 1.25rem;
}
.lda-about__stats {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}
.lda-stat {
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--cream-dark);
}
.lda-stat:last-child { border-bottom: none; padding-bottom: 0; }
.lda-stat__number {
  display: block;
  font-family: var(--font-serif);
  font-size: 4.5rem;
  font-weight: 300;
  color: var(--ink);
  line-height: 1;
}
.lda-stat__label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-top: 0.4rem;
}

/* ── CONTACT ────────────────────────────────────────────────── */
.lda-contact {
  padding: 9rem 4rem;
  background: var(--white);
  position: relative;
}
.lda-contact::before {
  content: '';
  position: absolute;
  top: 0; left: 4rem; right: 4rem;
  height: 1px;
  background: var(--cream-dark);
}
.lda-contact__inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.lda-contact__title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--ink);
  margin: 0.75rem 0 1.25rem;
}
.lda-contact__sub {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--taupe);
  margin-bottom: 3.5rem;
}

/* ── FORM ───────────────────────────────────────────────────── */
.lda-form { text-align: left; }
.lda-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 0;
}
.lda-form__group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.lda-form__group--full { margin-bottom: 1.5rem; }
.lda-form label {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--taupe);
}
.lda-form input,
.lda-form textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--cream-dark);
  padding: 0.75rem 0;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  transition: border-color 0.25s;
  outline: none;
  width: 100%;
  border-radius: 0;
}
.lda-form input:focus,
.lda-form textarea:focus { border-bottom-color: var(--ink); }
.lda-form input::placeholder,
.lda-form textarea::placeholder { color: var(--sand); }
.lda-form textarea { resize: none; min-height: 100px; }
.lda-form input[type="date"] { color-scheme: light; }

.lda-form__radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.25rem;
}
.lda-radio {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--taupe) !important;
  cursor: pointer;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--cream-dark);
  transition: border-color 0.2s, color 0.2s;
}
.lda-radio:hover { border-color: var(--ink); color: var(--ink) !important; }
.lda-radio input[type="radio"] { accent-color: var(--ink); width: 12px; height: 12px; }

.lda-contact__info {
  margin-top: 2.5rem;
  font-size: 0.82rem;
  color: var(--taupe);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.lda-contact__info a { color: var(--taupe); border-bottom: 1px solid var(--sand); transition: color 0.2s; }
.lda-contact__info a:hover { color: var(--ink); }
.lda-contact__sep { color: var(--sand); }

/* ── FOOTER ─────────────────────────────────────────────────── */
.lda-footer {
  background: var(--ink);
  padding: 3rem 4rem;
}
.lda-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.lda-footer__brand {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--cream);
}
.lda-footer__copy {
  font-size: 0.7rem;
  color: rgba(247,244,239,0.4);
  letter-spacing: 0.05em;
}
.lda-footer__nav {
  display: flex;
  gap: 2rem;
}
.lda-footer__nav a {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247,244,239,0.5);
  transition: color 0.2s;
}
.lda-footer__nav a:hover { color: var(--cream); }

/* ── ANIMATIONS ─────────────────────────────────────────────── */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */

/* ── Tablet (≤ 960px) ───────────────────────────────────────── */
@media (max-width: 960px) {
  .lda-nav { padding: 1.25rem 2rem; }
  .lda-nav.scrolled { padding: 0.9rem 2rem; }
  .lda-nav__links { display: none; }
  .lda-nav__burger { display: flex; }

  /* Film stage: panels at bottom, full width, no transform conflict with GSAP */
  .lda-film-panel {
    right: 1.5rem;
    left: 1.5rem;
    width: auto;
    max-width: 480px;
    margin: 0 auto;
    bottom: 1.5rem;
    top: auto;
    align-items: flex-end;
    /* No CSS transform here — GSAP controls x exclusively */
  }
  .lda-film-panel__inner {
    padding: 1.5rem 1.25rem;
  }
  .lda-film-panel__title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }
  .lda-film-panel__text {
    font-size: 0.82rem;
  }

  /* Dots: top-right corner */
  .lda-film-dots {
    left: auto;
    right: 1.5rem;
    top: 5rem;
    bottom: auto;
    transform: none;
    flex-direction: column;
    gap: 8px;
  }

  /* Hero overlay: smaller text */
  .lda-hero-overlay .lda-hero__title-line {
    font-size: clamp(3rem, 12vw, 5rem);
  }
  .lda-hero-overlay .lda-hero__tagline {
    font-size: 0.8rem;
  }

  /* Legacy scroll stage */
  .lda-stage { flex-direction: column; height: auto; }
  .lda-ape-sticky { position: relative; top: auto; width: 100%; height: 55vw; min-height: 300px; }
  .lda-scroll-content { width: 100%; }
  .lda-section { height: auto; min-height: 80vh; padding: 5rem 2rem; border-top: 1px solid var(--cream-dark); }

  .lda-about { padding: 6rem 2rem; }
  .lda-about__inner { grid-template-columns: 1fr; gap: 4rem; }
  .lda-about::before { left: 2rem; right: 2rem; }
  .lda-about__stats { flex-direction: row; gap: 0; }
  .lda-stat { flex: 1; padding: 0 2rem 0 0; border-bottom: none; border-right: 1px solid var(--cream-dark); }
  .lda-stat:last-child { border-right: none; }

  .lda-contact { padding: 6rem 2rem; }
  .lda-contact::before { left: 2rem; right: 2rem; }
  .lda-footer { padding: 2.5rem 2rem; }
  .lda-footer__inner { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .lda-form__row { grid-template-columns: 1fr; }
}

/* ── Mobile (≤ 640px) ───────────────────────────────────────── */
@media (max-width: 640px) {

  /* Film stage height: less scroll needed on mobile */
  .lda-film-stage { height: 550vh; }

  /* Panel: full width at bottom, compact — no CSS transform, GSAP handles it */
  .lda-film-panel {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: none;
  }
  .lda-film-panel__inner {
    padding: 1.25rem 1rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  .lda-film-panel__title { font-size: 1.6rem; margin-bottom: 0.15rem; }
  .lda-film-panel__sub   { margin-bottom: 0.75rem; }
  .lda-film-panel__text  { font-size: 0.78rem; margin-bottom: 0.75rem; }
  .lda-film-panel__features { margin-bottom: 1rem; }
  .lda-film-panel__features li { font-size: 0.74rem; padding: 0.2rem 0; }

  /* Price + button on one row */
  .lda-film-panel .lda-section__price {
    margin-bottom: 0.75rem;
  }
  .lda-film-panel .lda-price-amount { font-size: 1.4rem; }

  /* Dots: top-right corner */
  .lda-film-dots {
    right: 1rem;
    bottom: auto;
    top: 5rem;
    flex-direction: column;
    gap: 8px;
  }

  /* Hero overlay */
  .lda-hero-overlay {
    padding: 1.5rem 1rem;
    justify-content: center;
  }
  .lda-hero-overlay .lda-hero__eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
  }
  .lda-hero-overlay .lda-hero__title-line {
    font-size: clamp(3.2rem, 18vw, 5rem);
    line-height: 0.95;
  }
  .lda-hero-overlay .lda-hero__tagline {
    font-size: 0.75rem;
    margin-top: 1rem;
  }
  .lda-hero-overlay .lda-hero__scroll-hint {
    bottom: 1.5rem;
    font-size: 0.65rem;
  }

  /* Sections below */
  .lda-about { padding: 4rem 1.25rem; }
  .lda-about__stats { flex-direction: column; }
  .lda-stat { border-right: none; border-bottom: 1px solid var(--cream-dark); padding: 0 0 2rem; }
  .lda-stat:last-child { border-bottom: none; padding-bottom: 0; }
  .lda-contact { padding: 4rem 1.25rem; }
  .lda-footer { padding: 2rem 1.25rem; }
  .lda-nav { padding: 1rem 1.25rem; }
  .lda-nav.scrolled { padding: 0.75rem 1.25rem; }
}

/* ── Mobile nav open ─────────────────────────────────────────── */
.lda-nav.nav-open .lda-nav__links {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0;
  background: var(--cream);
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.lda-nav.nav-open .lda-nav__links a {
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  color: var(--ink);
}
