:root {
  color-scheme: dark;
  --paper: #070707;
  --surface: #111111;
  --surface-raised: #171717;
  --ink: #f7f7f7;
  --muted: #a1a1a1;
  --quiet: #777777;
  --line: rgba(255, 255, 255, .13);
  --dark: #f7f7f7;
  --accent: #f7f7f7;
}

:root[data-theme="light"] {
  color-scheme: light;
  --paper: #ffffff;
  --surface: #f5f5f5;
  --surface-raised: #eeeeee;
  --ink: #080808;
  --muted: #626262;
  --quiet: #858585;
  --line: #e5e5e5;
  --dark: #080808;
  --accent: #080808;
}

html {
  color-scheme: inherit;
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
}

a:focus-visible,
button:focus-visible {
  outline-color: var(--ink);
}

.site-header {
  border-color: var(--line);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
}

.brand {
  width: max-content;
}

.brand-wordmark {
  width: auto;
  height: 32px;
}

:root[data-theme="light"] .brand-wordmark {
  filter: url("assets/logo-byungsker-outline.svg#wordmark-outline");
}

.site-footer .brand-wordmark {
  height: 25px;
}

.theme-switch {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.theme-switch button {
  min-height: 28px;
  padding: 0 9px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease;
}

.theme-switch button:hover {
  color: var(--ink);
}

.theme-switch button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

.header-inner {
  gap: clamp(14px, 2vw, 32px);
}

.primary-nav a,
.hero-copy > .eyebrow,
.text-link,
.hero-focus span,
.proof-intro,
.section-kicker,
.section-aside,
.project-card-top,
.project-hook,
.project-summary,
.tag-row span,
.tag-row li,
.lab-card-copy .eyebrow,
.lab-card-copy > p:last-child,
.oss-list small,
.experience-intro > p:last-child,
.experience-item-index span,
.experience-item .eyebrow,
.experience-item > div:last-child > p:not(.eyebrow),
.experience-boundary,
.about-main > p:not(.eyebrow),
.about-skills p,
.site-footer p,
.site-footer > a:last-child {
  color: var(--muted);
}

.primary-nav a:hover,
.site-footer > a:last-child:hover,
.text-link:hover,
.project-card h3 a:hover,
.card-link:hover,
.experience-link:hover,
.about-skills span,
.oss-index,
.oss-arrow,
.experience-item-index,
.experience-link,
.card-link {
  color: var(--ink);
}

.header-contact,
.hero-focus span,
.proof-mark,
.tag-row span,
.tag-row li {
  border-color: var(--line);
}

.header-contact:hover,
.button-dark,
.contact-button {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.header-contact span:first-of-type,
.button-dark span,
.contact-button span:first-of-type {
  color: var(--paper);
}

.header-contact span:first-of-type {
  color: inherit;
}

.button-dark:hover,
.contact-button:hover {
  background: var(--muted);
  color: var(--paper);
}

.hero h1 em {
  color: var(--muted);
}

.eyebrow-dot {
  background: var(--ink);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--ink) 13%, transparent);
}

.hero-art {
  display: grid;
  min-width: 0;
  min-height: 0;
  align-content: center;
  gap: 14px;
  margin: 0;
  padding: 17px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}

.hero-art::before,
.hero-art::after {
  display: none;
}

.hero-art-top {
  position: static;
  color: var(--muted);
  font-size: 8px;
}

.hero-art > img {
  width: 100%;
  height: auto;
  max-height: 360px;
  border: 1px solid var(--line);
  object-fit: contain;
}

.hero-art figcaption {
  color: var(--muted);
  font-size: 9px;
}

.bookgolas-platforms {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, .58fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(10px, 1.8vw, 20px);
}

.platform-shot {
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 9px;
}

.platform-label {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .11em;
}

.platform-shot img {
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 1px solid var(--line);
  object-fit: contain;
}

.platform-shot-app img {
  width: auto;
  max-width: 100%;
  justify-self: center;
  border-radius: 8px;
  background: #111;
}

.platform-shot-web img {
  height: auto;
  max-height: 100%;
  align-self: center;
  background: #0d0f18;
}

.hero-art-platforms .bookgolas-platforms {
  height: clamp(280px, 31vw, 380px);
}

