/* ==========================================================================
   Indian Dreams — Rolleston
   ========================================================================== */

:root {
  --ink: #0d1613;
  --ink-2: #13201c;
  --forest: #1c362f;
  --forest-2: #24443b;
  --gold: #e8a33d;
  --gold-2: #f3c77a;
  --gold-deep: #b97a1c;
  --terracotta: #a9472a;
  --cream: #f7f0e3;
  --paper: #fbf7ef;
  --sand: #efe4d0;
  --text: #221d17;
  --muted: #6b6257;
  --line: rgba(34, 29, 23, 0.12);
  --line-light: rgba(247, 240, 227, 0.16);

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --shadow: 0 18px 40px -18px rgba(13, 22, 19, 0.35);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 0.5em;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
p { margin: 0 0 1.1em; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 200;
  background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-body);
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.on-dark .eyebrow, .eyebrow.light { color: var(--gold-2); }

.lead { font-size: 1.15rem; color: var(--muted); }
.on-dark .lead { color: rgba(247, 240, 227, 0.78); }

.italic { font-style: italic; font-weight: 500; color: var(--gold-deep); }
.on-dark .italic { color: var(--gold-2); }

/* Ornament divider */
.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--gold); margin: 6px 0 22px; }
.ornament::before, .ornament::after { content: ""; height: 1px; width: 56px; background: currentColor; opacity: 0.7; }
.ornament span { width: 8px; height: 8px; transform: rotate(45deg); border: 1px solid currentColor; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px;
  border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-body); font-size: 0.86rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-2); }
.btn-outline { border-color: currentColor; color: inherit; background: transparent; }
.btn-outline:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: var(--forest); }
.btn svg { width: 16px; height: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
  text-decoration: none; color: var(--gold-deep);
}
.on-dark .link-arrow { color: var(--gold-2); }
.link-arrow::after { content: "→"; transition: transform 0.25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  color: var(--cream);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), height 0.35s var(--ease);
}
.site-header.solid,
.site-header.scrolled {
  background: rgba(13, 22, 19, 0.96);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--line-light);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 52px; height: 52px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; letter-spacing: 0.01em; }
.brand-loc { font-size: 0.66rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-2); margin-top: 5px; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  position: relative; padding: 8px 12px; text-decoration: none;
  font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
  color: rgba(247, 240, 227, 0.86);
  transition: color 0.2s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--gold-2); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-cta { display: flex; gap: 10px; align-items: center; }
.header-cta .btn { min-height: 42px; padding: 9px 18px; font-size: 0.76rem; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-light); background: transparent; color: var(--cream); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: calc(var(--header-h) + var(--strip-offset, 0px)) 0 0 0; z-index: 99;
  background: var(--ink); color: var(--cream);
  padding: 28px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 4px;
  overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.nav-open .mobile-nav { opacity: 1; visibility: visible; transform: none; }
.mobile-nav a.m-link {
  font-family: var(--font-display); font-size: 2rem; text-decoration: none; padding: 6px 0;
  border-bottom: 1px solid var(--line-light);
}
.mobile-nav a.m-link[aria-current="page"] { color: var(--gold-2); }
.mobile-nav .btn-row { margin-top: 24px; }
.mobile-nav .btn { flex: 1 1 200px; }
.mobile-nav .m-info { margin-top: 28px; font-size: 0.95rem; color: rgba(247, 240, 227, 0.7); }
.mobile-nav .m-info a { color: var(--gold-2); }
body.nav-open { overflow: hidden; }

@media (max-width: 1120px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 560px) {
  .header-cta .btn-outline { display: none; }
  .brand img { width: 44px; height: 44px; }
  .brand-name { font-size: 1.3rem; }
  .header-cta .btn { padding: 9px 14px; letter-spacing: 0.1em; }
}
@media (max-width: 420px) {
  .header-cta .btn { display: none; } /* the mobile action bar carries Book / Order */
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: var(--cream); background: var(--ink);
  padding: calc(var(--header-h) + 60px) 0 70px;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13,22,19,0.65) 0%, rgba(13,22,19,0.15) 30%, rgba(13,22,19,0.55) 62%, rgba(13,22,19,0.95) 100%),
    linear-gradient(90deg, rgba(13,22,19,0.7) 0%, rgba(13,22,19,0) 70%);
}
.hero-content { position: relative; z-index: 2; max-width: 760px; }
.hero h1 { margin-bottom: 0.3em; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--gold-2); }
.hero p.lead { color: rgba(247,240,227,0.85); max-width: 560px; margin-bottom: 30px; }
.hero .btn-outline { color: var(--cream); }

