/* ==========================================================================
   Dynamic Resus Live Online sales page
   Dynamic Simulation brand system: deep teal, mint, IBM Plex Sans, Poppins
   ========================================================================== */

:root {
  --deep: #022e34;
  --deeper: #011f24;
  --teal: #034d57;
  --teal-2: #022e34;
  --mint: #bee2cf;
  --mint-bright: #d8eee2;
  --ivory: #f5f3f3;
  --white: #fbfaf9;
  --ink: #0b2b30;
  --muted: #5b7173;
  --line: rgba(2, 46, 52, 0.16);
  --line-dark: rgba(190, 226, 207, 0.24);
  --head: "IBM Plex Sans", system-ui, sans-serif;
  --body: "Poppins", system-ui, sans-serif;
  --gutter: clamp(18px, 3.6vw, 60px);
  --wrap-w: min(1320px, calc(100% - (var(--gutter) * 2)));
  --header-h: 78px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3, h4, p, figure, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
sup { font-size: 0.6em; vertical-align: super; }

h1, h2, h3 {
  font-family: var(--head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.035em;
  line-height: 0.98;
}

h1 { font-size: clamp(2.1rem, 7.6vw, 7.4rem); }
h2 { font-size: clamp(2.15rem, 4.7vw, 4.5rem); }
h3 { font-size: clamp(1.15rem, 1.9vw, 1.55rem); letter-spacing: 0.025em; }

::selection { background: var(--mint); color: var(--deep); }

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 3px;
}

.section-ivory :focus-visible,
.section-mint :focus-visible,
.fact-strip :focus-visible {
  outline-color: var(--teal-2);
}

.wrap { width: var(--wrap-w); margin-inline: auto; }
.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 200;
  background: var(--mint);
  color: var(--deep);
  padding: 12px 18px;
  font: 700 12px var(--head);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* --------------------------------------------------------------------------
   Eyebrows, buttons, links
   -------------------------------------------------------------------------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 600 0.69rem/1.2 var(--head);
  letter-spacing: 0.19em;
  text-transform: uppercase;
}
.eyebrow-mint { color: var(--mint); }
.eyebrow-teal { color: var(--teal-2); }
.eyebrow-deep { color: var(--deep); }
.eyebrow-dot {
  width: 8px;
  height: 8px;
  background: var(--mint);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(190, 226, 207, 0.16);
  flex: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  padding: 17px 26px;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--deep);
  font: 700 0.76rem/1 var(--head);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn .icon { width: 17px; height: 17px; transition: transform 0.18s ease; }