.proof-strip,
.experience-section,
.lab-section {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.proof-strip {
  border-block: 1px solid var(--line);
}

.proof-intro strong,
.proof-list strong,
.lab-section .section-heading h2,
.lab-card-copy h3,
.lab-more strong,
.experience-item h3,
.contact-inner h2 {
  color: var(--ink);
}

.proof-mark {
  color: var(--ink);
}

.media-book,
.media-baroguni,
.media-blog,
.media-json,
.media-ggugitt,
.lab-image,
.tool-art,
.tool-art-bridge,
.tool-art-blds,
.tool-art-markyfy {
  background: var(--surface);
  color: var(--ink);
}

.project-card-media {
  border: 1px solid var(--line);
}

.project-card-media {
  padding: 16px;
}

.project-card-media .bookgolas-platforms {
  width: 100%;
  height: 100%;
}

.project-card-media .platform-label {
  font-size: 7px;
}

.project-card-media::after {
  display: none;
}

.project-screen {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  padding: 0;
  object-fit: contain;
}

.screen-pair {
  display: flex;
  width: 100%;
  height: 88%;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 24px);
}

.screen-pair img {
  width: auto;
  height: 100%;
  max-width: 45%;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
}

.app-screen-strip {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: clamp(8px, 1.3vw, 16px);
}

.app-screen-tile {
  display: grid;
  min-width: 0;
  height: 100%;
  grid-template-rows: auto minmax(0, 1fr) auto;
  align-items: end;
  gap: 7px;
}

.app-screen-index,
.gallery-index {
  color: var(--muted);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: .1em;
  line-height: 1.4;
}

.app-screen-caption {
  overflow: hidden;
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-screen-tile > img {
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-raised);
  object-fit: contain;
}

.app-screen-tile-featured {
  transform: translateY(-9px);
}

.hero-art-platforms {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  padding: 48px 18px 15px;
}

.hero-art-platforms .app-screen-strip {
  height: 100%;
}

.project-card-media .app-screen-strip {
  width: 100%;
  height: 100%;
  align-items: center;
}

.project-card-media .app-screen-tile {
  gap: 5px;
}

.project-card-media .app-screen-index {
  font-size: 6px;
}

.project-card-media .app-screen-caption {
  font-size: 7px;
}

.media-blog img {
  width: 100%;
  max-height: 100%;
  box-shadow: none;
  object-fit: cover;
}

.media-json img {
  width: min(82%, 440px);
  max-height: 90%;
  object-fit: contain;
}

.lab-card {
  border-color: var(--line);
  background: var(--paper);
}

.lab-card-copy h3 a:hover,
.lab-card-copy .eyebrow,
.lab-card-copy > p:last-child,
.lab-more small {
  color: var(--muted);
}

.tool-art-bridge strong,
.tool-art-bridge span,
.tool-art-bridge small,
.tool-art-markyfy,
.tool-art-markyfy small,
.tool-art-markyfy strong span,
.lab-more b {
  color: var(--ink);
}

.lab-more {
  border-color: var(--line);
}

.experience-item,
.experience-item:last-child {
  border-color: var(--line);
}

.experience-item .tag-row li {
  border-color: var(--line);
}

.contact-section {
  background: var(--surface);
  color: var(--ink);
}

.contact-inner .eyebrow {
  color: var(--muted);
}

.contact-inner h2 {
  color: var(--ink);
}

