/* ============================================================
   Licensed display faces — one narrow role each
   Friska  → handwritten captions (polaroids, margin notes, loader subtitle)
   Roketto → printed-object display (volume covers/numerals, recipe names)
   ============================================================ */
@font-face{font-family:"Friska";src:url("fonts/Friska.woff") format("woff"),url("fonts/Friska.otf") format("opentype");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Roketto";src:url("fonts/Roketto.ttf") format("truetype");font-weight:400;font-style:normal;font-display:swap}

/* ============================================================
   The Village Pub — Cinematic Caribbean Heritage Experience
   Design tokens + global styles
   ============================================================ */

:root {
  /* Palette */
  --forest:        #3C5233;
  --forest-deep:   #264027;
  --bamboo:        #3F6B1A;
  --bamboo-light:  #9FC658;
  --olive:         #9FC658;
  --cream:         #F3EAD5;
  --leaf: #3F6B1A; --ember: #A35200; --ink: #0D1F22;
  --cream-soft:    #FDE8C8;
  --gold:          #F18F01;
  --gold-soft:     #C8F26B;
  --bronze:        #FDE8C8;
  --brown-deep:    #A35200;
  --charcoal:      #0D1F22;
  --gray-warm:     #DCEBBE;

  /* Typography */
  --serif:  "Cormorant Garamond", "Bodoni Moda", Georgia, serif;
  /* Friska is the UI & label sans — nav, eyebrows, meta, buttons, captions, forms */
  --sans:   "Friska", "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  /* Inter stays on long-form running text, where Friska's width costs reading comfort */
  --sans-text: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  /* Label layer — Friska. Used for eyebrows, nav, chips, badges, CTAs, meta keys */
  --label:  "Friska", "Inter", system-ui, sans-serif;
  /* Mono is now reserved for technical readouts: timecodes, counters, coords, kbd */
  --mono:   "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --script: "Caveat", "Cormorant Garamond", cursive;
  --poster: "Roketto", "Cormorant Garamond", Georgia, serif;

  /* Spacing scale */
  --pad-page: clamp(1.5rem, 4vw, 5rem);
  --maxw:     1680px;

  /* Motion */
  --ease-cinema: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-curtain: cubic-bezier(0.77, 0, 0.175, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  background: var(--charcoal);
  color: var(--cream);
  font-family: var(--sans-text);
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--gold); color: var(--charcoal); }

/* ------------------------------------------------------------
   Typography
   ------------------------------------------------------------ */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}
.eyebrow::before {
  content: "";
  width: 36px; height: 1px;
  background: currentColor;
  opacity: 0.7;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

.italic { font-style: italic; color: var(--gold-soft); }

/* ------------------------------------------------------------
   Layout primitives
   ------------------------------------------------------------ */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-page);
}
section { position: relative; isolation: isolate; }

.grain {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.15;
  mix-blend-mode: overlay;
  z-index: 2;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1   0 0 0 0 1   0 0 0 0 1   0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* SVG placeholder image */
.placeholder-img {
  position: relative;
  background:
    linear-gradient(135deg, var(--bamboo) 0%, var(--forest-deep) 60%, var(--brown-deep) 100%);
  overflow: hidden;
}
.placeholder-img::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(115deg, rgba(238,245,224,0.03) 0 1px, transparent 1px 14px),
    radial-gradient(circle at 30% 20%, rgba(241,143,1,0.22), transparent 55%),
    radial-gradient(circle at 80% 90%, rgba(13,31,34,0.6), transparent 60%);
}
.placeholder-img > .label {
  position: absolute;
  bottom: 0.9rem; left: 0.9rem;
  font-family: var(--label);
  font-size: 0.62rem;
  letter-spacing: 0.126em;
  text-transform: uppercase;
  color: rgba(238,245,224,0.55);
  padding: 0.25rem 0.5rem;
  border: 1px solid rgba(238,245,224,0.2);
  background: rgba(13,31,34,0.3);
  z-index: 3;
}

