/* ==========================================================================
   Sushi Jet, South Park Street
   Warm black and timber from the dining room, copper from the ring lights,
   red from the sun painting and the logo.
   Mobile-first: 480 / 768 / 1024.
   ========================================================================== */

:root {
  /* Colors */
  --ink: #0f0d0c;
  --ink-deep: #080706;
  --ink-soft: #1c1917;
  --graphite: #2d2825;
  --red: #d63a2f;
  --red-light: #f0645a;
  --red-glow: #ff9d94;
  --red-btn-top: #dc4337;
  --red-btn: #bd2b21;
  --red-btn-bottom: #8e1d16;
  --red-text: #ad271e;
  --red-text-dark: #861b14;
  --copper: #c8915a;
  --copper-light: #e5b886;
  --copper-glow: #f6d9b4;
  --paper: #faf6f0;
  --light: #f2ece3;
  --white: #ffffff;
  --text: #1b1714;
  --text-muted: #5a524b;
  --text-on-dark: #f1ece6;
  --text-on-dark-muted: #b5aca3;
  --line: #ddd4c8;
  --line-dark: rgba(255, 255, 255, 0.14);
  --input-border: #9b928a;
  --error: #b3261e;
  --error-bg: #fbeceb;
  --error-on-dark: #ffb4ab;
  --text-on-photo: #e4ddd5;

  /* RGB channels for overlays */
  --ink-rgb: 15, 13, 12;
  --red-rgb: 214, 58, 47;
  --copper-rgb: 200, 145, 90;

  /* Typography */
  --font-heading: 'Shippori Mincho', 'Hiragino Mincho ProN', Georgia, serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --fs-body: 1.0625rem;
  --fs-small: 0.94rem;
  --fs-h1: clamp(2.4rem, 1.5rem + 3.6vw, 4.2rem);
  --fs-h2: clamp(1.9rem, 1.35rem + 2.1vw, 2.9rem);
  --fs-h3: 1.35rem;
  --fs-lead: clamp(1.1rem, 1rem + 0.4vw, 1.22rem);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --section-pad: clamp(4rem, 3rem + 4vw, 6.5rem);
  --container-max: 1200px;
  --gutter: clamp(1rem, 0.5rem + 2vw, 2rem);
  --nav-height: 68px;
  --marquee-h: 3.25rem;
  --strip-h: 3.25rem;
  --below-hero: calc(var(--marquee-h) + var(--strip-h));

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-photo: 0 18px 40px rgba(var(--ink-rgb), 0.25);
  --shadow-nav: 0 2px 18px rgba(0, 0, 0, 0.35);
  --shadow-card: 0 4px 16px rgba(var(--ink-rgb), 0.06), 0 1px 3px rgba(var(--ink-rgb), 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  --shadow-card-hover: 0 28px 56px rgba(var(--ink-rgb), 0.14), 0 10px 20px rgba(var(--ink-rgb), 0.08);
  --shadow-btn: 0 4px 15px rgba(var(--red-rgb), 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  --shadow-btn-hover: 0 12px 30px rgba(var(--red-rgb), 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  --shadow-btn-pressed: inset 0 2px 4px rgba(0, 0, 0, 0.15);
  --focus-ring: 0 0 0 3px rgba(var(--red-rgb), 0.35);

  /* Motion */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   Base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 1rem);
  scroll-padding-bottom: 6rem; /* keeps focused items clear of the chat button */
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--light);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
  text-wrap: balance;
}

h2 { font-size: var(--fs-h2); margin-bottom: var(--space-md); }
h3 { font-size: var(--fs-h3); }
h2 span.line { display: block; }

p, li, dd, dt, blockquote, figcaption, td, th { overflow-wrap: break-word; }
a { color: inherit; }
ul, ol { padding: 0; }
ul { list-style: none; }
dd { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
/* These set their own display, so [hidden] needs restating for them */
.btn[hidden], .field-error[hidden], .form-error[hidden], .booker-saved[hidden], .install-sheet[hidden] { display: none; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.container {
  width: min(100% - 2 * var(--gutter), var(--container-max));
  margin-inline: auto;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.visually-hidden {
  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;
  top: -100px;
  left: var(--space-md);
  z-index: 1000;
  padding: var(--space-sm) var(--space-lg);
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  background: var(--red-btn);
  border-radius: var(--radius-sm);
}

.skip-link:focus { top: var(--space-md); }

.section { padding-block: var(--section-pad); }
.section--paper { background: var(--paper); }
.section--dark { color: var(--text-on-dark); background: var(--ink); }

.lead { max-width: 36em; font-size: var(--fs-lead); color: var(--text-muted); }
.section--dark .lead { color: var(--text-on-dark-muted); }

/* ==========================================================================
   Buttons and links
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  border: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.btn svg { width: 19px; height: 19px; flex-shrink: 0; }
.btn-lg { min-height: 56px; padding: 0.9rem 1.7rem; font-size: 1.15rem; }
.btn-block { width: 100%; }

/* White on the middle of this red is 5.6:1 */
.btn-primary {
  color: var(--white);
  background: linear-gradient(180deg, var(--red-btn-top) 0%, var(--red-btn) 50%, var(--red-btn-bottom) 100%);
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover { box-shadow: var(--shadow-btn-hover); }
.btn-primary:active { box-shadow: var(--shadow-btn-pressed); }
.btn-primary:disabled { opacity: 0.55; cursor: not-allowed; }

/* Inverted variant: dark bevel with light text */
.btn-dark {
  color: var(--white);
  background: linear-gradient(180deg, #403935 0%, var(--ink-soft) 50%, var(--ink-deep) 100%);
  box-shadow: 0 4px 15px rgba(var(--ink-rgb), 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-dark:hover { box-shadow: 0 12px 30px rgba(var(--ink-rgb), 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18); }

.btn-nav { padding-inline: 1.4rem; border-radius: var(--radius-full); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  font-weight: 600;
  color: var(--red-text);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--red);
  text-underline-offset: 5px;
}

.text-link:hover { color: var(--red-text-dark); text-decoration-color: var(--red-text-dark); }
.text-link--light { color: var(--white); text-decoration-color: var(--copper); }
.text-link--light:hover { color: var(--copper-glow); text-decoration-color: var(--copper-glow); }
.link-icon { width: 20px; height: 20px; flex-shrink: 0; }

.link-btn {
  min-height: 44px;
  padding: 0 0.25rem;
  font-weight: 600;
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--red);
  text-underline-offset: 5px;
  background: none;
  border: 0;
  cursor: pointer;
}

/* ==========================================================================
   Header / navigation
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-top: env(safe-area-inset-top);
  background: var(--ink);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled,
.site-header.menu-open {
  border-bottom-color: var(--line-dark);
  box-shadow: var(--shadow-nav);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  min-height: var(--nav-height);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  margin-right: auto;
  color: var(--white);
  text-decoration: none;
}

/* Red sun, as on the dining room wall */
.logo-mark {
  width: 30px;
  height: 30px;
  flex: none;
  background: radial-gradient(circle at 35% 30%, var(--red-glow) 0%, var(--red) 42%, var(--red-btn-bottom) 100%);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(var(--red-rgb), 0.45), inset 0 -2px 4px rgba(0, 0, 0, 0.25);
}

.logo-name { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 800; letter-spacing: 0.01em; white-space: nowrap; }

/* Tap-to-call stays in the bar on phones */
.btn-call-mobile { min-height: 44px; padding: 0.5rem 0.95rem; border-radius: var(--radius-full); }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle-bar { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu: solid opaque panel */
.nav-menu {
  position: fixed;
  top: calc(var(--nav-height) + env(safe-area-inset-top));
  right: 0;
  left: 0;
  max-height: calc(100vh - var(--nav-height));
  overflow-y: auto;
  padding: var(--space-sm) var(--gutter) var(--space-xl);
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.nav-menu.open { visibility: visible; opacity: 1; pointer-events: auto; }

.nav-links a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 52px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-on-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--line-dark);
}

.nav-links a:hover { color: var(--copper-light); }
.nav-menu .btn-nav { width: 100%; margin-top: var(--space-lg); }

/* ==========================================================================
   Hero: the dining room behind a left-weighted dark gradient
   ========================================================================== */

.hero {
  position: relative;
  isolation: isolate;
  padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-3xl);
  overflow: hidden;
  color: var(--white);
  background: var(--ink-deep);
}

.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-bg picture, .hero-bg img { width: 100%; height: 100%; }
.hero-bg img { object-fit: cover; object-position: 50% 40%; }

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 7, 6, 0.86) 0%, rgba(8, 7, 6, 0.55) 70%, rgba(8, 7, 6, 0.4) 100%),
    linear-gradient(180deg, rgba(8, 7, 6, 0.55) 0%, rgba(8, 7, 6, 0) 40%, rgba(8, 7, 6, 0.75) 100%);
}

.hero-content { max-width: 680px; text-shadow: 0 1px 14px rgba(0, 0, 0, 0.6); }
.hero-content .highlight, .hero-content .btn { text-shadow: none; }

.hero-kicker {
  display: block;
  margin-bottom: var(--space-sm);
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--copper-light);
}

.hero-title { margin-bottom: var(--space-lg); font-size: var(--fs-h1); font-weight: 800; line-height: 1.08; }
.hero-text { max-width: 33em; margin-bottom: var(--space-xl); font-size: var(--fs-lead); color: var(--text-on-photo); }

.hero-actions, .cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm) var(--space-lg);
}

