/*
  ============================================================
  THATTUKADA KERALA RESTAURANT · Grand Mall, Doha, Qatar
  Site by Shijil Kumar · digitalshijil.com
  ============================================================

  DESIGN DIRECTION: "The Thattukada Chronicles"
  Reads like an editorial almanac of Kerala's beloved street-
  food culture transplanted to Doha — deep charcoal grounds,
  saffron-turmeric gold, warm cream, Noto Serif Malayalam.

  PALETTE — Kerala-rustic:
  Deep charcoal #1B1410 (the night sky above a thattukada)
  Saffron #E5921C (turmeric, Kerala gold, the lamp flame)
  Kerala Cream #F5EDD8 (aged coconut, aged paper)
  Brick-red #8C2B10 (the KL signboard colour)
  Turmeric clay #C84B1A (spice, chaya, uruli)
  Coconut green #4A6B35 (palm fronds, kappa leaf)

  TYPOGRAPHY
  Display   DM Serif Display (high-contrast editorial serif)
  Body      Inter Tight
  Mono      JetBrains Mono (labels, prices, codes)
  Malayalam Noto Serif Malayalam (bilingual moments)
  ============================================================
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter+Tight:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&family=Noto+Serif+Malayalam:wght@300;400;500;600&display=swap');

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--cream);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

/* ── 1 · Tokens ── */
:root {
  --ink:          #1B1410;
  --ink-soft:     #221810;
  --ink-2:        #2A1E12;
  --ink-3:        #34241A;

  --cream:        #F5EDD8;
  --cream-2:      #EAE0C4;
  --cream-mute:   #BFB49A;
  --cream-soft:   rgba(245, 237, 216, 0.72);
  --paper-ink:    #2C2218;

  --brass:        #E5921C;
  --brass-bright: #F5AC44;
  --brass-deep:   #A66510;
  --brass-line:   rgba(229, 146, 28, 0.32);
  --brass-soft:   rgba(229, 146, 28, 0.14);

  --maroon:       #8C2B10;
  --maroon-deep:  #6A200C;
  --maroon-soft:  rgba(140, 43, 16, 0.16);

  --crimson:      #C84B1A;
  --crimson-deep: #8A3412;
  --crimson-soft: rgba(200, 75, 26, 0.16);

  --terracotta:   #B05A2A;
  --terracotta-soft: rgba(176, 90, 42, 0.16);

  --leaf:         #4A6B35;
  --leaf-deep:    #2E4420;

  --steel:        #C5C0B5;
  --steel-dim:    #8B8780;

  --line:         rgba(245, 237, 216, 0.13);
  --line-strong:  rgba(245, 237, 216, 0.28);
  --line-paper:   rgba(44, 34, 24, 0.18);

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'Inter Tight', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;
  --font-mal:     'Noto Serif Malayalam', Georgia, serif;

  --fs-mono:  clamp(11px, 0.7vw + 9px, 13px);
  --fs-body:  clamp(15px, 0.4vw + 14px, 17px);
  --fs-lede:  clamp(18px, 0.6vw + 16px, 22px);
  --fs-h4:    clamp(20px, 1vw + 18px, 28px);
  --fs-h3:    clamp(28px, 1.6vw + 24px, 42px);
  --fs-h2:    clamp(40px, 3vw + 32px, 72px);
  --fs-h1:    clamp(56px, 6vw + 32px, 128px);
  --fs-hero:  clamp(64px, 9vw + 24px, 184px);

  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;
  --sp-9: 96px; --sp-10: 128px;

  --content-w: 1320px;
  --gutter:    clamp(20px, 4vw, 56px);
  --radius-s:  4px;
  --radius-m:  8px;
  --radius-l:  16px;

  --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── 2 · Typography ── */
.font-display { font-family: var(--font-display); }
.font-mono    { font-family: var(--font-mono); }
.font-mal     { font-family: var(--font-mal); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--brass);
  display: inline-block;
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.02em;
  color: var(--cream);
}
.display em {
  font-style: italic;
  color: var(--brass);
}
h1.display { font-size: var(--fs-h1); }
h2.display { font-size: var(--fs-h2); }
h3.display { font-size: var(--fs-h3); }

.lede {
  font-size: var(--fs-lede);
  font-weight: 300;
  line-height: 1.55;
  color: var(--cream-soft);
  max-width: 60ch;
}

