/* ============================================================
   MAISON KAMENGE — Bujumbura, Burundi
   Warm editorial dark theme · Fraunces + Karla
   ============================================================ */

:root {
  --bg: #171009;
  --bg-2: #1f150b;
  --paper: #f4ead9;
  --paper-2: #ecdfc8;
  --ink: #241708;
  --cream: #f3e9dc;
  --cream-dim: #cdbba4;
  --amber: #e8a33d;
  --terra: #c96f4a;
  --line: rgba(243, 233, 220, 0.14);
  --line-ink: rgba(36, 23, 8, 0.16);
  --font-display: "Fraunces", serif;
  --font-body: "Karla", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(1.25rem, 5vw, 5rem);
}

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

html { scroll-behavior: smooth; }

body {
  background: #171009;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--amber); color: var(--ink); }

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 480;
  line-height: 1.04;
  letter-spacing: -0.015em;
}

h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }

a { color: inherit; }

a:focus-visible, button:focus-visible, video:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #3d2c17; border-radius: 5px; }

/* ---------- Grain overlay ---------- */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 2000;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 0.9s steps(4) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 3%); }
  50% { transform: translate(3%, -2%); }
  75% { transform: translate(-3%, -3%); }
  100% { transform: translate(2%, 2%); }
}

/* ---------- Preloader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 3000;
  background: #171009;
  background: var(--bg);
  display: grid; place-items: center;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { text-align: center; max-width: 30rem; padding: 0 1.5rem; }
.loader-verse-divider {
  display: block;
  width: 2.5rem; height: 1px;
  background: var(--terra);
  margin: 1.6rem auto 1.4rem;
  opacity: 0.7;
}
.loader-verse {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 3.4vw, 1.5rem);
  line-height: 1.4;
  color: var(--cream);
}
.loader-verse-tr {
  margin-top: 0.7rem;
  font-size: clamp(0.8rem, 2.4vw, 0.92rem);
  line-height: 1.5;
  color: var(--cream-dim);
}
.loader-ref {
  display: block;
  margin-top: 0.9rem;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--terra);
}
.loader-verse, .loader-verse-tr, .loader-ref {
  opacity: 0;
  animation: verse-in 1s var(--ease) forwards;
}
.loader-verse { animation-delay: 0.5s; }
.loader-verse-tr { animation-delay: 0.75s; }
.loader-ref { animation-delay: 1s; }
@keyframes verse-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.loader-word {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2rem, 6vw, 4rem);
  color: var(--amber);
  animation: loader-pulse 1.4s var(--ease) infinite alternate;
}
.loader-sub {
  display: block; margin-top: 0.75rem;
  font-size: 0.8rem; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--cream-dim);
}
@keyframes loader-pulse { from { opacity: 0.5; } to { opacity: 1; } }
.loader-word span {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.5em) rotate(4deg);
  animation: letter-in 0.7s var(--ease) forwards;
}
@keyframes letter-in { to { opacity: 1; transform: none; } }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1600;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem var(--pad);
  transition: background 0.4s, box-shadow 0.4s, padding 0.4s;
}
.nav { transition: background 0.4s, box-shadow 0.4s, padding 0.4s, transform 0.45s var(--ease); }
.nav.hidden { transform: translateY(-110%); }
.nav-links a.active { color: var(--amber); }
.nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav.scrolled {
  background: rgba(23, 16, 9, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding-block: 0.7rem;
}
.nav-brand {
  display: flex; align-items: center; gap: 0.7rem;
  text-decoration: none;
}
.brand-mark {
  display: grid; place-items: center;
  width: 2.5rem; height: 2.5rem;
  border: 1px solid var(--amber);
  border-radius: 50%;
  color: var(--amber);
  transition: background 0.3s var(--ease), color 0.3s;
}
.nav-brand:hover .brand-mark { background: var(--amber); color: var(--ink); }
.brand-mark svg { display: block; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.footer-logo {
  display: inline-flex; align-items: center; gap: 0.7rem;
}
.footer-emblem { color: var(--amber); flex: 0 0 auto; }
.nav-links { display: flex; gap: 1.8rem; }
.nav-links a {
  text-decoration: none;
  font-size: 0.86rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cream-dim);
  transition: color 0.25s;
  position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -5px;
  width: 100%; height: 1px; background: var(--amber);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-right { display: flex; align-items: center; gap: 1rem; }

/* Burger (mobile only) */
.nav-burger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 2.7rem; height: 2.7rem;
  background: none; border: 1px solid var(--line); border-radius: 50%;
  cursor: pointer;
  padding: 0 0.6rem;
}
.nav-burger span {
  display: block; height: 2px; width: 100%;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 1500;
  background:
    radial-gradient(120% 90% at 80% 100%, rgba(201,111,74,0.18), transparent 60%),
    var(--bg);
  display: flex; flex-direction: column; justify-content: center;
  padding: 6rem var(--pad) 3rem;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 0.4rem; }
