@font-face {
  font-family: Arcade;
  src: url('./assets/fonts/PressStart2P-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap
}

/* Primera partida: lectura clínica y controles cómodos también en móvil. */
.review-banner { padding: 16px 20px; background: #241533; border: 1px solid #56008C; margin: 24px 0; color: #e3cbf7; }
.review-banner p { margin: 4px 0 0; font-size: 14px; }
.case-heading { margin: 32px 0 24px; }
.case-heading h1 { font-size: clamp(22px, 3.5vw, 40px); line-height: 1.6; }
.case-meta, .media-credit, .media-caption { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.case-progress { display: flex; gap: 20px; align-items: center; margin: 24px 0; flex-wrap: wrap; font-size: 14px; color: var(--lavender); }
.case-progress progress { height: 8px; flex: 1; min-width: 100px; accent-color: var(--lime); }
.case-layout { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(0, 1.65fr); gap: 28px; align-items: start; }
.patient-file, .decision-panel, .case-card, .case-finish { border: 1px solid #56008C; padding: clamp(18px, 3vw, 32px); background: var(--panel); min-width: 0; }
.patient-file { color: var(--muted); font-size: 15px; }
.patient-file h2 { font-family: var(--sans); font-size: 18px; color: var(--text); }
.patient-file ol { padding-left: 20px; }
.patient-file li { padding: 10px 0; border-bottom: 1px solid #56008C; }
.decision-panel h2 { font-family: var(--sans); font-size: clamp(21px, 2.3vw, 27px); line-height: 1.4; margin: 30px 0 20px; }
.decision-panel h3 { font-family: var(--sans); font-size: 18px; }
.clinical-media { border: 1px solid #56008C; padding: 16px; margin: 22px 0; }
.clinical-media h3 { margin-top: 0; }
.video-slot { background: #0b0911; text-align: center; padding: 24px 12px; border: 1px solid #56008C; }
.video-slot:has(iframe) { padding: 0; }
.video-slot iframe { width: 100%; aspect-ratio: 375 / 288; display: block; border: 0; }
.video-symbol { font-size: 30px; color: var(--lime); }
.video-description { margin-top: 14px; font-size: 14px; }
.media-credit a, .case-sources a { text-decoration: underline; text-underline-offset: 3px; color: var(--lavender); }
.answer-options { border: 0; padding: 0; margin: 20px 0; display: grid; gap: 12px; min-width: 0; }
.answer-option { display: flex; align-items: flex-start; gap: 12px; border: 2px solid #56008C; background: #100d18; padding: 16px; cursor: pointer; line-height: 1.55; }
.answer-option:has(input:checked) { background: #30213f; box-shadow: inset 5px 0 var(--lavender); }
.answer-option:has(input:focus-visible) { outline: 3px solid #56008C; box-shadow: 0 0 0 5px var(--lime); }
.answer-option input { margin-top: 7px; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--lime); }
.answer-option input:focus-visible { outline: none; box-shadow: none; }
.option-letter { font-family: var(--retro); font-size: 11px; color: var(--lavender); margin-right: 12px; }
.answer-label { display: block; color: var(--lime); font-size: 13px; margin-top: 6px; }
.answer-correct { background: #1e2920; }
.answer-options:disabled .answer-option { cursor: default; }
.case-hint { border: 1px solid #56008C; padding: 14px 18px; margin: 20px 0; color: var(--lavender); }
summary { cursor: pointer; }
summary:focus-visible { outline: 3px solid #56008C; box-shadow: 0 0 0 5px var(--lime); }
.button:disabled { opacity: .5; cursor: not-allowed; }
.answer-feedback { border-top: 2px solid #56008C; margin-top: 30px; padding-top: 26px; scroll-margin-top: 24px; }
.answer-feedback:focus { outline: none; }
.case-takeaway { padding: 18px; background: #233025; border: 1px solid #56008C; margin: 24px 0; }
.case-takeaway strong { color: var(--lime); }
.case-takeaway p { margin-bottom: 0; }
.case-sources { font-size: 14px; padding-left: 20px; margin-bottom: 28px; overflow-wrap: anywhere; }
.case-sources li { padding-bottom: 14px; }
.case-sources span { color: var(--muted); }
.case-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.case-recap { padding-left: 24px; }
.case-recap li { border-bottom: 1px solid #56008C; padding: 12px 0 24px; }
.case-recap h3 { font-family: var(--sans); font-size: 20px; }
.case-card { max-width: 720px; margin-bottom: 30px; }
.case-card h2 { line-height: 1.7; }
@media (max-width: 850px) {
  .case-layout { grid-template-columns: 1fr; }
  .case-progress { gap: 10px; }
  .case-progress span:last-child { width: 100%; }
  .patient-file { font-size: 14px; }
}

:root {
  color-scheme: dark;
  --bg: #0e0c14;
  --panel: #15111e;
  --panel-hover: #1f152c;
  --border: #56008C;
  --text: #f4f0f9;
  --muted: #b5adbf;
  --lime: #c8f68a;
  --lavender: #c5a2e7;
  --retro: Arcade,'Courier New',monospace;
  --sans: 'Segoe UI',Arial,sans-serif
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6
}

a {
  color: inherit;
  text-decoration: none
}

button,input {
  font: inherit
}

button,a,input {
  -webkit-tap-highlight-color: transparent
}

button {
  cursor: pointer
}

button,a {
  touch-action: manipulation
}

button {
  color: inherit
}

button:focus-visible,a:focus-visible,input:focus-visible {
  outline: 3px solid var(--border);
  outline-offset: 4px;
  box-shadow: 0 0 0 6px var(--lime)
}

main:focus {
  outline: none
}

::selection {
  background: var(--border);
  color: #fff
}

svg {
  display: block
}

img {
  max-width: 100%
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 10;
  padding: 10px 20px;
  background: var(--lime);
  color: var(--bg)
}

.skip-link:focus {
  top: 10px
}

.app-shell {
  display: flex;
  min-height: 100vh
}

.sidebar {
  width: 224px;
  position: fixed;
  inset: 0 auto 0 0;
  border-right: 1px solid var(--border);
  padding: 36px 21px 22px;
  display: flex;
  flex-direction: column;
  background: #100c17;
  z-index: 3
}

.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  font-weight: 800;
  line-height: 1.35;
  font-size: 19px;
  letter-spacing: -.6px
}

.brand svg {
  width: 31px;
  height: 31px;
  flex-shrink: 0;
  color: var(--lime)
}

.brand-andres {
  display: block
}

.brand-dot {
  color: var(--lime)
}

.brand-byline {
  font-size: 7.3px;
  letter-spacing: 1px;
  color: var(--muted);
  margin: 17px 0 46px
}

.nav-label {
  font-size: 9px;
  letter-spacing: 1.6px;
  color: #a49aaf;
  margin: 0 12px 12px
}

.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 8px
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 10px;
  font-size: 13px;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 4px;
  min-height: 46px
}

.nav-link:hover {
  background: var(--panel-hover);
  color: var(--text)
}

.nav-link[aria-current=page] {
  background: #241333;
  border-color: var(--border);
  color: var(--text)
}

.nav-symbol {
  font-size: 21px;
  width: 22px;
  line-height: 1;
  color: var(--lavender);
  text-align: center
}

.nav-count {
  margin-left: auto;
  display: grid;
  place-items: center;
  font-size: 10px;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: #31113e;
  width: 23px;
  height: 23px;
  color: var(--lavender)
}

.sidebar-note {
  margin: auto 10px 38px;
  padding-top: 45px
}

.pixel-star {
  font-size: 33px;
  color: var(--lime);
  line-height: 1
}

.sidebar-note p {
  font-family: var(--retro);
  font-size: 9px;
  line-height: 2.1;
  color: var(--lavender);
  margin: 20px 0 12px
}

.sidebar-note>span:last-child {
  font-size: 8px;
  letter-spacing: .6px;
  color: var(--muted)
}

.sidebar-bottom {
  border-top: 1px solid var(--border);
  padding-top: 21px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  font-size: 10px;
  color: var(--muted);
  gap: 8px
}

.version-tag {
  font-size: 8px;
  letter-spacing: 1px;
  color: var(--lavender);
  font-family: var(--retro)
}

.sidebar-bottom a {
  margin-top: 7px;
  color: #c5b9d1;
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  width: 100%
}

.sidebar-bottom a:hover {
  color: var(--lime)
}

.workspace {
  margin-left: 224px;
  min-width: 0;
  flex: 1
}

.topbar {
  height: 70px;
  padding: 0 44px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px
}

.topbar-label {
  font-size: 9px;
  letter-spacing: 1.7px;
  color: var(--muted)
}

.preview-badge {
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap
}

.status-dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  background: var(--lime);
  flex-shrink: 0
}

main {
  max-width: 1370px;
  margin: 0 auto;
  padding: 40px 44px 48px;
  min-height: 65vh
}

.eyebrow {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.25px;
  color: var(--lavender);
  margin: 0 0 24px
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 18px;
  align-items: center;
  padding: 14px 0 38px;
  min-height: 365px
}

.hero-copy {
  position: relative;
  z-index: 1
}

.hero-copy .eyebrow {
  font-size: 8px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap
}

.hero-copy .eyebrow span {
  font-size: 15px;
  color: var(--lime)
}

h1,h2,h3,p {
  overflow-wrap: break-word
}

h1 {
  font-family: var(--retro);
  font-size: clamp(22px,2.2vw,33px);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -1.1px;
  margin: 0 0 19px
}

h1>span {
  color: var(--lime)
}

.hero-description {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
  margin: 0 0 26px
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 45px;
  padding: 11px 17px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.5;
  transition: transform .16s,background .16s
}

.button:hover {
  transform: translateY(-2px)
}

.button-primary {
  background: var(--lime);
  color: #181321;
  box-shadow: 3px 3px 0 var(--border)
}

.button-primary:hover {
  background: #dafaaa
}

.button-secondary {
  background: var(--panel);
  color: var(--text)
}

.text-link {
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ddd1e7;
  min-height: 40px
}

.text-link:hover {
  color: var(--lime)
}

.hero-art {
  position: relative;
  max-width: 460px;
  width: 100%;
  justify-self: end;
  margin-top: 0
}

.monitor-art {
  width: 100%;
  height: auto;
  display: block
}

.art-top {
  font-family: var(--retro);
  font-size: 7px;
  display: flex;
  justify-content: space-between;
  color: var(--lavender);
  padding: 0 35px;
  position: relative;
  top: 12px
}

.art-top span:last-child {
  color: var(--border);
  letter-spacing: 6px
}

.art-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 1px;
  margin-top: -3px
}

.art-bottom .status-dot {
  height: 4px;
  width: 4px
}

.learning-strip {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 17px 0;
  gap: 14px
}

.learning-strip>span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #cac0d4;
  font-size: 11px
}

.learning-strip>span+span {
  border-left: 1px solid var(--border)
}

.learning-strip>span>span {
  font-size: 18px;
  color: var(--lavender);
  line-height: 1
}

.catalog {
  padding-top: 43px;
  scroll-margin-top: 20px
}

.catalog-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px
}

.section-eyebrow {
  margin-bottom: 10px;
  font-size: 8px;
  letter-spacing: 1.6px
}

h2 {
  font-size: 23px;
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: -.6px;
  margin: 0 0 8px
}

.section-description {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
  line-height: 1.8
}

.catalog-total {
  font-size: 10px;
  white-space: nowrap;
  color: var(--muted);
  align-self: flex-end;
  margin-bottom: 6px
}

.catalog-total strong {
  font-family: var(--retro);
  color: var(--text);
  font-size: 10px;
  font-weight: 400;
  margin-right: 5px
}

.catalog-total>span {
  color: var(--border);
  font-size: 18px;
  padding: 0 11px
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 25px 0 20px
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 340px;
  max-width: 100%;
  position: relative
}

.search-box svg {
  position: absolute;
  left: 13px;
  width: 15px;
  height: 15px;
  color: var(--muted);
  pointer-events: none
}

.search-box input {
  width: 100%;
  background: #15101e;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 4px;
  padding: 11px 35px 11px 39px;
  min-height: 44px;
  font-size: 12px
}

.search-box input::placeholder {
  color: #aaa0b6;
  opacity: 1
}

.results-status {
  font-size: 10px;
  color: var(--muted)
}

.division-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 15px
}

.division-card {
  display: flex;
  flex-direction: column;
  min-height: 168px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: linear-gradient(125deg,#191120,#131019);
  transition: transform .17s,background .17s,box-shadow .17s
}

.division-card:hover {
  background: var(--panel-hover);
  transform: translateY(-3px);
  box-shadow: 3px 3px 0 var(--border)
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 17px
}

.icon-box {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  color: var(--lavender);
  background: #29143d;
  border: 1px solid var(--border);
  border-radius: 3px
}

.pixel-icon {
  height: 25px;
  width: 25px;
  shape-rendering: crispEdges
}

.card-code {
  font-family: var(--retro);
  font-size: 8px;
  color: #a295b2
}

.division-card h3 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.5;
  margin: 0 0 20px;
  max-width: 210px
}

.card-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  gap: 10px;
  font-size: 10px;
  color: var(--muted)
}

.card-bottom>span:first-child {
  display: flex;
  align-items: center;
  gap: 7px
}

.card-bottom>span:last-child {
  color: var(--lavender);
  font-size: 17px;
  line-height: 1
}

.tiny-square {
  width: 4px;
  height: 4px;
  background: #ad9abd;
  display: inline-block
}

.coming-note {
  margin-top: 24px;
  padding: 21px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #16101f
}

.coming-icon {
  font-size: 27px;
  color: var(--lavender);
  line-height: 1
}

.coming-note strong {
  font-size: 12px;
  font-weight: 600
}

.coming-note p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
  margin: 3px 0 0;
  max-width: 560px
}

.outline-tag {
  border: 1px solid var(--border);
  padding: 5px 8px;
  font-size: 7px;
  color: var(--lavender);
  letter-spacing: 1px;
  white-space: nowrap;
  display: inline-block;
  line-height: 1.8
}

.coming-note>.outline-tag {
  margin-left: auto
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 29px 44px 20px;
  color: var(--muted)
}

.footer-heading {
  font-size: 8px;
  color: #d6c7e4;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px
}

.mini-cross {
  font-size: 17px;
  color: var(--lavender);
  line-height: 1
}

.site-footer p {
  font-size: 11px;
  line-height: 1.85;
  margin: 4px 0;
  max-width: 850px
}

.footer-bottom {
  margin-top: 25px;
  padding-top: 17px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 9px
}

.footer-bottom a:hover {
  color: var(--lime)
}

.footer-pixel {
  margin-left: auto;
  color: var(--border);
  letter-spacing: 3px;
  font-size: 9px
}

.mobile-only {
  display: none
}

.loading-state {
  padding: 80px 0;
  color: var(--muted)
}

.page-intro {
  padding: 24px 0 33px
}

.page-intro>.eyebrow {
  margin-bottom: 18px
}

.page-intro h1 {
  font-size: clamp(22px,2.3vw,32px);
  margin-bottom: 18px
}

.page-intro>.section-description {
  font-size: 15px;
  max-width: 700px
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  min-height: 40px;
  margin-bottom: 25px
}

.back-link:hover {
  color: var(--lime)
}

.division-heading {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 12px
}

.division-heading h1 {
  font-family: var(--sans);
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -.7px;
  margin: 0;
  font-size: clamp(25px,3vw,39px)
}

.division-heading .eyebrow {
  margin: 0 0 10px;
  font-size: 9px
}

.icon-box.large {
  width: 65px;
  height: 65px;
  flex-shrink: 0
}

.icon-box.large .pixel-icon {
  width: 40px;
  height: 40px
}

.empty-division {
  border: 1px solid var(--border);
  border-radius: 5px;
  background: radial-gradient(ellipse at 50% 0,#241334 0,transparent 68%),#14101b;
  text-align: center;
  padding: 45px 25px;
  display: flex;
  align-items: center;
  flex-direction: column
}

.empty-pixel {
  color: var(--lime);
  margin-bottom: 21px
}

.empty-pixel .pixel-icon {
  width: 56px;
  height: 56px
}

.empty-division>.outline-tag {
  margin-bottom: 20px
}

.empty-division h2 {
  font-family: var(--retro);
  font-size: 18px;
  line-height: 1.9;
  font-weight: 400;
  margin-bottom: 13px
}

.empty-division p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
  margin: 0 0 26px;
  max-width: 650px
}

.empty-division>.text-link {
  margin-top: 17px
}

.division-details {
  padding: 21px 0;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 11px;
  color: var(--muted)
}

.how-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 42px;
  padding: 15px 0 30px
}

.how-steps {
  list-style: none;
  margin: 0;
  padding: 0
}

.how-steps li {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 25px 0;
  border-top: 1px solid var(--border)
}

.step-number {
  font-family: var(--retro);
  font-size: 12px;
  color: var(--lavender);
  padding-top: 7px
}

.how-steps h2 {
  font-size: 19px;
  margin: 0 0 9px
}

.how-steps p,.project-story p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
  margin: 0
}

.learning-panel {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 30px;
  align-self: start;
  border-radius: 5px
}

.learning-panel h2 {
  font-family: var(--retro);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.9;
  margin: 22px 0 17px
}

.learning-panel p {
  font-size: 14px;
  line-height: 2;
  color: var(--muted)
}

.panel-divider {
  border-top: 1px solid var(--border);
  margin: 24px 0
}

.learning-panel .small-copy {
  font-size: 12px;
  line-height: 1.8
}

.learning-panel .button {
  margin-top: 15px;
  width: 100%
}

.info-note {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
  padding: 20px 25px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #191120
}

.info-note strong {
  color: var(--text)
}

.project-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 50px;
  padding: 15px 0 25px
}

.project-story h2 {
  font-size: 21px;
  margin: 0 0 15px
}

.project-story p {
  margin-bottom: 18px
}

.project-story .text-link {
  color: var(--lime);
  margin-bottom: 33px
}

.project-story h2:not(:first-child) {
  margin-top: 16px
}

.project-status {
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 27px;
  background: var(--panel);
  align-self: start
}

.project-status .eyebrow {
  font-size: 8px;
  margin-bottom: 18px
}

.project-status h2 {
  font-size: 22px
}

.project-status dl {
  margin: 25px 0
}

.project-status dl>div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid var(--border);
  padding: 13px 0;
  font-size: 12px
}

.project-status dt {
  color: var(--muted)
}

.project-status dd {
  margin: 0;
  text-align: right
}

.search-empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 35px 20px;
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: 4px
}

.search-empty>span {
  font-size: 35px;
  color: var(--lavender)
}

.search-empty h3 {
  font-size: 18px;
  margin: 10px 0
}

.search-empty p {
  font-size: 13px;
  color: var(--muted)
}

.noscript-message {
  padding: 25px;
  background: var(--panel);
  position: fixed;
  bottom: 0;
  z-index: 5;
  width: 100%;
  border-top: 1px solid var(--border)
}

@media(min-width:1500px) {
  main {
    padding-top: 50px
  }
  .hero {
    gap: 35px;
    padding-bottom: 45px
  }
  .hero h1 {
    font-size: 35px
  }
  .hero-description {
    font-size: 16px
  }
  .hero-art {
    max-width: 485px
  }
  .hero-copy .eyebrow {
    font-size: 9px
  }
  .division-card {
    min-height: 180px
  }
}

@media(max-width:1150px) {
  .sidebar {
    width: 205px;
    padding-left: 16px;
    padding-right: 16px
  }
  .workspace {
    margin-left: 205px
  }
  .topbar {
    padding: 0 30px
  }
  main {
    padding: 30px
  }
  .site-footer {
    padding: 28px 30px 20px
  }
  .hero {
    grid-template-columns: 1.1fr .9fr;
    gap: 8px
  }
  .hero h1 {
    font-size: 25px
  }
  .hero-copy .eyebrow {
    font-size: 7px;
    letter-spacing: .7px
  }
  .hero-actions {
    gap: 16px
  }
  .hero-actions .button {
    font-size: 11px;
    gap: 13px;
    padding: 10px 13px
  }
  .hero-actions .text-link {
    font-size: 11px
  }
  .hero-description {
    font-size: 13px
  }
  .art-top {
    font-size: 6px;
    padding: 0 15px
  }
  .art-bottom {
    font-size: 6px;
    letter-spacing: .7px
  }
  .catalog-total {
    font-size: 9px
  }
  .catalog-heading h2 {
    font-size: 21px
  }
  .division-card {
    padding: 17px;
    min-height: 167px
  }
  .division-card h3 {
    font-size: 13px
  }
  .coming-note>.outline-tag {
    display: none
  }
  .learning-strip>span {
    font-size: 10px;
    gap: 7px
  }
  .project-layout {
    gap: 28px
  }
  .how-layout {
    gap: 27px;
    grid-template-columns: 1.4fr 1fr
  }
  .learning-panel {
    padding: 24px
  }
  .learning-panel h2 {
    font-size: 13px
  }
}

@media(max-width:900px) {
  .sidebar {
    position: static;
    width: auto;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 18px 25px 0;
    gap: 0 20px;
    border-right: 0;
    border-bottom: 1px solid var(--border)
  }
  .app-shell {
    display: block
  }
  .brand {
    font-size: 17px;
    gap: 9px
  }
  .brand svg {
    width: 29px;
    height: 29px
  }
  .brand-byline {
    margin: 0 0 0 auto;
    align-self: center;
    font-size: 8px
  }
  .nav-label,.sidebar-note,.sidebar-bottom {
    display: none
  }
  .sidebar nav {
    flex-direction: row;
    gap: 12px;
    width: 100%;
    margin-top: 20px
  }
  .nav-link {
    border-radius: 3px 3px 0 0;
    padding: 10px 13px;
    font-size: 12px;
    min-height: 46px;
    border-bottom: 0
  }
  .nav-symbol {
    font-size: 18px
  }
  .nav-count {
    height: 20px;
    width: 22px
  }
  .workspace {
    margin-left: 0
  }
  .topbar {
    height: 52px;
    padding: 0 28px
  }
  .topbar-label {
    font-size: 8px
  }
  .preview-badge {
    font-size: 10px
  }
  main {
    padding: 28px
  }
  .hero {
    min-height: 340px;
    grid-template-columns: 1.1fr 1fr
  }
  .hero h1 {
    font-size: 26px
  }
  .hero-copy .eyebrow {
    font-size: 7px
  }
  .hero-description {
    font-size: 13px
  }
  .hero-actions {
    gap: 21px
  }
  .learning-strip {
    padding: 16px 0
  }
  .catalog {
    padding-top: 32px
  }
  .division-grid {
    gap: 13px
  }
  .division-card {
    min-height: 166px
  }
  .site-footer {
    padding: 28px
  }
  .how-layout {
    grid-template-columns: 1.4fr 1fr
  }
  .project-layout {
    grid-template-columns: 1.2fr 1fr
  }
  .page-intro {
    padding-top: 16px
  }
}

@media(max-width:650px) {
  .sidebar {
    padding: 17px 20px 0
  }
  .brand-byline {
    font-size: 6.8px;
    max-width: 120px;
    line-height: 1.8;
    letter-spacing: .8px;
    text-align: right
  }
  .brand {
    font-size: 16px
  }
  .sidebar nav {
    gap: 7px;
    justify-content: space-between;
    margin-top: 18px
  }
  .nav-link {
    padding: 9px 9px;
    gap: 6px;
    font-size: 11px
  }
  .nav-symbol {
    font-size: 19px;
    width: 18px
  }
  .nav-count {
    display: none
  }
  .topbar {
    padding: 0 20px;
    height: 46px
  }
  .topbar-label {
    font-size: 6.8px;
    letter-spacing: 1px
  }
  .preview-badge {
    font-size: 9px;
    gap: 6px
  }
  .status-dot {
    height: 5px;
    width: 5px
  }
  main {
    padding: 25px 20px 30px
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 3px 0 24px;
    min-height: auto
  }
  .hero h1 {
    font-size: clamp(24px,5.7vw,32px);
    line-height: 1.7;
    letter-spacing: -1px
  }
  .hero-copy .eyebrow {
    font-size: 7px;
    letter-spacing: .6px;
    margin-bottom: 20px
  }
  .hero-description {
    font-size: 14px;
    line-height: 1.85
  }
  .hero-actions {
    gap: 22px
  }
  .hero-actions .button {
    font-size: 12px;
    padding: 12px 15px;
    gap: 18px
  }
  .hero-actions .text-link {
    font-size: 12px
  }
  .hero-art {
    width: 80%;
    max-width: 330px;
    justify-self: center;
    margin: 22px 0 0
  }
  .art-top {
    font-size: 6px
  }
  .art-bottom {
    font-size: 6px;
    letter-spacing: 1px
  }
  .learning-strip {
    grid-template-columns: 1fr 1fr;
    padding: 8px 0;
    gap: 0
  }
  .learning-strip>span {
    justify-content: flex-start;
    padding: 8px 4px;
    font-size: 11px;
    gap: 10px
  }
  .learning-strip>span+span {
    border-left: 0
  }
  .learning-strip>span:nth-child(even) {
    padding-left: 20px;
    border-left: 1px solid var(--border)
  }
  .catalog {
    padding-top: 30px
  }
  .catalog-heading {
    display: block
  }
  .catalog-heading h2 {
    font-size: 23px;
    line-height: 1.4
  }
  .mobile-only {
    display: block
  }
  .catalog-total {
    margin: 15px 0 0;
    font-size: 10px
  }
  .catalog-total strong {
    font-size: 10px
  }
  .section-description {
    font-size: 13px
  }
  .catalog-toolbar {
    margin: 19px 0 16px;
    gap: 12px
  }
  .search-box {
    width: 100%
  }
  .search-box input {
    font-size: 12px
  }
  .results-status {
    white-space: nowrap;
    font-size: 9px
  }
  .division-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 12px
  }
  .division-card {
    padding: 15px 13px;
    min-height: 174px
  }
  .card-top {
    margin-bottom: 15px
  }
  .card-code {
    font-size: 7px
  }
  .icon-box {
    width: 33px;
    height: 33px
  }
  .pixel-icon {
    width: 23px;
    height: 23px
  }
  .division-card h3 {
    font-size: 13px;
    margin-bottom: 15px;
    line-height: 1.55
  }
  .card-bottom {
    font-size: 9px;
    padding-top: 10px;
    gap: 2px
  }
  .card-bottom>span:first-child {
    gap: 5px
  }
  .card-bottom>span:last-child {
    font-size: 16px
  }
  .coming-note {
    padding: 17px 15px;
    gap: 11px;
    align-items: flex-start
  }
  .coming-icon {
    font-size: 23px;
    margin-top: 5px
  }
  .coming-note strong {
    font-size: 12px
  }
  .coming-note p {
    font-size: 11px
  }
  .site-footer {
    padding: 25px 20px 20px
  }
  .site-footer p {
    font-size: 11px
  }
  .footer-heading {
    font-size: 7px;
    letter-spacing: .6px
  }
  .footer-bottom {
    font-size: 8px;
    gap: 14px;
    flex-wrap: wrap
  }
  .footer-pixel {
    font-size: 7px
  }
  .page-intro h1 {
    font-size: 22px;
    line-height: 1.8;
    letter-spacing: -.8px
  }
  .page-intro>.section-description {
    font-size: 14px
  }
  .division-heading {
    gap: 14px
  }
  .division-heading h1 {
    font-size: 25px;
    letter-spacing: -.5px;
    line-height: 1.4
  }
  .division-heading .eyebrow {
    font-size: 8px
  }
  .icon-box.large {
    height: 53px;
    width: 53px
  }
  .icon-box.large .pixel-icon {
    width: 33px;
    height: 33px
  }
  .empty-division {
    padding: 32px 17px
  }
  .empty-division h2 {
    font-size: 14px;
    line-height: 2
  }
  .empty-division p {
    font-size: 13px
  }
  .empty-division .button {
    font-size: 11px;
    gap: 15px
  }
  .division-details {
    font-size: 10px;
    flex-direction: column;
    gap: 8px
  }
  .desktop-break {
    display: none
  }
  .how-layout {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 0
  }
  .how-steps li {
    gap: 16px;
    padding: 22px 0
  }
  .how-steps h2 {
    font-size: 18px
  }
  .how-steps p {
    font-size: 14px
  }
  .learning-panel {
    padding: 25px
  }
  .learning-panel h2 {
    font-size: 16px
  }
  .learning-panel .button {
    width: auto
  }
  .info-note {
    padding: 18px
  }
  .project-layout {
    grid-template-columns: 1fr;
    gap: 25px
  }
  .project-story p {
    font-size: 14px
  }
  .project-status {
    padding: 23px
  }
  .back-link {
    margin-bottom: 17px
  }
  .search-empty {
    padding: 25px 15px
  }
}

