/* =========================================================
   Lumière Rouge — Nissrine · Photographe, Marrakech
   ========================================================= */

:root {
  --wine: #5B1A20;
  --wine-2: #7A2630;
  --wine-deep: #2A0A0E;
  --bone: #F2EBE0;
  --bone-2: #EAE0D0;
  --sand: #E4D7C3;
  --ink: #151011;
  --terra: #A9573A;
  --muted: #7C6C63;
  --line: rgba(21, 16, 17, .16);
  --line-light: rgba(242, 235, 224, .22);

  --serif: 'Bodoni Moda', 'Didot', Georgia, serif;
  --sans: 'Jost', 'Futura', system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.7, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

/* language switch */
html[data-lang="en"] [data-l="fr"],
html[data-lang="fr"] [data-l="en"] { display: none !important; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
em { font-style: italic; }
::selection { background: var(--wine); color: var(--bone); }

.label {
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
}

/* split text */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .14em 0; margin: 0 -.06em -.14em 0; }
.wi { display: inline-block; }
.w, .wi, .ch { text-indent: 0; }
.manifesto .w { overflow: visible; }
.ch { display: inline-block; }

/* generic image frame */
.frame { position: relative; overflow: hidden; background: rgba(0,0,0,.06); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
[data-zoom] { cursor: zoom-in; }

/* ================= OVERLAYS ================= */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--wine); color: var(--bone);
  display: grid; place-items: center;
}
.loader-word {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(2.6rem, 8vw, 7rem); line-height: 1;
  overflow: hidden; padding: 0 .1em .12em;
  white-space: nowrap;
}
.loader-sub { position: absolute; left: var(--gutter); bottom: var(--gutter); opacity: .7; }
.loader-count {
  position: absolute; right: var(--gutter); bottom: calc(var(--gutter) - .1em);
  font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 8vw, 7rem); line-height: .8;
}

.grain {
  position: fixed; inset: 0; z-index: 80; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60;
  background: var(--terra); transform: scaleX(0); transform-origin: left;
}

.cursor {
  position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none;
  width: 10px; height: 10px; translate: -50% -50%;
  border-radius: 50%; background: var(--wine);
  display: grid; place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), background .3s;
}
.cursor span { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--bone); opacity: 0; transition: opacity .3s; }
.cursor.is-view { width: 86px; height: 86px; }
.cursor.is-view span { opacity: 1; }
@media (pointer: coarse) { .cursor, .preview { display: none !important; } }

.preview {
  position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none;
  width: clamp(200px, 20vw, 320px); aspect-ratio: 3 / 4; translate: -50% -50%;
  overflow: hidden;
  opacity: 0; visibility: hidden;
}
.preview img { width: 100%; height: 100%; object-fit: cover; }