.mobile-menu nav a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3.2rem);
  line-height: 1.25;
  color: var(--cream);
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px);
  animation: mm-in 0.55s var(--ease) forwards;
}
.mobile-menu nav a:nth-child(1) { animation-delay: 0.05s; }
.mobile-menu nav a:nth-child(2) { animation-delay: 0.1s; }
.mobile-menu nav a:nth-child(3) { animation-delay: 0.15s; }
.mobile-menu nav a:nth-child(4) { animation-delay: 0.2s; }
.mobile-menu nav a:nth-child(5) { animation-delay: 0.25s; }
.mobile-menu nav a:nth-child(6) { animation-delay: 0.3s; }
.mobile-menu nav a:nth-child(7) { animation-delay: 0.35s; }
@keyframes mm-in { to { opacity: 1; transform: none; } }
.mobile-menu nav a.mm-cta { color: var(--amber); font-style: italic; }
.mm-contact {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 0.5rem;
}
.mm-contact a {
  color: var(--cream-dim);
  text-decoration: none;
  font-size: 0.95rem;
}
.mm-contact a:hover { color: var(--amber); }

.lang-toggle {
  background: none; border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--cream-dim);
  font-family: var(--font-body); font-size: 0.8rem;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  transition: border-color 0.25s;
}
.lang-toggle:hover { border-color: var(--amber); }
.lang-toggle .active { color: var(--amber); font-weight: 700; }
.lang-sep { margin: 0 0.3rem; opacity: 0.5; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-body); font-weight: 700;
  font-size: 0.9rem; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.9rem 1.8rem;
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--amber); color: var(--ink); }
.btn-solid:hover { background: #f0b458; }
.btn-ghost { border: 1px solid var(--line); color: var(--cream); }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }
.btn-nav { padding: 0.55rem 1.2rem; font-size: 0.8rem; background: var(--amber); color: var(--ink); }
.btn-big { padding: 1.1rem 2.4rem; font-size: 1rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--pad) 0;
}
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-slides { position: absolute; inset: 0; }
.hero-slides img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.05);
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-slides img.active { opacity: 1; animation: hero-zoom 9s ease-in-out both; }
.hero-dots {
  position: absolute; left: var(--pad); bottom: 2rem; z-index: 3;
  display: flex; gap: 0.55rem;
}
.hero-dots button {
  width: 2.2rem; height: 3px;
  border: none; border-radius: 2px;
  background: rgba(243,233,220,0.3);
  cursor: pointer;
  transition: background 0.3s;
  padding: 0;
}
.hero-dots button.on { background: var(--amber); }
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(23,16,9,0.55) 0%, rgba(23,16,9,0.15) 35%, rgba(23,16,9,0.72) 78%, var(--bg) 100%),
    radial-gradient(120% 60% at 20% 90%, rgba(201,111,74,0.28), transparent 60%);
}
.hero-content { position: relative; z-index: 2; max-width: 60rem; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.82rem; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--amber);
  border: 1px solid rgba(232,163,61,0.35);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  margin-bottom: 1.6rem;
  backdrop-filter: blur(6px);
}
.pin-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--amber);
  animation: ping 2s infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(232,163,61,0.6); }
  70% { box-shadow: 0 0 0 9px rgba(232,163,61,0); }
  100% { box-shadow: 0 0 0 0 rgba(232,163,61,0); }
}
.hero-title {
  font-size: clamp(3.4rem, 12vw, 9.5rem);
  font-weight: 430;
  color: var(--cream);
  text-shadow: 0 4px 40px rgba(0,0,0,0.35);
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.hero-title .line span {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 1.1s var(--ease) forwards;
}
.hero-title .line:nth-child(2) span { animation-delay: 0.15s; color: var(--amber); }
.hero-title .italic { font-style: italic; }
@keyframes rise { to { transform: translateY(0); } }
.hero-sub {
  margin-top: 1.1rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.05rem, 1.8vw, 1.4rem);
  color: var(--amber);
}
.hero-tag {
  max-width: 34rem;
  margin-top: 1.4rem;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--cream-dim);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

