/* ═══════════════════════════════════════════
   MOKAMO — Heritage Design System
   ═══════════════════════════════════════════ */

:root {
  --void: #1a0f0a;
  --void-soft: #241610;
  --cream: #f5ede3;
  --cream-muted: #c9bdb0;
  --sand: #c4a882;
  --sand-light: #e8d5bc;
  --espresso: #3d2314;
  --espresso-soft: #5c3a24;
  --gold-soft: #a67c52;
  --gold: #c4a882;
  --copper: var(--gold-soft);
  --copper-deep: var(--espresso-soft);
  --text: #3d2314;
  --text-soft: #5c3a24;
  --white: #fffdf9;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: "Syne", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-arabic: "Noto Naskh Arabic", "Amiri", serif;
  --header-h: 100px;
  --radius: 16px;
  --radius-sm: 10px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-x: max(env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

video {
  max-width: 100%;
  display: block;
}
a, button, .pill, .filter-btn, .menu-btn {
  touch-action: manipulation;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ── Film grain & cursor glow ── */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Loader ── */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(196, 168, 130, 0.12) 0%, transparent 55%),
    var(--void);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: var(--safe-top) 1.5rem var(--safe-bottom);
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}

.loader img {
  height: 64px;
  width: auto;
  mix-blend-mode: normal;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  animation: loaderPulse 1.4s ease infinite;
}

.loader__arabic {
  font-family: var(--font-arabic);
  font-size: 1rem;
  color: var(--sand);
  letter-spacing: 0.08em;
  direction: rtl;
}

.loader-bar {
  width: 120px;
  height: 2px;
  background: rgba(196, 168, 130, 0.2);
  border-radius: 2px;
  overflow: hidden;
}

.loader-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--sand);
  animation: loaderFill 1.1s var(--ease-out) forwards;
}

body.loaded .loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes loaderPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

@keyframes loaderFill {
  to { width: 100%; }
}

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: calc(var(--header-h) + var(--safe-top));
  padding-top: var(--safe-top);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s;
  overflow: visible;
}

.site-header:not(.scrolled) {
  background: transparent;
}

.site-header.scrolled {
  background: rgba(26, 15, 10, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.header-inner {
  width: min(1280px, 92%);
  height: var(--header-h);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.brand-mark {
  display: flex;
  align-items: center;
  transition: opacity 0.35s var(--ease), visibility 0.35s, transform 0.35s var(--ease);
  z-index: 3;
}

.brand-mark img {
  height: 93px;
  width: auto;
  mix-blend-mode: normal;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  transform: scale(1.35);
  transform-origin: left center;
}

/* Homepage: logo lives in hero until scroll, then appears in navbar */
.home-body .site-header:not(.scrolled) .brand-mark {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
}

.home-body .site-header.scrolled .brand-mark {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.home-body .site-header.scrolled .brand-mark img {
  transform: scale(1.35);
}

.site-nav {
  display: flex;
  gap: 2rem;
}

.site-nav a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 253, 249, 0.82);
  padding: 0.7rem 1.1rem;
  transition: color 0.25s var(--ease);
  position: relative;
  z-index: 2;
  text-decoration: none;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 0.35rem;
  height: 1px;
  background: var(--sand);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s var(--ease);
}

.site-nav a:hover {
  color: var(--sand);
  text-decoration: none;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.site-nav a.active {
  color: var(--sand);
}

.header-cta {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 1.6rem;
  background: var(--sand);
  color: var(--void);
  border-radius: 999px;
  transition: transform 0.2s, background 0.2s;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
}

.header-cta:hover {
  background: var(--sand-light);
  transform: scale(1.04);
}

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.75rem;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cream);
  transition: transform 0.3s, opacity 0.3s;
}

.menu-btn.open span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn.open span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-drawer {
  position: fixed;
  top: calc(var(--header-h) + var(--safe-top));
  left: 0;
  right: 0;
  background: var(--void);
  padding: 1.5rem;
  padding-bottom: calc(1.5rem + var(--safe-bottom));
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transform: translateY(-110%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s var(--ease), opacity 0.3s, visibility 0.3s;
  z-index: 201;
  pointer-events: none;
}

.mobile-drawer.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer a {
  font-size: 1rem;
  font-weight: 500;
  padding: 0.95rem 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  color: var(--cream);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}

.mobile-drawer a:hover {
  color: var(--sand);
  padding-left: 0.35rem;
  text-decoration: none;
}

/* ── Typography helpers ── */
.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 1rem;
}

.eyebrow--ar {
  font-family: var(--font-arabic);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: none;
  direction: rtl;
  color: var(--gold-soft);
  margin-bottom: 0.35rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s;
}

.pill:hover { transform: translateY(-2px); }

.pill--fill {
  background: var(--gold-soft);
  color: var(--void);
}

.pill--fill:hover { background: var(--sand); }

.pill--ghost {
  border: 1px solid rgba(255, 253, 249, 0.25);
  color: var(--cream);
}

.pill--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.pill--outline {
  border: 1px solid var(--text);
  color: var(--text);
}

.pill--outline:hover {
  background: var(--void);
  color: var(--cream);
  border-color: var(--void);
}

/* ── PORTAL HERO ── */
.portal-hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--void);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.portal-hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 3rem) 5vw 4rem 8vw;
  z-index: 2;
}

