/* ==========================================================================
   Koteshwaram: The Temple of Divine Food
   One serif family (Libre Caslon), one label face (Josefin Sans), Kannada in Noto Serif.
   ========================================================================== */

:root {
  --ink: #2a1a10;
  --ink-soft: #5c4636;
  --brown: #4b2b16;
  --brown-deep: #3a2010;
  --terra: #b5481a;
  --terra-bright: #cb5113;
  --cream: #f1e9d8;
  --paper: #f8f3e8;
  --line: rgba(42, 26, 16, 0.22);
  --line-light: rgba(248, 243, 232, 0.24);

  --display: "Libre Caslon Display", "Big Caslon", "Iowan Old Style", Georgia, serif;
  --serif: "Libre Caslon Text", "Iowan Old Style", Georgia, serif;
  --label: "Josefin Sans", "Gill Sans", "Futura", sans-serif;
  --kn: "Noto Serif Kannada", serif;

  --gutter: clamp(20px, 4vw, 60px);
  --section: clamp(80px, 11vw, 168px);
  --header-h: 84px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--serif); font-size: 1.0625rem; line-height: 1.7;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--terra); color: var(--paper); }
:focus-visible { outline: 1.5px solid var(--terra); outline-offset: 4px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: var(--paper); padding: 10px 16px; font-family: var(--label); }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
.display, .h1, .h2 { font-family: var(--display); font-weight: 400; letter-spacing: -0.005em; }
.display { font-size: clamp(3rem, 7.2vw, 7.6rem); line-height: 1; }
.h1 { font-size: clamp(2.6rem, 5.2vw, 5.4rem); line-height: 1.04; }
.h2 { font-size: clamp(2.1rem, 3.7vw, 3.8rem); line-height: 1.08; }
.h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.35rem, 1.9vw, 1.75rem); line-height: 1.25; }
.display em, .h1 em, .h2 em, .h3 em { font-style: normal; }
.lead { font-family: var(--display); font-size: clamp(1.7rem, 3.2vw, 3rem); line-height: 1.25; letter-spacing: 0.01em; }
.label {
  display: inline-block; font-family: var(--label); font-weight: 600; font-size: 0.78rem;
  letter-spacing: 0.2em; text-transform: uppercase; line-height: 1; padding-top: 0.2em;
}
.label--rule::before { content: ""; display: block; width: 92px; height: 4px; margin-bottom: 14px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.center .label--rule::before { margin-inline: auto; }
.kn { font-family: var(--kn); font-weight: 600; }
.muted { color: var(--ink-soft); }
.prose p + p { margin-top: 1em; }
.caption { font-size: 0.875rem; line-height: 1.5; color: var(--ink-soft); }
.center { text-align: center; }

/* Logo ornament (line · diamond · line) used as the section divider */
.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; width: min(260px, 60%); margin-inline: auto; color: var(--brown); }
.ornament::before, .ornament::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: 0.55; }
.ornament i { width: 8px; height: 8px; background: currentColor; transform: rotate(45deg); flex: none; }