.hero-info {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 44px; padding-top: 22px;
  border-top: 1px solid var(--line-light);
  font-size: 0.92rem; color: rgba(247,240,227,0.82);
}
.hero-info span, .hero-info a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.hero-info svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }

/* Page hero (inner pages) */
.page-hero {
  position: relative; color: var(--cream); background: var(--ink);
  padding: calc(var(--header-h) + 90px) 0 80px; overflow: hidden;
}
.page-hero .bg { position: absolute; inset: 0; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.42; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,22,19,0.5), rgba(13,22,19,0.92)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); max-width: 860px; }
.page-hero p { max-width: 640px; color: rgba(247,240,227,0.82); font-size: 1.12rem; }
.page-hero .btn-row { margin-top: 28px; }
.page-hero .btn-outline { color: var(--cream); }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: clamp(72px, 10vw, 130px) 0; position: relative; }
.section-sm { padding: clamp(56px, 7vw, 90px) 0; }
.section.dark, .on-dark { background: var(--ink); color: var(--cream); }
.section.forest { background: var(--forest); color: var(--cream); }
.section.cream { background: var(--cream); }
.section.sand { background: var(--sand); }

.pattern-bg::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("../img/pattern-lattice.jpg") center / 340px repeat;
  opacity: 0.06; mix-blend-mode: screen;
}
.pattern-bg > * { position: relative; }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
}

/* Arched imagery — echoes the timber arches of the Rolleston dining hall */
.arch { border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; }
.arch img { width: 100%; height: 100%; object-fit: cover; }

.media-stack { position: relative; padding: 0 0 60px 0; }
.media-stack .arch.main { aspect-ratio: 4 / 5; max-width: 470px; }
.media-stack .inset {
  position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1;
  border-radius: 50%; overflow: hidden; border: 8px solid var(--paper); box-shadow: var(--shadow);
}
.section.cream .media-stack .inset { border-color: var(--cream); }
.media-stack .inset img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 880px) {
  .media-stack { max-width: 520px; margin: 0 auto; }
}

.signature { font-family: var(--font-display); font-style: italic; font-size: 1.4rem; color: var(--gold-deep); margin-top: 8px; }

/* Stats / facts row */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 34px; border-top: 1px solid var(--line); }
.facts div { padding: 20px 16px 0 0; }
.facts strong { display: block; font-family: var(--font-display); font-size: 2.1rem; font-weight: 600; color: var(--gold-deep); line-height: 1; }
.facts span { font-size: 0.85rem; color: var(--muted); }
.on-dark .facts { border-color: var(--line-light); }
.on-dark .facts span { color: rgba(247,240,227,0.7); }

/* ==========================================================================
   Cards
   ========================================================================== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.cat-card {
  position: relative; display: block; text-decoration: none; color: var(--cream);
  border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden;
  aspect-ratio: 3 / 4.2; background: var(--ink);
  isolation: isolate;
}
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); z-index: -2; }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,22,19,0) 35%, rgba(13,22,19,0.92)); z-index: -1; }
.cat-card:hover img { transform: scale(1.06); }
.cat-card .body { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px; }
.cat-card h3 { font-size: 2.2rem; margin-bottom: 6px; }
.cat-card p { font-size: 0.95rem; color: rgba(247,240,227,0.8); margin-bottom: 14px; }
.cat-card .link-arrow { color: var(--gold-2); }
@media (max-width: 960px) { .cat-card { aspect-ratio: 3 / 3.6; } }

.deal-card {
  display: flex; flex-direction: column;
  background: var(--paper); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.deal-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.deal-card .media { aspect-ratio: 16 / 11; overflow: hidden; position: relative; }
.deal-card .media img { width: 100%; height: 100%; object-fit: cover; }
.deal-card .tag {
  position: absolute; top: 16px; left: 16px;
  background: var(--gold); color: var(--ink); border-radius: 999px; padding: 6px 14px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
}
.deal-card .body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.deal-card h3 { margin-bottom: 10px; }
.deal-card p { color: var(--muted); font-size: 0.98rem; }
.deal-card .when { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 0.86rem; color: var(--text); display: flex; gap: 8px; align-items: center; }
.deal-card .when svg { width: 15px; height: 15px; color: var(--gold-deep); flex-shrink: 0; }
.dark .deal-card, .forest .deal-card { background: var(--ink-2); border-color: var(--line-light); color: var(--cream); }
.dark .deal-card p, .forest .deal-card p { color: rgba(247,240,227,0.72); }
.dark .deal-card .when, .forest .deal-card .when { color: var(--cream); border-color: var(--line-light); }
.dark .deal-card .when svg, .forest .deal-card .when svg { color: var(--gold-2); }

/* Space cards (functions) */
.space { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; padding: 40px 0; border-top: 1px solid var(--line); }
.space:first-of-type { border-top: 0; }
.space:nth-of-type(even) > .space-media { order: 2; }
.space-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.space-media img { width: 100%; height: 100%; object-fit: cover; }
.space .capacity {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--gold); border-radius: 999px; padding: 6px 16px; margin: 4px 0 22px;
  font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); font-weight: 500;
}
.space .capacity svg { width: 16px; height: 16px; }
.space .num { font-family: var(--font-display); font-size: 1rem; letter-spacing: 0.2em; color: var(--muted); }
@media (max-width: 880px) {
  .space { grid-template-columns: 1fr; }
  .space:nth-of-type(even) > .space-media { order: 0; }
}

