/*
  ============================================================
  SAGAR RESTAURANT · Mavoor Road, Kozhikode · est. 1978
  Site by Shijil Kumar · digitalshijil.com
  ============================================================

  DESIGN DIRECTION: "Mavoor Road Almanac"
  The whole site reads like a printed editorial publication —
  a paperback almanac / cookbook / dossier about ONE beloved
  Calicut restaurant. Each page is a different spread.

  PALETTE — derived from Sagar's REAL Mavoor Road facade:
  the deep oxblood-maroon signboard, gold lettering, terracotta
  Kerala roof tiles, and the green+orange tile accents.
  Deep coal ink #100F0C is the page. Signboard maroon #5E2019
  + dum-pot gold #C9A45C carry the brand. Tandoori clay #B23B23
  is the spice accent. Terracotta #B0572C echoes the roof tiles.
  Cream paper #F2EBD8 for "paper" sections. Tile-green #5E7444
  is the heritage accent (matches the roof tiles). Steel frames
  the thali plates.

  TYPOGRAPHY
  Display      Fraunces variable (SOFT 100, opsz 144)
  Body         Inter Tight + IBM Plex Serif (paper sections)
  Mono         JetBrains Mono (receipts, codes, prices)
  Malayalam    Noto Sans Malayalam (bilingual moments)
  Hand         Caveat (kitchen notes / postcards)
  ============================================================
*/

/* ────────────────────────────────────────────────────────
   0 · Fonts & reset
   ──────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght,SOFT@0,9..144,300..800,30..100;1,9..144,300..800,30..100&family=Inter+Tight:wght@300;400;500;600;700&family=IBM+Plex+Serif:ital,wght@0,300;0,400;0,500;1,300;1,400&family=JetBrains+Mono:wght@400;500&family=Noto+Sans+Malayalam:wght@400;500;700&family=Caveat:wght@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 scale */
  --ink:          #100F0C;
  --ink-soft:     #1A1814;
  --ink-2:        #221E18;
  --ink-3:        #2D2820;

  /* Cream / paper */
  --cream:        #F2EBD8;
  --cream-2:      #E8DFC5;
  --cream-mute:   #BFB7A2;
  --cream-soft:   rgba(242, 235, 216, 0.72);
  --paper-ink:    #2B2620;

  /* Brass (dum-pot, brass plate edges) */
  --brass:        #C9A45C;
  --brass-bright: #E5C078;
  --brass-deep:   #8E6F36;
  --brass-line:   rgba(201, 164, 92, 0.32);
  --brass-soft:   rgba(201, 164, 92, 0.14);

  /* Signboard maroon — the real Sagar sign colour */
  --maroon:       #5E2019;
  --maroon-deep:  #431510;
  --maroon-soft:  rgba(94, 32, 25, 0.16);

  /* Tandoori clay / spice accent */
  --crimson:      #B23B23;
  --crimson-deep: #7A2A20;
  --crimson-soft: rgba(178, 59, 35, 0.16);

  /* Terracotta — the roof tiles */
  --terracotta:   #B0572C;
  --terracotta-soft: rgba(176, 87, 44, 0.16);

  /* Tile-green — the green roof-tile accent / heritage marker */
  --leaf:         #5E7444;
  --leaf-deep:    #3C4D2A;

  /* Steel — plate frames */
  --steel:        #C5C0B5;
  --steel-dim:    #8B8780;

  /* Dividers */
  --line:         rgba(242, 235, 216, 0.13);
  --line-strong:  rgba(242, 235, 216, 0.28);
  --line-paper:   rgba(43, 38, 32, 0.18);

  /* Type stacks */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Inter Tight', system-ui, sans-serif;
  --font-serif:   'IBM Plex Serif', Georgia, serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;
  --font-mal:     'Noto Sans Malayalam', 'Inter Tight', sans-serif;
  --font-hand:    'Caveat', 'Brush Script MT', cursive;

  /* Fluid type */
  --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);

  /* Spacing (4px grid) */
  --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; --sp-11: 160px; --sp-12: 200px;

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

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