.mal-mark {
  font-family: var(--font-mal);
  font-weight: 500;
  color: var(--brass);
}

/* ── 3 · Layout ── */
.container {
  width: 100%;
  max-width: var(--content-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.container-wide {
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
section { position: relative; }
.section { padding: var(--sp-10) 0; }
.section-sm { padding: var(--sp-9) 0; }
@media (max-width: 640px) {
  .section { padding: var(--sp-9) 0; }
  .section-sm { padding: var(--sp-8) 0; }
}
.divider { height: 1px; background: var(--line); width: 100%; }

/* ── 4 · Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 999px;
  transition: transform 0.4s var(--ease-out), background 0.3s, color 0.3s, border-color 0.3s;
}
.btn-brass {
  background: var(--brass);
  color: var(--ink);
}
.btn-brass:hover { background: var(--brass-bright); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--brass-line);
}
.btn-ghost:hover {
  border-color: var(--brass);
  background: var(--brass-soft);
  color: var(--brass-bright);
}
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: var(--ink-2); }
.btn-paper { background: var(--cream); color: var(--paper-ink); }
.btn-paper:hover { background: var(--brass-bright); }
.btn .arrow { transition: transform 0.4s var(--ease-out); display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }

/* ── 5 · Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.4s var(--ease-out), padding 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(27, 20, 16, 0.90);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo .seal-svg {
  width: 40px; height: 40px;
  flex-shrink: 0;
}
.nav-logo-text {
  display: flex; flex-direction: column; gap: 2px; line-height: 1;
}
.nav-logo .word {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--cream);
}
.nav-logo .mal-mark {
  font-size: 11px;
  letter-spacing: 0.04em;
}
.nav-logo .est-row {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--cream-mute);
  text-transform: uppercase;
  margin-top: 2px;
}
.nav-logo .est-row::before {
  content: "";
  width: 8px; height: 1px; background: var(--brass);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  list-style: none;
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-mute);
  transition: color 0.3s;
  position: relative;
  padding: 6px 0;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--brass); }
.nav-links a.is-active::after {
  content: "";
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px; background: var(--brass);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--brass);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.3s, transform 0.3s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--brass-bright); transform: translateY(-1px); }
.nav-burger {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--brass-line);
  border-radius: 4px;
  position: relative;
}
.nav-burger span {
  position: absolute; left: 10px; right: 10px;
  height: 1px; background: var(--cream);
  transition: transform 0.3s, opacity 0.3s, top 0.3s;
}
.nav-burger span:nth-child(1) { top: 14px; }
.nav-burger span:nth-child(2) { top: 19px; }
.nav-burger span:nth-child(3) { top: 24px; }
.nav-burger.is-open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: inline-flex; }
}

/* Mobile overlay nav */
.mobile-nav {
  position: fixed; inset: 0;
  background: var(--ink); z-index: 99;
  display: flex; flex-direction: column;
  padding: 100px var(--gutter) var(--sp-7);
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease-out);
  overflow-y: auto;
}
.mobile-nav.is-open { transform: translateY(0); }
.mobile-nav-links {
  list-style: none; display: flex; flex-direction: column; gap: 0;
  margin-top: var(--sp-5); border-top: 1px solid var(--line);
}
.mobile-nav-links li { border-bottom: 1px solid var(--line); }
.mobile-nav-links a {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 22px 0;
  font-family: var(--font-display);
  font-size: 32px; font-weight: 400;
  color: var(--cream);
}
.mobile-nav-links a .num {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--brass); letter-spacing: 0.18em;
}
.mobile-nav-foot {
  margin-top: auto; padding-top: var(--sp-6);
  display: flex; flex-direction: column; gap: 14px;
}
.mobile-nav-foot .ph {
  font-family: var(--font-mono); font-size: 16px;
  letter-spacing: 0.12em; color: var(--brass);
}
.mobile-nav-foot .hours {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.12em; color: var(--cream-mute); text-transform: uppercase;
}

/* ── 7 · Hero ── */
.hero {
  position: relative;
  min-height: 100svh; min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding-bottom: var(--sp-8);
  background:
    radial-gradient(120% 80% at 50% 100%, rgba(27,20,16,0.97) 0%, rgba(27,20,16,0.55) 50%, rgba(27,20,16,0.8) 100%),
    radial-gradient(circle at 25% 35%, rgba(229,146,28,0.13) 0%, transparent 55%),
    radial-gradient(circle at 75% 60%, rgba(200,75,26,0.09) 0%, transparent 55%),
    linear-gradient(160deg, #1B1410 0%, #2A1E12 55%, #1B1410 100%);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 55%;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(120% 80% at 50% 100%, rgba(27,20,16,0.96) 0%, rgba(27,20,16,0.5) 50%, rgba(27,20,16,0.7) 100%),
    linear-gradient(180deg, rgba(27,20,16,0.65) 0%, rgba(27,20,16,0.18) 35%, rgba(27,20,16,0.88) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: var(--sp-5);
}

.hero-runner {
  position: absolute;
  top: 88px; left: 0; right: 0;
  z-index: 2;
  padding: 0 var(--gutter);
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--brass); pointer-events: none;
}
.hero-runner .dot { color: var(--cream-mute); }

.hero-meta {
  display: flex; flex-wrap: wrap;
  gap: var(--sp-4) var(--sp-7);
  align-items: center;
  margin-bottom: var(--sp-6);
  font-family: var(--font-mono); font-size: var(--fs-mono);
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cream-mute);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brass); }

