/* ============================================================
   BRKPREPZ — Fuel Your Day. The BRK Way.
   Moody · luxury · bronze on near-black. Self-contained, no framework.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;0,9..144,900;1,9..144,500&family=Manrope:wght@300;400;500;600;700;800&display=swap');

/* ---------- Tokens ---------- */
:root {
  --bg:          #16130f;
  --bg-2:        #1e1a15;
  --bg-3:        #27221b;
  --surface:     rgba(255, 255, 255, 0.035);
  --surface-2:   rgba(255, 255, 255, 0.06);
  --border:      rgba(230, 204, 150, 0.14);
  --border-2:    rgba(230, 204, 150, 0.26);

  --gold:        #c9a44c;
  --gold-bright: #e9d09f;
  --gold-deep:   #8a6a2e;
  --gold-glow:   rgba(201, 164, 76, 0.35);

  --text:        #f4efe4;
  --muted:       #b6ac9a;
  --muted-2:     #968c77;

  --max:         1200px;
  --radius:      18px;
  --radius-sm:   11px;
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);
  --font-display:'Fraunces', Georgia, serif;
  --font-body:   'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; color-scheme: dark; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.006em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; line-height: 1.12; text-wrap: balance; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

::selection { background: var(--gold); color: var(--bg); }
:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }

.skip-link {
  position: absolute; top: -60px; left: 16px; z-index: 200;
  background: var(--gold-bright); color: #16130d; padding: 12px 20px; border-radius: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.03em; transition: top 200ms var(--ease);
}
.skip-link:focus { top: 16px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

.section { padding: 130px 0; position: relative; }
.section-tight { padding: 90px 0; }
@media (max-width: 720px) {
  .section { padding: 76px 0; }
  .section-tight { padding: 60px 0; }
}

/* Masthead: left index number + rule, big flowing headline on the left,
   short support copy on the right — replaces the generic "eyebrow + centered
   heading" template pattern with something that reads like a menu section. */
.masthead { display: flex; gap: 60px; align-items: flex-end; padding-bottom: 30px; border-bottom: 1px solid var(--border); margin-bottom: 64px; }
.masthead .idx { font-family: var(--font-display); font-style: italic; font-size: 15px; color: var(--gold); flex-shrink: 0; padding-bottom: 6px; white-space: nowrap; }
.masthead h2 { font-size: clamp(32px, 4.4vw, 50px); flex: 1; }
.masthead h2 i { color: var(--gold-bright); font-style: italic; }
.masthead .support { max-width: 34ch; font-size: 15.5px; color: var(--muted); padding-bottom: 8px; flex-shrink: 0; }
@media (max-width: 860px) { .masthead { flex-direction: column; align-items: flex-start; gap: 18px; } .masthead .support { max-width: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border-radius: 999px; font-size: 14.5px; font-weight: 600;
  letter-spacing: 0.03em; text-transform: uppercase; cursor: pointer;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), background 220ms var(--ease), border-color 220ms var(--ease), color 220ms var(--ease);
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold) 60%, var(--gold-deep));
  color: #16130d;
  box-shadow: 0 10px 30px -8px var(--gold-glow);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px var(--gold-glow); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border-2); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); background: var(--surface); }
.btn-sm { padding: 12px 22px; font-size: 12.5px; }
.btn svg { width: 16px; height: 16px; }

/* ---------- Nav ---------- */
.nav-wrap { position: fixed; top: 18px; left: 0; right: 0; z-index: 100; padding: 0 20px; }
.nav {
  max-width: var(--max); margin: 0 auto; display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px; border-radius: 999px;
  background: rgba(11, 10, 8, 0.6); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--border); transition: background 300ms var(--ease), border-color 300ms var(--ease);
}
.nav.scrolled { background: rgba(11, 10, 8, 0.88); border-color: var(--border-2); }
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-brand img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); transition: color 200ms var(--ease); position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--gold-bright); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-burger { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--border-2); }
.nav-burger span { display: block; width: 16px; height: 1px; background: var(--text); position: relative; }
.nav-burger span::before, .nav-burger span::after { content: ''; position: absolute; left: 0; width: 16px; height: 1px; background: var(--text); transition: transform 200ms var(--ease); }
.nav-burger span::before { top: -5px; }
.nav-burger span::after { top: 5px; }

@media (max-width: 900px) {
  .nav-links { position: fixed; top: 76px; left: 20px; right: 20px; flex-direction: column; align-items: flex-start; gap: 4px;
    background: rgba(11,10,8,0.97); border: 1px solid var(--border-2); border-radius: 18px; padding: 14px 10px;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all 260ms var(--ease); }
  .nav-links.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-links a { width: 100%; padding: 12px 10px; border-radius: 10px; }
  .nav-links a:hover { background: var(--surface); }
  .nav-burger { display: flex; cursor: pointer; }
  .nav-actions .btn-ghost { display: none; }
}

