/* Reliance Catering, v3 (28 Nov 2026). Black and gold, per the owner's brief.
   Gold is sampled from the logo (brand/reliance-logo-original.jpeg):
   highlight #eee3ad / #e7c56c, body #d9a441 / #dea742, shade #a8772a.
   One face: Inter, self-hosted variable.

   Mobile first (28 Nov). The base rules are the phone. The layout grows at two
   min-width steps, and nothing narrows with max-width:
     821px  the desktop layout: two-column hero, side tray, no dock (app.js
            treats max-width 820px as a phone, so keep the two in step)
     1101px the main nav joins the bar */

/* Inter is declared in /fonts.css (self-hosted). */

:root {
  --bk: #0b0906;          /* warm rich black, the logo's ground */
  --bk-2: #14100b;        /* raised surface */
  --bk-3: #1d1710;        /* wells, inputs */
  --gold: #d9a441;        /* logo gold */
  --gold-hi: #eed9a0;     /* logo highlight */
  --gold-lo: #a8772a;     /* logo shade */
  --ink: #f4ecdd;         /* warm white */
  --ink-2: #b8ac96;
  --ink-3: #857a67;
  --line: rgba(217, 164, 65, .2);
  --line-2: rgba(244, 236, 221, .09);
  --metal: linear-gradient(135deg, #f3dc9c 0%, #d9a441 38%, #a8772a 68%, #e9c873 100%);

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 20px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --pad: clamp(16px, 4vw, 56px);
  --bar-h: 62px;          /* the top bar */
  --dock-h: 64px;         /* the phone dock; 0 from 821px */
  --tap: 44px;            /* the smallest thing a thumb has to hit */
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bk); color: var(--ink);
  font: 400 16px/1.55 var(--font); font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom)); /* the dock never sits on the last line */
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
p { margin: 0; }
::selection { background: var(--gold); color: var(--bk); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.gold-text { background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 650; font-size: 16px; letter-spacing: -.01em; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, border-color .2s, color .2s, box-shadow .3s;
}
.btn:active { transform: scale(.97); }
.btn-gold { background: var(--metal); color: #1a1206; box-shadow: 0 10px 30px -12px rgba(217,164,65,.6), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-gold:hover { box-shadow: 0 14px 40px -10px rgba(217,164,65,.75), inset 0 1px 0 rgba(255,255,255,.45); }
.btn-line { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--gold); color: var(--gold-hi); }
.btn-sm { min-height: var(--tap); padding: 0 18px; font-size: 15px; }
.btn-block { width: 100%; }

/* Header */
.top {
  position: fixed; inset: 0 0 auto; z-index: 40; height: var(--bar-h);
  display: flex; align-items: center; gap: 12px; padding: 0 var(--pad);
  transition: background-color .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.top.solid { background: rgba(11, 9, 6, .88); border-bottom-color: var(--line-2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-height: var(--tap); }
.brand img { width: 28px; height: auto; }
.brand span { font-weight: 500; font-size: 15px; letter-spacing: -.02em; color: var(--ink-2); }
.brand b { color: var(--ink); font-weight: 750; display: none; } /* "Catering" joins at 381px */
.nav { display: none; gap: 28px; margin-left: 12px; }
.nav a, .invoices { text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 500; transition: color .2s; }
.nav a:hover, .invoices:hover { color: var(--gold-hi); }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.invoices { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; min-height: var(--tap); }
.invoices::before { content: ''; width: 14px; height: 16px; border: 1.5px solid currentColor; border-radius: 3px 3px 2px 2px;
  background: linear-gradient(currentColor, currentColor) 3px 4px / 6px 1.5px no-repeat, linear-gradient(currentColor, currentColor) 3px 8px / 6px 1.5px no-repeat; }
.top-quote { display: none; }

/* HERO. On a phone the first screen carries the headline, the lede and both
   buttons above the dock, so the plate takes only the height that is left over. */
.hero {
  padding: calc(var(--bar-h) + 6px) var(--pad) 64px;
  display: grid; grid-template-columns: 1fr; align-items: center; gap: 8px;
  position: relative; overflow: hidden;
}
.hero::after { /* warm floor light under the plate */
  content: ''; position: absolute; inset: auto -10% -30% 30%; height: 70%;
  background: radial-gradient(closest-side, rgba(217,164,65,.10), transparent 70%); pointer-events: none;
}
.hero h1 { font-size: clamp(42px, 12.6vw, 66px); letter-spacing: -.045em; line-height: .94; }
.ln { display: block; overflow: hidden; padding-bottom: .06em; }
.ln > span { display: inline-block; }
.lede { margin-top: 16px; max-width: 30em; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.hero-cta .btn { flex: 1 1 auto; padding: 0 16px; } /* both fit on one row at 360px */
.hero-note { margin-top: 22px; color: var(--ink-3); font-size: 15px; }

.plate { position: relative; justify-self: center; order: -1; aspect-ratio: 1;
  width: clamp(96px, calc(100svh - 540px), min(64vw, 320px)); margin: 0 auto 40px; }
.plate-glow { position: absolute; inset: -14%; border-radius: 50%; background: radial-gradient(closest-side, rgba(217,164,65,.22), rgba(217,164,65,.05) 55%, transparent 72%); }
.plate-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.plate-ring circle { fill: none; stroke: url(#g-gold); stroke-linecap: round; }
.ring-outer { stroke-width: .8; opacity: .55; stroke-dasharray: 100; }
.ring-main { stroke-width: 7; stroke-dasharray: 82 18; stroke-dashoffset: 9; } /* a break, like the logo's ring opening for the spoon */
.plate-food { position: absolute; inset: 9.5%; border-radius: 50%; overflow: hidden; background: #000;
  box-shadow: 0 40px 120px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(238,217,160,.15); }
.plate-food img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0;
  transform: scale(1.08) rotate(-6deg); transition: opacity 1.4s ease, transform 6s var(--ease); }
.plate-food img.on { opacity: 1; transform: scale(1) rotate(0deg); }
.plate-food::after { content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, transparent 55%, rgba(0,0,0,.55) 100%); }
.plate-name { position: absolute; left: 50%; bottom: -8px; transform: translate(-50%, 100%); white-space: nowrap;
  font-size: 14px; color: var(--ink-2); }
.plate-name span { display: inline-block; transition: opacity .5s, transform .5s var(--ease); }
.plate-name span.swap { opacity: 0; transform: translateY(6px); }

/* Hero reveal (JS adds .ready to <html>) */
.js .ln > span { transform: translateY(105%); }
.js .lede, .js .hero-cta, .js .hero-note { opacity: 0; transform: translateY(14px); }
.js .ring-outer { stroke-dashoffset: 100; }
.js .ring-main { stroke-dasharray: 0 100; }
.js .plate-food { clip-path: circle(0% at 50% 50%); filter: brightness(0); }
.js .plate-glow { opacity: 0; }
.ready .ln > span { transform: none; transition: transform 1.1s var(--ease); }
.ready .ln:nth-child(2) > span { transition-delay: .08s; }
.ready .ln:nth-child(3) > span { transition-delay: .16s; }
.ready .lede, .ready .hero-cta, .ready .hero-note { opacity: 1; transform: none; transition: opacity .9s .5s, transform .9s .5s var(--ease); }
.ready .hero-cta { transition-delay: .62s; }
.ready .hero-note { transition-delay: .74s; }
.ready .ring-outer { stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s .1s var(--ease); }
.ready .ring-main { stroke-dasharray: 82 18; transition: stroke-dasharray 1.6s .25s var(--ease); }
.ready .plate-food { clip-path: circle(50% at 50% 50%); filter: brightness(1); transition: clip-path 1.3s .55s var(--ease), filter 1.8s .7s ease; }
.ready .plate-glow { opacity: 1; transition: opacity 2s 1s; }

/* OCCASIONS: sticky stage, ring opens to full bleed */
.occasions { position: relative; height: 300vh; }
.occ-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.occ-photo { position: absolute; inset: 0; clip-path: inset(25% 10% 25% 60% round 50%); }
.occ-photo img { position: absolute; inset: 0 0 auto 0; width: 100%; height: 50%; object-fit: cover; opacity: 0; transform: scale(var(--zoom, 1.15)); transition: opacity .9s ease; filter: brightness(.88) saturate(.9); }
.occ-photo img.on { opacity: 1; }
.occ-shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--bk) 40%, rgba(11,9,6,.55) 46%, transparent 58%);
  opacity: 0; }
.occ-ring { position: absolute; pointer-events: none; border: 1.5px solid var(--gold); box-shadow: 0 0 30px rgba(217,164,65,.25); }
.occ-copy { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--pad) calc(var(--dock-h) + 18px); }
.occ-copy h2 { font-size: 32px; max-width: 11em; }
.occ-list { list-style: none; margin: 22px 0 0; padding: 0; }
.occ-list li { padding: 9px 0; border-top: 1px solid var(--line-2); cursor: default; transition: color .4s; }
.occ-list li:last-child { border-bottom: 1px solid var(--line-2); }
.occ-list b { display: block; font-size: 22px; font-weight: 750; letter-spacing: -.035em; color: var(--ink-3); transition: color .4s; }
.occ-list span { display: block; max-height: 0; color: var(--ink-2); font-size: 15px; max-width: 30em; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s, padding .4s; opacity: 0; }
.occ-list li.on b { color: var(--ink); }
.occ-list li.on b::after { content: ''; display: inline-block; width: 10px; height: 10px; margin-left: 14px; border-radius: 50%; background: var(--gold); vertical-align: .25em; box-shadow: 0 0 18px var(--gold); }
.occ-list li.on span { max-height: 4.8em; opacity: 1; padding-top: 6px; }

