/* ==========================================================================
   broemel.co - Systems Lab (dark design)
   The hidden second face of the site, reached only through the two easter
   eggs on the main home page. Values come from the Systems Lab v5 prototype;
   the breakpoint layouts it wrote as inline styles are media queries here.
   Breakpoints: >= 1080px "wide" (fixed rail), >= 720px "mid".
   ========================================================================== */

/* --- reset ---------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol,
dl {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}

::selection {
  background: var(--accent);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

/* --- tokens --------------------------------------------------------------- */

:root {
  --bg: #080a10;
  --panel-solid: #0f131c;
  --line: rgba(237, 234, 227, 0.11);
  --line-strong: rgba(237, 234, 227, 0.22);
  --ink: #edeae3;
  --muted: #8a93a6;

  --cobalt: #2f5bff;
  --lime: #c6ff3d;
  --coral: #ff6b4a;
  --accent: var(--cobalt);

  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --sans: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --rail-w: 84px;
  --pad-x: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

a:hover {
  color: var(--accent);
}

/* --- shared type ---------------------------------------------------------- */

.muted {
  color: var(--muted);
}

/* --- scanline grain ------------------------------------------------------- */

.grain::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.55;
  background-image: linear-gradient(rgba(237, 234, 227, 0.028) 1px, transparent 1px);
  background-size: 100% 3px;
}

.page-case.grain::after {
  opacity: 0.5;
  background-image: linear-gradient(rgba(237, 234, 227, 0.026) 1px, transparent 1px);
}

/* --- the 2D product core -------------------------------------------------- */

.core {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.42;
  background: radial-gradient(70% 60% at 68% 46%, #101521 0%, #080a10 72%);
}

.core canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.core__hud {
  position: absolute;
  inset: 0;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.core__hudTop {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

.core__hudBottom {
  display: flex;
  justify-content: flex-end;
}

.core__live {
  color: var(--accent);
}

.core__mode {
  color: rgba(138, 147, 166, 0.75);
}

.core__readout {
  color: rgba(138, 147, 166, 0.5);
}

.scrim {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 10, 16, 0.82), rgba(8, 10, 16, 0.95));
}

/* --- boot overlay --------------------------------------------------------- */

.boot {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 6vw, 90px);
  background: var(--bg);
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: opacity 0.45s ease;
}

.boot[hidden] {
  display: none;
}

.boot__lines {
  display: flex;
  flex-direction: column;
  gap: 9px;
  max-width: 640px;
}

.boot__line {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.35s var(--ease);
}

.boot__line.is-in {
  opacity: 1;
  transform: none;
}

.boot__caret {
  color: var(--lime);
}

.boot__title {
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(30px, 5.4vw, 60px);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 0.94;
}

.boot__cursor {
  animation: labBlink 1s steps(1) infinite;
}

.boot__skip {
  position: absolute;
  right: clamp(20px, 4vw, 48px);
  bottom: clamp(20px, 4vw, 48px);
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

@keyframes labBlink {
  0%,
  45% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0.15;
  }
}

@keyframes labScan {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(1400%);
  }
}

/* --- buttons -------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: none;
  color: inherit;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn--solid {
  border-color: transparent;
  background: var(--accent);
  color: #fff;
  transition: filter 0.2s;
}

.btn--solid:hover {
  background: var(--accent);
  border-color: transparent;
  color: #fff;
  filter: brightness(1.12);
}

.btn--lime {
  background: var(--lime);
  color: #0b1004;
}

.btn--lime:hover {
  background: var(--lime);
  color: #0b1004;
}

.btn--sm {
  padding: 12px 18px;
  font-size: 11.5px;
}

.btn--chip {
  padding: 5px 10px;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.tag {
  padding: 5px 10px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tag--coral {
  border-color: var(--coral);
  color: var(--coral);
}

.tag--lime {
  border-color: var(--lime);
  color: var(--lime);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* --- fixed rail (>= 1080px) ----------------------------------------------- */

.rail {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 20;
  width: var(--rail-w);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 20px 0;
  border-right: 1px solid var(--line);
  background: rgba(8, 10, 16, 0.82);
}

.rail__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  width: 100%;
  border-left: 2px solid transparent;
  color: var(--muted);
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.rail__link:hover {
  color: var(--ink);
  background: rgba(237, 234, 227, 0.04);
}