/* ---------- Scroll-progress rail (desktop only) ---------- */
.rail { position: fixed; right: 30px; top: 50%; transform: translateY(-50%); z-index: 90; display: flex; flex-direction: column; gap: 22px; }
.rail a { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.rail .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--border-2); transition: all 260ms var(--ease); flex-shrink: 0; }
.rail .label {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2);
  opacity: 0; transform: translateX(6px); transition: all 260ms var(--ease); white-space: nowrap;
}
.rail a:hover .label { opacity: 1; transform: translateX(0); }
.rail a.active .dot { background: var(--gold); width: 9px; height: 9px; box-shadow: 0 0 0 3px var(--gold-glow); }
.rail a.active .label { opacity: 1; transform: translateX(0); color: var(--gold-bright); }
@media (max-width: 1180px) { .rail { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 0; overflow: hidden; background: var(--bg); }
.hero-copy { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; text-align: center; padding: 0 24px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.hero-kicker svg { width: 15px; height: 15px; }
.hero-copy h1 { font-size: clamp(42px, 7vw, 92px); line-height: 1; margin-top: 22px; }
.hero-copy h1 i { font-style: italic; color: var(--gold-bright); }
.hero-copy .lede { margin: 26px auto 0; font-size: 18px; color: var(--muted); max-width: 50ch; }

.hero-stage { position: relative; max-width: 760px; margin: 56px auto 0; }
.hero-frame { position: relative; }
.hero-frame-media { position: relative; border-radius: 26px 26px 0 0; overflow: hidden; aspect-ratio: 16/11; }
.hero-frame-media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.hero-frame-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,10,8,0) 55%, rgba(11,10,8,0.92)); }
.hero-mark {
  position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); width: 92px; height: 92px;
  border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.16), rgba(11,10,8,0.55));
  border: 1px solid rgba(255,255,255,0.22); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 20px 50px -14px rgba(0,0,0,0.7); animation: markpulse 4.5s ease-in-out infinite;
}
.hero-mark img { width: 52px; height: auto; filter: drop-shadow(0 0 14px var(--gold-glow)); }
@keyframes markpulse { 0%, 100% { box-shadow: 0 20px 50px -14px rgba(0,0,0,0.7), 0 0 0 0 var(--gold-glow); } 50% { box-shadow: 0 20px 50px -14px rgba(0,0,0,0.7), 0 0 24px 6px var(--gold-glow); } }

.hero-order {
  position: absolute; left: 50%; bottom: -28px; transform: translateX(-50%); z-index: 3;
  display: inline-flex; align-items: center; gap: 12px; padding: 18px 30px 18px 20px; border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold) 60%, var(--gold-deep)); color: #16130d;
  font-size: 14px; font-weight: 700; letter-spacing: 0.02em; box-shadow: 0 20px 50px -14px var(--gold-glow);
  transition: transform 220ms var(--ease); white-space: nowrap;
}
.hero-order:hover { transform: translateX(-50%) translateY(-2px); }
.hero-order .arrow { width: 34px; height: 34px; border-radius: 50%; background: rgba(22,19,13,0.16); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero-order .arrow svg { width: 16px; height: 16px; }

.hero-panel { border-radius: 0 0 26px 26px; background: var(--bg-2); border: 1px solid var(--border); border-top: none; padding: 46px 40px 40px; display: flex; gap: 40px; justify-content: space-between; flex-wrap: wrap; }
.hero-panel .stat b { display: block; font-family: var(--font-display); font-size: 28px; color: var(--gold-bright); }
.hero-panel .stat span { font-size: 12px; color: var(--muted-2); letter-spacing: 0.05em; text-transform: uppercase; }
.hero-panel .note { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); max-width: 32ch; margin-left: auto; }
.hero-panel .note svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }

@media (max-width: 720px) {
  .hero { padding-top: 128px; }
  .hero-frame-media { aspect-ratio: 4/5; border-radius: 20px 20px 0 0; }
  .hero-panel { flex-direction: column; gap: 20px; border-radius: 0 0 20px 20px; padding: 44px 24px 30px; }
  .hero-panel .note { margin-left: 0; max-width: none; }
  .hero-order { bottom: -20px; padding: 12px 18px 12px 12px; font-size: 12.5px; gap: 8px; box-shadow: 0 12px 26px -10px var(--gold-glow); }
  .hero-order .arrow { width: 28px; height: 28px; }
  .hero-order .arrow svg { width: 14px; height: 14px; }
}

/* ---------- Marquee ---------- */
.marquee-wrap { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); overflow: hidden; padding: 20px 0; margin-top: 64px; }
.marquee { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee-track { display: flex; align-items: center; gap: 46px; padding-right: 46px; }
.marquee span { font-family: var(--font-display); font-style: italic; font-size: 16px; color: var(--muted); white-space: nowrap; display: flex; align-items: center; gap: 46px; }
.marquee span b { color: var(--gold-bright); font-style: normal; font-weight: 700; }
.marquee svg { width: 13px; height: 13px; color: var(--gold-deep); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- How it works: connected rail, not cards ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.flow::before { content: ''; position: absolute; top: 15px; left: 6%; right: 6%; height: 1px; background: linear-gradient(90deg, var(--gold-deep), var(--border), var(--gold-deep)); }
.flow-step { position: relative; padding-right: 26px; }
.flow-step .pin { width: 30px; height: 30px; border-radius: 50%; background: var(--bg); border: 1px solid var(--gold-deep); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-style: italic; font-size: 13px; color: var(--gold-bright); position: relative; z-index: 2; }
.flow-step h3 { font-size: 18px; margin: 22px 0 8px; }
.flow-step p { font-size: 14px; color: var(--muted); max-width: 26ch; }
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; gap: 32px; }
  .flow::before { display: none; }
  .flow-step { padding-right: 0; padding-left: 26px; border-left: 1px solid var(--border-2); }
  .flow-step .pin { position: absolute; left: -15px; top: 0; }
  .flow-step h3 { margin-top: 4px; }
}