/* ---------- Layout ---------- */
.wrap { padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.bg-paper { background: var(--paper); }
.bg-cream { background: var(--cream); }
.bg-brown { background: var(--brown); color: var(--paper); }
.bg-brown .muted, .bg-brown .caption { color: rgba(248, 243, 232, 0.75); }
.bg-brown .ornament { color: var(--paper); }
.section-head { max-width: 920px; margin: 0 auto clamp(44px, 6vw, 84px); text-align: center; }
.section-head .label { color: var(--terra); }
.section-head .h2 { margin-top: 18px; }
.section-head p { margin: 22px auto 0; max-width: 46ch; color: var(--ink-soft); }
.bg-brown .section-head .label { color: #e7b56b; }
.bg-brown .section-head p { color: rgba(248, 243, 232, 0.78); }

/* Framed photos: a thin rule around the image, like a printed plate */
.frame { border: 1px solid var(--ink); padding: 6px; }
.bg-brown .frame { border-color: rgba(248, 243, 232, 0.7); }
.frame__img { overflow: hidden; position: relative; }
.frame__img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 46px; padding: 3px 26px 0; border-radius: 999px; border: 1.5px solid currentColor;
  font-family: var(--label); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.02em; line-height: 1;
  white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--solid { background: var(--brown); border-color: var(--brown); color: var(--paper); }
.btn--solid:hover { background: var(--terra); border-color: var(--terra); }
.btn--light { color: var(--paper); }
.btn--light:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.text-link { font-family: var(--label); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.2em; text-transform: uppercase; padding: 4px 0 2px; border-bottom: 1px solid currentColor; transition: color .3s; }
.text-link:hover { color: var(--terra); }

/* ==========================================================================
   Header: nav left · wordmark centre · Book a Table right
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding-inline: var(--gutter); color: var(--paper);
  transition: background-color .45s var(--ease), color .45s var(--ease), transform .55s var(--ease), box-shadow .45s;
}
.site-header.is-solid { background: var(--paper); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.site-header.on-cream { color: var(--ink); }
.site-header.is-hidden { transform: translateY(-100%); }

.nav { display: flex; gap: clamp(20px, 2.4vw, 38px); }
.nav a { font-family: var(--label); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.2em; text-transform: uppercase; padding: 8px 0 5px; border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: currentColor; }

.brand { justify-self: center; display: block; }
.brand img { height: 22px; width: auto; }
.brand .on-light { display: none; }
.site-header.is-solid .brand .on-dark, .site-header.on-cream .brand .on-dark { display: none; }
.site-header.is-solid .brand .on-light, .site-header.on-cream .brand .on-light { display: block; }

.header-actions { justify-self: end; display: flex; align-items: center; gap: 12px; }
.header-actions .btn { height: 40px; padding: 3px 20px 0; font-size: 0.9rem; }

/* Book a Table: just the three app logos */
.book { position: relative; }
.book__panel {
  position: absolute; right: 0; top: calc(100% + 10px);
  padding: 10px; background: var(--paper); border-radius: 18px;
  box-shadow: 0 18px 50px -18px rgba(42, 26, 16, .45), 0 0 0 1px var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .3s var(--ease), transform .45s var(--ease), visibility 0s .3s;
}
.book.is-open .book__panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.apps { display: flex; gap: 10px; }
.app { display: block; flex: none; width: 58px; height: 58px; border-radius: 14px; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.app:hover { transform: translateY(-3px); box-shadow: 0 10px 22px -10px rgba(42, 26, 16, .6); }
.app img { width: 100%; height: 100%; object-fit: cover; }
.app--zomato { background: #e23744; display: grid; place-items: center; }
.app--zomato svg { width: 86%; height: auto; fill: #fff; }
.app--swiggy { background: #fc8019; display: grid; place-items: center; }
.app--swiggy svg { width: 50%; height: auto; fill: #fff; }

.menu-toggle { display: none; width: 44px; height: 44px; position: relative; justify-self: start; }
.menu-toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.menu-toggle span:nth-child(1) { top: 17px; }
.menu-toggle span:nth-child(2) { top: 26px; }
.menu-open .menu-toggle span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--brown); color: var(--paper);
  display: flex; flex-direction: column; justify-content: space-between; text-align: center;
  padding: calc(var(--header-h) + 30px) var(--gutter) calc(30px + env(safe-area-inset-bottom));
  clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .8s var(--ease-io), visibility 0s .8s;
}
.menu-open .mobile-menu { clip-path: inset(0); visibility: visible; transition-delay: 0s; }
.menu-open .site-header { color: var(--paper); background: transparent; box-shadow: none; }
.menu-open .site-header .brand .on-dark { display: block; }
.menu-open .site-header .brand .on-light { display: none; }
.mobile-menu__links li + li { margin-top: 6px; }
.mobile-menu__links a { display: inline-block; overflow: hidden; font-family: var(--display); font-size: clamp(2.3rem, 10vw, 3.6rem); line-height: 1.2; }
.mobile-menu__links a span { display: inline-block; transform: translateY(105%); transition: transform .8s var(--ease); }
.menu-open .mobile-menu__links a span { transform: none; }
.menu-open .mobile-menu__links li:nth-child(2) span { transition-delay: .05s; }
.menu-open .mobile-menu__links li:nth-child(3) span { transition-delay: .1s; }
.menu-open .mobile-menu__links li:nth-child(4) span { transition-delay: .15s; }
.menu-open .mobile-menu__links li:nth-child(5) span { transition-delay: .2s; }
.mobile-menu .apps { justify-content: center; }

/* Mobile bottom bar + app sheet */
.book-bar { display: none; }
.sheet { position: fixed; inset: 0; z-index: 120; visibility: hidden; transition: visibility 0s .5s; }
.sheet.is-open { visibility: visible; transition-delay: 0s; }
.sheet__scrim { position: absolute; inset: 0; background: rgba(42, 26, 16, .5); opacity: 0; transition: opacity .4s; }
.sheet.is-open .sheet__scrim { opacity: 1; }
.sheet__body { position: absolute; left: 0; right: 0; bottom: 0; background: var(--paper); padding: 14px 20px calc(26px + env(safe-area-inset-bottom)); border-radius: 18px 18px 0 0; transform: translateY(100%); transition: transform .55s var(--ease); }
.sheet.is-open .sheet__body { transform: none; }
.sheet__grip { width: 40px; height: 4px; border-radius: 2px; background: var(--line); margin: 0 auto 20px; }
.sheet .apps { justify-content: center; gap: 16px; }
.sheet .app { width: 68px; height: 68px; border-radius: 16px; }
@media (min-width: 781px) {
  .sheet__body { left: 50%; right: auto; top: 50%; bottom: auto; padding: 22px; border-radius: 22px; transform: translate(-50%, -46%); opacity: 0; transition: transform .5s var(--ease), opacity .35s; }
  .sheet.is-open .sheet__body { transform: translate(-50%, -50%); opacity: 1; }
  .sheet__grip { display: none; }
}

/* ==========================================================================
   Home hero: video closes into a cusped temple arch on scroll
   ========================================================================== */
.hero { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: var(--cream); color: var(--paper); margin-bottom: -1px; }
.hero__media { position: absolute; inset: 0; will-change: transform; }
.hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,11,5,.5) 0%, rgba(20,11,5,0) 28%, rgba(20,11,5,0) 50%, rgba(20,11,5,.7) 100%); }
.hero__copy { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(40px, 8vh, 84px); text-align: center; will-change: transform, opacity; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: block; }
.hero__links { margin-top: clamp(22px, 3.4vh, 36px); display: flex; justify-content: center; align-items: center; gap: 22px; }
.hero__links a { font-family: var(--label); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.22em; text-transform: uppercase; padding-top: 3px; }
.hero__links i { width: 1px; height: 18px; background: currentColor; opacity: .6; }
.hero__mask { position: absolute; inset: 0; pointer-events: none; will-change: transform; }
.hero__mask svg { width: 100%; height: 100%; overflow: visible; }
.hero__mask path { fill: var(--cream); }
.hero__after { position: absolute; inset: 0; pointer-events: none; color: var(--ink); }
.hero__side { position: absolute; top: 50%; translate: 0 -50%; width: min(28vw, 400px); }
.hero__side--l { left: var(--gutter); }
.hero__side--r { right: var(--gutter); text-align: right; }
.hero__side .label { color: var(--terra); margin-bottom: 18px; }
.hero__side .h2 { font-size: clamp(2rem, 3.2vw, 3.4rem); }
.js .hero__after > * { opacity: 0; }
.no-js .hero__after, .no-js .hero__mask { display: none; }

/* ==========================================================================
   Home sections
   ========================================================================== */
.statement { text-align: center; }
.statement .lead { max-width: 30ch; margin: 34px auto 0; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { padding: 28px 16px; text-align: center; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 3vw, 2.9rem); line-height: 1; }
.fact span { display: block; margin-top: 10px; font-family: var(--label); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); }

/* Three equal tiles with framed caption cards */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.tile { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; color: var(--ink); }
.tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover > img { transform: scale(1.04); }
.tile__card { position: absolute; left: 7%; right: 7%; bottom: 7%; background: var(--paper); padding: 6px; }
.tile__card span { display: block; border: 1px solid var(--ink); padding: 18px 14px 16px; text-align: center; }
.tile__card b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(1.4rem, 2vw, 1.9rem); letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.1; }
.tile__card em { display: block; margin-top: 6px; font-size: 0.95rem; color: var(--ink-soft); }

