/*
  CLIENT: Savoury Sea Shell — Calicut
  CONCEPT: "Mandi & Sea-Breeze" — a handcrafted memoir of a 24-year restaurant.
           Not magazine. Not catalogue. Not editorial newspaper.
           A leather-bound restaurant menu opened on a corner table —
           where the photographs do the talking, the typography sets the mood,
           and Arabic, English, and Malayalam share the same page.

  PALETTE:
    Midnight  #0E1A1C  · page bg (deep teal-black, not pure black)
    Hull      #15252A  · elevated dark surface
    Ivory     #FAF6EC  · warm aged ivory — light-section bg
    Bone      #ECE3CF  · ivory shadow
    Cocoa     #2A1B0E  · brown-black for some sections
    Pomegranate #C9472B · accent · CTAs on light bg
    Saffron   #E5A33D  · italic flair · ornament · CTA on dark bg
    Bronze    #8B6F3F  · muted accents
    Brass     #B19565  · muted text on dark
    Ink       #2A2418  · text on light
    Smoke     #5C5040  · muted text on light

  TYPE:
    Display    : Cormorant Garamond (variable) — italics carry the soul
    Body       : Inter — modern, legible
    Arabic     : Amiri — true Arabic typography for accents
    Handwriting: Caveat — margin notes, signatures
*/

/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600&family=Inter:wght@300;400;500;600;700&family=Amiri:ital,wght@0,400;0,700;1,400;1,700&family=Caveat:wght@400;500;600&display=swap');

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img, picture, video, canvas, svg { display: block; max-width: 100%; }
img { color: transparent; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ===== TOKENS ===== */
:root {
  --c-midnight: #0E1A1C;
  --c-hull:     #15252A;
  --c-cocoa:    #2A1B0E;
  --c-ivory:    #FAF6EC;
  --c-bone:     #ECE3CF;
  --c-paper:    #F4ECDA;

  --c-pomegranate: #C9472B;
  --c-pomegranate-d: #A33820;
  --c-saffron:  #E5A33D;
  --c-saffron-d:#C58524;
  --c-bronze:   #8B6F3F;
  --c-brass:    #B19565;

  --c-ink:      #2A2418;
  --c-ink-soft: #4A3F2E;
  --c-smoke:    #6E5F49;
  --c-cream:    #FAF6EC;
  --c-cream-mute: rgba(250, 246, 236, 0.7);
  --c-cream-line: rgba(250, 246, 236, 0.16);
  --c-ink-line: rgba(42, 36, 24, 0.14);

  --ff-display: 'Cormorant Garamond', 'Adobe Caslon', Georgia, serif;
  --ff-body:    'Inter', -apple-system, 'Segoe UI', sans-serif;
  --ff-arabic:  'Amiri', 'Cormorant Garamond', serif;
  --ff-hand:    'Caveat', cursive;

  --fs-xs:   clamp(0.78rem, 0.76rem + 0.1vw, 0.85rem);
  --fs-sm:   clamp(0.88rem, 0.85rem + 0.12vw, 0.95rem);
  --fs-base: clamp(1rem,  0.96rem + 0.2vw, 1.1rem);
  --fs-lg:   clamp(1.15rem, 1.05rem + 0.5vw, 1.35rem);
  --fs-xl:   clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
  --fs-2xl:  clamp(2.2rem, 1.8rem + 1.8vw, 3.4rem);
  --fs-3xl:  clamp(3rem, 2.4rem + 3vw, 5rem);
  --fs-4xl:  clamp(4rem, 3rem + 4.6vw, 7.5rem);
  --fs-mega: clamp(5rem, 3.5rem + 7.5vw, 11rem);

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px;
  --s-6: 24px; --s-8: 32px; --s-10: 40px; --s-12: 48px;
  --s-16: 64px; --s-20: 80px; --s-24: 96px; --s-32: 128px;

  --r-sm: 4px; --r-md: 10px; --r-lg: 18px; --r-xl: 28px; --r-full: 999px;

  --max-w: 1400px;
  --max-narrow: 1100px;
  --gutter: clamp(22px, 4.5vw, 64px);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --t-fast: 200ms;
  --t-med:  360ms;
  --t-slow: 640ms;
}

/* ===== BASE ===== */
body {
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--c-cream);
  background: var(--c-midnight);
  font-weight: 400;
  overflow-x: hidden;
}

/* paper-grain texture overlay for ivory sections */
.paper-grain {
  background-color: var(--c-ivory);
  background-image:
    radial-gradient(rgba(42, 36, 24, 0.022) 1px, transparent 1px),
    radial-gradient(rgba(139, 111, 63, 0.018) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px;
  background-position: 0 0, 1px 2px;
}

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.015em;
}