.hero-headline {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.025em;
  color: var(--cream);
}
.hero-headline .em { font-style: italic; color: var(--brass); }
.hero-headline .mal {
  font-family: var(--font-mal);
  font-size: 0.42em;
  color: var(--brass);
  display: inline-block;
  vertical-align: 0.65em;
  margin-left: 0.2em;
}

.hero-sub {
  margin-top: var(--sp-5);
  max-width: 580px;
  font-size: clamp(16px, 0.6vw + 14px, 19px);
  line-height: 1.55; color: var(--cream-soft);
}

.hero-actions {
  margin-top: var(--sp-6);
  display: flex; flex-wrap: wrap; gap: var(--sp-3);
}

/* Hero badge / rotating seal */
.hero-seal {
  position: absolute;
  top: 120px; right: var(--gutter);
  z-index: 3;
  width: 148px; height: 148px;
  color: var(--brass);
  animation: badgeRotate 60s linear infinite;
}
.hero-seal-static {
  position: absolute;
  top: 152px; right: calc(var(--gutter) + 12px);
  z-index: 4;
  width: 124px; height: 124px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; color: var(--brass);
  pointer-events: none;
}
.hero-seal-static .label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  line-height: 1.1;
}
.hero-seal-static .sub-label {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: 5px;
  color: var(--brass-bright);
}
.hero-seal-static .underline {
  width: 28px; height: 1px; background: var(--brass); margin: 5px 0;
}
@keyframes badgeRotate { to { transform: rotate(360deg); } }
@media (max-width: 720px) {
  .hero-seal { top: 90px; right: 16px; width: 100px; height: 100px; }
  .hero-seal-static { top: 114px; right: 28px; width: 80px; height: 80px; }
  .hero-seal-static .label { font-size: 14px; }
  .hero-runner { top: 76px; font-size: 9px; }
}

.hero-scroll {
  position: absolute;
  bottom: 22px; left: 50%;
  transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  color: var(--cream-soft);
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase;
}
.hero-scroll .line {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, var(--brass) 0%, transparent 100%);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── 8 · Marquee ── */
.marquee {
  background: var(--brass);
  color: var(--ink);
  padding: 20px 0;
  overflow: hidden;
  border-top: 1px solid var(--brass-deep);
  border-bottom: 1px solid var(--brass-deep);
}
.marquee-track {
  display: flex; gap: 60px;
  animation: marqueeSlide 38s linear infinite;
  white-space: nowrap; width: max-content;
}
.marquee-track span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(22px, 2vw + 16px, 36px);
  font-weight: 400;
  display: inline-flex; align-items: center; gap: 60px;
}
.marquee-track span::after {
  content: "❋";
  font-size: 14px;
  color: rgba(27, 20, 16, 0.45);
  font-style: normal;
}
@keyframes marqueeSlide { to { transform: translateX(-50%); } }

/* ── 9 · Plate intro ── */
.plate-intro {
  background: var(--ink);
  padding: var(--sp-10) 0 var(--sp-8);
}
.plate-intro-grid {
  display: grid; grid-template-columns: 5fr 7fr;
  gap: var(--sp-9); align-items: end;
}
.plate-intro-grid > * { min-width: 0; }
@media (max-width: 880px) {
  .plate-intro-grid { grid-template-columns: 1fr; gap: var(--sp-6); }
}