@media(max-width:370px) {
  .sidebar {
    padding-left: 15px;
    padding-right: 15px
  }
  .brand-byline {
    font-size: 6px;
    max-width: 98px
  }
  .nav-link {
    font-size: 10px;
    padding: 9px 6px
  }
  .topbar {
    padding: 0 15px
  }
  .topbar-label {
    font-size: 6px
  }
  main {
    padding: 22px 15px
  }
  .hero h1 {
    font-size: 23px
  }
  .hero-copy .eyebrow {
    font-size: 6.2px
  }
  .hero-actions {
    gap: 15px
  }
  .hero-actions .button {
    font-size: 11px;
    padding: 11px 12px;
    gap: 10px
  }
  .hero-actions .text-link {
    font-size: 11px
  }
  .division-grid {
    gap: 10px
  }
  .division-card {
    padding: 13px 11px
  }
  .division-card h3 {
    font-size: 12px
  }
  .card-bottom {
    font-size: 8px
  }
  .site-footer {
    padding-left: 15px;
    padding-right: 15px
  }
}

@media(max-width:370px) {
  .hero h1 {
    font-size: 20px
  }
  .sidebar nav {
    gap: 2px
  }
  .nav-link {
    padding: 9px 3px;
    gap: 4px;
    font-size: 10px
  }
  .nav-symbol {
    font-size: 16px;
    width: 16px
  }
  .nav-link {
    white-space: nowrap
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }
  *,*::before,*::after {
    transition: none!important;
    animation: none!important
  }
}

.video-slot video {display:block;width:100%;max-height:440px;background:#100d19;border:1px solid #56008C;}