.rail__link[aria-current="true"] {
  color: var(--accent);
  background: color-mix(in oklab, var(--accent) 9%, transparent);
  border-left-color: var(--accent);
}

.rail__num,
.rail__word {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.rail__word {
  letter-spacing: 0.26em;
  writing-mode: vertical-rl;
}

.rail__motion {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  width: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.motion-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  width: 44px;
  padding: 10px 0;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: none;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
}

.motion-btn__word--vertical {
  writing-mode: vertical-rl;
}

.motion-state {
  color: var(--lime);
}

.motion-state[data-state="off"] {
  color: var(--muted);
}

/* --- top bar (< 1080px) --------------------------------------------------- */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 21;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 10, 16, 0.92);
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wordmark {
  flex-shrink: 0;
  white-space: nowrap;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.wordmark span {
  color: var(--accent);
  margin-left: 6px;
}

.topbar .motion-btn,
.topbar .btn {
  flex-direction: row;
  width: auto;
  min-height: 44px;
  padding: 0 12px;
  font-size: 11px;
  letter-spacing: 0.1em;
  gap: 6px;
}

.topbar .btn {
  padding: 0 14px;
}

.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  padding: 0 11px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: none;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 1px;
  background: var(--ink);
  transition: transform 0.25s, opacity 0.2s;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

@media (max-width: 429.98px) {
  .wordmark {
    font-size: 17px;
  }

  .topbar .motion-btn__word {
    display: none;
  }

  .topbar .motion-btn {
    padding: 0 10px;
  }

  .topbar .btn {
    padding: 0 11px;
  }
}

/* --- menu overlay --------------------------------------------------------- */

.menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  flex-direction: column;
  padding: 74px 22px 26px;
  background: rgba(8, 10, 16, 0.985);
  opacity: 0;
  transition: opacity 0.26s ease;
}

.menu.is-open {
  display: flex;
}

.menu.is-visible {
  opacity: 1;
}

.menu__label {
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.menu__nav {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
}

.menu__link {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 4px;
  background: var(--bg);
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.menu__link[aria-current="true"],
.menu__link[aria-current="true"] .menu__num {
  color: var(--accent);
}

.menu__num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.menu__foot {
  margin-top: auto;
  padding-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.menu__foot .btn {
  min-height: 46px;
}

.menu__row {
  display: flex;
  gap: 9px;
}

.menu__row .btn {
  flex: 1;
}

/* --- shell ---------------------------------------------------------------- */

.shell {
  position: relative;
  z-index: 2;
}

.lab-main {
  display: flex;
  flex-direction: column;
  padding: 0 var(--pad-x);
}

/* --- hero ----------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 40px;
  padding: 96px var(--pad-x) clamp(40px, 6vh, 72px);
}

.hero__inner {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 1180px;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
}

.hero__name {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(44px, 9vw, 124px);
  line-height: 1.06;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}

.hero__name span {
  color: var(--accent);
}

.hero__coords {
  margin-top: -6px;
  font-family: var(--mono);
  font-size: clamp(11px, 1.1vw, 13px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px 44px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.hero__claim {
  margin-bottom: 18px;
  font-size: clamp(18px, 2.1vw, 25px);
  line-height: 1.35;
  max-width: 30ch;
  text-wrap: pretty;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 6px;
}

.fields__label {
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.fields {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--cobalt);
  background: rgba(47, 91, 255, 0.05);
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: default;
  transition: background 0.25s, border-color 0.25s;
}

.field span {
  color: var(--cobalt);
}

.field[data-field="1"] {
  border-left-color: var(--lime);
  background: rgba(198, 255, 61, 0.05);
}

.field[data-field="1"] span {
  color: var(--lime);
}

.field[data-field="2"] {
  border-left-color: var(--coral);
  background: rgba(255, 107, 74, 0.05);
}

.field[data-field="2"] span {
  color: var(--coral);
}

.field.is-hot {
  background: rgba(47, 91, 255, 0.16);
}

.field[data-field="1"].is-hot {
  background: rgba(198, 255, 61, 0.14);
}

.field[data-field="2"].is-hot {
  background: rgba(255, 107, 74, 0.14);
}

/* --- modules -------------------------------------------------------------- */

.module {
  padding: clamp(70px, 11vh, 130px) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 20px;
}

.module--last {
  padding-bottom: clamp(50px, 7vh, 80px);
}

.module__head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 18px;
}

.module__head--gap {
  margin-bottom: clamp(30px, 4vh, 48px);
}

.module__num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.module__title {
  font-family: var(--display);
  font-size: clamp(34px, 6vw, 76px);
  font-weight: 700;
  line-height: 0.9;
  text-transform: uppercase;
}

.module__rule {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.module__intro {
  margin-bottom: clamp(30px, 4vh, 44px);
  color: var(--muted);
  max-width: 56ch;
}

/* --- identity ------------------------------------------------------------- */

.identity {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 4vw, 54px);
}

.portrait {
  position: relative;
}

.portrait__frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}

.portrait__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 22%;
  filter: grayscale(0.85) contrast(1.12) brightness(0.92);
  transition: filter 0.5s;
}