.highlight { color: var(--copper-light); }

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .highlight {
    color: transparent;
    background: linear-gradient(90deg, var(--copper) 0%, var(--copper-glow) 25%, var(--copper-light) 50%, var(--copper) 75%, var(--copper-glow) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

/* Today's price, in a glass panel with a copper edge */
.hero-quote {
  max-width: 440px;
  margin-top: var(--space-2xl);
  padding: var(--space-md) var(--space-lg);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 3px solid var(--copper);
  border-radius: var(--radius-md);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.today-label { font-size: var(--fs-small); font-weight: 600; color: var(--copper-light); }
.today-prices { display: flex; flex-wrap: wrap; align-items: center; gap: 0.2rem 0.9rem; font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; line-height: 1.35; }
.today-sep { display: none; width: 5px; height: 5px; background: var(--copper); border-radius: 50%; }
@media (min-width: 480px) { .today-sep { display: block; } }
.today-note { margin-top: 0.25rem; font-size: 0.88rem; color: var(--text-on-dark-muted); }

/* ==========================================================================
   Marquee and area strip
   ========================================================================== */

.marquee {
  display: flex;
  align-items: center;
  height: var(--marquee-h);
  overflow: hidden;
  /* Raised 3D band: lit top edge, shaded bottom edge */
  background: linear-gradient(180deg, var(--graphite) 0%, var(--ink-soft) 45%, var(--ink-deep) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 -6px 12px rgba(0, 0, 0, 0.45);
}

.marquee-track { display: flex; width: max-content; }

.marquee-item {
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-on-dark);
  white-space: nowrap;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.9), 0 2px 6px rgba(0, 0, 0, 0.5);
}

.marquee-item::after {
  content: '';
  width: 8px;
  height: 8px;
  margin-inline: 1.75rem;
  /* Glossy bead instead of a flat dot */
  background: radial-gradient(circle at 35% 30%, var(--red-glow) 0%, var(--red) 45%, var(--red-btn-bottom) 100%);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(var(--red-rgb), 0.7), 0 1px 2px rgba(0, 0, 0, 0.8);
}

/* Bevelled 3D accent strip: 3-stop gradient, glossy top edge, drop shadow onto the next section */
.area-strip {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: var(--strip-h);
  padding: 0.6rem 0;
  color: var(--white);
  background: linear-gradient(180deg, var(--red-btn-top) 0%, var(--red-btn) 50%, var(--red-btn-bottom) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -2px 0 rgba(0, 0, 0, 0.25), 0 8px 18px rgba(var(--ink-rgb), 0.35);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.45);
}

.area-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-xs) var(--space-xl);
  font-weight: 600;
}

