/* Hop'n Bar public site - taproom craft / editorial identity, day + night.
   Sections: 0 fonts / 1 theme tokens / 2 base+type / 3 layout primitives /
   4 nav+theme / 5 home / 6 studio / 7 compatibility / 8 responsive.
   Offline, ASCII-safe, no external URL, no font CDN, no storage.
   Fonts are self-hosted woff2 under ./assets/fonts (no CDN).
   Day/night = pure CSS via :root:has(#theme-switch:checked). */

/* ============ 0. SELF-HOSTED FONTS (offline, local woff2) ============ */
@font-face {
  font-family: "Fraunces";
  src: url("./assets/fonts/fraunces-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("./assets/fonts/space-grotesk.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

/* ============ 1. THEME TOKENS ============ */
:root {
  color-scheme: light;
  --display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, Consolas, monospace;
  --radius: 6px;
  --radius-lg: 10px;
  --maxw: 1200px;
  --gap: clamp(16px, 2.2vw, 26px);
  --pad-x: clamp(18px, 5vw, 64px);
  --section-y: clamp(72px, 10vw, 140px);
  /* DAY palette (iPeech brand: cream + midnight + coral) */
  --bg: #f4f2ef;
  --bg-2: #eae7e1;
  --panel: #ffffff;
  --panel-2: #f4f2ef;
  --text: #0f1b2d;
  --muted: #44505f;
  --soft: #5b6675;
  --faint: #6b7480;
  --accent: #df4a2a;
  --accent-strong: #c23d20;
  --data: #3c6e8f;
  --ok: #2c8762;
  --warn: #c07d12;
  --bad: #c0392b;
  --line: rgba(15, 27, 45, .12);
  --line-2: rgba(15, 27, 45, .20);
  --photo-overlay: linear-gradient(180deg, rgba(244, 242, 239, .10), rgba(15, 27, 45, .62));
  --shadow: 0 16px 44px rgba(15, 27, 45, .12);
  --shadow-soft: 0 8px 24px rgba(15, 27, 45, .08);
}

:root:has(#theme-switch:checked) {
  color-scheme: dark;
  /* NIGHT palette (iPeech brand: midnight navy + coral) */
  --bg: #0f1b2d;
  --bg-2: #14223a;
  --panel: #172a44;
  --panel-2: #1d3251;
  --text: #eef2f7;
  --muted: #aeb9c8;
  --soft: #93a0b2;
  --faint: #8593a6;
  --accent: #ff7d5e;
  --accent-strong: #ff9678;
  --data: #5fa8d0;
  --ok: #54c79a;
  --warn: #e6b052;
  --bad: #ef6a52;
  --line: rgba(238, 242, 247, .12);
  --line-2: rgba(238, 242, 247, .22);
  --photo-overlay: linear-gradient(180deg, rgba(6, 12, 22, .35), rgba(6, 12, 22, .82));
  --shadow: 0 24px 60px rgba(0, 0, 0, .5);
  --shadow-soft: 0 14px 34px rgba(0, 0, 0, .36);
}

/* ============ 2. BASE + TYPE ============ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* accessibility: visible keyboard focus + anchor offset under fixed header */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
.theme-switch input:focus-visible + .theme-pill { outline: 2px solid var(--accent); outline-offset: 2px; }
section[id] { scroll-margin-top: 84px; }

h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; letter-spacing: -.012em; line-height: 1.08; }
h1 { font-size: clamp(2.1rem, 1.3rem + 3.3vw, 3.5rem); }
h2 { font-size: clamp(1.55rem, 1.1rem + 1.9vw, 2.45rem); }
h3 { font-size: clamp(1.08rem, 1rem + .45vw, 1.3rem); line-height: 1.2; }
p { margin: 0; }

.eyebrow {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-strong);
}
.lead { font-size: clamp(1.02rem, .95rem + .5vw, 1.24rem); color: var(--muted); max-width: 58ch; }
.notice {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: .76rem;
  letter-spacing: .02em;
  color: var(--faint);
  border-left: 2px solid var(--accent);
  padding-left: 12px;
}

/* ============ 3. LAYOUT PRIMITIVES ============ */
main { display: block; padding-top: 70px; }

section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--section-y) var(--pad-x);
}
main > section + section { border-top: 1px solid var(--line); }

.block { max-width: 72ch; }
.block.dark {
  max-width: var(--maxw);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 52px);
  box-shadow: var(--shadow-soft);
}
.block.intro h2 { margin-top: 4px; }
.block p { color: var(--muted); margin-top: 14px; }
.intro .actions { justify-content: center; }
.intro .venue-list { justify-content: center; margin-top: 18px; }
.cta-row { padding-top: 0 !important; margin-top: -10px; }
.reco-note { margin-top: 14px; font-size: clamp(0.85rem, 0.82rem + 0.2cqw, 0.95rem); color: var(--faint); }
.studio-results .reco-note { margin: 4px 0 16px; }
.proof-kicker { margin-top: 20px; font-family: var(--display); font-size: clamp(1rem, 0.95rem + 0.4cqw, 1.22rem); line-height: 1.35; color: var(--text); max-width: 42ch; }
.proof-kicker em { color: var(--accent); font-style: italic; }
.geo-def .geo-lead { font-size: clamp(1.05rem, 1rem + 0.5cqw, 1.32rem); color: var(--text); line-height: 1.5; }
.geo-def strong { color: var(--text); font-weight: 700; }

.vision-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.vision-list li { position: relative; padding-left: 22px; font-family: var(--display); font-size: clamp(1.02rem, 0.98rem + 0.4cqw, 1.28rem); line-height: 1.35; color: var(--text); max-width: 52ch; }
.vision-list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.vision-close { margin-top: 22px; color: var(--muted); max-width: 52ch; }
.vision-close em { color: var(--accent); font-style: italic; }