/* 50/50 split: image runs to the edge, text centred in the other half */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 92vh; }
.split__img { position: relative; overflow: hidden; }
.split__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(56px, 8vw, 130px) clamp(28px, 6vw, 110px); }
.split__body .label { color: var(--terra); align-self: flex-start; }
.split__body .h2 { margin: 18px 0 26px; }
.split__body .prose { max-width: 36ch; color: var(--ink-soft); }
.split__body .btn, .split__body .text-link { margin-top: 34px; align-self: flex-start; }
.split--flip .split__img { order: 2; }
.bg-brown .split__body .label { color: #e7b56b; }
.bg-brown .split__body .prose { color: rgba(248, 243, 232, .8); }

/* Equal photo grids */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.card .frame__img { aspect-ratio: 4 / 5; }
.card figcaption { margin-top: 16px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card figcaption .h3 { font-size: 1.3rem; }
.card figcaption .kn { color: var(--terra); font-size: 0.95rem; }
.bg-brown .card figcaption .kn { color: #e7b56b; }
.grid-cta { margin-top: clamp(44px, 5vw, 72px); text-align: center; }

/* Full-bleed band */
.band { position: relative; min-height: 100vh; display: grid; place-items: center; overflow: hidden; color: var(--paper); text-align: center; }
.band__img { position: absolute; inset: 0; }
.band__img img { width: 100%; height: 100%; object-fit: cover; }
.band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(20, 11, 5, .72), rgba(20, 11, 5, .5)); }
.band__copy { position: relative; z-index: 2; padding: var(--section) var(--gutter); max-width: 900px; }
.band__copy .label { color: #f0c27a; }
.band__copy .h1 { margin: 20px 0 22px; }
.band__copy p { max-width: 44ch; margin: 0 auto; color: rgba(248, 243, 232, .94); }
.band__copy, .page-hero__body { text-shadow: 0 1px 24px rgba(20, 11, 5, .35); }
.band__copy .btn { margin-top: 34px; }

/* Location cards: equal pair */
.locs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 1.6vw, 24px); }
.loc { display: block; }
.loc .frame__img { aspect-ratio: 16 / 11; }
.loc__body { padding-top: 22px; }
.loc__body .label { color: var(--terra); }
.loc__body .h2 { margin: 10px 0 10px; }
.loc__body p { color: var(--ink-soft); max-width: 42ch; }
.loc__body .btn { margin-top: 22px; }
.loc__plain { aspect-ratio: 16 / 11; background: var(--brown); display: grid; place-items: center; }
.loc__plain img { width: 34%; }
.soon { margin-top: clamp(36px, 4vw, 60px); padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.soon .h3 span { color: var(--terra); }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-hero { position: relative; height: 88vh; min-height: 560px; overflow: hidden; color: var(--paper); display: grid; place-items: end center; text-align: center; }
.page-hero__img { position: absolute; inset: 0; }
.page-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,11,5,.5) 0%, rgba(20,11,5,.1) 30%, rgba(20,11,5,.3) 52%, rgba(20,11,5,.82) 100%); }
.page-hero__body { position: relative; z-index: 1; padding: 0 var(--gutter) clamp(48px, 9vh, 100px); max-width: 1100px; }
.page-hero__body .label { color: #f0c27a; }
.page-hero__body .h1 { margin-top: 20px; }
.page-hero__body p { margin: 22px auto 0; max-width: 48ch; color: rgba(248, 243, 232, .9); }
.page-hero__body .btn { margin-top: 28px; }
.page-hero--short { height: 70vh; }

/* Menu */
.menu-note { background: var(--cream); color: var(--ink-soft); text-align: center; padding: 12px var(--gutter); font-size: 0.9rem; font-style: italic; border-bottom: 1px solid var(--line); }
.menu-tabs { position: sticky; top: var(--header-h); z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); transition: top .55s var(--ease); }
.header-hidden .menu-tabs { top: 0; }
.menu-tabs ul { display: flex; justify-content: center; gap: 4px; overflow-x: auto; padding: 12px var(--gutter); scrollbar-width: none; }
.menu-tabs ul::-webkit-scrollbar { display: none; }
.menu-tabs a { display: block; padding: 10px 16px 7px; border-radius: 999px; font-family: var(--label); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; transition: background-color .3s, color .3s; }
.menu-tabs a:hover { background: var(--cream); }
.menu-tabs a.is-active { background: var(--brown); color: var(--paper); }
.menu-sec { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(30px, 5vw, 90px); padding-block: clamp(64px, 8vw, 120px); border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 64px); }
.menu-sec__head { align-self: start; position: sticky; top: calc(var(--header-h) + 90px); }
.menu-sec__head .kn { display: block; color: var(--terra); font-size: 1.15rem; margin-bottom: 8px; }
.menu-sec__head p { margin-top: 16px; color: var(--ink-soft); max-width: 34ch; }
.menu-sec__head .frame { margin-top: 30px; }
.menu-sec__head .frame__img { aspect-ratio: 16 / 11; }
.menu-items { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 3vw, 56px); align-content: start; }
.dish { padding: 20px 0; border-bottom: 1px solid var(--line); }
.dish__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.dish h3 { font-family: var(--display); font-weight: 400; font-size: 1.45rem; line-height: 1.2; }
.dish .tag { flex: none; font-family: var(--label); font-weight: 600; font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--terra); }
.dish .kn { display: block; font-size: 0.9rem; color: var(--ink-soft); margin-top: 2px; }
.dish p { margin-top: 6px; font-size: 0.95rem; color: var(--ink-soft); line-height: 1.55; }