/* ==========================================================================
   Prices
   ========================================================================== */

.prices-layout { display: grid; gap: var(--space-2xl); }
.prices-intro .lead { margin-bottom: var(--space-lg); }

.rules { border-top: 2px solid var(--ink); }
.rules li { padding: 0.7rem 0; color: var(--text-muted); border-bottom: 1px solid var(--line); }
.rules strong { color: var(--text); }

.price-tables { display: grid; gap: var(--space-lg); }

.price-card {
  padding: var(--space-lg);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.price-card h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.75rem; margin-bottom: var(--space-sm); font-size: 1.6rem; }

.price-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price-table th, .price-table td { padding: 0.6rem 0.4rem; text-align: left; border-bottom: 1px solid var(--line); }
.price-table thead th { font-size: 0.85rem; font-weight: 600; line-height: 1.3; color: var(--text-muted); vertical-align: bottom; }
.price-table tbody th { font-weight: 600; white-space: nowrap; }
.price-foot { margin-top: var(--space-xs); font-size: 0.85rem; color: var(--text-muted); }
.price-table td { font-size: 1.1rem; font-weight: 700; text-align: right; }
.price-table thead th:not(:first-child) { text-align: right; }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: 0; }

/* Today's column, picked by script.js */
.price-table .is-today { color: var(--red-text); }
.price-table thead .is-today::after { content: ' today'; display: block; font-weight: 700; }

/* ==========================================================================
   Proof band
   ========================================================================== */

.proof { color: var(--text-on-dark); background: var(--ink); }

.proof-title { max-width: 16em; margin-bottom: 0; font-size: clamp(2.3rem, 1.3rem + 4vw, 4.2rem); font-weight: 800; line-height: 1.06; }
.proof-title > span { display: block; }
.proof-accent { color: var(--copper-light); }
.count { display: inline-block; font-variant-numeric: tabular-nums; }

.facts {
  display: grid;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--line-dark);
}

.fact dt { margin-bottom: 0.3rem; font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; color: var(--white); }
.fact dd { color: var(--text-on-dark-muted); }

/* ==========================================================================
   Menu: sticky intro column, sections as lists with rules
   ========================================================================== */

.menu-layout { display: grid; gap: var(--space-2xl); }
.menu-intro .lead { margin-bottom: var(--space-md); }