.tone-sunset  { background: linear-gradient(160deg, #2a1f15 0%, #6a4a25 35%, #F18F01 70%, #2a1f15 100%); }
.tone-village { background: linear-gradient(180deg, #2a1f15 0%, #534a3d 45%, #1b2a1f 100%); }
.tone-drone   { background: linear-gradient(200deg, #0e1813 0%, #3a4f33 50%, #8a8a5f 100%); }
.tone-market  { background: linear-gradient(140deg, #8a6a3b 0%, #2a1f15 60%, #0D1F22 100%); }
.tone-night   { background: linear-gradient(180deg, #0e1813 0%, #0D1F22 100%); }
.tone-coast   { background: linear-gradient(180deg, #3a4f33 0%, #8a8a5f 60%, #f3ead5 100%); }
.tone-wood    { background: linear-gradient(150deg, #2a1f15 0%, #8a6a3b 50%, #534a3d 100%); }
.tone-cream   { background: linear-gradient(160deg, #e8dec6 0%, #F18F01 60%, #8a6a3b 100%); }

/* ------------------------------------------------------------
   Intro loader
   ------------------------------------------------------------ */
.intro {
  position: fixed; inset: 0;
  background: var(--ink);
  z-index: 1000;
  pointer-events: all;
}
.intro__bar {
  width: 0; height: 1px;
  background: var(--gold);
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 24px rgba(241,143,1,0.4);
}
.intro__copy {
  position: absolute;
  inset: auto 0 14% 0;
  text-align: center;
  color: rgba(238,245,224,0.9);
  opacity: 0;
}
.intro__copy .eyebrow {
  justify-content: center;
  display: inline-flex;
}
.intro__copy .eyebrow::after {
  content: ""; width: 36px; height: 1px; background: currentColor; opacity: 0.6;
}
.intro__title {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-style: italic;
  margin-top: 1.2rem;
  color: var(--cream);
}
.intro__counter {
  position: absolute;
  bottom: 2rem; right: 2rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: rgba(238,245,224,0.45);
}
.intro__mark {
  position: absolute;
  top: 2rem; left: 2rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: rgba(238,245,224,0.45);
}

/* ------------------------------------------------------------
   Top Navigation
   ------------------------------------------------------------ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 80;
  padding: 1.4rem var(--pad-page);
  display: flex; align-items: center; justify-content: space-between;
  color: var(--cream);
  mix-blend-mode: difference;
}
.nav__logo {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.nav__logo svg { color: var(--gold); }
.nav__right { display: flex; align-items: center; gap: 1.8rem; }
.nav__meta {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.65;
}
.nav__trigger {
  display: flex; align-items: center; gap: 0.7rem;
  font-family: var(--label);
  font-size: 0.7rem;
  letter-spacing: 0.224em;
  text-transform: uppercase;
}
.nav__trigger .bars {
  width: 28px;
  display: flex; flex-direction: column; gap: 5px;
}
.nav__trigger .bars span {
  display: block; height: 1px; background: currentColor;
  transition: width .4s var(--ease-cinema);
}
.nav__trigger .bars span:nth-child(2) { width: 70%; align-self: flex-end; }
.nav__trigger:hover .bars span:nth-child(2) { width: 100%; }

/* Fullscreen menu */
.menu {
  position: fixed; inset: 0;
  z-index: 90;
  background: var(--forest-deep);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.menu.open { visibility: visible; opacity: 1; pointer-events: all; }
.menu__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(120deg, rgba(13,31,34,0.92), rgba(13,31,34,0.95)),
    radial-gradient(circle at 70% 30%, rgba(241,143,1,0.18), transparent 55%);
}
.menu__close {
  position: absolute; top: 1.4rem; right: var(--pad-page);
  font-family: var(--label);
  font-size: 0.7rem;
  letter-spacing: 0.224em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 0.7rem;
  color: var(--cream);
  z-index: 3;
}
.menu__close .x {
  width: 16px; height: 16px; position: relative;
}
.menu__close .x::before,
.menu__close .x::after {
  content: ""; position: absolute; top: 50%; left: 0;
  width: 100%; height: 1px; background: currentColor;
}
.menu__close .x::before { transform: rotate(45deg); }
.menu__close .x::after  { transform: rotate(-45deg); }

.menu__inner {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0 var(--pad-page);
  gap: 4rem;
}
.menu__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.menu__item { overflow: hidden; }
.menu__link {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5.6vw, 5rem);
  line-height: 1.1;
  color: var(--cream);
  display: inline-flex;
  align-items: baseline;
  gap: 1.4rem;
  transform: translateY(100%);
  transition: color .3s var(--ease-cinema), font-style .3s;
  position: relative;
}
.menu__link .idx {
  font-family: var(--label);
  font-size: 0.7rem;
  letter-spacing: 0.224em;
  color: var(--gold);
  align-self: flex-start;
  margin-top: 0.6rem;
}
.menu__link:hover { color: var(--gold-soft); font-style: italic; }

.menu__aside {
  align-self: end;
  padding-bottom: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.menu__placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(238,245,224,0.1);
}
.menu__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  font-family: var(--label);
  font-size: 0.66rem;
  letter-spacing: 0.168em;
  text-transform: uppercase;
  color: rgba(238,245,224,0.55);
}
.menu__meta strong {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--cream);
  margin-top: 0.3rem;
}

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  background: var(--ink);
}
.hero__bg {
  position: absolute; inset: -8%;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(13,31,34,0.55) 0%, rgba(13,31,34,0.0) 35%, rgba(13,31,34,0.65) 100%),
    linear-gradient(160deg, #1b2a1f 0%, #2a1f15 50%, #0e1813 100%);
  will-change: transform;
}
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 30% 40%, rgba(241,143,1,0.22), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(58,79,51,0.5), transparent 50%);
}
.hero__bamboo {
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero__bamboo svg { width: 100%; height: 100%; }

.hero__content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  grid-template-rows: 1fr auto;
  /* bottom padding clears the fixed control dock */
  padding: 0 var(--pad-page) 5.6rem;
}
.hero__chapter {
  align-self: end;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 4rem;
  padding-bottom: 2rem;
}
.hero__chapter .title {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6.4vw, 8rem);
  line-height: 0.96;
  font-weight: 300;
  letter-spacing: -0.02em;
}
.hero__chapter .title .line {
  display: block;
  overflow: hidden;
}
.hero__chapter .title .line span {
  display: inline-block;
  white-space: nowrap;
  transform: translateY(110%);
}
.hero__chapter .sub {
  font-family: var(--sans-text);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(238,245,224,0.72);
  max-width: 38ch;
  padding-bottom: 0.4rem;
}
.hero__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-family: var(--label);
  font-size: 0.66rem;
  letter-spacing: 0.21em;
  text-transform: uppercase;
  color: rgba(238,245,224,0.55);
}
.hero__scroll {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.hero__scroll .line {
  width: 80px; height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll .line::after {
  content: ""; position: absolute; top: 0; left: 0;
  width: 30%; height: 100%;
  background: var(--leaf);
  animation: scrollPulse 2.4s var(--ease-cinema) infinite;
}
@keyframes scrollPulse {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(360%); }
}

/* ------------------------------------------------------------
   Intro narrative
   ------------------------------------------------------------ */
.intro-narrative {
  padding: clamp(7rem, 14vw, 14rem) var(--pad-page);
  background: var(--charcoal);
  color: var(--cream);
}
.intro-narrative .wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
  padding: 0;
}
.intro-narrative .left { position: sticky; top: 6rem; }
.intro-narrative .quote {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 4.4vw, 4.2rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.intro-narrative .quote em { color: var(--gold-soft); font-style: italic; }
.intro-narrative .right { display: flex; flex-direction: column; gap: 2rem; padding-top: 1rem; }
.intro-narrative .right p {
  font-family: var(--sans-text);
  font-size: 1.02rem; line-height: 1.8;
  color: rgba(238,245,224,0.78);
  max-width: 56ch; text-wrap: pretty;
  margin: 0;
}
.intro-narrative .right p:first-of-type::first-letter {
  font-family: var(--serif);
  font-size: 4rem;
  float: left;
  line-height: 0.85;
  padding: 0.4rem 0.7rem 0 0;
  color: var(--gold);
}

/* ------------------------------------------------------------
   Explore Gateway
   ------------------------------------------------------------ */
.gateway {
  background: var(--forest-deep);
  padding: clamp(5rem, 9vw, 9rem) 0 0;
  color: var(--cream);
}
.gateway__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 0 var(--pad-page) 4rem;
  gap: 3rem;
}
.gateway__head h2 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1.02;
  max-width: 16ch;
}
.gateway__head .right {
  font-family: var(--sans-text);
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(238,245,224,0.7);
  max-width: 36ch;
}
.gateway__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.gateway__card {
  position: relative;
  aspect-ratio: 9 / 14;
  overflow: hidden;
  border-right: 1px solid rgba(238,245,224,0.08);
  cursor: pointer;
  isolation: isolate;
}
.gateway__card:last-child { border-right: none; }
.gateway__card .bg {
  position: absolute; inset: 0;
  transition: transform 1.2s var(--ease-cinema), filter 0.8s ease;
  filter: brightness(0.65) saturate(0.85);
}
.gateway__card .bg > .label { display: none; }
.gateway__card:hover .bg {
  transform: scale(1.06);
  filter: brightness(0.95) saturate(1.1);
}
.gateway__card::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(13,31,34,0.0) 30%, rgba(13,31,34,0.92) 100%);
}
.gateway__card .body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2rem;
  z-index: 2;
  color: var(--cream);
}
.gateway__card .idx {
  font-family: var(--label);
  font-size: 0.65rem;
  letter-spacing: 0.224em;
  color: var(--gold);
  margin-bottom: 1.4rem;
}
.gateway__card .title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 1.9vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -0.005em;
  margin-bottom: 0.7rem;
}
.gateway__card .desc {
  font-family: var(--sans-text);
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(238,245,224,0.7);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s var(--ease-cinema), margin-top 0.4s ease;
}
.gateway__card:hover .desc { max-height: 200px; margin-top: 0.4rem; }
.gateway__card .arrow {
  margin-top: 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--label);
  font-size: 0.65rem;
  letter-spacing: 0.224em;
  text-transform: uppercase;
  color: var(--gold);
}
.gateway__card .arrow svg { transition: transform 0.5s var(--ease-cinema); }
.gateway__card:hover .arrow svg { transform: translateX(8px); }

/* ------------------------------------------------------------
   Scrolly-telling
   ------------------------------------------------------------ */
.scrolly {
  background: var(--charcoal);
  padding: clamp(7rem, 12vw, 12rem) 0;
}
.scrolly__head {
  padding: 0 var(--pad-page) 5rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end;
}
.scrolly__head h2 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1.02;
  max-width: 16ch;
}
.scrolly__head p {
  font-size: 1rem; line-height: 1.75;
  color: rgba(238,245,224,0.7);
  max-width: 50ch;
}
.scrolly__panels {
  display: flex; flex-direction: column;
  gap: clamp(5rem, 9vw, 9rem);
}
.scrolly__panel {
  padding: 0 var(--pad-page);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.scrolly__panel.flip > .visual { order: 2; }
.scrolly__panel .visual {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
}
.scrolly__panel .visual .bg {
  position: absolute; inset: -10%;
  will-change: transform;
}
.scrolly__panel .copy { padding: 1rem 0; }
.scrolly__panel .copy .chapter {
  font-family: var(--label);
  font-size: 0.65rem;
  letter-spacing: 0.224em;
  color: var(--gold);
  margin-bottom: 1.4rem;
}
.scrolly__panel .copy h3 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.4vw, 4rem);
  line-height: 1.05;
  margin-bottom: 1.6rem;
  letter-spacing: -0.01em;
}
.scrolly__panel .copy p {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(238,245,224,0.72);
  max-width: 48ch;
  margin: 0 0 1.5rem;
}
.scrolly__panel .copy .meta {
  display: flex;
  gap: 2.2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(238,245,224,0.12);
  font-family: var(--label);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(238,245,224,0.55);
}
.scrolly__panel .copy .meta strong {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.05rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--cream);
  margin-top: 0.4rem;
}

