/* ==========================================================================
   Brand kits (brand-kits.html). Page styles only.
   Shared: tokens, base, nav, tino. Dark panels on this page: 0.
   The example kit is Casa Lume (an invented brand from the example films).
   ========================================================================== */

body { background: var(--surface); }

.bk-head { max-width: 760px; }
.bk-head > * + * { margin-top: var(--s-5); }
.bk-head-center { margin-inline: auto; text-align: center; }
.bk-head-center .intro { max-width: 36em; margin-inline: auto; }

/* Casa Lume palette, for the kit illustrations only */
.bk-hero, .bk-inside, .bk-make, .bk-travel {
  --cl-plaster: #EEE7DC;
  --cl-night:   #1E2230;
  --cl-dusk:    #D9A05B;
  --cl-stone:   #8A7F70;
  --cl-olive:   #6F7457;
}

/* ===================================================================== Hero */
.bk-hero { padding-top: clamp(40px, 5.5vw, 72px); padding-bottom: calc(var(--section-y) * 0.85); text-align: center; }
.bk-eyebrow {
  font-size: var(--t-17); line-height: 1.2; font-weight: var(--w-medium);
  letter-spacing: -0.01em; color: var(--ink-2);
}
.bk-h1 { margin-top: var(--s-4); }
.bk-sub {
  margin: 20px auto 0; max-width: 30em;
  font-size: var(--t-24); line-height: 1.36; letter-spacing: var(--tr-24);
  color: var(--ink-3); text-wrap: balance;
}
.bk-hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; margin-top: 32px; }
.bk-hero-actions .btn-link { font-size: var(--t-17); }
.bk-hero-note { margin-top: 16px; font-size: var(--t-14); color: var(--ink-3); }
.bk-stage { margin-top: clamp(48px, 5vw, 72px); text-align: left; }