/* ── 10 · Signature Dishes (thali grid) ── */
.dishes-section {
  background: var(--ink);
  padding: var(--sp-10) 0;
}
.dishes-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: var(--sp-6); margin-bottom: var(--sp-9); flex-wrap: wrap;
}
.dishes-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-10) var(--sp-9);
}
@media (max-width: 880px) {
  .dishes-grid { grid-template-columns: 1fr; gap: var(--sp-9); }
}

.dish {
  position: relative; display: flex;
  flex-direction: column; align-items: center; text-align: center;
}
.dish-plate {
  position: relative;
  width: 100%; max-width: 360px; aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--steel) 0%, var(--steel-dim) 70%, var(--ink-3) 100%);
  padding: 16px;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.08),
    inset 0 0 0 8px var(--steel-dim),
    inset 0 0 0 9px var(--ink-3),
    inset 0 0 0 12px var(--steel),
    0 18px 40px rgba(0,0,0,0.55);
  margin-bottom: var(--sp-6);
  transition: transform 0.6s var(--ease-out);
}
.dish-plate:hover { transform: rotate(-4deg) scale(1.02); }
.dish-plate-inner {
  width: 100%; height: 100%;
  border-radius: 50%; overflow: hidden;
  position: relative; background: var(--ink-2);
  display: flex; align-items: center; justify-content: center;
}
.dish-plate-inner img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
/* Gradient placeholder when no image */
.dish-plate-inner[data-dish="parotta"] {
  background: radial-gradient(circle at 50% 40%, #4A2E10 0%, #1B1410 100%);
}
.dish-plate-inner[data-dish="biryani"] {
  background: radial-gradient(circle at 50% 40%, #4A2A08 0%, #1B1410 100%);
}
.dish-plate-inner[data-dish="puttu"] {
  background: radial-gradient(circle at 50% 40%, #3A2818 0%, #1B1410 100%);
}
.dish-plate-inner[data-dish="appam"] {
  background: radial-gradient(circle at 50% 40%, #2A2210 0%, #1B1410 100%);
}
.dish-plate-label {
  position: absolute; bottom: 14px; left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  border: 1px solid var(--brass);
  color: var(--brass);
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 99px; z-index: 2;
}
.dish-num {
  position: absolute; top: 0; left: 0;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--crimson); color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.05em; z-index: 3;
  border: 2px solid var(--ink);
}
.dish-name {
  font-family: var(--font-display);
  font-size: clamp(28px, 1.5vw + 22px, 40px);
  color: var(--cream); line-height: 1.05; margin-bottom: 6px;
}
.dish-name em { font-style: italic; color: var(--brass); }
.dish-mal {
  font-family: var(--font-mal); font-size: 14px;
  color: var(--brass); margin-bottom: 14px;
}
.dish-desc {
  font-size: 15px; color: var(--cream-soft);
  line-height: 1.65; max-width: 38ch; margin: 0 auto;
}
.dish-foot {
  margin-top: var(--sp-4);
  display: flex; align-items: center; justify-content: center;
  gap: 14px; font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream-mute);
}
.dish-foot .price { color: var(--brass); }
.dish-foot .sep { width: 4px; height: 4px; background: var(--brass); border-radius: 50%; display: inline-block; }

/* ── 12 · Story / ledger ── */
.story-preview {
  background: var(--ink); padding: var(--sp-10) 0;
}
.story-grid {
  display: grid; grid-template-columns: 5fr 7fr;
  gap: var(--sp-9); align-items: start;
}
.story-grid > * { min-width: 0; }
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; gap: var(--sp-7); }
}
.story-grid .label-col .eyebrow { margin-bottom: var(--sp-5); }
.story-grid .label-col h2 { margin-bottom: var(--sp-5); }

.ledger { display: flex; flex-direction: column; gap: var(--sp-5); }
.ledger-row {
  display: grid; grid-template-columns: 100px 1fr;
  gap: var(--sp-5); padding: var(--sp-5);
  background: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  position: relative;
}
@media (max-width: 540px) {
  .ledger-row { grid-template-columns: 1fr; gap: 8px; }
}
.ledger-row::after {
  content: attr(data-entry);
  position: absolute; top: 12px; right: 14px;
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--cream-mute);
}
.ledger-row.is-current::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--brass);
}
.ledger-icon {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(36px, 2.5vw + 22px, 56px);
  line-height: 0.95; color: var(--brass);
}
.ledger-body h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 1vw + 16px, 26px);
  color: var(--cream); font-weight: 400; margin-bottom: 6px;
}
.ledger-body p {
  font-size: 15.5px; line-height: 1.65;
  color: var(--cream-soft); max-width: 60ch;
}