/* ------------------------------------------------------------
   Cultural Showcase
   ------------------------------------------------------------ */
.culture {
  background: var(--leaf);
  color: var(--cream);
  padding: clamp(6rem, 11vw, 11rem) 0;
  position: relative;
}
.culture::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(253,232,200,0.04) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(90deg, rgba(253,232,200,0.04) 0 1px, transparent 1px 32px);
  pointer-events: none;
}
.culture .wrap { position: relative; z-index: 1; }
.culture__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 5rem;
}
.culture__head .eyebrow { color: var(--bronze); }
.culture__head h2 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.05;
}
.culture__head p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--gray-warm);
  max-width: 48ch;
  margin: 0;
}

.culture__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.4rem;
}
.culture__grid > * { position: relative; }
.cell-img-a { grid-column: span 7; aspect-ratio: 16 / 11; }
.cell-stats { grid-column: span 5; display: grid; gap: 1.4rem; grid-template-rows: 1fr 1fr; }
.cell-img-b { grid-column: span 4; aspect-ratio: 4 / 5; }
.cell-quote { grid-column: span 8; padding: 3rem; background: var(--forest-deep); color: var(--cream); display: flex; flex-direction: column; justify-content: space-between; }
.cell-icons { grid-column: span 12;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem;
  margin-top: 2rem; padding-top: 3rem; border-top: 1px solid rgba(253,232,200,0.18);
}

