/* ============================================================
   PULP FUNCTION — "The Menu" homepage  (Figma rebuild)
   Kitchen / bar concept · warm grey + ink + orange-red
   Pairs with tokens.css (fonts) — overrides palette to match Figma
   ============================================================ */

:root {
  --paper:   #CFCFCF;   /* warm grey field            */
  --paper-2: #EAEAEA;   /* lighter band (recent work) */
  --card:    rgba(255,255,255,0.56);
  --ink:     #191715;   /* near-black                 */
  --ink-2:   #34322E;
  --muted:   #6E6A64;   /* mono captions              */
  --night:   #212121;   /* kitchen rules section      */
  --accent:  #FF3A17;
  --accent-d:#D63B20;
  --sand:    #A99E8B;   /* footer mono gold-grey      */
  --hair:    rgba(25,23,21,0.22);
  --disp: 'Schibsted Grotesk', system-ui, -apple-system, sans-serif;
  --mono: 'Space Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --tab:  'Chivo Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --gut: clamp(20px, 6.6vw, 96px);
  --maxw: 1440px;
}

html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--disp); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
* { box-sizing: border-box; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--accent); color: #fff; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.mono { font-family: var(--mono); text-transform: uppercase; }

/* =================== TOP RIBBON =================== */
.ribbon { background: var(--ink); color: #fff; border-bottom: 2px solid var(--ink);
  overflow: hidden; white-space: nowrap; padding: 8px 0; }
.ribbon-track { display: inline-flex; align-items: center; animation: rib 38s linear infinite; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon-track > span { font-family: var(--mono); font-size: 13px; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 0 18px; display: inline-flex; align-items: center; }
.ribbon .star { color: var(--accent); font-size: 12px; }
@keyframes rib { to { transform: translateX(-50%); } }

/* =================== HEADER =================== */
header.bar { position: sticky; top: 0; z-index: 90; background: var(--paper);
  border-bottom: 2px solid var(--ink); }
header.bar .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .logo { width: 30px; height: auto; flex: none; }
.brand .bn { display: flex; flex-direction: column; gap: 3px; }
.brand .bn .nm { font-size: 16px; letter-spacing: -0.01em; line-height: 1; }
.brand .bn .sb { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.24em; color: var(--muted); line-height: 1; }
nav.top { display: flex; gap: 26px; align-self: stretch; align-items: center; }
nav.top > a { font-size: 16px; position: relative; padding: 2px 0; }
nav.top > a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1.5px;
  background: var(--accent); transition: width .25s cubic-bezier(.2,.7,.2,1); }
nav.top > a:hover { color: var(--accent); }
nav.top > a:hover::after { width: 100%; }

/* ---- nav dropdowns (Offers / Use Cases) ---- */
nav.top .navitem { position: relative; align-self: stretch; display: flex; align-items: center; }
nav.top .navlink { font-family: inherit; font-size: 16px; color: inherit; background: none; border: 0;
  margin: 0; padding: 2px 0; cursor: pointer; position: relative; display: inline-flex; align-items: center; gap: 7px; line-height: 1; }
nav.top .navlink::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1.5px;
  background: var(--accent); transition: width .25s cubic-bezier(.2,.7,.2,1); }
nav.top .navitem:hover .navlink, nav.top .navitem.open .navlink { color: var(--accent); }
nav.top .navitem:hover .navlink::after, nav.top .navitem.open .navlink::after { width: 100%; }
nav.top .navlink .caret { width: 9px; height: 9px; flex: none; transition: transform .28s cubic-bezier(.2,.7,.2,1); }
nav.top .navitem:hover .navlink .caret, nav.top .navitem.open .navlink .caret { transform: rotate(180deg); }

.dropdown { position: absolute; top: 100%; left: -16px; min-width: 320px;
  background: var(--paper); border: 1.5px solid var(--ink); border-top-width: 2px; border-radius: 0 0 8px 8px; padding: 8px;
  box-shadow: 0 22px 44px -24px rgba(25,23,21,.55);
  opacity: 0; visibility: hidden; transform: translateY(-8px); transform-origin: top left;
  transition: opacity .26s ease, transform .26s cubic-bezier(.2,.7,.2,1), visibility .26s; z-index: 95; }