h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-2xl); }
h4 { font-size: var(--fs-xl); }

em, .italic {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 500;
}

.arabic {
  font-family: var(--ff-arabic);
  direction: rtl;
  font-weight: 400;
}

.hand {
  font-family: var(--ff-hand);
  font-weight: 500;
}

::selection { background: var(--c-saffron); color: var(--c-midnight); }

/* ===== UTILITIES ===== */
.wrap     { max-width: var(--max-w); margin: 0 auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: var(--max-narrow); margin: 0 auto; padding-inline: var(--gutter); }
.section  { padding-block: clamp(90px, 11vw, 180px); }
.section-snug  { padding-block: clamp(60px, 8vw, 110px); }

.on-light { color: var(--c-ink); background: var(--c-ivory); }
.on-light h1, .on-light h2, .on-light h3, .on-light h4 { color: var(--c-ink); }
.on-light p { color: var(--c-ink-soft); }

.on-dark p { color: rgba(250, 246, 236, 0.78); }

.text-saffron { color: var(--c-saffron); }
.text-pom { color: var(--c-pomegranate); }
.text-bronze { color: var(--c-bronze); }
.text-brass { color: var(--c-brass); }
.text-smoke { color: var(--c-smoke); }

/* Reveal base — JS adds only after offscreen check */
.reveal--hidden { opacity: 0; transform: translateY(28px); }

/* ===== SVG ORNAMENT — Arabic 8-point star flourish ===== */
.ornament {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--c-saffron);
}
.ornament::before, .ornament::after {
  content: ''; height: 1px; width: 36px;
  background: currentColor;
  opacity: 0.55;
}
.ornament svg { width: 22px; height: 22px; }
.ornament-pom { color: var(--c-pomegranate); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 30px;
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  border-radius: var(--r-full);
  transition: background var(--t-med) var(--ease), color var(--t-med) var(--ease), transform var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-saffron { background: var(--c-saffron); color: var(--c-midnight); }
.btn-saffron:hover { background: var(--c-saffron-d); }
.btn-pom { background: var(--c-pomegranate); color: var(--c-cream); }
.btn-pom:hover { background: var(--c-pomegranate-d); }
.btn-ghost-light { color: var(--c-cream); border-color: rgba(250,246,236,0.32); background: transparent; }
.btn-ghost-light:hover { background: var(--c-cream); color: var(--c-midnight); border-color: var(--c-cream); }
.btn-ghost-dark { color: var(--c-ink); border-color: rgba(42,36,24,0.32); background: transparent; }
.btn-ghost-dark:hover { background: var(--c-ink); color: var(--c-ivory); }
.btn .arr { transition: transform var(--t-med) var(--ease); font-size: 1.1em; }
.btn:hover .arr { transform: translateX(5px); }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  transition: background var(--t-med) var(--ease), padding var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(14, 26, 28, 0.86);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid rgba(250,246,236,0.08);
  padding: 13px var(--gutter);
}
.nav.on-paper {
  background: transparent;
  color: var(--c-ink);
}
.nav.on-paper.scrolled {
  background: rgba(250, 246, 236, 0.92);
  border-bottom: 1px solid var(--c-ink-line);
}

.nav-logo {
  display: flex; align-items: center; gap: 13px;
  color: inherit;
}
.nav-logo svg { width: 42px; height: 42px; flex: 0 0 auto; }
.nav-logo .lockup { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo .name { font-family: var(--ff-display); font-weight: 500; font-size: 20px; letter-spacing: 0.005em; }
.nav-logo .name em { color: var(--c-saffron); }
.nav.on-paper .nav-logo .name em { color: var(--c-pomegranate); }
.nav-logo .est { font-family: var(--ff-body); font-size: 9px; letter-spacing: 0.3em; opacity: 0.6; margin-top: 3px; text-transform: uppercase; }

.nav-menu { display: flex; align-items: center; gap: 36px; }
.nav-link {
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
  opacity: 0.85;
  transition: opacity var(--t-fast) var(--ease);
}
.nav-link:hover { opacity: 1; }
.nav-link.is-current { opacity: 1; }
.nav-link.is-current::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 1px; background: var(--c-saffron);
}
.nav.on-paper .nav-link.is-current::after { background: var(--c-pomegranate); }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { padding: 13px 22px; font-size: 11px; letter-spacing: 0.14em; }