/* ================= NAV ================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 18px var(--gutter);
  color: var(--ink);
  transition: color .5s, transform .7s var(--ease);
}
.nav[data-theme="dark"] { color: var(--bone); }
.nav.hide { transform: translateY(-110%); }
.nav-logo { display: flex; align-items: center; gap: .8rem; }
.mono {
  font-family: var(--serif); font-style: italic; font-size: 1.1rem; line-height: 1;
  width: 2.5rem; height: 2.5rem; border: 1px solid currentColor; border-radius: 50%;
  display: grid; place-items: center; letter-spacing: -.02em;
}
.nav-name { font-family: var(--serif); font-size: 1.3rem; letter-spacing: .01em; }
.nav-links { display: flex; gap: 2.2rem; }
.nav-links a { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; position: relative; padding: 4px 0; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-right { display: flex; align-items: center; gap: 1.1rem; }
.lang { display: flex; align-items: center; gap: .3rem; font-size: .72rem; letter-spacing: .15em; }
.lang span { opacity: .4; }
.lang button { opacity: .45; padding: 6px 2px; transition: opacity .3s; }
.lang button.on { opacity: 1; }
.nav-cta {
  font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  border: 1px solid currentColor; border-radius: 99px; padding: .65rem 1.15rem;
  transition: background .4s, color .4s, border-color .4s;
}
.nav-cta:hover { background: var(--wine); border-color: var(--wine); color: var(--bone); }

.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 45;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--wine); color: var(--bone);
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(42, 10, 14, .35);
  transform: scale(0); transition: transform .6s var(--ease);
}
.wa-float.show { transform: scale(1); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }

/* ================= HERO — darkroom ================= */
.hero {
  position: relative; height: 100vh; height: 100svh; overflow: hidden; color: var(--bone);
  background:
    radial-gradient(ellipse 70% 60% at 68% 42%, rgba(140, 34, 44, .55), rgba(140, 34, 44, 0) 70%),
    radial-gradient(ellipse at 50% 120%, #1a0508, rgba(26, 5, 8, 0) 60%),
    var(--wine-deep);
}
.hero-top {
  position: absolute; top: 96px; left: var(--gutter); right: var(--gutter); z-index: 4;
  display: flex; justify-content: space-between; color: rgba(242, 235, 224, .5);
}

/* left column */
.hero-intro {
  position: absolute; z-index: 4; left: var(--gutter); top: 24vh;
  width: min(30vw, 380px); display: flex; flex-direction: column; gap: 1.6rem;
}
.hero-kicker { color: #E3A48A; }
.hero-lede { font-family: var(--serif); font-size: clamp(1.1rem, 1.45vw, 1.5rem); line-height: 1.35; color: rgba(242, 235, 224, .82); }
.hero-now { display: flex; align-items: center; gap: 1rem; color: rgba(242, 235, 224, .6); }
.hero-now::before { content: ''; width: 36px; height: 1px; background: currentColor; order: 1; }
.hero-now .vf-cat { order: 2; color: var(--bone); }

/* viewfinder */
.vf {
  position: absolute; z-index: 2; right: var(--gutter); top: 15vh;
  width: min(54vw, calc(61vh * 1.5)); aspect-ratio: 3 / 2;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .5);
}
.vf-media { position: absolute; inset: 0; overflow: hidden; background: #0d0405; }
.vf-slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.08);
  transition: opacity .9s ease, transform 3.2s cubic-bezier(.2, .6, .2, 1);
}
.vf-slide.is-on { opacity: 1; transform: scale(1); }
.vf-media::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(0,0,0,0) 55%, rgba(0,0,0,.35)); pointer-events: none; }