.portal-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5.5vw, 5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

.portal-title .line {
  display: block;
}

.portal-title .line--accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--sand);
  font-size: 1.15em;
  letter-spacing: -0.02em;
}

.portal-lead {
  font-size: 1.05rem;
  color: var(--cream-muted);
  max-width: 38ch;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.portal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.portal-hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 2rem) 4vw 4rem 2vw;
}

.portal-frame {
  position: relative;
  z-index: 2;
  width: min(420px, 85%);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(166, 124, 82, 0.3), 0 40px 100px rgba(0, 0, 0, 0.5);
}

.portal-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: portalZoom 8s var(--ease) infinite alternate;
}

@keyframes portalZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.portal-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(166, 124, 82, 0.2);
  animation: ringPulse 4s ease infinite;
}

.portal-ring--1 {
  width: min(480px, 95%);
  aspect-ratio: 1;
  animation-delay: 0s;
}

.portal-ring--2 {
  width: min(560px, 110%);
  aspect-ratio: 1;
  animation-delay: 0.5s;
  border-color: rgba(166, 124, 82, 0.08);
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.03); opacity: 1; }
}

.portal-badge {
  position: absolute;
  bottom: 18%;
  right: 10%;
  z-index: 3;
  background: rgba(26, 15, 10, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(166, 124, 82, 0.25);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  text-align: center;
}

.portal-badge span {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sand);
}

.portal-badge strong {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 8vw;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 253, 249, 0.4);
}

.scroll-hint i {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold-soft), transparent);
  animation: scrollLine 1.8s ease infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.3); opacity: 0.3; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ── MARQUEE ── */
.marquee {
  background: var(--gold-soft);
  color: var(--void);
  padding: 0.85rem 0;
  overflow: hidden;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 22s linear infinite;
}

.marquee__track span {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  white-space: nowrap;
  padding-right: 3rem;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ── STATS ── */
.stats-band {
  background: var(--cream);
  padding: 4rem 0;
  border-bottom: 1px solid rgba(26, 20, 16, 0.08);
}

.stats-band__inner {
  width: min(900px, 90%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--void);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat__num::after {
  content: "+";
  font-size: 0.6em;
  color: var(--gold-soft);
}

.stat:nth-child(3) .stat__num::after { content: ""; }

.stat__label {
  font-size: 0.82rem;
  color: var(--text-soft);
  letter-spacing: 0.04em;
}

/* ── JOURNEY RAIL (horizontal scroll) ── */
.journey {
  padding: 6rem 0 5rem;
  background: var(--void);
  color: var(--cream);
  scroll-margin-top: var(--header-h);
}

.journey__intro {
  width: min(1280px, 92%);
  margin: 0 auto 3rem;
  padding-left: 2vw;
}

.journey__rail {
  display: flex;
  gap: 1.5rem;
  padding: 0 4vw 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.journey__rail::-webkit-scrollbar { display: none; }

.journey-card {
  flex: 0 0 min(340px, 85vw);
  scroll-snap-align: center;
  background: var(--void-soft);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.4s var(--ease), border-color 0.3s;
}

.journey-card:hover {
  transform: translateY(-8px);
  border-color: rgba(166, 124, 82, 0.35);
}

.journey-card--accent {
  border-color: rgba(166, 124, 82, 0.25);
}

.journey-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.journey-card__step {
  position: absolute;
  display: block;
  padding: 1.25rem 1.5rem 0;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold-soft);
}

.journey-card { position: relative; }

.journey-card__body {
  padding: 1.25rem 1.5rem 1.75rem;
}

.journey-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.journey-card__body p {
  font-size: 0.9rem;
  color: var(--cream-muted);
  line-height: 1.65;
}

/* ── PINNED STORY ── */
.story-pin {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--cream);
  min-height: 300vh;
  scroll-margin-top: var(--header-h);
}

.story-pin__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--header-h) 2rem 2rem;
}