/* ---------- Story ---------- */
.story-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: center; }
.story-visual { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; border: 1px solid var(--border-2); }
.story-visual img { width: 100%; height: 100%; object-fit: cover; }
.story-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 82%, rgba(11,10,8,0.55)); pointer-events: none; }
.story-badge { position: absolute; bottom: 14px; left: 14px; right: 14px; z-index: 2; padding: 10px 14px; border-radius: var(--radius-sm); background: rgba(11,10,8,0.8); border: 1px solid var(--border-2); backdrop-filter: blur(12px); }
.story-badge b { display: block; font-family: var(--font-display); font-size: 14px; color: var(--gold-bright); line-height: 1.3; }
.story-badge span { font-size: 11px; color: var(--muted); line-height: 1.4; }
@media (max-width: 560px) {
  .story-badge { padding: 9px 12px; }
  .story-badge b { font-size: 13px; }
  .story-badge span { display: none; }
}
.story-copy .kicker { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.story-copy h2 { font-size: clamp(28px, 3.6vw, 40px); margin-top: 14px; }
.story-copy h2 i { font-style: italic; color: var(--gold-bright); }
.story-copy p { color: var(--muted); font-size: 16.5px; margin-top: 18px; }
.story-list { margin-top: 30px; display: grid; gap: 14px; }
.story-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text); }
.story-list svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
@media (max-width: 900px) { .story-grid { grid-template-columns: 1fr; gap: 40px; } .story-visual { aspect-ratio: 16/10; } }

/* ---------- Ingredient breakdown ---------- */
.breakdown { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-2); }
.breakdown-img { position: relative; aspect-ratio: 21/12; }
.breakdown-img img { width: 100%; height: 100%; object-fit: cover; }
.breakdown-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,10,8,0.55), transparent 40%); }
.ing-tag {
  position: absolute; display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
  background: rgba(11,10,8,0.72); border: 1px solid var(--border-2); backdrop-filter: blur(8px);
  font-size: 12.5px; font-weight: 600; color: var(--text);
}
.ing-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold-glow); }
.breakdown-info { padding: 34px 40px 40px; background: var(--bg-2); display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.breakdown-info h3 { font-size: 24px; }
.breakdown-info p { color: var(--muted); font-size: 14.5px; margin-top: 8px; max-width: 46ch; }
.breakdown-macros { display: flex; gap: 24px; }
.breakdown-macros div { text-align: center; }
.breakdown-macros b { display: block; font-family: var(--font-display); font-size: 20px; color: var(--gold-bright); }
.breakdown-macros span { font-size: 10.5px; color: var(--muted-2); letter-spacing: 0.05em; text-transform: uppercase; }
@media (max-width: 720px) { .breakdown-img { aspect-ratio: 4/5; } .ing-tag { font-size: 11px; padding: 7px 11px; } .breakdown-info { flex-direction: column; align-items: flex-start; } }

/* ---------- Goal plans: kcal comparison bar ---------- */
.goal-tabs { display: flex; gap: 8px; margin-bottom: 46px; flex-wrap: wrap; }
.goal-tab { padding: 11px 20px; border-radius: 999px; border: 1px solid var(--border-2); font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); transition: all 220ms var(--ease); cursor: pointer; }
.goal-tab:hover { color: var(--text); }
.goal-tab.active { background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep)); color: #16130d; border-color: transparent; }
.goal-panel { display: none; }
.goal-panel.active { display: block; animation: fadein 420ms var(--ease); }
@keyframes fadein { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.kcal-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.kcal-row .tag { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.kcal-row h3 { font-size: 26px; }
.kcal-bar-wrap { display: flex; align-items: center; gap: 18px; }
.kcal-end { text-align: center; flex-shrink: 0; }
.kcal-end b { display: block; font-family: var(--font-display); font-size: 30px; }
.kcal-end span { font-size: 11px; color: var(--muted-2); letter-spacing: 0.06em; text-transform: uppercase; }
.kcal-end.now b { color: var(--muted); }
.kcal-end.target b { color: var(--gold-bright); }
.kcal-track { flex: 1; height: 6px; border-radius: 999px; background: var(--surface-2); position: relative; overflow: hidden; }
.kcal-fill { position: absolute; top: 0; left: 0; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright)); width: 0%; transition: width 900ms var(--ease); }
.goal-desc { color: var(--muted); font-size: 15px; margin-top: 22px; max-width: 60ch; }