/* --------------------------------- The Tino window, at Brand kits (light) */
.bw {
  --hair: var(--line);
  position: relative;
  display: grid; grid-template-columns: 216px minmax(0, 1fr);
  max-width: var(--max); margin-inline: auto;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 0 0 0.5px rgba(17, 17, 20, 0.16), 0 2px 6px rgba(17, 17, 20, 0.04), 0 24px 56px -12px rgba(17, 17, 20, 0.16);
  overflow: hidden;
  container: bw / inline-size;
  font-size: 13px; line-height: 1.45; letter-spacing: 0;
  color: var(--ink);
  user-select: none;
}
.bw-lights { display: inline-flex; gap: 8px; }
.bw-lights i { width: 12px; height: 12px; border-radius: 50%; background: #FF5F57; box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.12); }
.bw-lights i:nth-child(2) { background: #FEBC2E; }
.bw-lights i:nth-child(3) { background: #28C840; }

/* Sidebar: the places, Brand kits chosen (same as the Home window) */
.bs-side {
  display: flex; flex-direction: column;
  padding: 18px 10px 14px;
  background: #F4F4F6;
  border-right: 1px solid var(--hair);
}
.bs-side > .bw-lights { padding-left: 8px; margin-bottom: 26px; }
.bs-side svg, .bw-bar svg { display: block; flex: none; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.bs-nav { display: flex; flex-direction: column; gap: 1px; }
.bs-row { display: flex; align-items: center; gap: 10px; height: 28px; padding: 0 10px; border-radius: 7px; white-space: nowrap; }
.bs-row svg { width: 15px; height: 15px; color: var(--ink-2); }
.bs-row .sg-g { stroke: currentColor; stroke-width: 15px; }
.bs-row .sg-g .sg-dot { fill: currentColor; }
.bs-row em { margin-left: auto; font-style: normal; font-size: 11px; color: var(--ink-3); }
.bs-row.is-on { background: #E6E6EA; }
.bs-row.is-soon { color: #8A8A92; }
.bs-row.is-soon svg { color: #A1A1A8; }
.bs-h { margin: 18px 10px 6px; font-size: 11px; line-height: 14px; font-weight: var(--w-semibold); color: var(--ink-3); }
.bs-all { padding-left: 35px; color: var(--ink-3); }
.bs-foot { margin-top: auto; padding: 10px 0 0 10px; border-top: 1px solid var(--hair); font-size: 11px; line-height: 20px; color: var(--ink-3); }

/* Title bar: the wordmark, centred. Tino's home in this window. */
.bw-main { min-width: 0; display: flex; flex-direction: column; }
.bw-bar { position: relative; height: 52px; flex: none; border-bottom: 1px solid var(--hair); }
.bw-lights-bar { display: none; position: absolute; left: 16px; top: 20px; }
.bw-mark { position: absolute; left: 50%; top: 50%; height: 21px; transform: translate(-50%, -48%); color: var(--ink); }

/* The kit's own header, with Book / History on the right */
.bw-head { display: flex; align-items: center; gap: 14px; padding: 22px 0 6px; }
.bw-doc { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bw-doc b { font-size: 19px; line-height: 24px; font-weight: var(--w-semibold); letter-spacing: -0.015em; }
.bw-doc span { font-size: 12px; line-height: 16px; color: var(--ink-3); }
.bw-seg {
  margin-left: auto;
  display: inline-flex; height: 28px; padding: 2px; border-radius: 8px;
  background: var(--surface-3);
  font-size: 12px; font-weight: var(--w-medium); color: var(--ink-2);
}
.bw-seg span { display: inline-flex; align-items: center; padding: 0 12px; border-radius: 6px; }
.bw-seg .is-on { background: var(--surface); color: var(--ink); box-shadow: 0 0 0 0.5px rgba(17,17,20,0.12), 0 1px 2px rgba(17,17,20,0.08); }

.bw-body { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) 280px; }
.bw-book { padding: 8px 32px 28px; }
.bw-sec { padding: 22px 0 24px; }
.bw-sec + .bw-sec { border-top: 1px solid var(--line-2); }
.bw-label { font-size: 12px; line-height: 16px; font-weight: var(--w-medium); color: var(--ink-3); margin-bottom: 14px; }

/* Logo row */
.bw-logo-row { display: grid; grid-template-columns: 1.45fr 1fr 1fr; gap: 12px; }
.bw-tile { position: relative; margin: 0; }
.bw-tile > svg, .bw-tile > .bw-name, .bw-tile > .bw-sizes { position: relative; }
.bw-tile {
  height: 138px; border-radius: 10px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: var(--cl-plaster);
}
.bw-tile-rev { background: var(--cl-night); }
.bw-arch { width: auto; height: 50px; }
.bw-name { font-size: 10px; letter-spacing: 0.34em; margin-right: -0.34em; color: var(--cl-night); }
.bw-tile-rev .bw-name { color: var(--cl-plaster); }
.bw-sizes { display: flex; align-items: flex-end; gap: 18px; }
.bw-sizes svg { height: auto; }
.bw-tile figcaption {
  position: absolute; left: 0; top: calc(100% + 8px);
  font-size: 11px; color: var(--ink-3); white-space: nowrap;
}
.bw-logos { padding-bottom: 42px; }

/* Colours */
.bw-swatches { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.bw-swatches li { position: relative; display: flex; flex-direction: column; font-size: 12px; line-height: 15px; }
.bw-chip { position: relative; display: block; height: 62px; border-radius: 9px; margin-bottom: 9px; }
.bw-chip.is-light { box-shadow: inset 0 0 0 1px rgba(17,17,20,0.08); }
.bw-swatches b { font-weight: var(--w-semibold); }
.bw-swatches em { font-style: normal; font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-3); margin-top: 1px; }
.bw-swatches small { font-size: 11px; color: var(--ink-3); margin-top: 1px; }
.bw-swatches [data-tino-line="under"]::after { bottom: -8px; }

/* New things Tino adds: present from the start in screenshots and without JS,
   faded in when tino.js is about to add them. */
.bw .bw-new { transition: opacity 360ms var(--ease-out); }
.bw[data-tino-armed] .bw-new:not(.is-tino-done) { opacity: 0; }

/* Stops: the stop covers the new chip, so the dot lands at its centre (tino.js docks at 50% / 50%)
   and the chip's size is known to the label (container units). */
.bw-stop { position: absolute; inset: 0; container: bwchip / size; }
/* Presence label: under the swatch, left-aligned to it, so it stays inside the colour grid.
   50cqh is the chip's lower half; 70px clears the name, hex and role, and the 2px change line. */
.bw .bw-stop .tino-vehicle .tino-vehicle-label,
.bw .bw-stop .tino-vehicle[data-side="left"] .tino-vehicle-label {
  top: calc(50cqh + 70px); left: -50cqw; right: auto;
  transform: translateY(-4px);
}
.bw .bw-stop .tino-vehicle.is-labelled .tino-vehicle-label { transform: none; }
.bw-colours { padding-bottom: 56px; }

/* Type */
.bw-type-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: end; }
.bw-type-a { font-size: 30px; line-height: 1.1; letter-spacing: 0.32em; font-weight: 400; color: var(--cl-night); white-space: nowrap; }
.bw-type-b { font-size: 15px; line-height: 22px; color: var(--cl-night); max-width: 24em; }
.bw-type-meta { margin-top: 8px; font-size: 11px; color: var(--ink-3); }
.bw-type { padding-bottom: 6px; }

/* Tino column */
.bw-tino { display: flex; flex-direction: column; border-left: 1px solid var(--hair); background: #FCFCFD; }
.bw-tino-head {
  padding: 16px 18px 12px; border-bottom: 1px solid var(--line-2);
  max-height: 80px; overflow: hidden;
  transition: max-height 420ms var(--ease-out), padding 420ms var(--ease-out), opacity 200ms var(--ease-out), border-color 200ms;
}
/* The run is over: the progress row folds away; only the pink marks of the change remain. */
.bw-tino.is-idle .bw-tino-head { max-height: 0; padding-block: 0; opacity: 0; border-bottom-color: transparent; }
@media (prefers-reduced-motion: reduce) { .bw-tino-head { transition: none; } }
.is-shot .bw-tino-head { transition: none; }
.bw-progress { margin-top: 2px; }
.bw-status { display: flex; align-items: baseline; gap: 6px; margin-top: 10px; font-size: 12px; color: var(--ink-2); }
.bw-count { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); }
.bw-stopbtn { margin-left: auto; font-weight: var(--w-semibold); color: var(--ink); }
.bw-chat { flex: 1; padding: 16px 18px; display: flex; flex-direction: column; gap: 14px; font-size: 12.5px; line-height: 1.5; }
.bw-you { align-self: flex-end; max-width: 88%; padding: 8px 12px; border-radius: 12px; background: var(--surface-2); color: var(--ink); }
.bw-msg b { display: block; font-weight: var(--w-semibold); margin-bottom: 2px; }
.bw-msg p { color: var(--ink-2); }
.bw[data-tino-armed] .bw-reply:not(.is-tino-done) { opacity: 0; transform: translateY(6px); }
.bw-reply { transition: opacity 320ms var(--ease-out), transform 420ms var(--ease-out); }
.bw-changes { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); }
.bw-row { position: relative; display: flex; align-items: baseline; gap: 6px; padding: 9px 12px 9px 14px; font-size: 12px; color: var(--ink-3); }
.bw-row + .bw-row { border-top: 1px solid var(--line-2); }
.bw-row b { color: var(--ink); font-weight: var(--w-semibold); }
.bw-row span { margin-left: auto; font-weight: var(--w-semibold); color: var(--ink); }
.bw-ask {
  display: flex; align-items: center; justify-content: space-between;
  margin: 0 14px 14px; height: 40px; padding: 0 12px;
  border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); background: var(--surface);
  font-size: 12.5px; color: var(--ink-3);
}
.bw-ask svg { width: 15px; height: 15px; color: var(--ink-3); }

/* Narrower window: the sidebar folds away (as in the Home window), lights move to the bar */
@container bw (max-width: 1000px) {
  /* (a container can't restyle itself: the main area spans both tracks instead) */
  .bs-side { display: none; }
  .bw-main { grid-column: 1 / -1; }
  .bw-lights-bar { display: inline-flex; }
}
/* Narrow window: Tino's column goes under the book */
@container bw (max-width: 760px) {
  .bw-body { grid-template-columns: 1fr; }
  .bw-tino { border-left: 0; border-top: 1px solid var(--hair); }
  .bw-chat > .bw-you:first-child, .bw-chat > .bw-msg:nth-child(2) { display: none; }
}
@container bw (max-width: 560px) {
  /* The Olive chip is the last of five narrow columns: the label right-aligns to it instead,
     still under the swatch (role line only here, so a shorter drop). */
  .bw .bw-stop .tino-vehicle .tino-vehicle-label,
  .bw .bw-stop .tino-vehicle[data-side="left"] .tino-vehicle-label { top: calc(50cqh + 54px); left: auto; right: -50cqw; }
  .bw-book { padding: 4px 16px 16px; }
  .bw-logo-row { grid-template-columns: 1fr 1fr; gap: 8px; }
  .bw-tile { height: 112px; }
  .bw-arch { height: 40px; }
  .bw-tile-small { display: none; }
  .bw-swatches { gap: 6px; }
  .bw-chip { height: 46px; border-radius: 7px; }
  .bw-swatches li { font-size: 11px; }
  .bw-swatches em { display: none; }
  .bw-swatches small { font-size: 10px; }
  .bw-type-row { grid-template-columns: 1fr; gap: 14px; }
  .bw-type-a { font-size: 22px; }
  .bw-type-b { font-size: 13px; line-height: 19px; }
  .bw-doc span { display: none; }
  .bw-chat { padding: 14px 14px 12px; }
  .bw-tino-head { padding: 14px 14px 10px; }
  .bw-ask { margin: 0 12px 12px; }
}

/* ============================================================ What's inside */
.bk-parts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(40px, 5vw, 64px); }
.bk-art {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-xl);
  background: var(--surface-2);
  display: grid; place-items: center;
  overflow: hidden;
}
.bk-part-h { margin-top: 24px; font-size: var(--t-24); line-height: var(--lh-24); letter-spacing: var(--tr-24); font-weight: var(--w-semibold); }
.bk-part-p { margin-top: 8px; color: var(--ink-2); max-width: 22em; }

.bk-roles {
  width: 62%; aspect-ratio: 16 / 10;
  border-radius: 10px;
  background: var(--cl-plaster);
  padding: 9% 9%;
  display: flex; flex-direction: column; justify-content: center;
  box-shadow: 0 1px 2px rgba(17,17,20,0.06), 0 10px 26px rgba(17,17,20,0.07);
  transform: translateY(-14px);
}
.bk-roles-title { font-size: clamp(11px, 1.3vw, 16px); letter-spacing: 0.32em; color: var(--cl-night); white-space: nowrap; }
.bk-roles-rule { display: block; width: 34%; height: 3px; border-radius: 2px; background: var(--cl-dusk); margin: 9% 0 8%; }
.bk-roles-body { font-size: clamp(10px, 1vw, 12.5px); line-height: 1.4; color: var(--cl-night); opacity: 0.8; }
.bk-role-key { position: absolute; left: 0; right: 0; bottom: 20px; display: flex; justify-content: center; gap: 18px; font-size: 12px; color: var(--ink-3); }
.bk-role-key li { display: inline-flex; align-items: center; gap: 6px; }
.bk-role-key span { width: 10px; height: 10px; border-radius: 3px; }
.bk-role-key span.is-light { box-shadow: inset 0 0 0 1px rgba(17,17,20,0.14); }

.bk-spec { width: 74%; }
.bk-spec-a { font-size: clamp(18px, 2.3vw, 30px); line-height: 1; letter-spacing: 0.32em; color: var(--cl-night); white-space: nowrap; }
.bk-spec-b { font-size: clamp(12px, 1.15vw, 15px); line-height: 1.45; color: var(--cl-night); margin-top: 22px; }
.bk-spec-k { margin-top: 8px; font-size: 11px; color: var(--ink-3); }

.bk-art-logo { grid-template-columns: 1fr 1fr; gap: 0; padding: 0; place-items: stretch; }
.bk-art-logo > span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.bk-art-logo b { font-weight: 400; font-size: 10px; letter-spacing: 0.34em; margin-right: -0.34em; color: var(--cl-night); }
.bk-logo-d b { color: var(--cl-plaster); }
.bk-logo-l { background: var(--cl-plaster); }
.bk-logo-d { background: var(--cl-night); }
.bk-art-logo svg { width: clamp(44px, 5.4vw, 72px); height: auto; }

.bk-feel {
  margin-top: clamp(56px, 7vw, 96px); padding-top: 28px; border-top: 1px solid var(--line);
}
.bk-feel-k { font-size: var(--t-14); font-weight: var(--w-medium); color: var(--ink-3); margin-bottom: 18px; }
.bk-feel-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; }
.bk-feel-list dt { font-weight: var(--w-semibold); }
.bk-feel-list dd { margin: 4px 0 0; color: var(--ink-3); max-width: 19em; }

/* ============================================================ Make by asking */
.bk-make-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 72px; align-items: center; }
.bk-make-copy > * + * { margin-top: var(--s-5); }
.bk-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 36px !important; max-width: 25em; }
.bk-inputs li {
  display: flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 14px;
  border-radius: 12px; background: var(--surface);
  box-shadow: 0 0 0 1px var(--line);
  font-size: 15px; color: var(--ink);
}
.bk-inputs svg { width: 20px; height: 20px; color: var(--ink-3); flex: none; }

