html { scrollbar-gutter: stable; scroll-padding-top: 82px; }
.bb-skip { position: fixed; z-index: 60; top: 10px; left: 14px; padding: 10px 14px; background: #fff; color: #151117; transform: translateY(-150%); }
.bb-skip:focus { transform: none; }
.bitbit-case {
  --night: #111018;
  --deep: #0c0b10;
  --plum: #252030;
  --paper: #f1ece6;
  --ink: #1e191f;
  --soft: #bcb5c4;
  --pink: #c51064;
  --glow: #ff6cae;
  --lime: #c1ff00;
  --rule: #ffffff26;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --gutter: clamp(22px, 6vw, 110px);
  --nav: 64px;
  color: #f9f4fc;
  background: var(--night);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
}
.bitbit-case .project-nav { height: var(--nav); background: #111018f5; border-color: var(--rule); color: #f9f4fc; }
.bitbit-case .project-nav a:hover { color: var(--glow); }
.bitbit-case :focus-visible { outline: 2px solid var(--glow); outline-offset: 4px; }
.bitbit-case .bb-light :focus-visible { outline-color: #a31050; }
.bitbit-case .project-footer { background: var(--deep); border-top: 1px solid var(--rule); }
.bitbit-case .project-footer-content, .bitbit-case .project-footer a { color: #bab3c1; }
.bitbit-case button, .bitbit-case select { font: inherit; }
.bitbit-case button:not([disabled]) { cursor: pointer; }
.bitbit-case figure { margin: 0; }
.bitbit-case img { display: block; max-width: 100%; }
.bitbit-case [hidden] { display: none !important; }

.bb-wrap { width: min(calc(100% - var(--gutter) * 2), 1400px); margin-inline: auto; }
.bb-section { padding-block: clamp(73px, 10vw, 158px); }
.bb-section h2 { margin: 0; font-size: clamp(39px, 5.9vw, 92px); letter-spacing: -.055em; line-height: 1.09; font-weight: 720; text-wrap: balance; }
.bb-kicker { margin: 0; display: flex; align-items: center; gap: 10px; color: var(--glow); font: 600 clamp(10px, 1vw, 13px)/1.5 var(--mono); letter-spacing: .055em; }
.bb-lead { margin: 19px 0 0; max-width: 40em; color: var(--soft); font-size: clamp(15px, 1.4vw, 20px); line-height: 1.85; }
.bb-intro-grid { display: grid; grid-template-columns: minmax(158px, .38fr) 1fr; align-items: start; gap: clamp(18px, 4.5vw, 68px); margin-bottom: clamp(38px, 6vw, 84px); }
.bb-intro-grid > .bb-kicker { margin-top: .9em; }
.bb-section-heading { max-width: 880px; margin-bottom: clamp(28px, 6vw, 64px); }
.bb-section-heading .bb-kicker, .bb-outcome .bb-kicker { margin-bottom: 18px; }
.bb-light { color: var(--ink); background: var(--paper); --soft: #5e525e; --glow: #a6094b; --rule: #21102336; }














.bb-breakdown { background: var(--deep); padding-bottom: clamp(62px,8vw,120px); }
.bb-scene-story.bb-scrub { height: calc(100svh + clamp(280px, 74vh, 780px)); }
.bb-scene-story.bb-scrub .bb-scene-sticky { position: sticky; top: calc(var(--nav) + 22px); }
.bb-scene-canvas { position: relative; isolation: isolate; aspect-ratio: 16 / 9; overflow: clip; border: 1px solid #634356; background: #171322; }
.bb-scene-sticky { width: min(100%, calc((100svh - 166px) * 1.77778)); margin-inline: auto; }
.bb-room, .bb-layer { display: block; position: absolute; image-rendering: pixelated; height: auto; }
.bb-room { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bb-layer { left: calc(100% * var(--x)); top: calc(100% * var(--y)); width: calc(100% * var(--w)); max-width: none; }
.bb-scene-steps { list-style: none; display: grid; grid-template-columns: repeat(3,1fr); padding: 0; margin: 0; border-bottom: 1px solid var(--rule); }
.bb-scene-steps li { padding: clamp(10px,2.1vw,24px) 6px; font-size: clamp(11px,1.3vw,16px); color: #bdafc1; border-top: 2px solid transparent; }
.bb-scene-steps li[aria-current] { color: #fff; border-color: var(--lime); }
.bb-scene-steps span { color: var(--glow); font: 12px var(--mono); margin-right: 5px; }

.bb-tavern { background: #19131e; }
.bb-demo { border: 1px solid #6c4f67; box-shadow: 7px 7px #0d0a11; }
.bb-demo-view { position: relative; aspect-ratio: 16/9; background: #201927; }
.bb-demo-view > img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.bb-hotspot { position: absolute; left: var(--hot-x); top: var(--hot-y); transform: translate(-50%,-50%); background: none; border: 0; padding: 5px; display: grid; place-items: center; width: 44px; height: 44px; overflow: visible; }
.bb-target { display: block; width: 19px; height: 19px; transform: rotate(45deg); background: #1e1025be; border: 2px solid var(--lime); box-shadow: 0 0 0 4px #17131c8a; transition: background-color .2s, transform .2s; }
.bb-hot-label { position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translate(-50%,3px); pointer-events: none; white-space: nowrap; color: #171023; background: #ffe8bd; border: 2px solid #20152a; box-shadow: 3px 3px #0009; padding: 7px 9px; font-size: 12px; opacity: 0; transition: opacity .18s, transform .18s; }
.bb-hotspot[data-window="doge"] .bb-hot-label { top: calc(100% + 4px); bottom: auto; }
.bb-hotspot:is(:hover,:focus-visible) .bb-hot-label { opacity: 1; transform: translate(-50%,0); }
.bb-hotspot:is(:hover,:focus-visible) .bb-target { background: var(--lime); transform: rotate(45deg) scale(1.11); }
.bb-demo-dock { display: flex; align-items: center; flex-wrap: wrap; padding: 8px; gap: 5px; color: #f9f2fc; background: #17131d; border-top: 1px solid #55445c; }
.bb-demo-dock button, .bb-window-nav button { border: 1px solid transparent; color: inherit; background: transparent; padding: 10px 14px; font-size: 13px; }
.bb-demo-dock button:hover, .bb-window-nav button:hover { border-color: #ff6cae60; color: var(--glow); }
.bb-demo-dock button:last-child { margin-left: auto; }

.bb-characters { background: var(--paper); }
.bb-character { display: grid; grid-template-columns: .65fr 1fr; min-height: min(52vw,480px); position: relative; border-top: 1px solid #d6bdd84d; overflow: hidden; isolation: isolate; }
.bb-character:last-child { border-bottom: 1px solid #d6bdd84d; }
.bb-character-caption { display: flex; flex-direction: column; justify-content: center; padding-block: 30px; position: relative; z-index: 1; }
.bb-character h3 { margin: 7px 0; font-size: clamp(65px, 10.3vw, 161px); line-height: .9; letter-spacing: -.09em; }
.bb-character-caption > :last-child { margin: 14px 0 0; color: var(--soft); font-size: clamp(13px,1.45vw,18px); line-height: 1.65; }
.bb-character-doge h3 { color: #ffc397; }
.bb-character-whale h3 { color: #ccc8ff; }
.bb-character-stage { position: relative; align-self: stretch; display: block; min-width: 0; min-height: min(39vw,400px); border: 0; padding: 0; background: transparent; overflow: hidden; }
.bb-character-stage img, .bb-character-stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; }
.bb-character-doge .bb-character-stage :is(img,video) { top: 9%; height: 92%; }
.bb-character-whale .bb-character-stage :is(img,video) { top: -37%; height: 174%; }
.bb-character-stage :is(img, video) { transition: opacity .18s ease-out; }
.bb-character-stage video { opacity: 0; }
.bb-character-stage.bb-playing video { opacity: 1; }
.bb-character-stage.bb-playing img { opacity: 0; }
.bb-character-action { position: absolute; right: 13px; bottom: 15px; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #d6bdd865; background: #130e17; color: #f6eefc; font-size: 13px; }
.bb-character-stage:hover .bb-character-action { color: var(--lime); border-color: var(--lime); }












.bb-art-button { position: relative; display: block; width: 100%; background: transparent; border: 0; color: inherit; text-align: left; padding: 0; }
.bb-shot-view { position: relative; display: block; aspect-ratio: 16/10; width: 100%; overflow: hidden; background: #231e2b; }
.bb-shot-view img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.bb-expand { position: absolute; right: 11px; bottom: 11px; background: #151219f0; color: #fff; border: 1px solid #ffffff52; padding: 7px 9px; font-size: 12px; }









.bb-system { background: #201a29; }
.bb-system-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; background: #ffffff32; border: 1px solid #ffffff32; }
.bb-system-grid > * { background: #19141f; min-width: 0; padding: clamp(17px,3.5vw,50px); }
.bb-system-brand { display: grid; align-content: center; gap: 15px; }
.bb-system-brand button { background: #080709; min-height: 145px; display: grid; place-items: center; padding: 15px; }
.bb-system-brand figcaption { display: flex; justify-content: space-between; color: var(--soft); font-size: 13px; }
.bb-system-palette ul { display: flex; list-style: none; margin: 20px 0 0; padding: 0; gap: clamp(4px,1.25vw,14px); }
.bb-system-palette li { flex: 1; min-width: 0; }
.bb-system-palette li span { display: block; background: var(--sample); border: 1px solid #ffffff36; width: 100%; aspect-ratio: 1.2; }
.bb-system-palette code { display: block; margin-top: 6px; font: clamp(9px,1vw,13px) var(--mono); }
.bb-system-type > p:not(.bb-kicker) { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin: 13px 0 0; padding-bottom: 9px; border-bottom: 1px solid var(--rule); font-family: "Source Han Sans SC", "Source Han Sans CN", "PingFang SC", sans-serif; }
.bb-type-title { font-size: 20px; font-weight: 700; }
.bb-type-byline { font-size: 16px; font-weight: 500; }
.bb-type-meta { font-size: 14px; }
.bb-system-type small { color: var(--soft); font: 12px var(--mono); }
.bb-system-refs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.bb-system-refs button { display: grid; align-content: start; gap: 6px; font-size: 12px; }
.bb-system-refs img { width: 100%; height: 80px; object-fit: contain; padding: 4px; background: #282331; }
.bb-system-refs button:hover { color: var(--glow); }

.bb-gallery-tools { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: 13px; border-top: 1px solid var(--rule); padding-top: 13px; }
.bb-category-filters, .bb-selects { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.bb-selects { gap: 16px; }
.bb-selects label { display: flex; align-items: center; gap: 5px; font-size: 12px; }
.bb-selects select { max-width: 110px; background: transparent; color: var(--ink); border: 1px solid var(--rule); min-height: 36px; padding: 4px 6px; }
.bb-category-filters button { border: 1px solid var(--rule); background: transparent; color: inherit; min-height: 36px; padding: 7px 11px; font-size: 12px; }
.bb-category-filters button:hover { background: #eadde5; }
.bb-category-filters button[aria-pressed="true"] { background: #211722; border-color: #211722; color: #fff; }
.bb-gallery-meta { display: flex; justify-content: space-between; align-items: center; margin: 15px 0 10px; color: var(--soft); font-size: 13px; }
.bb-gallery-arrows { display: flex; gap: 7px; }
.bb-gallery-arrows button { width: 38px; height: 35px; background: none; border: 1px solid var(--rule); color: var(--ink); }
.bb-gallery-arrows button:hover { background: #e4d8e0; }
.bb-gallery-arrows button:disabled { opacity: .38; }
.bb-gallery-rail { display: flex; gap: 13px; overflow-x: auto; overscroll-behavior-inline: contain; padding: 4px 4px 12px; scroll-snap-type: x proximity; }
.bb-gallery-card { flex: 0 0 min(44vw, 545px); scroll-snap-align: start; align-self: start; overflow: hidden; border: 1px solid var(--rule); padding: 0; background: #e9e2e7; color: var(--ink); text-align: left; }
.bb-gallery-card .bb-shot-view { aspect-ratio: 16/10; }
.bb-gallery-card[data-mobile] .bb-shot-view img { object-fit: contain; }
.bb-gallery-card .bb-shot-view img { transition: transform .24s ease-out; transform-origin: 50% 0; }
.bb-gallery-card:hover .bb-shot-view img { transform: scale(1.025); }
.bb-gallery-caption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 7px; padding: 11px 12px; }
.bb-gallery-caption span { font-size: 12px; color: #615565; }
.bb-gallery-rail > p { margin: 10px 0; color: var(--soft); }

.bb-outcome { background: var(--deep); }
.bb-outcome h2 { max-width: 970px; }
.bb-outcome-grid { display: grid; grid-template-columns: repeat(3,1fr); border-block: 1px solid var(--rule); margin-block: 42px 23px; }
.bb-outcome-grid > div { min-width: 0; padding: 18px 15px 22px; border-right: 1px solid var(--rule); }
.bb-outcome-grid > div:first-child { padding-left: 0; }
.bb-outcome-grid > div:last-child { border: 0; }
.bb-outcome-grid h3 { font-size: clamp(17px,2.2vw,31px); margin: 0 0 8px; }
.bb-outcome-grid p { color: var(--soft); margin: 0; line-height: 1.7; font-size: 14px; }
.bb-outcome-links { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; }
.bb-outline { padding: 10px 14px; min-height: 42px; border: 1px solid #f79cc580; background: #241523; color: #fff1f8; font-size: 13px !important; }
.bb-outcome-links a { color: #f3bfd6; text-underline-offset: 4px; font-size: 13px; }

html:has(.bb-window[open]) { overflow: hidden; }
.bb-window { width: min(1020px,calc(100% - 32px)); max-height: calc(100dvh - 42px); margin: auto; padding: 4px; background: #332a3e; color: #f7eef9; border: 2px solid #a58ba9; box-shadow: 2px 2px 0 #191222, 8px 12px 0 #09070a75; }
.bb-window[open] { animation: bb-open .22s cubic-bezier(.2,.7,.25,1) both; }
.bb-window.bb-closing { animation: bb-close .16s ease-in both; }
.bb-window::backdrop { background: #0e0915d6; }
@keyframes bb-open { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes bb-close { to { opacity: 0; transform: translateY(8px) scale(.985); } }
.bb-window-chrome { display: grid; grid-template-rows: auto auto minmax(0,1fr) auto; max-height: calc(100dvh - 54px); }
.bb-window-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: #261b72; padding: 6px 6px 6px 12px; border: 1px solid #7d71bf; }
.bb-window-bar h2 { margin: 0; font: 650 14px/1.35 var(--mono); color: #fff; }
.bb-window-bar button { padding: 0; width: 34px; height: 32px; flex: 0 0 auto; font: 700 25px/1 var(--mono); border: 1px solid #fdbcdc; background: #eed6e4; color: #2c162b; }
.bb-window-bar button:hover { background: #fff1f6; }
.bb-window-nav { display: flex; flex-wrap: wrap; padding: 4px 2px; background: #251d2e; border-bottom: 1px solid #524056; }
.bb-window-nav button[aria-pressed="true"] { color: var(--lime); border-color: #c1ff0055; }
.bb-window-content { overflow: auto; overscroll-behavior: contain; min-height: 0; background: #15111c; padding: clamp(10px,2.5vw,28px); }
.bb-window-content.bb-switching { animation: bb-window-switch .2s ease-out both; }
@keyframes bb-window-switch { from { opacity: .5; transform: translateY(3px); } }
.bb-window-content > p:first-child { margin-top: 0; }
.bb-window-content p { color: #e2d8e6; line-height: 1.7; font-size: 14px; max-width: 70ch; }
.bb-window-content > img { width: auto; height: auto; max-width: 100%; max-height: none; margin: 0 auto; }
.bb-window-content img.bb-tall { width: min(100%,430px); }
.bb-window-content.bb-zoomed > img { width: auto; max-width: none; margin-left: 0; }
.bb-window-status { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; padding: 6px 8px; min-height: 33px; color: #e3cde0; font: 11px/1.4 var(--mono); border: 1px solid #6d5c73; }
.bb-window-status button { color: #f5e8f1; background: #25182a; border: 1px solid #a38399; padding: 4px 8px; }
.bb-window-status a, .bb-window-content a { color: #ff9fcb; text-underline-offset: 3px; }
.bb-dialog-character { margin: 0 0 12px; width: 100%; height: min(34vh,270px); background: #20172a; overflow: hidden; }
.bb-dialog-character video, .bb-dialog-character img { display: block; width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; }
.bb-dialog-character[data-window-character="whale"] :is(video,img) { height: 155%; transform: translateY(-16%); }

@media (max-width: 900px) {




}
@media (max-width: 700px) {
  .bitbit-case { --nav: 58px; }
  .bitbit-case .project-nav { height: var(--nav); }
  .bb-intro-grid { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .bb-intro-grid > .bb-kicker { margin-top: 0; }




  .bb-scene-sticky { width: 100%; }
  .bb-scene-story.bb-scrub { height: calc(400px + 30svh); }
  .bb-scene-story.bb-scrub .bb-scene-sticky { top: calc(var(--nav) + 18px); }
  .bb-demo-dock button { padding: 9px 6px; font-size: 12px; }
  .bb-demo-dock button:last-child { margin-left: 0; }
  .bb-target { width: 13px; height: 13px; }
  .bb-hotspot[data-window="write"] .bb-hot-label { left: auto; right: -10px; transform: none; }
  .bb-character { grid-template-columns: .95fr 1fr; min-height: 218px; }
  .bb-character h3 { font-size: clamp(35px,10.3vw,70px); }
  .bb-character-caption .bb-kicker { font-size: 9px; }
  .bb-character-whale .bb-character-stage :is(img,video) { top: -20%; height: 140%; }
  .bb-character-action { right: 4px; bottom: 7px; width: 29px; height: 29px; }
  .bb-system-grid { grid-template-columns: minmax(0,1fr); }
  .bb-system-refs img { height: 70px; }
  .bb-gallery-card { flex-basis: 81vw; max-width: 430px; }
  .bb-outcome-grid { grid-template-columns: minmax(0,1fr); gap: 0; }
  .bb-outcome-grid > div { padding-inline: 0; border-right: 0; }
  .bb-outcome-grid > div:not(:last-child) { border-bottom: 1px solid var(--rule); }
}
@media (max-width: 370px) {

  .bb-section h2 { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .bb-window[open], .bb-window-content.bb-switching { animation: none; }
  .bitbit-case *, .bitbit-case *::before, .bitbit-case *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}

/* Editorial case chapters */
@font-face {
  font-family: Bitbit Display;
  src: url("../assets/kanit-600.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Bitbit Display;
  src: url("../assets/kanit-900.ttf") format("truetype");
  font-weight: 900;
  font-display: swap;
}
.bitbit-case {
  --paper: #f1eee9;
  --ink: #211c25;
  --deep: #100e15;
  --case-display: "Bitbit Display", "Helvetica Neue", "PingFang SC", sans-serif;
}
.bitbit-case ::selection { color: #151017; background: #ff9dca; }
.bb-section { padding-block: clamp(78px, 10vw, 154px); }
.bb-section h2 { font-size: clamp(39px, 6.2vw, 94px); letter-spacing: -.047em; }
.bb-chapter { display: flex; flex-direction: column; gap: 2px; margin: 0; font-size: 14px; font-weight: 700; line-height: 1.5; }
.bb-chapter span { color: var(--soft); font-family: var(--case-display); font-size: 12px; font-weight: 600; letter-spacing: .065em; text-transform: uppercase; }
.bb-intro-grid > .bb-chapter { padding-top: .75em; }
.bb-section-heading .bb-chapter, .bb-outcome .bb-chapter { margin-bottom: 18px; }


.bb-brand-figure { min-width: 0; }
.bb-brand-figure figcaption { margin: 12px 0 0; color: var(--soft); font-size: 13px; }

.bb-brand-grid { display: grid; grid-template-columns: minmax(220px,.48fr) minmax(0,1fr); gap: clamp(20px,4vw,58px); align-items: end; }
.bb-brand-logo { background: #0f0d13; padding: clamp(16px, 3.6vw, 49px) 16px; display: grid; place-items: center; }
.bb-brand-logo img { max-width: min(100%,310px); }
.bb-brand-palette { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin: 12px 0 0; }
.bb-brand-palette > div { border-bottom: 1px solid var(--rule); padding: 9px 4px 9px 0; }
.bb-brand-palette dt { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.bb-brand-palette dt::before { content: ""; display: inline-block; width: 14px; height: 14px; border: 1px solid #23142e36; background: var(--tone); }
.bb-brand-palette dd { margin: 2px 0 0 22px; color: var(--soft); font: 11px var(--mono); }
.bb-brand-type { display: grid; gap: 2px; margin: 14px 0 0; }
.bb-brand-type span { color: var(--soft); font-size: 12px; }
.bb-brand-composition { position: relative; aspect-ratio: 16/9; overflow: clip; background: #171320; isolation: isolate; }
.bb-brand-room, .bb-brand-assembled { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.bb-brand-assembled { position: absolute; inset: 0; }
.bb-brand-piece { position: absolute; left: var(--x); top: var(--y); width: var(--w); image-rendering: pixelated; }

.bb-breakdown { background: #110e16; }
.bb-scene-story.bb-scrub { height: calc(100svh + clamp(370px, 95vh, 910px)); }
.bb-scene-sticky { width: min(100%,calc((100svh - 219px) * 1.77778)); }
.bb-scene-steps { grid-template-columns: repeat(4,1fr); }
.bb-scene-steps li { padding-block: 10px; }
.bb-scene-line { margin: 10px 0 0; color: #e7d8e8; font-size: 14px; line-height: 1.5; min-height: 3em; }
.bb-scene-hotspots { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.bb-scene-hotspots span { position: absolute; left: var(--spot-x); top: var(--spot-y); transform: translate(-50%,-50%); background: #1b1022; color: white; border: 1px solid #f2d9ee; padding: 5px 8px 5px 20px; white-space: nowrap; font-size: clamp(9px,1.15vw,13px); }
.bb-scene-hotspots span::before { content: ""; position: absolute; width: 6px; height: 6px; left: 7px; top: calc(50% - 3px); background: var(--lime); transform: rotate(45deg); }
.bb-tavern { background: transparent; padding-top: clamp(24px,5vw,68px); }
.bb-tavern-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 17px; }
.bb-tavern-heading h3, .bb-tavern-heading p { margin: 0; }
.bb-tavern-heading h3 { font-size: clamp(20px,3vw,41px); }
.bb-tavern-heading p { font-size: 14px; color: var(--soft); }

.bb-characters .bb-section-heading { margin-bottom: 38px; }
.bb-character-exhibits { position: relative; background: #211725; color: #fff1fa; }
.bb-character-selector { display: flex; position: absolute; left: clamp(15px,3.6vw,54px); top: clamp(22px,3.6vw,54px); z-index: 3; border-bottom: 1px solid #e9c6e170; }
.bb-character-selector button { padding: 12px clamp(10px,1.5vw,26px); border: 0; border-bottom: 2px solid transparent; color: #eed5e9; background: none; font-family: var(--case-display); font-size: clamp(13px,1.5vw,19px); }
.bb-character-selector button:first-child { padding-left: 0; }
.bb-character-selector button span { margin-right: 4px; color: #e9aacd; font-size: 11px; }
.bb-character-selector button[aria-pressed="true"] { color: #fff; border-color: #ffaa94; }
.bb-character { position: relative; grid-template-columns: minmax(260px, .65fr) minmax(0,1fr); min-height: clamp(340px,49vw,665px); padding: 0 clamp(15px,3.6vw,54px); border: 0; }
.bb-character[data-entering] { animation: bb-exhibit-in 420ms cubic-bezier(.2,.7,.2,1) both; }
@keyframes bb-exhibit-in { from { opacity: .4; transform: translateX(10px); } }
.bb-character-caption { justify-content: flex-end; padding: 28px 0 clamp(108px,11vw,145px); }
.bb-character-caption > :last-child { max-width: 28em; color: #efddeb; }
.bb-character h3 { font-family: var(--case-display); letter-spacing: -.045em; line-height: .82; font-weight: 900; font-size: clamp(83px,13.1vw,210px); pointer-events: none; }
.bb-character-doge { background: #332334; }
.bb-character-whale { background: #222135; }
.bb-character-stage { align-self: stretch; z-index: 2; min-height: 320px; }
.bb-character-action { background: #201324; }
.bb-character-doge .bb-character-stage :is(img,video) { height: 99%; top: 1%; }
.bb-character-whale .bb-character-stage :is(img,video) { height: 184%; top: -43%; }

.bb-architecture { background: #191520; }
.bb-map { border-top: 1px solid var(--rule); }
.bb-map-routes { display: flex; gap: 22px; }
.bb-map-routes button { padding: 12px 0; color: #e2d1e3; border: 0; border-bottom: 2px solid transparent; background: transparent; }
.bb-map-routes button[aria-pressed="true"] { color: #fff; border-color: #f098c0; }
.bb-map-nodes { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 14px; list-style: none; margin: 25px 0 28px; padding: 0; }
.bb-map-nodes li { position: relative; min-width: 0; }
.bb-map-nodes li:not(:last-child)::after { content: ""; position: absolute; top: 50%; left: 100%; width: 14px; height: 1px; background: #9b7b92; transform-origin: left; }
.bb-map-nodes li.bb-route-link::after { background: var(--lime); animation: bb-route-trace 450ms ease-out both; }
@keyframes bb-route-trace { from { transform: scaleX(0); } }
.bb-map-nodes button { width: 100%; height: 100%; min-height: 59px; padding: 6px; background: #281c2d; color: #f1dfee; border: 1px solid #846478; font-size: clamp(12px,1.4vw,19px); transition: background-color 180ms; }
.bb-map-nodes li.bb-on-route button { border-color: #c1ff00a8; }
.bb-map-nodes button:is(:hover,[aria-pressed="true"]) { background: #492540; color: #fff; }
.bb-map-stage { min-height: 112px; display: grid; grid-template-columns: minmax(0,.45fr) minmax(0,.55fr); gap: 35px; border-block: 1px solid var(--rule); padding: clamp(18px,3.2vw,42px) 0; align-items: center; }
.bb-map-stage h3 { font-size: clamp(23px,3.5vw,53px); line-height: 1.1; letter-spacing: -.03em; margin: 0; }
.bb-map-stage p { color: var(--soft); font-size: 15px; line-height: 1.6; }
.bb-map-stage a { color: #ffc0de; text-underline-offset: 5px; font-size: 14px; }
.bb-map-stage [data-map-image] { aspect-ratio: 16/7; overflow: hidden; background: #100d16; }
.bb-map-stage img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.bb-product { padding-bottom: clamp(68px,9vw,138px); }
.bb-study-links { display: flex; flex-wrap: wrap; gap: 0 24px; border-block: 1px solid var(--rule); margin-bottom: 52px; }
.bb-study-links a { padding-block: 13px; color: #7b1743; font-weight: 620; text-decoration-thickness: 1px; text-underline-offset: 5px; font-size: 14px; }
.bb-study { padding: clamp(48px,8vw,110px) 0 0; border-top: 1px solid var(--rule); }
.bb-study + .bb-study { margin-top: clamp(64px,8vw,120px); }
.bb-study:first-child { border-top: 0; padding-top: 0; }
.bb-study-header { display: grid; grid-template-columns: minmax(155px,.36fr) minmax(0,1fr); align-items: end; gap: 9px 32px; margin-bottom: clamp(18px,4vw,55px); }
.bb-study-header h3 { margin: 0; font-size: clamp(30px,5.4vw,79px); font-weight: 720; line-height: 1.02; letter-spacing: -.048em; text-wrap: balance; }
.bb-study-header p { grid-column: 2; margin: 0; color: var(--soft); line-height: 1.82; max-width: 43em; }
.bb-study-header .bb-chapter { grid-column: 1; grid-row: 1; margin-bottom: 5px; }
.bb-study-header p b { color: #8d154a; margin-right: 9px; }
.bb-study-workbench { display: grid; grid-template-columns: minmax(0,1.64fr) minmax(240px,.66fr); gap: clamp(18px,4vw,55px); align-items: start; }
.bb-study:nth-of-type(even) .bb-study-workbench { grid-template-columns: minmax(240px,.66fr) minmax(0,1.64fr); }
.bb-study:nth-of-type(even) .bb-study-display { grid-column: 2; grid-row: 1; }
.bb-study:nth-of-type(even) .bb-study-script { grid-column: 1; grid-row: 1; }
.bb-study.bb-study-scrub .bb-study-display { position: sticky; top: calc(var(--nav) + 24px); }
.bb-study-display { min-width: 0; }
.bb-study-display figure { margin: 0; }
.bb-study-viewport { display: block; position: relative; aspect-ratio: 16/10; overflow: hidden; background: #211925; }
.bb-study-viewport > img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.bb-study-viewport.bb-portrait > img { object-fit: contain; object-position: center; }
.bb-study-annotate { position: absolute; border: 1.5px solid #f4d5ed; outline: 1px solid #862658; box-shadow: 0 0 0 999px #24112c2b; pointer-events: none; min-width: 18px; min-height: 18px; }
.bb-study-annotate::before { content: attr(data-order); display: grid; place-items: center; position: absolute; left: 0; top: 0; width: 25px; height: 25px; background: #411d39; color: #fff; font: 11px var(--mono); }
.bb-study-viewport:focus-visible { outline-offset: -4px; }
.bb-study-caption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 10px; color: var(--soft); padding: 10px 0; font-size: 12px; }
.bb-study-caption a, .bb-study-caption button { color: #861449; }
.bb-study-caption button { background: transparent; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 4px; }
.bb-study-crop { width: 100%; display: grid; grid-template-columns: .32fr 1fr; gap: 12px; align-items: center; border-top: 1px solid var(--rule); padding-block: 10px; }
.bb-study-crop p { line-height: 1.5; margin: 0; font-size: 12px; }
.bb-study-crop p strong { display: block; font-size: 13px; margin-top: 4px; }
.bb-study-crop-frame { position: relative; overflow: hidden; align-self: center; max-height: 141px; background: #201924; }
.bb-study-crop-frame img { position: absolute; top: var(--crop-top); left: var(--crop-left); width: var(--crop-width); height: auto; max-width: none; }
.bb-study-script { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.bb-study-step { position: relative; display: grid; align-content: start; gap: 7px; border-bottom: 1px solid var(--rule); padding: 12px 0 20px; }
.bb-study-scrub .bb-study-step { min-height: clamp(170px,28vh,280px); }
.bb-study-step button { text-align: left; position: relative; display: grid; grid-template-columns: auto 1fr; gap: 9px; padding: 0; border: 0; align-items: baseline; color: inherit; background: none; }
.bb-study-step button span { color: #8c244f; font: 11px var(--mono); }
.bb-study-step button strong { font-size: clamp(16px,1.8vw,27px); font-weight: 680; }
.bb-study-step button:hover strong, .bb-study-step button[aria-pressed="true"] strong { color: #9c194e; }
.bb-study-step p { margin: 0 0 0 24px; color: var(--soft); font-size: 14px; line-height: 1.72; }
.bb-study-change { animation: bb-study-change 340ms cubic-bezier(.19,1,.3,1) both; }
@keyframes bb-study-change { from { opacity: .58; transform: translateY(5px) scale(1.018); } }

.bb-system { background: #221929; }
.bb-system-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.bb-system-workbench { grid-column: 1/-1; display: grid; grid-template-columns: minmax(160px,.44fr) minmax(0,1fr); gap: clamp(12px,4vw,57px); }
.bb-system-refs { display: grid; grid-template-columns: 1fr; gap: 0; align-content: start; }
.bb-system-refs button { border-block-end: 1px solid var(--rule); padding: 10px 0; text-align: left; color: #f4e4ee; font-size: 14px; background: transparent; border-inline: 0; border-top: 0; }
.bb-system-refs button[aria-pressed="true"] { color: #ff9fca; }
.bb-system-preview > button { display: grid; place-items: center; min-height: 248px; height: clamp(250px,28vw,400px); padding: 16px; background: #131018; border: 1px solid #a4859e53; }
.bb-system-preview > button:hover { border-color: #e097b9; }
.bb-system-preview img { width: 100%; height: 100%; object-fit: contain; min-height: 0; }
.bb-system-preview figcaption { margin-top: 8px; color: #e0cfe0; font-size: 13px; }

.bb-gallery { overflow: clip; }
.bb-gallery-collections { display: grid; grid-template-columns: 1fr 1fr; max-width: 720px; border-block: 1px solid var(--rule); }
.bb-gallery-collections button { display: flex; align-items: end; justify-content: space-between; gap: 8px; text-align: left; background: transparent; color: #45313f; border: 0; border-bottom: 2px solid transparent; padding: 12px clamp(9px,2vw,22px); }
.bb-gallery-collections button + button { border-left: 1px solid var(--rule); }
.bb-gallery-collections button[aria-pressed="true"] { color: var(--ink); border-bottom-color: #aa1c57; }
.bb-gallery-collections button strong { font-family: var(--case-display); font-weight: 600; line-height: .9; font-size: clamp(32px,4.8vw,59px); color: #9b1b50; }
.bb-gallery-collections button span { font-weight: 650; font-size: clamp(12px,1.3vw,17px); }
.bb-gallery-tools { margin-top: 19px; border-top: 0; padding-top: 0; }
.bb-gallery-rail { gap: clamp(11px,2vw,29px); margin: 0; scrollbar-width: thin; scrollbar-color: #a76989 #e6dce4; }
.bb-gallery-card { flex-basis: min(62vw,740px); background: transparent; border-color: transparent; }
.bb-gallery-card .bb-shot-view { aspect-ratio: 16/9.6; }
.bb-gallery-card[data-mobile] { flex-basis: min(29vw,335px); }
.bb-gallery-card[data-mobile] .bb-shot-view { aspect-ratio: 6/9; }
.bb-gallery-caption { padding: 11px 0 4px; }
.bb-gallery-caption strong { font-size: clamp(14px,1.5vw,19px); }
.bb-gallery-meter { display: block; height: 2px; margin-top: 10px; background: #e2d6de; }
.bb-gallery-meter span { display: block; height: 100%; background: #a82360; transform-origin: left center; transform: scaleX(var(--rail-progress,.05)); }

.bb-outcome .bb-outcome-grid { margin-bottom: clamp(24px,6vw,74px); }
.bb-outcome-grid dt { font-size: clamp(18px,2.15vw,31px); margin-bottom: 11px; font-weight: 680; }
.bb-outcome-grid dd { color: var(--soft); margin: 0; line-height: 1.7; font-size: 14px; }
.bb-end-scene { position: relative; aspect-ratio: 16/7; background: #16101d; overflow: hidden; }
.bb-end-scene img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.bb-end-scene-link { position: absolute; right: clamp(10px,3vw,42px); bottom: clamp(10px,3vw,35px); padding: 10px 13px; color: #fff; background: #1d1120; border: 1px solid #bd99b3; text-underline-offset: 4px; font-size: 14px; }
.bb-outcome-links { display: grid; grid-template-columns: 1fr 1.35fr; gap: 0; }
.bb-outcome-links a { display: grid; grid-template-columns: 1fr auto; align-content: center; padding: 20px 14px 20px 0; min-height: 105px; font-size: clamp(21px,3.5vw,48px); color: #f9eafa; font-weight: 660; text-decoration: none; border-bottom: 1px solid var(--rule); line-height: 1.09; }
.bb-outcome-links a + a { padding-inline: clamp(9px,3vw,37px); border-left: 1px solid var(--rule); }
.bb-outcome-links a span { grid-column: 1/-1; margin: 0 0 9px; color: #e1a7c7; font-size: 12px; }
.bb-outcome-links a b { padding-left: 4px; font-weight: 400; color: #ffa1cb; }
.bb-outcome-links a:hover { color: #ffb1d5; }

.bb-fade-in { animation: bb-evidence-in 420ms cubic-bezier(.2,.7,.2,1) both; }
@keyframes bb-evidence-in { from { opacity: .55; transform: translateY(7px); } }

@media (max-width: 1000px) {
  .bb-system-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .bb-system-type { grid-column: 1/-1; }
}
@media (max-width: 760px), (max-height: 620px) {
  .bb-study-workbench, .bb-study:nth-of-type(even) .bb-study-workbench { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .bb-study:nth-of-type(even) .bb-study-display, .bb-study:nth-of-type(even) .bb-study-script { grid-column: auto; grid-row: auto; }
  .bb-study.bb-study-scrub .bb-study-display { position: static; }
  .bb-study-scrub .bb-study-step { min-height: 0; }
}
@media (max-width: 700px) {
  .bb-intro-grid > .bb-chapter { padding-top: 0; }
  .bb-brand-grid { grid-template-columns: minmax(0,1fr); }
  .bb-brand-spec { order: 2; }
  .bb-brand-figure { order: 1; }
  .bb-scene-story.bb-scrub { height: calc(440px + 39svh); }
  .bb-scene-sticky { width: 100%; }
  .bb-scene-steps li { padding: 6px 2px; }
  .bb-scene-steps span { margin-right: 1px; font-size: 9px; }
  .bb-scene-line { font-size: 12px; }
  .bb-character { min-height: 0; grid-template-columns: minmax(0,1fr); grid-template-rows: auto 1fr; }
  .bb-character-stage { grid-row: 1; min-height: clamp(230px,65vw,360px); }
  .bb-character-caption { grid-row: 2; padding: 0 0 82px; }
  .bb-character h3 { font-size: clamp(54px,15vw,105px); }
  .bb-character-selector { top: auto; bottom: 20px; border-bottom: 0; border-top: 1px solid #e9c6e170; }
  .bb-character-whale .bb-character-stage :is(img,video) { height: 160%; top: -31%; }
  .bb-map-nodes { gap: 5px; }
  .bb-map-nodes li:not(:last-child)::after { width: 5px; }
  .bb-map-nodes button { min-height: 53px; padding-inline: 4px; }
  .bb-map-stage { gap: 13px; grid-template-columns: minmax(0,1fr); }
  .bb-map-stage [data-map-image] { grid-row: 1; aspect-ratio: 16/8; }
  .bb-study-header { grid-template-columns: minmax(0,1fr); }
  .bb-study-header p, .bb-study-header .bb-chapter { grid-column: auto; }
  .bb-study-links { gap: 0 13px; margin-bottom: 35px; }
  .bb-study-links a { font-size: 13px; }
  .bb-study-crop-frame { max-height: 112px; }
  .bb-system-grid, .bb-system-workbench { grid-template-columns: minmax(0,1fr); }
  .bb-system-refs { grid-template-columns: 1fr 1fr; gap: 0 8px; }
  .bb-system-preview { grid-row: 2; }
  .bb-gallery-rail { gap: 12px; }
  .bb-gallery-card { flex-basis: 84vw; max-width: 510px; }
  .bb-gallery-card[data-mobile] { flex-basis: 57vw; }
  .bb-end-scene { aspect-ratio: 16/10; }
  .bb-outcome-links a { font-size: clamp(16px,5.2vw,29px); min-height: 95px; }
}
@media (max-width: 365px) {
  .bb-section h2 { font-size: 34px; }
  .bb-gallery-collections button span { max-width: 7em; }
}
@media (prefers-reduced-motion: reduce) {
  .bb-character[data-entering], .bb-map-nodes li.bb-route-link::after, .bb-study-change, .bb-fade-in { animation: none; }
}

/* Chapter-specific layouts */
.bb-kept-phrase { white-space: nowrap; }
@media (min-width: 901px) {
  .bb-architecture .bb-intro-grid { grid-template-columns: minmax(0,1fr); gap: 11px; }
  .bb-architecture .bb-intro-grid > .bb-chapter { padding-top: 0; }
  .bb-architecture .bb-intro-grid > div { display: grid; grid-template-columns: minmax(0,1.42fr) minmax(0,.58fr); align-items: end; gap: 22px; }
  .bb-architecture .bb-intro-grid .bb-lead { margin: 0 0 6px; }
  .bb-product > .bb-wrap > .bb-intro-grid { grid-template-columns: minmax(0,1fr); gap: 14px; margin-bottom: 48px; }
}

/* BitbitNews opening posters */
.bb-hero, .bb-overview, .bb-strategy { --poster-magenta: #c51064; --poster-green: #c1ff00; --poster-black: #000; --poster-white: #fff; }
.bb-cover-active .project-nav { background: #000; border-color: transparent; backdrop-filter: none; }

.bb-hero {
  --cover-height: clamp(318px, 52svh, 640px);
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: calc(100svh - var(--nav));
  padding-block: clamp(22px,3.8svh,44px) clamp(24px,4svh,51px);
  overflow: clip;
  background: var(--poster-black);
}
.bb-cover-handoff {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 44%;
  background: var(--poster-magenta);
  transform: scaleY(0);
  transform-origin: bottom;
  pointer-events: none;
}
.bb-poster-cover { min-width: 0; }
.bb-hero-entry { position: relative; margin-block-end: clamp(19px,2.9svh,34px); }
.bb-hero h1, .bb-overview #overview-title, .bb-strategy #strategy-title {
  margin: 0;
  font-family: var(--case-display);
  font-weight: 900;
  letter-spacing: .002em;
  text-transform: uppercase;
}
.bb-hero h1 {
  width: min(100%, 6.08em);
  margin-inline: auto;
  color: var(--poster-magenta);
  font-size: clamp(47px,14.1vw,225px);
  line-height: .77;
  text-align: center;
}
.bb-wordmark { display: block; width: 100%; height: auto; overflow: visible; touch-action: pan-y pinch-zoom; }
.bb-wordmark-letter { cursor: grab; }
.bb-wordmark-letter:active { cursor: grabbing; }
.bb-glyph-fill, .bb-glyph-outline { transition: opacity 150ms ease-out; }
.bb-glyph-fill { fill: currentColor; }
.bb-glyph-outline { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-dasharray: 4 2; opacity: 0; }
.bb-wordmark-letter.is-revealed .bb-glyph-fill { opacity: 0; }
.bb-wordmark-letter.is-revealed .bb-glyph-outline { opacity: 1; }
.bb-wordmark-focus {
  position: absolute;
  outline: 1px solid currentColor;
  pointer-events: none;
}
.bb-wordmark-label {
  position: absolute;
  inset: auto auto calc(100% + 4px) 0;
  color: #ffbbdb;
  font: 10px/1.3 var(--mono);
  white-space: nowrap;
}
.bb-wordmark-speck {
  position: absolute;
  width: 2px;
  height: 2px;
  background: currentColor;
  animation: bb-wordmark-blink .7s ease-in-out infinite alternate;
}
@keyframes bb-wordmark-blink { from { opacity: .15; } to { opacity: .85; } }
.bb-cover-stage {
  position: relative;
  isolation: isolate;
  height: var(--cover-height);
}
.bb-cover-film {
  position: absolute;
  inset: 0;
  overflow: clip;
  background: #110d14;
}
.bb-hero-media, .bb-hero-parallax { position: absolute; inset: 0; pointer-events: none; }
.bb-hero-parallax { transform: scale(1.018) translate(var(--px, 0px), var(--py, 0px)); transition: transform 480ms ease-out; }
.bb-cover-stage video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 53% 52%; image-rendering: pixelated; }
.bb-cover-whale {
  display: block;
  position: absolute;
  inset-inline-end: calc(-1 * clamp(10px, 2vw, 30px));
  bottom: calc(-1 * clamp(20px, 3.2svh, 33px));
  width: min(36%, 440px, calc(var(--cover-height) * .94));
  image-rendering: pixelated;
  pointer-events: none;
}
.bb-whale-poster { display: block; width: 100%; height: auto; }
.bb-cover-whale .bb-whale-loop { position: absolute; width: 105%; max-width: none; height: auto; top: -4%; left: -5.5%; }
.bb-cover-whale.is-animated .bb-whale-poster { opacity: 0; }
.bb-cover-caption { display: flex; justify-content: space-between; align-items: baseline; gap: 9px 24px; margin-top: clamp(35px,5.2svh,56px); }
.bb-cover-caption p { margin: 0; }
.bb-hero-tagline { color: var(--poster-white); font-family: var(--case-display); font-weight: 600; font-size: clamp(18px,2.5vw,34px); line-height: 1.06; }
.bb-hero-intro { color: #e3dce4; font-size: clamp(13px,1.25vw,18px); line-height: 1.6; text-align: end; }
.bb-hero-intro span { white-space: nowrap; }

.bb-overview {
  --overview-bottom-inset: clamp(38px, 5.75svh, 76px);
  display: grid;
  padding-block: clamp(65px,9svh,124px) var(--overview-bottom-inset);
  overflow: clip;
  color: var(--poster-white);
  background: var(--poster-magenta);
}
.bb-overview-layout {
  --overview-row-gap: clamp(33px, 5.5svh, 65px);
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  grid-template-areas: "title cast" "editorial editorial";
  column-gap: clamp(24px, 4.5vw, 66px);
  row-gap: var(--overview-row-gap);
  align-items: end;
}
.bb-overview #overview-title {
  grid-area: title;
  color: var(--poster-black);
  font-size: clamp(53px, 9.35vw, 146px);
  line-height: .83;
  text-wrap: initial;
}
#overview-title > span { display: block; overflow: clip; padding-block: .05em .075em; }
#overview-title > span + span { padding-inline-start: .35em; }
#overview-title > span > span { display: block; }
.bb-overview-editorial {
  grid-area: editorial;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
  column-gap: clamp(28px, 5.3vw, 76px);
  padding-top: clamp(20px, 3svh, 32px);
  border-top: 1px solid #0006;
}
.bb-overview-column + .bb-overview-column {
  border-inline-start: 1px solid #0006;
  padding-inline-start: clamp(22px, 3.8vw, 55px);
}
.bb-overview-column h3 {
  display: grid;
  gap: 8px;
  margin: 0 0 clamp(14px, 1.65vw, 23px);
  font-size: clamp(27px, 3vw, 42px);
  font-weight: 730;
  line-height: 1.18;
}
.bb-overview-english {
  color: #fff0f8;
  font: 600 clamp(13px, 1.15vw, 16px)/1.25 var(--case-display);
  letter-spacing: .095em;
  text-transform: uppercase;
}
.bb-overview-column p {
  max-width: 30em;
  margin: 0;
  color: #fff5fa;
  font-size: clamp(16px, 1.37vw, 20px);
  line-height: 1.75;
}
.bb-overview-column p + p { margin-top: clamp(10px, 1.15vw, 17px); }
.bb-overview-keywords {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(16px, 2vw, 28px) 0 0;
  padding: 0;
  border-top: 1px solid #0006;
  list-style: none;
}
.bb-overview-keywords li {
  display: grid;
  gap: 3px;
  padding: 10px clamp(6px, 1vw, 14px) 0;
  color: #fff;
  font-size: clamp(13px, 1.15vw, 17px);
  font-weight: 650;
  line-height: 1.4;
}
.bb-overview-keywords li:first-child { padding-inline-start: 0; }
.bb-overview-keywords li + li { border-inline-start: 1px solid #0006; }
.bb-overview-keywords li > span {
  color: #fff0f8;
  font: 600 13px/1.25 var(--case-display);
  font-variant-numeric: tabular-nums;
}
.bb-overview .bb-overview-doge {
  grid-area: cast;
  justify-self: center;
  width: min(100%, clamp(150px, 18.5vw, 266px));
  margin-block-end: calc(-1 * var(--overview-row-gap));
  overflow: clip;
}
.bb-overview-doge video {
  display: block;
  width: 100%;
  height: auto;
  image-rendering: pixelated;
  pointer-events: none;
}

.bb-strategy {
  background: var(--poster-green);
  color: var(--poster-black);
  padding-block: clamp(56px,8svh,100px) clamp(48px,6.65vw,96px);
  overflow: clip;
}
.bb-saloon-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.95fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(21px, 4vw, 58px);
  margin-bottom: clamp(27px, 4.5svh, 50px);
}
.bb-strategy #strategy-title {
  font-size: clamp(48px, 8.6vw, 134px);
  line-height: .83;
  text-wrap: initial;
}
#strategy-title span { display: block; }
.bb-saloon-intro h3 { margin: 0 0 12px; font-size: clamp(23px, 2.45vw, 38px); line-height: 1.2; }
.bb-saloon-intro p { margin: 0; max-width: 24em; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.65; }
.bb-saloon { position: relative; container-type: inline-size; }
.bb-saloon-defs { position: absolute; }
.bb-saloon-world { position: relative; isolation: isolate; overflow: clip; aspect-ratio: 16/9; background: #15121e; }
.bb-saloon-camera { position: absolute; inset: 0; }
.bb-saloon-room { position: absolute; inset: 0; width: 100%; height: 100%; }
.bb-saloon-layer { position: absolute; top: var(--y); left: var(--x); width: var(--w); height: auto; }
.bb-saloon-world :is(img, video) { pointer-events: none; image-rendering: pixelated; }
.bb-saloon-layer.is-active { filter: url(#bb-saloon-outline); }
.bb-saloon-sign {
  display: grid;
  place-items: center;
  aspect-ratio: 324/61;
  color: #ffbc70;
  font: 650 1.25cqw/1 var(--case-display);
  white-space: nowrap;
}
.bb-saloon-sign-window { width: 88%; overflow: hidden; }
.bb-saloon-sign-track { display: flex; width: max-content; }
.bb-saloon-sign-track span { min-width: 14.9cqw; padding-inline: .6cqw; text-align: center; }
.bb-saloon.is-in-view .bb-saloon-sign-track { animation: bb-saloon-sign-scroll 8s linear infinite; }
@keyframes bb-saloon-sign-scroll { to { transform: translateX(-50%); } }
.bb-saloon-doge {
  display: grid;
  place-items: center;
  overflow: clip;
  aspect-ratio: 255/104;
  background: #c02779;
  box-shadow: inset -.42cqw -.26cqw .61cqw #e31b86, inset .58cqw .26cqw 1.37cqw #ff9de8;
}
.bb-saloon-doge span { color: #61bce2; font: 750 4.36cqw/1 var(--case-display); letter-spacing: -.055em; }
.bb-saloon-doge :is(img,video) { position: absolute; inset: auto auto 0 50%; translate: -50% 0; width: 38%; height: auto; }
.bb-saloon-whale { aspect-ratio: 380/424; overflow: clip; }
.bb-saloon-whale img { width: 100%; height: auto; }
.bb-saloon-whale video { position: absolute; top: -56.8%; left: -14.8%; width: 131.7%; height: auto; }
.bb-saloon-whale .bb-saloon-fallback { position: absolute; top: -4%; left: -5.5%; width: 105%; max-width: none; }
.bb-saloon-world video { opacity: 0; }
.bb-saloon-layer.is-playing video { opacity: 1; }
.bb-saloon-layer:is(.is-playing,.is-fallback) > img:first-of-type { visibility: hidden; }
.bb-saloon-lamp { border: 0; padding: 0; background: transparent; }
.bb-saloon-lamp img { width: 100%; height: auto; transform-origin: 50% 0; }
.bb-strategy .bb-saloon-lamp:focus-visible { outline: none; }
.bb-saloon-lamp:focus-visible img { filter: url(#bb-saloon-outline); }
.bb-saloon.is-in-view .bb-saloon-lamp { animation: bb-saloon-light 4.8s ease-in-out infinite alternate; }
@keyframes bb-saloon-light { from { filter: brightness(1); } to { filter: brightness(1.14); } }
.bb-saloon-hotspots { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.bb-saloon-hotspots path { fill: transparent; fill-rule: evenodd; pointer-events: fill; cursor: pointer; }
.bb-saloon-hotspots circle { fill: none; stroke: #ffffffa3; stroke-width: 1; }
.bb-saloon-hotspots .bb-saloon-dot { fill: #ffffffe0; stroke: none; }
.bb-saloon-hotspots :is(.is-active,:focus-visible) circle { stroke: #fff; stroke-width: 2; }
.bb-saloon-feature-title {
  position: absolute;
  display: grid;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  color: #fff;
  font-size: 5.2cqw;
  font-weight: 730;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}
.bb-saloon-feature-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.bb-saloon-feature-half { grid-area: 1 / 1; }
.bb-saloon-feature-half:nth-of-type(2) { clip-path: inset(-.2em -.1em 50%); }
.bb-saloon-feature-half:nth-of-type(3) { clip-path: inset(50% -.1em -.2em); }

.bb-overview :focus-visible, .bb-strategy :focus-visible { outline-color: #000; }

@media (max-width: 700px) {
  .bb-hero { --cover-height: clamp(285px, 55svh, 520px); padding-block: 32px 40px; }
  .bb-hero h1 { font-size: clamp(44px,14.05vw,94px); }
  .bb-hero-entry { margin-block-end: 22px; }
  .bb-cover-stage video { object-position: 51% center; }
  .bb-cover-whale { inset-inline-end: -10px; bottom: -21px; width: min(68%, 315px, calc(var(--cover-height) * .88)); }
  .bb-cover-caption { display: grid; gap: 7px; margin-top: 32px; }
  .bb-hero-tagline { font-size: clamp(22px,6.05vw,31px); }
  .bb-hero-intro { text-align: start; }
  .bb-overview { --overview-bottom-inset: 34px; padding-block-start: 57px; }
  .bb-overview-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "title" "editorial" "cast";
    row-gap: 24px;
  }
  .bb-overview #overview-title { font-size: clamp(42px, 13.4vw, 92px); }
  #overview-title > span + span { padding-inline-start: .21em; }
  .bb-overview-editorial { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  .bb-overview-column + .bb-overview-column {
    padding-inline-start: 0;
    padding-top: 21px;
    border-inline-start: 0;
    border-top: 1px solid #0006;
  }
  .bb-overview .bb-overview-doge {
    justify-self: end;
    width: clamp(132px, 43vw, 206px);
    margin-block-end: calc(-1 * var(--overview-bottom-inset));
  }
  .bb-strategy { padding-block: 48px; }
  .bb-saloon-heading { grid-template-columns: 1fr; gap: 18px; }
  .bb-strategy #strategy-title { font-size: clamp(35px, 10.9vw, 77px); }
  .bb-saloon-intro h3 { margin-bottom: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .bb-hero-parallax { transform: none; }
  .bb-saloon.is-in-view .bb-saloon-lamp { animation: none; }
  .bb-saloon.is-in-view .bb-saloon-sign-track { animation: none; }
  .bb-saloon-sign-track span:nth-child(2) { display: none; }
  .bb-wordmark-letter { cursor: auto; }
  .bb-glyph-fill, .bb-glyph-outline { transition: none; }
}