.nav-burger {
  display: none;
  width: 46px; height: 46px;
  border-radius: var(--r-full);
  border: 1px solid rgba(250,246,236,0.22);
  align-items: center; justify-content: center;
}
.nav.on-paper .nav-burger { border-color: rgba(42,36,24,0.2); }
.nav-burger span { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; }
.nav-burger span::before, .nav-burger span::after { content: ''; position: absolute; left: 0; width: 18px; height: 1.5px; background: currentColor; }
.nav-burger span::before { top: -6px; }
.nav-burger span::after { top: 6px; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--c-midnight);
  display: flex; flex-direction: column;
  padding: 110px var(--gutter) var(--gutter);
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
  visibility: hidden;
}
.mobile-menu.open { transform: translateY(0); visibility: visible; }
.mobile-menu a {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 8vw, 3.4rem);
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--c-cream-line);
  color: var(--c-cream);
  font-weight: 400;
}
.mobile-menu a em { color: var(--c-saffron); }
.mobile-menu a:last-of-type { border-bottom: 0; }
.mobile-menu .mob-foot {
  margin-top: auto;
  font-family: var(--ff-display); font-style: italic;
  font-size: 1.1rem; color: var(--c-brass);
}

/* ===== HERO (photo-led) ===== */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding-block: 140px 80px;
  overflow: hidden;
  color: var(--c-cream);
  background: var(--c-midnight);
}
.hero-photo {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  filter: brightness(0.78) contrast(1.05) saturate(1.08);
  transform: scale(1.03);
  animation: hero-breathe 16s ease-in-out infinite alternate;
}
@keyframes hero-breathe {
  from { transform: scale(1.03); }
  to { transform: scale(1.12); }
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(14,26,28,0.62) 0%, rgba(14,26,28,0.25) 40%, rgba(14,26,28,0.88) 88%),
    linear-gradient(95deg, rgba(14,26,28,0.55) 0%, transparent 55%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background-image: radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.7;
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 1240px; width: 100%;
  margin-inline: auto; padding-inline: var(--gutter);
}

.hero-arabic {
  font-family: var(--ff-arabic);
  font-size: clamp(1.6rem, 1rem + 1.4vw, 2.4rem);
  color: var(--c-saffron);
  margin-bottom: 14px;
  letter-spacing: 0;
  display: inline-block;
}

.hero-title {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: var(--fs-mega);
  line-height: 0.94;
  letter-spacing: -0.025em;
  max-width: 17ch;
  color: var(--c-cream);
}
.hero-title em { color: var(--c-saffron); font-weight: 500; }
.hero-title .pom { color: var(--c-pomegranate); font-style: italic; font-weight: 500; }

.hero-sub {
  margin-top: 28px;
  max-width: 56ch;
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
  line-height: 1.55;
  color: rgba(250, 246, 236, 0.86);
  font-weight: 300;
}

.hero-actions {
  margin-top: 44px;
  display: flex; flex-wrap: wrap; gap: 14px;
}

/* circular brass seal in hero corner */
.hero-seal {
  position: absolute;
  top: 130px; right: var(--gutter);
  z-index: 2;
  width: 130px; height: 130px;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-saffron);
  animation: seal-rotate 50s linear infinite;
}
.hero-seal svg { width: 100%; height: 100%; }
@keyframes seal-rotate { to { transform: rotate(360deg); } }

.hero-strip {
  position: absolute; bottom: 32px; left: var(--gutter); right: var(--gutter);
  z-index: 2;
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: var(--s-8); flex-wrap: wrap;
}
.hero-strip .credit {
  font-family: var(--ff-display); font-style: italic;
  font-size: 1rem; color: var(--c-brass); max-width: 36ch;
}
.hero-strip .credit em { color: var(--c-cream); }
.hero-strip .stats { display: flex; gap: 44px; }
.hero-strip .stat .n {
  font-family: var(--ff-display); font-size: 2.2rem; font-weight: 500;
  color: var(--c-saffron); line-height: 1;
}
.hero-strip .stat .l {
  font-family: var(--ff-body); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--c-brass); margin-top: 6px;
}

/* ===== WELCOME BAND ===== */
.welcome-band {
  background: var(--c-cocoa);
  padding-block: clamp(40px, 5vw, 64px);
  border-block: 1px solid rgba(229, 163, 61, 0.15);
  text-align: center;
  position: relative;
}
.welcome-band .arabic {
  font-family: var(--ff-arabic);
  font-size: clamp(2rem, 1.4rem + 1.6vw, 3rem);
  color: var(--c-saffron);
  line-height: 1.2;
  display: block;
  margin-bottom: 12px;
}
.welcome-band p {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(1.2rem, 1rem + 0.7vw, 1.8rem);
  color: var(--c-cream);
  max-width: 50ch;
  margin-inline: auto;
  font-weight: 400;
}

