/* ==========================================================================
   The Curry Master — Brand V2 Stylesheet
   Palette: Crisp White · Tandoor Red (#D9231A) · Curry Yellow (#FFCC00)
   Full Light Mode (Default) & Dark Mode Support
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f6f8;
  --bg-card: #ffffff;
  --bg-tint-yellow: #fff9db;
  --bg-tint-red: #fef2f1;

  --ink: #121215;
  --ink-muted: #565660;
  --ink-subtle: #787884;

  --red: #d9231a;
  --red-hover: #b81b13;
  --red-ink: #ffffff;

  --yellow: #ffcc00;
  --yellow-hover: #ebb900;
  --yellow-ink: #121215;

  --border: #e6e6eb;
  --border-strong: #d1d1d9;

  --header-bg: rgba(255, 255, 255, 0.94);
  --shadow-sm: 0 2px 10px rgba(18, 18, 21, 0.05);
  --shadow-md: 0 12px 32px rgba(18, 18, 21, 0.09);
  --shadow-lg: 0 22px 54px rgba(18, 18, 21, 0.14);

  --display: "Bricolage Grotesque", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --container: 1220px;
  --header-h: 74px;
}

[data-theme="dark"] {
  --bg: #0e0e11;
  --bg-soft: #15151a;
  --bg-card: #1b1b22;
  --bg-tint-yellow: rgba(255, 204, 0, 0.12);
  --bg-tint-red: rgba(238, 52, 43, 0.14);

  --ink: #f8f8fb;
  --ink-muted: #acacb8;
  --ink-subtle: #828290;

  --red: #ee342b;
  --red-hover: #d4231a;
  --red-ink: #ffffff;

  --yellow: #ffd014;
  --yellow-hover: #f0c000;
  --yellow-ink: #101013;

  --border: rgba(255, 255, 255, 0.11);
  --border-strong: rgba(255, 255, 255, 0.2);

  --header-bg: rgba(14, 14, 17, 0.92);
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.32);
  --shadow-md: 0 14px 36px rgba(0, 0, 0, 0.44);
  --shadow-lg: 0 24px 56px rgba(0, 0, 0, 0.56);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  transition: background-color 0.2s ease, color 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2.5px solid var(--red);
  outline-offset: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0;
}

p {
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 14px;
  top: -100px;
  padding: 10px 16px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius-sm);
  z-index: 9999;
}

.skip-link:focus {
  top: 14px;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

/* ==========================================================================
   Icons & Buttons
   ========================================================================== */

.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-sm {
  width: 15px;
  height: 15px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 22px;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.15;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-red {
  background: var(--red);
  color: var(--red-ink);
  border-color: var(--red);
}

.btn-red:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
  box-shadow: 0 8px 22px rgba(217, 35, 26, 0.3);
}

.btn-yellow {
  background: var(--yellow);
  color: var(--yellow-ink);
  border-color: var(--yellow);
}

.btn-yellow:hover {
  background: var(--yellow-hover);
  border-color: var(--yellow-hover);
  box-shadow: 0 8px 22px rgba(255, 204, 0, 0.32);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}

.btn-white {
  background: #ffffff;
  color: #121215;
  border-color: #ffffff;
}

.btn-white:hover {
  background: var(--yellow);
  border-color: var(--yellow);
}

.btn-sm {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 13.5px;
}

/* ==========================================================================
   Yellow Accent Top Stripe & Sticky Header
   ========================================================================== */

.brand-top-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--red) 0%, var(--red) 50%, var(--yellow) 50%, var(--yellow) 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease;
}

[data-theme="dark"] .brand-link {
  background: #ffffff;
  padding: 5px 10px;
}

.brand-link img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-muted);
  padding: 8px 13px;
  border-radius: var(--radius-pill);
  transition: color 0.15s ease, background-color 0.15s ease;
}

.main-nav a:hover {
  color: var(--ink);
  background: var(--bg-soft);
}

.main-nav a[aria-current="page"] {
  color: var(--red);
  background: var(--bg-tint-red);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-strong);
  background: var(--bg-soft);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}

.theme-toggle:hover {
  border-color: var(--yellow);
  background: var(--bg-tint-yellow);
}