/* ── 13 · Find Us section ── */
.find-us {
  background: var(--cream);
  color: var(--paper-ink);
  padding: var(--sp-10) 0;
  position: relative;
}
.find-us::before, .find-us::after {
  content: "";
  position: absolute; left: 0; right: 0; height: 8px;
  background-image:
    linear-gradient(45deg, var(--cream) 50%, transparent 50%),
    linear-gradient(-45deg, var(--cream) 50%, transparent 50%);
  background-size: 16px 16px;
  background-position: 0 100%, 0 100%;
  background-repeat: repeat-x;
}
.find-us::before { top: 0; transform: scaleY(-1); }
.find-us::after  { bottom: 0; }
.find-us-grid {
  display: grid; grid-template-columns: 4fr 8fr;
  gap: var(--sp-8); align-items: center;
}
.find-us-grid > * { min-width: 0; }
@media (max-width: 880px) {
  .find-us-grid { grid-template-columns: 1fr; gap: var(--sp-6); }
}
.find-us .eyebrow { color: var(--leaf-deep); }
.find-us .eyebrow::before { background: var(--leaf-deep); }
.find-us h2 {
  font-family: var(--font-display);
  font-size: clamp(38px, 3vw + 24px, 72px);
  font-weight: 400; line-height: 0.95;
  color: var(--paper-ink); margin-top: var(--sp-4);
}
.find-us h2 em { font-style: italic; color: var(--crimson); }
.find-us p {
  margin-top: var(--sp-5);
  font-size: 17px; line-height: 1.65;
  color: rgba(44, 34, 24, 0.78); max-width: 38ch;
}

.location-card {
  background: var(--cream-2);
  border: 1px solid rgba(44, 34, 24, 0.18);
  padding: var(--sp-7);
  border-radius: 4px;
  box-shadow: 0 4px 0 rgba(44,34,24,0.06);
  position: relative;
}
.location-card::before {
  content: "Grand Mall · Doha · Sketch 01";
  position: absolute; top: -18px; left: 24px;
  background: var(--leaf);
  color: var(--cream);
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 6px 12px; transform: rotate(-1deg);
}
.location-name {
  font-family: var(--font-display);
  font-size: clamp(28px, 2vw + 20px, 46px);
  color: var(--paper-ink); line-height: 1;
  margin-bottom: var(--sp-3);
}
.location-name em { font-style: italic; color: var(--crimson); }
.location-mal {
  font-family: var(--font-mal); font-size: 18px;
  color: var(--leaf-deep); margin-bottom: var(--sp-5);
}
.location-addr {
  font-size: 16px; line-height: 1.6;
  color: rgba(44, 34, 24, 0.82);
  margin-bottom: var(--sp-5);
}
.location-rule { height: 1px; background: rgba(44,34,24,0.18); margin: var(--sp-4) 0; }
.location-meta {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}
.location-meta .row { display: flex; flex-direction: column; gap: 2px; }
.location-meta .lbl {
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(44, 34, 24, 0.55);
}
.location-meta .val {
  font-family: var(--font-mono); font-size: 14px;
  color: var(--crimson); letter-spacing: 0.02em;
}
.location-actions { margin-top: var(--sp-5); display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.location-actions .btn-paper {
  background: var(--paper-ink); color: var(--cream);
}
.location-actions .btn-paper:hover { background: var(--crimson); }
.location-actions .btn-ghost {
  border: 1px solid rgba(44,34,24,0.4);
  color: var(--paper-ink);
}
.location-actions .btn-ghost:hover {
  border-color: var(--paper-ink);
  background: rgba(44,34,24,0.06);
}

/* ── 14 · Kitchen Notes (handwritten cards) ── */
.kitchen-notes {
  background: var(--ink); padding: var(--sp-10) 0;
}
.kitchen-notes-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: var(--sp-5); margin-bottom: var(--sp-8); flex-wrap: wrap;
}
.notes-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5);
}
@media (max-width: 900px) {
  .notes-grid { grid-template-columns: 1fr; }
}
.note-card {
  background: var(--cream); color: var(--paper-ink);
  padding: var(--sp-6) var(--sp-5);
  border-radius: 2px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.35);
  position: relative; display: flex; flex-direction: column;
  min-height: 260px;
}
.note-card:nth-child(1) { transform: rotate(-1.2deg); }
.note-card:nth-child(2) { transform: rotate(0.6deg); margin-top: 18px; }
.note-card:nth-child(3) { transform: rotate(-0.6deg); }
.note-card::before {
  content: "";
  position: absolute; top: -10px; left: 22px;
  width: 60px; height: 18px;
  background: rgba(229, 146, 28, 0.55);
  transform: rotate(-3deg);
  box-shadow: 0 1px 2px rgba(0,0,0,0.18);
}
.note-card .tag {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--crimson); margin-bottom: var(--sp-3);
}
.note-card .body {
  font-size: 22px; line-height: 1.4; color: var(--paper-ink); flex: 1;
  font-family: var(--font-display); font-style: italic;
}
.note-card .from {
  margin-top: var(--sp-4); padding-top: var(--sp-3);
  border-top: 1px dashed rgba(44,34,24,0.3);
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(44,34,24,0.7);
  display: flex; justify-content: space-between;
}