/* ===== STORY SPREAD (cookbook style) ===== */
.story {
  background: var(--c-ivory);
  color: var(--c-ink);
  position: relative;
  overflow: hidden;
}
.story-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.story-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 30px 60px -20px rgba(42, 27, 14, 0.35), 0 12px 24px -8px rgba(42, 27, 14, 0.2);
}
.story-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.story-photo .caption {
  position: absolute; left: 18px; bottom: 18px;
  font-family: var(--ff-hand); font-size: 1.4rem;
  color: var(--c-cream); transform: rotate(-2deg);
  background: rgba(42, 36, 24, 0.7);
  padding: 6px 14px; border-radius: 4px;
}
.story-copy h2 {
  font-size: clamp(2.4rem, 1.8rem + 2.4vw, 4rem);
  color: var(--c-ink);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  line-height: 1.02;
}
.story-copy h2 em { color: var(--c-pomegranate); font-weight: 500; }
.story-copy h2 .saf { color: var(--c-saffron); font-style: italic; }

.story-copy p {
  font-size: 1.12rem;
  line-height: 1.75;
  color: var(--c-ink-soft);
  max-width: 56ch;
}
.story-copy p + p { margin-top: 18px; }

.story-copy .drop {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 500;
  float: left;
  font-size: 4.5em;
  line-height: 0.86;
  padding: 8px 14px 0 0;
  color: var(--c-pomegranate);
}

.story-copy .pull {
  margin-top: 36px;
  padding: 28px 32px;
  border-left: 3px solid var(--c-saffron);
  background: rgba(229, 163, 61, 0.08);
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--c-ink);
  max-width: 50ch;
}
.story-copy .pull .who {
  display: block;
  margin-top: 12px;
  font-family: var(--ff-body);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--c-smoke);
  text-transform: uppercase;
}

.story-copy .sig {
  margin-top: 32px;
  font-family: var(--ff-hand);
  font-size: 1.7rem;
  color: var(--c-pomegranate);
  display: block;
}

/* ===== HERO PLATES (alternating editorial spreads) ===== */
.plates {
  background: var(--c-midnight);
  position: relative;
  overflow: hidden;
}
.plates::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 10%, rgba(229,163,61,0.08), transparent 50%),
    radial-gradient(ellipse at 10% 90%, rgba(201,71,43,0.08), transparent 50%);
  pointer-events: none;
}

.plates-intro {
  text-align: center;
  margin-bottom: clamp(70px, 9vw, 120px);
  position: relative; z-index: 1;
}
.plates-intro .arabic {
  font-size: clamp(1.4rem, 1rem + 0.9vw, 2rem);
  color: var(--c-saffron);
  margin-bottom: 16px;
}
.plates-intro h2 {
  font-size: clamp(2.4rem, 1.8rem + 2.4vw, 4rem);
  font-weight: 400;
  max-width: 18ch;
  margin: 0 auto 22px;
  line-height: 1.02;
}
.plates-intro h2 em { color: var(--c-saffron); }
.plates-intro p {
  max-width: 56ch; margin-inline: auto;
  font-size: 1.1rem;
  color: var(--c-brass);
  line-height: 1.65;
}

.plate {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
  padding-block: clamp(50px, 7vw, 100px);
}
.plate.reverse { grid-template-columns: 1fr 1.15fr; }
.plate.reverse .plate-photo { order: 2; }
.plate.reverse .plate-copy { order: 1; }

.plate-photo {
  position: relative;
  aspect-ratio: 5 / 6;
  overflow: hidden;
  border-radius: 4px;
}
.plate-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.plate-photo:hover img { transform: scale(1.04); }
.plate-photo .badge {
  position: absolute;
  top: 22px; left: 22px;
  background: var(--c-cream);
  color: var(--c-midnight);
  font-family: var(--ff-body); font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase; font-weight: 600;
  padding: 8px 14px; border-radius: var(--r-full);
}

.plate-copy {
  padding-block: 12px;
}
.plate-copy .ar {
  font-family: var(--ff-arabic);
  font-size: clamp(1.6rem, 1.2rem + 1vw, 2.6rem);
  color: var(--c-saffron);
  margin-bottom: 8px;
  display: block;
}
.plate-copy h3 {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 1.5rem + 2vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--c-cream);
  margin-bottom: 22px;
}
.plate-copy h3 em { color: var(--c-saffron); }
.plate-copy h3 .pom { color: var(--c-pomegranate); font-style: italic; }

.plate-copy p {
  font-size: 1.1rem;
  line-height: 1.72;
  color: rgba(250,246,236,0.78);
  max-width: 48ch;
}
.plate-copy p + p { margin-top: 14px; }

.plate-meta {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--c-cream-line);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--s-5);
}
.plate-meta .m .l {
  font-family: var(--ff-body); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--c-brass);
}
.plate-meta .m .v {
  font-family: var(--ff-display); font-size: 1.3rem; color: var(--c-cream);
  margin-top: 4px;
  font-weight: 500;
}
.plate-meta .m.price .v { color: var(--c-saffron); font-style: italic; }