.stat-card {
  background: var(--forest-deep);
  color: var(--cream);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.stat-card .num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.4rem, 6vw, 5.4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--gold-soft);
}
.stat-card .num sup {
  font-size: 0.4em;
  vertical-align: super;
  color: var(--cream);
  margin-left: 0.2em;
}
.stat-card .label {
  font-family: var(--sans-text);
  font-size: 0.85rem;
  line-height: 1.55;
  color: rgba(238,245,224,0.75);
  max-width: 28ch;
}
.stat-card .tag {
  font-family: var(--label);
  font-size: 0.62rem;
  letter-spacing: 0.224em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.culture .cell-quote .q {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.6rem, 2.8vw, 2.6rem);
  line-height: 1.25;
  letter-spacing: -0.005em;
  font-style: italic;
}
.culture .cell-quote .q::before { content: "“"; color: var(--gold); margin-right: 0.1em; }
.culture .cell-quote .q::after  { content: "”"; color: var(--gold); margin-left: 0.1em; }
.culture .cell-quote .attr {
  display: flex; justify-content: space-between; align-items: end;
  margin-top: 2rem;
  font-family: var(--label);
  font-size: 0.66rem;
  letter-spacing: 0.224em;
  text-transform: uppercase;
  color: rgba(238,245,224,0.6);
}
.culture .cell-quote .attr strong {
  display: block; font-family: var(--serif); font-style: italic; font-weight: 400;
  text-transform: none; letter-spacing: 0; font-size: 1.05rem; color: var(--cream); margin-top: 0.4rem;
}