.vf-shutter { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.vf-shutter i { position: absolute; left: 0; right: 0; height: 50.5%; background: #0a0304; transform: scaleY(0); }
.vf-shutter i:first-child { top: 0; transform-origin: top; }
.vf-shutter i:last-child { bottom: 0; transform-origin: bottom; }

.vf-ui { position: absolute; inset: 0; z-index: 4; pointer-events: none; color: var(--bone); }
.vf-corner { position: absolute; width: 30px; height: 30px; border: 0 solid rgba(242, 235, 224, .9); }
.vf-corner.tl { top: 16px; left: 16px; border-top-width: 1.5px; border-left-width: 1.5px; }
.vf-corner.tr { top: 16px; right: 16px; border-top-width: 1.5px; border-right-width: 1.5px; }
.vf-corner.bl { bottom: 16px; left: 16px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.vf-corner.br { bottom: 16px; right: 16px; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.vf-focus {
  position: absolute; left: 50%; top: 50%; width: 46px; height: 34px; translate: -50% -50%;
  border: 1px solid rgba(242, 235, 224, .75);
}
.vf-focus::before, .vf-focus::after { content: ''; position: absolute; left: 50%; width: 1px; height: 8px; background: rgba(242, 235, 224, .75); }
.vf-focus::before { top: -12px; } .vf-focus::after { bottom: -12px; }
.vf-focus.locked { border-color: #7FD18B; }
.vf-hud {
  position: absolute; left: 60px; right: 60px; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--sans); font-size: .64rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
}
.vf-hud b { font-weight: 500; }
.vf-hud--top { top: 22px; }
.vf-hud--bottom { bottom: 22px; }
.vf-rec { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #E0483E; margin-right: .4rem; vertical-align: 1px; animation: rec 1.4s steps(2) infinite; }
@keyframes rec { 50% { opacity: 0; } }
.vf-meter { position: relative; display: inline-flex; align-items: flex-end; gap: 7px; height: 12px; }
.vf-meter i { display: block; width: 1px; height: 5px; background: rgba(242, 235, 224, .7); }
.vf-meter i.mid { height: 11px; }
.vf-needle {
  position: absolute; bottom: -9px; left: 50%; width: 0; height: 0; translate: -50% 0;
  border-left: 4px solid transparent; border-right: 4px solid transparent; border-bottom: 5px solid #E3A48A;
  transition: left .6s cubic-bezier(.2, .8, .2, 1);
}

/* title */
.hero-title {
  position: absolute; z-index: 4; left: calc(var(--gutter) - .04em); bottom: calc(12vh + 2.4vh);
  font-family: var(--serif); font-weight: 400; color: var(--bone); pointer-events: none;
  text-shadow: 0 10px 50px rgba(0, 0, 0, .35);
}
.hero-line {
  display: block; white-space: nowrap; overflow: hidden;
  font-size: clamp(3.4rem, 9.4vw, 11rem); line-height: .94; letter-spacing: -.02em; padding: 0 .04em .06em;
}
.hero-line--2 { padding-left: 8vw; color: #E3A48A; }
.hero-line em { font-style: italic; }

/* end-of-scroll overlay */
.hero-overlay {
  position: absolute; inset: 0; z-index: 5; pointer-events: none;
  display: flex; align-items: flex-end; padding: var(--gutter) var(--gutter) 12vh;
  color: var(--bone); opacity: 0;
  background: linear-gradient(180deg, rgba(21,16,17,0) 45%, rgba(21,16,17,.55));
}
.hero-overlay-text { font-family: var(--serif); font-size: clamp(2.6rem, 7vw, 7.5rem); line-height: .95; }

/* film strip */
.filmstrip {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 12vh;
  background: #0d0405; padding: 15px 0; overflow: hidden;
}
.filmstrip::before, .filmstrip::after {
  content: ''; position: absolute; left: 0; right: 0; height: 6px;
  background: repeating-linear-gradient(90deg, transparent 0 9px, rgba(242, 235, 224, .45) 9px 17px, transparent 17px 26px);
  animation: sprocket 2.4s linear infinite;
}
.filmstrip::before { top: 5px; } .filmstrip::after { bottom: 5px; }
@keyframes sprocket { to { background-position: -26px 0; } }
.fs-track { display: flex; gap: 6px; height: 100%; width: max-content; animation: film 70s linear infinite; }
@keyframes film { to { transform: translateX(-50%); } }
.fs-frame { height: 100%; aspect-ratio: 3 / 2; overflow: hidden; }
.fs-frame img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.35) saturate(.75) brightness(.8); }

/* ================= MANIFESTO ================= */
.manifesto { padding: 24vh var(--gutter) 20vh; background: var(--bone); }
.manifesto-label { display: flex; gap: 1.2rem; color: var(--wine); margin-bottom: 3rem; }
.manifesto-text {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.9rem, 4.3vw, 4.6rem); line-height: 1.12;
  max-width: 1500px; text-indent: 14%;
}
.manifesto-text em { color: var(--wine); }

/* ================= INDEX ================= */
.index { padding: 8vh var(--gutter) 18vh; background: var(--bone); }
.index-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem;
  padding-bottom: 2.4rem; border-bottom: 1px solid var(--line);
}
.index-title { font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 5.5vw, 5.6rem); line-height: 1; }
.index-title em { color: var(--wine); }
.index-row {
  display: grid; grid-template-columns: 4.5rem 1fr auto; align-items: center; gap: 1rem;
  padding: 2.1rem 0; border-bottom: 1px solid var(--line);
}
.index-row .num { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--wine); }
.index-row h3 {
  font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 6vw, 6.4rem); line-height: 1;
  transition: transform .7s var(--ease), color .4s;
}
.index-row .label { color: var(--muted); text-align: right; }
.index-row:hover h3 { transform: translateX(2.2rem); color: var(--wine); }

/* ================= CHAPTER HEAD ================= */
.chapter-head {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 4vw; align-items: end;
  padding: 18vh var(--gutter) 9vh;
}
.chapter-label { color: var(--wine); margin-bottom: 1.6rem; }
.chapter-title { font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 7.4vw, 8rem); line-height: .95; letter-spacing: -.01em; }
.chapter-title em { color: var(--wine); }
.chapter-side { display: flex; flex-direction: column; align-items: flex-end; gap: 1.6rem; text-align: right; }
.chapter-num { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(4.5rem, 11vw, 11rem); line-height: .8; color: var(--wine); }
.chapter-desc { max-width: 36ch; font-size: 1.02rem; color: var(--muted); }

