/* Hop'n Bar V4.1.1 shared site system (inner 18 routes + studio).
   SOURCE_LABEL = V4.1 · GOVERNED_FREEZE = V4.1.1 FINAL
   Home (index.html) keeps hopnbar-v1.css composition; this file must not restyle .home-page.
   Inner-route headings consume self-hosted Fraunces at weight 400
   (ui/hopnbar/assets/fonts/fraunces-variable.woff2). Do not map 400 onto fraunces-600.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: "Fraunces";
  src: url("./assets/fonts/fraunces-variable.woff2") format("woff2");
  font-weight: 400;
  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;
}

:root:has(.site-page) {
  color-scheme: dark;
  background: #17120F;
}

.site-page {
  --hb-walnut: #17120F;
  --hb-oak: #211914;
  --hb-panel: #2A211B;
  --hb-low: #1C1613;
  --hb-shadow: #100D0B;
  --hb-parchment: #F0E5D3;
  --hb-linen: #CBBBA5;
  --hb-muted: #9E8E7B;
  --hb-brass: #A97B3E;
  --hb-brass-hover: #C0904C;
  --hb-brass-on-light: #8A6231;
  --hb-copper: #936044;
  --hb-green: #263A32;
  --hb-green-text: #E4EFEA;
  --hb-green-muted: #C4D6CE;
  --hb-verdigris: #6F978B;
  --hb-ink: #241C16;
  --hb-ink-2: #4A3B2E;
  --hb-on-brass: #17120F;
  --hb-line: rgba(203, 187, 165, 0.12);
  --hb-line-strong: rgba(203, 187, 165, 0.22);
  --hb-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --hb-sans: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --hb-max: 1120px;
  --hb-pad: clamp(18px, 4.4vw, 28px);
  --hb-radius: 8px;
  --hb-radius-card: 14px;
  --panel: var(--hb-oak);
  --bg: var(--hb-walnut);
  --text: var(--hb-parchment);
  --accent: var(--hb-brass);
  --muted: var(--hb-linen);
  --soft: var(--hb-muted);
  --line: var(--hb-line);
  margin: 0;
  background: var(--hb-walnut);
  color: var(--hb-parchment);
  font-family: var(--hb-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.site-page * { box-sizing: border-box; }
.site-page a { color: inherit; text-decoration: none; }
.site-page img, .site-page video { max-width: 100%; display: block; }
.site-page button, .site-page input, .site-page select, .site-page textarea { font: inherit; color: inherit; }
.site-page :focus-visible {
  outline: 2px solid var(--hb-verdigris);
  outline-offset: 3px;
}

.site-skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--hb-brass);
  color: var(--hb-on-brass);
  border-radius: var(--hb-radius);
}
.site-skip:focus { top: 12px; }

.site-page h1, .site-page h2, .site-page h3 {
  margin: 0;
  font-family: var(--hb-display);
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: -0.012em;
  line-height: 1.15;
  color: var(--hb-parchment);
}
.site-page h1 { font-size: clamp(32px, 4.8vw, 52px); line-height: 1.13; }
.site-page h2 { font-size: 26px; }
.site-page h3 { font-size: 22px; }
.site-page p { margin: 0; }

.site-kicker { margin: 0 0 10px; font-size: 15px; color: var(--hb-linen); }
.site-lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.7; color: var(--hb-linen); max-width: 64ch; }
.site-copy { font-size: 16px; line-height: 1.75; color: var(--hb-linen); max-width: 72ch; }
.site-num { font-family: var(--hb-display); font-weight: 400; font-size: 36px; line-height: 1; color: var(--hb-brass); }

.site-btn {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: var(--hb-radius);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.15;
  border: 1px solid transparent;
}
.site-btn-primary {
  background: var(--hb-brass);
  color: var(--hb-on-brass);
  box-shadow: inset 0 1px 0 rgba(255, 240, 214, 0.3);
}
.site-btn-primary:hover { background: var(--hb-brass-hover); }
.site-btn-secondary {
  background: var(--hb-panel);
  color: var(--hb-parchment);
  border-color: var(--hb-line-strong);
}
.site-link {
  display: inline;
  border-bottom: 1px solid var(--hb-copper);
  padding-bottom: 2px;
  color: var(--hb-parchment);
}
.site-link:hover { color: #C9974E; }

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 0 var(--hb-pad);
  border-bottom: 1px solid var(--hb-line);
  background: color-mix(in srgb, var(--hb-walnut) 92%, transparent);
  backdrop-filter: blur(18px);
}
.site-brand { display: inline-flex; align-items: center; flex: none; }
.site-brand img { width: 86px; height: auto; }
.site-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px 22px;
  color: var(--hb-linen);
  font-size: 15px;
}
.site-nav > a { padding: 10px 0; min-height: 44px; display: inline-flex; align-items: center; }
.site-nav > a:hover, .site-nav-group summary:hover { color: var(--hb-parchment); }
.site-nav-group { position: relative; }
.site-nav-group > summary {
  list-style: none;
  cursor: pointer;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 0;
}
.site-nav-group > summary::-webkit-details-marker { display: none; }
.site-nav-group > div {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--hb-line);
  border-radius: 10px;
  background: var(--hb-oak);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.site-nav-group a, .site-menu a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
}
.site-nav-group a:hover, .site-menu a:hover { background: var(--hb-panel); }
.site-header-actions { display: flex; align-items: center; gap: 12px; }
.studio-hidden { display: none; }
.site-menu { display: none; position: relative; }
.site-menu summary {
  cursor: pointer;
  list-style: none;
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid var(--hb-line-strong);
  border-radius: var(--hb-radius);
  background: var(--hb-oak);
  font-size: 14px;
  font-weight: 500;
}
.site-menu summary::-webkit-details-marker { display: none; }
.site-menu > div {
  position: absolute;
  top: 48px;
  right: 0;
  min-width: 260px;
  display: grid;
  gap: 2px;
  padding: 12px;
  border: 1px solid var(--hb-line);
  border-radius: 10px;
  background: var(--hb-oak);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  max-height: calc(100vh - 80px);
  max-height: calc(100dvh - 80px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.site-menu .site-btn { margin-top: 8px; width: 100%; }
.site-menu-group {
  border: 0;
}
.site-menu-group > summary {
  list-style: none;
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 500;
}
.site-menu-group > summary::-webkit-details-marker { display: none; }
.site-menu-group > div {
  position: static;
  min-width: 0;
  display: grid;
  gap: 2px;
  padding: 0 0 8px 10px;
  border: 0;
  box-shadow: none;
  background: transparent;
  max-height: none;
  overflow: visible;
}

.site-page main { display: block; padding-top: 72px; }
.site-wrap { max-width: var(--hb-max); margin: 0 auto; padding: 56px var(--hb-pad); }
.site-band { border-top: 1px solid var(--hb-line); }
.site-band-panel { background: var(--hb-panel); }
.site-band-parchment {
  background: #E4D6BF;
  color: var(--hb-ink);
}
.site-band-parchment h2, .site-band-parchment h3 { color: var(--hb-ink); }
.site-band-parchment .site-copy, .site-band-parchment .site-lead, .site-band-parchment .site-kicker { color: var(--hb-ink-2); }
.site-band-parchment :focus-visible { outline-color: #263A32; }
.site-band-parchment .site-num { color: var(--hb-brass-on-light); }

.site-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.site-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 28px; }
.site-aside {
  border-radius: var(--hb-radius-card);
  background: var(--hb-oak);
  border: 1px solid var(--hb-line);
  padding: 26px;
}
.site-card {
  border-radius: var(--hb-radius-card);
  background: var(--hb-oak);
  border: 1px solid var(--hb-line);
  padding: 26px;
}
.site-card-low { background: var(--hb-low); }
.site-media {
  border-radius: var(--hb-radius-card);
  background: var(--hb-shadow);
  border: 1px solid var(--hb-line);
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  color: var(--hb-muted);
  font-size: 13px;
}
.site-media img, .site-media video { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.site-figure {
  margin: 0;
  border-radius: var(--hb-radius-card);
  overflow: hidden;
  background: var(--hb-shadow);
  border: 1px solid var(--hb-line);
}
.site-figure video, .site-figure img { width: 100%; height: auto; display: block; }
.site-figure figcaption {
  padding: 12px 16px 14px;
  color: var(--hb-muted);
  font-size: 14px;
  line-height: 1.55;
}
.site-honest {
  max-width: 46ch;
  padding: 8px 0 4px;
}
.site-honest .site-kicker { margin-bottom: 8px; }
.site-steps { display: grid; gap: 0; max-width: 820px; }
.site-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid var(--hb-line);
}
.site-step:last-child { border-bottom: 1px solid var(--hb-line); }
.site-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 900px;
  font-size: 16px;
  line-height: 1.7;
}
.site-table > * { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--hb-line); }
.site-table > *:nth-child(2n) { padding-left: 16px; padding-right: 0; }
.site-table .site-th { color: var(--hb-muted); font-size: 14px; }
.site-faq { max-width: 760px; }
.site-faq details { border-top: 1px solid var(--hb-line); padding: 18px 0; }
.site-faq details:last-child { border-bottom: 1px solid var(--hb-line); }
.site-faq summary {
  cursor: pointer;
  list-style: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  font-size: 17px;
}
.site-faq summary::-webkit-details-marker { display: none; }
.site-faq details p { margin-top: 10px; color: var(--hb-linen); font-size: 16px; line-height: 1.75; }
.site-mesh { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.site-mesh a { display: block; width: fit-content; margin-bottom: 10px; border-bottom: 1px solid rgba(147, 96, 68, 0.6); padding-bottom: 4px; }
.site-close {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.family-usage .site-compare {
  display: grid;
  grid-template-columns: 88px 1fr 1fr;
  gap: 0;
  border: 1px solid var(--hb-line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--hb-oak);
}
.family-usage .site-compare > * { padding: 16px; border-bottom: 1px solid var(--hb-line); font-size: 15px; line-height: 1.6; }
.family-usage .site-compare .site-th { color: var(--hb-muted); font-size: 13px; }
.site-split,
.family-solution .site-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
}
.family-lieu .site-hours { display: grid; gap: 22px; max-width: 720px; }
.family-education h1 { max-width: 18ch; }
.family-education .site-steps { margin-top: 8px; }
.family-proof h1 { max-width: 16ch; }
.family-proof .site-figure { max-width: 920px; }
.family-comparison .site-card { border-left: 3px solid var(--hb-brass); }
.family-partners .site-aside { background: var(--hb-green); color: var(--hb-green-text); }
.family-partners .site-aside h2 { color: var(--hb-green-text); }
.family-partners .site-aside .site-copy { color: var(--hb-green-muted); }
.family-decision h1 { max-width: 20ch; }
.family-usage .site-compare { margin-top: 8px; }
.family-solution .site-band-parchment { padding-top: 8px; }

.site-footer {
  border-top: 1px solid var(--hb-line);
  background: var(--hb-walnut);
}
.site-footer-grid {
  max-width: var(--hb-max);
  margin: 0 auto;
  padding: 48px var(--hb-pad) 40px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--hb-muted);
}
.site-footer h2 { font-size: 19px; color: var(--hb-parchment); margin-bottom: 8px; }
.site-footer .site-col-title { color: var(--hb-linen); margin-bottom: 6px; }
.site-footer a { color: var(--hb-muted); }
.site-footer a:hover { color: var(--hb-parchment); }
.site-legal details { margin-top: 8px; }
.site-legal summary {
  cursor: pointer;
  list-style: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  color: var(--hb-linen);
}
.site-legal summary::-webkit-details-marker { display: none; }
.site-legal .site-legal-body { color: var(--hb-muted); font-size: 14px; line-height: 1.7; max-width: 62ch; }

.site-page .cb-panel, .site-page .cb-launcher {
  --panel: var(--hb-oak);
  --panel-2: var(--hb-panel);
  --bg: var(--hb-walnut);
  --text: var(--hb-parchment);
  --accent: var(--hb-brass);
  --accent-strong: var(--hb-copper);
  --line: var(--hb-line);
  --line-2: var(--hb-line-strong);
  --soft: var(--hb-muted);
  --faint: var(--hb-muted);
  --display: var(--hb-display);
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
.site-page .cb-head { background: var(--hb-panel); }
.site-page .cb-user { color: var(--hb-on-brass); }

/* Adviser chrome lives here so inner routes do not load hopnbar.css (Home section/type leak). */
.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: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; background: #1d2836; color: #fff; cursor: pointer; font: inherit; font-weight: 600; box-shadow: 0 12px 30px rgba(15, 27, 45, .32); }
.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(0, 0, 0, .45); }
.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 { 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; width: 48px; height: 48px; padding: 0; gap: 0; justify-content: center; font-size: 0; }
  .cb-launcher b { width: auto; height: auto; background: transparent; font-size: 20px; }
}
@media (max-width: 390px) {
  .cb-launcher { right: 12px; bottom: 12px; width: 44px; height: 44px; padding: 0; gap: 0; justify-content: center; font-size: 0; }
  .cb-launcher b { width: auto; height: auto; background: transparent; font-size: 18px; }
}
/* F-OVERLAY: under ~400px height the full launcher/panel must not paint over H1 + primary CTA. */
@media (max-height: 400px) {
  .cb-launcher { right: 12px; bottom: 10px; width: 40px; height: 40px; padding: 0; gap: 0; justify-content: center; font-size: 0; }
  .cb-launcher b { width: auto; height: auto; background: transparent; font-size: 18px; }
  .cb-panel {
    right: 12px;
    left: auto;
    bottom: 54px;
    width: min(320px, calc(100vw - 24px));
    height: auto;
    max-height: min(42vh, calc(100vh - 96px));
  }
  .cb-head { padding: 8px 12px; }
  .cb-head span { display: none; }
  .cb-log { padding: 8px 10px; }
  .cb-chips { padding: 6px 10px; }
  .cb-form { padding: 6px 10px; }
  .cb-mode { display: none; }
  .studio-welcome-media { display: none; }
  .studio-welcome { padding-top: 8px; padding-bottom: 48px; }
  .studio-welcome h1 { font-size: 22px; }
  .studio-welcome-actions { margin-top: 16px; padding-right: 56px; }
}