.icon-card {
  display: flex; flex-direction: column; gap: 1rem;
  padding: 1.4rem 0;
}
.icon-card svg { color: var(--bronze); }
.icon-card .icon-title {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--cream);
  letter-spacing: -0.005em;
}
.icon-card .icon-desc {
  font-family: var(--sans-text);
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--gray-warm);
}

/* ------------------------------------------------------------
   Virtual Tours
   ------------------------------------------------------------ */
.tours {
  background: var(--forest-deep);
  color: var(--cream);
  padding: clamp(7rem, 13vw, 13rem) 0;
  position: relative;
  overflow: hidden;
}
.tours::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 100%, rgba(241,143,1,0.22), transparent 50%),
    radial-gradient(circle at 80% 0%, rgba(58,79,51,0.4), transparent 55%);
  pointer-events: none;
}
.tours__grid-bg {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(241,143,1,0.06) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(90deg, rgba(241,143,1,0.06) 0 1px, transparent 1px 80px);
  pointer-events: none;
  opacity: 0.7;
}
.tours .wrap { position: relative; z-index: 2; }
.tours__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.tours__visual {
  position: relative;
  aspect-ratio: 5 / 6;
  overflow: hidden;
}
.tours__visual .ring {
  position: absolute; inset: 0;
  margin: auto;
  width: 80%; aspect-ratio: 1;
  border: 1px solid rgba(241,143,1,0.4);
  border-radius: 50%;
  z-index: 3;
  pointer-events: none;
}
.tours__visual .ring::before, .tours__visual .ring::after {
  content: ""; position: absolute; inset: 8%;
  border: 1px dashed rgba(241,143,1,0.3);
  border-radius: 50%;
}
.tours__visual .ring::after { inset: 18%; border: 1px solid rgba(241,143,1,0.18); }