.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; color: var(--yellow); }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.mobile-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-strong);
  background: var(--bg-soft);
  color: var(--ink);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-drawer {
  display: none;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 12px 20px 22px;
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-drawer nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mobile-drawer nav a {
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
}

.mobile-drawer nav a[aria-current="page"] {
  background: var(--bg-tint-red);
  color: var(--red);
}

.mobile-drawer-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

/* ==========================================================================
   Dynamic Rotating Hero Showcase (Crisp White / Dark Onyx)
   ========================================================================== */

.hero {
  padding-block: 38px 44px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 38px;
  align-items: center;
}

.hero-grid > *,
.sub-hero-grid > *,
.two-col > *,
.branch-grid > *,
.action-duo > *,
.dish-showcase-grid > *,
.menu-grid > * {
  min-width: 0;
}

.hero-proof {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--yellow);
  color: var(--yellow-ink);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 18px;
}

.hero-copy h1 {
  font-size: clamp(40px, 4.9vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.hero-copy h1 .accent-red {
  color: var(--red);
}

.hero-meta {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-muted);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-meta .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-branch-pills {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.branch-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.branch-chip:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-1px);
}

.branch-chip .pin-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.pin-dot.red { background: var(--red); }
.pin-dot.yellow { background: var(--yellow); }
.pin-dot.dark { background: var(--ink); }

/* Right Column: Live Auto-Rotating Dish Stage */
.showcase-stage {
  position: relative;
}

.showcase-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
  border: 3px solid var(--yellow);
  box-shadow: var(--shadow-lg);
}

.showcase-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.55s ease, transform 0.7s ease;
  pointer-events: none;
}

.showcase-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.showcase-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px 22px 18px;
  background: linear-gradient(180deg, rgba(14, 14, 17, 0) 0%, rgba(14, 14, 17, 0.86) 100%);
  color: #ffffff;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.showcase-tag {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 5px;
  background: var(--yellow);
  color: #121215;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.showcase-title {
  font-family: var(--display);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}

.showcase-sub {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.86);
  margin-top: 3px;
}

.showcase-price {
  background: var(--red);
  color: #ffffff;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.showcase-arrows {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  display: flex;
  gap: 8px;
}

.stage-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: #121215;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.stage-arrow:hover {
  background: var(--yellow);
  transform: scale(1.06);
}

.showcase-progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
  z-index: 5;
}

.showcase-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--yellow);
}

.showcase-thumbs {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.thumb-btn {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-soft);
  cursor: pointer;
  aspect-ratio: 16 / 11;
  position: relative;
  opacity: 0.68;
  transition: opacity 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-btn:hover {
  opacity: 1;
}

.thumb-btn.is-active {
  opacity: 1;
  border-color: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(217, 35, 26, 0.24);
}

/* ==========================================================================
   Sections & Headings (Minimal, Crisp, Scannable)
   ========================================================================== */

.section {
  padding-block: 60px;
}

.section-soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 28px;
}

.section-title {
  font-size: clamp(28px, 3.3vw, 42px);
  line-height: 1.08;
}

.section-title .accent-red {
  color: var(--red);
}

.section-sub {
  margin-top: 6px;
  font-size: 15.5px;
  color: var(--ink-muted);
}

/* ==========================================================================
   Dynamic Filterable Dish Gallery (Homepage Visual Craving Switcher)
   ========================================================================== */

.craving-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.craving-tab {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.craving-tab:hover {
  border-color: var(--red);
  color: var(--red);
}

.craving-tab.is-active {
  background: var(--red);
  border-color: var(--red);
  color: #ffffff;
}

.craving-tab.goat-tab.is-active {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #121215;
}

.dish-showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.dish-tile {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.dish-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--yellow);
}

.dish-tile.is-hidden {
  display: none;
}

.dish-tile-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-soft);
}

.dish-tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.dish-tile:hover .dish-tile-media img {
  transform: scale(1.05);
}

.dish-price-pill {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: var(--red);
  color: #ffffff;
  font-family: var(--display);
  font-size: 15.5px;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.dish-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--yellow);
  color: #121215;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 6px;
}

.dish-tile-body {
  padding: 14px 16px 16px;
}

.dish-tile-body h3 {
  font-size: 18px;
  line-height: 1.2;
}

.dish-tile-body p {
  margin-top: 4px;
  font-size: 13.5px;
  color: var(--ink-muted);
}

/* ==========================================================================
   Red & Yellow Direct-Order Strip
   ========================================================================== */

.promo-strip {
  background: var(--red);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.promo-strip::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--yellow);
}

.promo-strip h2 {
  color: #ffffff;
  font-size: clamp(24px, 2.8vw, 34px);
}

.promo-strip h2 span {
  color: var(--yellow);
}

.promo-strip p {
  margin-top: 6px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.92);
}