@media (max-width: 1180px) {
  .site-nav { display: none; }
  .site-menu { display: block; }
  .site-header-cta { display: inline-flex; }
}
@media (max-width: 380px) {
  .site-header-cta { display: none; }
}
@media (max-width: 920px) {
  .site-hero-grid,
  .family-solution .site-split,
  .site-table { grid-template-columns: 1fr; }
  .site-table > *:nth-child(2n) { padding-left: 0; }
  .family-usage .site-compare { grid-template-columns: 1fr; }
  .site-footer-grid { grid-template-columns: 1fr 1fr; }
  .site-step { grid-template-columns: 48px 1fr; }
}
@media (max-width: 600px) {
  .site-footer-grid { grid-template-columns: 1fr; }
  .site-actions .site-btn { width: 100%; }
  .site-header { height: 66px; padding-inline: 16px; }
  .site-page main { padding-top: 66px; padding-bottom: 72px; }
  .site-brand img { width: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-page { scroll-behavior: auto; }
  .site-page * { transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .site-footer, .cb-launcher, .cb-panel, .site-menu, .studio-bar { display: none !important; }
  .site-page main { padding-top: 0; }
  .studio-shell .site-footer { display: block !important; }
}

/* ——— Prospect Studio v2 — task surface, same visual system ——— */
.studio-shell .studio-header {
  height: 64px;
  background: var(--hb-walnut);
  backdrop-filter: none;
  grid-template-columns: auto 1fr auto;
}
.studio-header-title {
  margin: 0;
  justify-self: center;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--hb-linen);
}
.studio-header-actions { gap: 16px; }
.studio-privacy {
  margin: 0;
  font-size: 13px;
  color: var(--hb-muted);
  white-space: nowrap;
}
.studio-quit {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 4px;
  color: var(--hb-linen);
  border-bottom: 1px solid transparent;
}
.studio-quit:hover { color: var(--hb-parchment); border-bottom-color: var(--hb-copper); }
.studio-shell .site-menu { display: block; }
.studio-shell .site-nav { display: none; }
.studio-shell main {
  padding-top: 64px;
  min-height: calc(100dvh - 64px);
}
.studio-shell.studio-flow-active .site-footer,
.studio-shell.studio-flow-active .cb-launcher,
.studio-shell.studio-flow-active .cb-panel {
  display: none !important;
}
.studio-shell .cb-launcher {
  background: var(--hb-oak);
  border-color: var(--hb-line-strong);
  color: var(--hb-parchment);
  box-shadow: 0 10px 28px rgba(16, 13, 11, 0.45);
}
.studio-shell .cb-launcher b { background: var(--hb-panel); }
.studio-shell .cb-head {
  background: var(--hb-panel);
}

#studio-app { max-width: 1180px; margin: 0 auto; padding: 28px var(--hb-pad) 108px; }
.studio-shell.studio-flow-active #studio-app { padding-bottom: 140px; }

.studio-welcome {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: center;
  padding: 28px 0 40px;
}
.studio-welcome h1 { max-width: 16ch; font-size: clamp(30px, 4.4vw, 48px); }
.studio-welcome .site-lead { margin: 16px 0 12px; }
.studio-quiet { margin-top: 14px; font-size: 14px; line-height: 1.65; color: var(--hb-muted); max-width: 62ch; }
.studio-welcome-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.studio-welcome-meta { margin: 0; color: var(--hb-linen); font-size: 15px; }
.studio-trust { margin-top: 18px; font-size: 14px; color: var(--hb-muted); max-width: 46ch; line-height: 1.6; }
.studio-welcome-media {
  margin: 0;
  border-radius: var(--hb-radius-card);
  overflow: hidden;
  background: var(--hb-shadow);
  border: 1px solid var(--hb-line);
}
.studio-welcome-media img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.studio-welcome-media figcaption {
  padding: 12px 16px 14px;
  color: var(--hb-muted);
  font-size: 13px;
  line-height: 1.5;
}

.studio-progress-wrap { margin-bottom: 22px; max-width: 520px; }
.studio-progress-label { margin: 0 0 8px; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--hb-linen); }
.studio-progress { display: flex; gap: 5px; }
.studio-progress span { height: 3px; flex: 1; border-radius: 99px; background: var(--hb-panel); }
.studio-progress span.is-on { background: var(--hb-brass); }