.goal-meals { margin-top: 36px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.goal-meal { background: var(--bg-2); padding: 22px 20px; }
.goal-meal .slot { font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.goal-meal .name { font-weight: 600; font-size: 14.5px; margin-top: 10px; line-height: 1.35; }
.goal-meal .cal { font-size: 12.5px; color: var(--muted-2); margin-top: 8px; }
@media (max-width: 860px) { .goal-meals { grid-template-columns: 1fr 1fr; } .kcal-bar-wrap { flex-wrap: wrap; } .kcal-track { order: 3; width: 100%; flex-basis: 100%; } }
@media (max-width: 520px) { .goal-meals { grid-template-columns: 1fr; } }

/* ---------- Calculator ---------- */
.calc-panel { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 44px; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 0; overflow: hidden; }
.calc-form { padding-right: 44px; border-right: 1px solid var(--border); }
.calc-field { margin-bottom: 26px; }
.calc-field label { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.calc-input-wrap { position: relative; }
.calc-input-wrap input { width: 100%; background: var(--bg-2); border: 1px solid var(--border-2); border-radius: var(--radius-sm); padding: 14px 50px 14px 16px; font-family: var(--font-display); font-size: 20px; color: var(--text); }
.calc-input-wrap input:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 2px; }
.calc-input-wrap span { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 12px; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.05em; pointer-events: none; }
.calc-toggle { display: flex; gap: 8px; flex-wrap: wrap; }
.calc-toggle button { flex: 1; padding: 12px 10px; border-radius: var(--radius-sm); border: 1px solid var(--border-2); font-size: 12.5px; font-weight: 600; color: var(--muted); transition: all 200ms var(--ease); white-space: nowrap; }
.calc-toggle button:hover { color: var(--text); }
.calc-toggle button.active { background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep)); color: #16130d; border-color: transparent; }
.calc-submit { width: 100%; margin-top: 6px; }

.calc-result { padding-left: 44px; }
.calc-result .placeholder { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; height: 100%; color: var(--muted-2); font-size: 14px; gap: 10px; }
.calc-result .placeholder svg { width: 30px; height: 30px; color: var(--gold-deep); }
.calc-result-body { display: none; }
.calc-result-body.show { display: block; animation: fadein 460ms var(--ease); }
.calc-summary { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.calc-summary h3 { font-size: 22px; }
.calc-summary .weekly { font-size: 13px; color: var(--muted-2); }
.calc-summary .weekly b { color: var(--gold-bright); font-family: var(--font-display); font-size: 15px; }
.calc-day-meals { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 26px; }
.calc-day-meals .goal-meal { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 18px; }
.calc-day-meals .goal-meal .slot { width: 84px; flex-shrink: 0; }
.calc-day-meals .goal-meal .name { margin-top: 0; flex: 1; }
.calc-recommend { display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: var(--radius-sm); background: linear-gradient(135deg, rgba(201,164,76,0.14), rgba(201,164,76,0.03)); border: 1px solid var(--border-2); flex-wrap: wrap; }
.calc-recommend .icon { width: 44px; height: 44px; border-radius: 50%; background: var(--gold-bright); color: #16130d; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.calc-recommend .icon svg { width: 22px; height: 22px; }
.calc-recommend .copy { flex: 1; min-width: 180px; }
.calc-recommend .copy b { display: block; font-family: var(--font-display); font-size: 17px; color: var(--gold-bright); }
.calc-recommend .copy span { font-size: 13px; color: var(--muted); }
@media (max-width: 860px) {
  .calc-panel { grid-template-columns: 1fr; padding: 30px; gap: 34px; }
  .calc-form { padding-right: 0; border-right: none; padding-bottom: 34px; border-bottom: 1px solid var(--border); }
  .calc-result { padding-left: 0; }
  .calc-day-meals { grid-template-columns: 1fr; }
}
@media (min-width: 861px) { .calc-day-meals { grid-template-columns: repeat(4, 1fr); } .calc-day-meals .goal-meal { flex-direction: column; align-items: flex-start; padding: 18px; } .calc-day-meals .goal-meal .slot { width: auto; } }

/* ---------- Bundles ---------- */
.bundle-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.bundle-card {
  position: relative; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface);
  padding: 32px 26px; text-align: center; cursor: pointer; transition: transform 240ms var(--ease), border-color 240ms var(--ease), background 240ms var(--ease);
}
.bundle-card:hover { transform: translateY(-5px); border-color: var(--border-2); }
.bundle-card.recommended { border-color: var(--gold); background: linear-gradient(180deg, rgba(201,164,76,0.1), var(--surface)); }
.bundle-card .flag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep)); color: #16130d; font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; opacity: 0; transition: opacity 200ms var(--ease);
}
.bundle-card.recommended .flag { opacity: 1; }
.bundle-card .count { font-family: var(--font-display); font-size: 44px; color: var(--gold-bright); line-height: 1; }
.bundle-card .count-label { font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); margin-top: 6px; }
.bundle-card .price { font-family: var(--font-display); font-size: 26px; margin-top: 18px; }
.bundle-card .per-meal { font-size: 12px; color: var(--muted-2); margin-top: 4px; }
.bundle-card .split { font-size: 12.5px; color: var(--muted); margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); min-height: 40px; }
.bundle-card .btn { width: 100%; margin-top: 20px; }
@media (max-width: 980px) { .bundle-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .bundle-grid { grid-template-columns: 1fr; } }