.serif-quote { font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 4.4vw, 4.6rem); line-height: 1.02; }
.serif-quote em { color: var(--wine); }
.link-arrow { display: inline-block; margin-top: 2rem; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 4px; }

/* ================= WEDDINGS — horizontal ================= */
.weddings { background: var(--bone); }
.h-wrap { position: relative; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.h-track { display: flex; align-items: center; gap: clamp(28px, 4vw, 72px); padding: 0 var(--gutter); height: 82vh; will-change: transform; }
.h-intro, .h-outro { flex: 0 0 auto; width: clamp(260px, 30vw, 460px); display: flex; flex-direction: column; justify-content: center; gap: 2rem; }
.h-hint { color: var(--muted); }
.h-item { flex: 0 0 auto; }
.h-item .frame { height: 58vh; aspect-ratio: 2 / 3; }
.h-item.wide .frame { height: 46vh; aspect-ratio: 3 / 2; }
.h-item.high { align-self: flex-start; }
.h-item.low { align-self: flex-end; }
.h-item .frame img { position: absolute; top: 0; left: -8%; width: 116%; height: 100%; }
.h-item figcaption { display: flex; justify-content: space-between; gap: 1rem; margin-top: .9rem; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.h-item figcaption span:first-child { color: var(--wine); }
.h-progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 4vh; height: 1px; background: var(--line); }
.h-progress i { display: block; height: 100%; background: var(--wine); transform: scaleX(0); transform-origin: left; }

/* ================= RESTAURANTS — curtain ================= */
.curtain { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: var(--ink); color: var(--bone); }
.curtain-bg { position: absolute; inset: 0; }
.curtain-bg img { width: 100%; height: 100%; object-fit: cover; }
.curtain-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,16,17,.25), rgba(21,16,17,.15) 50%, rgba(21,16,17,.7)); }
.curtain-panel {
  position: absolute; top: 0; bottom: 0; width: 50.5%; z-index: 2;
  background:
    linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,0) 22%, rgba(0,0,0,0) 72%, rgba(0,0,0,.5)),
    repeating-linear-gradient(90deg, #3a0c11 0, #6b1c25 2.2vw, #4f1419 3.6vw, #7b2531 5.2vw, #3a0c11 7.4vw);
  box-shadow: inset 0 -40px 80px rgba(0,0,0,.35);
}
.curtain-panel.l { left: 0; }
.curtain-panel.r { right: 0; }
.curtain-title {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.6rem;
  text-align: center; padding: 0 var(--gutter);
}
.curtain-title h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(3.4rem, 10vw, 11rem); line-height: .92; text-shadow: 0 4px 40px rgba(0,0,0,.35); }
.curtain-after {
  position: absolute; z-index: 1; left: var(--gutter); right: var(--gutter); bottom: 7vh;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem;
}
.curtain-after .chapter-num { color: var(--bone); }
.curtain-after p { max-width: 34ch; text-align: right; font-size: 1.05rem; }

.food { background: var(--wine-deep); color: var(--bone); padding: 16vh var(--gutter) 24vh; overflow: hidden; }
.food-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; margin-bottom: 12vh; }
.food .serif-quote em { color: #D9A38A; }
.tags { display: flex; flex-wrap: wrap; gap: .6rem; max-width: 520px; justify-content: flex-end; }
.tags li { border: 1px solid var(--line-light); border-radius: 99px; padding: .55rem 1rem; }
.food-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2vw; align-items: start; }
.food-col { display: flex; flex-direction: column; gap: 2vw; }
.food-col:nth-child(2) { margin-top: 22vh; }
.food-col:nth-child(3) { margin-top: 8vh; }
.food .frame { aspect-ratio: 2 / 3; }
.food .frame img { transition: transform 1.2s var(--ease); }
.food .frame:hover img { transform: scale(1.05); }

/* ================= VILLAS ================= */
.villas { background: var(--sand); }
.villa-hero { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: var(--sand); }
.villa-hero-frame { position: absolute; inset: 0; overflow: hidden; }
.villa-hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.villa-hero-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,16,17,0) 45%, rgba(21,16,17,.6)); }
.villa-hero-title { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: 9vh; color: var(--bone); display: flex; flex-direction: column; gap: 1.2rem; }
.villa-hero-title h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.8rem, 7vw, 7.6rem); line-height: .95; }