.hero-stats {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap;
  margin-top: 3.5rem;
  border-top: 1px solid var(--line);
}
.stat {
  flex: 1 1 8rem;
  padding: 1.4rem 1rem 2.2rem 0;
  display: flex; flex-direction: column;
}
.stat + .stat { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.stat strong {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 480; color: var(--amber);
}
.stat span {
  font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cream-dim);
}
.hero-badge {
  position: absolute;
  right: var(--pad);
  bottom: 11rem;
  z-index: 3;
  width: clamp(6.5rem, 10vw, 9rem);
  height: clamp(6.5rem, 10vw, 9rem);
  display: grid; place-items: center;
  text-decoration: none;
}
.hero-badge svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  animation: badge-spin 20s linear infinite;
}
.hero-badge text {
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.22em;
  fill: var(--cream-dim);
}
.hero-badge-arrow {
  font-size: 1.4rem;
  color: var(--amber);
  transition: transform 0.35s var(--ease);
}
.hero-badge:hover .hero-badge-arrow { transform: translateY(5px); }
.hero-badge:hover text { fill: var(--cream); }
@keyframes badge-spin { to { transform: rotate(360deg); } }
@media (max-width: 48rem) { .hero-badge { display: none; } }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 1.1rem 0;
  background: var(--bg-2);
}
.marquee-track {
  display: flex; align-items: center; gap: 2.2rem;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--cream-dim);
  white-space: nowrap;
}
.marquee-track i { color: var(--amber); font-style: normal; font-size: 0.8rem; }
@keyframes marquee { to { transform: translateX(calc(-100% / 3)); } }

/* ---------- Shared section bits ---------- */
.kicker {
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 1rem;
}
.section-head { padding: clamp(4rem, 9vw, 7rem) var(--pad) 2.5rem; max-width: 70rem; }
.section-sub { color: var(--cream-dim); margin-top: 1rem; }

/* ---------- Story (paper section) ---------- */
.story {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(4.5rem, 10vw, 8.5rem) var(--pad);
  position: relative;
}
.story::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: repeating-linear-gradient(90deg, var(--terra) 0 28px, var(--amber) 28px 56px, var(--ink) 56px 62px);
}
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  max-width: 78rem;
  margin: 0 auto;
  align-items: center;
}
.story .kicker { color: var(--terra); }
.story h2 { color: var(--ink); margin-bottom: 1.4rem; }
.story .lede { font-size: 1.15rem; color: #4b3a26; }
.story .lede::first-letter {
  font-family: var(--font-display);
  font-size: 3.4em; float: left;
  line-height: 0.82;
  padding: 0.08em 0.12em 0 0;
  color: var(--terra);
}
.feature-list { list-style: none; margin-top: 1.8rem; }
.feature-list li {
  display: flex; gap: 0.8rem; align-items: baseline;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line-ink);
  font-weight: 500;
}
.feature-list i { color: var(--terra); font-style: normal; font-size: 0.75rem; }

