/* ============================================================================
   DineQon — "Mise en place", table service
   A restaurant is a timing machine; DineQon is its clock. Numbered stations
   follow a real service. Cream table linen, deep teal for type, and warm
   colour blocks so no band of the page is ever empty.

   Palette  cream #fdf4e8 · linen #fff9f0 · teal #0d4f45 (type + primary)
            orange #ef6c1a · amber #f9c35c · ink #14110d
            brand violet #7c3aed -> azure #2563eb kept for the logo and rings
   Type     Instrument Serif (display) · Inter (body) · IBM Plex Mono (data)
   ========================================================================== */

:root {
  --ink: #fdf4e8;          /* page base (token names kept so old rules still read) */
  --char: #fff9f0;         /* raised surfaces */
  --char-2: #f8ecdb;
  --bone: #0d4f45;         /* primary type: deep teal */
  --bone-dim: #4a5f56;
  --bone-faint: #5f6d64;
  --teal: #0d4f45;
  --teal-deep: #093a33;
  --orange: #ef6c1a;
  --orange-ink: #a5460b;   /* orange for TYPE: 5.54:1 on cream */
  --on-orange: #241104;    /* body copy on the orange band: 5.9:1 */
  --amber: #f9c35c;
  --cream: #fdf4e8;
  --violet: #7c3aed;
  --azure: #2563eb;
  --ember: #ef6c1a;
  --jade: #0f7a4c;
  --chili: #d64027;
  --brand: linear-gradient(100deg, var(--violet), var(--azure));
  --line: rgba(13, 79, 69, .16);
  --line-soft: rgba(13, 79, 69, .09);
  --rail-w: 232px;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --pad: 20px;
  --shadow-sm: 0 2px 10px rgba(13, 79, 69, .07);
  --shadow: 0 14px 40px rgba(13, 79, 69, .12);
  --shadow-lg: 0 30px 70px rgba(13, 79, 69, .2);
  --r: 22px;
}

@media (min-width: 720px) { :root { --pad: 26px; } }

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