.menu-key { display: flex; align-items: center; gap: 0.45rem; margin-bottom: var(--space-md); font-size: var(--fs-small); color: var(--text-muted); }

.chili { display: inline-block; width: 16px; height: 16px; flex: none; color: var(--red); vertical-align: -2px; }

.menu-jump { display: flex; flex-wrap: wrap; gap: 0 var(--space-md); margin-bottom: var(--space-md); }

.menu-jump a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  font-weight: 600;
  color: var(--red-text);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(var(--red-rgb), 0.35);
  text-underline-offset: 5px;
}

.menu-jump a:hover { text-decoration-color: var(--red); }
.menu-also { max-width: 30em; padding-left: var(--space-md); font-size: var(--fs-small); color: var(--text-muted); border-left: 3px solid var(--copper); }

.menu-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-sm); margin-bottom: var(--space-xl); }

.menu-photos li {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--graphite);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.menu-photos img { width: 100%; height: 100%; object-fit: cover; }

.menu-cat { padding-block: var(--space-lg); border-top: 2px solid var(--ink); }
.menu-cat + .menu-cat { margin-top: var(--space-md); }

.menu-cat h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.75rem; margin-bottom: var(--space-sm); font-size: 1.55rem; }
.menu-note { font-family: var(--font-body); font-size: 0.9rem; font-weight: 600; letter-spacing: 0; color: var(--text-muted); }

.menu-items { columns: 2; column-gap: var(--space-xl); }

.menu-items li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0;
  font-size: 1rem;
  line-height: 1.4;
  border-bottom: 1px solid var(--line);
  break-inside: avoid;
}

/* ==========================================================================
   Booking: the two-tap demo
   ========================================================================== */

.book-layout { display: grid; gap: var(--space-2xl); align-items: start; }
.book-layout > *, .menu-layout > *, .prices-layout > *, .contact-grid > * { min-width: 0; } /* the scrolling day chips must not widen the page */
.book-intro .lead { margin-bottom: var(--space-lg); }

.demo-flag {
  max-width: 32em;
  margin-bottom: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  font-size: var(--fs-small);
  color: var(--text-on-dark);
  background: rgba(var(--copper-rgb), 0.12);
  border-left: 3px solid var(--copper);
  border-radius: var(--radius-sm);
}

.demo-flag a { font-weight: 700; color: var(--copper-glow); white-space: nowrap; }

.booker-wrap {
  padding: var(--space-lg) var(--space-md);
  color: var(--text);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 30px 60px rgba(0, 0, 0, 0.35);
}

.booker-again { margin-bottom: var(--space-lg); padding-bottom: var(--space-lg); border-bottom: 1px solid var(--line); }
.booker-again-label { margin-bottom: var(--space-xs); font-size: var(--fs-small); font-weight: 700; color: var(--red-text); }
.booker-again-or { margin-top: var(--space-xs); font-size: var(--fs-small); color: var(--text-muted); text-align: center; }

.chips-group { min-width: 0; margin-bottom: var(--space-lg); padding: 0; border: 0; }
.chips-group legend { margin-bottom: var(--space-xs); padding: 0; font-weight: 700; }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* Days scroll sideways on phones instead of wrapping into a wall of buttons */
.chips--scroll { flex-wrap: nowrap; overflow-x: auto; padding: 4px 2px 8px; margin: -4px -2px 0; scrollbar-width: thin; }

.chip { position: relative; flex: none; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }

.chip span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  padding: 0.4rem 0.85rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  background: var(--white);
  border: 1.5px solid var(--input-border);
  border-radius: var(--radius-md);
}

.chip small { font-size: 0.78rem; font-weight: 600; color: var(--text-muted); }
.chip input:hover + span { border-color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }

/* Selected: filled and ticked, so it isn't shown by colour alone */
.chip input:checked + span {
  color: var(--white);
  background: linear-gradient(180deg, var(--red-btn-top) 0%, var(--red-btn) 50%, var(--red-btn-bottom) 100%);
  border-color: var(--red-btn-bottom);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.chip input:checked + span small { color: rgba(255, 255, 255, 0.85); }
.chip input:checked + span::before { content: '\2713'; font-size: 0.75rem; line-height: 1; }
.chip input:disabled + span { color: var(--text-muted); text-decoration: line-through; background: var(--light); border-style: dashed; cursor: not-allowed; }

.booker-note { margin-top: var(--space-xs); font-size: var(--fs-small); color: var(--text-muted); }
.booker-note:empty { display: none; }
.booker-note.is-error { font-weight: 700; color: var(--error); }
.booker-note a { font-weight: 700; color: var(--red-text); }
.booker-note strong { color: var(--text); }

.booker-saved { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 var(--space-md); margin-bottom: var(--space-md); padding: 0.4rem var(--space-md); background: var(--light); border-radius: var(--radius-md); }
.booker-saved p { font-size: var(--fs-small); }

.form-group { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: var(--space-md); }
.form-group label { font-size: 0.97rem; font-weight: 700; }
.field-hint { font-size: 0.88rem; color: var(--text-muted); }

.form-group input {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  background: var(--white);
  border: 1.5px solid var(--input-border);
  border-radius: var(--radius-sm);
}

.form-group input:focus { outline: none; border-color: var(--red-btn); box-shadow: var(--focus-ring); }
.form-group [aria-invalid="true"] { border-color: var(--error); }

.field-error { display: flex; align-items: center; gap: 0.4rem; font-size: var(--fs-small); font-weight: 600; color: var(--error); }

.field-error::before {
  content: '!';
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 18px;
  height: 18px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  background: var(--error);
  border-radius: 50%;
}

.form-error {
  margin-bottom: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--error);
  background: var(--error-bg);
  border-left: 4px solid var(--error);
  border-radius: var(--radius-sm);
}