/* ────────────────────────────────────────────────────────
   2 · Typography utilities
   ──────────────────────────────────────────────────────── */
.font-display { font-family: var(--font-display); font-weight: 400; }
.font-mono    { font-family: var(--font-mono); font-weight: 400; }
.font-mal     { font-family: var(--font-mal); font-weight: 500; }
.font-hand    { font-family: var(--font-hand); font-weight: 500; }
.font-serif   { font-family: var(--font-serif); font-weight: 400; }

.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;
  font-style: normal;
  line-height: 0.96;
  letter-spacing: -0.022em;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  color: var(--cream);
}
.display em {
  font-style: italic;
  color: var(--brass);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

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);
}

/* Hand-drawn squiggle underline (used to underline key words) */
.squiggle {
  position: relative;
  display: inline-block;
}
.squiggle::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -10px;
  height: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 8' preserveAspectRatio='none'%3E%3Cpath d='M0 5 Q 12 1 25 4 T 50 4 T 75 4 T 100 4' stroke='%23C9A45C' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}

/* ────────────────────────────────────────────────────────
   3 · Layout primitives
   ──────────────────────────────────────────────────────── */
.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%; }

/* Parotta-layer divider — flaky horizontal bands */
.divider-parotta {
  height: 28px;
  background:
    linear-gradient(180deg,
      transparent 0%, transparent 4px,
      var(--brass-deep) 4px, var(--brass-deep) 5px,
      transparent 5px, transparent 9px,
      var(--brass) 9px, var(--brass) 10px,
      transparent 10px, transparent 14px,
      var(--brass-deep) 14px, var(--brass-deep) 15px,
      transparent 15px, transparent 19px,
      var(--brass) 19px, var(--brass) 20px,
      transparent 20px, transparent 24px,
      var(--brass-deep) 24px, var(--brass-deep) 25px,
      transparent 25px);
  opacity: 0.55;
  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 var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
  position: relative;
}
.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 · Custom Sagar monogram (SVG seal)
   ──────────────────────────────────────────────────────── */
.seal {
  width: 100%;
  height: 100%;
  color: var(--brass);
}
.seal-text { font-family: var(--font-mono); letter-spacing: 0.18em; }

/* ────────────────────────────────────────────────────────
   6 · 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 var(--ease-out), border-color 0.4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(16, 15, 12, 0.88);
  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: 42px; height: 42px;
  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: 24px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--cream);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.nav-logo .mal-mark {
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--brass);
}
.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;
}
.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;
}
.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-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);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.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, .mobile-nav-foot .hours {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--cream-mute);
  text-transform: uppercase;
}
.mobile-nav-foot .ph { color: var(--brass); font-size: 16px; }

/* ────────────────────────────────────────────────────────
   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);
}
.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(16,15,12,0.96) 0%, rgba(16,15,12,0.5) 50%, rgba(16,15,12,0.7) 100%),
    linear-gradient(180deg, rgba(16,15,12,0.65) 0%, rgba(16,15,12,0.18) 35%, rgba(16,15,12,0.88) 100%);
}
.hero-vignette {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(100% 100% at 50% 50%, transparent 50%, rgba(0,0,0,0.4) 100%);
  pointer-events: none;
}

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

/* Issue / volume / date label across the top of the page */
.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: 300;
  line-height: 0.92;
  letter-spacing: -0.028em;
  color: var(--cream);
  font-variation-settings: "opsz" 144, "SOFT" 70;
}
.hero-headline .em { font-style: italic; color: var(--brass); font-weight: 300; }
.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);
}