/* Banquet menus */
.banquets { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .banquets { grid-template-columns: 1fr; } }
.banquet {
  position: relative; background: var(--ink-2); color: var(--cream);
  border: 1px solid rgba(232, 163, 61, 0.35); border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px);
}
.banquet::before {
  content: ""; position: absolute; inset: 10px; border: 1px solid rgba(232,163,61,0.18); border-radius: 10px; pointer-events: none;
}
.banquet h3 { font-size: 2.2rem; text-align: center; margin-bottom: 4px; }
.banquet .sub { text-align: center; font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 26px; }
.banquet .course { padding: 16px 0; border-top: 1px solid var(--line-light); text-align: center; }
.banquet .course h4 { font-family: var(--font-body); font-size: 0.74rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 8px; font-weight: 500; }
.banquet .course p { margin: 0; color: rgba(247,240,227,0.86); font-family: var(--font-display); font-size: 1.3rem; line-height: 1.35; }
.banquet .course p small { display: block; font-family: var(--font-body); font-size: 0.88rem; color: rgba(247,240,227,0.62); margin-top: 4px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 12px; }
.gallery figure { margin: 0; border-radius: 10px; overflow: hidden; }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }
@media (max-width: 860px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
}

/* Marquee strip */
.strip { background: var(--gold); color: var(--ink); overflow: hidden; padding: 16px 0; }
.strip-track { display: flex; gap: 40px; width: max-content; animation: marquee 38s linear infinite; }
.strip-track span { font-family: var(--font-display); font-size: 1.5rem; font-style: italic; white-space: nowrap; display: inline-flex; align-items: center; gap: 40px; }
.strip-track span::after { content: "✦"; font-style: normal; font-size: 0.9rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Hours & visit */
.visit-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 0; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); color: var(--cream); }
.visit-info { padding: clamp(30px, 5vw, 56px); }
.visit-info h2 { margin-bottom: 18px; }
.visit-map { min-height: 420px; position: relative; background: var(--forest); }
.visit-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(0.25) contrast(1.05); }
@media (max-width: 880px) { .visit-grid { grid-template-columns: 1fr; } .visit-map { min-height: 320px; } }

.info-list { list-style: none; padding: 0; margin: 0 0 24px; }
.info-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-light); }
.info-list svg { width: 20px; height: 20px; color: var(--gold-2); flex-shrink: 0; margin-top: 3px; }
.info-list a { text-decoration: none; }
.info-list a:hover { color: var(--gold-2); }
.info-list .label { display: block; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(247,240,227,0.6); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; color: var(--cream); text-align: center; }
.cta-band .bg { position: absolute; inset: 0; }
.cta-band .bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: rgba(13,22,19,0.74); }
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { max-width: 760px; margin: 0 auto 14px; }
.cta-band p { max-width: 560px; margin: 0 auto 30px; color: rgba(247,240,227,0.82); }
.cta-band .btn-row { justify-content: center; }
.cta-band .btn-outline { color: var(--cream); }

/* ==========================================================================
   Menu page
   ========================================================================== */
