/* Hero lab (21 Oct 2026). Loaded only on /__concepts/hero-lab/* (body.hl-page), after concepts.css and concepts-motion.css. Uses the
   existing BUKA tokens (--ink, --magenta, --accent, --grad*, --font, --mono, --r). No inline form in any hero. */
.hl-page .hl-hero { margin: 12px; }
.hl-page .hl-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 30px; }
.hl-page .hl-ctas--center { justify-content: center; }
.hl-page .hl-sec { min-height: 48px; }
.hl-page .hl-trust { margin-top: 22px; }
.hl-page .hl-trust--center { display: flex; justify-content: center; }
.hl-page .hl-trust .hc-gtrust { margin: 0; }

/* ---------- A1: dark, airy split; copy left, ring right ---------- */
.hl-page .hl-a1 { position: relative; border-radius: var(--r); overflow: hidden; color: #fff; padding: calc(var(--buka-header-h, 72px) + 48px) 0 48px; }
.hl-page .hl-a1__grid { position: relative; z-index: 2; display: grid; gap: 24px; width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.hl-page .hl-a1 h1 { font-size: clamp(2.4rem, 1.5rem + 3vw, 4.25rem); line-height: 1.02; max-width: 12ch; }
.hl-page .hl-a1 .hc-lead { margin-top: 20px; color: rgba(255, 255, 255, .84); max-width: 46ch; }
.hl-page .hl-a1 .hl-sec { color: #fff; }
.hl-page .hl-a1__ring { position: relative; min-height: 260px; }
.hl-page .hl-a1 .hl-car { margin-top: 0; }
@media (min-width: 992px) {
  .hl-page .hl-a1 { min-height: min(820px, calc(100svh - 24px)); display: grid; align-items: center; }
  .hl-page .hl-a1__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 32px; align-items: center; }
  .hl-page .hl-a1__ring { min-height: 420px; display: grid; align-items: center; }
}

/* ---------- A2: dark editorial, centred, big type, slow strip of real client sites below ---------- */
.hl-page .hl-a2 { position: relative; border-radius: var(--r); overflow: hidden; color: #fff; padding: calc(var(--buka-header-h, 72px) + 64px) 0 0; text-align: center; }
.hl-page .hl-a2__in { position: relative; z-index: 2; width: min(100% - 2 * var(--gutter), 1080px); margin-inline: auto; display: grid; justify-items: center; }
@media (max-width: 599px) { .hl-page .hl-a2 { padding-top: calc(var(--buka-header-h, 72px) + 28px); } .hl-page .hl-a2 .hc-lead { margin-top: 16px; } .hl-page .hl-a2 .hl-ctas { margin-top: 22px; } }
.hl-page .hl-a2 h1 { font-size: clamp(2.5rem, 1.4rem + 3.6vw, 5rem); line-height: 1.02; letter-spacing: -.06em; max-width: 16ch; }
/* gradient text is clipped to its inline box: room for descenders (g, y, p) under the tight line height */
.hl-page .hl-hero h1 .hc-grad, .hl-page .hl-hero h1 .hc-grad-light { padding-bottom: .12em; }
.hl-page .hl-a2 .hc-lead { margin: 24px auto 0; max-width: 58ch; color: rgba(255, 255, 255, .84); }
.hl-page .hl-a2 .hl-sec { color: #fff; }
.hl-page .hl-scope { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.hl-page .hl-scope a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 14px 4px 4px; border-radius: 80px; font-size: 14.5px; font-weight: 500; text-decoration: none; }
.hl-page .hl-scope--dark a { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #fff; }
.hl-page .hl-scope--dark a:hover { background: rgba(255, 255, 255, .14); }
.hl-page .hl-scope--light a { background: #fff; border: 1px solid var(--subtle-2); color: var(--ink); }
.hl-page .hl-scope--light a:hover { border-color: var(--grey-300); }
.hl-page .hl-a2 .hl-trust { margin-top: 22px; }
.hl-page .hl-strip-wrap { position: relative; z-index: 2; margin-top: 48px; }
.hl-page .hl-strip { overflow: hidden; padding: 0 0 32px; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.hl-page .hl-strip__track { display: flex; gap: 20px; width: max-content; animation: hl-strip 90s linear infinite; }
.hl-page .hl-strip__item { flex: none; width: clamp(260px, 26vw, 380px); aspect-ratio: 16 / 10; overflow: hidden; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 24px 50px -28px rgba(0, 0, 0, .8); transform: translateY(var(--y, 0)); }
.hl-page .hl-strip__item:nth-child(even) { --y: 18px; }
.hl-page .hl-strip__item img { width: 100%; height: auto; display: block; }
.hl-page .hl-strip.is-off .hl-strip__track, .hl-paused .hl-page .hl-strip__track, html.hl-paused .hl-strip__track { animation-play-state: paused; }
.hl-page .hl-strip.is-still .hl-strip__track { animation: none; }
@keyframes hl-strip { to { transform: translateX(-50%); } }
.hl-page .hl-pause { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 80px; border: 1px solid currentColor; background: transparent; color: inherit; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; opacity: .8; }
.hl-page .hl-pause[hidden] { display: none; }
.hl-page .hl-pause:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.hl-page .hl-strip-wrap .hl-pause { position: absolute; right: max(var(--gutter), 24px); top: -46px; color: #fff; }

/* ---------- D1: light, centred, ring continues below ---------- */
.hl-page .hl-d1 { margin: 0; }
.hl-page .hl-d1 .hc-hero-d h1 { max-width: 14ch; }
.hl-page .hl-d1 .hl-trust { margin-top: 20px; }

/* ---------- D2: light asymmetric; copy left, a real client site right ---------- */
.hl-page .hl-d2 { padding-block: clamp(20px, 3vw, 44px) clamp(40px, 5vw, 80px); margin: 0; }
.hl-page .hl-d2__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 992px) { .hl-page .hl-d2__grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 5vw, 80px); } }
.hl-page .hl-d2 h1 { font-size: clamp(2.4rem, 1.5rem + 3vw, 4.25rem); line-height: 1; letter-spacing: -.055em; max-width: 13ch; }
.hl-page .hl-d2 .hc-lead { margin-top: 20px; max-width: 48ch; }
.hl-page .hl-d2 .hl-scope { justify-content: flex-start; margin-top: 26px; }
.hl-page .hl-d2__work { margin: 0; display: grid; gap: 14px; }
.hl-page .hl-d2__frame { position: relative; padding: 1px; border-radius: 22px; background: linear-gradient(180deg, rgba(19, 19, 19, .14), rgba(19, 19, 19, .05)); box-shadow: 0 30px 60px -36px rgba(19, 19, 19, .45); transform: rotate(-1.2deg); }
.hl-page .hl-d2__view { position: relative; aspect-ratio: 4 / 4.2; overflow: hidden; border-radius: 21px; background: #f3f2f1; }
@media (min-width: 992px) { .hl-page .hl-d2__view { aspect-ratio: auto; height: clamp(380px, calc(100svh - 200px), 620px); } }
@media (max-width: 991px) { .hl-page .hl-d2__view { aspect-ratio: 16 / 11; } .hl-page .hl-d2__frame { transform: none; } }
.hl-page .hl-d2__view img { display: block; width: 100%; height: auto; will-change: transform; transition: opacity .5s ease; }
.hl-page .hl-d2__view.is-fading img { opacity: 0; }
.hl-page .hl-d2__work figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; font-size: 14.5px; color: var(--ink-2); }
.hl-page .hl-d2__work figcaption .hl-pause { order: 3; color: var(--ink); }

/* ---------- contact fallback (also the no-JS target of every CTA) ---------- */
.hl-page .hl-contact h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); }
.hl-page .hl-contact p { margin-top: 10px; color: var(--ink-2); }

/* ---------- brief dialog ---------- */
html.hl-locked { overflow: hidden; } html.hl-locked body { position: fixed; inset-inline: 0; width: 100%; }
.hl-dialog { width: min(720px, calc(100vw - 32px)); max-height: min(92dvh, 880px); padding: 0; border: 0; border-radius: 22px; background: #fff; color: var(--ink); box-shadow: 0 40px 100px -30px rgba(19, 19, 19, .55); overflow: hidden; font-family: var(--font); }
.hl-dialog::backdrop { background: rgba(19, 13, 18, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.hl-dialog[open] { display: flex; flex-direction: column; }
.hl-form { display: flex; flex-direction: column; min-height: 0; max-height: inherit; }
.hl-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 22px 24px 14px; border-bottom: 1px solid var(--subtle-2); }
.hl-kicker { margin: 0 0 6px; font: 500 11.5px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--magenta); }
.hl-head h2 { margin: 0; font-size: 1.55rem; font-weight: 500; letter-spacing: -.035em; line-height: 1.1; }
.hl-sub { margin: 6px 0 0; font-size: 14px; color: var(--ink-2); }
.hl-close { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--subtle); color: var(--ink); cursor: pointer; }
.hl-close svg { width: 20px; height: 20px; }
.hl-close:focus-visible, .hl-back:focus-visible { outline: 3px solid var(--magenta); outline-offset: 2px; }
.hl-body { overflow-y: auto; overscroll-behavior: contain; padding: 18px 24px calc(22px + env(safe-area-inset-bottom, 0px)); }
.hl-step { display: grid; gap: 16px; } .hl-step[hidden] { display: none; }
.hl-stepno { margin: 0; font: 500 12px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); outline: none; }
.hl-needs { margin: 0; padding: 0; border: 0; }
.hl-needs legend, .hl-f label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 500; color: var(--ink); }
.hl-req { color: var(--magenta); } .hl-opt { font-weight: 400; color: var(--ink-3); }
.hl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hl-chip { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 1px solid var(--subtle-2); border-radius: 40px; background: #fff; font-size: 14px; font-weight: 500; cursor: pointer; }
.hl-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.hl-chip:has(input:checked) { background: var(--grad-d); border-color: transparent; color: #fff; }
.hl-chip:has(input:focus-visible) { outline: 3px solid var(--magenta); outline-offset: 2px; }
.hl-row { display: grid; gap: 14px; }
@media (min-width: 560px) { .hl-row { grid-template-columns: 1fr 1fr; } }
.hl-f input, .hl-f select, .hl-f textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid transparent; border-radius: 12px; background: var(--subtle); color: var(--ink); font: 400 16px/1.4 var(--font); }
.hl-f textarea { min-height: 92px; resize: vertical; }
.hl-f input:focus, .hl-f select:focus, .hl-f textarea:focus { outline: none; background: #fff; border-color: var(--magenta); box-shadow: 0 0 0 3px rgba(179, 16, 94, .16); }
.hl-f.has-error input, .hl-f.has-error textarea { border-color: var(--err); background: #fff; }
.hl-hint { margin: 6px 0 0; font-size: 12.5px; color: var(--ink-3); }
.hl-err { margin: 6px 0 0; font-size: 13px; font-weight: 500; color: var(--err); } .hl-err:empty { display: none; }
.hl-more { border-top: 1px solid var(--subtle-2); padding-top: 12px; }
.hl-more summary { display: inline-flex; align-items: center; min-height: 40px; font-size: 14px; font-weight: 500; color: var(--magenta); cursor: pointer; }
.hl-more[open] summary { margin-bottom: 12px; }
.hl-more .hl-row + .hl-row { margin-top: 14px; }
.hl-privacy { margin: 0; font-size: 12.5px; color: var(--ink-3); } .hl-privacy a { color: inherit; text-decoration: underline; }
.hl-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px; }
.hl-back { min-height: 48px; padding: 0 18px; border: 1px solid var(--subtle-2); border-radius: 80px; background: #fff; color: var(--ink); font: 500 15px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.hl-status:empty { display: none; }
.hl-status.is-demo { padding: 14px 16px; border-radius: 12px; border: 1px dashed var(--grey-300); background: #fffaf0; font-size: 14px; font-weight: 500; color: var(--ink); outline: none; }
.hl-dialog-open .offer-band { visibility: hidden; }
@media (max-width: 599px) {
  .hl-dialog { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; margin: 0; border-radius: 0; inset: 0; }
  .hl-head { padding: 16px 16px 12px; padding-top: calc(16px + env(safe-area-inset-top, 0px)); }
  .hl-body { padding: 16px 16px calc(28px + env(safe-area-inset-bottom, 0px)); }
  .hl-actions .hc-arrow { flex: 1 1 auto; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) { .hl-page .hl-strip__track { animation: none; } .hl-dialog::backdrop { backdrop-filter: none; } .hl-page .hl-d2__view img { transition: none; } }

/* ---------- comparison page ---------- */
.hl-lab { padding: 32px 0 80px; }
.hl-lab__in { width: min(100% - 40px, 1500px); margin-inline: auto; }
.hl-lab h1 { font-size: clamp(2rem, 1.5rem + 1.5vw, 2.8rem); letter-spacing: -.04em; }
.hl-lab__intro { margin-top: 10px; color: var(--ink-2); max-width: 80ch; }
.hl-lab__nav { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; padding: 12px 0; background: rgba(255, 255, 255, .94); }
.hl-lab__nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 80px; background: var(--subtle); color: var(--ink); font: 500 13px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.hl-lab__item { margin-top: 48px; scroll-margin-top: 80px; }
.hl-lab__meta { display: grid; gap: 8px; margin-bottom: 14px; }
@media (min-width: 900px) { .hl-lab__meta { grid-template-columns: 1fr auto; align-items: end; } }
.hl-lab__meta h2 { font-size: 1.6rem; letter-spacing: -.03em; }
.hl-lab__meta p { color: var(--ink-2); max-width: 80ch; }
.hl-lab__tools { display: flex; flex-wrap: wrap; gap: 8px; }
.hl-lab__tools a, .hl-lab__tools button { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--subtle-2); border-radius: 80px; background: #fff; color: var(--ink); font: 500 13px/1 var(--font); text-decoration: none; cursor: pointer; }
.hl-lab__tools button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.hl-lab__frame { display: flex; justify-content: center; padding: 12px; border-radius: 20px; background: var(--subtle); }
.hl-lab__frame iframe { display: block; width: 100%; height: min(900px, 86vh); border: 0; border-radius: 12px; background: #fff; transition: width .3s ease; }