.story-pin__visual {
  position: relative;
  width: min(480px, 90%);
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(7, 5, 4, 0.2);
}

.story-pin__visual .story-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.8s var(--ease), transform 1s var(--ease);
}

.story-pin__visual .story-img.is-active {
  opacity: 1;
  transform: scale(1);
}

.story-pin__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 5, 4, 0.4), transparent 50%);
  pointer-events: none;
}

.story-pin__chapters {
  padding: 10vh 8vw 10vh 4vw;
}

.chapter {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.25;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.chapter.is-active {
  opacity: 1;
  transform: translateY(0);
}

.chapter__num {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 1.5rem;
}

.chapter h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.chapter p {
  font-size: 1.05rem;
  color: var(--text-soft);
  max-width: 42ch;
  line-height: 1.75;
}

/* ── BENTO GRID ── */
.bento-section {
  padding: 6rem 4vw;
  background: var(--void-soft);
  color: var(--cream);
}

.bento-header {
  width: min(1280px, 100%);
  margin: 0 auto 3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.bento {
  width: min(1280px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 280px);
  gap: 1rem;
}

.bento__cell {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}

.bento__cell:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.bento__cell--hero {
  grid-row: span 2;
  grid-column: span 1;
}

.bento__cell--wide {
  grid-column: span 2;
}

.bento__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.bento__cell:hover img { transform: scale(1.06); }

.bento__meta {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(7, 5, 4, 0.9) 0%, transparent 60%);
}

.bento__tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 0.35rem;
}

.bento__meta h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.bento__meta p {
  font-size: 0.85rem;
  color: var(--cream-muted);
}

/* ── STATEMENT ── */
.statement {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.statement__bg {
  position: absolute;
  inset: 0;
}

.statement__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.statement__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 5, 4, 0.75);
}

.statement__quote {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--cream);
  padding: 4rem 2rem;
  max-width: 900px;
}

.statement__quote p {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-style: italic;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.statement__quote cite {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

/* ── VISIT ── */
.visit-block {
  padding: 6rem 4vw;
  background: var(--cream);
  scroll-margin-top: var(--header-h);
}

.visit-block__grid {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: stretch;
}

.visit-card {
  background: var(--void);
  color: var(--cream);
  padding: 3rem;
  border-radius: var(--radius);
}

.visit-card .eyebrow--ar {
  color: var(--sand);
  margin-bottom: 0.35rem;
}

.visit-card .eyebrow { color: var(--gold-soft); }

.visit-card .section-title {
  margin-bottom: 2rem;
}

.visit-list {
  list-style: none;
  margin-bottom: 2rem;
}

.visit-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
  color: var(--cream-muted);
}

.visit-list strong {
  color: var(--cream);
  font-weight: 600;
  margin-right: 0.5rem;
}

.visit-list a:hover { color: var(--sand); text-decoration: none; }

.visit-map {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 400px;
  box-shadow: 0 20px 60px rgba(7, 5, 4, 0.15);
}

.visit-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
}

/* ── FOOTER ── */
.site-footer {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(196, 168, 130, 0.1) 0%, transparent 45%),
    var(--void);
  color: rgba(255, 253, 249, 0.55);
  padding: 4.5rem 4vw 0;
  border-top: 1px solid rgba(196, 168, 130, 0.15);
}

.site-footer__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1.1fr 0.9fr;
  gap: 2.5rem 2rem;
  padding-bottom: 3rem;
}