/* BUILD */
.build { padding: 88px var(--pad) 120px; position: relative; }
.build-head { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: end; }
.build-head h2 { font-size: clamp(44px, 6.4vw, 100px); letter-spacing: -.05em; }
.build-head p { color: var(--ink-2); max-width: 34em; font-size: 16px; }

/* how it works: a vertical rail on the phone, a horizontal one from 821px */
.how { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0; counter-reset: how; position: relative; }
.how::before { content: ''; position: absolute; left: 17px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.how::after { content: ''; position: absolute; left: 17px; top: 0; width: 1px; height: var(--how, 0%); background: var(--gold); box-shadow: 0 0 12px var(--gold); transition: height 1.6s var(--ease); }
.how li { counter-increment: how; position: relative; display: flex; align-items: center; gap: 14px; padding: 0 0 14px; }
.how li:last-child { padding-bottom: 0; }
.how li::before { content: counter(how); display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; flex: none;
  background: var(--bk); border: 1px solid var(--gold); color: var(--gold-hi); font-weight: 700; font-size: 15px; position: relative; z-index: 1; margin: 0; }
.how b { font-weight: 650; font-size: 16px; letter-spacing: -.015em; }
.how-foot { margin-top: 22px; color: var(--ink-3); font-size: 15px; }

.build-grid { display: grid; grid-template-columns: 1fr; gap: 48px; margin-top: 40px; align-items: start; }

.cats { position: sticky; top: var(--bar-h); z-index: 5; display: flex; gap: 6px; margin: 0 calc(var(--pad) * -1); padding: 12px var(--pad); background: linear-gradient(var(--bk) 78%, transparent); }
.cats a { text-decoration: none; display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--ink-2); border: 1px solid var(--line-2); transition: all .25s; }
.cats a.on { color: #1a1206; background: var(--gold); border-color: var(--gold); }

.cat { padding-top: 24px; scroll-margin-top: 124px; }
.cat h3 { font-size: clamp(28px, 2.8vw, 40px); display: flex; align-items: baseline; gap: 14px; }
.cat h3 small { font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--ink-3); }
.dish-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }

.dish {
  position: relative; border-radius: 18px; padding: 18px 12px 12px; background: transparent;
  border: 1px solid transparent; display: flex; flex-direction: column; align-items: center; text-align: center;
  overflow: hidden; isolation: isolate; transition: border-color .3s, transform .4s var(--ease);
}
.dish::before { /* pointer-following spotlight */
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 30%), rgba(217,164,65,.14), transparent 70%);
}
.dish:hover::before { opacity: 1; }
.dish-photo { position: relative; width: 112px; aspect-ratio: 1; border-radius: 50%; }
.dish-photo::before { content: ''; position: absolute; inset: -18%; border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, rgba(217,164,65,.28), transparent 75%); opacity: .55; transition: opacity .4s; }
.dish-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; box-shadow: 0 22px 40px -14px rgba(0,0,0,.95), 0 0 0 1px rgba(238,217,160,.12);
  transition: transform .6s var(--ease); }
.dish-photo svg { position: absolute; inset: -8px; width: calc(100% + 16px); height: calc(100% + 16px); transform: rotate(-90deg); pointer-events: none; }
.dish-photo svg circle { fill: none; stroke: var(--gold); stroke-width: 2; stroke-dasharray: 0 100; transition: stroke-dasharray .7s var(--ease); }
.dish:hover .dish-photo img { transform: scale(1.05) rotate(3deg); }
.dish h4 { margin-top: 14px; font-size: 16px; font-weight: 700; letter-spacing: -.025em; line-height: 1.15; }
.dish p { margin-top: 8px; font-size: 13px; line-height: 1.45; color: var(--ink-2); flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.dish .add {
  margin-top: 12px; min-width: 120px; padding: 0 22px; min-height: var(--tap); border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: transparent; color: var(--gold-hi); font-weight: 650; font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: all .25s;
}
.dish .add:hover { border-color: var(--gold); }
.dish .add .ic { width: 12px; height: 12px; position: relative; }
.dish .add .ic::before, .dish .add .ic::after { content: ''; position: absolute; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease); }
.dish .add .ic::before { left: 0; right: 0; top: 5px; height: 2px; }
.dish .add .ic::after { top: 0; bottom: 0; left: 5px; width: 2px; }
.dish.is-on { border-color: transparent; }
.dish.is-on .dish-photo::before { opacity: 1; }
.dish.is-on .dish-photo svg circle { stroke-dasharray: 100 0; }
.dish.is-on .add { background: var(--gold); border-color: var(--gold); color: #1a1206; }
.dish.is-on .add .ic::before { transform: translate(-1px, 2px) rotate(45deg) scaleX(.5); transform-origin: left; }
.dish.is-on .add .ic::after { transform: translate(1px, 1px) rotate(45deg); }

/* TRAY: a bottom sheet on phones, a sticky aside from 821px */
.tray {
  position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 60; max-height: 92svh; display: flex; flex-direction: column;
  border-radius: 26px 26px 0 0; background: linear-gradient(180deg, #17120c, #100c08); border: 1px solid var(--line); border-bottom: 0;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.9), inset 0 1px 0 rgba(238,217,160,.08);
  transform: translateY(105%); transition: transform .5s var(--ease); visibility: hidden;
  padding-bottom: env(safe-area-inset-bottom);
}
.tray.open { transform: none; visibility: visible; }
.tray-grab { display: block; width: 44px; height: 5px; border-radius: 3px; background: var(--ink-3); opacity: .5; margin: 10px auto 0; }
.tray-top { display: flex; align-items: center; justify-content: space-between; padding: 10px 20px 0; }
.tray-top h3 { font-size: 24px; }
.tray-close { display: block; min-height: var(--tap); border: 1px solid var(--line-2); border-radius: 999px; background: none; color: var(--ink-2); padding: 0 18px; font-size: 14px; cursor: pointer; }
.tray-scroll { overflow-y: auto; padding: 4px 20px 24px; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--bk-3) transparent; }

.table-ring { position: relative; width: 200px; aspect-ratio: 1; margin: 26px auto 18px; }
.table-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.table-ring svg circle { fill: none; stroke: var(--gold); stroke-width: 1.5; opacity: .5; }
.table-ring svg .tr-in { stroke-width: 1; opacity: .18; stroke-dasharray: 2 6; }
.tr-slots { position: absolute; inset: 0; }
.tr-slot { position: absolute; left: 50%; top: 50%; width: var(--s, 54px); height: var(--s, 54px); margin: calc(var(--s, 54px) / -2) 0 0 calc(var(--s, 54px) / -2);
  border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px var(--bk), 0 0 0 3px var(--gold), 0 8px 20px rgba(0,0,0,.6);
  transform: rotate(var(--a)) translate(var(--d, 104px)) rotate(calc(var(--a) * -1));
  transition: transform .6s var(--ease), width .4s, height .4s, margin .4s; }
.tr-slot img { width: 100%; height: 100%; object-fit: cover; }
.tr-slot.in { animation: pop .55s var(--ease); }
.tr-slot.out { animation: out .3s ease forwards; }
@keyframes pop { 0% { scale: .2; } 60% { scale: 1.18; } 100% { scale: 1; } }
@keyframes out { to { scale: 0; opacity: 0; } }
.tr-centre { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.tr-centre b { font-size: 52px; font-weight: 800; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.tr-centre span { color: var(--ink-3); font-size: 14px; margin-top: 2px; }
.tr-centre b.bump { animation: bump .35s var(--ease); }
@keyframes bump { 50% { transform: scale(1.12); color: var(--gold-hi); } }

.picked { list-style: none; margin: 14px 0 0; padding: 0; }
.picked li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line-2); animation: slidein .4s var(--ease); }
@keyframes slidein { from { opacity: 0; transform: translateX(-10px); } }
.picked img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.picked span { flex: 1; font-weight: 550; font-size: 15px; }
.picked button { border: 0; background: none; color: var(--ink-3); cursor: pointer; font-size: 14px; min-height: var(--tap); padding: 0 8px; margin-right: -8px; }
.picked button:hover { color: var(--gold-hi); }
.tray.done .picked button { display: none; }
.picked-empty { margin-top: 10px; text-align: center; color: var(--ink-3); font-size: 15px; }

.quote { margin-top: 18px; display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 14px; font-weight: 550; color: var(--ink-2); }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bk-3);
  color-scheme: dark; font-size: 16px; transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217,164,65,.18); }