/* Custom seal-style hero badge (replaces circular Since 1978 badge) */
.hero-seal {
  position: absolute;
  top: 120px; right: var(--gutter);
  z-index: 3;
  width: 156px; height: 156px;
  color: var(--brass);
  animation: badgeRotate 60s linear infinite;
}
.hero-seal-static {
  position: absolute;
  top: 156px; right: calc(var(--gutter) + 14px);
  z-index: 4;
  width: 128px; height: 128px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--brass);
  pointer-events: none;
}
.hero-seal-static .year {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 44px;
  font-weight: 400;
  line-height: 1;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.hero-seal-static .since {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: 4px;
  color: var(--brass-bright);
}
.hero-seal-static .underline {
  width: 28px; height: 1px;
  background: var(--brass);
  margin: 6px 0;
}
@keyframes badgeRotate {
  to { transform: rotate(360deg); }
}

@media (max-width: 720px) {
  .hero-seal { top: 96px; right: 18px; width: 108px; height: 108px; }
  .hero-seal-static { top: 122px; right: 32px; width: 88px; height: 88px; }
  .hero-seal-static .year { font-size: 30px; }
  .hero-seal-static .since { font-size: 8px; }
  .hero-runner { top: 76px; font-size: 9px; letter-spacing: 0.15em; }
}

.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; }
}

/* Floating price tag in hero */
.hero-pricetag {
  position: absolute;
  z-index: 3;
  background: var(--crimson);
  color: var(--cream);
  padding: 14px 22px 14px 30px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: rotate(-3deg);
  bottom: 32%;
  left: var(--gutter);
  clip-path: polygon(0 50%, 12px 0, 100% 0, 100% 100%, 12px 100%);
}
.hero-pricetag .big {
  font-family: var(--font-display);
  font-size: 24px;
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
  color: var(--brass-bright);
  display: block;
  margin-top: 2px;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.hero-pricetag::before {
  content: "";
  position: absolute;
  left: 6px; top: 50%;
  width: 4px; height: 4px;
  background: var(--crimson-deep);
  border-radius: 50%;
  transform: translateY(-50%);
}
@media (max-width: 720px) {
  .hero-pricetag { display: none; }
}

/* ────────────────────────────────────────────────────────
   8 · Marquee strip
   ──────────────────────────────────────────────────────── */
.marquee {
  background: var(--brass);
  color: var(--ink);
  padding: 22px 0;
  overflow: hidden;
  position: relative;
  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;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  display: inline-flex;
  align-items: center;
  gap: 60px;
}
.marquee-track span::after {
  content: "❋";
  font-size: 14px;
  color: rgba(16, 15, 12, 0.45);
  font-style: normal;
}
@keyframes marqueeSlide {
  to { transform: translateX(-50%); }
}

/* ────────────────────────────────────────────────────────
   9 · Plate intro block (used between hero & dishes)
   ──────────────────────────────────────────────────────── */
.plate-intro {
  background: var(--ink);
  padding: var(--sp-10) 0 var(--sp-8);
  position: relative;
}
.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 · Steel-thali signature dishes
   ──────────────────────────────────────────────────────── */
.thali-section {
  background: var(--ink);
  padding: var(--sp-10) 0;
  position: relative;
}
.thali-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: var(--sp-6); margin-bottom: var(--sp-9); flex-wrap: wrap;
}
.thali-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-10) var(--sp-9);
}
@media (max-width: 880px) {
  .thali-grid { grid-template-columns: 1fr; gap: var(--sp-9); }
}

.thali {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.thali-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);
}
.thali-plate:hover { transform: rotate(-4deg) scale(1.02); }
.thali-plate-inner {
  width: 100%; height: 100%;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  background: var(--ink);
}
.thali-plate-inner img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.thali-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;
}
.thali-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);
}