/* ---------- Checkout ---------- */
.checkout-panel { border-radius: var(--radius); border: 1px solid var(--border-2); background: linear-gradient(160deg, var(--bg-3), var(--bg-2)); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; position: relative; }
.checkout-panel::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 80% at 100% 0%, var(--gold-glow), transparent 60%); opacity: 0.25; pointer-events: none; }
.checkout-order { padding: 44px; position: relative; z-index: 1; }
.checkout-order .eyebrow { display: flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.checkout-order h3 { font-size: 26px; margin-top: 14px; }
.checkout-select { margin-top: 22px; }
.checkout-select label { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 10px; }
.checkout-bundles { display: flex; flex-direction: column; gap: 10px; }
.checkout-bundle-opt {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px;
  border-radius: var(--radius-sm); border: 1px solid var(--border-2); background: var(--surface); cursor: pointer; transition: all 200ms var(--ease);
}
.checkout-bundle-opt:hover { border-color: var(--gold-deep); }
.checkout-bundle-opt.selected { border-color: var(--gold); background: rgba(201,164,76,0.1); }
.checkout-bundle-opt .name { font-weight: 600; font-size: 14.5px; }
.checkout-bundle-opt .name small { display: block; font-weight: 400; color: var(--muted-2); font-size: 11.5px; margin-top: 2px; }
.checkout-bundle-opt .price { font-family: var(--font-display); color: var(--gold-bright); font-size: 16px; }
.checkout-bundle-opt input { accent-color: var(--gold); width: 17px; height: 17px; flex-shrink: 0; }

.checkout-summary { padding: 44px; background: rgba(0,0,0,0.18); position: relative; z-index: 1; display: flex; flex-direction: column; }
.checkout-summary h4 { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 20px; }
.checkout-line { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.checkout-line .qty-stepper { display: flex; align-items: center; gap: 10px; }
.checkout-line .qty-stepper button { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--border-2); display: flex; align-items: center; justify-content: center; font-size: 15px; line-height: 1; transition: all 180ms var(--ease); }
.checkout-line .qty-stepper button:hover { border-color: var(--gold); color: var(--gold-bright); }
.checkout-line .qty-stepper span { min-width: 16px; text-align: center; font-family: var(--font-display); }
.checkout-total { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0; margin-top: 4px; }
.checkout-total b { font-family: var(--font-display); font-size: 30px; color: var(--gold-bright); }
.checkout-min {
  display: flex; align-items: center; gap: 10px; font-size: 13px; padding: 12px 14px; border-radius: var(--radius-sm);
  background: rgba(120, 200, 150, 0.08); border: 1px solid rgba(120, 200, 150, 0.28); color: #b9e2c6; margin-top: 6px;
  transition: all 240ms var(--ease);
}
.checkout-min svg { width: 16px; height: 16px; flex-shrink: 0; }
.checkout-min.short { background: rgba(210,120,90,0.08); border-color: rgba(210,120,90,0.3); color: #e6b8a2; }
.checkout-pay {
  margin-top: 24px; width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 18px; border-radius: 999px; background: linear-gradient(180deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  color: #16130d; font-size: 14.5px; font-weight: 700; letter-spacing: 0.02em; box-shadow: 0 16px 40px -14px var(--gold-glow);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}
.checkout-pay:hover { transform: translateY(-2px); box-shadow: 0 20px 46px -14px var(--gold-glow); }
.checkout-pay svg { width: 17px; height: 17px; }
.checkout-badge { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: 11.5px; color: var(--muted-2); letter-spacing: 0.03em; }
.checkout-badge svg { width: 13px; height: 13px; }
.checkout-alt { text-align: center; margin-top: 16px; font-size: 12.5px; color: var(--muted-2); }
.checkout-alt a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.checkout-toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); z-index: 300; opacity: 0; pointer-events: none;
  background: var(--bg-2); border: 1px solid var(--gold-deep); color: var(--text); padding: 14px 22px; border-radius: 999px;
  font-size: 13.5px; box-shadow: 0 20px 50px -14px rgba(0,0,0,0.6); transition: all 320ms var(--ease); max-width: 90vw; text-align: center;
}
.checkout-toast.show { opacity: 1; transform: translate(-50%, 0); }

.checkout-tabs { display: flex; gap: 8px; margin-bottom: 30px; }
.checkout-tab { padding: 12px 24px; border-radius: 999px; border: 1px solid var(--border-2); font-size: 13px; font-weight: 600; letter-spacing: 0.03em; color: var(--muted); transition: all 200ms var(--ease); }
.checkout-tab:hover { color: var(--text); }
.checkout-tab.active { background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep)); color: #16130d; border-color: transparent; }

.ala-carte-list { display: flex; flex-direction: column; gap: 10px; }
.ala-carte-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-radius: var(--radius-sm); border: 1px solid var(--border-2); background: var(--surface); }
.ala-carte-row .name { font-weight: 600; font-size: 14.5px; }
.ala-carte-row .name small { display: block; font-weight: 400; color: var(--muted-2); font-size: 11.5px; margin-top: 2px; }
.ala-carte-row.has-qty { border-color: var(--gold-deep); background: rgba(201,164,76,0.06); }

.ala-carte-summary { min-height: 20px; margin-bottom: 6px; }
.ala-carte-empty { font-size: 13.5px; color: var(--muted-2); }
.ala-carte-summary .checkout-line { font-size: 13.5px; padding: 8px 0; }
.ala-carte-summary .checkout-line span:first-child { color: var(--muted); }

/* ---------- Bundle meal picker ---------- */
.picker-progress { float: right; color: var(--gold-bright); font-weight: 700; text-transform: none; letter-spacing: 0; font-size: 12px; }
.meal-picker { max-height: 420px; overflow-y: auto; padding-right: 6px; }
.meal-picker-group { margin-bottom: 20px; }
.meal-picker-group:last-child { margin-bottom: 0; }
.meal-picker-group-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.meal-picker-group-head b { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.meal-picker-group-head span { font-size: 11.5px; color: var(--muted-2); }
.meal-picker-group.complete .meal-picker-group-head span { color: #9bd6ab; }
.meal-picker-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--bg-2); margin-bottom: 8px; }
.meal-picker-row:last-child { margin-bottom: 0; }
.meal-picker-row.picked { border-color: var(--gold-deep); }
.meal-picker-row .name { font-size: 13.5px; font-weight: 500; }