/* ── 17 · Visit CTA ── */
.visit-cta {
  background: var(--maroon); color: var(--cream);
  position: relative; overflow: hidden;
  border-top: 2px solid var(--maroon-deep);
  border-bottom: 2px solid var(--maroon-deep);
}
.visit-cta::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 0% 0%, rgba(0,0,0,0.28) 0%, transparent 60%),
    radial-gradient(60% 80% at 100% 100%, rgba(0,0,0,0.4) 0%, transparent 60%);
  pointer-events: none;
}
.visit-inner {
  position: relative;
  padding: var(--sp-10) 0;
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: var(--sp-7); align-items: center;
}
.visit-inner > * { min-width: 0; }
@media (max-width: 880px) { .visit-inner { grid-template-columns: 1fr; } }

.visit-headline {
  font-family: var(--font-display);
  font-size: var(--fs-h1); font-weight: 400;
  line-height: 0.95; letter-spacing: -0.02em; color: var(--cream);
}
.visit-headline em { font-style: italic; color: var(--brass-bright); }
.visit-sub {
  margin-top: var(--sp-5); max-width: 50ch;
  font-size: 17px; line-height: 1.6;
  color: rgba(245, 237, 216, 0.86);
}

/* Receipt */
.receipt {
  background: var(--cream); color: var(--paper-ink);
  padding: var(--sp-6) var(--sp-6) var(--sp-7);
  font-family: var(--font-mono);
  position: relative;
  filter: drop-shadow(0 24px 50px rgba(0,0,0,0.4));
}
.receipt::before, .receipt::after {
  content: "";
  position: absolute; left: 0; right: 0; height: 10px;
  background-image:
    linear-gradient(45deg, var(--cream) 50%, transparent 50%),
    linear-gradient(-45deg, var(--cream) 50%, transparent 50%);
  background-size: 14px 14px; background-repeat: repeat-x;
}
.receipt::before { top: 0; transform: scaleY(-1) translateY(-100%); }
.receipt::after  { bottom: 0; transform: translateY(100%); }
.receipt h3 {
  font-family: var(--font-display); font-style: italic;
  font-size: 30px; font-weight: 400;
  text-align: center; color: var(--paper-ink); margin-bottom: 6px;
}
.receipt .sub {
  text-align: center; font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(44,34,24,0.65);
  padding-bottom: var(--sp-4);
  border-bottom: 1px dashed rgba(44,34,24,0.35);
  margin-bottom: var(--sp-4);
}
.receipt .row {
  display: flex; justify-content: space-between;
  font-size: 12px; letter-spacing: 0.04em;
  padding: 6px 0;
  border-bottom: 1px dotted rgba(44,34,24,0.2);
  color: var(--paper-ink);
}
.receipt .row:last-of-type { border-bottom: 0; }
.receipt .row .lbl { color: rgba(44,34,24,0.7); }
.receipt .row .val { color: var(--paper-ink); font-weight: 500; }
.receipt .row.big .val { font-size: 18px; color: var(--crimson); }
.receipt .stamp {
  margin-top: var(--sp-5); text-align: center;
  font-family: var(--font-display); font-style: italic;
  font-size: 14px; color: var(--crimson);
  border: 1.5px solid var(--crimson);
  padding: 8px 14px; display: inline-block;
  position: relative; left: 50%; transform: translateX(-50%) rotate(-3deg);
  border-radius: 4px;
}
.receipt .thanks {
  text-align: center; margin-top: var(--sp-5);
  font-family: var(--font-display); font-style: italic;
  font-size: 22px; color: var(--paper-ink);
}