.dropdown.wide { min-width: 366px; }
nav.top .navitem:hover .dropdown, nav.top .navitem.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dd-item { display: block; padding: 12px 14px; border-radius: 5px; transition: background .2s; }
.dd-item + .dd-item { margin-top: 1px; }
.dd-item:hover { background: rgba(25,23,21,.06); }
.dd-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.dd-name { font-weight: 700; font-size: 16px; letter-spacing: -0.012em; transition: color .2s; }
.dd-item:hover .dd-name { color: var(--accent); }
.dd-name .pj { font-style: italic; font-weight: 400; font-size: 14px; color: var(--muted); margin-left: 8px; transition: color .2s; }
.dd-item:hover .dd-name .pj { color: var(--accent); }
.dd-tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap; flex: none; }
.dd-desc { margin: 4px 0 0; font-size: 13px; line-height: 1.45; color: var(--ink-2); max-width: 42ch; }
.dd-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin: 6px 6px 2px; padding: 12px 8px 4px; border-top: 1px solid var(--hair); }
.dd-foot .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.dd-foot a { font-family: var(--tab); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 7px; border-bottom: 1.5px solid var(--ink); padding-bottom: 3px; transition: color .25s, border-color .25s; }
.dd-foot a:hover { color: var(--accent); border-color: var(--accent); }

/* shared pill buttons */
.btn { font-family: 'Chivo Mono', monospace; font-size: 14px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 9px; padding: 14px 20px; border-radius: 999px;
  border: 1.5px solid var(--ink); transition: transform .25s, background .25s, color .25s, border-color .25s; white-space: nowrap; }