.field input.bad { border-color: #d86a4a; }
.field textarea::placeholder { color: var(--ink-3); }
.field-row { display: grid; grid-template-columns: 1fr; gap: 10px; }
.stepper { display: grid; grid-template-columns: 52px 1fr 52px; align-items: center; border: 1px solid var(--line); border-radius: 999px; height: 52px; background: var(--bk-3); overflow: hidden; }
.stepper button { height: 100%; border: 0; background: none; color: var(--gold-hi); font-size: 22px; cursor: pointer; transition: background-color .2s; touch-action: manipulation; }
@media (hover: hover) { .stepper button:hover { background: rgba(217,164,65,.1); } } /* no tint stuck on after a tap */
.stepper input { border: 0; background: none; text-align: center; font-weight: 700; font-size: 18px; min-height: 0; padding: 0; -moz-appearance: textfield; font-variant-numeric: tabular-nums; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { box-shadow: none; outline: none; }
.form-err { color: #f0a080; font-size: 14px; min-height: 0; }
.form-err:empty { display: none; }
.tray-small { color: var(--ink-3); font-size: 14px; text-align: center; }
.sent { padding: 18px 0 6px; display: grid; gap: 14px; text-align: center; }
.sent h4 { font-size: 30px; }
.sent p { color: var(--ink-2); }

/* the flying dish */
.flyer { position: fixed; z-index: 90; border-radius: 50%; object-fit: cover; pointer-events: none; box-shadow: 0 0 0 2px var(--gold), 0 20px 40px rgba(0,0,0,.6); }

/* PRE-ORDERS: Ente Keralam product-card anatomy, in black and gold */
.preorder { padding: 40px var(--pad) 100px; }
.pre-head { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: end; border-top: 1px solid var(--line-2); padding-top: clamp(64px, 9vw, 120px); }
.pre-head h2 { font-size: clamp(40px, 5.4vw, 80px); letter-spacing: -.05em; }
.pre-head p { color: var(--ink-2); max-width: 34em; font-size: 16px; }
.sets { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 32px; align-items: start; }
.set { border-radius: 18px; background: var(--bk-2); border: 1px solid var(--line-2); overflow: hidden; display: flex; flex-direction: column; transition: border-color .3s; }
.set.has { border-color: var(--line); }
.set-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #000; }
.set-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.set:hover .set-media img { transform: scale(1.04); }
.set-flag { position: absolute; left: 12px; bottom: 12px; padding: 7px 12px; border-radius: 10px; background: var(--bk); color: var(--gold-hi); font-weight: 700; font-size: 15px; }
.set-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.set-body h3 { font-size: 21px; font-weight: 700; letter-spacing: -.025em; line-height: 1.2; }
.set-desc { color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.set-price { font-size: 26px; font-weight: 800; letter-spacing: -.03em; margin-top: 6px; }
.set-price small { font-size: 15px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.set-when { display: grid; gap: 2px; font-size: 14px; color: var(--ink-2); margin-top: 2px; }
.set-when b { color: var(--gold-hi); font-weight: 600; }
.pick { border: 0; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.pick legend { font-size: 14px; font-weight: 550; color: var(--ink-2); padding: 0; margin-bottom: 8px; }
.pick label { display: flex; gap: 10px; align-items: flex-start; min-height: var(--tap); padding: 12px; border: 1px solid var(--line-2); border-radius: 12px; cursor: pointer; font-size: 14px; line-height: 1.35; transition: border-color .2s, background-color .2s; }
.pick label:has(input:checked) { border-color: var(--gold); background: rgba(217,164,65,.07); }
.pick input { accent-color: var(--gold); margin: 2px 0 0; width: 16px; height: 16px; flex: none; }
.pick label span { display: grid; }
.pick label small { color: var(--ink-3); font-size: 13px; }
.set-act { margin-top: 14px; height: 48px; position: relative; }
.set-act .add-set, .set-act .stepper { position: absolute; inset: 0; transition: opacity .25s, transform .3s var(--ease); }
.set-act .add-set { width: 100%; min-height: 48px; border-radius: 999px; border: 1px solid var(--gold); background: transparent; color: var(--gold-hi); font-weight: 650; cursor: pointer; touch-action: manipulation; }
.set-act .add-set:hover { background: rgba(217,164,65,.1); }
.set-act .stepper { height: 48px; opacity: 0; transform: scale(.9); pointer-events: none; background: var(--gold); border-color: var(--gold); }
.set-act .stepper button { color: #1a1206; }
@media (hover: hover) { .set-act .stepper button:hover { background: rgba(0,0,0,.08); } }
.set-act .stepper output { text-align: center; font-weight: 800; color: #1a1206; font-size: 17px; }
.set.has .add-set { opacity: 0; transform: scale(.9); pointer-events: none; }
.set.has .stepper { opacity: 1; transform: none; pointer-events: auto; }
.set-soon { border-radius: 18px; border: 1px dashed var(--line); padding: 28px; display: flex; flex-direction: column; justify-content: center; gap: 10px; color: var(--ink-2); min-height: 240px; }
.set-soon h3 { color: var(--ink); font-size: 22px; letter-spacing: -.025em; }
.set-soon a { color: var(--gold-hi); font-weight: 600; text-underline-offset: 4px; display: inline-flex; align-items: center; min-height: var(--tap); align-self: flex-start; }

/* the total and pay button ride above the dock while you choose */
.pre-bar { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 8px 8px 18px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--bk-2); max-width: 780px; animation: slidein .4s var(--ease);
  position: sticky; bottom: calc(var(--dock-h) + 10px + env(safe-area-inset-bottom)); z-index: 30; box-shadow: 0 16px 40px rgba(0,0,0,.7); }
.pre-bar p { color: var(--ink-2); }
.pre-bar b { color: var(--ink); font-size: 19px; margin-left: 6px; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.pre-bar .btn { min-height: 46px; padding: 0 20px; }
.pre-done { margin-top: 20px; color: var(--gold-hi); max-width: 40em; }

/* FOOTER */
.foot { border-top: 1px solid var(--line); background: radial-gradient(1000px 400px at 20% 0%, rgba(217,164,65,.08), transparent 70%), var(--bk); padding: clamp(64px, 9vw, 120px) var(--pad) 40px; }
.foot-main { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.foot-mark { width: 96px; height: auto; filter: drop-shadow(0 0 40px rgba(217,164,65,.25)); }
.foot h2 { font-size: clamp(40px, 5vw, 72px); letter-spacing: -.05em; }
.foot p { color: var(--ink-2); margin-top: 14px; max-width: 32em; }
.foot-phone { display: inline-block; margin-top: 22px; font-size: clamp(36px, 5.4vw, 76px); font-weight: 800; letter-spacing: -.045em; text-decoration: none;
  background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.foot-cta { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.foot-base { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-2); color: var(--ink-3); font-size: 14px; }
.foot-base a { color: var(--ink-2); }

/* Phone chrome: the contact dock, the tray peek and the scrim behind the sheet */
.scrim { display: block; position: fixed; inset: 0; z-index: 55; background: rgba(5,4,3,.7); opacity: 0; transition: opacity .4s; }
.scrim.show { opacity: 1; }

.dock {
  display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(11,9,6,.94); border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.dock a, .dock button { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; text-decoration: none; font-weight: 650; font-size: 15px;
  border: 1px solid var(--line); background: none; color: var(--ink); cursor: pointer; touch-action: manipulation; }
.dock .dock-quote { background: var(--metal); color: #1a1206; border: 0; }
.dock i { font-style: normal; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--bk); color: var(--gold-hi); font-size: 13px; font-weight: 800; display: inline-grid; place-items: center; }
.dock-quote.bump { animation: bump2 .45s var(--ease); }
@keyframes bump2 { 40% { transform: scale(1.06); } }

.peek {
  display: flex; align-items: center; gap: 12px; position: fixed; left: 10px; right: 10px; bottom: calc(var(--dock-h) + 8px + env(safe-area-inset-bottom)); z-index: 49;
  padding: 8px 8px 8px 10px; border-radius: 999px; border: 1px solid var(--line); background: #17120c; color: var(--ink); cursor: pointer;
  box-shadow: 0 16px 40px rgba(0,0,0,.7); animation: slideup .45s var(--ease); text-align: left;
}
@keyframes slideup { from { transform: translateY(20px); opacity: 0; } }
.peek-thumbs { display: flex; }
.peek-thumbs img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #17120c, 0 0 0 3px var(--gold-lo); }
.peek-thumbs img + img { margin-left: -10px; }
.peek-text { flex: 1; font-weight: 600; font-size: 15px; }
.peek-go { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--gold); color: var(--gold-hi); font-size: 14px; font-weight: 650; }

/* Sign-in dialog */
.signin { border: 1px solid var(--line); border-radius: 24px; padding: 0; background: var(--bk-2); color: var(--ink); width: min(440px, calc(100vw - 32px)); box-shadow: 0 40px 100px rgba(0,0,0,.8); }
.signin::backdrop { background: rgba(5,4,3,.75); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.signin-in, .signin-done { padding: 30px 28px 26px; display: grid; gap: 16px; position: relative; }
.signin h2 { font-size: 30px; }
.signin p { color: var(--ink-2); font-size: 16px; }
.signin-x { position: absolute; top: 20px; right: 20px; border: 0; background: none; color: var(--ink-3); cursor: pointer; font-size: 14px; }

/* =====================================================================
   The live site (28 Nov): what design/v3 needs to run on real data.
   Everything above this line is design/v3/style.css as approved,
   re-ordered mobile first.
   ===================================================================== */

/* menu: the add control is a real checkbox (works with no JS), drawn as v3's button */
.dish .add { position: relative; user-select: none; -webkit-user-select: none; touch-action: manipulation; }
.dish .add:has(.add-cb:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; }
.add-cb { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.dish-ml { margin-top: 4px !important; flex: none !important; font-size: 14px !important; color: var(--gold-lo) !important; letter-spacing: 0; }
.dish h4 + p:not(.dish-ml) { margin-top: 8px; }
/* "Add to my event" is too wide for a two-up card: the words stay for screen readers */
.lbl-x { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cats { overflow-x: auto; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cats a { flex: none; }

/* fields the v3 mockup did not have */
.field select {
  width: 100%; min-height: 48px; padding: 12px 40px 12px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bk-3);
  color: var(--ink); font: inherit; font-size: 16px; color-scheme: dark; appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat;
}
.field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217,164,65,.18); }
.field input.bad, .field select.bad, .field textarea.bad, .stepper input.bad { border-color: #d86a4a; }
.field-error { color: #f0a080; font-size: 13px; }
.field input::placeholder { color: var(--ink-3); }

/* pre-orders: the quantity is a real input inside v3's stepper */
.set-act .stepper input { border: 0; background: none; text-align: center; font-weight: 800; color: #1a1206; font-size: 17px; min-height: 0; padding: 0; width: 100%; height: 100%;
  -moz-appearance: textfield; font-variant-numeric: tabular-nums; }
.set-act .stepper input::-webkit-inner-spin-button, .set-act .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.set-act .stepper input:focus { outline: none; }
/* without JS: the stepper is simply there; with JS, v3's "Add" turns into it */
html:not(.js) .set-act .add-set { display: none; }
html:not(.js) .set-act .stepper { opacity: 1; transform: none; pointer-events: auto; }
.set.is-sold .set-media img { filter: grayscale(.8) brightness(.6); }
.set-max { color: var(--ink-3); font-size: 13px; margin-top: 8px; }
.countdown { font-style: normal; display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: rgba(217,164,65,.14); color: var(--gold-hi); font-size: 12px; font-weight: 650; }
.pick[disabled] { opacity: .55; }
.pre-form { margin: 0; }
.pre-you { border: 1px solid var(--line); border-radius: 22px; padding: 18px 16px 20px; margin: 28px 0 0; max-width: 780px; display: grid; gap: 14px; background: var(--bk-2); min-width: 0; }
.pre-you legend { font-size: 22px; font-weight: 800; letter-spacing: -.03em; padding: 0 8px; }
.js .pre-form:not(.has-items):not(.show-you) .pre-you, .js .pre-form:not(.has-items):not(.show-you) .pre-small { display: none; }
.js .pre-form:not(.has-items) .pre-bar { opacity: .5; }
.pre-small { color: var(--ink-3); font-size: 14px; margin-top: 12px; max-width: 780px; }
.pre-bar b:empty { display: none; }

/* notices */
.notice { margin: 22px 0 0; padding: 14px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--bk-2); color: var(--ink); max-width: 46em; }
.notice-error { border-color: rgba(216,106,74,.6); color: #f4c2ad; }
.muted { color: var(--ink-3); }

/* ---------- inner pages ---------- */
.inner main { padding-top: var(--bar-h); min-height: 60vh; }
.inner .build { padding-top: clamp(40px, 6vw, 80px); }
.inner .preorder { padding-top: 0; }
.inner .pre-head { border-top: 0; padding-top: clamp(40px, 6vw, 80px); }
.build-page .build-head h1 { font-size: clamp(44px, 6.4vw, 100px); letter-spacing: -.05em; }
.preorder-page .pre-head h1 { font-size: clamp(40px, 5.4vw, 80px); letter-spacing: -.05em; }
.nav a[aria-current="page"], .invoices[aria-current="page"] { color: var(--gold-hi); }
.wrap { padding-left: var(--pad); padding-right: var(--pad); max-width: 1180px; }
.page-head { padding: 40px var(--pad) 8px; max-width: 1180px; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 24px; }
.page-head h1 { font-size: clamp(40px, 6vw, 84px); letter-spacing: -.05em; flex: 1 1 100%; }
.page-lede { color: var(--ink-2); font-size: 18px; max-width: 36em; flex: 1 1 auto; }
.page-head .status { margin-bottom: 4px; }
.inline-form { margin: 0; }
.sub-title { font-size: clamp(24px, 2.6vw, 34px); margin: 48px 0 16px; }
.page-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 40px 0 0; }
.prose { max-width: 46em; color: var(--ink-2); padding-top: 18px; }
.prose p { margin: 0 0 16px; }
.inner .foot { margin-top: 64px; }

.status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 650; color: var(--gold-hi); white-space: nowrap; }
.status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.status-paid, .status-paid_in_full, .status-deposit_paid, .status-done { color: #cfe6b8; border-color: rgba(160,200,120,.35); }
.status-paid::before, .status-paid_in_full::before, .status-deposit_paid::before, .status-done::before { background: #a6d07c; box-shadow: 0 0 10px #a6d07c; }
.status-overdue, .status-flagged { color: #f4c2ad; border-color: rgba(216,106,74,.55); }
.status-overdue::before, .status-flagged::before { background: #e07a55; box-shadow: 0 0 10px #e07a55; }
.status-void, .status-cancelled, .status-declined, .status-expired, .status-failed, .status-refunded { color: var(--ink-3); border-color: var(--line-2); }
.status-void::before, .status-cancelled::before, .status-declined::before, .status-expired::before, .status-failed::before, .status-refunded::before { background: var(--ink-3); box-shadow: none; }

/* receipts: order, booking, invoice */
.receipt { max-width: 820px; }
.receipt-lead { font-size: clamp(19px, 1.8vw, 23px); color: var(--ink); margin-top: 22px; max-width: 34em; line-height: 1.45; }
.receipt-lines { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 12px; }
.receipt-lines li { border: 1px solid var(--line); border-radius: 20px; padding: 18px 20px; background: var(--bk-2); display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; }
.receipt-lines h2 { font-size: 20px; letter-spacing: -.02em; }
.receipt-amt { font-weight: 750; font-variant-numeric: tabular-nums; }
.receipt-slot { grid-column: 1 / -1; color: var(--ink-2); font-size: 15px; }
.receipt-slot b { color: var(--gold-hi); font-weight: 600; }
.receipt-collected { grid-column: 1 / -1; color: #cfe6b8; font-size: 14px; }
.receipt-sum { margin: 28px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.receipt-sum div { display: grid; grid-template-columns: 7.5em 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.receipt-sum dt { color: var(--ink-3); }
.receipt-sum dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.receipt-sum a { color: var(--gold-hi); }
.receipt-help { margin-top: 32px; color: var(--ink-3); font-size: 15px; max-width: 40em; }
.receipt-help a { color: var(--gold-hi); }
.inv-big { font-size: clamp(56px, 8vw, 104px); font-weight: 800; letter-spacing: -.05em; margin-top: 18px; font-variant-numeric: tabular-nums;
  background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.table-scroll { overflow-x: auto; margin-top: 28px; }
.quote-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 460px; }
.quote-table th, .quote-table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line-2); }
.quote-table thead th { color: var(--ink-3); font-weight: 550; font-size: 14px; }
.quote-table td:nth-child(n+2), .quote-table th:nth-child(n+2) { text-align: right; }
.quote-table tfoot th { text-align: right; color: var(--ink-2); font-weight: 550; }
.quote-table tfoot tr:first-child td { font-weight: 800; font-size: 19px; color: var(--gold-hi); }
.quote-valid { color: var(--ink-3); font-size: 14px; margin-top: 10px; }
.pay-form { margin-top: 28px; display: grid; gap: 14px; max-width: 460px; }
.terms summary { cursor: pointer; color: var(--gold-hi); font-weight: 600; display: flex; align-items: center; min-height: var(--tap); }
.terms .prose { font-size: 15px; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; min-height: var(--tap); }
.check input { accent-color: var(--gold); width: 20px; height: 20px; margin: 2px 0 0; flex: none; }

/* a custom invoice: the amount and pay button, then the itemised bill (side by side from 821px) */
.bill-page { max-width: 1060px; }
.bill-grid { display: grid; gap: 28px; margin-top: 8px; }
.bill-when { margin-top: 10px; color: var(--ink-2); font-size: 17px; }
.bill-small { margin-top: 10px; color: var(--ink-3); font-size: 14px; }
.bill { border: 1px solid var(--line); border-radius: 22px; background: var(--bk-2); padding: 20px 18px 22px; }
.bill-to { color: var(--ink-3); font-size: 15px; }
.bill-to b { color: var(--ink); font-weight: 650; }
.bill-lines { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--line-2); }
.bill-lines li { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 13px 0; border-bottom: 1px solid var(--line-2); }
.bill-desc { font-size: 17px; font-weight: 600; letter-spacing: -.015em; min-width: 0; overflow-wrap: anywhere; }
.bill-amt { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.bill-qty { grid-column: 1 / -1; color: var(--ink-3); font-size: 14px; font-variant-numeric: tabular-nums; }
.bill-total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 16px; }
.bill-total span { color: var(--ink-2); }
.bill-total b { font-size: 24px; font-weight: 800; letter-spacing: -.03em; color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.bill-adj { margin-top: 6px; }
.bill-adj b { font-size: 19px; }
.bill-note { margin-top: 22px; padding: 4px 0 0 16px; border-left: 2px solid var(--gold); color: var(--ink); max-width: 36em; }
.bill-note p + p { margin-top: 10px; }
.bill-sign { margin-top: 10px; color: var(--ink-3); font-size: 14px; }
@media (min-width: 821px) {
  .bill-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: start; }
  .bill-pay { position: sticky; top: 96px; }
  .bill { padding: 26px 28px 28px; }
}

/* a shared payment link (/p/): the price and words, then one short form. One column on a
   phone with the form straight after the price; side by side from 821px. */
.paylink { max-width: 1060px; }
.pl-grid { display: grid; gap: 22px; margin-top: 10px; }
.pl-desc { color: var(--ink-2); font-size: 17px; max-width: 34em; }
.pl-desc p + p { margin-top: 10px; }
.pl-each { margin-top: 14px; color: var(--ink-2); font-size: 17px; }
.pl-each b { font-size: clamp(34px, 9vw, 64px); font-weight: 800; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums;
  background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; margin-right: 6px; }
.pl-until { margin-top: 8px; color: var(--ink-3); font-size: 15px; }
.pl-form { display: grid; gap: 14px; border: 1px solid var(--line); border-radius: 22px; background: var(--bk-2); padding: 18px 16px 20px; }
.pl-qty .stepper { max-width: 220px; }
.pl-max { color: var(--ink-3); font-size: 13px; }
.pl-total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.pl-total span { color: var(--ink-2); }
.pl-total b { font-size: 26px; font-weight: 800; letter-spacing: -.03em; color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.pl-small { color: var(--ink-3); font-size: 14px; text-align: center; }
@media (min-width: 381px) {
  .pl-form { padding: 22px 20px 24px; }
}
@media (min-width: 821px) {
  .pl-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: start; }
  .pl-about { position: sticky; top: 96px; }
  .pl-form { padding: 28px; }
}
@media (min-width: 1101px) {
  .pl-grid { gap: 72px; }
}

/* invoice rows (booking page and account) */
.inv-list, .acc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.inv { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px 18px; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 18px; background: var(--bk-2); }
.inv-overdue, .inv-due { border-color: var(--line); }
.inv b { font-size: 18px; letter-spacing: -.02em; }
.inv .muted { font-size: 14px; }
.inv p.muted { margin-top: 2px; }
.inv-amt { font-size: 22px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.inv .status { justify-self: start; }
.inv .btn { justify-self: end; }
.acc-list li { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 18px; background: var(--bk-2); }
.acc-list a { text-decoration: none; display: grid; }
.acc-list a:hover b { color: var(--gold-hi); }
.acc-list .muted { font-size: 14px; }
.account { max-width: 900px; }
.account .sub-title:first-child { margin-top: 24px; }
.account > .muted a { color: var(--gold-hi); }

/* sign in: the v3 dialog, as a page */
.signin-page { min-height: auto; display: grid; place-items: center; padding: 40px 16px 48px; position: relative; }
.signin-page::before { content: ''; position: absolute; inset: 10% 0 auto; height: 60%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(217,164,65,.12), transparent 70%); }
.signin-card { position: relative; width: min(440px, 100%); border: 1px solid var(--line); border-radius: 24px; background: var(--bk-2);
  padding: 30px 28px 26px; display: grid; gap: 16px; box-shadow: 0 40px 100px rgba(0,0,0,.8); }
.signin-card h1 { font-size: 34px; letter-spacing: -.04em; }
.signin-card p { color: var(--ink-2); }
.signin-card .signin-in { padding: 0; gap: 14px; }

/* events, gallery, contact */
.occ-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.occ-cards li { border: 1px solid var(--line-2); border-radius: 20px; overflow: hidden; background: var(--bk-2); }
.occ-cards img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: brightness(.9); }
.occ-cards div { padding: 16px 18px 20px; }
.occ-cards h3 { font-size: 21px; letter-spacing: -.025em; }
.occ-cards p { color: var(--ink-2); font-size: 15px; margin-top: 6px; }
.gallery { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 14px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; }
.gallery figcaption { color: var(--ink-2); font-size: 15px; margin-top: 8px; }
.contact-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 14px; }
.contact-list li { border: 1px solid var(--line-2); border-radius: 20px; padding: 20px; background: var(--bk-2); }
.contact-list h2 { font-size: 15px; color: var(--ink-3); font-weight: 600; letter-spacing: 0; }
.contact-list p { margin-top: 8px; }
.contact-list a { color: var(--gold-hi); display: inline-flex; align-items: center; min-height: var(--tap); max-width: 100%; overflow-wrap: anywhere; }
.big-link { font-size: 26px; font-weight: 800; letter-spacing: -.03em; text-decoration: none; }

/* footer: real links, each a full thumb-height on the phone */
.foot-base { align-items: flex-start; }
.foot-small { display: inline-block; margin-top: 8px; color: var(--ink-3); max-width: 46em; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 10px; justify-content: flex-start; max-width: 520px; margin-left: -4px; }
.foot-links a { color: var(--ink-2); text-decoration: none; display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 4px; }
.foot-links a:hover { color: var(--gold-hi); }
.dock .dock-quote { text-decoration: none; }

/* =====================================================================
   381px and up: room for the whole name
   ===================================================================== */
@media (min-width: 381px) {
  .brand b { display: inline; }
}

/* =====================================================================
   821px and up: the desktop layout (v3 as approved)
   ===================================================================== */
@media (min-width: 821px) {
  :root { --bar-h: 72px; --dock-h: 0px; }
  body { font-size: 17px; padding-bottom: 0; }

  .top { gap: 32px; }
  .brand { min-height: 0; }
  .brand img { width: 34px; }
  .brand span { font-size: 17px; }
  .invoices { font-size: 15px; min-height: 0; }
  .top-quote { display: inline-flex; }
  .btn-sm { min-height: 42px; }

  .hero { min-height: 100svh; padding: 120px var(--pad) 72px; grid-template-columns: 1.05fr 1fr; gap: 40px; }
  .hero h1 { font-size: clamp(52px, 7.4vw, 116px); }
  .lede { margin-top: 32px; font-size: clamp(17px, 1.4vw, 20px); line-height: inherit; }
  .hero-cta { gap: 12px; margin-top: 36px; }
  .hero-cta .btn { flex: 0 1 auto; padding: 0 26px; }
  .plate { order: 0; width: min(40vw, 600px); margin: 0; }
  .plate-name { font-size: 15px; }

  .occasions { height: 340vh; }
  .occ-photo img { inset: 0 0 0 40%; width: 60%; height: 100%; }
  .occ-copy { justify-content: center; padding: 96px var(--pad) 40px; max-width: 46%; }
  .occ-copy h2 { font-size: clamp(34px, 4vw, 60px); }
  .occ-list { margin-top: 32px; }
  .occ-list li { padding: 10px 0; }
  .occ-list b { font-size: clamp(22px, 2.2vw, 32px); }
  .occ-list span { font-size: 16px; }

  .build { padding-top: clamp(80px, 12vw, 160px); }
  .build-head, .pre-head { grid-template-columns: 1fr 1fr; gap: 40px; }
  .build-head p, .pre-head p { font-size: 18px; }

  .how { grid-template-columns: repeat(4, 1fr); margin-top: 56px; }
  .how::before { left: 0; right: 0; top: 17px; bottom: auto; width: auto; height: 1px; }
  .how::after { left: 0; top: 17px; height: 1px; width: var(--how, 0%); transition: width 1.6s var(--ease); }
  .how li { display: list-item; padding: 0 20px 0 0; }
  .how li:last-child { padding-bottom: 0; }
  .how li::before { flex: initial; margin: 0 0 14px; }
  .how b { font-size: 17px; }

  .build-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; margin-top: 72px; }

  .cats { margin: 0; padding: 14px 0; }
  .cats a { display: inline; min-height: 0; padding: 9px 18px; }
  .cat { padding-top: 32px; scroll-margin-top: 140px; }
  .dish-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 12px; }
  .dish { padding: 22px 14px 18px; border-radius: var(--r); }
  .dish-photo { width: 176px; }
  .dish h4 { margin-top: 20px; font-size: 20px; }
  .dish p { font-size: 15px; display: block; -webkit-line-clamp: none; overflow: visible; }
  .dish .add { margin-top: 16px; font-size: 15px; }
  .lbl-x { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: inherit; }

  .tray {
    position: sticky; top: 88px; left: auto; right: auto; bottom: auto; z-index: auto; max-height: calc(100vh - 104px);
    border-radius: 26px; border-bottom: 1px solid var(--line);
    transform: none; transition: none; visibility: visible; padding-bottom: 0;
  }
  .tray-grab, .tray-close { display: none; }
  .tray-top { padding: 22px 24px 0; }
  .tray-scroll { padding: 8px 24px 24px; }
  .table-ring { width: 220px; }
  .picked button { min-height: 0; padding: 6px 4px; margin-right: 0; }
  .field-row { grid-template-columns: 1fr 1fr; }

  .preorder { padding-bottom: 140px; }
  .sets { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-top: 56px; }
  .pick label { min-height: 0; padding: 10px 12px; }
  .set-soon a { display: inline; min-height: 0; align-self: auto; }
  .pre-bar { position: static; gap: 16px; padding: 14px 14px 14px 24px; z-index: auto; box-shadow: none; }
  .pre-bar b { font-size: 22px; margin-left: 10px; }
  .pre-bar .btn { min-height: 52px; padding: 0 26px; }
  .pre-you { padding: 22px 22px 24px; }

  .foot-main { grid-template-columns: auto 1fr; }
  .foot-mark { width: clamp(110px, 14vw, 200px); }
  .foot-base { flex-direction: row; margin-top: 72px; }
  .foot-links { gap: 8px 18px; justify-content: flex-end; margin-left: 0; }
  .foot-links a { display: inline; min-height: 0; padding: 0; }

  .dock, .peek, .scrim { display: none; }

  .inner main { min-height: 60vh; }
  .inner .foot { margin-top: 96px; }
  .page-head { padding-top: clamp(48px, 7vw, 96px); }
  .receipt-sum div { grid-template-columns: 10em 1fr; }
  .inv { grid-template-columns: 1fr auto auto auto; }
  .inv .status, .inv .btn { justify-self: auto; }
  .acc-list li { flex-direction: row; align-items: center; }
  .terms summary { display: list-item; min-height: 0; }
  .check { min-height: 0; }
  .contact-list a { display: inline; min-height: 0; max-width: none; overflow-wrap: normal; }
  .signin-page { min-height: calc(100svh - 72px); padding: 48px 16px; }
}


/* =====================================================================
   1101px and up: the main nav joins the bar, the tray widens
   ===================================================================== */
@media (min-width: 1101px) {
  .nav { display: flex; }
  .build-grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; }
}

/* Reduced motion: everything lands, nothing travels. Last in the file, so it
   beats the layout steps above. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .occasions { height: auto; }
  .occ-stage { position: relative; height: auto; min-height: 100svh; }
  .occ-photo { clip-path: inset(0 0 50% 0) !important; }
  .occ-ring { display: none; }
  .occ-photo img { transform: none; }
  .occ-list span { max-height: none; opacity: 1; padding-top: 6px; }
  .occ-list b { color: var(--ink); }
}
@media (min-width: 821px) and (prefers-reduced-motion: reduce) {
  .occ-photo { clip-path: inset(0 0 0 46%) !important; }
}