.studio-split {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.7fr);
  gap: 40px;
  align-items: start;
}
.studio-h1 { font-size: clamp(26px, 3.6vw, 42px); max-width: 18ch; }
.studio-helper { margin: 12px 0 28px; }
.studio-aside {
  background: var(--hb-oak);
  border: 1px solid var(--hb-line);
  border-radius: var(--hb-radius-card);
  padding: 22px 24px;
  box-shadow: 0 12px 30px rgba(16, 13, 11, 0.18);
}
.studio-aside-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hb-brass);
}
.studio-aside p { margin: 0; color: var(--hb-linen); font-size: 15px; line-height: 1.7; }

.studio-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  align-items: start;
}
.studio-choice, .studio-chip, .studio-becs-btn {
  min-height: 44px;
  text-align: left;
  background: var(--hb-oak);
  border: 1px solid var(--hb-line-strong);
  border-radius: 10px;
  padding: 16px 18px;
  cursor: pointer;
  color: var(--hb-parchment);
  box-shadow: 0 8px 18px rgba(16, 13, 11, 0.22);
}
.studio-choice { height: auto; }
.studio-choice-label { display: block; font-weight: 600; font-size: 16px; }
.studio-choice small { display: block; margin-top: 6px; color: var(--hb-muted); font-size: 14px; line-height: 1.55; font-weight: 400; }
.studio-choice:hover, .studio-chip:hover, .studio-becs-btn:hover {
  border-color: var(--hb-brass);
  background: var(--hb-panel);
}
.studio-choice.is-on, .studio-chip.is-on, .studio-becs-btn.is-on {
  background: var(--hb-panel);
  border-color: var(--hb-brass);
  box-shadow: inset 0 0 0 1px var(--hb-brass);
}
.studio-choice.is-on .studio-choice-label { color: var(--hb-parchment); }
.studio-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.studio-chip { padding: 10px 16px; }
.studio-field { margin-bottom: 26px; }
.studio-field label, .studio-field-label { display: block; margin-bottom: 10px; font-size: 15px; color: var(--hb-linen); }
.studio-field-hint { margin-top: 10px; font-size: 14px; color: var(--hb-muted); max-width: 52ch; }
.studio-input, .studio-search {
  width: 100%;
  max-width: 420px;
  min-height: 44px;
  background: var(--hb-oak);
  border: 1px solid var(--hb-line-strong);
  border-radius: 10px;
  color: var(--hb-parchment);
  padding: 12px 14px;
}
.studio-search-list {
  max-height: 240px;
  overflow-y: auto;
  margin-top: 6px;
  border: 1px solid var(--hb-line);
  border-radius: 10px;
  background: var(--hb-oak);
}
.studio-search-list button {
  width: 100%;
  min-height: 44px;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 10px 14px;
  cursor: pointer;
}
.studio-search-list button:hover { background: var(--hb-panel); }
.studio-selected-country { margin-top: 10px; color: var(--hb-linen); font-size: 15px; }
.studio-hint { margin-top: 16px; color: var(--hb-brass); font-size: 14px; }