.thali-name {
  font-family: var(--font-display);
  font-size: clamp(28px, 1.5vw + 22px, 40px);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  color: var(--cream);
  line-height: 1.05;
  margin-bottom: 6px;
}
.thali-name em { font-style: italic; color: var(--brass); }
.thali-mal {
  font-family: var(--font-mal);
  font-size: 14px;
  color: var(--brass);
  margin-bottom: 14px;
}
.thali-desc {
  font-size: 15px;
  color: var(--cream-soft);
  line-height: 1.65;
  max-width: 38ch;
  margin: 0 auto;
}
.thali-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);
}
.thali-foot .price { color: var(--brass); }
.thali-foot .sep { width: 4px; height: 4px; background: var(--brass); border-radius: 50%; display: inline-block; }

/* ────────────────────────────────────────────────────────
   11 · Day clock (what's served when)
   ──────────────────────────────────────────────────────── */
.dayclock {
  background: var(--ink-soft);
  padding: var(--sp-10) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.dayclock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-9);
  align-items: center;
}
.dayclock-grid > * { min-width: 0; }
@media (max-width: 880px) {
  .dayclock-grid { grid-template-columns: 1fr; gap: var(--sp-7); }
}

.dayclock-svg-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dayclock-svg {
  width: 100%;
  max-width: 460px;
  height: auto;
  color: var(--brass);
}
.dayclock-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--brass-line);
}
.dayclock-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--sp-4);
  padding: 18px 0;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
}
.dayclock-row .time {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--brass);
  letter-spacing: 0.06em;
  white-space: nowrap;
  min-width: 96px;
}
.dayclock-row .dish {
  font-family: var(--font-display);
  font-size: clamp(20px, 1vw + 18px, 28px);
  font-weight: 400;
  color: var(--cream);
  font-variation-settings: "opsz" 144, "SOFT" 100;
  line-height: 1.15;
}
.dayclock-row .dish em { font-style: italic; color: var(--brass); }
.dayclock-row .note {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--cream-mute);
  text-transform: uppercase;
}

/* ────────────────────────────────────────────────────────
   12 · The story / ledger timeline
   ──────────────────────────────────────────────────────── */
.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-style timeline cards */
.ledger {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}
.ledger-row {
  display: grid;
  grid-template-columns: 120px 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 {
  /* Small "ENTRY 01" stamp on the right */
  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-year {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(40px, 2.5vw + 22px, 64px);
  line-height: 0.95;
  color: var(--brass);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.ledger-body h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 1vw + 16px, 26px);
  color: var(--cream);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  margin-bottom: 6px;
}
.ledger-body p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--cream-soft);
  max-width: 60ch;
}

/* ────────────────────────────────────────────────────────
   13 · Mavoor Road hand-drawn map
   ──────────────────────────────────────────────────────── */
.map-section {
  background: var(--cream);
  color: var(--paper-ink);
  padding: var(--sp-10) 0;
  position: relative;
}
.map-section::before,
.map-section::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;
}
.map-section::before { top: 0; transform: scaleY(-1); }
.map-section::after { bottom: 0; }

.map-grid {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: var(--sp-8);
  align-items: center;
}
.map-grid > * { min-width: 0; }
@media (max-width: 880px) {
  .map-grid { grid-template-columns: 1fr; gap: var(--sp-6); }
}

.map-section .eyebrow { color: var(--leaf-deep); }
.map-section .eyebrow::before { background: var(--leaf-deep); }
.map-section h2 {
  font-family: var(--font-display);
  font-size: clamp(38px, 3vw + 24px, 72px);
  font-weight: 300;
  line-height: 0.95;
  color: var(--paper-ink);
  font-variation-settings: "opsz" 144, "SOFT" 90;
  margin-top: var(--sp-4);
}
.map-section h2 em { font-style: italic; color: var(--crimson); }
.map-section p {
  margin-top: var(--sp-5);
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.65;
  color: rgba(43, 38, 32, 0.78);
  max-width: 38ch;
}