.btn .ar { display: inline-flex; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.btn .ar svg { display: block; }
.btn.sm { font-size: 12px; font-weight: 400; padding: 9px 15px; gap: 7px; }
.btn.sm .ar svg { width: 10px; height: 10px; }
.btn:hover .ar { transform: translate(3px,-3px); }
.btn.solid { background: var(--ink); color: #fff; }
.btn.solid:hover { background: var(--accent-d); border-color: var(--accent-d); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.on-night { color: #fff; border-color: rgba(255,255,255,.5); }
.btn.on-night.solid { background: #fff; color: var(--ink); border-color: #fff; }
.btn.on-night.solid:hover { background: var(--accent-d); color: #fff; border-color: var(--accent-d); }
.btn.on-night.ghost:hover { background: #fff; color: var(--ink); }
.btn.on-orange { color: #fff; border-color: rgba(255,255,255,.6); }
.btn.on-orange.solid { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.on-orange.solid:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn.on-orange.ghost:hover { background: #fff; color: var(--accent); border-color: #fff; }

/* =================== HERO =================== */
.hero { padding: clamp(48px,7vw,86px) 0 clamp(40px,5vw,56px); }
.hero .grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,72px); align-items: center; }
.hero h1 { margin: 0; font-weight: 700; letter-spacing: -0.035em; line-height: 0.96;
  font-size: clamp(46px,7vw,70px); max-width: 12ch; }
.hero h1 em { font-style: italic; }
.hero .lede { margin: 30px 0 0; display: flex; flex-direction: column; gap: 16px; max-width: 46ch; }
.hero .lede p { margin: 0; font-size: clamp(16px,1.3vw,18px); line-height: 1.5; color: var(--ink-2); }
.hero .lede .intro  { font-size: 20px; }                 /* opening line, larger */
.hero .lede .detail { font-size: 16px; font-weight: 600; } /* second line, emphasised */
.clink.spaced { padding-top: 18px; }
.hero .hcta { margin-top: 34px; }
.hero .art { display: grid; place-items: center; }
.hero .art svg { width: clamp(220px, 30vw, 360px); height: auto; }
.hero .art .hero-logo { width: auto; height: clamp(240px,34vw,400px); max-width: 100%; }
/* animated 3D logo (Three.js) — transparent canvas.
   Outer box = layout footprint (the hero's previous height); inner stage =
   render surface, taller than the box, centred so the big mark overflows into
   the hero padding without making the section taller. */
.hero .art .hero3d { position: relative; width: clamp(280px,40vw,460px); height: clamp(320px,44vw,500px); max-width: 100%; }
.hero .art .hero3d-stage { position: absolute; top: calc(50% - 16px); left: 50%; transform: translate(-50%,-50%);
  width: clamp(440px,52vw,620px); height: clamp(440px,52vw,620px); touch-action: none; }
.hero .art .hero3d-stage canvas { display: block; width: 100% !important; height: 100% !important; }

/* juicer wireframe stroke driven by accent */
.juicer { stroke: var(--jstroke, var(--accent)); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* =================== INGREDIENTS MARQUEE =================== */
.ingredients { border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  background: var(--paper); overflow: hidden; white-space: nowrap; padding: 16px 0; }
.ing-track { display: inline-flex; align-items: center; animation: rib 30s linear infinite; }
.ingredients:hover .ing-track { animation-play-state: paused; }
.ing-track > span { font-style: italic; font-weight: 700; font-size: 36px; letter-spacing: -0.02em;
  padding: 0 26px; display: inline-flex; align-items: center; gap: 26px; }
.ing-track .sep { width: 26px; height: 23px; flex: none; }

/* =================== SECTION TITLE =================== */
.stitle { display: flex; flex-direction: column; gap: 8px; }
.stitle.center { align-items: center; text-align: center; }
.stitle .kick { font-family: var(--tab); font-size: 16px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.stitle h2 { margin: 0; font-weight: 400; font-size: 80px; letter-spacing: -0.022em; line-height: 0.98; }

/* =================== MENU (offers) =================== */
.menu { padding: clamp(72px,9vw,115px) 0; font-weight: 500; }

/* ---------------------------------------------------------------
   LEGEND FRAME — the one panel component.
   .legend-frame  = the framed card (real border the legend breaks through)
   .tab-label     = the label <legend> that sits IN the top stroke
   Both are used EVERYWHERE (homepage panels, offer groups, "for you if",
   and the design-system specimens). Edit here → every instance updates.
   Layout-only variants (.panel / .foryou / .group) just tweak padding.
--------------------------------------------------------------- */
.legend-frame { border: 1.5px solid var(--ink); border-radius: 6px; background: var(--card);
  margin: 0; min-inline-size: 0; padding: clamp(24px,3vw,32px) clamp(22px,3vw,30px); }
.tab-label { float: none; margin-left: auto; margin-right: 36px; padding: 0 12px;
  font-family: var(--tab); font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); line-height: 1; white-space: nowrap; }

/* variant: homepage offer panels (inner .shots/.courses carry the padding) */
.menu .panel { margin: clamp(40px,4vw,55px) 0 0; padding: 0; }

/* feature (shots) */
.shots { padding: clamp(28px,3vw,38px) clamp(28px,3.4vw,44px); display: grid;
  grid-template-columns: 1.15fr 1fr 1fr; gap: clamp(24px,3vw,46px); }
.dish-name { font-style: italic; font-weight: 700; letter-spacing: -0.02em; line-height: 1;
  font-size: 32px; margin: 0; }
.dish-name .hot { color: var(--accent); }
.hot { color: var(--accent); }   /* canonical accent word — used in every heading */
.shots .lead { margin: 16px 0 0; font-size: clamp(15px,1.15vw,16.6px); line-height: 1.5; max-width: 34ch; color: var(--ink); }
.field-label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.105em; text-transform: uppercase; display: block; }
.field-label.for { color: var(--accent); }
.field-label.out { color: var(--muted); }
.shots .col p { margin: 8px 0 0; font-size: 14px; font-weight: 400; line-height: 1.5; color: var(--ink); }
.shots .col:nth-child(3) p { font-weight: 600; }

/* main courses grid */
.courses { padding: clamp(28px,3vw,40px) clamp(24px,2.7vw,39px); display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(30px,3.5vw,52px) clamp(36px,5vw,72px); }
.course { padding: clamp(24px,2.4vw,34px) 0; display: flex; flex-direction: column;
  border-top: 1px solid var(--hair); --measure: 28rem; }
.course:nth-child(1), .course:nth-child(2) { border-top: none; }
.course .dish-name { font-size: 32px; }
/* one shared measure so the lead, the "for you if" list and the outcome all
   wrap to the same width (matching the lead). It lives on .course as
   --measure; the lead's old 42ch resolved to ~28rem at this font size, but a
   font-independent length keeps the list/outcome (smaller font) the same px. */
.course .lead { margin: 14px 0 22px; font-size: clamp(15px,1.15vw,16.6px); line-height: 1.5; max-width: var(--measure); }
.course .for-you { margin-bottom: 22px; max-width: var(--measure); }
.course ul { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.course li { display: flex; gap: 9px; font-size: 14px; font-weight: 400; line-height: 1.4; }
.course li::before { content: "+"; color: var(--accent); font-weight: 700; flex: none; }
.course .outcome { margin: 12px 0 0; font-size: 14px; font-weight: 600; line-height: 1.5; max-width: var(--measure); }
.course .clink { margin-top: auto; padding-top: 26px; }
.clink a { font-family: 'Chivo Mono', monospace; font-size: 14px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px; border-bottom: 1.5px solid var(--ink); padding-bottom: 5px;
  transition: color .25s, border-color .25s; }
.clink a .ar svg, .story .more a .ar svg { display: block; }
.clink a:hover { color: var(--accent); border-color: var(--accent); }
.clink a .ar { transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.clink a:hover .ar { transform: translateX(4px); }
/* "coming soon" tag — replaces the CTA on offers not yet available.
   Matches the use-case category tag: black, white text, lightly rounded. */
.soon { display: inline-flex; align-items: center; font-family: var(--mono);
  font-size: 14px; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--ink); color: #fff; border-radius: 4px; padding: 7px 14px; }

/* =================== ASK THE BARTENDER =================== */
.bartender { background: var(--accent-d); color: #fff; padding: clamp(56px,6vw,72px) 0; }
.bartender ::selection { background: var(--ink); color: #fff; }
.bartender .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px,4vw,58px); align-items: center; }
.bartender .kick { font-family: var(--mono); font-size: 14px; letter-spacing: 0.15em; text-transform: uppercase; opacity: .85; }
.bartender h2 { margin: 14px 0 0; font-weight: 400; letter-spacing: -0.022em; line-height: 1.18;
  font-size: clamp(32px,3.6vw,49px); }
.bartender h2 .strong { font-weight: 500; }
.bartender h2 em { font-style: italic; }
.bartender .acts { display: flex; gap: 14px; justify-content: flex-end; flex-wrap: wrap; }

/* =================== KITCHEN RULES (night) =================== */
.rules { background: var(--night); color: #fff; padding: clamp(72px,9vw,115px) 0; }
.rules ::selection { background: var(--accent); color: #fff; }
.rules .stitle .kick, .rules .stitle h2 { color: #fff; }
.rules .body { display: grid; grid-template-columns: 1.1fr 0.62fr; gap: clamp(32px,5vw,64px);
  margin-top: clamp(40px,4vw,60px); align-items: start; }
.rules .statement { margin: 0; font-weight: 400; font-size: clamp(26px,2.6vw,36px); line-height: 1.33; letter-spacing: -0.018em; }
/* no max-width: the secondary lines share the same width as the statement
   above (both fill the left column) so all three read at one measure */
.rules .small { margin: 36px 0 0; display: flex; flex-direction: column; gap: 30px; }
.rules .small .it { font-style: italic; font-size: clamp(22px,2.2vw,32px); line-height: 1.38; letter-spacing: -0.018em; margin: 0; }
.rules .small .stamp { font-family: var(--mono); font-weight: 700; font-size: clamp(26px,2.6vw,36px); letter-spacing: -0.02em; margin: 0; }
.specs { border-top: 3px solid #fff; }
.specs .row { display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
  padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.28); }
.specs .row:last-child { border-bottom: none; }
.specs .k { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.specs .v { font-size: clamp(26px,2.4vw,34px); font-weight: 700; letter-spacing: -0.02em; }

/* =================== THE RECIPE =================== */
.recipe { padding: clamp(80px,10vw,140px) 0; }
.recipe .stitle { margin-bottom: clamp(48px,6vw,90px); }
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.step { border-top: 2px solid var(--ink); padding-top: 20px; display: flex; flex-direction: column; min-height: 240px; }
.step .stop { display: flex; flex-direction: row; align-items: baseline; gap: 4px; }
.step .num { font-family: 'Inconsolata', ui-monospace, monospace; font-weight: 600; font-size: 18px; letter-spacing: 0; color: var(--accent); }
.step .tag { font-family: 'Inconsolata', ui-monospace, monospace; font-weight: 600; font-size: 16px; letter-spacing: 0; text-transform: uppercase; color: var(--accent); }
.step h3 { margin: 22px 0 10px; font-weight: 700; font-style: italic; font-size: 28px; letter-spacing: -0.015em; line-height: 1.05; }
.step p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.step .takes { margin-top: auto; padding-top: 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.step .takes .tk-l { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.step .takes b { font-family: var(--tab); font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--ink); }
/* Homepage Recipe — align every row across the four cards (incl. the
   "What it looks like" block) via subgrid, so the labels line up. The
   offer/Design-on-demand "how it works" steps (.howto) are left as-is. */
.recipe:not(.howto) .steps { grid-template-rows: auto auto 1fr auto; }
.recipe:not(.howto) .step { display: grid; grid-template-rows: subgrid; grid-row: span 4; row-gap: 0; min-height: 0; }
.recipe:not(.howto) .step .takes { margin-top: 0; }

/* =================== PREVIOUS ORDERS =================== */
/* Desktop (>700px): two columns — ledger left, a story card right that
   cross-fades to whichever row is hovered (default: the first row).
   Mobile (<=700px): the story stage is hidden and each row's .or-card
   expands inline as an accordion. */
.orders { background: var(--paper-2); padding: clamp(72px,8vw,124px) 0; }
.orders .body { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(36px,5vw,72px);
  margin-top: clamp(40px,4vw,55px); align-items: start; }

/* ---- ledger + row header ---- */
.orders .ledger { border-top: 3px solid #000; }
.orders .order-row { border-bottom: 1px solid #000; }
.orders .order-row:last-child { border-bottom: none; }
.orders .or-head { display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 28px 0 12px;
  background: none; border: 0; text-align: left; font: inherit; color: inherit; cursor: pointer;
  position: relative; transition: padding .3s cubic-bezier(.2,.7,.2,1); }
.orders .or-head:hover { padding-left: 12px; }
.orders .order-row .or-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.orders .order-row .or-id { display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.orders .order-row .or-bot { display: flex; justify-content: flex-end; }
.orders .order-row .nm { font-weight: 700; font-size: clamp(20px,1.7vw,24px); letter-spacing: -0.01em; white-space: nowrap; transition: color .25s; }
.orders .order-row .pj { font-style: italic; font-size: clamp(15px,1.2vw,17px); color: var(--muted); }
.orders .order-row .ctag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-2); white-space: nowrap; }
.orders .order-row .ar { color: var(--accent); display: inline-flex; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.orders .order-row .ar svg { display: block; }
.orders .or-head:hover .ar { transform: translate(3px,3px); }
.orders .or-chev { display: none; }
.orders .or-card { display: none; }

/* ---- shared card sub-components (story + accordion) ---- */
.orders .pill { background: #000; color: #fff; border-radius: 4px; padding: 5px 12px; display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.orders .pill .dot { width: 4px; height: 4px; border-radius: 50%; background: #fff; }
.orders .shead { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0 18px; }
.orders .sname { font-style: italic; font-size: clamp(22px,2vw,27px); color: var(--accent); letter-spacing: -0.01em; }
.orders .blk { padding: 12px 0 0; }
.orders .blk .field-label { color: var(--muted); }
.orders .blk p { margin: 6px 0 0; font-size: 16px; line-height: 1.36; color: var(--ink); max-width: 42ch; }
.orders .more { display: flex; justify-content: flex-end; padding-top: 20px; }
.orders .more a { font-family: 'Chivo Mono', monospace; font-size: 14px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px; border-bottom: 1.5px solid var(--ink); padding-bottom: 4px; color: var(--ink);
  transition: color .25s, border-color .25s; }
.orders .more a .ar { color: var(--accent); display: inline-flex; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.orders .more a .ar svg { display: block; }
.orders .more a:hover { color: var(--accent); border-color: var(--accent); }
.orders .more a:hover .ar { transform: translate(3px,-3px); }

/* ---- desktop story stage — cards stacked in one cell, cross-fade on hover ---- */
.orders .story-stage { display: grid; }
.orders .story { grid-area: 1 / 1; display: flex; flex-direction: column; border-radius: 6px; overflow: hidden; background: var(--paper-2);
  box-shadow: inset 0 0 0 1px #B1B1B1; opacity: 0; pointer-events: none; transition: opacity .4s ease; }
.orders .story.is-active { opacity: 1; pointer-events: auto; }
.orders .story .ph { aspect-ratio: 551 / 292; width: 100%; flex: none; }
.orders .story .ph img { width: 100%; height: 100%; object-fit: cover; }
.orders .story .sbody { padding: 4px 24px 30px; display: flex; flex-direction: column; flex: 1; }
/* keep "See the full story" pinned bottom-right whatever the copy length */
.orders .story .more { margin-top: auto; }

/* =================== THE TAB (FAQ) =================== */
.tab { padding: clamp(72px,8vw,99px) 0 clamp(80px,9vw,128px); }
.tab .body { display: grid; grid-template-columns: 1fr 2fr; grid-template-rows: auto 1fr;
  grid-template-areas: "title faqs" "ask faqs"; column-gap: clamp(28px,4vw,64px); row-gap: clamp(28px,3vw,44px); align-items: start; }
.tab .stitle { grid-area: title; }
.tab .faqs { grid-area: faqs; }
/* ask sits at the bottom of the left column (its original spot); the FAQ
   column height is frozen by ui.js so it doesn't move as answers toggle */
.tab .ask { grid-area: ask; align-self: end; }
.tab .stitle h2 { color: var(--ink); }
.tab .ask .q { font-family: var(--mono); font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-2); display: block; margin-bottom: 16px; }
.tab .ask a { font-family: 'Chivo Mono', monospace; font-size: 14px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px; border-bottom: 1.5px solid var(--ink); padding-bottom: 4px; transition: color .25s, border-color .25s; }
.tab .ask a .ar svg { display: block; }
.tab .ask a .ar { transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.tab .ask a:hover .ar { transform: translate(3px,-3px); }
.tab .ask a:hover { color: var(--accent); border-color: var(--accent); }
.faqs { border-top: 3px solid var(--ink); }
.faqs details { border-bottom: 1px solid var(--ink); }
.faqs summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 0; }
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary h3 { margin: 0; font-weight: 700; font-style: italic; font-size: 24px; letter-spacing: -0.015em; line-height: 1.2; }
.faqs .pm { position: relative; width: 20px; height: 20px; flex: none; }
.faqs .pm::before, .faqs .pm::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; transition: transform .3s, opacity .3s; }
.faqs .pm::before { left: 0; top: 9px; width: 20px; height: 2px; }
.faqs .pm::after { left: 9px; top: 0; width: 2px; height: 20px; }
.faqs details[open] .pm::after { transform: scaleY(0); opacity: 0; }
.faqs details[open] summary h3 { font-style: normal; font-weight: 700; }
.faqs .fa { margin: 0; padding: 0 60px 28px 0; font-size: 16.5px; line-height: 1.55; color: var(--ink-2);
  overflow: hidden; }
.faqs details[open] .fa { animation: faOpen .4s cubic-bezier(.2,.7,.2,1); }
@keyframes faOpen { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

/* =================== LAST CALL =================== */
.last { padding: clamp(90px,12vw,132px) 0; text-align: center; }
.last .kick { font-family: var(--tab); font-size: 16px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.last h2 { margin: 18px auto 0; font-style: italic; font-weight: 700; font-size: clamp(54px,9vw,101px);
  line-height: 0.98; letter-spacing: -0.03em; max-width: 13ch; }
.last .sub { margin: 22px auto 0; font-size: clamp(16px,1.4vw,18.7px); color: var(--ink-2); max-width: 40ch; }
.last .acts { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =================== FOOTER =================== */
.foot { background: var(--ink); color: var(--paper); padding: clamp(64px,8vw,92px) 0 26px; }
.foot ::selection { background: var(--accent); color: #fff; }
.foot .top { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(40px,5vw,63px); align-items: start; }
.foot .em-k { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sand); }
.foot a.mail { display: inline-block; margin-top: 14px; font-style: italic; letter-spacing: -0.03em; line-height: 1.05;
  font-size: clamp(26px,3.3vw,46px); color: var(--paper); transition: color .25s; overflow-wrap: anywhere; max-width: 100%; }
.foot a.mail:hover { color: var(--accent); }
.foot .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.foot .col .h { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sand); display: block; margin-bottom: 8px; }
.foot .col a { display: block; padding: 6px 0; font-size: 16px; color: var(--paper); transition: color .25s; }
.foot .col a:hover { color: var(--accent); }
.foot .rule { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  margin-top: clamp(40px,5vw,64px); padding-top: 20px; border-top: 1.5px solid rgba(255,255,255,.22);
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sand); }
.wordmark { display: flex; align-items: baseline; justify-content: center; gap: clamp(8px,1.4vw,20px);
  margin-top: clamp(36px,5vw,52px); max-width: 100%; overflow: hidden; }
.wordmark span { font-style: italic; font-weight: 700; font-size: clamp(74px,15.5vw,188px);
  line-height: 0.8; letter-spacing: -0.04em; color: var(--paper); }
.wordmark .wlogo { width: auto; height: clamp(80px,9.6vw,142px); flex: none; }
/* =================== RESPONSIVE =================== */
@media (max-width: 1080px) {
  .hero .art svg { width: clamp(180px,26vw,300px); }
}
@media (max-width: 900px) {
  nav.top { display: none; }
  header.bar .burger { display: inline-flex; }
  .header-cta { display: none; }
  .hero .grid { grid-template-columns: minmax(0,1fr); }
  .hero .art { grid-row: 1; justify-items: start; }
  /* mobile: fill the column width (bounded, never overflows); stage = box */
  .hero .art .hero3d { width: 100%; height: clamp(340px,84vw,460px); }
  .hero .art .hero3d-stage { position: static; transform: none; width: 100%; height: 100%; }
  .shots { grid-template-columns: 1fr; gap: 22px; }
  .courses { grid-template-columns: 1fr; row-gap: 0; padding-left: clamp(20px,5vw,30px); padding-right: clamp(20px,5vw,30px); }
  .course:nth-child(2), .course:nth-child(4) { padding-left: 0; }
  .course:nth-child(2) { border-top: 1px solid var(--hair); }
  .bartender .wrap { grid-template-columns: 1fr; }
  .bartender .acts { justify-content: flex-start; }
  .rules .body { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .orders .body { grid-template-columns: 1fr; }
  .orders .story-stage { max-width: 551px; }
  .tab .body { grid-template-columns: 1fr; grid-template-rows: auto auto auto; grid-template-areas: "title" "faqs" "ask"; }
  .foot .top { grid-template-columns: 1fr; }
}

/* ---- Previous Orders → mobile accordion ---- */
@media (max-width: 700px) {
  .orders .story-stage { display: none; }
  .orders .body { margin-top: 30px; }
  .orders .or-head { padding: 21px 32px 18px 0; }
  .orders .or-head:hover { padding-left: 0; }
  .orders .or-head .or-top { flex-direction: column; align-items: flex-start; gap: 7px; }
  .orders .or-head .or-id { flex-direction: column; align-items: flex-start; gap: 3px; }
  .orders .order-row .nm { white-space: normal; overflow-wrap: anywhere; font-size: 19px; line-height: 1.12; }
  .orders .order-row .pj { font-size: 14.5px; }
  .orders .order-row .ctag { font-size: 10.5px; }
  .orders .order-row .or-bot { display: none; }
  .orders .or-chev { display: inline-flex; position: absolute; top: 20px; right: 0; color: var(--accent);
    transition: transform .35s cubic-bezier(.2,.7,.2,1); }
  .orders .or-chev svg { display: block; }
  .orders .order-row.open .or-chev { transform: rotate(180deg); }
  .orders .order-row.open .nm { color: var(--accent); }
  .orders .or-card { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .42s cubic-bezier(.2,.7,.2,1); }
  .orders .order-row.open .or-card { grid-template-rows: 1fr; }
  .orders .or-card-in { overflow: hidden; min-height: 0; }
  .orders .or-card .ph { aspect-ratio: 551 / 292; width: 100%; border-radius: 6px; overflow: hidden; box-shadow: inset 0 0 0 1px #B1B1B1; }
  .orders .or-card .ph img { width: 100%; height: 100%; object-fit: cover; }
  .orders .or-cbody { padding: 16px 0 26px; }
  .orders .or-card .shead { padding: 2px 0 14px; }
  .orders .or-card .sname { font-size: 21px; }
  .orders .or-card .pill { font-size: 11px; white-space: nowrap; }
  .orders .or-card .blk { padding: 10px 0 0; }
  .orders .or-card .blk .field-label { color: var(--muted); font-size: 12px; }
  .orders .or-card .blk p { font-size: 15px; line-height: 1.5; }
  .orders .or-card .more { justify-content: flex-start; padding-top: 18px; }
  .orders .or-card .more a { font-size: 13px; }
  .orders .or-card .more a:active { color: var(--accent); border-color: var(--accent); }
}

@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .foot .cols { grid-template-columns: 1fr 1fr; }
  .header-cta { display: none; }
  .foot a.mail { font-size: clamp(20px, 6.1vw, 34px); }
  .wordmark { gap: clamp(5px,1.8vw,12px); }
  .wordmark span { font-size: clamp(34px, 11vw, 92px); }
  .wordmark .wlogo { height: clamp(40px, 8vw, 80px); }
}

/* =================== BURGER + MOBILE MENU =================== */
.burger { display: none; width: 46px; height: 46px; flex: none; align-items: center; justify-content: center;
  flex-direction: column; gap: 5px; padding: 0; cursor: pointer; background: transparent;
  border: 1.5px solid var(--ink); border-radius: 999px; transition: border-color .25s; z-index: 130; }
.burger .bl { display: block; width: 19px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .32s cubic-bezier(.2,.7,.2,1), opacity .2s, background .25s; }
.burger.open { border-color: rgba(255,255,255,.5); }
.burger.open .bl { background: var(--paper); }
.burger.open .bl:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open .bl:nth-child(2) { opacity: 0; }
.burger.open .bl:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

body.menu-open { overflow: hidden; }
body.menu-open header.bar { z-index: 120; background: var(--ink); border-bottom-color: rgba(255,255,255,.14); }
body.menu-open header.bar .brand .nm { color: var(--paper); }
body.menu-open header.bar .brand .sb { color: rgba(255,255,255,.6); }

.mobile-menu { position: fixed; inset: 0; z-index: 100; background: var(--ink); color: var(--paper);
  opacity: 0; visibility: hidden; transition: opacity .32s ease, visibility .32s; }
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu ::selection { background: var(--accent); color: #fff; }
.mm-inner { height: 100%; display: flex; flex-direction: column; overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: calc(72px + clamp(22px,7vw,44px)) var(--gut) clamp(32px,8vw,56px); }
.mm-label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sand); }
.mm-nav { display: flex; flex-direction: column; gap: 2px; margin-top: auto; }
.mm-nav > a, .mm-nav .mm-toggle { display: flex; align-items: baseline; gap: 16px; padding: 9px 0; color: var(--paper);
  font-family: inherit; font-style: italic; font-weight: 700; letter-spacing: -0.025em; line-height: 1.0;
  font-size: clamp(36px,11.5vw,62px); transition: color .2s; }
.mm-nav .mm-toggle { width: 100%; background: none; border: 0; text-align: left; cursor: pointer; }
.mm-nav .idx { font-family: var(--mono); font-style: normal; font-weight: 400; font-size: 13px;
  letter-spacing: 0.06em; color: var(--accent); transform: translateY(-0.6em); flex: none; }
.mm-nav > a:hover, .mm-nav > a:active, .mm-nav .mm-toggle:hover { color: var(--accent); }

/* expandable group (Offers / Use Cases) */
.mm-group { display: flex; flex-direction: column; }
.mm-toggle .mm-pm { position: relative; width: 22px; height: 22px; flex: none; margin-left: auto; align-self: center; }
.mm-toggle .mm-pm::before, .mm-toggle .mm-pm::after { content: ""; position: absolute; background: var(--accent);
  border-radius: 2px; transition: transform .32s cubic-bezier(.2,.7,.2,1), opacity .25s; }
.mm-toggle .mm-pm::before { left: 0; top: 10px; width: 22px; height: 2px; }
.mm-toggle .mm-pm::after { left: 10px; top: 0; width: 2px; height: 22px; }
.mm-group.open .mm-toggle { color: var(--accent); }
.mm-group.open .mm-toggle .mm-pm::after { transform: scaleY(0); opacity: 0; }
.mm-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .42s cubic-bezier(.2,.7,.2,1); }
.mm-group.open .mm-sub { grid-template-rows: 1fr; }
.mm-sub-inner { overflow: hidden; min-height: 0; }
.mm-sub a { display: flex; flex-direction: column; gap: 3px; padding: 13px 0; margin-left: 2px;
  border-top: 1px solid rgba(255,255,255,.16); color: var(--paper);
  font-style: normal; font-weight: 600; font-size: 20px; letter-spacing: -0.01em; line-height: 1.12; transition: color .2s; }
.mm-sub a:first-child { border-top: none; }
.mm-sub a .s-name .pj { font-style: italic; font-weight: 400; color: var(--sand); margin-left: 7px; transition: color .2s; }
.mm-sub a .s-meta { font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--sand); }
.mm-sub a:hover { color: var(--accent); }
.mm-sub a:hover .pj { color: var(--accent); }

/* entrance stagger (top-level items only) */
.mm-nav > a, .mm-nav > .mm-group { opacity: 0; transform: translateY(18px); }
.mobile-menu.open .mm-nav > a, .mobile-menu.open .mm-nav > .mm-group { animation: mmIn .5s cubic-bezier(.2,.7,.2,1) forwards; }
.mobile-menu.open .mm-nav > :nth-child(1) { animation-delay: .05s; }
.mobile-menu.open .mm-nav > :nth-child(2) { animation-delay: .10s; }
.mobile-menu.open .mm-nav > :nth-child(3) { animation-delay: .15s; }
.mobile-menu.open .mm-nav > :nth-child(4) { animation-delay: .20s; }
.mobile-menu.open .mm-nav > :nth-child(5) { animation-delay: .25s; }
.mobile-menu.open .mm-nav > :nth-child(6) { animation-delay: .30s; }
@keyframes mmIn { to { opacity: 1; transform: translateY(0); } }
.mm-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; margin-top: clamp(34px,9vw,58px); }
.mm-mail { font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; color: var(--sand); overflow-wrap: anywhere; }
.mm-mail:hover { color: var(--accent); }
@media (prefers-reduced-motion: reduce) {
  .mm-nav > a, .mm-nav > .mm-group { opacity: 1; transform: none; }
  .mobile-menu.open .mm-nav > a, .mobile-menu.open .mm-nav > .mm-group { animation: none; }
}