.form-error a { color: var(--error); }

.booker-submit { margin-top: var(--space-xs); }

.form-privacy { margin-top: var(--space-sm); font-size: var(--fs-small); color: var(--text-muted); }
.form-privacy a { display: inline-block; padding-block: 0.6rem; color: var(--red-text); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* Honeypot */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.booker-done:focus { outline: none; }

.booker-done-flag {
  display: inline-block;
  margin-bottom: var(--space-md);
  padding: 0.25rem 0.8rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  background: linear-gradient(180deg, var(--copper-glow) 0%, var(--copper-light) 100%);
  border-radius: var(--radius-full);
}

.booker-done h3 { margin-bottom: var(--space-xs); font-size: 1.8rem; }
.booker-done > p { margin-bottom: var(--space-md); color: var(--text-muted); }

.done-summary { margin-bottom: var(--space-md); border-top: 2px solid var(--ink); }
.done-summary > div { display: flex; justify-content: space-between; gap: var(--space-md); padding: 0.55rem 0; border-bottom: 1px solid var(--line); }
.done-summary dt { color: var(--text-muted); }
.done-summary dd { font-weight: 700; text-align: right; }

.done-call a { font-weight: 700; color: var(--red-text); }
.done-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-lg); }
.done-actions .link-btn { text-decoration-color: var(--red); }

.booker-noscript { color: var(--text); }
.booker-noscript a { font-weight: 700; color: var(--red-text); }

/* ==========================================================================
   Inside: photo gallery
   ========================================================================== */

.work-head { max-width: 42em; margin-bottom: var(--space-xl); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); }

.photo-zoom {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--graphite);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  cursor: zoom-in;
}

.photo-zoom img { width: 100%; height: 100%; object-fit: cover; }
.photo-zoom::after { content: ''; position: absolute; inset: 0; background: rgba(var(--ink-rgb), 0); }
.photo-zoom:hover::after, .photo-zoom:focus-visible::after { background: rgba(var(--ink-rgb), 0.35); }
.photo-zoom:hover { box-shadow: var(--shadow-card-hover); }

.zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  color: var(--white);
  background: rgba(var(--ink-rgb), 0.7);
  border-radius: 50%;
  opacity: 0;
}

.zoom-icon svg { width: 22px; height: 22px; }
.photo-zoom:hover .zoom-icon, .photo-zoom:focus-visible .zoom-icon { opacity: 1; }

/* ==========================================================================
   CTA banner
   ========================================================================== */

.cta {
  position: relative;
  isolation: isolate;
  padding-block: var(--section-pad);
  overflow: hidden;
  color: var(--white);
  background: var(--ink-deep);
}

.cta-bg { position: absolute; inset: 0; z-index: -2; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 7, 6, 0.92) 0%, rgba(8, 7, 6, 0.8) 60%, rgba(8, 7, 6, 0.55) 100%); }
.cta-inner { max-width: 620px; }
.cta-inner p { margin-bottom: var(--space-xl); font-size: var(--fs-lead); color: var(--text-on-photo); }

/* ==========================================================================
   Visit
   ========================================================================== */

.contact-grid { display: grid; gap: var(--space-2xl); align-items: start; }
.contact-info > p { max-width: 30em; margin-bottom: var(--space-lg); font-size: var(--fs-lead); color: var(--text-muted); }

.contact-details { border-top: 2px solid var(--ink); }
.contact-details > div { padding: var(--space-sm) 0; border-bottom: 1px solid var(--line); }
.contact-details dt { font-size: 0.9rem; font-weight: 600; color: var(--text-muted); }
.contact-details dd { font-size: 1.1rem; font-weight: 600; }

.contact-details a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--red-text);
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.contact-details a:hover { color: var(--red-text-dark); }

.takeout {
  padding: var(--space-xl) var(--space-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card), 0 20px 50px rgba(var(--ink-rgb), 0.08);
}