.contact-button {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.contact-button span:first-of-type {
  color: var(--paper);
}

.contact-button:hover {
  border-color: var(--muted);
  background: var(--muted);
  color: var(--paper);
}

.site-footer {
  border-color: var(--line);
}

.site-footer .brand-mark,
.case-brand-mark {
  display: none;
}

/* 상세 사례 */
.case-header {
  border-color: var(--line);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
}

.case-brand {
  width: max-content;
  font-size: 0;
}

.case-nav a,
.case-index,
.case-index span,
.case-private-note,
.case-lede,
.case-meta dt,
.story-label,
.story-copy p,
.case-footer,
.case-footer a,
.case-chip-list span,
.case-tool-card > p:first-child,
.case-tool-card > p:last-of-type,
.case-pr-copy small,
.case-next > span {
  color: var(--muted);
}

.case-nav a:hover,
.case-footer a:hover,
.case-next a,
.case-tool-card a,
.case-pr-index,
.case-pr > a {
  color: var(--ink);
}

.case-hero h1 em {
  color: var(--muted);
}

.case-button {
  background: var(--ink);
  color: var(--paper);
}

.case-button:hover {
  background: var(--muted);
}

.case-button span {
  color: var(--paper);
}

.case-button-outline {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.case-button-outline:hover {
  background: var(--surface-raised);
  color: var(--ink);
}

.case-meta {
  border-color: var(--line);
}

.case-hero-visual {
  border: 1px solid var(--line);
  background: var(--surface);
}

.case-hero-visual::after {
  display: none;
}

.case-hero-screenshot {
  display: grid;
  min-height: 0;
  align-content: start;
  gap: 10px;
  margin: 0;
  padding: 16px;
  background: var(--surface);
}

.case-hero-screenshot > img {
  width: 100%;
  max-width: 100%;
  max-height: 760px;
  border: 0;
  object-fit: contain;
}

.case-hero-screenshot figcaption {
  color: var(--muted);
  font-size: 9px;
}

.case-hero-platforms .bookgolas-platforms {
  height: clamp(360px, 40vw, 520px);
}

.case-hero-app-strip {
  display: grid;
  min-height: 0;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 18px;
}

.case-hero-app-strip .case-screen-strip {
  min-height: clamp(330px, 40vw, 490px);
}

.case-hero-app-strip .app-screen-tile-featured {
  transform: translateY(-12px);
}

.case-hero-screen-pair {
  padding: 16px;
}

.case-hero-screen-pair .screen-pair {
  height: clamp(320px, 40vw, 520px);
}

.case-gallery figure {
  display: grid;
  min-height: 0;
  grid-template-rows: 1fr auto;
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.case-gallery figure img {
  width: 100%;
  height: auto;
  max-height: 660px;
  align-self: center;
  border-radius: 0;
  box-shadow: none;
  object-fit: contain;
}

.case-gallery .gallery-app-screen img {
  width: auto;
  max-width: 100%;
  max-height: 660px;
  align-self: center;
}

.case-gallery .gallery-web-screen img {
  height: auto;
  align-self: center;
}

.case-gallery .gallery-web-screen {
  background: #0d0f18;
}

.case-gallery .gallery-web-screen figcaption {
  color: #c2c4cc;
}

.case-gallery figure::after {
  display: none;
}

.case-gallery figcaption {
  position: static;
  color: var(--muted);
  font-size: 9px;
}

.case-gallery-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.case-gallery-four figure {
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr) auto;
  justify-items: stretch;
  gap: 9px;
  padding: 12px;
}

.case-gallery-four figure img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 570px;
  align-self: center;
  justify-self: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-raised);
  object-fit: contain;
}

.case-gallery-four .gallery-index {
  justify-self: start;
}

.ggugitt-gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ggugitt-gallery figure {
  min-height: 460px;
}

.case-gallery-four figcaption {
  justify-self: start;
  font-size: 9px;
  font-weight: 750;
}