.villa-grid-wrap { background: var(--sand); }
.villa-grid {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 2vw; row-gap: 12vh;
  padding: 18vh var(--gutter) 24vh; align-items: start;
}
.v .frame { width: 100%; }
.v .frame.px img { position: absolute; left: 0; top: -9%; height: 118%; }
.v1 { grid-column: 1 / span 8; } .v1 .frame { aspect-ratio: 3 / 2; }
.v-text { grid-column: 10 / span 3; align-self: end; display: flex; flex-direction: column; gap: 1.2rem; color: var(--wine); }
.v-text p { font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 2.3rem); line-height: 1.12; color: var(--ink); }
.v2 { grid-column: 2 / span 4; } .v2 .frame { aspect-ratio: 2 / 3; }
.v3 { grid-column: 7 / span 6; margin-top: 22vh; } .v3 .frame { aspect-ratio: 3 / 2; }
.v4 { grid-column: 1 / span 6; } .v4 .frame { aspect-ratio: 3 / 2; }
.v5 { grid-column: 8 / span 4; margin-top: -8vh; } .v5 .frame { aspect-ratio: 2 / 3; }
.v6 { grid-column: 1 / span 4; } .v6 .frame { aspect-ratio: 3 / 4; }
.v7 { grid-column: 6 / span 7; margin-top: 14vh; } .v7 .frame { aspect-ratio: 3 / 2; }
.v8 { grid-column: 3 / span 6; } .v8 .frame { aspect-ratio: 3 / 2; }