.direct-order-pair {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: rgba(14, 14, 17, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.direct-order-pair .btn {
  flex-shrink: 0;
}

.promo-strip .direct-order-note {
  margin-top: 0;
  flex: 1 1 280px;
  font-size: 14.5px;
  line-height: 1.45;
  font-weight: 600;
  color: #ffffff;
}

.branch-order-box {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1.5px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.branch-order-box .btn {
  flex-shrink: 0;
}

.branch-order-note {
  margin: 0;
  flex: 1 1 220px;
  font-size: 13.5px;
  line-height: 1.45;
  font-weight: 600;
  color: var(--ink-muted);
}

.delivery-scope-note {
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-muted);
}

.branch-card-footer-order {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.branch-card-footer-order .btn {
  flex-shrink: 0;
}

.branch-footer-note {
  margin: 0;
  flex: 1 1 200px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-muted);
}

/* ==========================================================================
   3 Locations Visual Cards (Clean Photo Headers — Zero Wall of Text)
   ========================================================================== */

.branch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.branch-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.branch-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.branch-card-photo {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.branch-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.branch-label {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.branch-label.red { background: var(--red); color: #fff; }
.branch-label.yellow { background: var(--yellow); color: #121215; }
.branch-label.dark { background: #121215; color: var(--yellow); }

.branch-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.branch-card-body h3 {
  font-size: 24px;
}

.branch-info {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: var(--ink-muted);
}

.branch-info strong {
  color: var(--ink);
}

.branch-links {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 700;
}

.branch-links a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--red);
}

.branch-links a:hover {
  text-decoration: underline;
}

.branch-actions {
  margin-top: auto;
  padding-top: 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

/* ==========================================================================
   Action Duo (Dine-In & Drinks + Catering)
   ========================================================================== */

.action-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.action-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 290px;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

.action-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.action-card:hover img {
  transform: scale(1.04);
}

.action-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 14, 17, 0.14) 0%, rgba(14, 14, 17, 0.88) 100%);
}

.action-card-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.action-card-content h3 {
  font-size: 28px;
  color: #ffffff;
}

.action-card-content p {
  margin-top: 6px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.88);
}

.action-card-btns {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   Compact Subpage Header Banner
   ========================================================================== */

.sub-hero {
  padding-block: 40px 36px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.sub-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.crumb {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-subtle);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.crumb a:hover {
  color: var(--red);
}

.sub-hero h1 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
}

.sub-hero .lead {
  margin-top: 10px;
  font-size: 16px;
  color: var(--ink-muted);
}

.sub-hero-photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 2.5px solid var(--yellow);
  box-shadow: var(--shadow-md);
}

.sub-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Interactive 3-Mode Menu Page (Takeaway · Dine-In · Drinks)
   ========================================================================== */

.menu-mode-switch {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
}

.mode-btn {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 0;
  background: transparent;
  color: var(--ink-muted);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.16s ease;
}

.mode-btn:hover {
  color: var(--ink);
}

.mode-btn.is-active {
  background: var(--red);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(217, 35, 26, 0.25);
}

.mode-btn.drinks-mode.is-active {
  background: var(--yellow);
  color: #121215;
  box-shadow: 0 4px 12px rgba(255, 204, 0, 0.28);
}

.menu-toolbar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}

.menu-search-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.search-box {
  position: relative;
  flex: 1 1 260px;
}

.search-box .icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-subtle);
}

.search-box input {
  width: 100%;
  min-height: 44px;
  padding: 9px 14px 9px 40px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-strong);
  background: var(--bg-soft);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14.5px;
}

.search-box input:focus {
  border-color: var(--red);
  background: var(--bg-card);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.filter-pill {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-strong);
  background: var(--bg-soft);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.filter-pill.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.cat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.cat-pill {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.cat-pill:hover {
  color: var(--ink);
  border-color: var(--border-strong);
}

.cat-pill.is-active {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #121215;
}

.menu-meta-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-muted);
}

.menu-group {
  margin-bottom: 32px;
}

.menu-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--yellow);
  color: #121215;
  margin-bottom: 14px;
}

.menu-group-head h2,
.menu-group-head h3 {
  color: #121215;
  font-size: 20px;
}

.menu-group-head span {
  font-size: 13px;
  font-weight: 800;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
}

.menu-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.menu-card.is-goat {
  border: 2px solid var(--yellow);
  background: var(--bg-tint-yellow);
}