.story-motto {
  margin-top: 1.6rem;
  font-size: 0.95rem;
  color: #4b3a26;
}
.story-motto em {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--terra);
  display: block;
}
.story-photos { position: relative; min-height: 30rem; }
.story-photos figure {
  position: absolute; overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 24px 60px rgba(36,23,8,0.28);
}
.story-photos img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.story-photos figure:hover img { transform: scale(1.05); }
.photo-a { top: 0; left: 0; width: 72%; aspect-ratio: 4/3; z-index: 1; }
.photo-b { bottom: 0; right: 0; width: 52%; aspect-ratio: 3/4; z-index: 2; }
.photo-stamp {
  position: absolute; top: -1.4rem; right: 6%;
  z-index: 3;
  display: grid; place-items: center;
  width: 6.2rem; height: 6.2rem;
  border-radius: 50%;
  background: var(--ink); color: var(--paper);
  font-family: var(--font-display);
  font-size: 1rem; text-align: center; line-height: 1.15;
  transform: rotate(12deg);
  animation: stamp-spin 14s linear infinite;
}
@keyframes stamp-spin { to { transform: rotate(372deg); } }

/* ---------- Spaces — pinned horizontal scroll ---------- */
.spaces { padding-bottom: 0; }
.hscroll { position: relative; }
.hscroll-sticky { position: relative; }
.hscroll-track { will-change: transform; }

.panel { position: relative; }
.panel-num {
  position: absolute;
  top: -0.55em; left: -0.06em;
  z-index: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(6rem, 16vw, 15rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(201,111,74,0.5);
  pointer-events: none;
}
.panel-media { position: relative; z-index: 1; }
.panel-media > img:first-child {
  width: 100%; aspect-ratio: 16/10.5; object-fit: cover;
  border-radius: 4px;
}
.panel-media-alt {
  position: absolute;
  right: -5%; bottom: -12%;
  width: 40%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border: 5px solid var(--bg);
  border-radius: 4px;
  box-shadow: 0 18px 44px rgba(0,0,0,0.45);
  transition: transform 0.5s var(--ease);
}
.panel-media:hover .panel-media-alt { transform: translateY(-8px) rotate(-1.5deg); }
.panel-info { position: relative; z-index: 1; }
.panel-info h3 { font-size: clamp(1.7rem, 2.6vw, 2.6rem); margin-bottom: 1rem; }
.panel-info p { color: var(--cream-dim); }

.panel-cta { display: grid; place-items: center; }
.panel-cta-link {
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  text-decoration: none;
  text-align: center;
  padding: 3rem;
  transition: transform 0.4s var(--ease);
}
.panel-cta-link:hover { transform: scale(1.05); }
.panel-cta-link em {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(4rem, 9vw, 8rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--amber);
}
.panel-cta-link span {
  font-size: 0.9rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cream);
}

.hscroll-progress { display: none; }

/* Desktop: pin & translate */
@media (min-width: 64rem) {
  .hscroll { height: 430vh; }
  .hscroll-sticky {
    position: sticky; top: 0;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    display: flex; align-items: center;
  }
  .hscroll-track {
    display: flex; align-items: center;
    gap: 7vw;
    padding: 0 10vw;
    width: max-content;
  }
  .panel {
    flex: 0 0 auto;
    width: 68vw;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 3.5vw;
    align-items: center;
  }
  .panel-cta { width: 34vw; }
  .hscroll-progress {
    display: block;
    position: absolute;
    left: 50%; bottom: 2.2rem;
    transform: translateX(-50%);
    width: min(30rem, 40vw); height: 2px;
    background: var(--line);
    overflow: hidden;
  }
  .hscroll-progress span {
    display: block; width: 100%; height: 100%;
    background: linear-gradient(90deg, var(--terra), var(--amber));
    transform: scaleX(0);
    transform-origin: left;
  }
}

/* Mobile / tablet: vertical stack */
@media (max-width: 63.99rem) {
  .hscroll-track { padding: 0 var(--pad); }
  .panel { margin-bottom: 4.5rem; }
  .panel-num { position: static; display: block; font-size: clamp(3.5rem, 12vw, 6rem); margin-bottom: 0.4rem; }
  .panel-info { margin-top: 2.2rem; }
  .panel-cta-link { padding: 1rem; }
}

.space-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }
.space-tags em {
  font-style: normal; font-size: 0.78rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  color: var(--cream-dim);
}