.portrait:hover .portrait__img {
  filter: grayscale(0.15) contrast(1.05);
}

.portrait__scan-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(8, 10, 16, 0.34) 1px, transparent 1px);
  background-size: 100% 4px;
  mix-blend-mode: multiply;
}

.portrait__tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(47, 91, 255, 0.3), transparent 45%, rgba(255, 107, 74, 0.16));
}

.portrait__band {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 7%;
  background: linear-gradient(rgba(198, 255, 61, 0), rgba(198, 255, 61, 0.16), rgba(198, 255, 61, 0));
  animation: labScan 7s linear infinite;
}

.portrait__caption {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.identity__head {
  margin-bottom: 22px;
  font-family: var(--display);
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0.002em;
  max-width: 22ch;
  text-transform: uppercase;
}

.identity p {
  color: var(--muted);
  max-width: 62ch;
  margin-bottom: 16px;
}

.identity p:last-of-type {
  margin-bottom: 32px;
}

/* --- hairline tile grids -------------------------------------------------- */

.grid-hairline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
}

.stats {
  margin-bottom: 32px;
}

.stat {
  background: var(--panel-solid);
  padding: 20px 22px;
}

.stat__value {
  font-family: var(--display);
  font-size: clamp(32px, 3.4vw, 46px);
  font-weight: 700;
  line-height: 1;
}

.stat__value--accent {
  color: var(--accent);
}