.studio-becs-presets { display: flex; flex-wrap: wrap; gap: 10px; }
.studio-becs-btn {
  min-width: 64px;
  justify-content: center;
  text-align: center;
  font-size: 20px;
  font-family: var(--hb-display);
  padding: 14px 18px;
}
.studio-becs-other { margin-top: 18px; }

.studio-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  background: var(--hb-walnut);
  border-top: 1px solid var(--hb-line);
  padding: 12px var(--hb-pad) calc(12px + env(safe-area-inset-bottom, 0px));
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.studio-bar .site-btn { min-width: 140px; }

.studio-result, .studio-final { padding-bottom: 24px; }
.studio-result-head { max-width: 40rem; margin-bottom: 36px; }
.studio-result-head h1 { font-size: clamp(28px, 4vw, 46px); max-width: 18ch; }
.studio-result-head .site-lead { margin-top: 14px; }
.studio-formats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 40px;
}
.studio-format-card {
  background: var(--hb-oak);
  border: 1px solid var(--hb-line);
  border-radius: var(--hb-radius-card);
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  box-shadow: 0 10px 28px rgba(16, 13, 11, 0.16);
}
.studio-format-card--mur { border-top: 3px solid var(--hb-brass); }
.studio-format-card--tireuse { border-top: 3px solid var(--hb-copper); }
.studio-format-card--bar { border-top: 3px solid var(--hb-verdigris); background: var(--hb-green); }
.studio-format-card--bar h2,
.studio-format-card--bar .studio-format-kicker { color: var(--hb-green-text); }
.studio-format-card--bar .studio-format-idea,
.studio-format-card--bar .studio-format-why,
.studio-format-card--bar .site-link { color: var(--hb-green-muted); }
.studio-format-kicker {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hb-brass);
}
.studio-format-card h2 { font-size: 22px; }
.studio-format-idea { font-size: 15px; color: var(--hb-linen); line-height: 1.65; }
.studio-format-why { font-size: 14px; color: var(--hb-muted); line-height: 1.65; flex: 1; }
.studio-format-card .site-link { margin-top: 8px; width: fit-content; }