.btn:hover .icon { transform: translateX(4px); }
.btn-primary { background: var(--mint); color: var(--deep); }
.btn-primary:hover { background: var(--white); color: var(--deep); }
.btn-ghost { border-color: rgba(190, 226, 207, 0.55); color: var(--ivory); }
.btn-ghost:hover { border-color: var(--mint); background: rgba(190, 226, 207, 0.1); color: var(--mint); }
.btn-dark { background: var(--deep); color: var(--mint); }
.btn-dark:hover { background: var(--teal); color: var(--white); }
.btn-sm { min-height: 42px; padding: 12px 17px; font-size: 0.65rem; letter-spacing: 0.11em; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font: 600 0.82rem var(--head);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  transition: gap 0.18s ease, color 0.18s ease;
}
.text-link .icon { width: 15px; height: 15px; }
.text-link:hover { gap: 13px; }
.text-link-mint { color: var(--mint); }
.text-link-mint:hover { color: var(--white); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(2, 46, 52, 0.96);
  border-bottom: 1px solid rgba(190, 226, 207, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}
.site-header.is-scrolled { background: rgba(2, 46, 52, 0.99); box-shadow: 0 10px 30px rgba(0, 20, 24, 0.28); }
.header-inner { min-height: var(--header-h); display: flex; align-items: center; gap: 30px; }
.brand { flex: none; display: block; }
.brand img { width: clamp(160px, 15vw, 196px); height: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 30px); margin-left: auto; }
.site-nav a {
  padding: 7px 0;
  color: #d6e6e1;
  font: 600 0.67rem/1 var(--head);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.site-nav a:hover { color: var(--mint); border-bottom-color: var(--mint); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.cta-short { display: none; }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 10px 12px;
  background: transparent;
  border: 1px solid rgba(190, 226, 207, 0.4);
  color: var(--ivory);
  font: 600 0.65rem var(--head);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.menu-bars { display: grid; gap: 5px; width: 18px; }
.menu-bars i { display: block; height: 1px; background: currentColor; transition: transform 0.2s ease, opacity 0.2s ease; }
.menu-toggle[aria-expanded="true"] .menu-bars i:first-child { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars i:last-child { transform: translateY(-3px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--deep);
  color: var(--ivory);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 82% 6%, rgba(10, 107, 120, 0.55), transparent 52%),
    radial-gradient(ellipse at 4% 86%, rgba(3, 77, 87, 0.55), transparent 58%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(190, 226, 207, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(190, 226, 207, 0.05) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 88%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 88%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; padding-block: clamp(46px, 6vw, 86px) clamp(46px, 6vw, 74px); }
.hero h1 { margin-top: clamp(18px, 2.4vw, 30px); max-width: 16ch; color: var(--ivory); }
.hero h1 span { color: var(--mint); }
.hero-lower {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  margin-top: clamp(26px, 3.4vw, 44px);
}
.hero-lede { max-width: 64ch; color: #d6e6e1; font-size: clamp(1rem, 1.35vw, 1.14rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.faculty-note { margin-top: 18px; color: #a9c4bd; font-size: 0.86rem; }
.faculty-note a { color: var(--mint); text-decoration: none; border-bottom: 1px solid rgba(190, 226, 207, 0.55); padding-bottom: 2px; display: inline-flex; align-items: center; gap: 7px; }
.faculty-note a:hover { border-bottom-color: var(--mint); }
.faculty-note .icon { width: 14px; height: 14px; }

.hero-media { margin-top: clamp(34px, 5vw, 58px); }
.media-frame { border: 1px solid rgba(190, 226, 207, 0.34); background: #06262b; }
.media-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(190, 226, 207, 0.22);
  font: 600 0.65rem var(--head);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #c7dbd5;
}
.media-label { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.media-divider { color: rgba(190, 226, 207, 0.45); }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 8px;
  background: var(--mint);
  color: var(--deep);
  font: 700 0.6rem var(--head);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.chip::before { content: ""; width: 6px; height: 6px; background: var(--deep); border-radius: 50%; }
.media-body { position: relative; aspect-ratio: 2.4 / 1; overflow: hidden; background: #06262b; }
.media-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.22; filter: saturate(0.7) contrast(0.95); }
.media-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(2, 46, 52, 0.25), rgba(2, 46, 52, 0.86) 72%),
    linear-gradient(to top, rgba(1, 31, 36, 0.75), transparent 55%);
}
.media-pending {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
}
.play-mark {
  display: grid;
  place-items: center;
  width: clamp(46px, 5vw, 64px);
  height: clamp(46px, 5vw, 64px);
  border: 1px solid rgba(190, 226, 207, 0.7);
  border-radius: 50%;
  color: var(--mint);
  margin-bottom: 6px;
}
.play-mark .icon { width: 24px; height: 24px; fill: currentColor; stroke: none; margin-left: 3px; }
.media-title { font: 700 clamp(1.05rem, 1.7vw, 1.45rem)/1.2 var(--head); letter-spacing: 0.02em; color: var(--ivory); }
.media-sub { color: #a9c4bd; font-size: clamp(0.76rem, 1vw, 0.86rem); }
.media-caption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 28px; margin-top: 13px; color: #a9c4bd; font-size: 0.8rem; }
.media-caption strong { color: #d6e6e1; font-weight: 500; }
.footage-spec { max-width: 46ch; }
.footage-spec summary { cursor: pointer; color: var(--mint); font: 600 0.68rem var(--head); letter-spacing: 0.09em; text-transform: uppercase; }
.footage-spec ul { margin: 9px 0 0; padding-left: 18px; display: grid; gap: 4px; font-size: 0.76rem; color: #9fbab4; }

/* --------------------------------------------------------------------------
   Fact strip
   -------------------------------------------------------------------------- */

.fact-strip { background: var(--mint); color: var(--deep); }
.fact-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact-grid span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 13px 16px;
  border-left: 1px solid rgba(2, 46, 52, 0.24);
  font: 600 0.66rem/1.25 var(--head);
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}
.fact-grid span:first-child { border-left: 0; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section { padding-block: clamp(68px, 9vw, 132px); scroll-margin-top: calc(var(--header-h) + 8px); }
.section-ivory { background: var(--ivory); color: var(--ink); }
.section-dark { background: var(--deep); color: var(--ivory); }
.section-mint { background: var(--mint); color: var(--deep); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
  gap: clamp(24px, 5vw, 76px);
  align-items: end;
  margin-bottom: clamp(38px, 5vw, 66px);
}
.section-head h2 { margin-top: 14px; }
.section-lede { max-width: 48ch; color: var(--muted); font-size: clamp(0.98rem, 1.2vw, 1.07rem); }
.section-dark .section-lede { color: #c9dbd6; }
.section-mint .section-lede { color: #000; }
.accent { color: var(--teal-2); }

/* --------------------------------------------------------------------------
   Difference
   -------------------------------------------------------------------------- */

.difference-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.difference-card { padding: 26px 28px 4px 0; border-right: 1px solid var(--line); }
.difference-card + .difference-card { padding-left: 28px; }
.difference-card:last-child { border-right: 0; }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.card-number { font: 600 0.7rem var(--head); letter-spacing: 0.16em; color: var(--teal-2); }
.card-icon { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); color: var(--teal-2); }
.card-icon .icon { width: 21px; height: 21px; }
.difference-card h3 { font-size: clamp(1.08rem, 1.5vw, 1.32rem); margin-bottom: 12px; }
.difference-card p { color: var(--muted); font-size: 0.96rem; }

.callout {
  display: grid;
  grid-template-columns: 1.05fr 1fr auto;
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
  margin-top: clamp(38px, 5vw, 60px);
  padding: clamp(24px, 4vw, 44px);
  background: var(--deep);
  color: var(--ivory);
}
.callout h3 { margin-top: 12px; color: var(--mint); font-size: clamp(1.45rem, 2.5vw, 2.35rem); }
.callout p:not(.eyebrow) { color: #c9dbd6; font-size: 0.96rem; }

/* --------------------------------------------------------------------------
   Inside the bay
   -------------------------------------------------------------------------- */

.learner-tour {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.78fr);
  border: 1px solid rgba(190, 226, 207, 0.3);
  background: #06272c;
}
.tour-main { padding: clamp(14px, 2.2vw, 24px); min-width: 0; }
.tour-side { display: flex; flex-direction: column; gap: 20px; padding: clamp(18px, 2.6vw, 30px); background: #082e33; border-left: 1px solid rgba(190, 226, 207, 0.22); }
.tour-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tour-status { display: inline-flex; align-items: center; gap: 8px; font: 600 0.66rem var(--head); letter-spacing: 0.12em; text-transform: uppercase; color: #bcd3cd; }
.tour-status i { width: 7px; height: 7px; background: #8fe0b8; border-radius: 50%; box-shadow: 0 0 0 4px rgba(143, 224, 184, 0.14); }
.tour-roster { display: flex; flex-wrap: wrap; gap: 6px; margin: 13px 0; }
.tour-roster button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: transparent;
  border: 1px solid rgba(190, 226, 207, 0.28);
  color: #e6f1ed;
  font: 600 0.7rem var(--head);
  letter-spacing: 0.03em;
  transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}
.tour-roster button:hover,
.tour-roster button[aria-pressed="true"] { border-color: var(--mint); background: rgba(190, 226, 207, 0.12); color: var(--mint); }
.tour-roster .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--dot); flex: none; }
.tour-roster .role { color: #93b3ac; font-weight: 400; }

.tour-room { position: relative; overflow: hidden; border: 1px solid rgba(190, 226, 207, 0.32); background: #0a1b20; }
.tour-room > img { width: 100%; height: auto; }
.tour-pin,
.tour-person {
  position: absolute;
  top: var(--py);
  left: var(--px);
  z-index: 2;
  transform: translate(-50%, -50%);
  padding: 3px;
  border: 0;
  background: none;
  color: var(--ivory);
}
.tour-pin::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: -1;
  width: clamp(7px, 1.1vw, 13px);
  aspect-ratio: 1;
  transform: translate(-50%, 92%);
  border: 2px solid #c1e8df;
  border-radius: 50%;
  background: #114a48;
}
.tour-pin span,
.tour-person-label {
  display: block;
  padding: 4px 6px;
  border: 1px solid rgba(190, 226, 207, 0.55);
  background: rgba(4, 34, 40, 0.94);
  color: #f3f9f7;
  white-space: nowrap;
  font: 600 clamp(0.54rem, 0.95vw, 0.7rem)/1.1 var(--head);
  letter-spacing: 0.02em;
}
.tour-pin:hover,
.tour-pin:focus,
.tour-pin[aria-pressed="true"],
.tour-person:hover,
.tour-person:focus,
.tour-person[aria-pressed="true"] { z-index: 5; }
.tour-pin:hover span,
.tour-pin:focus span,
.tour-pin[aria-pressed="true"] span,
.tour-person:hover .tour-person-label,
.tour-person:focus .tour-person-label,
.tour-person[aria-pressed="true"] .tour-person-label { background: var(--mint); color: var(--deep); border-color: #e8f7ef; }
.tour-person { display: grid; justify-items: center; gap: 2px; transform: translate(-50%, -68%); }
.tour-person svg { width: clamp(21px, 3.4vw, 46px); height: auto; filter: drop-shadow(0 2px 2px rgba(3, 49, 49, 0.65)); }
.tour-monitor {
  position: absolute;
  left: 48.15%;
  top: 15%;
  width: 29.1%;
  height: 22%;
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  padding: 3px 4px;
  overflow: hidden;
  background: #08151a;
  border-radius: 2px;
  pointer-events: none;
}
.tour-monitor > div {
  display: grid;
  grid-template-columns: 21% 44% 35%;
  align-items: center;
  min-width: 0;
  min-height: 0;
  border-bottom: 1px solid #233f42;
  color: #80f39b;
  font: 700 clamp(0.19rem, 0.9vw, 0.7rem)/1 ui-monospace, monospace;
  white-space: nowrap;
}
.tour-monitor > div:last-child { border-bottom: 0; }
.tour-monitor small { font-size: 0.72em; }
.tour-monitor strong { text-align: right; font-size: 1em; }
.tour-monitor svg { width: 100%; height: 100%; }
.tour-monitor path { fill: none; stroke: currentColor; stroke-width: 3; }
.tour-monitor > div:nth-child(2) { color: #57d5f0; }
.tour-monitor > div:nth-child(3) { color: #ff827c; }
.tour-monitor > div:nth-child(4) { color: #f6e198; }
.tour-tooltip {
  position: absolute;
  z-index: 7;
  left: clamp(14%, var(--tip-x), 86%);
  top: var(--tip-y);
  width: min(245px, 42%);
  transform: translate(-50%, 14px);
  padding: 9px 10px;
  border: 1px solid #aacdc2;
  background: rgba(7, 31, 37, 0.97);
  color: #edf9f3;
  font-size: 0.76rem;
  line-height: 1.35;
  box-shadow: 0 8px 16px rgba(0, 29, 32, 0.6);
  pointer-events: none;
}
.tour-readout { border-bottom: 1px solid rgba(190, 226, 207, 0.22); padding-bottom: 18px; }
.tour-readout h3 { margin: 9px 0 10px; color: var(--ivory); font-size: clamp(1.2rem, 1.8vw, 1.65rem); }
.tour-readout > p:last-child { color: #c3d8d2; font-size: 0.88rem; }
.tour-options { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.tour-options button {
  padding: 9px 10px;
  border: 1px solid rgba(190, 226, 207, 0.24);
  background: transparent;
  color: #dcebe6;
  font: 500 0.7rem/1.3 var(--body);
  text-align: left;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.tour-options button:hover,
.tour-options button[aria-pressed="true"] { background: var(--mint); border-color: var(--mint); color: var(--deep); }
.tour-side-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(190, 226, 207, 0.22); }
.tour-side-foot p { margin-bottom: 12px; color: #9fbab4; font-size: 0.76rem; }

/* --------------------------------------------------------------------------
   Try the bay
   -------------------------------------------------------------------------- */

.mini-case {
  padding: clamp(14px, 2.6vw, 30px);
  background: #05262b;
  border: 1px solid rgba(2, 46, 52, 0.35);
  color: var(--ivory);
}
.mini-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mini-top h3 { margin-top: 9px; color: var(--ivory); font-size: clamp(1.35rem, 2.4vw, 2rem); }
.mini-top button {
  min-height: 42px;
  padding: 10px 13px;
  border: 1px solid rgba(190, 226, 207, 0.4);
  background: transparent;
  color: var(--ivory);
  font: 600 0.68rem var(--head);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mini-top button:hover { border-color: var(--mint); color: var(--mint); }
#sim-context { margin: 12px 0 18px; color: #a9c4bd; font-size: 0.82rem; }
.game-overview { max-width: 1000px; margin-inline: auto; }
.spatial { min-width: 0; }
.walk-bay {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(190, 226, 207, 0.4);
  background: #0a1b20;
  outline-offset: 3px;
  touch-action: manipulation;
}
.walk-bay img { width: 100%; height: auto; user-select: none; pointer-events: none; }
.walk-bay .keyboard-area { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: crosshair; }
.walk-bay .hotspot {
  position: absolute;
  z-index: 2;
  transform: translate(-50%, -50%);
  min-height: 32px;
  padding: 6px 8px;
  border: 1px solid rgba(190, 226, 207, 0.75);
  border-radius: 0;
  background: rgba(4, 54, 60, 0.94);
  color: #eef8f5;
  white-space: nowrap;
  font: 700 clamp(0.62rem, 1.15vw, 0.82rem)/1 var(--head);
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(4, 28, 34, 0.85);
}
.walk-bay .hotspot.is-near,
.walk-bay .hotspot:hover { background: var(--mint); color: var(--deep); }
.hotspot[data-station="meds"] { left: 84%; top: 50%; }
.hotspot[data-station="pump"] { left: 68%; top: 43%; }
.hotspot[data-station="headwall"] { left: 28%; top: 29%; }
.hotspot[data-station="bed"] { left: 63%; top: 66%; }
.walker {
  position: absolute;
  z-index: 3;
  width: clamp(12px, 2.2vw, 25px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 2px solid #04494d;
  border-radius: 50%;
  background: #87e2bc;
  box-shadow: 0 0 0 2px #dff6e8, 0 3px 11px #022227;
  pointer-events: none;
}
.walker span { position: absolute; left: 50%; top: 100%; transform: translate(-50%, 4px); padding: 3px 6px; background: #062d33; color: #fff; font: 700 0.72rem/1 var(--head); }
#on-patient { position: absolute; left: 51%; top: 62%; z-index: 4; transform: translate(-50%, -50%); padding: 3px 8px; border: 1px solid #c6f0de; border-radius: 12px; background: #1c5754; color: #f4fff9; font: 0.7rem var(--head); }
.keyboard-help { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.keyboard-help button {
  flex: none;
  padding: 7px 10px;
  border: 1px solid rgba(190, 226, 207, 0.45);
  background: #0d3a3f;
  color: #e8f5ef;
  font: 600 0.7rem var(--head);
}
.keyboard-help button.keyboard-active { background: var(--mint); border-color: var(--mint); color: var(--deep); }
.key-help { color: #bcd3cd; font-size: 0.76rem; }
.key-help strong { color: var(--ivory); font-weight: 500; }
.key-help kbd { color: var(--mint); font-size: 0.95em; }

.in-world-monitor {
  position: absolute;
  left: 48.1%;
  top: 15.1%;
  z-index: 2;
  display: grid;
  grid-template-rows: 13% 87%;
  width: 29.3%;
  height: 22%;
  overflow: hidden;
  border-radius: 2px;
  background: #071215;
  container-type: inline-size;
}
.in-world-monitor .wall-monitor-kicker { padding: 0 3%; background: #203037; color: #ccdeda; font: 700 clamp(0.24rem, 4.1cqw, 0.69rem) ui-monospace, monospace; line-height: 1.05; }
.in-world-monitor .mini-monitor { gap: 0; min-height: 0; border: 0; border-radius: 0; }
.mini-monitor { display: grid; grid-template-columns: 1fr 1fr; gap: 0; overflow: hidden; border: 1px solid #668982; border-radius: 0; background: #061012; }
.trace-side {
  display: grid;
  grid-template-rows: repeat(5, 1fr);
  min-width: 0;
  padding: 5px 11px;
  background:
    repeating-linear-gradient(0deg, transparent 0 20px, rgba(28, 60, 61, 0.33) 20px 21px),
    repeating-linear-gradient(90deg, transparent 0 20px, rgba(28, 60, 61, 0.33) 20px 21px);
}
.trace-side > div { display: grid; grid-template-columns: 3.6em minmax(0, 1fr); align-items: center; gap: 5px; min-width: 0; color: #77f58f; font: 700 0.72rem ui-monospace, monospace; }
.trace-side > div:nth-child(2) { color: #68ddf6; }
.trace-side > div:nth-child(3) { color: #ff827c; }
.trace-side > div:nth-child(4) { color: #f5e988; }
.trace-side svg { width: 100%; height: 32px; overflow: visible; }
.trace-side path { fill: none; stroke: currentColor; stroke-width: 1.5px; vector-effect: non-scaling-stroke; }
.monitor-numbers { display: grid; grid-template-rows: repeat(5, 1fr); margin: 0; border-left: 1px solid #476662; font-family: var(--head); font-weight: 700; }
.monitor-numbers > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 3px 12px; border-bottom: 1px solid #233f3e; color: #77f58f; }
.monitor-numbers > div:last-child { border-bottom: 0; color: #ecf5f4; }
.monitor-numbers > div:nth-child(2) { color: #68ddf6; }
.monitor-numbers > div:nth-child(3) { color: #ff827c; }
.monitor-numbers > div:nth-child(4) { color: #f5e988; }
.monitor-numbers > div:nth-child(5) { color: #f8c983; }
.monitor-numbers dd { margin: 0; font-size: clamp(1.1rem, 3.4vw, 2rem); line-height: 1.1; font-variant-numeric: tabular-nums; }
.monitor-numbers dt { font-size: 0.78rem; }
.in-world-monitor .trace-side { gap: 0; padding: 0 3px; }
.in-world-monitor .trace-side > div { grid-template-columns: 23% 76%; gap: 0; min-height: 0; font-size: clamp(0.19rem, 3.75cqw, 0.65rem); }
.in-world-monitor .trace-side svg { width: 100%; height: 100%; min-height: 0; }
.in-world-monitor .trace-side path { stroke-width: 0.8px; }
.in-world-monitor .monitor-numbers > div { gap: 2px; min-height: 0; padding: 0 4%; white-space: nowrap; }
.in-world-monitor .monitor-numbers dd { font-size: clamp(0.33rem, 7.6cqw, 1.45rem); line-height: 1; }
.in-world-monitor .monitor-numbers dt { font-size: clamp(0.2rem, 4cqw, 0.7rem); line-height: 1; }
#open-sim-monitor { position: absolute; inset: 0; z-index: 3; border: 0; background: transparent; cursor: zoom-in; }
#open-sim-monitor:focus-visible { outline-offset: -2px; }

.radio { max-width: 1000px; margin: 16px auto; padding: 13px 16px; border: 1px solid rgba(190, 226, 207, 0.3); border-left: 3px solid var(--mint); background: #0b3438; }
.radio .eyebrow { margin-bottom: 6px; font-size: 0.63rem; }
.radio p:last-child { font-size: 0.9rem; color: #e3efeb; }

.pinned-vitals {
  position: sticky;
  top: calc(var(--header-h) + 6px);
  z-index: 8;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1000px;
  margin: 0 auto;
  border: 1px solid #56927e;
  background: #06191c;
  color: var(--ivory);
  box-shadow: 0 5px 13px rgba(4, 24, 27, 0.8);
  font: 600 0.7rem/1.15 var(--head);
  visibility: hidden;
  pointer-events: none;
}
.pinned-vitals.show { visibility: visible; }
.pinned-vitals span { min-width: 0; padding: 7px 3px; color: #bad9d0; text-align: center; }
.pinned-vitals span + span { border-left: 1px solid #365955; }
.pinned-vitals b { display: inline-block; margin-left: 3px; color: var(--mint); font-size: 0.92rem; font-variant-numeric: tabular-nums; }
.pinned-vitals span:nth-child(2) b { color: #68ddf6; }
.pinned-vitals span:nth-child(3) b { color: #ff928d; }

.new-order { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1000px; margin: 0 auto 14px; padding: 12px 15px; border: 1px solid #ffce73; border-radius: 0; background: #422d18; color: #ffebc5; }
.new-order strong { color: #ffd98b; font: 700 0.68rem var(--head); letter-spacing: 0.12em; text-transform: uppercase; }
.new-order p { margin-top: 3px; font: 600 1.1rem var(--head); }
.new-order > span { color: #fff2ca; font: 700 1.05rem ui-monospace, monospace; }
.oxygen-result { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 9px; max-width: 1000px; margin: 0 auto 14px; padding: 12px 15px; border: 1px solid #9ce5bd; border-radius: 0; background: #183f36; color: #f0fff4; }

.walk-controls { display: grid; grid-template-columns: minmax(0, 1.64fr) minmax(220px, 1fr); gap: 13px; align-items: start; max-width: 1000px; margin-inline: auto; }
.lane { padding: 16px; border: 1px solid rgba(190, 226, 207, 0.28); background: #08272a; }
.lane .eyebrow { margin-bottom: 8px; font-size: 0.62rem; }
.lane h4 { margin: 0 0 8px; font: 700 1.08rem/1.2 var(--head); text-transform: uppercase; letter-spacing: 0.03em; }
.lane p:not(.eyebrow) { margin: 0 0 10px; color: #cbded8; font-size: 0.85rem; }
.lane form { display: grid; gap: 9px; }
.lane label { display: grid; gap: 4px; font: 600 0.88rem var(--head); }
.lane input { width: 100%; min-height: 42px; padding: 7px; border: 1px solid #719690; border-radius: 0; background: #123b3d; color: #fff; font: 600 1rem var(--head); }
.lane button,
.tray-preview button { min-height: 42px; padding: 9px 11px; border: 1px solid transparent; border-radius: 0; background: var(--mint); color: #082c2d; font: 600 0.78rem var(--head); letter-spacing: 0.03em; }
.lane button:hover,
.tray-preview button:hover { background: #d7efdf; }
.lane .drawer-options,
.supply-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 9px 0; }
.lane .drawer-options button,
.supply-options button { display: grid; align-content: start; justify-items: center; gap: 3px; padding: 8px 4px; border: 1px solid #567e77; background: #154146; color: #e9f5ef; font: 600 0.78rem/1.2 var(--head); text-align: center; overflow-wrap: anywhere; }
.lane .drawer-options button:hover,
.supply-options button:hover,
.supply-options button[aria-pressed="true"] { background: #285c56; }
.gear-drawing { display: block; width: 46px; height: 42px; }
#station-work > button { margin: 3px 6px 3px 0; }
#station-work .drawer-label { margin: 12px 0 4px; color: var(--mint); font: 700 0.84rem var(--head); }
#station-work button[aria-pressed="true"] { background: var(--mint); color: #053438; }
#station-work button:disabled { opacity: 0.55; cursor: default; }
.lane h5 { margin: 13px 0 4px; color: var(--mint); font: 700 0.95rem var(--head); }
.iv-heading { margin-top: 16px; }
.mini-error { color: #ffcd9c !important; }

.tray-preview { max-width: 1000px; margin: 14px auto 0; padding: 16px; border: 1px solid rgba(190, 226, 207, 0.28); background: #08272a; }
.tray-preview summary { cursor: pointer; color: var(--ivory); font: 700 0.98rem var(--head); }
.tray-preview p { margin: 10px 0 0; color: #cbded8; font-size: 0.85rem; }
.tray-preview .stage-control { margin-top: 8px; }
.case-note { margin-top: 16px; color: var(--muted); font-size: 0.8rem; text-align: center; }

#sim-monitor-dialog {
  width: min(640px, calc(100vw - 24px));
  margin: auto;
  padding: clamp(12px, 2.2vw, 24px);
  border: 1px solid #8db6a7;
  border-radius: 0;
  background: #102e31;
  color: var(--ivory);
}
#sim-monitor-dialog::backdrop { background: rgba(4, 30, 37, 0.85); }
#sim-monitor-dialog header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
#sim-monitor-dialog header button { padding: 8px 10px; border: 0; border-radius: 0; background: var(--mint); color: var(--deep); font-weight: 700; }
#sim-monitor-zoom .mini-monitor { min-height: 230px; }

/* --------------------------------------------------------------------------
   How a session works
   -------------------------------------------------------------------------- */

.how-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.steps { list-style: none; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(2, 46, 52, 0.28); }
.steps li { display: flex; gap: 18px; padding: 24px 24px 26px 0; border-bottom: 1px solid rgba(2, 46, 52, 0.28); }
.steps li:nth-child(even) { padding-left: 24px; border-left: 1px solid rgba(2, 46, 52, 0.28); }
.step-number { flex: none; padding-top: 4px; color: var(--teal-2); font: 700 0.7rem var(--head); letter-spacing: 0.15em; }
.steps h3 { margin-bottom: 8px; font-size: clamp(1.05rem, 1.45vw, 1.25rem); }
.steps p { color: #000; font-size: 0.93rem; }

.need-card { padding: clamp(24px, 3vw, 36px); background: var(--deep); color: var(--ivory); }
.need-card h3 { margin: 11px 0 20px; color: var(--mint); font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.check-list { list-style: none; display: grid; gap: 13px; margin-bottom: 26px; }
.check-list li { display: flex; gap: 12px; color: #d3e3de; font-size: 0.9rem; }
.check-list li span { position: relative; flex: none; width: 18px; height: 18px; margin-top: 3px; border: 1px solid var(--mint); }
.check-list li span::after { content: ""; position: absolute; left: 5px; top: 1px; width: 6px; height: 10px; border: solid var(--mint); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.need-note { margin-top: 15px; color: #a9c4bd; font-size: 0.75rem; }
.footnote { margin-top: 22px; color: #000; font-size: 0.75rem; }

/* --------------------------------------------------------------------------
   Pillars
   -------------------------------------------------------------------------- */

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.pillar { padding: 28px 30px 4px 0; border-right: 1px solid var(--line); }
.pillar + .pillar { padding-left: 30px; }
.pillar:last-child { border-right: 0; }
.pillar-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; color: var(--teal-2); }
.pillar-number { font: 600 0.7rem var(--head); letter-spacing: 0.16em; }
.pillar-top .icon { width: 24px; height: 24px; }
.pillar .eyebrow { margin-bottom: 11px; font-size: 0.6rem; }
.pillar h3 { margin-bottom: 12px; font-size: clamp(1.1rem, 1.55vw, 1.35rem); }
.pillar p { color: var(--muted); font-size: 0.94rem; }

.bank {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(20px, 4vw, 58px);
  align-items: center;
  margin-top: clamp(38px, 5vw, 58px);
  padding: clamp(24px, 4vw, 48px);
  background: var(--mint);
  color: var(--deep);
}
.bank > strong { font: 700 clamp(4rem, 8.6vw, 7.6rem)/0.8 var(--head); letter-spacing: -0.02em; }
.bank > strong span { font-size: 0.55em; }
.bank h3 { margin: 7px 0 10px; font-size: clamp(1.4rem, 2.4vw, 2.1rem); }
.bank p:not(.eyebrow) { max-width: 58ch; color: #000; font-size: 0.94rem; }
.bank .btn-ghost { border-color: var(--deep); color: var(--deep); }
.bank .btn-ghost:hover { background: var(--deep); color: var(--mint); }

/* --------------------------------------------------------------------------
   Pilot
   -------------------------------------------------------------------------- */

.pilot { position: relative; overflow: hidden; }
.pilot-mark { position: absolute; right: -50px; bottom: -70px; width: min(440px, 40vw); opacity: 0.055; pointer-events: none; }
.pilot-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr); gap: clamp(32px, 6vw, 92px); align-items: start; }
.pilot h2 { margin-top: 14px; color: var(--ivory); }
.pilot .section-lede { max-width: 46ch; margin: 24px 0 30px; }
.pilot-note { margin-top: 17px; color: #9fbab4; font-size: 0.8rem; }
.faqs h3 { margin-bottom: 12px; color: var(--mint); font-size: 1rem; letter-spacing: 0.12em; }
.faqs details { border-top: 1px solid rgba(190, 226, 207, 0.24); padding: 16px 0; }
.faqs details:last-child { border-bottom: 1px solid rgba(190, 226, 207, 0.24); }
.faqs summary { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; color: var(--ivory); font: 600 0.98rem var(--head); list-style: none; cursor: pointer; }
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary::after { content: "+"; color: var(--mint); font: 400 1.3rem/1 var(--head); }
.faqs details[open] summary::after { content: "–"; }
.faqs details p { margin-top: 10px; color: #c3d6d1; font-size: 0.9rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer { background: var(--deeper); color: var(--ivory); padding-top: 48px; }
.footer-main { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid rgba(190, 226, 207, 0.18); }
.footer-brand img { width: 190px; height: auto; }
.footer-brand p { max-width: 44ch; margin-top: 16px; color: #a9c4bd; font-size: 0.8rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: flex-end; }
.footer-nav a { color: #d6e6e1; font: 600 0.67rem var(--head); letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; padding-bottom: 3px; border-bottom: 1px solid transparent; }
.footer-nav a:hover { color: var(--mint); border-bottom-color: var(--mint); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding-block: 20px 26px; color: #7f9c96; font-size: 0.72rem; }

/* --------------------------------------------------------------------------
   Reveal
   -------------------------------------------------------------------------- */

.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .steps li:nth-child(2) { transition-delay: 0.08s; }
.js .steps li:nth-child(3) { transition-delay: 0.12s; }
.js .steps li:nth-child(4) { transition-delay: 0.16s; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1120px) {
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 0.62rem; }
  .header-cta { padding-inline: 14px; font-size: 0.6rem; }
}

@media (max-width: 980px) {
  :root { --header-h: 70px; }
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px var(--gutter) 14px;
    background: var(--deep);
    border-bottom: 1px solid var(--line-dark);
    box-shadow: 0 18px 30px rgba(0, 20, 24, 0.35);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid rgba(190, 226, 207, 0.14); font-size: 0.7rem; }
  .header-cta { display: inline-flex; min-height: 40px; padding: 10px 12px; font-size: 0.58rem; }
  .cta-long { display: none; }
  .cta-short { display: inline; }
  .header-actions { margin-left: auto; }
  .hero-lower { grid-template-columns: 1fr; align-items: start; }
  .hero-actions { justify-content: flex-start; }
  .section-head { grid-template-columns: 1fr; gap: 18px; align-items: start; }
  .section-lede { max-width: 60ch; }
  .difference-grid { grid-template-columns: 1fr; border-top: 1px solid var(--line); }
  .difference-card,
  .difference-card + .difference-card { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .difference-card:last-child { border-bottom: 0; }
  .callout { grid-template-columns: 1fr; align-items: start; }
  .learner-tour { grid-template-columns: 1fr; }
  .tour-side { border-left: 0; border-top: 1px solid rgba(190, 226, 207, 0.22); }
  .tour-options { grid-template-columns: repeat(3, 1fr); }
  .tour-side-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
  .tour-side-foot p { margin: 0; }
  .how-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .pillar,
  .pillar + .pillar { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .pillar:last-child { border-bottom: 0; }
  .pilot-grid { grid-template-columns: 1fr; }
  .footer-main { flex-direction: column; }
  .footer-nav { justify-content: flex-start; }
}

@media (max-width: 760px) {
  :root { --gutter: 20px; }
  .brand img { width: 156px; }
  .hero h1 { max-width: none; }
  .media-body { aspect-ratio: 16 / 9; }
  .media-head { padding: 10px 12px; font-size: 0.58rem; }
  .media-caption { font-size: 0.76rem; }
  .fact-grid { grid-template-columns: 1fr 1fr; }
  .fact-grid span { min-height: 54px; border-left: 1px solid rgba(2, 46, 52, 0.24); border-bottom: 1px solid rgba(2, 46, 52, 0.24); font-size: 0.6rem; }
  .fact-grid span:nth-child(odd) { border-left: 0; }
  .fact-grid span:nth-last-child(-n+2) { border-bottom: 0; }
  .steps { grid-template-columns: 1fr; }
  .steps li,
  .steps li:nth-child(even) { padding: 22px 0; border-left: 0; }
  .bank { grid-template-columns: 1fr; align-items: start; }
  .bank > strong { font-size: clamp(4.4rem, 18vw, 6.4rem); }
  .bank .btn { justify-self: start; }
  .tour-options { grid-template-columns: 1fr 1fr; }
  .tour-side-foot { flex-direction: column; align-items: flex-start; }
  .mini-case { padding: 13px; }
  .walk-controls { grid-template-columns: 1fr; }
  .pinned-vitals { top: calc(var(--header-h) + 4px); }
  .mini-top { align-items: flex-start; }
  .mini-top h3 { font-size: 1.4rem; }
  .mini-top button { padding: 9px 10px; font-size: 0.6rem; }
  .trace-side > div { grid-template-columns: 2.8em minmax(0, 1fr); font-size: 0.62rem; }
  .trace-side { padding-inline: 6px; }
  .monitor-numbers > div { padding-inline: 8px; }
  .monitor-numbers dd { font-size: 1.2rem; }
  .supply-options { grid-template-columns: 1fr 1fr; }
  .keyboard-help { flex-wrap: wrap; }
  .footer-brand img { width: 170px; }
}

@media (max-width: 680px) {
  .tour-pin { padding: 4px; }
  .tour-pin span {
    display: block;
    width: 18px;
    height: 18px;
    padding: 0;
    border: 2px solid #c1e8df;
    border-radius: 50%;
    background: #07323a;
    font-size: 0;
  }
  .tour-pin::after { display: none; }
  .tour-options { grid-template-columns: 1fr 1fr; }
  .tour-person-label { display: none; }
  .tour-tooltip { display: none !important; }
  .tour-roster button { padding: 7px 8px; font-size: 0.64rem; }
  .tour-roster .role { display: none; }
  .tour-status { font-size: 0.58rem; }
  .tour-readout h3 { font-size: 1.3rem; }
}

@media (max-width: 520px) {
  :root { --header-h: 64px; }
  .brand img { width: 142px; }
  .menu-toggle { padding: 9px 10px; }
  .menu-label { display: none; }
  .hero h1 { max-width: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .media-title { font-size: 1rem; }
  .media-sub { font-size: 0.72rem; }
  .play-mark { width: 42px; height: 42px; }
  .fact-grid span { font-size: 0.55rem; padding-inline: 8px; }
  .media-head { flex-wrap: wrap; }
  .callout h3 { font-size: 1.5rem; }
  .bank { padding: 22px 18px; }
  .pilot-note { font-size: 0.76rem; }
  .faqs summary { font-size: 0.92rem; }
  .footer-bottom { flex-direction: column; }
  .walk-bay .hotspot { min-height: 28px; padding: 4px 6px; font-size: 0.56rem; }
  .hotspot[data-station="meds"] { left: 80%; top: 56%; }
  .hotspot[data-station="pump"] { left: 64%; top: 38%; }
  .hotspot[data-station="headwall"] { left: 24%; top: 26%; }
  .hotspot[data-station="bed"] { left: 58%; top: 68%; }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 1.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Narrated walkthrough in the existing Manus media frame. */
.hero-video{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;background:#061e20}
.media-caption a{color:inherit;text-underline-offset:3px}

#walkthrough,#footage{scroll-margin-top:calc(var(--header-h) + 12px)}
.chapters{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.chapters button{min-height:44px;padding:7px 12px;background:#0d4248;color:#f1fcf7;border:1px solid #557d7c;border-radius:3px;font:600 .875rem var(--head);cursor:pointer}
.chapters button:hover,.chapters button:focus-visible{border-color:var(--mint);color:var(--mint)}

/* Keep all active vital rows within the inset wall display. */
.in-world-monitor .mini-monitor {grid-template-rows:minmax(0,1fr)}
.in-world-monitor .trace-side,.in-world-monitor .monitor-numbers {min-height:0;min-width:0;grid-template-rows:repeat(5,minmax(0,1fr))}
.in-world-monitor .trace-side svg {display:block;max-height:100%;overflow:hidden}
.in-world-monitor .monitor-numbers dd {font-size:clamp(.25rem,6.5cqw,1.28rem);line-height:1}
.in-world-monitor .monitor-numbers dt {font-size:clamp(.19rem,3.65cqw,.65rem)}
/* SVG clinician stays centred on the established floor position. */
.walker.walker-clinician {width:clamp(17px,3.9%,36px);height:auto;aspect-ratio:40/62;background:none;border:0;border-radius:0;box-shadow:none;transform:translate(-50%,-94%);--skin:#bf865f;--hair:#302621;--scrub:#67d6ba;pointer-events:none}
.walker-clinician svg {width:100%;height:auto;display:block;overflow:visible;filter:drop-shadow(0 1px 1px #061e20)}
.walker-clinician span {transform:translate(-50%,1px)}
.footer-credit {padding-block:4px 14px;color:#bcd3cd;font-size:.75rem}
.footer-credit a {color:inherit;text-underline-offset:3px}

/* Give supporting paragraphs consistent callout treatment beside section titles. */
.section-head > .section-lede {max-width:none;padding:clamp(15px,2vw,23px);border:1px solid #c5d8d4;border-left:3px solid #216763;background:#f5faf8;color:#284b50}
.section-dark .section-head > .section-lede {background:#103d42;border-color:#416a6b;border-left-color:var(--mint);color:#e1eee9}
.section-mint .section-head > .section-lede {background:#f0faf4;border-color:#8db9a8;border-left-color:#216763;color:#1d4044}