.site-footer__logo {
  display: inline-block;
  margin-bottom: 1rem;
}

.site-footer__logo img {
  height: 64px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  margin: 0;
}

.site-footer__tagline {
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 32ch;
  color: var(--cream-muted);
}

.site-footer__heading {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 1.15rem;
}

.site-footer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.site-footer__list li {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--cream-muted);
}

.site-footer__list a {
  color: var(--cream-muted);
  text-decoration: none;
  transition: color 0.25s var(--ease), opacity 0.25s;
  opacity: 0.9;
}

.site-footer__list a:hover {
  color: var(--sand);
  text-decoration: none;
  opacity: 1;
}

.visit-list a {
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

.visit-list a:hover {
  color: var(--sand);
  text-decoration: none;
}

.site-footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.25rem;
  margin-bottom: 0.65rem;
  margin-right: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--void);
  transition: background 0.2s, transform 0.2s;
}

.site-footer__cta:hover {
  background: var(--sand);
  transform: translateY(-1px);
}

.site-footer__cta--ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(255, 253, 249, 0.22);
}

.site-footer__cta--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--cream);
}

.site-footer__bar {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 1.25rem 0 calc(1.5rem + var(--safe-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.site-footer__bar p {
  font-size: 0.78rem;
  margin: 0;
  color: rgba(255, 253, 249, 0.4);
}

.site-footer__bar-note {
  letter-spacing: 0.06em;
}

/* ── Reveal animations ── */
.reveal-up,
.reveal-scale {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal-scale {
  transform: scale(0.92);
}

.reveal-up.visible,
.reveal-scale.visible {
  opacity: 1;
  transform: none;
}

body.loaded .portal-hero .reveal-up:nth-child(1) { transition-delay: 0.1s; }
body.loaded .portal-hero .reveal-up:nth-child(2) { transition-delay: 0.2s; }
body.loaded .portal-hero .reveal-up:nth-child(3) { transition-delay: 0.35s; }
body.loaded .portal-hero .reveal-up:nth-child(4) { transition-delay: 0.5s; }

body.loaded .portal-hero .reveal-up.visible,
body.loaded .portal-hero .reveal-scale.visible {
  opacity: 1;
  transform: none;
}

/* ═══════════════════════════════════════════
   MENU PAGE (shared header, menu-specific)
   ═══════════════════════════════════════════ */

.menu-page main {
  padding-top: var(--header-h);
}

.menu-hero {
  padding: 5rem 4vw 3rem;
  background: var(--void);
  color: var(--cream);
  text-align: center;
}

.menu-hero .section-title {
  margin: 0.5rem 0 1rem;
}

.menu-hero p {
  color: var(--cream-muted);
}

.menu-note {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-soft);
  border: 1px solid rgba(166, 124, 82, 0.35);
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
}

.menu-filters {
  position: sticky;
  top: calc(var(--header-h) + var(--safe-top));
  z-index: 50;
  background: rgba(245, 237, 227, 0.95);
  backdrop-filter: blur(12px);
  padding: 1rem 4vw;
  border-bottom: 1px solid rgba(61, 35, 20, 0.08);
}

.filter-scroll {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 1280px;
  margin: 0 auto;
}

.filter-scroll::-webkit-scrollbar { display: none; }

.filter-btn {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(26, 20, 16, 0.12);
  background: var(--white);
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--void);
  color: var(--cream);
  border-color: var(--void);
}

#menuContainer {
  width: min(1280px, 92%);
  margin: 0 auto;
  padding-bottom: 4rem;
}

.menu-section {
  padding: 3rem 0 1rem;
  scroll-margin-top: calc(var(--header-h) + 60px);
}

.menu-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu-section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(166, 124, 82, 0.4), transparent);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.menu-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(26, 20, 16, 0.06);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
  animation: fadeUp 0.5s ease both;
}

.menu-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(7, 5, 4, 0.12);
}

.menu-item-img {
  overflow: hidden;
  background: var(--cream);
}

.menu-item-img img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.menu-item:hover .menu-item-img img { transform: scale(1.05); }

.menu-item-body { padding: 1rem 1.15rem 1.25rem; }