/* ================= SPORT ================= */
.sport { background: var(--ink); color: var(--bone); padding-bottom: 22vh; overflow: hidden; }
.sport .chapter-head { padding-top: 6vh; }
.sport .chapter-title em, .sport .chapter-num, .sport .chapter-label { color: #D07A55; }
.sport .chapter-desc { color: rgba(242,235,224,.65); }
.marquee { padding-top: 16vh; display: flex; flex-direction: column; gap: .5rem; }
.marquee-row { white-space: nowrap; font-family: var(--serif); font-weight: 300; font-size: clamp(4rem, 12vw, 13rem); line-height: 1; will-change: transform; }
.marquee-row .o { font-style: italic; color: transparent; -webkit-text-stroke: 1px rgba(242,235,224,.7); }
.marquee-row .dot { color: #D07A55; font-size: .45em; vertical-align: middle; }
.sport-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4vw; padding: 0 var(--gutter); }
.sport-item { aspect-ratio: 2 / 3; }
.sport-item:nth-child(4n+2), .sport-item:nth-child(4n+4) { margin-top: 10vh; }
.sport-item img { filter: contrast(1.04) saturate(.92); transition: transform 1.2s var(--ease), filter .6s; }
.sport-item:hover img { transform: scale(1.06); filter: none; }

/* ================= STREET — stacked cards ================= */
.street { background: var(--bone); padding-bottom: 14vh; }
.stack { padding: 0 var(--gutter); }
.stack-card { position: sticky; top: calc(11vh + var(--i) * 14px); height: 78vh; margin-bottom: 8vh; }
.stack-card:last-child { margin-bottom: 0; }
.stack-inner {
  height: 100%; border-radius: 22px; overflow: hidden; transform-origin: 50% 0;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  box-shadow: 0 -10px 40px rgba(21,16,17,.08);
}
.stack-inner .frame { height: 100%; border-radius: 0; }
.stack-text { padding: clamp(24px, 4.5vw, 72px); display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; }
.stack-text h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.8rem, 6.5vw, 7rem); line-height: .95; }
.stack-text p { max-width: 32ch; font-size: 1.02rem; opacity: .8; }
.c-bone { background: #EDE2D1; color: var(--ink); } .c-bone h3 em { color: var(--wine); }
.c-wine { background: var(--wine); color: var(--bone); }
.c-sand { background: #D9C7AC; color: var(--ink); } .c-sand h3 em { color: var(--wine); }
.c-ink { background: var(--ink); color: var(--bone); }
.c-terra { background: var(--terra); color: var(--bone); }
.c-deep { background: var(--wine-deep); color: var(--bone); }

/* ================= ABOUT ================= */
.about {
  background: var(--ink); color: var(--bone);
  display: grid; grid-template-columns: 5fr 7fr; gap: 7vw; align-items: center;
  padding: 22vh var(--gutter);
}
.about-media { position: relative; }
.portrait { aspect-ratio: 3 / 4; border-radius: 999px 999px 0 0; overflow: hidden; background: #000; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.portrait-cap { display: block; margin-top: 1rem; color: rgba(242,235,224,.55); }
.about-text .label { color: #D9A38A; }
.about-text h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 6.4vw, 7rem); line-height: .98; margin: 1.6rem 0 2.4rem; }
.about-text h2 em { color: #D9A38A; }
.about-text p { max-width: 54ch; font-size: 1.08rem; color: rgba(242,235,224,.82); margin-bottom: 1.2rem; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 3.4rem; border-top: 1px solid var(--line-light); }
.facts > div { padding: 1.4rem 1rem 0 0; }
.facts dt { color: rgba(242,235,224,.5) !important; margin-bottom: .5rem; }
.facts dd { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.6rem); line-height: 1; }

/* ================= SERVICES ================= */
.services { background: var(--bone); padding: 18vh var(--gutter) 20vh; }
.services .index-head { margin-bottom: 0; }
.svc {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 4.5rem 1.3fr 1fr 2.5rem; align-items: center; gap: 1.5rem;
  padding: 2.1rem 1.2rem; border-bottom: 1px solid var(--line);
  transition: color .5s var(--ease);
}
.svc::before { content: ''; position: absolute; inset: 0; background: var(--wine); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); }
.svc > * { position: relative; }
.svc:hover { color: var(--bone); }
.svc:hover::before { transform: scaleY(1); }
.svc .num { font-family: var(--serif); font-style: italic; color: var(--wine); transition: color .5s; }
.svc:hover .num { color: #D9A38A; }
.svc h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(1.8rem, 3.3vw, 3.4rem); line-height: 1.05; }
.svc p { color: inherit; opacity: .7; }
.svc .arrow { font-size: 1.4rem; justify-self: end; transition: transform .5s var(--ease); }
.svc:hover .arrow { transform: rotate(45deg); }

/* ================= CONTACT ================= */
.contact { background: var(--wine); color: var(--bone); padding: 20vh var(--gutter) 0; overflow: hidden; position: relative; }
.contact > .label { color: #E2B49F; }
.contact h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(3.2rem, 8.6vw, 10rem); line-height: .94; margin-top: 2rem; max-width: 14ch; }
.contact h2 em { color: #E9BFA9; }
.contact-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 2.5rem; flex-wrap: wrap; margin-top: 5rem; }
.contact-sub { max-width: 40ch; font-size: 1.1rem; opacity: .85; }
.wa-btn {
  display: inline-flex; align-items: center; gap: 1rem;
  background: var(--bone); color: var(--wine);
  padding: 1.35rem 2.3rem; border-radius: 99px;
  font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 400;
  transition: transform .5s var(--ease), background .4s, color .4s;
}
.wa-btn:hover { transform: scale(1.04); background: var(--ink); color: var(--bone); }
.wa-btn .arrow { transition: transform .5s var(--ease); }
.wa-btn:hover .arrow { transform: translateX(6px); }
.contact-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 8rem; padding-top: 2rem; border-top: 1px solid var(--line-light); }
.contact-info dt { opacity: .6; margin-bottom: .6rem; }
.contact-info dd { font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 2rem); }
.contact-info a { border-bottom: 1px solid transparent; transition: border-color .3s; }
.contact-info a:hover { border-color: currentColor; }
.foot-word {
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: 14.6vw; line-height: .9; letter-spacing: -.035em; white-space: nowrap; text-align: center;
  margin: 14vh calc(var(--gutter) * -1) 0; overflow: hidden; padding-bottom: .06em;
  color: #F2EBE0;
}
.foot-bar { display: flex; justify-content: space-between; gap: 1rem; padding: 1.6rem 0 2rem; border-top: 1px solid var(--line-light); }

/* ================= LIGHTBOX ================= */
.lightbox {
  position: fixed; inset: 0; z-index: 95;
  background: rgba(21, 10, 12, .94);
  display: grid; place-items: center; padding: 5vh 4vw;
  opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; cursor: zoom-out;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 90vh; object-fit: contain; transform: scale(.95); transition: transform .7s var(--ease); }