/* ── 18 · Footer ── */
.footer {
  background: var(--ink);
  padding: var(--sp-9) 0 var(--sp-6);
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-7); margin-bottom: var(--sp-8);
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-6); } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-mark { display: flex; align-items: center; gap: 14px; margin-bottom: var(--sp-4); }
.footer-mark .seal-svg { width: 52px; height: 52px; color: var(--brass); flex-shrink: 0; }
.footer-mark-text { display: flex; flex-direction: column; gap: 2px; }
.footer-mark .word {
  font-family: var(--font-display); font-size: 30px;
  color: var(--cream); line-height: 1;
}
.footer-mark .mal {
  font-family: var(--font-mal); font-size: 14px; color: var(--brass);
}
.footer-mark .est {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cream-mute); margin-top: 4px;
}
.footer-tag { font-size: 15px; color: var(--cream-soft); max-width: 38ch; line-height: 1.55; }
.footer-col h4 {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brass); margin-bottom: var(--sp-4);
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 15px; color: var(--cream-mute); transition: color 0.3s; }
.footer-col a:hover { color: var(--brass); }
.footer-col p { font-size: 14px; color: var(--cream-mute); line-height: 1.6; }
.footer-col .ph { color: var(--brass); font-size: 17px; font-family: var(--font-mono); }
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: var(--sp-5);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-4);
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream-mute);
}
.footer-bottom a { color: var(--brass); }

/* ── 19 · Reveals (content always visible if JS fails) ── */
.reveal { opacity: 1; transform: translateY(0); }
.reveal--hidden { opacity: 0; transform: translateY(28px); }
.reveal { transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal--hidden { opacity: 1 !important; transform: none !important; transition: none !important; }
  .marquee-track, .hero-seal, .hero-scroll .line { animation: none !important; }
}

/* ── 20 · Utilities ── */
.muted  { color: var(--cream-mute); }
.gold   { color: var(--brass); }
.clay   { color: var(--crimson); }
.italic { font-style: italic; }
.center { text-align: center; }
.mt-3 { margin-top: var(--sp-3); }
.mt-4 { margin-top: var(--sp-4); }
.mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); }
.mt-7 { margin-top: var(--sp-7); }

/* ── 21 · The House (storefront) ── */
.house { background: var(--ink); padding: var(--sp-10) 0; }
.house-grid {
  display: grid; grid-template-columns: 7fr 5fr;
  gap: var(--sp-9); align-items: center;
}
.house-grid > * { min-width: 0; }
@media (max-width: 900px) {
  .house-grid { grid-template-columns: 1fr; gap: var(--sp-7); }
}
.house-photo {
  position: relative;
  border-radius: 240px 240px 12px 12px;
  overflow: hidden; border: 1px solid var(--brass-line);
  box-shadow: 0 30px 70px rgba(0,0,0,0.5);
  aspect-ratio: 5 / 6; background: var(--ink-2);
}
.house-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.house-photo::after {
  content: "";
  position: absolute; inset: 0;
  box-shadow: inset 0 0 0 6px rgba(229,146,28,0.18), inset 0 -120px 120px -60px rgba(27,20,16,0.6);
  border-radius: inherit; pointer-events: none;
}
/* Gradient fallback when no photo */
.house-photo.no-img {
  background:
    radial-gradient(circle at 50% 30%, rgba(229,146,28,0.15) 0%, transparent 60%),
    linear-gradient(180deg, var(--ink-2) 0%, var(--ink-3) 100%);
  display: flex; align-items: center; justify-content: center;
}
.house-photo-cap {
  position: absolute; left: 50%; bottom: 18px;
  transform: translateX(-50%); z-index: 2;
  background: rgba(27,20,16,0.82); backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid var(--brass-line); color: var(--brass);
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px; white-space: nowrap;
}
.house-body .eyebrow { margin-bottom: var(--sp-5); }
.house-body h2 { margin-bottom: var(--sp-5); }
.house-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4); margin-top: var(--sp-7);
  border-top: 1px solid var(--line); padding-top: var(--sp-6);
}
@media (max-width: 480px) { .house-stats { grid-template-columns: 1fr 1fr; } }
.house-stat .n {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(34px, 2.4vw + 20px, 52px); font-weight: 400;
  color: var(--brass); line-height: 1;
}
.house-stat .l {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cream-mute); margin-top: 8px; display: block;
}