.case-wide-visual {
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.case-wide-visual img {
  max-height: 760px;
}

.case-wide-visual figcaption {
  color: var(--muted);
}

.story-row,
.case-next,
.case-footer,
.case-pr-list,
.case-pr {
  border-color: var(--line);
}

.story-point,
.case-note,
.case-tool-card {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.case-note {
  border-left: 2px solid var(--ink);
  color: var(--muted);
}

.case-chip-list span {
  border-color: var(--line);
}

@media (max-width: 760px) {
  .brand-wordmark {
    height: 32px;
  }

  .site-footer .brand-wordmark {
    height: 22px;
  }

  .header-inner {
    gap: 10px;
  }

  .theme-switch button {
    min-height: 26px;
    padding-inline: 7px;
    font-size: 8px;
  }

  .hero-art {
    padding: 12px;
  }

  .hero-art-platforms .bookgolas-platforms {
    height: clamp(260px, 72vw, 360px);
  }

  .hero-art-platforms {
    grid-template-rows: minmax(0, 1fr);
    padding: 44px 12px 12px;
  }

  .app-screen-strip {
    gap: 7px;
  }

  .app-screen-tile {
    gap: 5px;
  }

  .app-screen-index {
    font-size: 6px;
  }

  .app-screen-caption {
    font-size: 7px;
  }

  .hero-art > img {
    max-height: none;
  }

  .project-card-media {
    padding: 12px;
  }

  .screen-pair {
    gap: 10px;
  }

  .case-hero-screen-pair .screen-pair {
    height: clamp(300px, 96vw, 440px);
  }

  .case-hero-platforms .bookgolas-platforms {
    height: clamp(320px, 88vw, 420px);
  }

  .case-hero-app-strip {
    padding: 12px;
  }

  .case-hero-app-strip .case-screen-strip {
    min-height: clamp(300px, 82vw, 400px);
  }

  .case-hero-app-strip .app-screen-tile-featured {
    transform: translateY(-7px);
  }

  .case-gallery-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ggugitt-gallery figure {
    min-height: 0;
  }

  .case-gallery figure {
    padding: 10px;
  }
}

@media (max-width: 420px) {
  .case-gallery-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-gallery-four figure {
    padding: 9px;
  }
}

/* Real UI foundation previews. */

.blab-mini-board { display: grid; width: 100%; max-width: 360px; min-width: 0; gap: 11px; padding: 16px; border: 1px solid rgba(0, 0, 0, .11); background: #fafafa; color: #161616; box-shadow: 0 12px 30px rgba(0, 0, 0, .08); }
.blab-mini-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.blab-mini-heading strong { font-size: 22px; letter-spacing: -.08em; }
.blab-mini-heading span { color: #737373; font-size: 6px; font-weight: 850; letter-spacing: .1em; }
.blab-mini-swatches { display: flex; gap: 5px; }
.blab-mini-swatches i { width: 25px; height: 22px; border-radius: 5px; background: #5b7fff; }
.blab-mini-swatches i:nth-child(2) { background: #10b981; }
.blab-mini-swatches i:nth-child(3) { background: #ff9500; }
.blab-mini-swatches i:nth-child(4) { background: #ff3b30; }
.blab-mini-swatches i:nth-child(5) { background: #4ecdc4; }
.blab-mini-specimen { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-block: 1px solid #e7e7e7; }
.blab-mini-specimen > strong { font-size: 29px; letter-spacing: -.09em; }
.blab-mini-specimen > span { display: grid; gap: 3px; }
.blab-mini-specimen b { font-size: 8px; }
.blab-mini-specimen small { color: #707070; font-size: 7px; }
.blab-mini-components { display: flex; align-items: center; gap: 6px; }
.blab-mini-components > * { padding: 6px 7px; border: 1px solid #dedede; border-radius: 5px; font-size: 6px; }
.blab-mini-components > b { border-color: #5b7fff; background: #5b7fff; color: #101010; }
.blab-mini-field { flex: 1; color: #6b6b6b; }

.blab-foundation-board { display: grid; gap: 20px; margin-top: 24px; padding: clamp(16px, 3vw, 28px); border: 1px solid var(--line); background: var(--surface); }
.blab-board-top, .blab-board-label { color: var(--muted); font-size: 8px; font-weight: 850; letter-spacing: .12em; }
.blab-board-top { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.blab-board-colors, .blab-board-type, .blab-board-themes, .blab-board-components { min-width: 0; }
.blab-token-swatches { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; margin-top: 12px; }
.blab-token-swatches > div { display: grid; min-width: 0; gap: 5px; }
.blab-token-swatches i { height: 42px; border: 1px solid var(--line); background: #5b7fff; }
.blab-token-swatches .blab-swatch-success { background: #10b981; }
.blab-token-swatches .blab-swatch-warning { background: #ff9500; }
.blab-token-swatches .blab-swatch-error { background: #ff3b30; }
.blab-token-swatches .blab-swatch-info { background: #4ecdc4; }
.blab-token-swatches b { font-size: 9px; }
.blab-token-swatches code, .blab-theme-sample code { color: var(--muted); font-size: 8px; }
.blab-board-middle { display: grid; grid-template-columns: 1fr 1.15fr; gap: 20px; padding-block: 18px; border-block: 1px solid var(--line); }
.blab-type-sample { display: flex; align-items: center; gap: 11px; margin-top: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.blab-type-sample > strong { font-size: 36px; letter-spacing: -.09em; }
.blab-type-sample > span { display: grid; gap: 3px; }
.blab-type-sample b, .blab-type-line b { font-size: 10px; }
.blab-type-sample small, .blab-type-line span { color: var(--muted); font-size: 8px; }
.blab-type-line { display: flex; justify-content: space-between; gap: 8px; padding-top: 8px; }
.blab-theme-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.blab-theme-sample { display: grid; min-height: 125px; align-content: center; gap: 9px; padding: 12px; border: 1px solid var(--line); font-size: 8px; }
.blab-theme-sample > b { margin-bottom: 2px; font-size: 8px; letter-spacing: .1em; }
.blab-theme-sample > span { display: flex; justify-content: space-between; gap: 6px; }
.blab-theme-light { background: #fafafa; color: #111; }
.blab-theme-light code { color: #666; }
.blab-theme-dark { background: #121212; color: #fff; }
.blab-board-components { display: grid; gap: 12px; }
.blab-component-row { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.blab-demo-button { display: flex; align-items: center; gap: 14px; padding: 11px 13px; border: 0; border-radius: 7px; background: #5b7fff; color: #000; font: inherit; font-size: 8px; font-weight: 800; }
.blab-demo-card, .blab-demo-field { display: grid; min-height: 57px; align-content: center; gap: 5px; padding: 9px; border: 1px solid var(--line); background: var(--paper); }
.blab-demo-card b, .blab-demo-field small { font-size: 8px; }
.blab-demo-card > span, .blab-demo-field > span { color: var(--muted); font-size: 7px; }
.blab-demo-card i { display: block; height: 4px; overflow: hidden; border-radius: 4px; background: var(--surface-raised); }
.blab-demo-card i em { display: block; width: 60%; height: 100%; background: #5b7fff; }
.blab-demo-bottom { display: grid; grid-template-columns: repeat(3, 20px); justify-items: center; gap: 4px; padding: 7px; border: 1px solid var(--line); background: var(--paper); color: var(--muted); font-size: 11px; }
.blab-demo-bottom b:first-child { color: #5b7fff; }
.blab-demo-bottom small { grid-column: 1 / -1; font-size: 6px; white-space: nowrap; }
.blab-board-note { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.7; }

.bookgolas-cross-platform-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.bookgolas-cross-platform-gallery figure { display: grid; min-width: 0; min-height: 0; grid-template-rows: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; margin: 0; padding: 16px; border: 1px solid var(--line); background: var(--surface); }
.bookgolas-shot-label { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 7px; font-weight: 850; letter-spacing: .1em; }
.bookgolas-cross-platform-gallery figure img { width: auto; max-width: 100%; height: 430px; justify-self: center; border: 1px solid var(--line); background: var(--surface-raised); object-fit: contain; }
.bookgolas-cross-platform-gallery figure:nth-child(2) img { width: 100%; height: auto; max-height: 430px; }
.bookgolas-cross-platform-gallery figcaption { color: var(--muted); font-size: 9px; }
.ggugitt-animation-figure { display: grid; grid-template-columns: minmax(150px, 230px) minmax(0, 1fr); align-items: center; gap: 18px; margin: 24px 0 0; padding: 16px; border: 1px solid var(--line); background: var(--surface); }
.ggugitt-animation-figure img { width: 100%; max-height: 460px; justify-self: center; object-fit: contain; }
.ggugitt-animation-figure figcaption { color: var(--muted); font-size: 10px; line-height: 1.8; }

@media (max-width: 760px) {
  .tool-art-blds { height: 205px; min-width: 0; padding: 12px; }
  .blab-mini-board { gap: 8px; padding: 11px; }
  .blab-mini-swatches i { flex: 1; min-width: 0; height: 18px; }
  .blab-mini-specimen > strong { font-size: 24px; }
  .blab-mini-specimen small { font-size: 6px; }
  .blab-mini-components { gap: 4px; }
  .blab-mini-components > * { padding: 5px; font-size: 5px; }
  .blab-board-middle { grid-template-columns: 1fr; }
  .blab-component-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blab-demo-bottom { justify-self: start; }
  .bookgolas-cross-platform-gallery { grid-template-columns: 1fr; }
  .bookgolas-cross-platform-gallery figure img { height: min(430px, 112vw); }
  .bookgolas-cross-platform-gallery figure:nth-child(2) img { max-height: 112vw; }
  .ggugitt-animation-figure { grid-template-columns: minmax(120px, 180px) minmax(0, 1fr); gap: 12px; }
}

@media (max-width: 420px) {
  .blab-token-swatches { gap: 5px; }
  .blab-token-swatches i { height: 30px; }
  .blab-token-swatches b, .blab-token-swatches code { font-size: 6px; }
  .blab-token-swatches code { letter-spacing: -.04em; }
  .blab-theme-pair { grid-template-columns: 1fr 1fr; }
  .blab-theme-sample { padding: 8px; font-size: 7px; }
  .blab-theme-sample > span { flex-direction: column; gap: 2px; }
  .ggugitt-animation-figure { grid-template-columns: 1fr; }
  .ggugitt-animation-figure img { width: min(190px, 65vw); max-height: 340px; }
  .tool-art-blds { height: 205px; }
}