.stat__caption {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.looking {
  border: 1px solid var(--line);
  padding: 22px;
}

.looking h4 {
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.looking ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.looking li {
  padding: 6px 11px;
  border: 1px solid var(--line);
  color: var(--ink);
}

/* --- experience stations -------------------------------------------------- */

.orbit {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
}

.station {
  background: transparent;
}

.station:has([aria-expanded="true"]) {
  background: var(--panel-solid);
}

.station__toggle {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px 26px;
  align-items: baseline;
  justify-items: start;
  padding: 24px;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.station__head {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: baseline;
  gap: 18px;
}

.station__year {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.station__year--now {
  color: var(--lime);
}

.station__role {
  display: block;
  font-family: var(--display);
  font-size: clamp(24px, 2.7vw, 36px);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  transition: color 0.2s;
}

.station:hover .station__role {
  color: var(--accent);
}

.station__org {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 14.5px;
}

.station__marker {
  justify-self: start;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.station__toggle[aria-expanded="true"] .station__marker {
  color: var(--accent);
}

/* The padding lives on an inner wrapper: with border-box sizing a padded
   element cannot shrink below its own padding, so a collapsed station would
   otherwise leave a 24px gap behind. */
.station__body {
  overflow: hidden;
  transition: max-height 0.4s var(--ease), opacity 0.3s;
}

.station__inner {
  padding: 0 24px 24px;
}

.dashes {
  display: flex;
  flex-direction: column;
  gap: 11px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.5;
}

.dashes li {
  display: flex;
  gap: 12px;
}

.dashes li::before {
  content: "";
  flex-shrink: 0;
  width: 14px;
  height: 1px;
  margin-top: 12px;
  background: var(--accent);
}

/* --- ventures ------------------------------------------------------------- */

.venture {
  border: 1px solid var(--line);
}

.venture + .venture {
  margin-top: clamp(20px, 3vh, 32px);
}

.venture__grid {
  display: grid;
  grid-template-columns: 1fr;
}

.venture__body {
  padding: clamp(24px, 3vw, 40px);
}

.venture__name {
  margin-bottom: 14px;
  font-family: var(--display);
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 800;
  line-height: 0.9;
  text-transform: uppercase;
}

.venture__claim {
  margin-bottom: 20px;
  font-size: clamp(17px, 1.7vw, 20px);
  max-width: 36ch;
}

.venture__body p.muted {
  margin-bottom: 14px;
  max-width: 62ch;
}

.venture__body p.muted:last-of-type {
  margin-bottom: 22px;
}

.spec {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 18px;
  margin-bottom: 24px;
  font-family: var(--mono);
  font-size: 12.5px;
}

.spec dt {
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.spec dd {
  margin: 0;
}

.spec dd.is-coral {
  color: var(--coral);
}

.spec dd.is-lime {
  color: var(--lime);
}

.venture__band {
  background: linear-gradient(200deg, rgba(47, 91, 255, 0.14), rgba(8, 10, 16, 0.2));
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 26px 22px 0;
  overflow: hidden;
  min-height: 260px;
}

.venture__band--phones {
  flex-direction: row;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(6px, 1.2%, 14px);
  padding: 26px 14px 0;
}

.venture__phones {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(8px, 1.6%, 16px);
}

.venture__phone {
  width: 30%;
  flex-shrink: 0;
}

.venture__phone--wide {
  width: 37%;
}

.venture__phone--narrow {
  width: 31%;
}

.venture__band img {
  width: 100%;
  height: auto;
  transition: transform 0.4s var(--ease);
}

.venture__band > [data-zoom]:not(.venture__phone) > img {
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.75);
}

.venture__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

/* --- protocols ------------------------------------------------------------ */

.protocols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.protocol {
  border: 1px solid var(--line);
  padding: 24px;
  background: transparent;
  transition: border-color 0.25s, background 0.25s;
}

.protocol:hover,
.protocol:focus-within,
.protocol.is-hot {
  border-color: var(--line-strong);
  background: rgba(237, 234, 227, 0.03);
}

.protocol__label {
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.protocol__label--cobalt {
  color: var(--cobalt);
}

.protocol__label--lime {
  color: var(--lime);
}

.protocol__label--coral {
  color: var(--coral);
}

.protocol__name {
  margin-bottom: 12px;
  font-family: var(--display);
  font-size: clamp(23px, 2.4vw, 32px);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.protocol__text {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 15px;
}

.protocol__facts {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 7px 16px;
  font-family: var(--mono);
  font-size: 11.5px;
}

.protocol__facts dt {
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.protocol__facts dd {
  margin: 0;
}

/* --- capability matrix ---------------------------------------------------- */

.matrix-readout {
  border-left: 2px solid var(--accent);
  padding: 16px 20px;
  margin-bottom: 20px;
  background: rgba(47, 91, 255, 0.06);
  min-height: 88px;
}

.matrix-readout__pair {
  margin-bottom: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.matrix-readout__text {
  font-size: 16.5px;
  max-width: 70ch;
}

.matrix {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
}

.cap {
  text-align: left;
  border: 0;
  padding: 22px;
  background: var(--panel-solid);
  color: inherit;
  font: inherit;
  cursor: default;
  transition: background 0.25s;
}

.cap.is-hot {
  background: rgba(47, 91, 255, 0.12);
}

.cap__num {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.cap__name {
  display: block;
  font-family: var(--display);
  font-size: clamp(21px, 2.1vw, 27px);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

/* --- contact -------------------------------------------------------------- */

.contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 4vw, 56px);
  align-items: start;
}

.contact__head {
  margin-bottom: 16px;
  font-family: var(--display);
  font-size: clamp(30px, 4.4vw, 60px);
  font-weight: 700;
  line-height: 0.95;
  text-transform: uppercase;
  max-width: 20ch;
}

.contact__text {
  margin-bottom: 26px;
  color: var(--muted);
  max-width: 50ch;
}

.contact__status {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact__list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
}

.contact__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border: 0;
  border-radius: 0;
  background: var(--panel-solid);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: none;
  transition: background 0.2s, color 0.2s;
}

.contact__link span:first-child {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* --- footer --------------------------------------------------------------- */

.lab-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  margin: 0 var(--pad-x);
  padding: 22px 0 34px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.linkish {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.linkish:hover {
  color: var(--accent);
}

/* --- consent -------------------------------------------------------------- */

.consent {
  display: none;
  position: fixed;
  right: clamp(14px, 2.2vw, 28px);
  bottom: clamp(14px, 2.2vw, 28px);
  z-index: 120;
  width: min(390px, calc(100vw - 28px));
  background: var(--panel-solid);
  border: 1px solid var(--line-strong);
  padding: 22px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.24s, transform 0.24s;
}

.consent.is-open {
  display: block;
}

.consent.is-visible {
  opacity: 1;
  transform: none;
}

.consent__head {
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.consent__text {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.consent__text a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.consent__actions .btn {
  flex: 1;
  min-width: 112px;
  padding: 12px 14px;
  font-size: 11.5px;
}

.consent__state {
  margin-top: 14px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  display: none;
}

.consent__state.is-shown {
  display: block;
}

/* --- zoom overlay --------------------------------------------------------- */

[data-zoom] {
  cursor: zoom-in;
}

[data-zoom]:hover img {
  transform: translateY(-5px);
}

.zoom-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(6, 8, 12, 0.97);
  cursor: zoom-out;
  opacity: 0;
  transition: opacity 0.18s;
}

.zoom-overlay.is-open {
  display: flex;
}

.zoom-overlay.is-visible {
  opacity: 1;
}

.zoom-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.14);
  /* The fill alone is about 1.5:1 against the backdrop, so the pill needs an
     edge to be visible as a control rather than as a floating glyph. */
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}

.zoom-close:hover {
  background: rgba(255, 255, 255, 0.26);
  color: #fff;
}

.zoom-close:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

.zoom-overlay img {
  max-width: min(1400px, 100%);
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* --- reveal --------------------------------------------------------------- */

/* The .js class is set unconditionally in the head, so a lab.js that never
   runs would leave the page blank. The failsafe reveals everything after 2.6s
   and is cancelled as soon as .is-revealed takes over. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  animation: reveal-failsafe 0s linear 2.6s forwards;
}

.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  animation: none;
}

@keyframes reveal-failsafe {
  to {
    opacity: 1;
    transform: none;
  }
}

/* --- motion off ----------------------------------------------------------- */

.motion-off .portrait__band {
  animation-play-state: paused;
  opacity: 0;
}

.motion-off [data-reveal] {
  opacity: 1;
  transform: none;
  transition: none;
  animation: none;
}

.motion-off [data-zoom]:hover img {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .portrait__band {
    animation: none;
    opacity: 0;
  }

  .boot__cursor {
    animation: none;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }
}

/* --- utilities ------------------------------------------------------------ */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 310;
  padding: 12px 18px;
  background: var(--accent);
  color: #fff;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.skip-link:focus {
  left: 0;
}

/* --- breakpoints ---------------------------------------------------------- */

@media (min-width: 720px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  }

  .identity {
    grid-template-columns: minmax(0, 0.6fr) minmax(0, 1fr);
  }

  .stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .contact {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  }

  .venture__band {
    min-height: 360px;
  }

  .station__toggle {
    grid-template-columns: minmax(0, 1fr) auto;
    justify-items: stretch;
  }

  .station__head {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .station__inner {
    padding-left: 134px;
  }
}

@media (min-width: 1080px) {
  .rail {
    display: flex;
  }

  .topbar,
  .menu,
  .menu.is-open {
    display: none;
  }

  .shell {
    padding-left: var(--rail-w);
  }

  .core,
  .scrim {
    left: var(--rail-w);
    opacity: 1;
  }

  .scrim {
    background: linear-gradient(
      90deg,
      #080a10 0%,
      rgba(8, 10, 16, 0.94) 42%,
      rgba(8, 10, 16, 0.55) 72%,
      rgba(8, 10, 16, 0.2) 100%
    );
  }

  .hero {
    padding-top: clamp(90px, 12vh, 150px);
  }

  .matrix {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .venture__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  }

  .venture__band {
    border-top: 0;
    border-left: 1px solid var(--line);
  }
}

/* ==========================================================================
   Lab case study
   Shared by the Celisara and DogPass case studies.
   Its own shell: a sticky summary rail beside the article, no fixed module
   rail and no product core.
   ========================================================================== */

.case-shell {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 1520px;
  margin: 0 auto;
}

.case-rail {
  align-self: start;
  padding: clamp(20px, 3vw, 40px);
}

.case-main {
  min-width: 0;
  padding: clamp(20px, 3vw, 40px);
}

.case-rail__id {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.case-rail__icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.case-rail__name {
  font-family: var(--display);
  font-size: clamp(36px, 4vw, 50px);
  font-weight: 800;
  line-height: 0.9;
  text-transform: uppercase;
}

.case-rail__meta {
  margin-bottom: 20px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.case-facts {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
  margin-bottom: 24px;
}

.case-facts > div {
  background: var(--bg);
  padding: 13px 0;
}

.case-facts dt {
  margin-bottom: 4px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.case-facts dd {
  margin: 0;
  font-size: 15px;
}

.case-rail__actions {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.case-rail__actions .btn {
  min-height: 46px;
  padding: 0 16px;
  font-size: 11.5px;
}

/* --- sections ------------------------------------------------------------- */

.case-section {
  padding: clamp(46px, 6vh, 78px) 0;
  border-top: 1px solid var(--line);
}

.case-section--first {
  padding: 0 0 clamp(46px, 6vh, 78px);
  border-top: 0;
}

.case-section--cta {
  padding: clamp(40px, 5vh, 64px) 0 clamp(30px, 4vh, 46px);
}

.case-section__body {
  padding: 0 0 clamp(22px, 2.6vw, 32px);
}

.case-section__body--deep {
  padding-bottom: clamp(24px, 2.8vw, 36px);
}

.case-kicker {
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.case-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 20px;
}

.case-head__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.case-head__title {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 54px);
  font-weight: 700;
  line-height: 0.92;
  text-transform: uppercase;
}

.case-lead {
  margin-bottom: 26px;
  max-width: 70ch;
  font-size: 17.5px;
}

.case-text {
  margin-bottom: 14px;
  color: var(--muted);
  max-width: 70ch;
}

.case-text--wide {
  max-width: 72ch;
}

.case-text--tight {
  max-width: 66ch;
}

.case-text--last {
  margin-bottom: 0;
}

.case-outro {
  margin-top: 26px;
  max-width: 72ch;
  font-size: 16.5px;
}

/* --- hairline panels ------------------------------------------------------ */

.panels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
}

.panel {
  background: var(--panel-solid);
  padding: 18px 20px;
}

.panel dt {
  margin-bottom: 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.panel dt.is-lime {
  color: var(--lime);
}

.panel dt.is-coral {
  color: var(--coral);
}

.panel dd {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.tile-dark {
  background: var(--panel-solid);
  border: 1px solid transparent;
  padding: 20px 22px;
  transition: border-color 0.25s, background 0.25s;
}

.tile-dark--roomy {
  padding: 22px;
}

.tile-dark:hover {
  border-color: var(--line-strong);
  background: rgba(237, 234, 227, 0.03);
}

.tile-dark__num {
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.tile-dark__head {
  margin-bottom: 8px;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
}

.tile-dark__head--lg {
  font-size: 23px;
}

.tile-dark__text {
  color: var(--muted);
  font-size: 15px;
}

.contrast {
  display: grid;
  gap: 4px 20px;
  padding: 14px 18px;
  background: var(--panel-solid);
  font-size: 14.5px;
}

.contrast__before {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12.5px;
}

.case-stat__value {
  font-family: var(--display);
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 700;
  line-height: 1;
}

.case-stat__value--accent {
  color: var(--accent);
}

.case-stat__caption {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14.5px;
}

/* --- image bands ---------------------------------------------------------- */

.dark-band {
  border: 1px solid var(--line);
  background: linear-gradient(200deg, rgba(47, 91, 255, 0.12), rgba(8, 10, 16, 0.3));
}

.dark-band--solo {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2.4vw, 32px);
  padding: clamp(22px, 2.8vw, 38px) clamp(20px, 3vw, 44px);
}

/* The child needs a definite width, or the image's width:100% resolves
   against nothing, the box is 0x0 and the lazy image never enters the
   viewport to load at all. */
.dark-band--solo > * {
  flex: 1 1 0;
  min-width: 0;
}

.dark-band--grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(12px, 1.6vw, 22px);
  padding: clamp(22px, 2.8vw, 38px) clamp(20px, 3vw, 44px) 0;
}

.dark-band--pair {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: clamp(16px, 2.4vw, 30px);
  padding: clamp(22px, 2.8vw, 38px) clamp(20px, 3vw, 44px);
}

.dark-band--hero {
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  gap: clamp(16px, 2.4vw, 32px);
  padding: clamp(22px, 2.8vw, 38px) clamp(20px, 3vw, 44px) 0;
}

.dark-band img {
  width: 100%;
  height: auto;
  transition: transform 0.4s var(--ease);
}

.dark-band .is-radius img {
  border-radius: 8px;
  box-shadow: 0 18px 40px -18px rgba(20, 24, 26, 0.42);
}

.dark-band .is-lifted img {
  box-shadow: 0 20px 44px -20px rgba(0, 0, 0, 0.8);
}

.band-shot {
  justify-self: center;
  width: 100%;
}

/* Phones that sit in an `auto` grid track need a definite width: a chain of
   percentage widths inside an intrinsically sized track collapses to zero. */
.band-shot--phone {
  max-width: 240px;
}

.band-shot--pay {
  width: 200px;
  max-width: 100%;
}

@media (min-width: 660px) {
  .band-shot--pay {
    width: 180px;
  }
}

.band-note {
  border: 1px solid var(--line);
  border-top: 0;
  padding: 14px clamp(20px, 3vw, 44px) 20px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}

.band-note--tight {
  padding: 12px 16px;
}

/* --- at the chair --------------------------------------------------------- */

.badge-lime {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 18px;
  padding: 5px 11px;
  border: 1px solid var(--line);
  color: var(--lime);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.panel--roomy {
  padding: 22px;
}

.panel__label {
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.panel__label--lime {
  color: var(--lime);
}

.filed {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 7px 14px;
  font-size: 14.5px;
}

.filed dt {
  color: var(--muted);
}

.filed dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 13.5px;
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px 18px;
}

.step__shot {
  border: 1px solid var(--line);
  background: linear-gradient(200deg, rgba(47, 91, 255, 0.1), rgba(8, 10, 16, 0.3));
  padding: 16px 16px 0;
  overflow: hidden;
  margin-bottom: 12px;
}

.step__shot img {
  width: 100%;
  height: auto;
  transition: transform 0.4s var(--ease);
}

.step__caption {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.5;
}

.step__label {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 5px;
}

.case-cta__head {
  margin-bottom: 14px;
  font-family: var(--display);
  font-size: clamp(28px, 4.4vw, 58px);
  font-weight: 800;
  line-height: 0.92;
  text-transform: uppercase;
  max-width: 26ch;
}

.case-cta__text {
  margin-bottom: 26px;
  color: var(--muted);
  max-width: 52ch;
}

.case-cta__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.case-cta__row .btn {
  min-height: 46px;
  padding: 0 18px;
  font-size: 11.5px;
}

.case-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  padding: 20px 0 30px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --- DogPass screen gallery ----------------------------------------------- */

.case-decision {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}

.case-screen-controls {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 16px;
}

.case-screen-controls .btn {
  min-width: 46px;
}

.case-screen-controls [aria-disabled="true"] {
  opacity: 0.4;
  cursor: default;
}

.case-screens {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-left: 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg);
  border: 1px solid var(--line);
  padding: 24px;
  background: linear-gradient(200deg, rgba(47, 91, 255, 0.12), rgba(8, 10, 16, 0.3));
}

.case-screen {
  flex: 0 0 clamp(210px, 22vw, 260px);
  min-width: 0;
  margin: 0;
  scroll-snap-align: start;
}

.case-screen img {
  width: 100%;
  height: auto;
}

.case-screen figcaption {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --- case breakpoints ----------------------------------------------------- */

@media (min-width: 660px) {
  .panels--two,
  .panels--tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .panels--thirds,
  .panels--stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contrast {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dark-band--grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .dark-band--hero {
    grid-template-columns: minmax(0, 1fr) auto;
  }

}

@media (min-width: 940px) {
  .case-shell {
    grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  }

  .case-rail {
    position: sticky;
    top: clamp(16px, 2.2vw, 32px);
    max-height: calc(100vh - 2 * clamp(16px, 2.2vw, 32px));
    overflow-y: auto;
  }

  .dark-band--pair {
    grid-template-columns: auto auto minmax(0, 1fr);
  }

  .dark-band--pair > .band-shot--phone {
    width: 240px;
  }
}