.bk-history {
  background: var(--surface); border-radius: var(--r-xl);
  box-shadow: var(--shadow-3);
  padding: 26px 28px 22px;
}
.bk-history-head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line-2); }
.bk-history-mark { width: 30px; height: 38px; }
.bk-history-name { font-size: var(--t-17); font-weight: var(--w-semibold); line-height: 1.2; }
.bk-history-kind { font-size: 13px; color: var(--ink-3); }
.bk-versions li {
  display: grid; grid-template-columns: 86px minmax(0, 1fr) auto 52px 72px; align-items: center; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--line-2);
  font-size: 14px;
}
.bk-v-n { font-weight: var(--w-semibold); }
.bk-v-what { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-v-dots { display: inline-flex; }
.bk-v-dots i { width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--surface); }
.bk-v-dots i + i { margin-left: -3px; }
.bk-v-dots i.is-light { box-shadow: 0 0 0 1.5px var(--surface), inset 0 0 0 1px rgba(17,17,20,0.14); }
.bk-v-when { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); text-align: right; }
.bk-v-restore {
  justify-self: end;
  display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: var(--r-pill);
  font-size: 12px; font-weight: var(--w-medium); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.bk-v-restore.is-cur { box-shadow: none; color: var(--ink-3); padding-right: 0; }
.bk-history figcaption { margin-top: 16px; font-size: 13px; color: var(--ink-3); }

/* ================================================================ Travels */
.bk-app { margin-top: clamp(64px, 8vw, 112px); }
.bk-app + .bk-app { margin-top: clamp(80px, 10vw, 144px); }
.bk-app-copy {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 16px 64px; align-items: end;
}
.bk-app-copy .eyebrow { grid-column: 1 / -1; }
.bk-app-copy .t-32 { max-width: 16em; }
.bk-app-p { color: var(--ink-2); max-width: 31em; }
.bk-app-copy .btn-link { grid-column: 2; justify-self: start; margin-top: -4px; }
.bk-app-copy > div { min-width: 0; }

.bk-coming { margin-top: clamp(96px, 11vw, 160px); }
.bk-coming-k { font-size: var(--t-24); line-height: var(--lh-24); letter-spacing: var(--tr-24); font-weight: var(--w-semibold); }
.bk-coming-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.bk-card { display: flex; flex-direction: column; }
.bk-card-art {
  position: relative; aspect-ratio: 16 / 9; margin: 0;
  border-radius: var(--r-xl); background: var(--surface-2);
  display: grid; place-items: center; overflow: hidden;
}
.bk-card-copy { padding: 22px 0 0; }
.bk-card-name { display: flex; align-items: center; gap: 8px; font-size: var(--t-17); font-weight: var(--w-semibold); }
.bk-card-name img { width: 20px; height: 20px; }
.bk-card-name .badge { margin-left: 2px; }
.bk-card-p { margin-top: 8px; color: var(--ink-2); max-width: 24em; }
.bk-card-name a { color: inherit; border-radius: 3px; }
.bk-card-name a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
.bk-card-cap { margin-top: 10px; font-size: 12px; color: var(--ink-3); }

/* Sound */
.bk-sound { place-items: center; }
.bk-sound > * { width: 76%; }
.bk-wave { position: absolute; top: 16%; left: 12%; height: 18%; }
.bk-wave rect { fill: var(--cl-night); }
.bk-sound-list { margin-top: 26%; font-size: 13px; }
.bk-sound-list div { display: grid; grid-template-columns: 64px 1fr; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); }
.bk-sound-list div:first-child { border-top: 0; }
.bk-sound-list dt { color: var(--ink-3); }
.bk-sound-list dd { margin: 0; color: var(--ink); }