.cat-bar {
  position: sticky; top: calc(var(--header-h) + var(--strip-offset, 0px)); z-index: 50;
  background: rgba(251, 247, 239, 0.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.cat-bar .container { display: flex; gap: 8px; overflow-x: auto; padding-top: 14px; padding-bottom: 14px; scrollbar-width: none; }
.cat-bar .container::-webkit-scrollbar { display: none; }
.cat-bar a {
  flex-shrink: 0; text-decoration: none; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 0.82rem; letter-spacing: 0.06em; color: var(--text); transition: all 0.2s; white-space: nowrap;
}
.cat-bar a:hover { border-color: var(--gold); }
.cat-bar a.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.menu-tools { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.menu-search { position: relative; flex: 1 1 280px; max-width: 380px; }
.menu-search input {
  width: 100%; height: 48px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  padding: 0 18px 0 46px; font: inherit; font-size: 0.95rem; color: var(--text);
}
.menu-search input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(232,163,61,0.18); }
.menu-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.menu-meta { font-size: 0.92rem; color: var(--muted); }

.menu-group { padding-top: 54px; scroll-margin-top: calc(var(--header-h) + var(--strip-offset, 0px) + 70px); }
.menu-group > header { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid var(--ink); padding-bottom: 12px; margin-bottom: 8px; }
.menu-group h2 { margin: 0; font-size: clamp(2rem, 4vw, 2.8rem); }
.menu-group .group-note { font-size: 0.9rem; color: var(--gold-deep); font-style: italic; font-family: var(--font-display); font-size: 1.15rem; }
.menu-sub { font-family: var(--font-display); font-size: 1.6rem; color: var(--gold-deep); margin: 34px 0 6px; font-style: italic; font-weight: 500; }

.dish-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
@media (max-width: 820px) { .dish-list { grid-template-columns: 1fr; } }
.dish { padding: 18px 0; border-bottom: 1px dashed var(--line); break-inside: avoid; display: flex; gap: 16px; align-items: flex-start; }
.dish-body { flex: 1; min-width: 0; }
.dish-img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; flex-shrink: 0; background: var(--sand); }
.dish-price.multi { white-space: normal; max-width: 55%; font-size: 0.88rem; line-height: 1.45; }
.dish-top { display: flex; align-items: baseline; gap: 10px; }
.dish-name { font-family: var(--font-display); font-size: 1.32rem; font-weight: 600; line-height: 1.2; }
.dish-dots { flex: 1; border-bottom: 1px dotted rgba(34,29,23,0.3); transform: translateY(-5px); min-width: 20px; }
.dish-price { font-weight: 500; color: var(--gold-deep); white-space: nowrap; font-size: 0.98rem; text-align: right; }
.dish-desc { margin: 4px 0 0; color: var(--muted); font-size: 0.94rem; line-height: 1.5; }
.dish-note { margin-top: 4px; font-size: 0.82rem; color: var(--terracotta); }
@media (max-width: 480px) {
  .dish-top { flex-wrap: wrap; }
  .dish-dots { display: none; }
  .dish-price { width: 100%; text-align: left; }
}
.menu-empty { padding: 40px 0; color: var(--muted); text-align: center; }
mark { background: rgba(232,163,61,0.3); color: inherit; border-radius: 3px; padding: 0 2px; }

.menu-footnote { margin-top: 56px; padding: 22px 26px; border-radius: var(--radius); background: var(--cream); font-size: 0.93rem; color: var(--muted); display: flex; gap: 14px; align-items: flex-start; }
.menu-footnote svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--gold-deep); margin-top: 2px; }

/* Contact cards */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; text-decoration: none; display: block; transition: border-color 0.25s, transform 0.25s var(--ease); }
a.contact-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.contact-card .icon { width: 50px; height: 50px; border-radius: 50%; background: var(--ink); color: var(--gold-2); display: grid; place-items: center; margin-bottom: 18px; }
.contact-card .icon svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.contact-card p { margin: 0; color: var(--muted); }
.contact-card .card-value { display: block; color: var(--text); font-weight: 500; margin-top: 10px; text-decoration: none; line-height: 1.5; }
.contact-card a.card-value:hover, .contact-card .card-value a:hover { color: var(--gold-deep); }
.contact-card .card-links { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.contact-card .card-links a { color: var(--gold-deep); font-weight: 500; text-decoration: none; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: rgba(247,240,227,0.78); padding: 80px 0 100px; position: relative; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand img { width: 108px; height: 108px; margin-bottom: 18px; }
.footer-brand p { max-width: 320px; font-size: 0.96rem; }
.site-footer h4 { font-family: var(--font-body); font-size: 0.76rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 18px; font-weight: 500; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; font-size: 0.96rem; }
.site-footer a { text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: var(--gold-2); }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-light); display: grid; place-items: center; transition: all 0.25s; }
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom .credits { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-bottom .credits a { color: var(--gold-2); }
.footer-bottom { margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line-light); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.85rem; color: rgba(247,240,227,0.55); }