.tours__visual .badge-360 {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  width: 130px; height: 130px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: rgba(13,31,34,0.65);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--label);
  letter-spacing: 0.126em;
  font-size: 0.66rem;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0 1rem;
}
.tours__visual .badge-360 .big {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.8rem;
  letter-spacing: 0;
  color: var(--cream);
  margin-bottom: 0.2rem;
}

.tours__copy h2 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 1.02;
  margin-bottom: 1.6rem;
  letter-spacing: -0.015em;
}
.tours__copy p {
  font-size: 1rem; line-height: 1.75;
  color: rgba(238,245,224,0.75);
  max-width: 50ch; margin-bottom: 2.4rem;
}
.tour-list {
  list-style: none; padding: 0; margin: 0 0 2.4rem;
  border-top: 1px solid rgba(238,245,224,0.15);
}
.tour-list li {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 1.4rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(238,245,224,0.15);
  font-family: var(--sans);
  cursor: pointer;
  transition: color 0.4s var(--ease-cinema), padding 0.4s var(--ease-cinema);
}
.tour-list li:hover { padding-left: 0.6rem; color: var(--gold-soft); }
.tour-list li .num {
  font-family: var(--label);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--gold);
}
.tour-list li .name {
  font-family: var(--serif);
  font-size: 1.4rem;
  letter-spacing: -0.005em;
}
.tour-list li .dur {
  font-family: var(--label);
  font-size: 0.66rem;
  letter-spacing: 0.168em;
  text-transform: uppercase;
  color: rgba(238,245,224,0.5);
}

.cta-line {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--label);
  font-size: 0.7rem;
  letter-spacing: 0.224em;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--gold);
  transition: gap 0.4s var(--ease-cinema), color 0.3s;
}
.cta-line:hover { gap: 1.6rem; color: var(--gold-soft); }

/* ------------------------------------------------------------
   Gallery
   ------------------------------------------------------------ */