.faq { max-width: var(--maxw); margin: 0 auto; display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.faq-item > summary { cursor: pointer; padding: 16px 20px; font-family: var(--display); font-size: clamp(1rem, 0.96rem + 0.3cqw, 1.16rem); list-style: none; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after { content: "+"; color: var(--accent); font-size: 1.35rem; line-height: 1; }
.faq-item[open] > summary::after { content: "-"; }
.faq-item > p { padding: 0 20px 18px; color: var(--muted); margin: 0; max-width: 72ch; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }

.card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 2.3vw, 28px);
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--soft); font-size: .94rem; }
.card .eyebrow { margin-bottom: 10px; }

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease, color .16s ease;
  white-space: nowrap;
}
.cta.primary { color: #fffaf0; background: var(--accent-strong); border-color: var(--accent-strong); }
.cta.primary:hover { transform: translateY(-1px); filter: brightness(.92); }
:root:has(#theme-switch:checked) .cta.primary { color: #17110a; }
.cta.glass { color: var(--text); background: transparent; border-color: var(--line-2); }
.cta.glass:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.tags span {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .04em;
  color: var(--soft);
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

/* ============ 4. NAV + THEME SWITCH ============ */
.site-header {
  position: fixed;
  z-index: 30;
  inset: 0 0 auto 0;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad-x);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(12px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 700; font-size: 1.08rem; }
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--accent);
  color: #fffaf0;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 800;
}
.brand-mark.small { width: 40px; height: 40px; border-radius: 9px; }
.brand-logo { display: inline-grid; place-items: center; width: 30px; height: 30px; color: var(--accent); flex: none; }
.brand-logo svg { width: 100%; height: 100%; display: block; }
.nav { display: flex; align-items: center; gap: clamp(12px, 1.8vw, 24px); font-size: .84rem; font-weight: 600; }
.nav a { color: var(--soft); transition: color .16s ease; }
.nav a:hover { color: var(--text); }
.nav-cta {
  padding: 8px 15px;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  color: var(--text) !important;
}
.nav-cta:hover { border-color: var(--accent); color: var(--accent) !important; }

/* pure-CSS day/night toggle */
.theme-switch { display: inline-flex; align-items: center; cursor: pointer; user-select: none; }
.theme-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.theme-pill {
  display: inline-flex;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  overflow: hidden;
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .12em;
}
.theme-pill b { padding: 6px 11px; font-weight: 600; color: var(--faint); transition: color .16s ease, background .16s ease; }
.theme-pill b:first-child { color: var(--accent); background: color-mix(in srgb, var(--accent) 16%, transparent); }
:root:has(#theme-switch:checked) .theme-pill b:first-child { color: var(--faint); background: transparent; }
:root:has(#theme-switch:checked) .theme-pill b:last-child { color: var(--accent); background: color-mix(in srgb, var(--accent) 16%, transparent); }

/* ============ 5. HOME ============ */
/* Warm editorial hero: cream background, photo framed beside the text (follows day/night) */
.hero-home {
  position: relative;
  max-width: none;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--bg);
  padding: clamp(96px, 13vh, 140px) 0 clamp(44px, 7vh, 84px);
}
.hero-inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: clamp(30px, 5vw, 68px);
  align-items: center;
}
.hero-copy { color: var(--text); }
/* framed photo with Ken Burns inside */
.hero-media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 6 / 5;
  box-shadow: 0 38px 90px rgba(15, 27, 45, .22);
  background: #0c1322 url('./assets/hero-beer-wall-premium.webp') center / cover no-repeat;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: kb 30s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes kb { from { transform: scale(1.04); } to { transform: scale(1.12); } }
/* staggered entrance */
.hero-inner .fx { opacity: 0; transform: translateY(24px); animation: heroup .9s cubic-bezier(.2, .7, .2, 1) forwards; }
.hero-inner .fx.d1 { animation-delay: .08s; }
.hero-inner .fx.d2 { animation-delay: .18s; }
.hero-inner .fx.d3 { animation-delay: .30s; }
.hero-inner .fx.d4 { animation-delay: .42s; }
.hero-inner .fx.d5 { animation-delay: .56s; }
@keyframes heroup { to { opacity: 1; transform: none; } }
.scrollcue { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 7px; color: var(--soft); font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.scrollcue i { width: 1px; height: 30px; background: linear-gradient(var(--accent), transparent); animation: cuepulse 1.9s ease-in-out infinite; }
@keyframes cuepulse { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .hero-photo { animation: none; transform: scale(1.04); }
  .hero-inner .fx { animation: none; opacity: 1; transform: none; }
  .scrollcue i { animation: none; }
  .hero-stage::before { animation: none; }
  .stage-live i { animation: none; }
}

/* hero stage: live mini bar (becs that pour) — warm, replaces the static photo, removes the EN screen */
.hero-stage { background: linear-gradient(165deg, #2c1e13, #130c07); display: grid; grid-template-rows: 1fr auto; align-items: end; padding: clamp(18px, 2.4vw, 30px); }
.hero-stage::before { content: ""; position: absolute; inset: -12%; z-index: 0; background: url('./assets/hero-beer-wall-premium.webp') center / cover no-repeat; filter: blur(17px) brightness(.58) saturate(1.32); transform: scale(1.06); animation: kb 42s ease-in-out infinite alternate; }
.hero-stage::after { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(120% 80% at 50% 116%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 60%), linear-gradient(180deg, rgba(10, 6, 3, .55), transparent 38%); }
.hero-stage > * { position: relative; z-index: 1; }
.hero-stage .hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.stage-wall { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: clamp(16px, 3.4vw, 34px); padding-bottom: clamp(8px, 3%, 22px); }
.stage-counter { height: 15px; border-radius: 3px; margin-top: 16px; background: linear-gradient(180deg, #d4d9df, #767d85); box-shadow: 0 3px 9px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .6); }
.hero-stage .virtual-tap .tap-meter { width: 60px; height: 122px; }
.hero-stage .virtual-tap span { font-size: .64rem; color: #e8ddcd; }
.stage-live { position: absolute; top: 16px; left: 16px; display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; background: rgba(20, 13, 8, .55); font-family: var(--mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: #f4ede2; }
.stage-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 9px var(--accent); animation: blPulse 1.5s infinite; }
.stage-kpi { position: absolute; right: 16px; top: 16px; display: grid; gap: 3px; padding: 12px 15px; border-radius: 12px; background: rgba(244, 242, 239, .95); box-shadow: 0 14px 34px rgba(0, 0, 0, .34); text-align: right; }
.stage-kpi span { font-family: var(--mono); font-size: .56rem; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.stage-kpi strong { font-family: var(--display); font-size: 1.5rem; line-height: 1; color: var(--accent-strong); }
.stage-kpi small { font-size: .64rem; color: var(--muted); max-width: 17ch; }
.stage-link { position: absolute; left: 16px; bottom: 16px; font-family: var(--mono); font-size: .64rem; letter-spacing: .04em; color: #f4ede2; border-bottom: 1px solid color-mix(in srgb, var(--accent) 70%, transparent); padding-bottom: 2px; }
.stage-link:hover { color: #fff; }
.hero-stage .tap-meter i { transform-origin: bottom; animation: pour 7s ease-in-out infinite; }
@keyframes pour { 0% { transform: scaleY(.06); } 20% { transform: scaleY(1); } 62% { transform: scaleY(.9); } 100% { transform: scaleY(1); } }
.hero-stage .ht2 .tap-meter i { animation-delay: .4s; }
.hero-stage .ht3 .tap-meter i { animation-delay: .8s; }
.hero-stage .ht4 .tap-meter i { animation-delay: 1.2s; }
.hp-src { flex-basis: 100%; font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); margin: -4px 0 0; }
.hero-home .eyebrow { color: var(--accent-strong); }
.hero-home h1 {
  margin: 10px 0 20px;
  max-width: 16ch;
  color: var(--text);
  font-size: clamp(2.3rem, 1rem + 4vw, 4rem);
  letter-spacing: -.02em;
  line-height: 1.04;
}
.hero-home h1 em { font-style: italic; color: var(--accent); }
.hero-home .lead { color: var(--muted); max-width: 46ch; }

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 46px;
  margin-top: clamp(38px, 5vh, 56px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-proof .hp-n { font-family: var(--display); font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.5rem); line-height: 1; color: var(--accent-strong); }
.hero-proof .hp-l { font-size: .82rem; color: var(--soft); margin-top: 8px; max-width: 18ch; }
.hero-proof .hp-s { font-family: var(--mono); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: #6fbfb4; margin-top: 6px; }

.arch-grid .card { display: grid; gap: 8px; }
.card-index { font-family: var(--mono); font-size: .78rem; font-weight: 600; color: var(--accent); letter-spacing: .06em; }
.soft-card { border-color: var(--accent); }
.soft-card .card-index { color: var(--data); }

.doctrine-band {
  max-width: var(--maxw);
  text-align: center;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  background: var(--panel);
  padding: clamp(34px, 5vw, 64px);
  box-shadow: var(--shadow-soft);
}
.doctrine-band h2 { margin: 6px auto 16px; max-width: 20ch; }
.doctrine-band p { color: var(--muted); max-width: 66ch; margin: 0 auto; }
.doctrine-note {
  margin-top: 18px !important;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: clamp(0.86rem, 0.82rem + 0.2cqw, 0.96rem);
  color: var(--faint) !important;
  max-width: 62ch !important;
}

.card-note {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: clamp(0.82rem, 0.79rem + 0.18cqw, 0.9rem);
  color: var(--faint);
}

.studio-teaser {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--panel);
  padding: clamp(26px, 3.4vw, 44px);
}
.studio-teaser p { color: var(--muted); margin-top: 12px; max-width: 54ch; }

.visual-band { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(24px, 4vw, 54px); align-items: center; }
.visual-copy p { color: var(--muted); margin-top: 14px; }
.venue-list { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.venue-list li {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .04em;
  color: var(--soft);
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.format-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.format-cards figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel-2);
  box-shadow: var(--shadow-soft);
}
.format-cards img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.format-cards figcaption { padding: 11px 14px; font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; color: var(--soft); text-transform: uppercase; }

.non-claims { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.non-claims li {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .03em;
  color: var(--muted);
  padding: 6px 11px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
}
.prudence h2 { margin: 6px 0 14px; }

.final-cta { text-align: center; }
.final-cta h2 { margin-bottom: 8px; }
.final-cta .actions { justify-content: center; }

/* ============ 6. STUDIO ============ */
.studio-page { padding-top: 0; }
.studio-page > section + section { border-top: 1px solid var(--line); }

.studio-hero {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  padding-top: clamp(44px, 7vw, 92px);
}
.studio-hero-copy h1 { margin: 6px 0 16px; }
.architecture-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.architecture-strip span {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .06em;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--soft);
}

/* CORE orb -> craft amber/teal */
.core-orb { display: grid; justify-items: center; gap: 8px; text-align: center; }
.core-photo {
  width: clamp(200px, 26vw, 280px);
  height: clamp(200px, 26vw, 280px);
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 22px 55px rgba(15, 27, 45, .26);
}
.core-orb { align-items: start; }
.core-orb strong { font-family: var(--display); font-size: 1.05rem; }
.core-orb small { color: var(--soft); font-size: .8rem; }

/* Cockpit stage - the star */
.cockpit-stage {
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 36px);
  box-shadow: var(--shadow);
  display: grid;
  gap: clamp(18px, 2.2vw, 26px);
}
.cockpit-topline { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; justify-content: space-between; }
.cockpit-topline > div:first-child { max-width: 52ch; }
.cockpit-lead { color: var(--muted); margin-top: 10px; }
.cockpit-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

.core-score-card {
  display: grid;
  justify-items: center;
  gap: 3px;
  min-width: 170px;
  padding: 18px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  border-top: 3px solid var(--data);
  background: var(--panel-2);
  text-align: center;
}
.core-score-card span { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.core-score-card strong { font-family: var(--display); font-size: 2.7rem; line-height: 1; color: var(--data); }
.core-score-card small { font-size: .78rem; color: var(--muted); }
.core-score-card.score-strong { border-top-color: var(--ok); }
.core-score-card.score-strong strong { color: var(--ok); }
.core-score-card.score-watch { border-top-color: var(--warn); }
.core-score-card.score-watch strong { color: var(--warn); }
.core-score-card.score-fragile { border-top-color: var(--bad); }
.core-score-card.score-fragile strong { color: var(--bad); }

.cockpit-kpi-strip { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 12px; }
.cockpit-kpi-strip article { padding: 15px 17px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel-2); display: grid; gap: 6px; }
.cockpit-kpi-strip span { font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.cockpit-kpi-strip strong { font-family: var(--display); font-size: 1.34rem; }
.recommendation-card { border-left: 3px solid var(--accent) !important; }
.recommendation-card strong { color: var(--accent-strong); }
.recommendation-card.rec-ok { border-left-color: var(--ok) !important; }
.recommendation-card.rec-ok strong { color: var(--ok); }
.recommendation-card.rec-watch { border-left-color: var(--warn) !important; }
.recommendation-card.rec-watch strong { color: var(--warn); }
.recommendation-card.rec-skip { border-left-color: var(--bad) !important; }
.recommendation-card.rec-skip strong { color: var(--bad); }

.cockpit-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: var(--gap); }
.cockpit-grid article { background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 14px; align-content: start; }
.virtual-wall-card { grid-row: span 2; }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.panel-heading span { font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.panel-heading strong { display: block; font-family: var(--display); font-size: 1.02rem; margin-top: 2px; }
.panel-heading small { color: var(--soft); font-size: .73rem; font-family: var(--mono); }

/* virtual wall = star */
.virtual-wall { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 12px; }
.virtual-tap {
  display: grid;
  gap: 6px;
  padding: 13px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  background: var(--panel);
  min-height: 152px;
  grid-template-rows: auto auto 1fr auto;
  transition: transform .18s ease, border-color .18s ease;
}
.virtual-tap:hover { transform: translateY(-2px); border-color: var(--accent); }
.virtual-tap span { font-family: var(--mono); font-size: .64rem; color: var(--faint); letter-spacing: .06em; }
.virtual-tap strong { font-family: var(--display); font-size: 1.05rem; }
.virtual-tap small { font-family: var(--mono); font-size: .64rem; color: var(--soft); }
.tap-meter { align-self: stretch; display: flex; align-items: flex-end; height: 100%; min-height: 56px; border-radius: 4px; background: color-mix(in srgb, var(--text) 8%, transparent); overflow: hidden; }
.tap-meter i { display: block; width: 100%; border-radius: 4px 4px 0 0; }
.tap-orange .tap-meter i { background: var(--accent); }
.tap-yellow .tap-meter i { background: var(--warn); }
.tap-coral .tap-meter i { background: var(--accent-strong); }
.tap-red .tap-meter i { background: var(--bad); }
.virtual-tap.tap-alert { border-color: var(--bad); box-shadow: inset 0 0 0 1px var(--bad); }

/* timeline */
.peak-timeline { display: flex; align-items: flex-end; gap: 8px; height: 168px; }
.timeline-slot { flex: 1; display: grid; grid-template-rows: 1fr auto auto; gap: 4px; align-items: end; text-align: center; min-width: 0; }
.timeline-slot i { display: block; width: 100%; align-self: end; min-height: 6px; border-radius: 4px 4px 2px 2px; background: var(--data); }
.timeline-slot.hot i { background: var(--bad); }
.timeline-slot strong { font-family: var(--mono); font-size: .62rem; font-weight: 600; color: var(--soft); }
.timeline-slot span { font-family: var(--mono); font-size: .6rem; color: var(--faint); white-space: nowrap; }

/* event log */
.event-log { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.event-log li {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "time title" "time desc";
  gap: 0 12px;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
}
.event-log li span { grid-area: time; font-family: var(--mono); font-size: .72rem; font-weight: 600; color: var(--data); align-self: center; }
.event-log li strong { grid-area: title; font-size: .86rem; }
.event-log li small { grid-area: desc; font-size: .74rem; color: var(--soft); }

/* scenarios */
.scenario-bars { display: grid; gap: 12px; }
.scenario-bars article { display: grid; gap: 6px; }
.scenario-bars article > div:first-child { display: flex; justify-content: space-between; gap: 10px; font-size: .82rem; }
.scenario-bars article > div:first-child span { color: var(--soft); font-family: var(--mono); font-size: .76rem; }
.scenario-rail { height: 7px; border-radius: 999px; background: color-mix(in srgb, var(--text) 8%, transparent); overflow: hidden; }
.scenario-rail i { display: block; height: 100%; border-radius: 999px; background: var(--accent); }
.scenario-bars small { font-family: var(--mono); font-size: .7rem; color: var(--faint); }

/* studio shell: results (primary) + form (secondary) */
.studio-shell { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr); gap: var(--gap); align-items: start; }
.studio-results { background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: clamp(20px, 2.6vw, 30px); box-shadow: var(--shadow-soft); position: sticky; top: 86px; align-self: start; }
.studio-results .inline-review { margin-top: 16px; }
.studio-results h2 { margin: 4px 0 18px; }
.result-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.result-grid article { padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel-2); display: grid; gap: 6px; }
.result-grid span { font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); }
.result-grid strong { font-family: var(--display); font-size: 1.26rem; }
.risk-panel { margin-top: 18px; padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--line); border-left: 3px solid var(--data); background: var(--panel-2); }
.risk-panel h3 { font-size: .92rem; margin-bottom: 6px; }
.risk-panel p { color: var(--soft); font-size: .9rem; }
.inline-review { display: inline-block; margin-top: 12px; font-size: .84rem; font-weight: 700; color: var(--accent-strong); border-bottom: 1px solid var(--accent); }
.inline-review:hover { color: var(--accent-strong); }
.watchpoints { margin-top: 18px; }
.watchpoints h3 { font-size: .92rem; margin-bottom: 8px; }
.watchpoints ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.watchpoints li { color: var(--soft); font-size: .86rem; }

.studio-notes { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.studio-notes .risk-panel,
.studio-notes .watchpoints { margin-top: 0; }

.form-advanced { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); display: grid; }
.form-advanced > summary { cursor: pointer; padding: 13px 16px; font-family: var(--mono); font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); list-style: none; display: flex; align-items: center; gap: 8px; }
.form-advanced > summary::-webkit-details-marker { display: none; }
.form-advanced > summary::before { content: "+"; font-size: 1rem; line-height: 1; }
.form-advanced[open] > summary::before { content: "-"; }
.form-advanced[open] > summary { border-bottom: 1px solid var(--line); }
.form-advanced > summary span { color: var(--faint); font-weight: 400; text-transform: none; letter-spacing: 0; }
.form-advanced fieldset { border: 0; border-radius: 0; }
.form-advanced fieldset + fieldset { border-top: 1px solid var(--line); }

/* form: compact, secondary */
.studio-form { background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(18px, 2.4vw, 26px); display: grid; gap: 14px; align-content: start; }
.form-head { display: grid; gap: 2px; }
.form-head small { color: var(--faint); font-size: .78rem; font-family: var(--mono); }
.studio-form fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px 16px; margin: 0; display: grid; gap: 8px; }
.studio-form legend { padding: 0 8px; font-family: var(--mono); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.studio-form label { font-size: .82rem; color: var(--muted); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.studio-form output { font-family: var(--display); font-weight: 700; color: var(--text); }
.input-pair { display: grid; gap: 6px; }

.studio-form select,
.studio-form input[type="number"] {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  background: var(--panel);
  color: var(--text);
  font: inherit;
  font-size: .9rem;
}
.studio-form select:focus,
.studio-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }

.studio-form input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 5px; border-radius: 999px; background: color-mix(in srgb, var(--text) 12%, transparent); }
.studio-form input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 17px; height: 17px; border-radius: 50%; background: var(--accent); border: 2px solid var(--panel); cursor: pointer; }
.studio-form input[type="range"]::-moz-range-thumb { width: 17px; height: 17px; border-radius: 50%; background: var(--accent); border: 2px solid var(--panel); cursor: pointer; }

.studio-doctrine .card h3 { margin: 6px 0 8px; }

/* ============ 6b. STUDIO: BAR VIVANT (playful live bar) ============ */
.cockpit-stage.bar-scene { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--panel), var(--panel-2)); }
.bar-scene::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(58% 42% at 50% -4%, color-mix(in srgb, var(--accent) 15%, transparent), transparent 62%); }
.bar-scene > * { position: relative; z-index: 1; }
.bar-live { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ok); }
.bar-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: blPulse 1.5s infinite; }
@keyframes blPulse { 50% { opacity: .3; } }