.map-svg-wrap {
  position: relative;
  background: var(--cream-2);
  border: 1px solid rgba(43, 38, 32, 0.18);
  padding: var(--sp-6);
  border-radius: 4px;
  box-shadow: 0 2px 0 rgba(43,38,32,0.05);
}
.map-svg-wrap::before {
  /* Tape label top-left */
  content: "Mavoor Rd · Arayidathupalam · sketch No. 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);
}
.map-svg {
  width: 100%;
  height: auto;
  color: var(--paper-ink);
}
.map-legend {
  margin-top: var(--sp-4);
  display: flex; flex-wrap: wrap;
  gap: var(--sp-4) var(--sp-5);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(43,38,32,0.7);
}
.map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.map-legend .pin {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.map-legend .pin.flagship { background: var(--crimson); }
.map-legend .pin.sister   { background: var(--brass-deep); }
.map-legend .pin.landmark { background: var(--leaf); }

/* ────────────────────────────────────────────────────────
   14 · House Notes (kitchen handwritten cards)
   ──────────────────────────────────────────────────────── */
.house-notes {
  background: var(--ink);
  padding: var(--sp-10) 0;
}
.house-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; gap: var(--sp-5); }
}
.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: 280px;
}
.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 {
  /* Top-left tape */
  content: "";
  position: absolute;
  top: -10px; left: 22px;
  width: 60px; height: 18px;
  background: rgba(201, 164, 92, 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-family: var(--font-hand);
  font-size: 24px;
  line-height: 1.35;
  color: var(--paper-ink);
  flex: 1;
}
.note-card .from {
  margin-top: var(--sp-4);
  padding-top: var(--sp-3);
  border-top: 1px dashed rgba(43,38,32,0.3);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(43,38,32,0.7);
  display: flex; justify-content: space-between;
}

/* ────────────────────────────────────────────────────────
   15 · Two branches (postcard treatment)
   ──────────────────────────────────────────────────────── */
.branches {
  background: var(--ink-soft);
  padding: var(--sp-10) 0;
  position: relative;
}
.branches-head {
  text-align: center;
  margin-bottom: var(--sp-8);
}
.branches-head .eyebrow { justify-content: center; display: inline-flex; }
.branches-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-7);
}
@media (max-width: 880px) {
  .branches-grid { grid-template-columns: 1fr; gap: var(--sp-7); }
}

/* Postcard */
.postcard {
  background: var(--cream);
  color: var(--paper-ink);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0,0,0,0.45);
  position: relative;
  transition: transform 0.5s var(--ease-out);
  display: grid;
  grid-template-rows: auto 1fr;
}
.postcard:nth-child(1) { transform: rotate(-0.6deg); }
.postcard:nth-child(2) { transform: rotate(0.6deg); }
.postcard:hover { transform: rotate(0) translateY(-4px); }
.postcard-img {
  aspect-ratio: 5 / 3;
  overflow: hidden;
  position: relative;
}
.postcard-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease-out);
  filter: sepia(0.1) saturate(1.05) contrast(1.02);
}
.postcard:hover .postcard-img img { transform: scale(1.05); }
.postcard-stamp {
  position: absolute;
  top: 14px; right: 14px;
  width: 64px; height: 80px;
  background: var(--cream-2);
  border: 1px dashed rgba(43,38,32,0.55);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(43,38,32,0.8);
  padding: 6px 4px;
  z-index: 2;
}
.postcard-stamp .big {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: var(--crimson);
  font-variation-settings: "opsz" 144, "SOFT" 100;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1;
}