/* Story */
.quote { text-align: center; max-width: 30ch; margin-inline: auto; }
.quote blockquote { font-family: var(--display); font-size: clamp(1.8rem, 3.4vw, 3.2rem); line-height: 1.2; }
.quote figcaption { margin-top: 30px; }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.timeline li { padding: clamp(28px, 3vw, 44px) clamp(18px, 2vw, 34px); text-align: center; }
.timeline li + li { border-left: 1px solid var(--line-light); }
.timeline b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(2.4rem, 4vw, 3.8rem); line-height: 1; }
.timeline h3 { margin: 16px 0 10px; }
.timeline p { color: rgba(248, 243, 232, .78); max-width: 32ch; margin-inline: auto; }

/* Location page */
.loc-info { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(30px, 5vw, 90px); }
.loc-info__side { display: grid; gap: 30px; align-content: start; }
.info-block { border-top: 1px solid var(--line); padding-top: 18px; }
.info-block .label { color: var(--terra); margin-bottom: 12px; }
.info-block .tbc { color: var(--ink-soft); font-style: italic; }
.info-block .text-link { display: inline-block; margin-top: 14px; }
.features { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.features li { padding: 9px 16px 6px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--label); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; }
.map { margin-top: 30px; }
.map .frame__img { aspect-ratio: 16 / 10; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.3) sepia(.15); }