.plate-note {
  margin-top: 24px;
  font-family: var(--ff-hand);
  font-size: 1.3rem;
  color: var(--c-brass);
  font-style: italic;
}

/* ===== THE SPREAD — cookbook collage ===== */
.spread {
  background: var(--c-ivory);
  color: var(--c-ink);
}
.spread-intro {
  text-align: center;
  margin-bottom: clamp(50px, 7vw, 90px);
}
.spread-intro h2 {
  font-size: clamp(2.4rem, 1.8rem + 2.4vw, 4rem);
  color: var(--c-ink);
  font-weight: 500;
  max-width: 22ch;
  margin-inline: auto;
  letter-spacing: -0.02em;
  line-height: 1.02;
}
.spread-intro h2 em { color: var(--c-pomegranate); }
.spread-intro p {
  max-width: 56ch; margin: 22px auto 0;
  font-size: 1.12rem;
  color: var(--c-smoke);
  line-height: 1.65;
}

.spread-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 200px;
  gap: 18px;
}
.spread-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--c-bone);
  transition: transform var(--t-med) var(--ease);
}
.spread-item:hover { transform: translateY(-4px); }
.spread-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.spread-item:hover img { transform: scale(1.07); }

/* asymmetric grid placements */
.spread-item.s-big { grid-column: span 3; grid-row: span 2; }
.spread-item.s-tall { grid-column: span 2; grid-row: span 2; }
.spread-item.s-wide { grid-column: span 3; grid-row: span 1; }
.spread-item.s-sm   { grid-column: span 2; grid-row: span 1; }

.spread-item .cap {
  position: absolute;
  left: 16px; bottom: 16px; right: 16px;
  color: var(--c-cream);
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.2;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}
.spread-item .cap .ar {
  font-family: var(--ff-arabic);
  display: block;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--c-saffron);
  margin-bottom: 3px;
  opacity: 0.95;
}
.spread-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(14,26,28,0.78) 100%);
  pointer-events: none;
}

/* ===== TWO HOUSES (Calicut) ===== */
.houses {
  background: var(--c-cocoa);
  position: relative;
  color: var(--c-cream);
}
.houses-intro {
  text-align: center;
  margin-bottom: clamp(50px, 7vw, 90px);
}
.houses-intro .ar {
  font-family: var(--ff-arabic);
  font-size: clamp(1.4rem, 1rem + 0.8vw, 1.8rem);
  color: var(--c-saffron);
  margin-bottom: 14px;
}
.houses-intro h2 {
  font-size: clamp(2.4rem, 1.8rem + 2.4vw, 4rem);
  font-weight: 400;
  max-width: 20ch;
  margin: 0 auto 22px;
  line-height: 1.02;
}
.houses-intro h2 em { color: var(--c-saffron); }
.houses-intro p { max-width: 54ch; margin: 0 auto; color: var(--c-brass); font-size: 1.1rem; line-height: 1.65; }

.houses-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.house {
  background: var(--c-midnight);
  border: 1px solid rgba(250,246,236,0.06);
  border-radius: 4px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--t-med) var(--ease);
}
.house:hover { transform: translateY(-6px); }
.house-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}
.house-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.house:hover .house-photo img { transform: scale(1.05); }
.house-photo .tag {
  position: absolute; top: 16px; left: 16px;
  background: var(--c-saffron); color: var(--c-midnight);
  padding: 7px 13px; border-radius: var(--r-full);
  font-family: var(--ff-body); font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase; font-weight: 600;
}
.house-body {
  padding: clamp(28px, 4vw, 44px);
  flex: 1; display: flex; flex-direction: column;
}
.house-body .ar {
  font-family: var(--ff-arabic);
  font-size: 1.3rem;
  color: var(--c-saffron);
  margin-bottom: 6px;
}
.house h3 {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem);
  font-weight: 500;
  color: var(--c-cream);
  margin-bottom: 4px;
  line-height: 1.05;
}
.house h3 em { color: var(--c-saffron); }
.house .sub {
  font-family: var(--ff-display); font-style: italic; font-size: 1.1rem;
  color: var(--c-brass); margin-bottom: 28px;
}
.house dl {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px 24px;
  font-size: 0.96rem;
  padding-top: 22px;
  border-top: 1px solid var(--c-cream-line);
  margin-top: auto;
}
.house dt {
  font-family: var(--ff-display); font-style: italic;
  color: var(--c-saffron);
  font-size: 1rem;
}
.house dd {
  color: var(--c-cream);
  line-height: 1.6;
  opacity: 0.92;
}
.house dd a:hover { color: var(--c-saffron); }