.takeout-title { margin-bottom: var(--space-xs); font-size: 1.7rem; }
.takeout > p { margin-bottom: var(--space-lg); color: var(--text-muted); }
.takeout-list { display: grid; gap: var(--space-sm); }

.install-card { margin-top: var(--space-xl); padding-top: var(--space-lg); border-top: 1px solid var(--line); }
.install-card p { margin-bottom: var(--space-md); color: var(--text-muted); }
.install-card strong { color: var(--text); }

/* iPhone and fallback instructions */
.install-sheet {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: var(--space-md);
  background: rgba(8, 7, 6, 0.7);
}

.install-sheet-panel {
  width: min(440px, 100%);
  padding: var(--space-xl) var(--space-lg) var(--space-lg);
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.install-sheet-panel h2 { margin-bottom: var(--space-md); font-size: 1.5rem; }
.install-sheet-panel ol { margin-bottom: var(--space-lg); padding-left: 1.3rem; }
.install-sheet-panel li { margin-bottom: var(--space-xs); }

/* ==========================================================================
   Legal and 404 pages
   ========================================================================== */

.legal { max-width: 760px; padding-block: calc(var(--nav-height) + var(--space-2xl)) var(--space-3xl); }
.legal h1 { margin-bottom: var(--space-xs); font-size: var(--fs-h2); }
.legal h2 { margin: var(--space-xl) 0 var(--space-sm); font-size: 1.45rem; }
.legal p, .legal li { color: var(--text-muted); }
.legal p { margin-bottom: var(--space-md); }
.legal ul { margin-bottom: var(--space-md); padding-left: 1.25rem; list-style: disc; }
.legal li { margin-bottom: var(--space-xs); }
.legal strong { color: var(--text); }
.legal a:not(.btn) { color: var(--red-text); }
.legal-updated { font-size: var(--fs-small); }

.not-found-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-lg); margin-top: var(--space-lg); }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { padding: var(--space-3xl) 0 5rem; color: var(--text-on-dark-muted); background: var(--ink-deep); }
.footer-grid { display: grid; gap: var(--space-xl); padding-bottom: var(--space-2xl); }
.logo--footer { margin-right: 0; }
.footer-brand p { max-width: 320px; margin-top: var(--space-md); }
.site-footer h2 { margin-bottom: var(--space-xs); font-size: 1.15rem; color: var(--white); }

.footer-nav a, .footer-contact a, .footer-bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.footer-contact li:not(:has(a)) { padding-block: 0.4rem; }
.footer-nav a:hover, .footer-contact a:hover, .footer-bottom a:hover { color: var(--copper-glow); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-xs) var(--space-lg);
  padding-top: var(--space-md);
  font-size: var(--fs-small);
  border-top: 1px solid var(--line-dark);
}

.footer-bottom p { display: flex; align-items: center; min-height: 44px; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 4px; }

/* ==========================================================================
   Photo lightbox
   ========================================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 4.5rem var(--gutter);
  background: rgba(8, 7, 6, 0.95);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.lightbox.open { opacity: 1; visibility: visible; pointer-events: auto; }
.lightbox-figure { max-width: min(960px, 100%); }

.lightbox-img {
  width: auto;
  max-width: 100%;
  max-height: 74vh;
  margin-inline: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.lightbox-caption { margin: var(--space-md) auto 0; font-size: var(--fs-small); color: var(--text-on-dark-muted); text-align: center; }

.lightbox-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  cursor: pointer;
}

.lightbox-btn:hover { background: var(--red-btn); border-color: var(--red-btn); }
.lightbox-btn svg { width: 22px; height: 22px; }
.lightbox-close { top: var(--space-md); right: var(--space-md); }
.lightbox-prev, .lightbox-next { bottom: var(--space-md); }
.lightbox-prev { left: calc(50% - 56px); }
.lightbox-next { right: calc(50% - 56px); }

/* Skip rendering work for below-fold sections until needed */
#inside, #visit, .site-footer { content-visibility: auto; contain-intrinsic-size: auto 800px; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 379px) {
  .logo-name { font-size: 1.15rem; }
  .btn-call-mobile span { display: none; }
}