/* ---------- Address form ---------- */
.address-form { display: flex; flex-direction: column; gap: 10px; }
.address-form input {
  width: 100%; background: var(--bg-2); border: 1px solid var(--border-2); border-radius: var(--radius-sm);
  padding: 13px 16px; font-family: var(--font-body); font-size: 14px; color: var(--text);
}
.address-form input::placeholder { color: var(--muted-2); }
.address-form input:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 2px; }
.address-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.address-note { font-size: 12px; color: #e6b8a2; margin-top: 8px; min-height: 1em; }

.checkout-pay[disabled] { opacity: 0.45; cursor: not-allowed; box-shadow: none; }
.checkout-pay[disabled]:hover { transform: none; }
.checkout-pay.loading { opacity: 0.75; cursor: wait; }

@media (max-width: 860px) {
  .checkout-panel { grid-template-columns: 1fr; }
  .checkout-order { border-bottom: 1px solid var(--border); }
  .checkout-order, .checkout-summary { padding: 32px 26px; }
  .checkout-tabs { flex-wrap: wrap; }
  .checkout-tab { flex: 1; text-align: center; }
  .address-form-row { grid-template-columns: 1fr; }
}

/* ---------- Menu teaser / grid (shared with menu.html) ---------- */
.menu-teaser-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.dish-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface); transition: transform 260ms var(--ease), border-color 260ms var(--ease); }
.dish-card:hover { transform: translateY(-6px); border-color: var(--border-2); }
.dish-media { position: relative; aspect-ratio: 1/1; overflow: hidden; }
.dish-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.dish-card:hover .dish-media img { transform: scale(1.06); }
.dish-media .cat { position: absolute; top: 12px; left: 12px; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: rgba(11,10,8,0.75); border: 1px solid var(--border-2); color: var(--gold-bright); backdrop-filter: blur(6px); }
.dish-body { padding: 20px 20px 22px; }
.dish-body h3 { font-size: 18px; margin-bottom: 6px; }
.dish-body .desc { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; min-height: 36px; }
.dish-macros { display: flex; gap: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
.dish-macros div { text-align: center; flex: 1; }
.dish-macros b { display: block; font-size: 14px; font-family: var(--font-display); color: var(--gold-bright); }
.dish-macros span { font-size: 10px; color: var(--muted-2); letter-spacing: 0.05em; text-transform: uppercase; }
@media (max-width: 980px) { .menu-teaser-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .menu-teaser-grid { grid-template-columns: 1fr; } }

/* ---------- Delivery / area ---------- */
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.area-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; }
.area-pill { padding: 12px; text-align: center; border-radius: var(--radius-sm); border: 1px solid var(--border-2); font-family: var(--font-display); font-size: 15px; letter-spacing: 0.02em; color: var(--gold-bright); background: var(--surface); }
.area-note { margin-top: 22px; font-size: 14px; color: var(--muted); }
.area-card { border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); padding: 40px; }
.area-row { display: flex; align-items: flex-start; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.area-row:last-child { border-bottom: none; }
.area-row svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.area-row b { display: block; font-size: 15px; margin-bottom: 4px; }
.area-row span { font-size: 13.5px; color: var(--muted); }
@media (max-width: 900px) { .area-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Delivery distance checker + map ---------- */
.delivery-checker { margin-top: 60px; border-radius: var(--radius); border: 1px solid var(--border-2); background: var(--surface); overflow: hidden; display: grid; grid-template-columns: 1.2fr 1fr; }
.delivery-checker-map { position: relative; min-height: 420px; background: var(--bg-2); }
.delivery-checker-map #deliveryMap { position: absolute; inset: 0; }
.delivery-checker-panel { padding: 40px; }
.delivery-checker-panel h3 { font-size: 22px; margin-top: 12px; }
.delivery-checker-input { display: flex; gap: 10px; margin-top: 22px; }
.delivery-checker-input input {
  flex: 1; background: var(--bg-2); border: 1px solid var(--border-2); border-radius: var(--radius-sm);
  padding: 13px 16px; font-family: var(--font-body); font-size: 14px; color: var(--text);
}
.delivery-checker-input input::placeholder { color: var(--muted-2); }
.delivery-checker-input input:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 2px; }
.delivery-checker-result { margin-top: 20px; min-height: 20px; }
.delivery-result-card { padding: 18px 20px; border-radius: var(--radius-sm); border: 1px solid var(--border-2); background: var(--bg-2); }
.delivery-result-card .miles { font-family: var(--font-display); font-size: 22px; color: var(--gold-bright); }
.delivery-result-card .fee { margin-top: 8px; font-size: 15px; font-weight: 600; }
.delivery-result-card .fee.free { color: #9bd6ab; }
.delivery-result-card .fee.out-of-range { color: #e6b8a2; }
.delivery-result-note { margin-top: 8px; font-size: 12.5px; color: var(--muted-2); }
.delivery-checker-error { font-size: 13px; color: #e6b8a2; }

/* Leaflet dark-theme adjustments */
#deliveryMap { border-radius: 0; filter: saturate(0.55) brightness(0.72) contrast(1.05); }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: var(--bg-2); color: var(--text); }
.leaflet-popup-content { font-family: var(--font-body); font-size: 13px; }
.leaflet-control-attribution { background: rgba(11,10,8,0.75) !important; color: var(--muted-2) !important; }
.leaflet-control-attribution a { color: var(--muted) !important; }
.leaflet-control-zoom a { background: var(--bg-2) !important; color: var(--text) !important; border-color: var(--border-2) !important; }

@media (max-width: 900px) {
  .delivery-checker { grid-template-columns: 1fr; }
  .delivery-checker-map { min-height: 280px; }
  .delivery-checker-panel { padding: 30px 26px; }
}

/* ---------- Proof: single stat strip, not fake review cards ---------- */
.stat-strip { display: flex; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.stat-strip .cell { flex: 1; padding: 40px 30px; text-align: center; border-right: 1px solid var(--border); }
.stat-strip .cell:last-child { border-right: none; }
.stat-strip .cell b { display: block; font-family: var(--font-display); font-size: 38px; color: var(--gold-bright); }
.stat-strip .cell span { display: block; font-size: 13px; color: var(--muted); margin-top: 8px; max-width: 22ch; margin-inline: auto; }
@media (max-width: 720px) { .stat-strip { flex-direction: column; } .stat-strip .cell { border-right: none; border-bottom: 1px solid var(--border); } .stat-strip .cell:last-child { border-bottom: none; } }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--border); max-width: 860px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 4px; cursor: pointer; width: 100%; text-align: left; }
.faq-q:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 4px; border-radius: 6px; }
.faq-q h3 { font-size: 17px; font-weight: 600; font-family: var(--font-body); }
.faq-q .plus { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--border-2); flex-shrink: 0; position: relative; transition: transform 260ms var(--ease), border-color 260ms var(--ease); }
.faq-q .plus::before, .faq-q .plus::after { content: ''; position: absolute; background: var(--gold); top: 50%; left: 50%; }
.faq-q .plus::before { width: 10px; height: 1px; transform: translate(-50%,-50%); }
.faq-q .plus::after { width: 1px; height: 10px; transform: translate(-50%,-50%); transition: opacity 200ms var(--ease); }
.faq-item.open .plus { transform: rotate(45deg); border-color: var(--gold); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 360ms var(--ease); }
.faq-a p { padding: 0 4px 26px; color: var(--muted); font-size: 15px; max-width: 70ch; }

/* ---------- CTA banner ---------- */
.cta-banner { border-radius: 28px; padding: 80px 60px; text-align: center; position: relative; overflow: hidden; background: linear-gradient(160deg, var(--bg-3), var(--bg)); border: 1px solid var(--border-2); }
.cta-banner::before { content: ''; position: absolute; inset: -40%; background: radial-gradient(circle, var(--gold-glow), transparent 60%); opacity: 0.5; }
.cta-banner-inner { position: relative; z-index: 2; }
.cta-banner .kicker { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.cta-banner h2 { font-size: clamp(30px, 4.4vw, 48px); max-width: 16ch; margin: 14px auto 0; }
.cta-banner p { color: var(--muted); margin-top: 18px; font-size: 16px; }
.cta-banner .actions { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 36px; flex-wrap: wrap; }
@media (max-width: 700px) { .cta-banner { padding: 56px 26px; } .cta-banner p { margin-top: 16px; } .cta-banner .actions { margin-top: 34px; } }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--border); padding: 70px 0 32px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 32px; margin-bottom: 18px; }
.footer-brand p { color: var(--muted); font-size: 14px; max-width: 32ch; }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border-2); display: flex; align-items: center; justify-content: center; transition: all 220ms var(--ease); }
.footer-social a:hover { border-color: var(--gold); background: var(--surface); }
.footer-social svg { width: 16px; height: 16px; }
.footer-col h4 { font-family: var(--font-body); font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; font-weight: 700; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a, .footer-col span { font-size: 14.5px; color: var(--muted); }
.footer-col a:hover { color: var(--gold-bright); }
.footer-bottom { margin-top: 60px; padding-top: 28px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.footer-bottom p { font-size: 13px; color: var(--muted-2); }
.footer-bottom .legal-links { display: flex; gap: 22px; }
.footer-bottom .legal-links a { font-size: 13px; color: var(--muted-2); }
.footer-bottom .legal-links a:hover { color: var(--gold-bright); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0; transform: translateY(16px) scale(0.985); filter: blur(4px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease), filter 700ms var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
.reveal-stagger > * {
  opacity: 0; transform: translateY(14px); filter: blur(3px);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease), filter 500ms var(--ease);
}
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); filter: blur(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 400ms; }

/* ---------- Misc shared ---------- */
/* Centered via absolute + translate, not flex — flex align on a single-child icon
   badge proved unreliable on first paint in some browsers, this isn't. */
.badge-ring { flex-shrink: 0; position: relative; width: 60px; height: 60px; border-radius: 50%; border: 1px solid var(--border-2); background: var(--surface); }
.badge-ring svg { display: block; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 28px; height: 28px; color: var(--gold); }
@media (max-width: 560px) {
  .badge-ring { width: 50px; height: 50px; }
  .badge-ring svg { width: 23px; height: 23px; }
}

/* ---------- Shared hero header (menu.html + order.html) ---------- */
.menu-hero { padding: 168px 0 60px; text-align: center; }
.menu-hero .kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.menu-hero h1 { font-size: clamp(38px, 6vw, 60px); margin-top: 16px; }
.menu-hero h1 i { font-style: italic; color: var(--gold-bright); }
.menu-hero p { color: var(--muted); max-width: 56ch; margin: 20px auto 0; font-size: 17px; }

/* ---------- Bundles / delivery homepage CTAs ---------- */
.bundles-cta, .delivery-cta { text-align: center; margin-top: 42px; }

/* ---------- Order page: step nav ---------- */
.order-steps-nav { display: flex; align-items: center; justify-content: center; gap: 0; margin: 0 auto 10px; max-width: 640px; }
.order-steps-nav .step { display: flex; align-items: center; gap: 10px; color: var(--muted-2); font-size: 13px; font-weight: 600; letter-spacing: 0.03em; }
.order-steps-nav .step .n { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border-2); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 13px; flex-shrink: 0; transition: all 220ms var(--ease); }
.order-steps-nav .step.active { color: var(--text); }
.order-steps-nav .step.active .n { background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep)); color: #16130d; border-color: transparent; }
.order-steps-nav .step.done .n { background: var(--gold-deep); color: var(--text); border-color: transparent; }
.order-steps-nav .step:not(:last-child)::after { content: ''; width: 40px; height: 1px; background: var(--border-2); margin: 0 14px; }
@media (max-width: 640px) {
  .order-steps-nav .step .t { display: none; }
  .order-steps-nav .step:not(:last-child)::after { width: 20px; margin: 0 8px; }
}