/* ---------- Gallery — editorial mosaic ---------- */
.gallery { background: var(--bg-2); border-block: 1px solid var(--line); padding-bottom: clamp(4rem, 8vw, 6rem); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 13.5rem;
  grid-auto-flow: dense;
  gap: 0.9rem;
  padding: 0 var(--pad);
  max-width: 96rem; margin: 0 auto;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
  border: none; padding: 0; margin: 0; background: #241708;
  display: block; width: 100%; height: 100%;
}
.gallery-item.feat { grid-column: span 2; grid-row: span 2; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.85s var(--ease), filter 0.6s;
}
.gallery-item::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(190deg, rgba(23,16,9,0) 40%, rgba(23,16,9,0.82) 100%);
  opacity: 0;
  transition: opacity 0.45s;
}
.gallery-cap {
  position: absolute; left: 1rem; right: 1rem; bottom: 0.95rem; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 0.75rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.gallery-cap b {
  font-family: var(--font-display);
  font-weight: 460;
  font-size: 1.05rem;
  color: var(--cream);
  line-height: 1.15;
}
.gallery-cap .cat {
  flex: 0 0 auto;
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink);
  background: var(--amber);
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
}
.gallery-zoom {
  position: absolute; top: 0.9rem; right: 0.9rem; z-index: 2;
  width: 2.5rem; height: 2.5rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(23,16,9,0.5);
  backdrop-filter: blur(4px);
  color: var(--cream);
  opacity: 0;
  transform: scale(0.7) rotate(-20deg);
  transition: opacity 0.4s, transform 0.4s var(--ease), background 0.3s;
}
.gallery-item:hover img,
.gallery-item:focus-visible img { transform: scale(1.07); }
.gallery-item:hover::before,
.gallery-item:focus-visible::before { opacity: 1; }
.gallery-item:hover .gallery-cap,
.gallery-item:focus-visible .gallery-cap { opacity: 1; transform: none; }
.gallery-item:hover .gallery-zoom,
.gallery-item:focus-visible .gallery-zoom { opacity: 1; transform: none; }
.gallery-item:hover .gallery-zoom { background: var(--amber); color: var(--ink); }

/* ---------- Tour ---------- */
.tour { padding-bottom: clamp(4.5rem, 9vw, 8rem); }
.tour-frame {
  position: relative;
  margin: 0 var(--pad);
  max-width: 76rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
@media (min-width: 86rem) { .tour-frame { margin: 0 auto; } }
.tour-frame video { width: 100%; display: block; aspect-ratio: 16/9; object-fit: cover; background: #000; }
.tour-play {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1rem;
  background: rgba(23,16,9,0.45);
  border: none; cursor: pointer;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.85rem; letter-spacing: 0.25em; text-transform: uppercase;
  transition: background 0.35s, opacity 0.4s, visibility 0.4s;
}
.tour-play svg {
  width: 84px; height: 84px;
  padding: 24px;
  border: 1px solid rgba(243,233,220,0.5);
  border-radius: 50%;
  transition: transform 0.35s var(--ease), background 0.35s, border-color 0.35s;
}
.tour-play:hover { background: rgba(23,16,9,0.25); }
.tour-play:hover svg { transform: scale(1.1); background: var(--amber); color: var(--ink); border-color: var(--amber); }
.tour-play.hidden { opacity: 0; visibility: hidden; }

/* ---------- Host card ---------- */
.host-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  margin: clamp(2.5rem, 6vw, 4.5rem) var(--pad) 0;
  max-width: 62rem;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(232,163,61,0.09), transparent 55%),
    var(--bg-2);
}
@media (min-width: 72rem) { .host-card { margin-inline: auto; } }
.host-video video {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  border-radius: 6px;
  background: #000;
  box-shadow: 0 18px 44px rgba(0,0,0,0.4);
}
.host-kicker {
  display: block;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 0.7rem;
}
.host-info h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-style: italic;
  color: var(--amber);
  margin-bottom: 0.8rem;
}
.host-info p { color: var(--cream-dim); font-size: 0.98rem; }
@media (max-width: 64rem) {
  .host-card { grid-template-columns: 1fr; }
}