/* Banquets */
.occasions { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.occasion { padding: 34px clamp(16px, 2vw, 30px); text-align: center; }
.occasion + .occasion { border-left: 1px solid var(--line); }
.occasion h3 { font-family: var(--display); font-weight: 400; font-size: 1.7rem; line-height: 1.15; margin-bottom: 12px; }
.occasion p { color: var(--ink-soft); font-size: .95rem; }
.enquire { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(30px, 5vw, 90px); }
.enquire form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 24px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--label); font-weight: 600; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; opacity: .8; }
.field input, .field select, .field textarea { font: inherit; color: inherit; background: transparent; border: 0; border-bottom: 1px solid var(--line-light); padding: 10px 0 12px; border-radius: 0; outline: none; -webkit-appearance: none; appearance: none; transition: border-color .3s; }
.field select option { color: var(--ink); }
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #f0c27a; }
.enquire .btn { justify-self: start; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--brown); color: var(--paper); text-align: center; }
.footer-top { padding: clamp(80px, 10vw, 140px) var(--gutter) clamp(50px, 6vw, 80px); }
.footer-logo { width: clamp(220px, 24vw, 320px); margin: 0 auto; }
.footer-top .h2 { margin: clamp(36px, 4vw, 56px) auto 0; max-width: 18ch; }
.footer-top .btn { margin-top: 30px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); margin-inline: var(--gutter); }
.footer-col { padding: 40px 20px; }
.footer-col + .footer-col { border-left: 1px solid var(--line-light); }
.footer-col h2 { font-family: var(--label); font-weight: 600; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: #e7b56b; margin-bottom: 18px; }
.footer-col li + li { margin-top: 8px; }
.footer-col a { transition: color .3s; }
.footer-col a:hover { color: #f0c27a; }
.footer-col address { font-style: normal; color: rgba(248, 243, 232, .82); font-size: .95rem; line-height: 1.6; }
.footer-col address + address { margin-top: 16px; }
.footer-col address strong { display: block; color: var(--paper); font-weight: 400; font-family: var(--display); font-size: 1.15rem; }
.footer-col .apps { justify-content: center; }
.footer-col .app { width: 46px; height: 46px; border-radius: 12px; }
.footer-col .social { margin-top: 20px; }
.footer-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px 30px; flex-wrap: wrap; padding: 18px var(--gutter) 22px; font-family: var(--label); font-size: .78rem; letter-spacing: .06em; color: rgba(248, 243, 232, .6); }

/* "Designed & built by Fortimark": same signature as the reference site */
.fm-credit { --fm-gold: #d9a520; --fm-gold-hi: #ffe9a8; --fm-ease: cubic-bezier(.16, 1, .3, 1); position: relative; display: inline-flex; align-items: center; gap: .7rem; padding-block: .5rem; color: rgba(255,255,255,.5); text-decoration: none; -webkit-tap-highlight-color: transparent; }
.fm-credit:focus-visible { border-radius: 4px; outline: 1px solid var(--fm-gold); outline-offset: 6px; }
.fm-credit-rook { display: inline-flex; flex: none; }
.fm-credit-mark { display: block; width: auto; height: 24px; opacity: .92; transform-origin: 50% 100%; transition: transform .7s var(--fm-ease), opacity .4s ease; }
.fm-credit-text { display: inline-flex; align-items: baseline; gap: .65rem; line-height: 1; white-space: nowrap; }
.fm-credit-label { font-family: var(--label); font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.5); transition: color .4s ease; }
.fm-credit-name { position: relative; display: inline-flex; overflow: hidden; padding-block: .28rem; font-family: var(--label); font-size: .82rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--fm-gold); }
.fm-credit-letter { display: inline-block; }
.fm-credit-glyph { display: inline-block; animation: fm-glint 7s ease-in-out infinite; animation-delay: calc(2s + var(--i) * .09s); }
.fm-credit-name::after { content: ""; position: absolute; left: 0; right: .3em; bottom: 0; height: 1px; background: var(--fm-gold); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--fm-ease); }
.fm-credit::after { content: ""; width: .62rem; height: .62rem; margin-left: -.3rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23d9a520' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 10 10 2M4.5 2H10v5.5'/%3E%3C/svg%3E") center / contain no-repeat; opacity: 0; transform: translate(-6px, 4px); transition: opacity .4s ease, transform .6s var(--fm-ease); }
/* Entrance: rook fades up, label fades in, letters rise out of the line */
.js .fm-credit-rook { opacity: 0; transform: translateY(12px); transition: opacity .8s var(--fm-ease) .1s, transform .8s var(--fm-ease) .1s; }
.js .fm-credit-label { opacity: 0; transition: opacity .8s var(--fm-ease) .135s, color .4s ease; }
.js .fm-credit-letter { transform: translateY(115%); transition: transform .8s var(--fm-ease); transition-delay: calc(.17s + var(--i) * .035s); }
.js .fm-credit.is-in .fm-credit-rook { opacity: 1; transform: none; }
.js .fm-credit.is-in .fm-credit-label { opacity: 1; }
.js .fm-credit.is-in .fm-credit-letter { transform: translateY(0); }
@media (hover: hover) {
  .fm-credit:hover .fm-credit-mark { opacity: 1; transform: translateY(-2px) rotate(-7deg); }
  .fm-credit:hover .fm-credit-label { color: rgba(255,255,255,.78); }
  .fm-credit:hover .fm-credit-name::after { transform: scaleX(1); transform-origin: left; }
  .fm-credit:hover .fm-credit-glyph { animation: fm-glint-fast .9s ease-in-out both; animation-delay: calc(var(--i) * .04s); }
  .fm-credit:hover::after { opacity: 1; transform: translate(0, -1px); }
}
.fm-credit:focus-visible .fm-credit-name::after { transform: scaleX(1); }
@keyframes fm-glint { 0%, 12%, 100% { color: var(--fm-gold); text-shadow: none; } 6% { color: var(--fm-gold-hi); text-shadow: 0 0 10px rgba(255,214,110,.55); } }
@keyframes fm-glint-fast { 0%, 100% { color: var(--fm-gold); text-shadow: none; } 45% { color: var(--fm-gold-hi); text-shadow: 0 0 10px rgba(255,214,110,.6); } }

/* ---------- Reveal helpers (JS adds .js) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); }
.js [data-clip] { opacity: 0; transform: translateY(24px); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .site-header { grid-template-columns: 1fr auto 1fr; }
  .nav { display: none; }
  .menu-toggle { display: block; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .occasions { grid-template-columns: repeat(2, 1fr); }
  .occasion:nth-child(3) { border-left: 0; }
  .occasion:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 780px) {
  :root { --header-h: 66px; }
  .brand img { height: 16px; }
  .header-actions .book { display: none; }

  .book-bar {
    display: flex; position: fixed; z-index: 80; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    height: 56px; align-items: center; justify-content: space-between; gap: 10px; padding: 0 8px 0 22px;
    background: var(--brown); color: var(--paper); border-radius: 999px; box-shadow: 0 16px 40px -14px rgba(42, 26, 16, .6);
    transform: translateY(170%); transition: transform .6s var(--ease);
  }
  .book-bar.is-visible { transform: none; }
  .book-bar span { font-family: var(--display); font-size: 1.15rem; }
  .book-bar .btn { height: 42px; padding: 3px 18px 0; background: var(--paper); color: var(--ink); border-color: var(--paper); }

  .hero__links a { font-size: .75rem; letter-spacing: .18em; }
  .hero__side { width: auto; left: var(--gutter); right: var(--gutter); translate: none; text-align: center; }
  .hero__side--l { top: calc(var(--header-h) + 14px); }
  .hero__side--r { top: auto; bottom: 6vh; }
  .hero__side .label { margin-bottom: 8px; }
  .hero__side .h2 { font-size: 1.9rem; }

  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }

  .tiles, .grid-3 { grid-template-columns: 1fr; }
  .tile { aspect-ratio: 4 / 4.4; }
  .grid-4 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card figcaption { flex-direction: column; gap: 2px; }
  .card figcaption .h3 { font-size: 1.1rem; }

  .split, .split--flip { grid-template-columns: 1fr; min-height: 0; }
  .split__img { aspect-ratio: 4 / 4.6; order: 0 !important; }
  .split__body { padding: 56px var(--gutter) 70px; text-align: center; align-items: center; }
  .split__body .label, .split__body .btn, .split__body .text-link { align-self: center; }
  .split__body .prose { margin-inline: auto; }

  .band { min-height: 88vh; }
  .locs { grid-template-columns: 1fr; gap: 50px; }

  .page-hero { height: 84vh; }
  .menu-tabs ul { justify-content: flex-start; }
  .menu-sec, .loc-info, .enquire { grid-template-columns: 1fr; }
  .menu-sec__head { position: static; }
  .menu-sec__head .frame { display: none; }
  .menu-items { grid-template-columns: 1fr; }

  .timeline { grid-template-columns: 1fr; }
  .timeline li + li { border-left: 0; border-top: 1px solid var(--line-light); }
  .occasions { grid-template-columns: 1fr; }
  .occasion + .occasion { border-left: 0; border-top: 1px solid var(--line); }
  .enquire form { grid-template-columns: 1fr; }

  .footer-cols { grid-template-columns: 1fr; }
  .footer-col + .footer-col { border-left: 0; border-top: 1px solid var(--line-light); }
  .footer-bar { flex-direction: column; justify-content: center; padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js [data-reveal], .js [data-clip], .js .hero__after > *, .js .fm-credit-rook, .js .fm-credit-label, .js .fm-credit-letter { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}