/* ===== RESIDENCY TEASER ===== */
.residency-teaser {
  position: relative;
  min-height: 78vh;
  display: flex; align-items: center;
  overflow: hidden;
  color: var(--c-cream);
}
.residency-teaser .bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  z-index: 0;
  filter: brightness(0.6);
}
.residency-teaser::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(95deg, rgba(14,26,28,0.92) 0%, rgba(14,26,28,0.55) 55%, rgba(14,26,28,0.15) 100%);
}
.residency-teaser .inner {
  position: relative; z-index: 2;
  max-width: 56ch;
  padding-block: clamp(70px, 9vw, 130px);
}
.residency-teaser .ar {
  font-family: var(--ff-arabic);
  font-size: clamp(1.4rem, 1rem + 0.9vw, 2rem);
  color: var(--c-saffron);
  margin-bottom: 14px;
  display: block;
}
.residency-teaser h2 {
  font-size: clamp(2.6rem, 2rem + 2.6vw, 4.4rem);
  font-weight: 400;
  margin-bottom: 22px;
  line-height: 1.02;
}
.residency-teaser h2 em { color: var(--c-saffron); }
.residency-teaser p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(250,246,236,0.86);
  margin-bottom: 14px;
}
.residency-teaser .meta {
  display: flex; gap: 36px;
  margin: 32px 0 36px;
  flex-wrap: wrap;
}
.residency-teaser .meta .m .l {
  font-family: var(--ff-body); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--c-brass);
}
.residency-teaser .meta .m .v {
  font-family: var(--ff-display); font-size: 1.5rem; color: var(--c-saffron);
  margin-top: 6px; font-style: italic;
}

/* ===== MAP — beyond Calicut ===== */
.beyond {
  background: var(--c-ivory);
  color: var(--c-ink);
  position: relative;
  overflow: hidden;
}
.beyond-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.beyond-copy h2 {
  font-size: clamp(2.4rem, 1.8rem + 2.4vw, 4rem);
  font-weight: 500;
  color: var(--c-ink);
  margin-bottom: 22px;
  letter-spacing: -0.02em;
  line-height: 1.02;
}
.beyond-copy h2 em { color: var(--c-pomegranate); }
.beyond-copy h2 .saf { color: var(--c-saffron); font-style: italic; }
.beyond-copy p { color: var(--c-smoke); font-size: 1.12rem; line-height: 1.7; max-width: 50ch; }
.beyond-copy .cities-list {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
  border-top: 1px solid var(--c-ink-line);
  padding-top: 22px;
}
.beyond-copy .cities-list li {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  color: var(--c-ink);
  padding: 6px 0;
}
.beyond-copy .cities-list li .ct {
  display: inline-block;
  font-family: var(--ff-body); font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--c-bronze);
  margin-left: 8px;
  text-transform: uppercase;
}
.beyond-copy .cities-list li.flag { color: var(--c-pomegranate); font-style: italic; }

.beyond-map {
  position: relative;
  aspect-ratio: 1 / 1.05;
  background:
    radial-gradient(ellipse at 60% 50%, rgba(201,71,43,0.06), transparent 60%),
    var(--c-bone);
  border: 1px solid var(--c-ink-line);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.beyond-map svg { width: 100%; height: 100%; }

/* ===== VOICE OF THE REGULARS (testimonials) ===== */
.voices {
  background: var(--c-cocoa);
  color: var(--c-cream);
  position: relative;
}
.voices-intro {
  text-align: center;
  margin-bottom: clamp(50px, 7vw, 80px);
}
.voices-intro .ar {
  font-family: var(--ff-arabic);
  font-size: clamp(1.4rem, 1rem + 0.8vw, 1.8rem);
  color: var(--c-saffron); display: block;
  margin-bottom: 14px;
}
.voices-intro h2 {
  font-size: clamp(2.4rem, 1.8rem + 2.2vw, 3.8rem);
  font-weight: 400;
  max-width: 20ch;
  margin-inline: auto;
  line-height: 1.04;
}
.voices-intro h2 em { color: var(--c-saffron); }

.voices-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
}
.voice {
  background: var(--c-ivory);
  color: var(--c-ink);
  padding: clamp(28px, 4vw, 42px);
  border-radius: 4px;
  position: relative;
  box-shadow: 0 24px 50px -16px rgba(0,0,0,0.6);
  transform: rotate(-0.6deg);
  transition: transform var(--t-med) var(--ease);
}
.voice:nth-child(2) { transform: rotate(0.4deg); }
.voice:nth-child(3) { transform: rotate(-0.3deg); }
.voice:hover { transform: rotate(0deg) translateY(-4px); }
.voice .quote-mark {
  font-family: var(--ff-display);
  font-size: 5rem;
  color: var(--c-pomegranate);
  position: absolute; top: 8px; left: 18px;
  font-style: italic; line-height: 1; opacity: 0.18;
}
.voice blockquote {
  font-family: var(--ff-display);
  font-size: 1.18rem;
  line-height: 1.55;
  color: var(--c-ink);
  font-style: italic;
  position: relative;
  z-index: 1;
}
.voice cite {
  display: block;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--c-ink-line);
  font-family: var(--ff-body);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--c-bronze);
  text-transform: uppercase;
}
.voice cite .star {
  display: inline-block;
  color: var(--c-saffron);
  letter-spacing: 0;
  margin-right: 8px;
  font-size: 13px;
}