/* ---------- Area / location ---------- */
.area {
  background: var(--paper-2);
  color: var(--ink);
  padding: clamp(4.5rem, 10vw, 8rem) var(--pad);
}
.area-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  max-width: 78rem; margin: 0 auto;
  align-items: start;
}
.area h2 { color: var(--ink); margin-bottom: 1.3rem; }
.area p { color: #4b3a26; }
.area-address {
  margin-top: 1.8rem;
  padding: 1.1rem 1.3rem;
  border-left: 3px solid var(--terra);
  background: rgba(201,111,74,0.07);
  border-radius: 0 6px 6px 0;
  display: flex; flex-direction: column; gap: 0.2rem;
}
.area-address-label {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--terra);
}
.area-address strong {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: var(--ink);
}
.area-address sup { font-size: 0.6em; }
.area-address span:last-child { color: #4b3a26; font-size: 0.92rem; }
.area-list { list-style: none; margin-top: 2rem; }
.area-list li {
  display: flex; justify-content: space-between; gap: 1rem;
  align-items: baseline;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line-ink);
}
.area-list strong { font-weight: 700; }
.area-list span {
  font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--terra); white-space: nowrap;
}
.area-map {
  position: relative;
  border-radius: 6px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(36,23,8,0.25);
  aspect-ratio: 4/3.4;
  background: #d8cbB4;
}
.area-map #osmMap { width: 100%; height: 100%; background: #e8dcc4; z-index: 1; }
.area-map .leaflet-tile-pane { filter: sepia(0.3) saturate(0.85); }
.mk-pin {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--terra);
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 2px var(--terra), 0 4px 10px rgba(36,23,8,0.35);
}
.map-link {
  position: absolute; right: 0.9rem; bottom: 0.9rem;
  background: var(--ink); color: var(--paper);
  text-decoration: none;
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.55rem 1rem; border-radius: 999px;
  transition: background 0.3s;
}
.map-link:hover { background: var(--terra); }

/* ---------- FAQ ---------- */
.faq { background: var(--bg-2); border-top: 1px solid var(--line); padding-bottom: clamp(4rem, 8vw, 6rem); }
.faq-list { max-width: 52rem; padding: 0 var(--pad); margin: 0 auto; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  list-style: none;
  cursor: pointer;
  padding: 1.3rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: var(--cream);
  transition: color 0.25s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--amber); }
.faq-list summary i {
  font-style: normal;
  color: var(--terra);
  font-size: 1.3rem;
  transition: transform 0.35s var(--ease);
  flex: 0 0 auto;
}
.faq-list details[open] summary { color: var(--amber); }
.faq-list details[open] summary i { transform: rotate(45deg); }
.faq-list details p {
  padding: 0 0 1.4rem;
  max-width: 44rem;
  color: var(--cream-dim);
}