/* Step 1 panels hold only .checkout-order (no summary sidebar) — override the 2-col grid */
#checkoutView-bundle, #checkoutView-alacarte { grid-template-columns: 1fr; }

/* ---------- Order page: type choice (bundle vs individual dishes) ---------- */
.type-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 40px; }
.type-choice-btn {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 26px 24px; border-radius: var(--radius); border: 1px solid var(--border-2);
  background: var(--surface); text-align: left; transition: all 220ms var(--ease);
}
.type-choice-btn:hover { border-color: var(--gold-deep); transform: translateY(-2px); }
.type-choice-btn.active { border-color: var(--gold); background: linear-gradient(180deg, rgba(201,164,76,0.12), rgba(201,164,76,0.03)); }
.type-choice-btn .icon { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--bg-3); color: var(--gold); flex-shrink: 0; }
.type-choice-btn .icon svg { width: 20px; height: 20px; }
.type-choice-btn .label { font-family: var(--font-display); font-size: 19px; }
.type-choice-btn .sub { font-size: 13px; color: var(--muted); }
@media (max-width: 640px) {
  .type-choice { grid-template-columns: 1fr; }
}

.step1-mini-summary {
  display: flex; align-items: center; gap: 16px; margin-top: 22px; padding: 16px 18px;
  border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--bg-2); flex-wrap: wrap;
}
.step1-mini-summary .line-name { color: var(--muted); font-size: 14px; margin-right: auto; }
.step1-mini-summary b { font-family: var(--font-display); font-size: 19px; color: var(--gold-bright); }