.postcard-body {
  padding: var(--sp-6) var(--sp-6) var(--sp-7);
  display: flex; flex-direction: column;
  gap: var(--sp-3);
  position: relative;
}
.postcard-body::before {
  /* Ruled lines like a postcard back */
  content: "";
  position: absolute;
  left: var(--sp-6); right: 50%;
  top: 50%; bottom: var(--sp-6);
  background-image: linear-gradient(to bottom, transparent calc(100% - 1px), rgba(43,38,32,0.08) 100%);
  background-size: 100% 22px;
  pointer-events: none;
  opacity: 0.5;
}
.postcard-head {
  display: flex; justify-content: space-between;
  align-items: baseline; gap: var(--sp-4);
  margin-bottom: 4px;
}
.postcard-head .branch-no {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--leaf-deep);
}
.postcard-name {
  font-family: var(--font-display);
  font-size: clamp(28px, 1.5vw + 22px, 40px);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  color: var(--paper-ink);
  line-height: 1.05;
}
.postcard-name em { font-style: italic; color: var(--crimson); }
.postcard-mal {
  font-family: var(--font-mal);
  font-size: 13px;
  color: var(--leaf-deep);
  margin-top: 4px;
}
.postcard-addr {
  font-family: var(--font-serif);
  font-size: 15.5px;
  line-height: 1.55;
  color: rgba(43,38,32,0.82);
  margin-top: var(--sp-3);
}
.postcard-rule {
  margin: var(--sp-4) 0 var(--sp-3);
  height: 1px;
  background: rgba(43,38,32,0.18);
}
.postcard-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}
.postcard-meta .row { display: flex; flex-direction: column; gap: 2px; }
.postcard-meta .lbl {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(43,38,32,0.55);
}
.postcard-meta .val {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--crimson);
  letter-spacing: 0.02em;
}
.postcard-actions {
  margin-top: var(--sp-4);
  display: flex; gap: var(--sp-3); flex-wrap: wrap;
}
.postcard-actions .btn-paper {
  background: var(--paper-ink);
  color: var(--cream);
}
.postcard-actions .btn-paper:hover { background: var(--crimson); color: var(--cream); }
.postcard-actions .btn-ghost {
  border: 1px solid rgba(43,38,32,0.4);
  color: var(--paper-ink);
}
.postcard-actions .btn-ghost:hover {
  border-color: var(--paper-ink);
  background: rgba(43,38,32,0.04);
  color: var(--paper-ink);
}

/* ────────────────────────────────────────────────────────
   16 · Press as newspaper clippings
   ──────────────────────────────────────────────────────── */
.press {
  background: var(--ink);
  padding: var(--sp-10) 0;
  text-align: center;
}
.press-head { margin-bottom: var(--sp-8); }
.clippings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
@media (max-width: 900px) {
  .clippings { grid-template-columns: 1fr; gap: var(--sp-5); }
}
.clipping {
  text-align: left;
  background: #EEE5C8;
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.04) 0%, transparent 6%),
    radial-gradient(80% 100% at 50% 0%, rgba(140,100,40,0.08) 0%, transparent 60%);
  color: var(--paper-ink);
  padding: var(--sp-6) var(--sp-5);
  position: relative;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.32));
  font-family: var(--font-serif);
}
.clipping:nth-child(1) { transform: rotate(-0.8deg); }
.clipping:nth-child(2) { transform: rotate(0.4deg); margin-top: 12px; }
.clipping:nth-child(3) { transform: rotate(-0.4deg); }
.clipping::before,
.clipping::after {
  /* Torn paper edges */
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 8px;
  background-image:
    linear-gradient(45deg, #EEE5C8 50%, transparent 50%),
    linear-gradient(-45deg, #EEE5C8 50%, transparent 50%);
  background-size: 12px 12px;
  background-repeat: repeat-x;
}
.clipping::before { top: -1px; transform: scaleY(-1); }
.clipping::after  { bottom: -1px; }

.clipping .masthead {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--paper-ink);
  font-variation-settings: "opsz" 144, "SOFT" 90;
  border-bottom: 1.5px solid var(--paper-ink);
  padding-bottom: 8px;
  margin-bottom: 12px;
  display: flex; justify-content: space-between; align-items: baseline;
}
.clipping .masthead .date {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(43,38,32,0.65);
}
.clipping .headline {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--paper-ink);
  margin-bottom: 8px;
  font-variation-settings: "opsz" 144, "SOFT" 80;
}
.clipping .headline em { font-style: italic; color: var(--crimson); }
.clipping .byline {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(43,38,32,0.7);
  margin-bottom: var(--sp-3);
}
.clipping .body {
  font-family: var(--font-serif);
  font-size: 14.5px;
  line-height: 1.55;
  column-count: 1;
  color: rgba(43,38,32,0.88);
}
.clipping .body::first-letter {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 400;
  float: left;
  line-height: 0.85;
  margin: 4px 8px 0 0;
  color: var(--crimson);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.clipping .stars {
  margin-top: var(--sp-3);
  color: var(--crimson);
  font-size: 14px;
  letter-spacing: 2px;
}

/* ────────────────────────────────────────────────────────
   17 · Visit CTA — receipt strip
   ──────────────────────────────────────────────────────── */
.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: 300;
  line-height: 0.95;
  letter-spacing: -0.022em;
  color: var(--cream);
  font-variation-settings: "opsz" 144, "SOFT" 75;
}
.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(242, 236, 216, 0.86);
}