@media (min-width: 480px) {
  .booker-wrap { padding: var(--space-2xl) var(--space-xl); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .takeout { padding: var(--space-2xl) var(--space-xl); }
}

@media (min-width: 768px) {
  .price-tables { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
  .menu-items { columns: 3; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1.3fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: var(--space-3xl); }
  .chips--scroll { flex-wrap: wrap; overflow: visible; }

  .lightbox-prev, .lightbox-next { top: 50%; bottom: auto; margin-top: -24px; }
  .lightbox-prev { left: var(--space-lg); }
  .lightbox-next { right: var(--space-lg); }
}

@media (min-width: 1024px) {
  :root { --nav-height: 80px; --strip-h: 3.75rem; }

  .nav { gap: var(--space-xl); }
  .nav-toggle, .btn-call-mobile { display: none; }
  .logo-mark { width: 34px; height: 34px; }
  .logo-name { font-size: 1.5rem; }

  .nav-menu {
    position: static;
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    max-height: none;
    overflow: visible;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links { display: flex; gap: var(--space-lg); }
  .nav-links a { min-height: 44px; font-size: 1rem; border-bottom: 0; }

  .nav-links a::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--copper);
  }

  .nav-links a:hover::after { width: 100%; }
  .nav-menu .btn-nav { width: auto; margin-top: 0; }

  /* Jordan's rule: hero, marquee and strip all on the first desktop screen */
  .hero {
    display: flex;
    align-items: center;
    min-height: calc(100vh - var(--below-hero));
    min-height: calc(100svh - var(--below-hero));
    padding: calc(var(--nav-height) + 1.5rem) 0 2rem;
  }

  .hero-content { max-width: 760px; }
  .hero-title { font-size: clamp(2.4rem, min(4.3vw, 6.8vh), 4.2rem); margin-bottom: var(--space-md); }
  .hero-text { max-width: 36em; margin-bottom: var(--space-lg); }
  .hero-quote { margin-top: var(--space-lg); padding-block: 0.75rem; }

  /* On load, the chat button sits inside the red strip, clear of the marquee
     and the strip's text; it drops to its usual spot once the page scrolls */
  .site-header:not(.scrolled) ~ div > #cc-chat-toggle { bottom: calc((var(--strip-h) - 53px) / 2); }
  .area-strip-inner { justify-content: flex-start; gap: var(--space-xl) 3rem; padding-right: 13rem; }
  .area-strip { padding: 0; height: var(--strip-h); }
  .area-strip-inner { flex-wrap: nowrap; white-space: nowrap; }

  .prices-layout { grid-template-columns: 4fr 7fr; gap: var(--space-3xl); align-items: start; }
  .menu-layout { grid-template-columns: 1fr 2.4fr; gap: var(--space-3xl); }
  .menu-intro, .prices-intro { position: sticky; top: calc(var(--nav-height) + var(--space-xl)); align-self: start; }
  .book-layout { grid-template-columns: 5fr 6fr; gap: var(--space-3xl); }
  .book-intro { position: sticky; top: calc(var(--nav-height) + var(--space-xl)); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 6fr 5fr; }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .strip-extra { display: none; }
}

/* ==========================================================================
   Motion (only when the visitor has not asked for reduced motion)
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {

  /* --- Transitions --- */
  .btn { transition: all 0.4s var(--ease-out); }
  .btn-primary:not(:disabled):hover, .btn-dark:hover { transform: translateY(-3px); }
  .btn-primary:active, .btn-dark:active { transform: translateY(0); }
  .text-link, .inline-link, .menu-jump a, .link-btn { transition: color var(--transition-fast), text-decoration-color var(--transition-fast); }
  .site-header { transition: border-color var(--transition-base), box-shadow var(--transition-base); }
  .nav-menu { transform: translateY(-6px); transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base); }
  .nav-menu.open { transform: translateY(0); }
  .nav-toggle-bar { transition: transform var(--transition-base), opacity var(--transition-fast); }
  .nav-links a { transition: color var(--transition-fast); }
  .nav-links a::after { transition: width var(--transition-base); }
  .lightbox-btn { transition: background-color var(--transition-fast), border-color var(--transition-fast); }
  .form-group input { transition: border-color var(--transition-fast), box-shadow var(--transition-fast); }
  .chip span { transition: background-color var(--transition-fast), border-color var(--transition-fast), transform 0.3s var(--ease-out); }
  .chip input:checked + span { transform: translateY(-2px); }

  .contact-details > div { transition: transform 0.3s ease; }
  .contact-details > div:has(a):hover { transform: translateX(8px); }
  .footer-nav a, .footer-contact a { transition: transform 0.3s ease, color var(--transition-fast); }
  .footer-nav a:hover, .footer-contact a:hover { transform: translateX(4px); }

  /* --- Scroll reveals (JS adds .visible) --- */
  .js .fade-in {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out);
  }

  .js .fade-in.visible { opacity: 1; transform: translateY(0); }
  .js .fade-in:nth-child(2) { transition-delay: 0.08s; }
  .js .fade-in:nth-child(3) { transition-delay: 0.16s; }
  .js .fade-in:nth-child(4) { transition-delay: 0.24s; }
  .js .fade-in:nth-child(5) { transition-delay: 0.32s; }
  .js .fade-in:nth-child(6) { transition-delay: 0.4s; }

  /* --- Price cards, booking panel and takeout: 3D lift --- */
  .price-card, .takeout, .booker-wrap { transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.5s var(--ease-out); }
  .price-card:hover, .takeout:hover { transform: translateY(-10px); box-shadow: var(--shadow-card-hover); border-color: var(--copper); }

  /* --- Menu rows: accent on hover --- */
  .menu-items li { transition: padding 0.4s var(--ease-out), border-color 0.4s var(--ease-out); }
  .menu-items li:hover { padding-left: 0.4rem; border-bottom-color: var(--red); }
  .menu-photos img { transition: transform var(--transition-slow); }
  .menu-photos li:hover img { transform: scale(1.05); }

  /* --- Gallery: lift and zoom --- */
  .photo-zoom { transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out); }
  .photo-zoom img { transition: transform var(--transition-slow); }
  .photo-zoom::after { transition: background-color var(--transition-base); }
  .zoom-icon { transform: scale(0.8); transition: opacity var(--transition-base), transform var(--transition-base); }
  .photo-zoom:hover { transform: translateY(-6px); }
  .photo-zoom:hover img { transform: scale(1.05); }
  .photo-zoom:hover .zoom-icon, .photo-zoom:focus-visible .zoom-icon { transform: scale(1); }

  /* --- Chili marks pop in like review stars --- */
  .menu-cat.visible .chili { animation: star-pop 0.3s var(--ease-out) 0.3s both; }

  /* --- Hero --- */
  .hero-bg img { animation: hero-zoom-out 20s ease-out forwards; }
  .hero-kicker { animation: slide-down 0.8s var(--ease-out) 0.2s both; }
  .hero-text { animation: slide-up 1s var(--ease-out) 0.45s both; }
  .hero-actions { animation: slide-up 1s var(--ease-out) 0.6s both; }
  .hero-quote { animation: slide-up 1s var(--ease-out) 0.8s both; }
  .highlight { animation: gold-shimmer 4s ease 1s infinite; }
  .btn-pulse { animation: pulse-glow 2.5s ease-in-out 2s infinite; }
  .btn-nav { animation: nav-cta-pulse 2s ease-in-out infinite; }
  .btn-pulse:hover, .btn-nav:hover { animation-play-state: paused; }

  /* --- Counters --- */
  .proof-title.visible .count { animation: pop-in 0.6s var(--ease-out) both; }
  .proof-title.visible .count.bounce { animation: stat-bounce 0.9s ease; }

  /* --- Booking confirmation --- */
  .booker-done:not([hidden]) { animation: slide-up 0.6s var(--ease-out) both; }

  /* --- Marquee --- */
  .marquee-track { animation: scroll-marquee 13s linear infinite; }

  @media (min-width: 768px) {
    .marquee-track { animation-duration: 12s; }
  }

  /* --- Lightbox --- */
  .lightbox { transition: opacity 0.4s ease, visibility 0s linear 0.4s; }
  .lightbox.open { transition: opacity 0.4s ease, visibility 0s; }
  .lightbox.open .lightbox-img { animation: lightbox-zoom 0.4s var(--ease-out); }

  /* --- Keyframes --- */
  @keyframes hero-zoom-out { from { transform: scale(1.15); } to { transform: scale(1); } }
  @keyframes slide-down { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes slide-up { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

  @keyframes gold-shimmer {
    0% { background-position: 0% center; }
    50% { background-position: 100% center; }
    100% { background-position: 0% center; }
  }

  @keyframes pop-in {
    from { opacity: 0; transform: scale(0.5) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
  }

  @keyframes stat-bounce {
    0%, 100% { transform: translateY(0); }
    15% { transform: translateY(-10px); }
    30% { transform: translateY(0); }
    45% { transform: translateY(-5px); }
    60% { transform: translateY(0); }
    75% { transform: translateY(-2px); }
  }

  @keyframes pulse-glow {
    0%, 100% { box-shadow: 0 4px 15px rgba(var(--red-rgb), 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
    50% { box-shadow: 0 8px 40px rgba(var(--red-rgb), 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
  }

  @keyframes nav-cta-pulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(var(--red-rgb), 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
    50% { box-shadow: 0 4px 24px rgba(var(--red-rgb), 0.55), 0 0 0 4px rgba(var(--red-rgb), 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
  }

  @keyframes scroll-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

  @keyframes star-pop {
    0% { opacity: 0; transform: scale(0) rotate(-30deg); }
    70% { opacity: 1; transform: scale(1.2) rotate(5deg); }
    100% { opacity: 1; transform: scale(1) rotate(0); }
  }

  @keyframes lightbox-zoom {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
  }
}

@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  #cc-chat-toggle { transition: bottom 0.4s var(--ease-out), transform 0.25s ease, box-shadow 0.25s ease; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .photo-zoom img { transform: none; }
}

/* Installed as an app: leave room for the phone's status bar and home bar */
@media (display-mode: standalone) {
  .site-footer { padding-bottom: calc(5rem + env(safe-area-inset-bottom)); }
}