/* ===== INVITATION CTA ===== */
.invite {
  position: relative;
  min-height: 70vh;
  display: flex; align-items: center;
  overflow: hidden;
  color: var(--c-cream);
  text-align: center;
}
.invite .bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.42);
  z-index: 0;
}
.invite::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(14,26,28,0.75) 0%, rgba(14,26,28,0.5) 50%, rgba(14,26,28,0.92) 100%);
}
.invite-inner {
  position: relative; z-index: 2;
  width: 100%;
  padding-block: clamp(70px, 9vw, 130px);
}
.invite .ar {
  font-family: var(--ff-arabic);
  font-size: clamp(1.4rem, 1rem + 0.8vw, 1.8rem);
  color: var(--c-saffron);
  margin-bottom: 18px;
  display: block;
}
.invite h2 {
  font-size: clamp(2.8rem, 2.2rem + 3vw, 5.4rem);
  font-weight: 400;
  margin-bottom: 22px;
  line-height: 1.02;
  max-width: 22ch;
  margin-inline: auto;
}
.invite h2 em { color: var(--c-saffron); }
.invite h2 .pom { color: var(--c-pomegranate); font-style: italic; }
.invite p {
  max-width: 56ch; margin: 0 auto 36px;
  font-size: 1.18rem;
  color: rgba(250,246,236,0.82);
  line-height: 1.65;
}
.invite-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.invite-hand {
  display: block;
  margin-top: 38px;
  font-family: var(--ff-hand);
  font-size: 1.5rem;
  color: var(--c-saffron);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--c-midnight);
  color: var(--c-cream);
  padding-block: clamp(72px, 9vw, 110px) var(--s-10);
  border-top: 1px solid var(--c-cream-line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: clamp(32px, 4vw, 60px);
  margin-bottom: clamp(48px, 6vw, 80px);
}
.footer-brand .ar {
  font-family: var(--ff-arabic);
  font-size: 1.5rem;
  color: var(--c-saffron);
  margin-bottom: 8px;
  display: block;
}
.footer-brand .name {
  font-family: var(--ff-display);
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 18px;
}
.footer-brand .name em { color: var(--c-saffron); }
.footer-brand p {
  color: var(--c-brass);
  font-size: 0.96rem;
  line-height: 1.65;
  max-width: 38ch;
}
.footer h4 {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--c-saffron);
  margin-bottom: 18px;
}
.footer ul li { padding: 5px 0; font-size: 0.95rem; }
.footer ul li a { color: var(--c-cream); opacity: 0.85; transition: color var(--t-fast); }
.footer ul li a:hover { color: var(--c-saffron); opacity: 1; }
.footer .addr {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--c-cream);
  opacity: 0.85;
}
.footer .addr strong {
  display: block;
  font-family: var(--ff-display); font-style: italic; font-weight: 500;
  color: var(--c-saffron);
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.footer .addr + .addr { margin-top: 18px; }

.footer-foot {
  border-top: 1px solid var(--c-cream-line);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.85rem;
  color: var(--c-brass);
  flex-wrap: wrap; gap: 16px;
}
.footer-foot .credit { font-family: var(--ff-display); font-style: italic; }
.footer-foot .credit a { color: var(--c-cream); border-bottom: 1px solid var(--c-bronze); }
.footer-foot .credit a:hover { color: var(--c-saffron); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .story-grid, .plate, .plate.reverse, .beyond-grid { grid-template-columns: 1fr; }
  .plate.reverse .plate-photo, .plate.reverse .plate-copy { order: initial; }
  .spread-grid { grid-template-columns: repeat(4, 1fr); }
  .spread-item.s-big { grid-column: span 4; }
  .spread-item.s-tall { grid-column: span 2; }
  .spread-item.s-wide { grid-column: span 4; }
  .spread-item.s-sm { grid-column: span 2; }
  .voices-grid { grid-template-columns: 1fr; max-width: 600px; margin-inline: auto; }
  .houses-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-menu, .nav-cta .btn { display: none; }
  .nav-burger { display: inline-flex; }
  .nav { padding: 16px var(--gutter); }
  .nav.scrolled { padding: 12px var(--gutter); }
  .hero { padding-block: 130px 200px; align-items: center; }
  .hero-seal { width: 80px; height: 80px; top: 110px; right: 18px; }
  .hero-strip { position: static; margin-top: 40px; flex-direction: column; align-items: flex-start; gap: 24px; }
  .hero-strip .stats { gap: 24px; }
  .spread-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; gap: 12px; }
  .spread-item.s-big, .spread-item.s-tall, .spread-item.s-wide, .spread-item.s-sm { grid-column: span 1; grid-row: span 1; }
  .spread-item.s-big { grid-column: span 2; grid-row: span 2; }
  .plate-meta { grid-template-columns: 1fr 1fr; gap: 14px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-foot { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .hero-title { font-size: clamp(3rem, 13vw, 4.5rem); }
  .nav-logo .name { font-size: 17px; }
  .nav-logo svg { width: 36px; height: 36px; }
  .spread-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .spread-item.s-big { grid-column: span 1; grid-row: span 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .hero-photo { animation: none; transform: scale(1); }
  .hero-seal { animation: none; }
}

/* ============================================================
   v3 PREMIUM POLISH LAYER
   Lifts real (phone-quality) brand photos to an editorial feel,
   strengthens hero readability, adds tasteful micro-interaction.
   ============================================================ */

/* Stronger, directional hero scrim so the left-aligned title always reads
   over a bright, busy food photograph */
.hero::before {
  background:
    linear-gradient(180deg, rgba(14,26,28,0.74) 0%, rgba(14,26,28,0.34) 38%, rgba(14,26,28,0.92) 90%),
    linear-gradient(100deg, rgba(14,26,28,0.78) 0%, rgba(14,26,28,0.30) 48%, transparent 70%) !important;
}
.hero-photo { filter: brightness(0.7) contrast(1.06) saturate(1.06); }
.hero-sub { text-shadow: 0 1px 18px rgba(14,26,28,0.5); }

/* Editorial vignette + warm glaze on real photographs — makes a dim phone
   shot read as an intentional, candlelit plate */
.plate-photo, .story-photo, .house-photo, .menu-head .photo, .ch-body figure {
  position: relative;
  isolation: isolate;
}
.plate-photo::after, .story-photo::after, .house-photo::after,
.menu-head .photo::after, .ch-body figure::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(120% 120% at 50% 30%, transparent 52%, rgba(20,12,4,0.30) 100%),
    linear-gradient(180deg, rgba(229,163,61,0.05), rgba(178,59,35,0.06));
  mix-blend-mode: multiply;
  opacity: 0.9;
  transition: opacity var(--t-med) var(--ease);
}
.plate-photo:hover::after, .house-photo:hover::after { opacity: 0.5; }

/* Thin saffron hairline frame on the showpiece plate photos */
.plate-photo, .story-photo {
  box-shadow: 0 28px 60px -26px rgba(0,0,0,0.7), inset 0 0 0 1px rgba(229,163,61,0.14);
}

/* Image fade-in (fail-safe: pure CSS animation always ends at opacity 1,
   so images are NEVER left hidden even if JS fails) */
@keyframes imgFade { from { opacity: 0; } to { opacity: 1; } }
.plate-photo img, .story-photo img, .spread-item img,
.house-photo img, .menu-head .photo img, .ch-body figure img,
.res-photo-strip img {
  animation: imgFade 0.8s var(--ease) both;
}
@media (prefers-reduced-motion: reduce) {
  .plate-photo img, .story-photo img, .spread-item img,
  .house-photo img, .menu-head .photo img, .ch-body figure img,
  .res-photo-strip img { animation: none; }
}

/* Refined badge — small gold seal feel */
.plate-photo .badge {
  background: rgba(244,236,218,0.94);
  box-shadow: 0 6px 18px -6px rgba(0,0,0,0.5);
  backdrop-filter: blur(2px);
}

/* Spread tiles: gentle saturate on hover for life */
.spread-item img { filter: saturate(1.0) brightness(0.97); transition: transform 1s var(--ease), filter var(--t-med) var(--ease); }
.spread-item:hover img { filter: saturate(1.12) brightness(1.04); }

/* Section-entry: soft top hairline glow between dark sections */
.plates, .houses, .voices { position: relative; }

/* Welcome band: faint engraved rule */
.welcome-band::after {
  content: '';
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  width: 60px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-saffron), transparent);
  opacity: 0.5;
}

/* Make the rotating seal feel embossed */
.hero-seal { filter: drop-shadow(0 4px 14px rgba(0,0,0,0.5)); }