.gallery {
  background: var(--charcoal);
  padding: clamp(6rem, 11vw, 11rem) 0;
  overflow: hidden;
}
.gallery__head {
  display: flex; justify-content: space-between; align-items: end;
  padding: 0 var(--pad-page) 4rem;
  gap: 3rem;
}
.gallery__head h2 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1.02;
  max-width: 14ch;
  letter-spacing: -0.015em;
}
.gallery__hint {
  font-family: var(--label);
  font-size: 0.65rem;
  letter-spacing: 0.224em;
  text-transform: uppercase;
  color: rgba(238,245,224,0.55);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.gallery__track {
  display: flex;
  gap: 1.6rem;
  padding: 0 var(--pad-page);
  cursor: grab;
  user-select: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track:active { cursor: grabbing; }
.gallery__item {
  flex: 0 0 auto;
  position: relative;
}
.gallery__item .frame {
  position: relative;
  overflow: hidden;
}
.gallery__item.size-portrait .frame { width: 320px; aspect-ratio: 3 / 4; }
.gallery__item.size-landscape .frame { width: 540px; aspect-ratio: 4 / 3; }
.gallery__item.size-square .frame { width: 380px; aspect-ratio: 1; }
.gallery__item.size-tall .frame { width: 280px; aspect-ratio: 2 / 3; }
.gallery__item.size-wide .frame { width: 620px; aspect-ratio: 16 / 9; }
.gallery__item .meta {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  font-family: var(--label);
  font-size: 0.62rem;
  letter-spacing: 0.196em;
  text-transform: uppercase;
  color: rgba(238,245,224,0.5);
}
.gallery__item .meta strong {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--cream);
}

/* ------------------------------------------------------------
   Final CTA
   ------------------------------------------------------------ */
.outro {
  position: relative;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 6rem var(--pad-page);
}
.outro__bg {
  position: absolute; inset: -10%;
  background:
    linear-gradient(180deg, rgba(13,31,34,0.65) 0%, rgba(13,31,34,0.85) 100%),
    linear-gradient(160deg, #1b2a1f, #2a1f15, #0e1813);
  z-index: 0;
  will-change: transform;
}
.outro__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at center, rgba(241,143,1,0.2), transparent 55%);
}
.outro__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1100px;
}
.outro h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3rem, 9vw, 9.5rem);
  line-height: 0.96;
  letter-spacing: -0.02em;
}
.outro h2 em { font-style: italic; color: var(--gold-soft); }
.outro .sub {
  margin: 2.4rem auto 3rem;
  font-family: var(--sans-text);
  font-size: 1.05rem;
  max-width: 50ch;
  line-height: 1.7;
  color: rgba(238,245,224,0.75);
}
.outro__cta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 2rem;
  border: 1px solid rgba(238,245,224,0.4);
  font-family: var(--label);
  font-size: 0.72rem;
  letter-spacing: 0.224em;
  text-transform: uppercase;
  color: var(--cream);
  transition: background 0.5s var(--ease-cinema), color 0.4s, border-color 0.4s;
}
.outro__cta:hover {
  background: var(--gold);
  color: var(--charcoal);
  border-color: var(--gold);
}

/* Footer strip */
.foot {
  background: var(--ink);
  color: rgba(238,245,224,0.55);
  padding: 2.2rem var(--pad-page);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--label);
  font-size: 0.66rem;
  letter-spacing: 0.196em;
  text-transform: uppercase;
  border-top: 1px solid rgba(238,245,224,0.1);
  flex-wrap: wrap;
  gap: 1rem;
}

/* Reveal helpers */
.reveal-up { opacity: 0; transform: translateY(40px); }
.reveal-fade { opacity: 0; }
.split-line { overflow: hidden; }
.split-line > .line-inner { display: block; transform: translateY(110%); }

/* ------------------------------------------------------------
   Tweaks panel
   ------------------------------------------------------------ */