.studio-result-grid, .studio-final-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
@media (min-width: 1100px) {
  .studio-result-grid, .studio-final-grid, .studio-formats { margin-right: 56px; }
}
.studio-final-grid { grid-template-columns: 1fr; }
.studio-card {
  background: var(--hb-oak);
  border: 1px solid var(--hb-line);
  border-radius: var(--hb-radius-card);
  padding: 24px;
}
.studio-card-low { background: var(--hb-low); margin-top: 20px; }
.studio-card-next { background: var(--hb-green); color: var(--hb-green-text); }
.studio-card-next h2 { color: var(--hb-green-text); }
.studio-card-next .site-kicker,
.studio-card-next .studio-trust,
.studio-card-next li { color: var(--hb-green-muted); }
.studio-card h2 { font-size: 22px; margin-bottom: 14px; }
.studio-recap, .studio-missing-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.studio-recap li {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 10px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--hb-line);
  font-size: 15px;
}
.studio-recap li span { color: var(--hb-muted); }
.studio-recap li strong { font-weight: 500; }
.studio-edit {
  background: none;
  border: 0;
  color: var(--hb-brass);
  cursor: pointer;
  min-height: 44px;
  padding: 0 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.studio-missing-list { display: grid; gap: 10px; margin: 8px 0 18px; }
.studio-missing-list li {
  padding-left: 14px;
  border-left: 2px solid var(--hb-verdigris);
  line-height: 1.55;
}
.studio-result-actions, .studio-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 8px;
}
.studio-text-btn {
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  padding: 0;
  min-height: 44px;
}
.studio-proof {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  align-items: center;
  margin-top: 12px;
  padding: 16px;
  border: 1px solid var(--hb-line);
  border-radius: var(--hb-radius-card);
  background: var(--hb-low);
}
.studio-proof img { width: 100%; height: 120px; object-fit: cover; border-radius: 8px; }
.studio-proof p { margin: 0 0 8px; color: var(--hb-linen); }