/* ── 22 · Atmosphere gallery ── */
.atmos {
  background: var(--ink-soft); padding: var(--sp-10) 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.atmos-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: var(--sp-5); margin-bottom: var(--sp-8); flex-wrap: wrap;
}
.atmos-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px; gap: var(--sp-4);
}
@media (max-width: 900px) { .atmos-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; } }
@media (max-width: 520px) { .atmos-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; } }
.atmos-cell {
  position: relative; overflow: hidden;
  border-radius: var(--radius-m); border: 1px solid var(--line);
  background: var(--ink-2);
}
.atmos-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.atmos-cell:hover img { transform: scale(1.05); }
.atmos-cell.tall { grid-row: span 2; }
.atmos-cell.wide { grid-column: span 2; }
@media (max-width: 520px) { .atmos-cell.tall, .atmos-cell.wide { grid-row: auto; grid-column: auto; } }
.atmos-cell .cap {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(27,20,16,0.75); backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--cream); font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
}
/* Gradient placeholders for atmos cells */
.atmos-cell:nth-child(1) { background: radial-gradient(circle at 40% 50%, #3A2810 0%, #1B1410 100%); }
.atmos-cell:nth-child(2) { background: radial-gradient(circle at 60% 40%, #2A1E0C 0%, #1B1410 100%); }
.atmos-cell:nth-child(3) { background: radial-gradient(circle at 50% 60%, #341E10 0%, #1B1410 100%); }
.atmos-cell:nth-child(4) { background: radial-gradient(circle at 40% 40%, #281E12 0%, #1B1410 100%); }
.atmos-cell:nth-child(5) { background: radial-gradient(circle at 55% 45%, #3A2614 0%, #1B1410 100%); }
.atmos-note {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cream-mute); margin-top: var(--sp-5); text-align: center;
}

/* ── 23 · Rule ornament ── */
.rule { display: flex; align-items: center; gap: 18px; margin: var(--sp-7) 0; }
.rule::before, .rule::after { content: ""; flex: 1; height: 1px; background: var(--brass-line); }
.rule .orn { font-family: var(--font-display); font-style: italic; color: var(--brass); font-size: 18px; }

/* ── Pages sub-CSS ── */
.page-hero {
  padding: 140px 0 var(--sp-9);
  background: var(--ink);
  border-bottom: 1px solid var(--line);
}
.page-hero .eyebrow { margin-bottom: var(--sp-5); }
.page-hero h1 { margin-bottom: var(--sp-4); }
.page-hero p { margin-top: var(--sp-4); font-size: 17px; color: var(--cream-soft); max-width: 55ch; line-height: 1.6; }

/* Menu page */
.menu-cat { padding: var(--sp-9) 0; }
.menu-cat + .menu-cat { border-top: 1px solid var(--line); }
.menu-cat-head { margin-bottom: var(--sp-7); }
.menu-cat-head .eyebrow { margin-bottom: var(--sp-3); }
.menu-items { display: flex; flex-direction: column; gap: 0; }
.menu-item {
  display: grid; grid-template-columns: 1fr auto;
  gap: var(--sp-5); padding: 20px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.menu-item:last-child { border-bottom: 0; }
.menu-item-name {
  font-family: var(--font-display); font-size: clamp(20px, 1vw + 16px, 26px);
  color: var(--cream); line-height: 1.1;
}
.menu-item-name em { font-style: italic; color: var(--brass); }
.menu-item-mal {
  font-family: var(--font-mal); font-size: 12px;
  color: var(--brass); display: block; margin-top: 3px;
}
.menu-item-desc { font-size: 14px; color: var(--cream-mute); margin-top: 6px; max-width: 55ch; }
.menu-item-price {
  font-family: var(--font-mono); font-size: 15px;
  color: var(--brass); letter-spacing: 0.06em; white-space: nowrap;
}
.menu-item-tag {
  display: inline-block;
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.16em; text-transform: uppercase;
  background: var(--brass-soft); color: var(--brass);
  padding: 3px 8px; border-radius: 999px; margin-left: 10px;
  vertical-align: middle;
}