/* ---------- Booking ---------- */
.book {
  position: relative;
  text-align: center;
  padding: clamp(5rem, 12vw, 10rem) var(--pad);
  background:
    radial-gradient(90% 70% at 50% 110%, rgba(201,111,74,0.22), transparent 65%),
    var(--bg);
  overflow: hidden;
}
.book .kicker { color: var(--amber); }
.book-title {
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  max-width: 60rem; margin: 0 auto;
}
.book-title em {
  font-style: italic;
  color: var(--amber);
  display: inline-block;
  padding-left: 0.15em;
}
.book-sub { color: var(--cream-dim); max-width: 32rem; margin: 1.5rem auto 0; }
.book-badges {
  list-style: none;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 1.8rem;
  margin-top: 1.6rem;
}
.book-badges li {
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--terra);
}
.book-actions {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem;
  margin-top: 2.6rem;
}
.book-phones {
  list-style: none;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem 2.4rem;
  margin-top: 2.2rem;
}
.book-phones li { display: flex; flex-direction: column; align-items: center; gap: 0.15rem; }
.book-phones span {
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--cream-dim);
}
.book-phones a {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--cream);
  text-decoration: none;
  transition: color 0.25s;
}
.book-phones a:hover { color: var(--amber); }
.book-note {
  margin-top: 2rem;
  font-size: 0.85rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--cream-dim); opacity: 0.7;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem var(--pad) 2rem;
  background: var(--bg-2);
  overflow: hidden;
}
.footer-word {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(4.5rem, 19vw, 17rem);
  line-height: 0.9;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(243,233,220,0.14);
  user-select: none;
  margin-bottom: 1.5rem;
  transition: -webkit-text-stroke-color 0.6s;
}
.footer:hover .footer-word { -webkit-text-stroke-color: rgba(232,163,61,0.4); }
.footer-top {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: baseline; gap: 1rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.footer-logo { font-family: var(--font-display); font-size: 1.6rem; }
.footer-logo em { color: var(--amber); }
.footer-top p { color: var(--cream-dim); font-size: 0.95rem; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding-top: 1.4rem;
  font-size: 0.82rem; color: var(--cream-dim);
}
.footer-kirundi { font-style: italic; color: var(--terra); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 2500;
  background: rgba(15, 10, 5, 0.96);
  backdrop-filter: blur(10px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  animation: lb-fade 0.3s ease;
}
@keyframes lb-fade { from { opacity: 0; } }
.lightbox[hidden] { display: none; }

.lb-top {
  grid-row: 1;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.3rem clamp(1.1rem, 4vw, 2.4rem);
}
.lb-counter {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--cream-dim);
  font-variant-numeric: tabular-nums;
}
.lb-counter em { color: var(--amber); font-style: normal; }

.lb-figure {
  grid-row: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.9rem;
  min-height: 0;
  padding: 0 clamp(3.5rem, 8vw, 6rem);
}
.lb-figure img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.lb-figure img.swapping { animation: lb-swap 0.5s var(--ease); }
@keyframes lb-swap { from { opacity: 0; transform: scale(0.97); } }
.lb-figure figcaption {
  flex: 0 0 auto;
  text-align: center;
  font-size: 0.82rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cream-dim);
}

.lb-close, .lb-prev, .lb-next {
  background: none; border: 1px solid var(--line);
  border-radius: 50%;
  width: 3rem; height: 3rem;
  color: var(--cream);
  font-size: 1.1rem;
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, transform 0.25s, background 0.25s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover {
  border-color: var(--amber); color: var(--amber); transform: scale(1.06);
}
.lb-prev, .lb-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 2;
}
.lb-prev { left: clamp(0.6rem, 3vw, 1.8rem); }
.lb-next { right: clamp(0.6rem, 3vw, 1.8rem); }
.lb-prev:hover, .lb-next:hover { transform: translateY(-50%) scale(1.06); }

/* Filmstrip */
.lb-film {
  grid-row: 3;
  display: flex; gap: 0.5rem;
  overflow-x: auto;
  padding: 1rem clamp(1.1rem, 4vw, 2.4rem) 1.3rem;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}
.lb-film::-webkit-scrollbar { height: 5px; }
.lb-film::-webkit-scrollbar-thumb { background: #3d2c17; border-radius: 3px; }
.lb-film button {
  flex: 0 0 auto;
  width: 5rem; height: 3.4rem;
  padding: 0; border: 2px solid transparent; border-radius: 4px;
  overflow: hidden; cursor: pointer; background: none;
  opacity: 0.5;
  transition: opacity 0.3s, border-color 0.3s;
  scroll-snap-align: center;
}
.lb-film button img { width: 100%; height: 100%; object-fit: cover; }
.lb-film button:hover { opacity: 0.85; }
.lb-film button.on { opacity: 1; border-color: var(--amber); }

@media (max-width: 40rem) {
  .lb-figure { padding: 0 0.8rem; }
  .lb-film button { width: 3.6rem; height: 2.6rem; }
  .lb-prev, .lb-next { top: auto; bottom: 6.2rem; transform: none; }
  .lb-prev { left: 1rem; }
  .lb-next { right: 1rem; }
  .lb-prev:hover, .lb-next:hover { transform: scale(1.06); }
}

/* ---------- WOW layer ---------- */

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 3px; z-index: 1500;
  background: linear-gradient(90deg, var(--terra), var(--amber));
  transform-origin: left;
  transform: scaleX(0);
}

/* Loader counter */
.loader-count {
  display: block;
  margin-top: 1.8rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--cream-dim);
  opacity: 0.65;
  font-variant-numeric: tabular-nums;
}