.mp {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  overflow-x: hidden;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
.mp ::selection { background: var(--violet); color: #fff; }
.mp a { color: inherit; }
.mp img { display: block; max-width: 100%; }
.mp :focus-visible { outline: 2px solid var(--azure); outline-offset: 3px; }

.grain-layer { position: fixed; inset: 0; z-index: 300; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.055'/%3E%3C/svg%3E"); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 var(--pad); }
.mp section { position: relative; padding: 62px 0; }
@media (min-width: 720px) { .mp section { padding: 88px 0; } }
@media (min-width: 1024px) { .mp section { padding: 104px 0; } }

/* --------------------------------------------------------------- type -- */
.mp h1, .mp h2, .mp h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; line-height: 1.06; margin: 0; }
.mp h1 { font-size: clamp(2.05rem, 8.4vw, 5rem); }
.mp h2 { font-size: clamp(1.72rem, 6.2vw, 3.3rem); }
.mp h3 { font-size: clamp(1.18rem, 4vw, 1.65rem); }
.mp p { margin: 0; }
.it { font-style: italic; }
.hot { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { color: var(--bone-dim); font-size: clamp(.95rem, 2.4vw, 1.06rem); line-height: 1.72; max-width: 60ch; }

.station {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--mono); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--bone-faint); margin-bottom: 20px;
}
.station b { color: var(--violet); font-weight: 500; }
.station::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.tag {
  display: inline-block; font-family: var(--mono); font-size: .62rem; letter-spacing: .16em;
  text-transform: uppercase; color: #c79bff; padding: 5px 10px;
  border: 1px solid rgba(157, 51, 255, .4); border-radius: 3px;
}

/* -------------------------------------------------------- service rail -- */
.rail { position: fixed; left: 0; top: 0; bottom: 0; width: var(--rail-w); z-index: 60; border-right: 1px solid var(--line-soft);
  padding: 92px 20px 24px; display: none; flex-direction: column; gap: 16px; background: linear-gradient(180deg, #fffdf9, #f6f1e8); }
@media (min-width: 1180px) { .rail { display: flex; } .mp-shell { padding-left: var(--rail-w); } }
.rail-title { font-family: var(--mono); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--bone-faint); display: flex; align-items: center; gap: 8px; }
.rail-title i { width: 6px; height: 6px; border-radius: 50%; background: var(--jade); box-shadow: 0 0 10px var(--jade); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.rail-feed { display: grid; gap: 9px; }
.rail-item {
  border-left: 2px solid var(--line); padding: 6px 0 6px 11px;
  font-family: var(--mono); font-size: .66rem; line-height: 1.5; color: var(--bone-faint);
  animation: rail-in .5s ease both;
}
@keyframes rail-in { from { opacity: 0; transform: translateY(-6px); } }
.rail-item b { display: block; color: var(--bone); font-weight: 500; }
.rail-item.fired { border-color: var(--chili); } .rail-item.fired b { color: #ff8b85; }
.rail-item.ready { border-color: var(--jade); } .rail-item.ready b { color: #7fe0aa; }
.rail-item.seated { border-color: var(--violet); } .rail-item.seated b { color: #c79bff; }
.rail-foot { margin-top: auto; font-family: var(--mono); font-size: .58rem; color: var(--bone-faint); letter-spacing: .1em; }

.ticker { display: block; border-block: 1px solid var(--line-soft); overflow: hidden; background: #0d0b0a; }
@media (min-width: 1180px) { .ticker { display: none; } }
.ticker-track { display: flex; gap: 30px; width: max-content; padding: 10px 0; animation: slide 34s linear infinite; }
.ticker-track span { font-family: var(--mono); font-size: .64rem; letter-spacing: .08em; color: var(--bone-faint); white-space: nowrap; }
.ticker-track span b { color: #c79bff; font-weight: 500; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- nav -- */
.nav {
  position: fixed; top: 0; right: 0; left: 0; z-index: 80;
  transition: background .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
@media (min-width: 1180px) { .nav { left: var(--rail-w); } }
.nav.stuck { background: rgba(250, 247, 242, .86); backdrop-filter: blur(16px) saturate(1.3); border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav-in { display: flex; align-items: center; gap: 18px; width: 100%; max-width: 1080px; margin: 0 auto; padding: 12px var(--pad); min-height: 62px; }
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; flex: none; }
.logo img { height: 30px; width: auto; }
.logo span { font-family: var(--serif); font-size: 1.32rem; letter-spacing: -.02em; line-height: 1; }
.logo span em { font-style: italic; background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: 22px; margin-left: 10px; }
.nav-links a { font-family: var(--mono); font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; color: var(--bone-dim); text-decoration: none; transition: color .2s; white-space: nowrap; }
.nav-links a:hover { color: #c79bff; }
.nav-cta { margin-left: auto; display: flex; gap: 9px; align-items: center; }
.burger { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--bone); border-radius: 4px; padding: 9px 12px; font-size: 1rem; line-height: 1; cursor: pointer; }
@media (max-width: 960px) { .nav-links, .nav-cta { display: none; } .burger { display: block; } }
.mob { display: none; background: rgba(255, 255, 255, .98); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); padding: 8px var(--pad) 20px; box-shadow: var(--shadow); }
.nav.open .mob { display: grid; }
.mob a { padding: 14px 0; text-decoration: none; font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid var(--line-soft); }
.mob a:last-child { border: none; }

/* -------------------------------------------------------------- button -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; cursor: pointer;
  padding: 14px 22px; border-radius: 4px; text-decoration: none; min-height: 46px;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--line); background: transparent; color: var(--bone);
  transition: border-color .25s, color .25s, transform .12s, box-shadow .25s;
  text-align: center;
}
.btn:hover { border-color: var(--violet); color: #c79bff; }
.btn:active { transform: translateY(1px); }
.btn.fill { background: var(--brand); border-color: transparent; color: #fff; font-weight: 500; box-shadow: 0 10px 30px rgba(110, 70, 255, .3); }
.btn.fill:hover { color: #fff; box-shadow: 0 14px 38px rgba(110, 70, 255, .45); }
.btn.sm { padding: 9px 15px; font-size: .62rem; min-height: 38px; }
.btn .ico { width: 15px; height: 15px; flex: none; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* --------------------------------------------------------------- hero -- */
.hero { padding: 104px 0 54px; }
@media (min-width: 1024px) { .hero { padding: 148px 0 74px; } }
.hero-grid { display: grid; gap: 40px; align-items: end; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.12fr .88fr; gap: 54px; } }
.hero h1 { margin: 18px 0 22px; }
.hero-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 14px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
@media (min-width: 560px) { .hero-meta { grid-template-columns: repeat(4, 1fr); } }
.hero-meta div { font-family: var(--mono); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bone-faint); }
.hero-meta b { display: block; font-family: var(--serif); font-size: clamp(1.4rem, 5vw, 1.75rem); letter-spacing: -.02em; color: var(--bone); text-transform: none; }

.plate { position: relative; }
.plate-photo { aspect-ratio: 4 / 5; border-radius: 3px; overflow: hidden; }
/* Chips sit inside the frame on small screens so nothing can push the page wide. */
.chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 10px;
  background: rgba(22, 20, 26, .92); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(8px); color: rgba(255, 255, 255, .78);
  box-shadow: var(--shadow); font-family: var(--mono); font-size: .63rem; letter-spacing: .08em;
  animation: chip-in .7s cubic-bezier(.2, .9, .3, 1.2) both; }
.chip b { color: #fff; font-weight: 500; }
.chip i { width: 5px; height: 5px; border-radius: 50%; background: var(--violet); flex: none; }
.chip.c1 { top: 12px; left: 12px; animation-delay: .5s; }
.chip.c2 { top: 44%; right: 12px; animation-delay: .7s; }
.chip.c3 { bottom: 12px; left: 12px; animation-delay: .9s; }
.chip.c2 i { background: var(--jade); }
.chip.c3 i { background: var(--ember); }
@media (min-width: 1024px) {
  .chip.c1 { left: -18px; top: 8%; }
  .chip.c2 { right: -20px; }
  .chip.c3 { left: -12px; bottom: 10%; }
}
@keyframes chip-in { from { opacity: 0; transform: translateY(10px) scale(.94); } }

/* --------------------------------------------------------------- photo -- */
.ph { position: relative; overflow: hidden; margin: 0; background: linear-gradient(150deg, #241d2e, #14120f); }
.ph img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .9s ease, transform 1.3s cubic-bezier(.2, .8, .2, 1); }
.ph img.ready { opacity: 1; transform: none; }
.ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 9, 8, .78), rgba(10, 9, 8, .04) 58%, transparent); pointer-events: none; }
.ph.flat::after { display: none; }
.ph-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 14px 16px; font-family: var(--mono);
  font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .92); text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.wipe { clip-path: inset(16% 0 0 0); transition: clip-path 1.1s cubic-bezier(.2, .8, .2, 1); }
.wipe.shown { clip-path: inset(0 0 0 0); }

/* --------------------------------------------------------------- strip -- */
.strip { padding: 0 0 62px; overflow: hidden; position: relative; }
@media (min-width: 1024px) { .strip { padding-bottom: 104px; } }
.strip-track { display: flex; gap: 12px; width: max-content; animation: slide 52s linear infinite; }
@media (hover: hover) and (pointer: fine) {
  .strip:hover .strip-track { animation-play-state: paused; }
}
.strip .ph { width: 220px; height: 150px; flex: none; }
@media (min-width: 720px) { .strip .ph { width: 290px; height: 195px; } }
.fade-l, .fade-r { right: 0; background: linear-gradient(270deg, var(--ink), transparent); }
@media (min-width: 720px) { .fade-l, .fade-r { width: 120px; } }
.fade-l { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.fade-r { right: 0; background: linear-gradient(270deg, var(--ink), transparent); }

/* --------------------------------------------------------------- demo -- */
.demo-grid { display: grid; gap: 14px; margin-top: 30px; }
@media (min-width: 880px) { .demo-grid { grid-template-columns: repeat(3, 1fr); } }
.demo-card {
  display: flex; flex-direction: column; text-decoration: none;
  border: 1px solid var(--line-soft); border-radius: 4px; overflow: hidden;
  background: var(--char); transition: border-color .3s, transform .3s;
}
.demo-card:hover { border-color: var(--violet); transform: translateY(-4px); }
.demo-card .ph { aspect-ratio: 16 / 10; }
.demo-body { padding: 18px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.demo-body b { font-family: var(--serif); font-size: 1.25rem; font-weight: 400; }
.demo-body p { color: var(--bone-dim); font-size: .88rem; line-height: 1.55; }
.demo-body .go { margin-top: auto; padding-top: 12px; font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: #c79bff; display: flex; align-items: center; gap: 7px; }
.demo-note { margin-top: 18px; padding: 14px 16px; border: 1px dashed var(--line); border-radius: 4px; font-family: var(--mono); font-size: .66rem; line-height: 1.7; color: var(--bone-faint); letter-spacing: .04em; }
.demo-note b { color: var(--bone-dim); font-weight: 500; }

/* ------------------------------------------------------- printed menu -- */
.menucard { background: var(--char); border: 1px solid var(--line-soft); border-radius: 18px; padding: clamp(24px, 5vw, 54px); box-shadow: var(--shadow); }
.menucard-head { text-align: center; padding-bottom: 22px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.menucard-head span { font-family: var(--mono); font-size: .6rem; letter-spacing: .26em; text-transform: uppercase; color: var(--bone-faint); }
.course { padding: 26px 0 4px; }
.course > span { font-family: var(--mono); font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dish-line { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); transition: color .2s; }
.dish-line:hover { color: #c79bff; }
.dish-line b { font-family: var(--serif); font-size: clamp(1.05rem, 3.6vw, 1.2rem); font-weight: 400; }
.dish-line em { border-bottom: 1px dotted var(--line); transform: translateY(-4px); font-style: normal; }
.dish-line span { font-family: var(--mono); font-size: .63rem; letter-spacing: .04em; color: var(--bone-faint); text-align: right; max-width: 46%; }
@media (max-width: 660px) {
  .dish-line { grid-template-columns: 1fr; gap: 2px; }
  .dish-line em { display: none; }
  .dish-line span { text-align: left; max-width: none; }
}

/* --------------------------------------------------------------- flow -- */
.flow { display: grid; margin-top: 30px; }
.flow-step { display: grid; grid-template-columns: 62px 1fr; gap: 14px; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--line-soft); transition: padding-left .35s cubic-bezier(.2, .8, .2, 1), color .3s; }
@media (min-width: 760px) { .flow-step { grid-template-columns: 78px 1fr auto; gap: 20px; padding: 19px 0; } }
.flow-step:hover { padding-left: 10px; }
.flow-step:last-child { border-bottom: 1px solid var(--line-soft); }
.flow-step > i { font-family: var(--mono); font-style: normal; font-size: .64rem; letter-spacing: .08em; color: var(--bone-faint); }
.flow-step b { font-family: var(--serif); font-size: clamp(1.05rem, 3.8vw, 1.5rem); font-weight: 400; }
.flow-step span { display: none; font-family: var(--mono); font-size: .62rem; letter-spacing: .06em; color: var(--bone-faint); text-align: right; }
@media (min-width: 760px) { .flow-step span { display: block; } }
.flow-step:hover > i, .flow-step:hover b { color: #c79bff; }

/* --------------------------------------------------------------- tabs -- */
.tabs { display: flex; border-bottom: 1px solid var(--line); margin-bottom: 26px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; background: none; border: none; cursor: pointer; position: relative;
  padding: 13px 16px; color: var(--bone-faint);
  font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase;
  transition: color .25s; white-space: nowrap;
}
.tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--brand); transform: scaleX(0); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.tab.on { color: #c79bff; }
.tab.on::after { transform: scaleX(1); }
.pane { display: none; }
.pane.on { display: grid; gap: 22px; animation: fade-up .45s ease both; }
@media (min-width: 880px) { .pane.on { grid-template-columns: .9fr 1.1fr; align-items: center; gap: 30px; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } }
.screen { background: var(--char); border: 1px solid var(--line-soft); border-radius: 14px; padding: 14px; box-shadow: var(--shadow); }
@media (min-width: 720px) { .screen { padding: 18px; } }
.srow { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 10px; border-bottom: 1px solid var(--line-soft); font-size: .84rem; }
@media (min-width: 720px) { .srow { padding: 12px 14px; font-size: .88rem; } }
.srow:last-child { border: none; }
.srow small { font-family: var(--mono); font-size: .58rem; letter-spacing: .06em; padding: 3px 8px; border-radius: 2px; white-space: nowrap; flex: none; }
.s-new { background: rgba(157, 51, 255, .16); color: #c79bff; }
.s-fire { background: rgba(228, 50, 43, .14); color: #ff8b85; }
.s-ready { background: rgba(47, 191, 113, .14); color: #7fe0aa; }
.srow b { font-family: var(--mono); font-weight: 500; white-space: nowrap; }

/* ------------------------------------------------------------ compare -- */
.vs { display: grid; border-top: 1px solid var(--line); }
.vs-row { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line-soft); }
.vs-row > div { padding: 13px 12px; font-size: .82rem; line-height: 1.5; }
@media (min-width: 720px) { .vs-row > div { padding: 17px 20px; font-size: .93rem; } }
.vs-row > div:first-child { color: var(--bone-faint); text-decoration: line-through; text-decoration-color: rgba(228, 50, 43, .5); }
.vs-row > div:last-child { border-left: 1px solid var(--line-soft); }
.vs-head > div { font-family: var(--mono); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--bone-faint); text-decoration: none !important; padding-bottom: 10px; }
.vs-head > div:last-child { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* --------------------------------------------------------- industries -- */
.inds { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .inds { grid-template-columns: repeat(4, 1fr); gap: 12px; } }
.ind { position: relative; height: 150px; overflow: hidden; display: block; text-decoration: none; border: 1px solid var(--line-soft); transition: border-color .3s; }
@media (min-width: 760px) { .ind { height: 200px; } }
.ind:hover { border-color: var(--violet); }
.ind .ph { position: absolute; inset: 0; }
.ind:hover .ph img { transform: scale(1.06); }
.ind b { position: absolute; left: 14px; bottom: 13px; z-index: 2; font-family: var(--serif); font-size: clamp(1rem, 3.4vw, 1.22rem); font-weight: 400; }
.ind i { position: absolute; right: 12px; top: 12px; z-index: 2; font-family: var(--mono); font-style: normal; font-size: .56rem; letter-spacing: .12em; color: #c79bff; }
.ind.w2 { grid-column: span 2; }

/* -------------------------------------------------------------- split -- */
.split { display: grid; gap: 30px; align-items: center; }
@media (min-width: 940px) { .split { grid-template-columns: 1fr 1fr; gap: 46px; } .split.rev > div:first-child { order: 2; } }
.checks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 18px 1fr; gap: 11px; color: var(--bone-dim); font-size: .91rem; line-height: 1.58; }
.checks li::before { content: ""; width: 7px; height: 7px; margin-top: 7px; background: var(--brand); transform: rotate(45deg); }

/* ---------------------------------------------------------------- faq -- */
.faq { display: grid; border-top: 1px solid var(--line); }
.q { border-bottom: 1px solid var(--line-soft); }
.q summary { cursor: pointer; list-style: none; padding: 18px 0; display: flex; justify-content: space-between; gap: 16px; align-items: baseline; font-family: var(--serif); font-size: clamp(1.02rem, 3.6vw, 1.35rem); transition: color .2s; }
.q summary::-webkit-details-marker { display: none; }
.q summary:hover { color: #c79bff; }
.q summary::after { content: "+"; font-family: var(--mono); font-size: 1.05rem; color: var(--violet); transition: transform .3s; flex: none; }
.q[open] summary::after { transform: rotate(45deg); }
.q p { color: var(--bone-dim); padding-bottom: 20px; max-width: 68ch; line-height: 1.7; font-size: .92rem; }

/* ---------------------------------------------------------------- cta -- */
.cta { position: relative; overflow: hidden; border-radius: 22px; background: #16141a; color: #fff;
  padding: clamp(44px, 8vw, 92px) var(--pad); text-align: center; box-shadow: var(--shadow-lg); }
.cta .ph { position: absolute; inset: 0; z-index: 0; }
.cta .ph img { filter: saturate(.55) brightness(.38); }
.cta-in { position: relative; z-index: 2; }
.cta h2 { margin-bottom: 16px; }
.cta .btn-row { justify-content: center; }

/* ------------------------------------------------------------- footer -- */
.foot { border-top: 1px solid var(--line-soft); padding: 46px 0 36px; }
.foot-grid { display: grid; gap: 28px; }
@media (min-width: 560px) { .foot-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; } }
.foot h4 { font-family: var(--mono); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--bone-faint); margin: 0 0 12px; font-weight: 500; }
.foot a { display: block; padding: 6px 0; color: var(--bone-dim); text-decoration: none; font-size: .88rem; transition: color .2s; }
.foot a:hover { color: #c79bff; }
.foot-base { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-family: var(--mono); font-size: .58rem; letter-spacing: .08em; color: var(--bone-faint); }

/* --------------------------------------------------------------- misc -- */
.ico { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.rail-progress { position: fixed; top: 0; left: 0; height: 2px; z-index: 200; background: var(--brand); width: 0; box-shadow: 0 0 12px rgba(110, 70, 255, .7); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.shown { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .strip-track, .ticker-track, .rail-title i, .chip { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ph img { opacity: 1; transform: none; }
  .wipe { clip-path: none; }
}

/* =============================================== small-screen legibility == */
/* The mono micro-labels are set for a desktop reading distance. Below the
   desktop breakpoint the whole label scale steps up so nothing has to be
   squinted at; the fine setting returns at 1024px and above. */
@media (max-width: 1023px) {
  .tag,
  .btn.sm,
  .tab,
  .ticker-track span,
  .hero-meta div,
  .menucard-head span,
  .course > span,
  .dish-line span,
  .flow-step > i,
  .flow-step span,
  .vs-head > div,
  .ind i,
  .ph-cap,
  .srow small,
  .srow b,
  .demo-body .go,
  .foot h4,
  .foot-base { font-size: .72rem; }

  .station { font-size: .72rem; letter-spacing: .16em; }
  .demo-note { font-size: .88rem; }

  /* Comfortably past the 44px minimum tap target. */
  .mob a { padding: 15px 0; min-height: 48px; display: flex; align-items: center; }
  .btn { min-height: 48px; justify-content: center; }
}

/* Phone only: stack the calls to action full width so they are easy to hit. */
@media (max-width: 719px) {
  .hero .btn, .cta .btn { width: 100%; }
  .hero-meta { gap: 16px 20px; }
}

/* Nothing may exceed the viewport, whatever the content. */
.mp, .mp-shell { max-width: 100vw; }
.mp img, .mp svg, .mp figure { max-width: 100%; }

/* ================================================== the menu medallions == */
/* The board is now the page's dark moment. Dishes are cut out and ringed so
   the food itself is the control, the way a menu board presents it. */
.board {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 90% at 50% -10%, #241f2e, #16141a 60%);
  color: #f4f1ea;
  border-radius: 24px;
  margin: 0 var(--pad);
}
@media (min-width: 1024px) { .board { margin: 0 auto; max-width: 1180px; } }
.board .station { color: rgba(244, 241, 234, .5); }
.board .station b { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.board .station::after { background: rgba(244, 241, 234, .18); }
.board h2 { color: #fff; }
.board .lede { color: rgba(244, 241, 234, .68); }

.meds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 12px; margin-top: 40px; }
@media (min-width: 620px) { .meds { grid-template-columns: repeat(3, 1fr); gap: 28px 18px; } }
@media (min-width: 980px) { .meds { grid-template-columns: repeat(6, 1fr); gap: 30px 18px; } }

.med { text-align: center; text-decoration: none; color: inherit; display: block; }
.med-ring {
  position: relative; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 32%, #fffdf9, #efe9df 68%, #ded5c6);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .5);
  display: grid; place-items: center;
  transition: transform .5s cubic-bezier(.2, .9, .25, 1), box-shadow .5s ease;
}
.med-ring::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  background: conic-gradient(from var(--sweep, 0deg), transparent 0 60%, var(--violet) 76%, var(--azure) 88%, transparent 96%);
  opacity: 0; transition: opacity .45s ease;
  -webkit-mask: radial-gradient(circle, transparent 0 calc(50% - 2.5px), #000 calc(50% - 2.5px));
  mask: radial-gradient(circle, transparent 0 calc(50% - 2.5px), #000 calc(50% - 2.5px));
  animation: sweep 5s linear infinite;
}
@property --sweep { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes sweep { to { --sweep: 360deg; } }
.med img {
  width: 88%; height: 88%; object-fit: contain;
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .38));
  transition: transform .5s cubic-bezier(.2, .9, .25, 1);
}
.med b { display: block; margin-top: 14px; font-family: var(--serif); font-size: 1.06rem; font-weight: 400; color: #fff; }
.med span { display: block; font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; color: rgba(244, 241, 234, .5); margin-top: 2px; }
@media (hover: hover) {
  .med:hover .med-ring { transform: translateY(-9px); box-shadow: 0 28px 48px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .6); }
  .med:hover .med-ring::after { opacity: 1; }
  .med:hover img { transform: scale(1.1) rotate(-3deg); }
}
.med:active .med-ring { transform: translateY(-3px) scale(.97); }

.board .fleck { position: absolute; border-radius: 50%; pointer-events: none; opacity: .55; }
.board .fleck.a { width: 12px; height: 12px; background: var(--chili); top: 14%; left: 6%; animation: bob 7s ease-in-out infinite alternate; }
.board .fleck.b { width: 8px; height: 8px; background: var(--ember); top: 66%; left: 4%; animation: bob 9s ease-in-out infinite alternate-reverse; }
.board .fleck.c { width: 10px; height: 10px; background: var(--jade); top: 22%; right: 6%; animation: bob 8s ease-in-out infinite alternate; }
.board .fleck.d { width: 7px; height: 7px; background: var(--violet); bottom: 16%; right: 9%; animation: bob 10s ease-in-out infinite alternate-reverse; }
@keyframes bob { to { transform: translateY(-22px) translateX(9px); } }

/* ========================================================= demo, up front == */
/* The demo was buried. It now announces itself: a ribbon above the fold, a
   panel in the hero, and a button that follows the reader down the page. */
.ribbon {
  position: relative; z-index: 70;
  background: var(--brand); color: #fff;
  text-align: center; padding: 9px var(--pad);
  font-family: var(--mono); font-size: .68rem; letter-spacing: .13em; text-transform: uppercase;
}
.ribbon a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.ribbon a u { text-underline-offset: 3px; }
.ribbon .ico { width: 14px; height: 14px; }
.nav { top: 38px; }

.try-now {
  display: grid; gap: 14px; margin-top: 26px; padding: 18px;
  border-radius: 18px; background: var(--char); border: 1px solid var(--line-soft);
  box-shadow: var(--shadow);
}
@media (min-width: 560px) { .try-now { grid-template-columns: repeat(3, 1fr); } }
.try-now a {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  border-radius: 12px; text-decoration: none; color: var(--bone);
  background: var(--char-2); border: 1px solid transparent;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  transition: border-color .25s, transform .18s, background .25s;
}
.try-now a:hover { border-color: var(--violet); transform: translateY(-2px); background: #fff; }
.try-now a i { font-style: normal; width: 30px; height: 30px; flex: none; border-radius: 9px; display: grid; place-items: center; background: var(--brand); color: #fff; }
.try-now a i .ico { width: 16px; height: 16px; }

.demo-fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 90;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 20px; border-radius: 999px; text-decoration: none;
  background: var(--brand); color: #fff; box-shadow: 0 14px 34px rgba(124, 58, 237, .42);
  font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity .4s ease, transform .4s cubic-bezier(.2, .9, .25, 1);
}
.demo-fab.show { opacity: 1; transform: none; pointer-events: auto; }
.demo-fab .ico { width: 16px; height: 16px; }
.demo-fab::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(124, 58, 237, .55); animation: ping 2.8s ease-out infinite;
}
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 16px rgba(124, 58, 237, 0); } }

@media (prefers-reduced-motion: reduce) {
  .med-ring::after, .board .fleck, .demo-fab::before { animation: none; }
}

/* ------------------------------------------------- table-service surfaces -- */
.mp { background: var(--ink); color: var(--bone); }
.mp h1, .mp h2, .mp h3 { color: var(--teal); }
.hot { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--orange-ink); }
.tag { color: var(--orange-ink); border-color: rgba(239, 108, 26, .4); background: rgba(239, 108, 26, .09); border-radius: 999px; padding: 6px 14px; }
.station b { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--orange-ink); }
.station { color: var(--bone-faint); }
.station::after { background: var(--line); }

/* Colour blocks: alternating bands so no stretch of the page reads as empty. */
.band { border-radius: var(--r); margin: 0 var(--pad); padding: clamp(52px, 8vw, 92px) 0; }
@media (min-width: 1180px) { .band { margin: 0 auto; max-width: 1180px; } }
.band-amber { background: var(--amber); }
.band-orange { background: var(--orange); color: var(--on-orange); }
.band-orange h2, .band-orange h3 { color: #fff; }
.band-orange .lede, .band-orange .checks li { color: var(--on-orange); }
.band-orange .station { color: rgba(36, 17, 4, .75); }
.band-orange .station b { color: var(--on-orange); }
.band-orange .station::after { background: rgba(36, 17, 4, .28); }
.band-orange .checks li::before { background: var(--on-orange); }
.band-linen { background: var(--char); border: 1px solid var(--line-soft); }
.band .wrap { padding-inline: clamp(var(--pad), 4vw, 44px); }

/* Buttons: pill, deep teal fill, like the reference's primary. */
.btn {
  border-radius: 999px; border: 1px solid var(--line);
  color: var(--teal); background: var(--char);
  font-family: var(--mono); letter-spacing: .1em;
}
.btn:hover { border-color: var(--teal); color: var(--teal); background: #fff; }
.btn.fill { background: var(--teal); border-color: var(--teal); color: #fff9f0; box-shadow: 0 10px 26px rgba(13, 79, 69, .28); }
.btn.fill:hover { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }
.band-orange .btn { background: rgba(255,255,255,.9); border-color: transparent; color: var(--teal); }
.band-orange .btn.fill { background: var(--teal); border-color: var(--teal); color: #fff9f0; }
.band-amber .btn.fill { background: var(--teal); color: #fff9f0; }

/* Photos: rounded like the reference's cards. */
.ph { background: linear-gradient(150deg, #f3e6d2, #e9d9bf); border-radius: 18px; }
.ph::after { background: linear-gradient(to top, rgba(9, 40, 34, .7), rgba(9, 40, 34, .04) 58%, transparent); }
.ph-cap { color: rgba(255,255,255,.94); text-shadow: 0 1px 6px rgba(0,0,0,.55); }

/* Panels. */
.screen, .menucard, .demo-card, .demo-note {
  background: var(--char); border: 1px solid var(--line-soft);
  border-radius: 18px; box-shadow: var(--shadow);
}
.demo-card { overflow: hidden; }
.demo-card:hover { border-color: var(--orange); box-shadow: var(--shadow-lg); }
.demo-body b { color: var(--teal); }
.demo-body p { color: var(--bone-dim); }
.demo-body .go { color: var(--orange-ink); }
.demo-note { border-style: dashed; color: var(--bone-dim); padding: 16px 18px; }
.demo-note b { color: var(--teal); }

.srow { border-bottom: 1px solid var(--line-soft); }
.s-new { background: rgba(239, 108, 26, .12); color: #b34d0c; }
.s-fire { background: rgba(214, 64, 39, .12); color: #a82f19; }
.s-ready { background: rgba(15, 122, 76, .12); color: #0b5c39; }

.vs { border-top: 1px solid var(--line); }
.vs-row > div:first-child { color: var(--bone-faint); }
.vs-row > div:last-child { border-left: 1px solid var(--line-soft); color: var(--teal); }

.rail { background: linear-gradient(180deg, #fff9f0, #f8ecdb); }
.rail-item { border-left: 2px solid var(--line); color: var(--bone-faint); }
.rail-item b { color: var(--teal); }
.ticker { background: var(--char); border-block: 1px solid var(--line-soft); }
.nav.stuck { background: rgba(253, 244, 232, .9); border-color: var(--line); box-shadow: var(--shadow-sm); }
.mob { background: rgba(255, 249, 240, .99); border-bottom: 1px solid var(--line); }

.ind { border-radius: 18px; border-color: var(--line-soft); box-shadow: var(--shadow-sm); }
.ind:hover { border-color: var(--orange); }
.ind b, .ind i { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.6); }

.tab.on { color: var(--orange-ink); }
.tab::after { background: var(--orange); }
.q summary:hover, .dish-line:hover, .nav-links a:hover,
.flow-step:hover > i, .flow-step:hover b { color: var(--orange-ink); }
.checks li::before { background: var(--orange); }
.foot { border-top: 1px solid var(--line); background: var(--char); }
.foot a:hover { color: var(--orange-ink); }
.logo span { color: var(--teal); }

/* Closing block: deep teal, the darkest note on the table. */
.cta { background: var(--teal); color: #fff9f0; border-radius: var(--r); box-shadow: var(--shadow-lg); }
.cta h2, .cta .lede { color: #fff9f0; }
.cta .station { color: rgba(255,249,240,.6); }
.cta .station b { color: var(--amber); }
.cta .station::after { background: rgba(255,249,240,.25); }
.cta .btn { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); color: #fff; }
.cta .btn.fill { background: var(--amber); border-color: var(--amber); color: var(--teal-deep); }
.cta .ph { opacity: .16; }

/* Ribbon + demo surfaces re-cast warm. */
.ribbon { background: var(--teal); color: #fff9f0; }
.ribbon a { color: #fff9f0; }
.try-now { background: var(--char); border: 1px solid var(--line-soft); border-radius: 18px; box-shadow: var(--shadow); }
.try-now a { background: var(--cream); color: var(--teal); border-radius: 999px; }
.try-now a:hover { border-color: var(--orange); background: #fff; }
.try-now a i { background: var(--teal); color: #fff9f0; border-radius: 50%; }
.demo-fab { background: var(--orange); box-shadow: 0 14px 34px rgba(239, 108, 26, .45); color: #fff; }
.demo-fab::before { box-shadow: 0 0 0 0 rgba(239, 108, 26, .55); }
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 16px rgba(239, 108, 26, 0); } }

/* Board keeps its dark contrast, now teal rather than ink. */
.board { background: radial-gradient(120% 90% at 50% -10%, #12665a, var(--teal-deep) 62%); border-radius: var(--r); }
.board h2, .med b { color: #fff9f0; }
.board .station b { color: var(--amber); }
.board .lede { color: rgba(255,249,240,.72); }
.med span { color: rgba(255,249,240,.6); }

/* ------------------------------------------------------- bigger, warmer -- */
/* The dishes were sitting too small on a pale page, which is what made it read
   as empty. They now carry the layout. */
.plate-photo { aspect-ratio: 1; border-radius: var(--r); box-shadow: var(--shadow-lg); }
.hero-grid { align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1fr 1fr; gap: 46px; } }

.meds { gap: 26px 14px; }
@media (min-width: 620px) { .meds { grid-template-columns: repeat(3, 1fr); gap: 34px 22px; } }
@media (min-width: 980px) { .meds { grid-template-columns: repeat(6, 1fr); gap: 34px 20px; } }
.med img { width: 100%; height: 100%; }          /* fill the plate, not float in it */
.med-ring { background: radial-gradient(circle at 50% 30%, #fffdf9, #f6ecdb 66%, #e6d7bd); }
.med b { font-size: 1.12rem; }

.strip .ph { border-radius: 18px; }
@media (min-width: 720px) { .strip .ph { width: 320px; height: 230px; } }

/* Shape-masked steps, lifted from the reference's star and heart cut-outs.
   The mask changes per step so the row has rhythm rather than four squares. */
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 40px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.step-card { background: var(--char); border-radius: 18px; padding: 14px 14px 18px; box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft); }
.band-amber .step-card { background: rgba(255, 249, 240, .82); border-color: rgba(13,79,69,.1); }
.step-shape { aspect-ratio: 1; overflow: hidden; background: var(--cream); }
.step-shape img { width: 100%; height: 100%; object-fit: cover; }
.shape-blob  { -webkit-mask: var(--m-blob)  center/contain no-repeat; mask: var(--m-blob)  center/contain no-repeat; }
.shape-star  { -webkit-mask: var(--m-star)  center/contain no-repeat; mask: var(--m-star)  center/contain no-repeat; }
.shape-heart { -webkit-mask: var(--m-heart) center/contain no-repeat; mask: var(--m-heart) center/contain no-repeat; }
.shape-leaf  { -webkit-mask: var(--m-leaf)  center/contain no-repeat; mask: var(--m-leaf)  center/contain no-repeat; }
:root {
  --m-blob:  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 2c18 0 30 6 38 18s10 26 6 40-16 26-30 32-30 6-42-2S2 66 2 50 8 22 20 12 34 2 50 2z'/%3E%3C/svg%3E");
  --m-star:  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 0c4 26 20 42 50 50-30 8-46 24-50 50-4-26-20-42-50-50 30-8 46-24 50-50z'/%3E%3C/svg%3E");
  --m-heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 96S4 66 4 36C4 18 18 6 33 6c8 0 14 4 17 10 3-6 9-10 17-10 15 0 29 12 29 30 0 30-46 60-46 60z'/%3E%3C/svg%3E");
  --m-leaf:  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 2c30 0 48 18 48 48S80 98 50 98 2 80 2 50 20 2 50 2z' transform='rotate(0 50 50)'/%3E%3Cpath d='M6 94C6 50 50 6 94 6c0 44-44 88-88 88z'/%3E%3C/svg%3E");
}
.step-card i { display: block; font-style: normal; margin-top: 12px; font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; color: var(--orange-ink); }
.step-card b { display: block; font-family: var(--serif); font-size: 1.14rem; font-weight: 400; margin-top: 2px; }

/* Rating pill from the reference: faces plus a line of proof. */

/* Scattered photo stack, as in the reference's testimonial collage. */
.stack { position: relative; aspect-ratio: 1; }
.stack .ph { position: absolute; border-radius: 16px; box-shadow: var(--shadow); border: 4px solid var(--char); }
.stack .s1 { width: 56%; height: 46%; top: 0; left: 0; transform: rotate(-5deg); }
.stack .s2 { width: 52%; height: 44%; top: 12%; right: 0; transform: rotate(6deg); }
.stack .s3 { width: 58%; height: 46%; bottom: 0; left: 8%; transform: rotate(3deg); }
.stack .ph { transition: transform .5s cubic-bezier(.2,.9,.25,1); }
@media (hover: hover) {
  .stack:hover .s1 { transform: rotate(-8deg) translateY(-6px); }
  .stack:hover .s2 { transform: rotate(9deg) translateY(-6px); }
  .stack:hover .s3 { transform: rotate(5deg) translateY(-6px); }
}

/* Social proof pill, as on the reference: faces plus a rating, above the fold. */

/* Organic photo masks — the reference cuts its images into shapes rather than
   rectangles, which keeps a food page from feeling like a spreadsheet. */
.blob { border-radius: 46% 54% 52% 48% / 48% 44% 56% 52%; }
.leaf { border-radius: 50% 6px 50% 6px; }

/* Bigger dishes. They are the product; they were sized like decoration. */
.meds { gap: 26px 14px; }
@media (min-width: 620px) { .meds { grid-template-columns: repeat(3, 1fr); gap: 34px 22px; } }
@media (min-width: 980px) { .meds { grid-template-columns: repeat(3, 1fr); gap: 44px 30px; } }
@media (min-width: 1180px) { .meds { grid-template-columns: repeat(6, 1fr); gap: 34px 22px; } }
.med img { width: 96%; height: 96%; }
.med b { font-size: 1.18rem; margin-top: 16px; }
.plate-photo { aspect-ratio: 1; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1fr 1.02fr; } }


/* ------------------------------------------------------- mobile chrome -- */
/* The bar carries a ribbon, a logo, a demo button and a menu toggle. On a
   360px screen that only fits if the logo shrinks and the demo button keeps
   its own room. */
@media (max-width: 900px) {
  .nav-in { gap: 10px; padding: 0 14px; }
  .logo img { height: 26px; }
  .logo span { font-size: 1.1rem; }
  .nav-cta { display: flex; margin-left: auto; }
  .nav-cta .btn:not(.fill) { display: none; }   /* login lives in the menu */
  .nav-cta .btn.fill { padding: 9px 14px; font-size: .64rem; min-height: 38px; }
  .burger { margin-left: 0; }
  .ribbon { font-size: .72rem; letter-spacing: .06em; padding: 9px 12px; }
  .ribbon .hide-xs { display: none; }
}
@media (max-width: 380px) {
  .logo span { display: none; }                 /* mark only on the narrowest */
  .ribbon { letter-spacing: .04em; }
}

/* The whole strip animation restarts cleanly only if the track is an exact
   double; guard against a half-loaded duplicate leaving a visible gap. */
.strip-track, .marquee-track { will-change: transform; backface-visibility: hidden; }

/* --------------------------------------------------------- demo ribbon -- */
.ribbon a { flex-wrap: wrap; justify-content: center; }
.ribbon .live {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, .2); border-radius: 999px;
  padding: 3px 10px; font-weight: 700; letter-spacing: .14em;
}
.ribbon .live i {
  width: 6px; height: 6px; border-radius: 50%; background: #fff;
  animation: blip 1.8s ease-in-out infinite;
}
@keyframes blip { 50% { opacity: .25; } }
.ribbon u {
  text-decoration: none; background: #fff; color: var(--violet);
  border-radius: 999px; padding: 4px 12px; font-weight: 700;
}
@media (prefers-reduced-motion: reduce) { .ribbon .live i { animation: none; } }

/* ----------------------------------------------------------- demo body -- */
.live-chip {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px;
  padding: 3px 9px; border-radius: 999px;
  background: rgba(21, 159, 99, .12); color: #0f7a4c;
  font-family: var(--mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
}
.live-chip i { width: 5px; height: 5px; border-radius: 50%; background: #159f63; animation: blip 1.8s ease-in-out infinite; }

.demo-list { list-style: none; margin: 12px 0 14px; padding: 0; display: grid; gap: 6px; }
.demo-list li {
  display: grid; grid-template-columns: 14px 1fr; gap: 8px; align-items: start;
  font-size: .84rem; color: var(--bone-dim); line-height: 1.45;
}
.demo-list li::before { content: ""; width: 6px; height: 6px; margin-top: 7px; border-radius: 2px; background: var(--brand); }

.demo-facts {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  margin-top: 20px; border-radius: 16px; overflow: hidden;
  background: var(--line-soft); border: 1px solid var(--line-soft);
}
@media (min-width: 700px) { .demo-facts { grid-template-columns: repeat(4, 1fr); } }
.demo-facts div { background: var(--char); padding: 20px 16px; text-align: center; }
.demo-facts b {
  display: block; font-family: var(--serif); font-size: 2rem; line-height: 1;
  background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.demo-facts span { display: block; margin-top: 6px; font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--bone-faint); }
@media (max-width: 1023px) { .demo-facts span { font-size: .72rem; } }
@media (prefers-reduced-motion: reduce) { .live-chip i { animation: none; } }