.menu-card-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.menu-card-name {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.menu-card-price {
  font-family: var(--display);
  font-size: 16.5px;
  font-weight: 800;
  color: var(--red);
  white-space: nowrap;
}

.menu-card-desc {
  font-size: 13.5px;
  color: var(--ink-muted);
}

.menu-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.mtag {
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
}

.mtag.veg { background: #e6f6ec; color: #166534; }
.mtag.gf { background: var(--bg-tint-yellow); color: #8a6400; }
.mtag.heat { background: var(--bg-tint-red); color: var(--red); }
[data-theme="dark"] .mtag.veg { background: rgba(34, 197, 94, 0.16); color: #86efac; }
[data-theme="dark"] .mtag.gf { color: var(--yellow); }

/* ==========================================================================
   Subpage Cards, Suburbs, Forms & Modal
   ========================================================================== */

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
}

.panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.panel h2, .panel h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.spec-list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spec-item {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.spec-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.spec-item dt {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-subtle);
}

.spec-item dd {
  margin: 3px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.suburb-tag {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 700;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 13px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  padding: 10px 13px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-strong);
  background: var(--bg-soft);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14.5px;
}

.form-result {
  display: none;
  margin-top: 14px;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-tint-yellow);
  border: 1.5px solid var(--yellow);
  font-size: 14px;
}

.form-result.is-visible {
  display: block;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 600;
  background: rgba(14, 14, 17, 0.72);
  backdrop-filter: blur(5px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.is-open {
  display: flex;
}

.modal-card {
  width: min(560px, 100%);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: var(--bg-card);
  border: 2px solid var(--yellow);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.modal-rows {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
}

.modal-row.is-featured {
  border-color: var(--red);
  background: var(--bg-tint-red);
}

.modal-row > div {
  min-width: 0;
}

.modal-row .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.modal-row strong {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  font-size: 15.5px;
}

.modal-branch-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--red);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.modal-branch-tag.yellow {
  background: var(--yellow);
  color: #121215;
}

.modal-branch-tag.dark {
  background: #121215;
  color: var(--yellow);
}

.modal-row > div > span {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: var(--ink-muted);
}

/* ==========================================================================
   Compact Modern Footer
   ========================================================================== */

.site-footer {
  background: #111114;
  color: #f4f4f7;
  padding-block: 48px 28px;
  border-top: 4px solid var(--yellow);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-logo {
  display: inline-flex;
  background: #ffffff;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
}

.footer-logo img {
  height: 40px;
  width: auto;
}

.footer-brand p {
  margin-top: 12px;
  font-size: 14px;
  color: #b4b4c0;
}

.footer-col h3 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 12px;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 14px;
  color: #c8c8d2;
}

.footer-list a:hover {
  color: var(--yellow);
}

.footer-bottom {
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: #8c8c99;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .hero-grid,
  .sub-hero-grid,
  .two-col {
    grid-template-columns: 1fr;
  }
  .dish-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .branch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .main-nav,
  .header-actions .btn-header-order {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .menu-grid,
  .action-duo {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .container {
    width: calc(100% - 28px);
  }
  .section {
    padding-block: 42px;
  }
  .hero {
    padding-block: 24px 32px;
  }
  .branch-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .dish-showcase-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .dish-tile-body {
    padding: 10px 12px 12px;
  }
  .dish-tile-body h3 {
    font-size: 15px;
  }
  .dish-tile-body p {
    font-size: 12px;
  }
  .showcase-thumbs {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 5px;
  }
  .hero-actions {
    gap: 8px;
  }
  .hero-actions .btn {
    width: 100%;
    white-space: normal;
  }
  .hero-proof {
    font-size: 12px;
    padding: 5px 11px;
    max-width: 100%;
    white-space: normal;
  }
  .hero-meta {
    font-size: 13.5px;
    gap: 6px 10px;
  }
  .branch-chip {
    font-size: 12px;
    padding: 5px 10px;
  }
  .showcase-overlay {
    padding: 14px;
    gap: 8px;
  }
  .showcase-price {
    font-size: 17px;
    padding: 6px 11px;
  }
  .promo-strip {
    padding: 24px 20px;
  }
  .direct-order-pair .btn,
  .branch-order-box .btn,
  .branch-card-footer-order .btn {
    width: 100%;
  }
  .modal-card {
    padding: 20px 16px;
  }
  .modal-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .modal-row .btn {
    width: 100%;
  }
}

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

.tcm-direct { margin-top: 1rem; background: var(--bg-card); color: var(--ink); }
.tcm-direct p { color: inherit; }
.tcm-offer small, .tcm-direct small { display: block; line-height: 1.55; font-size: .875rem; }
.tcm-dish-photo { margin: 0 0 .75rem; }
.tcm-dish-photo img { display: block; width: 100%; height: auto; aspect-ratio: 800/597; object-fit: cover; border-radius: 8px; }
.tcm-dish-photo figcaption { font-size: .75rem; margin-top: .25rem; }