/* Marks */
.bk-marks { grid-template-columns: auto auto; gap: 28px; align-content: center; justify-content: center; }
.bk-mark-big { display: grid; place-items: center; width: 132px; aspect-ratio: 1; border-radius: 22px; background: var(--cl-plaster); box-shadow: 0 1px 2px rgba(17,17,20,0.06), 0 10px 26px rgba(17,17,20,0.07); }
.bk-mark-big svg { height: 56%; width: auto; }
.bk-icons { display: grid; gap: 10px; }
.bk-icons svg { width: 38px; height: 38px; }

/* ============================================================ The trip
   One kit, three things made in it. The outputs share one height: each grows
   by its aspect ratio. js/brand-kits.js sends the kit's swatches down to the
   chips under each output when the row comes into view. */
.bk-trip { position: relative; margin-top: clamp(48px, 6vw, 80px); }
.bk-trip-kit { width: min(100%, 700px); margin: 0 auto; }
.bk-trip-kit .uc { max-width: none; }
.bk-trip-kit .uc-sw { width: 56px; }
.bk-trip-kit .uc { box-shadow: 0 0 0 0.5px rgba(17, 17, 20, 0.10), 0 2px 6px rgba(17, 17, 20, 0.04), 0 18px 48px rgba(17, 17, 20, 0.08); }
.bk-outs { display: flex; gap: 24px; margin-top: clamp(48px, 6vw, 72px); }
.bk-out { flex: var(--ar) 1 0; min-width: 0; }
.bk-out-media {
  position: relative; aspect-ratio: var(--ar); overflow: hidden;
  border-radius: var(--r-md); background: var(--surface-2);
  box-shadow: 0 0 0 0.5px rgba(17, 17, 20, 0.10), 0 1px 2px rgba(17, 17, 20, 0.04), 0 14px 36px rgba(17, 17, 20, 0.10);
}
.bk-out-media > .film, .bk-out-media > .sl, .bk-out-media > .bk-still { position: absolute; inset: 0; width: 100%; height: 100%; }
.bk-out-cap { padding-top: 16px; }
.bk-out-k { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; font-size: 14px; font-weight: var(--w-semibold); color: var(--ink); }
.bk-out-k img, .bk-out-k svg { width: 18px; height: 18px; flex: none; color: var(--ink); }
.bk-out-k img { filter: drop-shadow(0 0 0.5px rgba(17,17,20,0.28)); }
.bk-out-k span { font-weight: var(--w-regular); color: var(--ink-3); }
.bk-uses { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.bk-use {
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 10px 0 6px; border-radius: var(--r-pill);
  background: var(--surface-2);
  font-size: 12px; line-height: 1; color: var(--ink-2); white-space: nowrap;
  max-width: 100%; min-width: 0; overflow: hidden; text-overflow: ellipsis;
}
.bk-use i, .bk-use svg { flex: none; }
.bk-use i { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(17, 17, 20, 0.12); }
.bk-use.is-type { padding-left: 10px; font-family: "Hanken Grotesk", var(--font); font-size: 12.5px; color: var(--ink); }
.bk-use.is-logo svg { width: 11px; height: 14px; }
.bk-use-n { margin-left: -2px; }
.bk-trip.is-armed .bk-use { opacity: 0; transform: scale(0.8); }
.bk-trip .bk-use { transition: opacity 240ms var(--ease), transform 420ms var(--spring, var(--ease-spring)); }
.bk-trip.is-armed .bk-use.is-in { opacity: 1; transform: none; }
.bk-fly {
  position: absolute; left: 0; top: 0; z-index: 3;
  width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(17, 17, 20, 0.12), 0 2px 6px rgba(17, 17, 20, 0.16);
  pointer-events: none; will-change: transform, opacity;
}
.bk-fly.is-type { width: auto; height: auto; margin: 0; padding: 3px 7px; border-radius: 6px; background: #fff; font: 500 12px/1 "Hanken Grotesk", var(--font); color: var(--ink); white-space: nowrap; }

/* The still: one of Tino's stills from the film, set in the kit */
.bk-still { overflow: hidden; background: #2E2924; container-type: inline-size; }
.bk-still img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bk-still-top { position: absolute; left: 0; right: 0; top: 7%; display: flex; flex-direction: column; align-items: center; gap: 6cqw; }
.bk-still-top svg { width: 9cqw; height: auto; }
.bk-still-top b { font: 300 7.4cqw/1 "Hanken Grotesk", var(--font); letter-spacing: 0.32em; margin-right: -0.32em; color: #1E2230; }
.bk-still-foot { position: absolute; left: 0; right: 0; bottom: 7%; text-align: center; font: 500 3.6cqw/1.2 "Hanken Grotesk", var(--font); letter-spacing: 0.16em; text-transform: uppercase; color: #EEE7DC; }

/* The studios: live windows from the UI kit (css/ui.css) */
.bk-app-stage { margin-top: 36px; }
.bk-app-stage .ui { border-radius: 14px; }

/* A slide in the kit: the energy chart, 640 x 360 like every .sl (js/brand-kits.js fills it) */
.sl[data-bk-slide] { background: #EEE7DC; }

/* ================================================================ Closing */
.bk-close { padding-block: calc(var(--section-y) * 1.1); }
.bk-close-actions { margin-top: 36px; }
.bk-close-note { margin-top: 18px; font-size: 14px; color: var(--ink-3); }

/* ============================================================== Responsive */
@media (max-width: 1068px) {
  .bk-make-grid { gap: 40px 48px; }
  .bk-versions li { grid-template-columns: 78px minmax(0, 1fr) auto 72px; }
  .bk-versions .bk-v-when { display: none; }
  .bk-marks { gap: 20px; }
  .bk-mark-big { width: 104px; border-radius: 18px; }
  .bk-icons svg { width: 30px; height: 30px; }
  .bk-sound-list { font-size: 12px; }
}
@media (max-width: 900px) {
  .bk-make-grid { grid-template-columns: 1fr; }
  .bk-parts { grid-template-columns: 1fr 1fr; }
  .bk-parts > li:last-child { grid-column: 1 / -1; }
  .bk-parts > li:last-child .bk-art { aspect-ratio: 16 / 7; }
  .bk-app-copy { grid-template-columns: 1fr; }
  .bk-app-copy .btn-link { grid-column: 1; }
}
@media (max-width: 733px) {
  .bk-hero { padding-top: 40px; }
  .bk-hero-actions { flex-direction: column; gap: 18px; }
  .bk-outs { flex-wrap: wrap; gap: 28px 12px; }
  .bk-out-film { flex-basis: 100%; }
  .bk-out-deck { flex: 1.7778 1 0; }
  .bk-out-still { flex: 0.8 1 0; }
  .bk-out-deck .bk-out-k span, .bk-out-still .bk-out-k span { display: none; }
  .bk-out-media { border-radius: var(--r-sm); }
  .bk-use { height: 24px; font-size: 11px; }
  .bk-out-still .bk-use-n { display: none; }
  .bk-app-stage { margin-top: 24px; }
  .bk-app-stage .ui { border-radius: 10px; }
  .bk-sub { font-size: 19px; }
  .bk-parts, .bk-coming-grid { grid-template-columns: 1fr; gap: 40px; }
  .bk-parts > li:last-child .bk-art { aspect-ratio: 4 / 3; }
  .bk-coming-grid > li .bk-card-art { aspect-ratio: 4 / 3; }
  .bk-art, .bk-card-art { border-radius: var(--r-lg); }
  .bk-part-h { margin-top: 18px; }
  .bk-roles-title { font-size: 14px; }
  .bk-roles-body { font-size: 12px; }
  .bk-spec-a { font-size: 22px; }
  .bk-spec-b { font-size: 14px; }
  .bk-feel-list { grid-template-columns: 1fr; gap: 18px; }
  .bk-inputs { max-width: none; }
  .bk-inputs li { font-size: 14px; height: 46px; padding: 0 12px; }
  .bk-history { padding: 20px 18px 18px; border-radius: var(--r-lg); }
  .bk-versions li { grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: 4px 12px; padding: 12px 0; }
  .bk-v-n { grid-column: 1; grid-row: 1; }
  .bk-v-what { grid-column: 1; grid-row: 2; font-size: 13px; white-space: normal; }
  .bk-v-dots { grid-column: 2; grid-row: 1; justify-self: end; }
  .bk-v-restore { grid-column: 2; grid-row: 2; }
}

@media (prefers-reduced-motion: reduce) {
  .bk-trip .bk-use { transition: none; }
}