/* Floating order button — icon only on phones, icon + label on larger screens */
.floating-order {
  position: fixed; right: 20px; bottom: 20px; z-index: 95;
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 24px 0 20px; border-radius: 999px;
  background: var(--gold); color: var(--ink); text-decoration: none;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  box-shadow: 0 12px 28px -8px rgba(13, 22, 19, 0.55);
  transition: background 0.25s, transform 0.25s var(--ease);
}
.floating-order:hover { background: var(--gold-2); transform: translateY(-2px); }
.floating-order svg { width: 22px; height: 22px; flex-shrink: 0; }
body.nav-open .floating-order { display: none; }
@media (max-width: 720px) {
  .floating-order { right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); width: 56px; padding: 0; justify-content: center; }
  .floating-order-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ==========================================================================
   SIPO API components (status strip, hours, popular dishes)
   ========================================================================== */
body.has-status-strip { --strip-offset: var(--strip-height, 36px); }
body.has-status-strip .site-header { top: var(--strip-offset); }
body.has-status-strip .hero { padding-top: calc(var(--header-h) + var(--strip-offset) + 60px); }
body.has-status-strip .page-hero { padding-top: calc(var(--header-h) + var(--strip-offset) + 90px); }

.status-strip {
  background: var(--ink-2); color: var(--cream);
  font-family: var(--font-body); font-weight: 500; font-size: 0.82rem; letter-spacing: 0.04em;
  padding: 8px 16px; border-bottom: 1px solid var(--line-light);
}
.status-strip.open { background: #1d4a37; }
.status-strip.closed { background: #6e2a19; }
.status-strip.error { background: var(--ink-2); }
.status-strip-inner { padding: 0; }
.status-strip-dot { box-shadow: 0 0 0 3px rgba(255,255,255,0.15); flex-shrink: 0; }
.countdown-timer { font-variant-numeric: tabular-nums; color: var(--gold-2); }

.api-loading { opacity: 0.55; font-style: italic; }

/* Hours rendered by uiManager (.hours-row divs / #footer-hours <li>) */
.hours-list { font-size: 0.98rem; }
.hours-row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line-light); }
.hours-row .day { color: rgba(247,240,227,0.7); white-space: nowrap; }
.hours-row .time { text-align: right; }
.hours-row.today .day, .hours-row.today .time { color: var(--gold-2); font-weight: 500; }
.closed-day { opacity: 0.6; }
.footer-hours li { display: flex; justify-content: space-between; gap: 12px; font-size: 0.9rem; margin-bottom: 7px; }
.footer-hours .day { color: rgba(247,240,227,0.6); min-width: 36px; }
.footer-hours .time { text-align: right; }
.footer-hours li.today, .footer-hours li.today .day { color: var(--gold-2); }

/* Popular dishes rendered by uiManager.renderPopularItems() into #menuGrid */
.popular-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .popular-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .popular-grid { grid-template-columns: 1fr; } }
.popular-grid .popular-loading { grid-column: 1 / -1; text-align: center; }
.popular-grid .menu-card { background: var(--ink-2); border: 1px solid var(--line-light); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.popular-grid .menu-image-container { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--forest); }
.popular-grid .menu-image-container img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.popular-grid .menu-card:hover .menu-image-container img { transform: scale(1.05); }
.popular-grid .menu-category-badge { position: absolute; top: 14px; left: 14px; background: var(--gold); color: var(--ink); border-radius: 999px; padding: 5px 12px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.popular-grid .menu-details { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.popular-grid .menu-details h3 { font-size: 1.5rem; margin: 0; }
.popular-grid .menu-price { color: var(--gold-2); font-weight: 500; white-space: nowrap; margin-left: 12px; }
.popular-grid .menu-details p { color: rgba(247,240,227,0.7); font-size: 0.93rem; line-height: 1.55; flex: 1; }
.popular-grid .btn-primary {
  align-self: flex-start; display: inline-flex; align-items: center; border-radius: 999px; text-decoration: none;
  border: 1px solid var(--gold); color: var(--gold-2); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500;
  transition: background 0.25s, color 0.25s;
}
.popular-grid .btn-primary:hover { background: var(--gold); color: var(--ink); }

/* Enquiry block (functions & catering) */
.enquire-actions { margin: 26px 0 10px; }
.enquire-card { display: inline-block; font-family: var(--font-display); font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 600; color: var(--text); text-decoration: none; border-bottom: 2px solid var(--gold); line-height: 1.2; }
.enquire-card:hover { color: var(--gold-deep); }
.enquire-note { color: var(--muted); margin: 10px 0 0; }
.enquire-note a { color: var(--gold-deep); text-decoration: none; }
.banquet .sub { font-size: 0.95rem; letter-spacing: 0.12em; }