/* Floating WhatsApp button */
.fab-wa {
  position: fixed; right: 1.3rem; bottom: 1.3rem; z-index: 1400;
  display: grid; place-items: center;
  width: 3.6rem; height: 3.6rem;
  border-radius: 50%;
  background: var(--amber); color: var(--ink);
  box-shadow: 0 10px 30px rgba(232,163,61,0.35);
  opacity: 0; visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: opacity 0.35s, transform 0.35s var(--ease), visibility 0.35s;
}
.fab-wa.show { opacity: 1; visibility: visible; transform: none; }
.fab-wa:hover { background: #f0b458; }

/* Split headings */
h2.split .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.12em; margin-bottom: -0.12em; }
h2.split .w i {
  display: inline-block; font-style: inherit;
  transform: translateY(115%);
  transition: transform 0.75s var(--ease);
}
h2.split.split-in .w i { transform: none; }

/* Hero Ken Burns */
@keyframes hero-zoom { from { transform: scale(1.06); } to { transform: scale(1); } }

/* Cinematic wipe on space images */
.panel .panel-media > img:first-child {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.1s var(--ease) 0.15s;
}
.panel.in .panel-media > img:first-child { clip-path: inset(0 0 0 0); }

/* Gallery filter chips */
.gallery-filters {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  padding: 0 var(--pad) 1.6rem;
  max-width: 90rem; margin: 0 auto;
}
.chip {
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--cream-dim);
  font-family: var(--font-body); font-weight: 700;
  font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.55rem 1.25rem;
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s, background 0.25s, transform 0.25s;
}
.chip:hover { border-color: var(--amber); color: var(--cream); transform: translateY(-1px); }
.chip.active { background: var(--amber); border-color: var(--amber); color: var(--ink); }

/* Gallery item pop-in */
.pop-in { animation: pop-in 0.6s var(--ease) both; }
@keyframes pop-in {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

/* Imigongo-inspired pattern in booking section */
.book::before {
  content: "";
  position: absolute; inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cpath d='M0 40 L40 0 L80 40 L40 80 Z' fill='none' stroke='%23e8a33d' stroke-width='1.5'/%3E%3Cpath d='M20 40 L40 20 L60 40 L40 60 Z' fill='none' stroke='%23c96f4a' stroke-width='1.5'/%3E%3C/svg%3E");
  background-size: 80px 80px;
  pointer-events: none;
}
.book > * { position: relative; }

/* Anchor offset under fixed nav */
html { scroll-padding-top: 5.5rem; }

/* ---------- Reveal animations ---------- */
.reveal-up, .reveal-scale {
  opacity: 0;
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal-up { transform: translateY(34px); }
.reveal-scale { transform: scale(0.94); }
.reveal-up.in, .reveal-scale.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal-up, .reveal-scale { opacity: 1; transform: none; }
  h2.split .w i { transform: none; }
  .space-media > img:first-child { clip-path: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 64rem) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .story-grid, .area-grid { grid-template-columns: 1fr; }
  .story-photos { min-height: 0; height: auto; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 1rem; align-items: start; }
  .story-photos figure { position: static; width: auto !important; }
  .photo-a { aspect-ratio: 4/3; }
  .photo-b { aspect-ratio: 4/5; }
  .photo-stamp { display: none; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 11rem; }
  .panel-media { margin-bottom: clamp(2.5rem, 14vw, 5rem); }
  .panel-info { margin-top: 0; }
  .host-card { margin-inline: var(--pad); }
}
@media (max-width: 40rem) {
  .brand-name { display: none; }
  .btn-nav { display: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 8.5rem; gap: 0.6rem; }
  .gallery-item.wide, .gallery-item.feat { grid-column: span 2; }
  .gallery-item.feat { grid-row: span 2; }
  .gallery-cap b { font-size: 0.9rem; }
  .hero-stats .stat { flex: 1 1 40%; }
  .stat + .stat { padding-left: 0.9rem; }
  .btn-big { width: 100%; justify-content: center; }
  .grain { animation: none; opacity: 0.035; }
  .hero-slides img.active { animation: none; }
  .hero-dots { bottom: 1.2rem; }
  .marquee-track span { font-size: 1.1rem; }
  .book-phones { flex-direction: column; gap: 1.2rem; }
}