.lightbox.open img { transform: none; }
.lightbox-close { position: absolute; top: 22px; right: var(--gutter); color: var(--bone); }

/* ================= REDUCED MOTION / NO-PIN FALLBACKS ================= */
html.reduced .h-wrap { height: auto; overflow-x: auto; padding: 4vh 0 8vh; }
html.reduced .h-track { height: 70vh; }
html.reduced .curtain-panel { display: none; }
html.reduced .fs-track { animation: none; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1000px) {
  .nav-links, .nav-name { display: none; }
  .chapter-head { grid-template-columns: 1fr; gap: 2.4rem; padding-top: 14vh; }
  .chapter-side { align-items: flex-start; text-align: left; flex-direction: row-reverse; justify-content: space-between; width: 100%; }
  .about { grid-template-columns: 1fr; gap: 8vh; padding: 16vh var(--gutter); }
  .about-media { max-width: 460px; }
  .villa-grid { row-gap: 7vh; }
  .v1, .v4, .v7, .v8 { grid-column: 1 / -1; }
  .v-text { grid-column: 1 / -1; }
  .v2, .v6 { grid-column: 1 / span 6; }
  .v3 { grid-column: 1 / -1; margin-top: 0; }
  .v5 { grid-column: 7 / span 6; margin-top: 16vh; }
  .v7 { margin-top: 0; }
  .svc { grid-template-columns: 3rem 1fr 2rem; }
  .svc p { grid-column: 2 / 3; grid-row: 2; }
  .svc .arrow { grid-row: 1; grid-column: 3; }
}

@media (max-width: 700px) {
  .hide-sm { display: none; }
  .hero-top { top: 80px; }
  .hero-intro { display: none; }
  .vf { left: var(--gutter); right: var(--gutter); width: auto; top: 14vh; aspect-ratio: 4 / 5; max-height: 54vh; margin: 0 auto; }
  .vf-hud { left: 46px; right: 46px; font-size: .55rem; }
  .vf-corner { width: 22px; height: 22px; }
  .hero-title { bottom: calc(11vh + 2vh); }
  .hero-line { font-size: 17vw; }
  .hero-line--2 { padding-left: 14vw; }
  .filmstrip { height: 11vh; padding: 13px 0; }
  .manifesto { padding: 16vh var(--gutter) 14vh; }
  .manifesto-text { text-indent: 0; }
  .index-row { grid-template-columns: 2.6rem 1fr; padding: 1.6rem 0; }
  .index-row .label { grid-column: 2; text-align: left; }
  .index-row:hover h3 { transform: none; }
  .h-item .frame { height: 50vh; }
  .h-item.wide .frame { height: 30vh; }
  .h-track { height: 74vh; }
  .h-intro, .h-outro { width: 74vw; }
  .curtain-after { flex-direction: column; align-items: flex-start; }
  .curtain-after p { text-align: left; }
  .food-intro { margin-bottom: 8vh; }
  .tags { justify-content: flex-start; }
  .food-grid { grid-template-columns: 1fr 1fr; gap: 3vw; }
  .food-col { gap: 3vw; }
  .food-col:nth-child(2) { margin-top: 12vh; }
  .food-col:nth-child(3) { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; margin-top: 3vw; }
  .sport-grid { grid-template-columns: 1fr 1fr; gap: 3vw; }
  .sport-item:nth-child(4n+2), .sport-item:nth-child(4n+4) { margin-top: 0; }
  .sport-item:nth-child(even) { margin-top: 8vh; }
  .stack-card { height: 76vh; top: calc(9vh + var(--i) * 10px); }
  .stack-inner { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; border-radius: 16px; }
  .stack-text { padding: 20px 20px 24px; gap: .8rem; }
  .stack-text h3 { font-size: 2.6rem; }
  .stack-text p { font-size: .92rem; }
  .facts { grid-template-columns: 1fr 1fr 1fr; }
  .contact { padding-top: 14vh; }
  .contact-info { grid-template-columns: 1fr; gap: 1.4rem; margin-top: 5rem; }
  .foot-bar { flex-direction: column; }
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .nav-cta { display: none; }
}