@media (max-width: 920px) {
  .studio-welcome,
  .studio-split,
  .studio-formats,
  .studio-result-grid,
  .studio-proof { grid-template-columns: 1fr; }
  .studio-aside { order: 2; }
  .studio-main { order: 1; }
  .studio-welcome-media img { min-height: 200px; }
  .studio-recap li { grid-template-columns: 1fr auto; }
  .studio-recap li span { grid-column: 1 / -1; font-size: 13px; }
}
@media (max-width: 600px) {
  .studio-shell .studio-header { height: 56px; }
  .studio-shell main { padding-top: 56px; }
  .studio-header-title, .studio-privacy { display: none; }
  .studio-h1 { font-size: clamp(24px, 7vw, 32px); }
  .studio-bar .site-btn { flex: 1; min-width: 0; }
  .studio-choice-grid { grid-template-columns: 1fr; }
  .studio-welcome { padding-top: 12px; padding-bottom: 28px; }
  .studio-welcome-media { margin-bottom: 56px; }
  .studio-welcome-media img { min-height: 180px; }
  .studio-shell .cb-launcher,
  .studio-shell .cb-panel { display: none !important; }
}
@media (max-height: 430px) and (orientation: landscape) {
  .studio-shell .studio-header { height: 48px; }
  .studio-shell main { padding-top: 48px; }
  .studio-header-title, .studio-privacy, .studio-helper, .studio-aside { display: none; }
  .studio-welcome-media { display: none; }
  .studio-h1 { font-size: 22px; }
  .studio-progress-wrap { margin-bottom: 8px; }
  .studio-choice { padding: 10px 12px; }
  .studio-bar { padding-top: 8px; padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)); }
  .studio-shell.studio-flow-active #studio-app { padding-bottom: 72px; padding-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .studio-stage { animation: none; }
}