.menu-item-body h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.menu-item-body .price {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--espresso-soft);
}

.menu-item-body .desc {
  font-size: 0.8rem;
  color: var(--text-soft);
  margin-top: 0.4rem;
}

.menu-item.savoury .menu-item-img img {
  aspect-ratio: 3/4;
  object-fit: contain;
  background: var(--void);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .portal-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .portal-hero__text {
    padding: calc(var(--header-h) + 2rem) 6vw 2rem;
    text-align: center;
    align-items: center;
  }

  .portal-lead { margin-left: auto; margin-right: auto; }

  .portal-actions { justify-content: center; }

  .portal-hero__visual {
    padding: 2rem 6vw 4rem;
  }

  .scroll-hint { display: none; }

  .story-pin {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .story-pin__sticky {
    position: relative;
    height: 60vh;
  }

  .story-pin__chapters { padding: 2rem 6vw 4rem; }

  .chapter {
    min-height: auto;
    padding: 3rem 0;
    opacity: 1;
    transform: none;
  }

  .bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .bento__cell--hero { grid-row: span 1; }
  .bento__cell--wide { grid-column: span 2; }
  .bento__cell { min-height: 220px; }

  .visit-block__grid { grid-template-columns: 1fr; }

  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.25rem;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .site-nav, .header-cta { display: none; }
  .menu-btn { display: flex; }

  :root {
    --header-h: 72px;
  }

  .header-inner {
    width: min(1280px, 94%);
    gap: 0.75rem;
  }

  .brand-mark img {
    height: 56px;
    transform: scale(1.15);
    transform-origin: left center;
  }

  .home-body .site-header.scrolled .brand-mark img {
    transform: scale(1.15);
  }

  .menu-btn {
    min-width: 48px;
    min-height: 48px;
  }

  .mobile-drawer a {
    min-height: 52px;
    font-size: 1.05rem;
  }

  .stats-band__inner { grid-template-columns: 1fr; gap: 2.5rem; }

  .bento {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .bento__cell--wide { grid-column: span 1; }
  .bento__cell { min-height: 240px; }

  .bento-section {
    padding: 4rem 1.25rem;
  }

  .visit-card { padding: 1.75rem 1.35rem; }

  .visit-map,
  .visit-map iframe {
    min-height: 280px;
  }

  .pill {
    min-height: 48px;
    justify-content: center;
  }

  .section-title {
    font-size: clamp(1.85rem, 8vw, 2.5rem);
  }

  .menu-page main {
    padding-top: calc(var(--header-h) + var(--safe-top));
  }

  .menu-filters {
    padding: 0.75rem 4vw;
  }

  .filter-scroll {
    gap: 0.45rem;
    padding-bottom: 0.15rem;
    -webkit-overflow-scrolling: touch;
  }

  .filter-btn {
    min-height: 44px;
    padding: 0.65rem 1rem;
    font-size: 0.68rem;
  }

  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .menu-item-body {
    padding: 0.75rem 0.85rem 1rem;
  }

  .menu-item-body h3 {
    font-size: 0.88rem;
  }

  .menu-hero--video {
    min-height: 280px;
  }

  .menu-hero__content {
    padding: calc(3.5rem + var(--safe-top)) 1.25rem 2rem;
  }

  .menu-hero__content .section-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .site-footer {
    padding: 3.25rem 1.25rem 0;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    padding-bottom: 2.25rem;
  }

  .site-footer__tagline {
    max-width: 36ch;
    margin: 0 auto;
  }

  .site-footer__list {
    align-items: center;
  }

  .site-footer__cta {
    width: 100%;
    max-width: 280px;
    margin-right: 0;
  }

  .site-footer__bar {
    flex-direction: column;
    text-align: center;
    padding: 1.15rem 0 calc(1.5rem + var(--safe-bottom));
  }

  .site-footer__links {
    flex-wrap: wrap;
    gap: 1.25rem;
  }

  .site-footer__links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .menu-grid {
    grid-template-columns: 1fr;
  }

  .cinema-actions {
    flex-direction: column;
    width: 100%;
  }

  .cinema-actions .pill {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html { scroll-behavior: auto; }

  .marquee__track {
    animation: none;
  }
}