/* Receipt-styled meta card */
.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 {
  /* Top + bottom zig-zag like a torn receipt */
  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;
  letter-spacing: -0.01em;
  color: var(--paper-ink);
  text-align: center;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  margin-bottom: 6px;
}
.receipt .sub {
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(43,38,32,0.65);
  padding-bottom: var(--sp-4);
  border-bottom: 1px dashed rgba(43,38,32,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(43,38,32,0.2);
  color: var(--paper-ink);
}
.receipt .row:last-of-type { border-bottom: 0; }
.receipt .row .lbl { color: rgba(43,38,32,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;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.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);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

/* ────────────────────────────────────────────────────────
   18 · Footer
   ──────────────────────────────────────────────────────── */
.footer {
  background: var(--ink);
  padding: var(--sp-9) 0 var(--sp-6);
  border-top: 1px solid var(--line);
  position: relative;
}
.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: 56px; height: 56px; 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: 32px;
  color: var(--cream);
  font-variation-settings: "opsz" 144, "SOFT" 100;
  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 · Reveal pattern (safe — content visible even 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 · Misc utilities
   ──────────────────────────────────────────────────────── */
.muted { color: var(--cream-mute); }
.gold  { color: var(--brass); }
.clay  { color: var(--crimson); }
.leaf  { color: var(--leaf); }
.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 — real storefront in an arched frame
   ──────────────────────────────────────────────────────── */
.house {
  background: var(--ink);
  padding: var(--sp-10) 0;
  position: relative;
}
.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); }
}

/* Arched photo frame echoing the building's gable/arches */
.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(201,164,92,0.18), inset 0 -120px 120px -60px rgba(16,15,12,0.6);
  border-radius: inherit;
  pointer-events: none;
}
.house-photo-cap {
  position: absolute;
  left: 50%; bottom: 18px;
  transform: translateX(-50%);
  z-index: 2;
  background: rgba(16,15,12,0.78);
  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; gap: var(--sp-5); } }
.house-stat .n {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(34px, 2.4vw + 20px, 52px);
  font-weight: 300;
  color: var(--brass);
  line-height: 1;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.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 — real interior/rooftop/table photos
   ──────────────────────────────────────────────────────── */
.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);
}
.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(16,15,12,0.72);
  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;
}
.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 · Framed real menu photo (menu page)
   ──────────────────────────────────────────────────────── */
.realmenu {
  background: var(--ink);
  padding: var(--sp-9) 0 0;
}
.realmenu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: center;
}
.realmenu-grid > * { min-width: 0; }
@media (max-width: 880px) { .realmenu-grid { grid-template-columns: 1fr; gap: var(--sp-6); } }
.realmenu-photo {
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--brass-line);
  box-shadow: 0 24px 50px rgba(0,0,0,0.45);
  transform: rotate(-1deg);
}
.realmenu-photo img { width: 100%; height: auto; display: block; }

/* The "rule" — a horizontal divider with optional centered 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;
}