.tweaks {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 200;
  background: rgba(13,31,34,0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(241,143,1,0.3);
  color: var(--cream);
  padding: 1rem 1.1rem 1.1rem;
  width: 280px;
  font-family: var(--sans);
  font-size: 0.78rem;
  display: none;
}
.tweaks.open { display: block; }
.tweaks h4 {
  font-family: var(--label);
  font-size: 0.66rem;
  letter-spacing: 0.21em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tweaks h4 button { font-family: var(--label); font-size: 0.65rem; color: rgba(238,245,224,0.6); }
.tweaks .row { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 0.9rem; }
.tweaks label { font-size: 0.7rem; letter-spacing: 0.04em; color: rgba(238,245,224,0.65); }
.tweaks .swatches { display: flex; gap: 0.5rem; }
.tweaks .swatch {
  width: 30px; height: 30px;
  border: 1px solid rgba(238,245,224,0.2);
  cursor: pointer; padding: 0;
}
.tweaks .swatch.active { outline: 2px solid var(--gold); outline-offset: 2px; }
.tweaks .segs { display: flex; gap: 0.3rem; }
.tweaks .segs button {
  flex: 1;
  padding: 0.45rem 0.5rem;
  border: 1px solid rgba(238,245,224,0.2);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(238,245,224,0.7);
}
.tweaks .segs button.on {
  background: var(--gold); color: var(--charcoal); border-color: var(--gold);
}

/* Body palette modes */
body.palette-dusk {
  --gold: #d97757; --gold-soft: #e8a17c;
  --forest-deep: #1a1815; --charcoal: #110d0a;
}
body.palette-rum {
  --gold: #b88245; --gold-soft: #c89a64;
  --forest-deep: #1d1410; --bamboo: #4a2f22;
}

/* Grain intensity */
body.grain-soft .grain { opacity: 0.08; }
body.grain-heavy .grain { opacity: 0.28; }

/* ------------------------------------------------------------
   Mobile breakpoint
   ------------------------------------------------------------ */
@media (max-width: 1100px) {
  .hero__chapter { grid-template-columns: 1fr; gap: 1.4rem; }
  .hero__chapter .title { font-size: clamp(2.6rem, 8vw, 6rem); }
  .gateway__grid { grid-template-columns: 1fr 1fr; }
  .gateway__card { aspect-ratio: 4 / 5; }
  .gateway__card:nth-child(2) { border-right: none; }
  .gateway__card:nth-child(1), .gateway__card:nth-child(2) { border-bottom: 1px solid rgba(238,245,224,0.08); }
  .scrolly__head { grid-template-columns: 1fr; gap: 2rem; }
  .culture__head { grid-template-columns: 1fr; gap: 2rem; }
  .cell-img-a { grid-column: span 12; }
  .cell-stats { grid-column: span 12; grid-template-rows: auto; grid-template-columns: 1fr 1fr; }
  .cell-img-b { grid-column: span 5; }
  .cell-quote { grid-column: span 7; }
  .cell-icons { grid-template-columns: 1fr 1fr; }
  .tours__layout { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 860px) {
  :root { --pad-page: 1.4rem; }
  .nav__meta { display: none; }
  .hero { min-height: 640px; height: 100svh; }
  .hero__chapter { grid-template-columns: 1fr; gap: 1.6rem; padding-bottom: 1rem; }
  .hero__bottom { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .intro-narrative .wrap { grid-template-columns: 1fr; gap: 2.4rem; }
  .intro-narrative .left { position: static; }
  .gateway__head { flex-direction: column; align-items: flex-start; }
  .gateway__grid { grid-template-columns: 1fr; }
  .gateway__card { aspect-ratio: 4 / 3; border-right: none; border-bottom: 1px solid rgba(238,245,224,0.08); }
  .gateway__card .desc { max-height: 200px; margin-top: 0.4rem; }
  .scrolly__head { grid-template-columns: 1fr; gap: 2rem; }
  .scrolly__panel { grid-template-columns: 1fr; gap: 2.4rem; }
  .scrolly__panel.flip > .visual { order: 0; }
  .culture__head { grid-template-columns: 1fr; gap: 2rem; }
  .culture__grid { grid-template-columns: 1fr; gap: 1rem; }
  .cell-img-a, .cell-stats, .cell-img-b, .cell-quote, .cell-icons { grid-column: span 1; }
  .cell-icons { grid-template-columns: 1fr 1fr; }
  .cell-stats { grid-template-rows: auto auto; }
  .tours__layout { grid-template-columns: 1fr; gap: 3rem; }
  .tours__visual .badge-360 { width: 110px; height: 110px; }
  .gallery__head { flex-direction: column; align-items: flex-start; }
  .gallery__item.size-portrait .frame { width: 240px; }
  .gallery__item.size-landscape .frame { width: 380px; }
  .gallery__item.size-square .frame { width: 280px; }
  .gallery__item.size-tall .frame { width: 200px; }
  .gallery__item.size-wide .frame { width: 420px; }
  .menu__inner { grid-template-columns: 1fr; align-items: start; padding-top: 6rem; gap: 2rem; }
  .menu__aside { display: none; }
  .menu__link { font-size: clamp(2rem, 9vw, 3.4rem); }
  .foot { flex-direction: column; align-items: flex-start; }
  .tweaks { left: 1rem; right: 1rem; width: auto; bottom: 1rem; }
}