/* ---------- Order page: review step ---------- */
.review-panel { max-width: 640px; margin: 0 auto; padding: 40px; border-radius: var(--radius); border: 1px solid var(--border-2); background: var(--surface); }
.review-content { margin-top: 18px; }
.review-order-type { font-family: var(--font-display); font-size: 18px; color: var(--gold-bright); margin-bottom: 10px; }
.review-line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.review-line:last-child { border-bottom: none; }
.review-actions { display: flex; justify-content: space-between; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

/* ---------- Floating cart widget (index.html + menu.html) ---------- */
.cart-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 60; width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep)); color: #16130d; border: none;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  cursor: pointer; transition: transform 220ms var(--ease);
}
.cart-fab:hover { transform: scale(1.06); }
.cart-fab svg { width: 24px; height: 24px; }
.cart-fab-count {
  position: absolute; top: -4px; right: -4px; background: var(--bg); color: var(--gold-bright);
  border: 1px solid var(--gold-deep); border-radius: 999px; min-width: 20px; height: 20px; padding: 0 5px;
  font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.cart-fab:not(.has-items) .cart-fab-count { display: none; }
.cart-popup {
  position: fixed; right: 24px; bottom: 92px; z-index: 60; width: 320px; max-width: calc(100vw - 48px);
  border-radius: var(--radius); border: 1px solid var(--border-2); background: var(--bg-2);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5); padding: 22px; opacity: 0; visibility: hidden;
  transform: translateY(10px); transition: all 220ms var(--ease);
}
.cart-popup.open { opacity: 1; visibility: visible; transform: translateY(0); }
.cart-popup h4 { font-family: var(--font-display); font-size: 17px; margin-bottom: 12px; }
.cart-popup-empty { font-size: 13.5px; color: var(--muted); }
.cart-popup-empty a { color: var(--gold); text-decoration: underline; }
.cart-popup-list { max-height: 260px; overflow-y: auto; }
.cart-popup-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.cart-popup-row .name { flex: 1; }
.cart-popup-row .price { color: var(--gold-bright); font-size: 12.5px; white-space: nowrap; }
.cart-popup-total { display: flex; justify-content: space-between; padding: 14px 0; font-size: 14px; }
.cart-popup-total b { color: var(--gold-bright); font-family: var(--font-display); }
.cart-popup-cta { display: block; text-align: center; margin-top: 6px; }
body.order-page .cart-fab, body.order-page .cart-popup { display: none; }

/* ---------- Menu page: quick-add per dish ---------- */
.quick-add {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px;
  padding-top: 16px; border-top: 1px solid var(--border);
}
.quick-add-price { font-size: 12.5px; color: var(--muted); }