/* bar scene takes the full width, becomes the star */
/* live wall = warm dark "live view" panel; the becs are REALISTIC filling beer glasses (no competing photo) */
.bar-scene .virtual-wall-card { grid-column: 1 / -1; grid-row: auto; position: relative; overflow: hidden; padding: clamp(18px, 2.6vw, 30px) clamp(16px, 2.4vw, 28px) clamp(16px, 2vw, 22px); border-radius: var(--radius-lg); background: radial-gradient(130% 96% at 50% 0%, #3a2817, #1b1209 72%); box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, .05); }
.bar-scene .virtual-wall-card .panel-heading span, .bar-scene .virtual-wall-card .panel-heading small, .bar-scene .virtual-wall-card .bar-queue-tag { color: #d8cdbe; }
.bar-scene .virtual-wall-card .panel-heading strong { color: #fff; }
.bar-scene .virtual-wall-card .virtual-tap span { color: #cabfb0; }
.bar-scene .virtual-wall-card .virtual-tap strong { color: #f4ede2; }
.bar-scene .virtual-wall { grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); align-items: end; gap: clamp(18px, 3.2vw, 40px); }
/* chrome tap above each glass */
.bar-scene .virtual-wall-card .virtual-tap::before { width: 30px; height: 8px; background: linear-gradient(180deg, #e7eaee, #95a0ac); box-shadow: 0 2px 6px rgba(0, 0, 0, .45); }
.bar-scene .virtual-wall-card .virtual-tap::after { background: linear-gradient(#cfd4da, #8b929c); }
/* the glass: tapered body, glass tint, rim, inner shadow, highlight streak */
.bar-scene .virtual-wall-card .tap-meter { position: relative; width: 60px; height: 122px; border: 1.5px solid rgba(255, 255, 255, .42); border-radius: 5px 5px 13px 13px; background: linear-gradient(90deg, rgba(255, 255, 255, .17), rgba(255, 255, 255, .03) 26%, rgba(255, 255, 255, .02) 74%, rgba(255, 255, 255, .15)); box-shadow: inset 0 0 16px rgba(0, 0, 0, .32), 0 8px 18px rgba(0, 0, 0, .38); clip-path: polygon(15% 0, 85% 0, 80% 100%, 20% 100%); overflow: hidden; }
.bar-scene .virtual-wall-card .tap-meter::before { content: ""; position: absolute; left: 27%; top: 7%; width: 7%; height: 80%; z-index: 3; background: linear-gradient(rgba(255, 255, 255, .55), rgba(255, 255, 255, 0)); border-radius: 4px; }
.bar-scene .virtual-wall-card .tap-meter i::after { left: -7%; right: -7%; top: -6px; height: 11px; background: #fff7ec; box-shadow: 0 2px 5px rgba(0, 0, 0, .18); opacity: .96; }

/* becs that pour beer (data-driven height stays, look = glass + foam + handle) */
.bar-scene .virtual-tap { background: transparent; border: 0; box-shadow: none; min-height: 0; padding: 0; gap: 6px; align-items: center; text-align: center; }
.bar-scene .virtual-tap:hover { transform: translateY(-2px); }
.bar-scene .virtual-tap::before { content: ""; order: 1; width: 34px; height: 7px; border-radius: 5px; background: linear-gradient(90deg, var(--accent), var(--accent-strong)); box-shadow: 0 3px 9px color-mix(in srgb, var(--accent) 42%, transparent); }
.bar-scene .virtual-tap::after { content: ""; order: 2; width: 7px; height: 12px; background: linear-gradient(#d2d7dd, #8a929c); border-radius: 0 0 3px 3px; margin-top: -4px; }
.bar-scene .virtual-tap .tap-meter { order: 3; width: 54px; height: 98px; min-height: 0; border: 2px solid color-mix(in srgb, var(--text) 30%, transparent); border-radius: 7px 7px 10px 10px; background: color-mix(in srgb, var(--text) 5%, transparent); align-items: flex-end; overflow: hidden; box-shadow: inset 0 0 12px rgba(0, 0, 0, .2); }
.bar-scene .virtual-tap .tap-meter i { position: relative; border-radius: 0; min-height: 10px; transition: filter .25s ease; }
.bar-scene .virtual-tap:hover .tap-meter i { filter: brightness(1.08); }
.bar-scene .virtual-tap .tap-meter i::after { content: ""; position: absolute; top: -5px; left: 0; right: 0; height: 7px; border-radius: 50%; background: #fff7e9; opacity: .92; }
.bar-scene .virtual-tap span { order: 4; font-family: var(--mono); font-size: .58rem; color: var(--faint); }
.bar-scene .virtual-tap strong { order: 5; font-family: var(--display); font-size: .9rem; }
.bar-scene .virtual-tap small { display: none; }
.bar-scene .tap-orange .tap-meter i { background: linear-gradient(180deg, #ffce7a, #d98a26); }
.bar-scene .tap-yellow .tap-meter i { background: linear-gradient(180deg, #ffd98c, #caa23a); }
.bar-scene .tap-coral .tap-meter i { background: linear-gradient(180deg, #e98b50, #9c3f1c); }
.bar-scene .tap-red .tap-meter i { background: linear-gradient(180deg, #e0884e, #8c3a1c); }
.bar-scene .virtual-tap.tap-alert { box-shadow: none; }
.bar-scene .virtual-tap.tap-alert .tap-meter { border-color: var(--bad); }

/* counter + crowd + queue */
.bar-counter { height: 16px; border-radius: 4px; margin: 12px 0 0; background: linear-gradient(180deg, #7a542f, #3f2a18); box-shadow: 0 -2px 0 color-mix(in srgb, #a06a36 70%, transparent), var(--shadow-soft); }
.bar-crowd { display: flex; flex-wrap: wrap; gap: 7px; align-items: flex-end; padding: 12px 2px 0; min-height: 46px; }
.bar-person { width: 26px; display: flex; flex-direction: column; align-items: center; transition: opacity .35s ease; }
.bar-person .h { width: 13px; height: 13px; border-radius: 50%; }
.bar-person .b { width: 22px; height: 24px; border-radius: 11px 11px 4px 4px; margin-top: -2px; }
.bar-queue-tag { display: inline-flex; align-items: baseline; gap: 7px; font-family: var(--mono); font-size: .7rem; color: var(--soft); }
.bar-queue-tag b { font-family: var(--display); font-size: 1.5rem; color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .bar-person, .bar-scene .virtual-tap .tap-meter i, .bar-live::before { animation: none; } }

/* playful sliders */
.studio-form input[type="range"] { height: 8px; }
.studio-form input[type="range"]::-webkit-slider-thumb { width: 24px; height: 24px; border: 3px solid var(--accent); background: var(--panel); box-shadow: 0 4px 12px rgba(0, 0, 0, .3); }
.studio-form input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border: 3px solid var(--accent); background: var(--panel); }

/* ============ 7. COMPATIBILITY ============ */
.compat-page { padding-top: 0; }
.compat-page > section + section { border-top: 1px solid var(--line); }
.compat-hero { padding-top: clamp(54px, 8vw, 100px); max-width: var(--maxw); }
.compat-hero h1 { margin: 6px 0 16px; max-width: 20ch; }
.criteria-grid .card { display: grid; gap: 8px; }

/* ============ 7b. REAL LOGO + SOCIAL PROOF + REASSURANCE ============ */
/* Real Hop'n Bar logo (cream-bg badge: seamless in day, clean badge in night) */
.brand-logo-img { height: 42px; width: auto; display: block; mix-blend-mode: multiply; }
:root:has(#theme-switch:checked) .brand-logo-img { mix-blend-mode: normal; }
.site-header .brand { gap: 0; }
.hero-reassure {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 22px;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .04em;
  color: rgba(245, 239, 228, .82);
}
.hero-reassure span { display: inline-flex; align-items: center; gap: 8px; }
.hero-reassure span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #ff7d5e; }

/* Social proof band: real customers, real wall */
.proof-band {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(26px, 4vw, 56px);
  align-items: center;
}
.proof-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 8;
  border: 1px solid var(--line);
}
.proof-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.proof-photo video { width: 100%; height: 100%; object-fit: cover; display: block; background: #0c1322; }
.proof-photo.has-video { cursor: pointer; }
.proof-photo.has-video figcaption { background: rgba(8, 12, 20, .74); }
.proof-photo figcaption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(8, 12, 20, .62);
  padding: 6px 11px;
  border-radius: 7px;
  backdrop-filter: blur(6px);
}
.proof-copy .big-stat { font-family: var(--display); font-size: clamp(2.6rem, 1.4rem + 3.4vw, 3.9rem); line-height: 1; color: var(--accent-strong); }
:root:has(#theme-switch:checked) .proof-copy .big-stat { color: var(--accent); }
.proof-copy h2 { margin: 14px 0 12px; }
.proof-copy p { color: var(--muted); max-width: 46ch; }
.proof-stats { display: flex; flex-wrap: wrap; gap: 24px 34px; margin-top: 24px; }
.proof-stats b { font-family: var(--display); font-size: 1.55rem; line-height: 1; color: var(--text); display: block; }
.proof-stats span { font-family: var(--mono); font-size: .64rem; letter-spacing: .07em; text-transform: uppercase; color: var(--faint); }
.proof-rarity { margin-top: 22px; font-family: var(--display); font-style: italic; font-size: 1.08rem; color: var(--muted); }

/* discreet text links (one gesture per section) */
.hero-textlink { display: inline-flex; align-items: center; color: var(--accent-strong); font-weight: 600; font-size: .95rem; transition: color .16s ease; }
.hero-textlink:hover { color: #ff7d5e; }
.final-textlink { display: inline-block; margin-top: 18px; color: var(--accent-strong); font-weight: 600; font-size: .92rem; }
.final-textlink:hover { color: var(--accent); }
:root:has(#theme-switch:checked) .final-textlink { color: var(--accent); }

/* ============ 7c. SCROLL REVEAL (scrollytelling, no-JS safe) ============ */
.has-reveal .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); will-change: opacity, transform; }
.has-reveal .reveal.in { opacity: 1; transform: none; }
.has-reveal .reveal.d1 { transition-delay: .08s; }
.has-reveal .reveal.d2 { transition-delay: .16s; }
.has-reveal .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .has-reveal .reveal { opacity: 1; transform: none; transition: none; } }

/* ============ 8. RESPONSIVE ============ */
@media (max-width: 920px) {
  .hero-inner,
  .studio-hero,
  .proof-band,
  .visual-band { grid-template-columns: 1fr; }
  .hero-media { aspect-ratio: 16 / 11; max-height: 58vh; }
  .proof-photo { order: -1; }
  .core-orb { order: -1; }
  .cockpit-grid { grid-template-columns: 1fr; }
  .virtual-wall-card { grid-row: auto; }
  .cockpit-kpi-strip { grid-template-columns: repeat(2, 1fr); }
  .recommendation-card { grid-column: 1 / -1; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .studio-shell { grid-template-columns: 1fr; }
  .studio-notes { grid-template-columns: 1fr; }
  .studio-results {
    order: -1;
    position: sticky;
    top: 70px;
    z-index: 12;
    padding: 12px 14px;
    box-shadow: 0 10px 24px -16px rgba(0, 0, 0, .5);
  }
  .studio-results .eyebrow { margin-bottom: 4px; }
  .studio-results h2 { font-size: 1.02rem; margin: 0 0 8px; }
  .studio-results .result-grid { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .studio-results .result-grid article { padding: 7px 6px; gap: 2px; }
  .studio-results .result-grid span { font-size: .52rem; }
  .studio-results .result-grid strong { font-size: .82rem; }
  .studio-results .inline-review { display: none; }
}

@media (max-width: 600px) {
  .brand { white-space: nowrap; }
  .brand-logo-img { height: 34px; }
  .nav { gap: 8px; font-size: .8rem; }
  .nav a:not(.nav-cta) { display: none; }
  .nav-cta { padding: 7px 11px; font-size: .72rem; }
  .theme-pill b { padding: 6px 8px; font-size: .58rem; }
  .grid,
  .format-cards,
  .result-grid,
  .cockpit-kpi-strip { grid-template-columns: 1fr; }
  .tap-grid { grid-template-columns: repeat(2, 1fr); }
  .studio-teaser { flex-direction: column; align-items: flex-start; }
  .cta { width: 100%; }
  .actions { width: 100%; }
}

/* ============ 8. CONSEILLER (bulle offline, deterministe) ============ */
.cb-launcher { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: inline-flex; align-items: center; gap: 9px; padding: 12px 18px 12px 13px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; cursor: pointer; font: inherit; font-weight: 600; box-shadow: 0 12px 30px color-mix(in srgb, var(--accent) 42%, transparent); }
.cb-launcher b { display: inline-flex; width: 25px; height: 25px; border-radius: 50%; background: rgba(255, 255, 255, .18); align-items: center; justify-content: center; font-size: 14px; }
.cb-panel { position: fixed; right: 22px; bottom: 84px; z-index: 60; width: 372px; max-width: calc(100vw - 32px); height: 520px; max-height: calc(100vh - 120px); display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(15, 27, 45, .3); }
.cb-panel[hidden] { display: none; }
.cb-head { padding: 15px 18px; background: linear-gradient(135deg, #16233a, #0f1b2d); color: #fff; }
.cb-head b { font-family: var(--display); font-size: 1.02rem; }
.cb-head b i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #5fd39a; margin-right: 7px; vertical-align: middle; }
.cb-head span { display: block; font-size: .72rem; color: #9fb0c4; margin-top: 2px; }
.cb-log { flex: 1; overflow-y: auto; padding: 15px; display: flex; flex-direction: column; gap: 10px; }
.cb-msg { max-width: 86%; padding: 10px 13px; border-radius: 14px; font-size: .9rem; line-height: 1.42; }
.cb-bot { align-self: flex-start; background: var(--panel-2); color: var(--text); border-bottom-left-radius: 4px; }
.cb-user { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.cb-src { display: block; margin-top: 6px; font-size: .64rem; color: var(--soft); font-family: var(--mono); }
.cb-cta { display: inline-block; margin-top: 8px; font-size: .8rem; font-weight: 700; color: var(--accent-strong); border-bottom: 1px solid var(--accent); }
.cb-chips { display: flex; flex-wrap: wrap; gap: 7px; padding: 10px 15px; border-top: 1px solid var(--line); }
.cb-chip { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); cursor: pointer; font: inherit; font-size: .76rem; color: var(--text); }
.cb-chip:hover { border-color: var(--accent); color: var(--accent-strong); }
.cb-form { display: flex; gap: 8px; padding: 11px 13px; border-top: 1px solid var(--line); }
.cb-form input { flex: 1; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 10px; font: inherit; background: var(--bg); color: var(--text); }
.cb-form input:focus { outline: none; border-color: var(--accent); }
.cb-form button { border: 0; background: var(--accent); color: #fff; border-radius: 10px; padding: 0 14px; cursor: pointer; font-weight: 700; }
.cb-mode { padding: 7px 15px 10px; font-size: .62rem; color: var(--faint); font-family: var(--mono); border-top: 1px solid var(--line); }
@media (max-width: 520px) { .cb-panel { right: 12px; left: 12px; width: auto; } .cb-launcher { right: 14px; } }

/* ============ 9. VBC COMPOSITE (image fixe + overlays alignes, cqw) ============ */
.vbc-block { max-width: var(--maxw); }
.vbc-stage { container-type: inline-size; position: relative; aspect-ratio: 16 / 9; width: 100%; overflow: hidden; border-radius: 24px; background: #120b07; box-shadow: var(--shadow-soft); color: #fff7ec; }
.vbc-plate { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vbc-stage > *:not(.vbc-plate) { position: absolute; }

.vbc-kpis { top: 3%; left: 21.5%; right: 2.5%; display: grid; grid-template-columns: repeat(5, 1fr); gap: .8cqw; }
.vbc-kpis article { border: 1px solid rgba(236, 178, 92, .34); background: rgba(26, 18, 12, .62); border-radius: 12px; padding: .9cqw .8cqw; }
.vbc-kpis span { display: block; font-family: var(--mono); font-size: .62cqw; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 247, 236, .62); }
.vbc-kpis strong { display: block; margin-top: .35cqw; font-family: var(--display); font-size: 1.5cqw; line-height: 1.04; color: #fff7ec; }
.vbc-kpis strong.ok { color: #7ad29a; }
.vbc-kpis strong.watch { color: #e9b259; }
.vbc-kpis strong.skip { color: #e08a6a; }
.vbc-glass.g3 .foam { background: radial-gradient(ellipse at 50% 28%, #f3e6cb, #d8c096); }

.vbc-brand { left: 2.6%; top: 19%; width: 17%; }
.vbc-brand > strong { display: block; font-family: var(--display); color: #e6b15b; font-size: 2cqw; line-height: 1; }
.vbc-brand > span { display: block; margin-top: .4cqw; font-size: .82cqw; color: rgba(255, 247, 236, .82); }
.vbc-brand > p { margin: 1.2cqw 0 0; font-size: .76cqw; line-height: 1.4; color: rgba(255, 247, 236, .64); }
.vbc-live { margin-top: 1.4cqw; display: inline-flex; align-items: center; gap: .5cqw; font-family: var(--mono); font-size: .68cqw; letter-spacing: .1em; text-transform: uppercase; color: #fff7ec; }
.vbc-live i { width: .5cqw; height: .5cqw; border-radius: 50%; background: #5fd39a; box-shadow: 0 0 .6cqw #5fd39a; animation: blPulse 1.6s infinite; }
.vbc-queue { margin-top: .7cqw; font-family: var(--mono); font-size: .74cqw; color: rgba(255, 247, 236, .8); }
.vbc-queue b { font-family: var(--display); font-size: 1.4cqw; color: var(--accent); }
.vbc-queue small { display: block; color: rgba(255, 247, 236, .55); }

.vbc-screen { top: 17%; height: 27%; width: 10.3%; border-radius: .9cqw; background: linear-gradient(180deg, rgba(18, 20, 24, .97), rgba(8, 10, 13, .99)); border: 1px solid rgba(255, 255, 255, .12); padding: .7cqw .5cqw; display: grid; align-content: start; justify-items: center; gap: .22cqw; text-align: center; box-shadow: 0 0 0 1px rgba(236, 178, 92, .3), 0 0 1.6cqw rgba(236, 178, 92, .12), 0 1cqw 2cqw rgba(0, 0, 0, .42); animation: vbcGlow 5s ease-in-out infinite; }
.vbc-screen b { font-family: var(--display); color: #e6b15b; font-size: .82cqw; line-height: 1; }
.vbc-screen span { font-size: .5cqw; color: rgba(255, 247, 236, .6); }
.vbc-screen .med { width: 2cqw; height: 2cqw; border-radius: 50%; margin: .35cqw 0 .1cqw; border: 1px solid rgba(255, 255, 255, .18); }
.vbc-screen strong { font-family: var(--display); font-size: .84cqw; color: #fff7ec; }
.vbc-screen em { font-style: normal; font-size: .56cqw; color: rgba(255, 247, 236, .72); }
.vbc-screen u { text-decoration: none; font-family: var(--mono); font-size: .5cqw; color: rgba(255, 247, 236, .6); }
.vbc-screen .srv { margin-top: .4cqw; padding: .28cqw .9cqw; border-radius: 999px; background: linear-gradient(180deg, #e9c069, #cf9b3f); color: #2a1c08; font-weight: 700; font-size: .6cqw; }
.s1 { left: 20.2%; } .s2 { left: 36.5%; animation-delay: .5s; } .s3 { left: 53%; animation-delay: 1s; } .s4 { left: 69.4%; animation-delay: 1.5s; }
.med.gold { background: radial-gradient(circle at 50% 35%, #fff3b5 0 12%, transparent 13%), linear-gradient(135deg, #6d4514, #d6a34d 55%, #f7df8c); }
.med.hop { background: radial-gradient(circle at 50% 45%, #a9d65e 0 26%, transparent 27%), linear-gradient(135deg, #2d4b1f, #83a94a); }
.med.amber { background: linear-gradient(135deg, #4a1d0c, #b65622, #f2a24b); }
.med.stout { background: radial-gradient(circle at 40% 30%, #3d3d43, #0b0d12 70%); }
@keyframes vbcGlow { 0%, 100% { box-shadow: 0 0 0 1px rgba(236, 178, 92, .2), 0 0 1cqw rgba(236, 178, 92, .07), 0 1cqw 2cqw rgba(0, 0, 0, .42); } 50% { box-shadow: 0 0 0 1px rgba(236, 178, 92, .42), 0 0 2cqw rgba(236, 178, 92, .2), 0 1cqw 2cqw rgba(0, 0, 0, .42); } }

.vbc-glass { bottom: 15.5%; width: 6%; transform: translateX(-50%); display: grid; justify-items: center; }
.g1 { left: 25.7%; } .g2 { left: 41.9%; } .g3 { left: 58.3%; } .g4 { left: 74.5%; }
.vbc-glass .stream { position: absolute; top: -8%; width: 2px; height: 13%; border-radius: 999px; background: linear-gradient(180deg, rgba(255, 238, 180, .1), var(--beer), transparent); box-shadow: 0 0 .6cqw var(--beer); animation: streamPulse 1.6s ease-in-out infinite; }
.vbc-glass .shell { position: relative; width: 5.4cqw; height: 7.5cqw; border: 1.5px solid rgba(255, 255, 255, .44); border-top-color: rgba(255, 255, 255, .68); border-radius: .25cqw .25cqw 1cqw 1cqw; overflow: hidden; clip-path: polygon(15% 0, 85% 0, 70% 100%, 30% 100%); background: linear-gradient(90deg, rgba(255, 255, 255, .2), transparent 24%, transparent 74%, rgba(255, 255, 255, .14)); box-shadow: inset 0 0 1cqw rgba(255, 255, 255, .08), 0 .7cqw 1.4cqw rgba(0, 0, 0, .42); }
.vbc-glass .fill { position: absolute; left: 0; right: 0; bottom: 0; height: var(--fill); background: linear-gradient(180deg, rgba(255, 255, 255, .2), transparent 14%), var(--beer); transform-origin: bottom; animation: beerRise 5s ease-in-out infinite; }
.vbc-glass .foam { position: absolute; left: 3%; right: 3%; bottom: calc(var(--fill) - .7cqw); height: 1.5cqw; border-radius: 50% 50% 42% 42%; background: radial-gradient(ellipse at 50% 28%, #fffdf6, #f5e9cf); box-shadow: 0 .15cqw .35cqw rgba(0, 0, 0, .16); animation: foamBreathe 5s ease-in-out infinite; }
@keyframes beerRise { 0% { transform: scaleY(.42); opacity: .8; } 48% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(.86); opacity: .94; } }
@keyframes foamBreathe { 0%, 100% { transform: translateY(.1cqw) scaleX(.92); opacity: .74; } 50% { transform: translateY(0) scaleX(1); opacity: .96; } }
@keyframes streamPulse { 0%, 100% { opacity: .32; transform: scaleY(.7); } 50% { opacity: 1; transform: scaleY(1); } }
.g2 .fill, .g2 .foam { animation-delay: .3s; } .g3 .fill, .g3 .foam { animation-delay: .6s; } .g4 .fill, .g4 .foam { animation-delay: .9s; }
.g2 .stream { animation-delay: .22s; } .g3 .stream { animation-delay: .44s; } .g4 .stream { animation-delay: .66s; }

.vbc-replay { right: 2.5%; top: 31%; width: 21%; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(18, 14, 11, .72); padding: 1cqw; }
.vbc-replay header { display: flex; justify-content: space-between; font-family: var(--mono); font-size: .6cqw; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 247, 236, .62); }
.vbc-replay > strong { display: block; font-family: var(--display); font-size: 1cqw; margin: .35cqw 0 .6cqw; }
.vbc-replay ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .5cqw; }
.vbc-replay li { border: 1px solid rgba(255, 255, 255, .1); border-radius: 9px; padding: .5cqw .6cqw; background: rgba(255, 255, 255, .04); }
.vbc-replay time { font-family: var(--mono); font-size: .58cqw; color: #8cc5ff; margin-right: .4cqw; }
.vbc-replay li b { font-size: .68cqw; }
.vbc-replay li small { display: block; margin-top: .15cqw; font-size: .58cqw; color: rgba(255, 247, 236, .6); }

.vbc-disc { margin: 12px 4px 0; font-family: var(--mono); font-size: .68rem; color: var(--soft); }

@media (max-width: 820px) {
  .vbc-stage { aspect-ratio: 3 / 4; }
  .vbc-brand, .vbc-replay { display: none; }
  .vbc-kpis { left: 3%; right: 3%; top: 2%; grid-template-columns: repeat(2, 1fr); gap: 2%; }
  .vbc-kpis span { font-size: 2.4cqw; } .vbc-kpis strong { font-size: 4.6cqw; }
  .vbc-screen { top: 23%; width: 20%; height: 19%; }
  .s1 { left: 5%; } .s2 { left: 28%; } .s3 { left: 51%; } .s4 { left: 74%; }
  .vbc-screen u, .vbc-screen em { display: none; }
  .vbc-screen b { font-size: 2.8cqw; } .vbc-screen strong { font-size: 3cqw; } .vbc-screen .med { width: 7cqw; height: 7cqw; } .vbc-screen .srv { font-size: 2.4cqw; }
  .vbc-glass { top: 60%; width: 16%; } .g1 { left: 15%; } .g2 { left: 38%; } .g3 { left: 61%; } .g4 { left: 84%; }
  .vbc-glass .shell { width: 10cqw; height: 19cqw; }
}
@media (prefers-reduced-motion: reduce) {
  .vbc-glass .fill, .vbc-glass .foam, .vbc-glass .stream, .vbc-screen, .vbc-live i { animation: none !important; }
}
