:root {
  --paper:   #FFFFFF;
  --paper-2: #ECECEC;
  --card:    #FFFFFF;
  --ink:     #1A1A1A;
  --ink-2:   #5E5E5E;
  --rule:    #D8D8D8;
  --rule-2:  #CCCCCC;
  --rule-3:  #8A8A8A;
  --pink:    #D6006F;
  --blue:    #1F5BFF;
  --green:   #00875A;
  --orange:  #E2550B;
  --accent:  var(--blue);
  --hover:   var(--orange);
  --lively:  linear-gradient(90deg, var(--pink), var(--blue));

  --round: var(--s-2);
  --pill:  var(--s-2);

  --track-display: -0.015em;
  --track-head:    -0.01em;
  --track-title:   -0.004em;
  --track-caps:    0.08em;
  --lift:  0 0 0 1px rgba(0, 0, 0, 0.08);
  --glow:  -12px 14px 40px rgba(214, 0, 111, 0.14),
           12px 14px 40px rgba(31, 91, 255, 0.16);

  --f--1: 0.786rem;
  --f--0: 0.887rem;
  --f-0:  1rem;
  --f-1:  1.272rem;
  --f-2:  1.618rem;
  --f-3:  2.618rem;
  --f-4:  4.236rem;

  --f-1-2: clamp(var(--f-1), 0.42rem + 1.42vw, var(--f-2));

  --s-1: 0.382rem;
  --s-2: 0.618rem;
  --s-3: 1rem;
  --s-4: 1.618rem;
  --s-5: 2.618rem;
  --s-6: 4.236rem;
  --s-7: 6.854rem;

  --phi: 1.618;
  --shell: 72rem;

  --measure:   62ch;
  --measure-s: 38ch;
  --gutter: clamp(var(--s-3), 3.23vw, var(--s-6));
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-sheet: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-arrive: cubic-bezier(0.22, 1, 0.36, 1);

  --t:      200ms;
  --t-slow: 420ms;
  --t-enter: 900ms;

  --lh-display: 1.05;
  --lh-head:    1.15;
  --lh-ui:      1.4;
  --lh-body:    1.618;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper:   #121212;
  --paper-2: #2C2C2C;
  --card:    #1E1E1E;
  --ink:     #F0F0F0;
  --ink-2:   #C8C8C8;
  --rule:    #3A3A3A;
  --rule-2:  #484848;
  --rule-3:  #8C8C8C;
  --lift:  0 0 0 1px rgba(255, 255, 255, 0.12);
  --glow:  -12px 14px 40px rgba(214, 0, 111, 0.28),
           12px 14px 40px rgba(31, 91, 255, 0.32);
}

[data-theme="dark"] body {
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
}

[data-theme="dark"] :is(.btn--solid, .btn--accent, [class*="tone--"]) { --card: #FFFFFF; }

[data-theme="dark"] .page--stage .door-head {
  --ink: #1E1E1E;
  --card: #FFFFFF;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] img:not([src$=".svg"]) { filter: brightness(0.88); }

*, *::before, *::after { box-sizing: border-box; }
html {
  font-size: clamp(0.95rem, 0.855rem + 0.304vw, 1.069rem);
  -webkit-text-size-adjust: 100%;
}

@media (max-width: 46rem) {
  html { font-size: 1.0625rem; }
}
@media (prefers-reduced-motion: no-preference) { html:focus-within { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Roboto, "Helvetica Neue", Archivo, Arial, sans-serif;
  font-size: var(--f-0);
  line-height: var(--lh-body);
  font-feature-settings: "kern" 1, "liga" 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.view-entry {
  background-color: var(--paper);
  background-image:
    var(--backdrop),
    radial-gradient(28rem 24rem at var(--glow-at, 81% 33%), color-mix(in srgb, var(--ink) 4%, transparent), transparent),
    radial-gradient(90rem 60rem at 0% 100%, color-mix(in srgb, var(--ink) 5%, transparent), transparent),
    radial-gradient(60rem 40rem at 100% 100%, color-mix(in srgb, var(--ink) 3%, transparent), transparent);
  background-repeat: no-repeat;
  background-position: var(--backdrop-pos, 100% 74%), 0 0, 0 0, 0 0;
  background-size: min(24vw, 400px), auto, auto, auto;
  background-attachment: fixed, scroll, scroll, scroll;
  background-blend-mode: multiply, normal, normal, normal;
}

[data-theme="dark"] .view-entry {
  background-image:
    radial-gradient(28rem 24rem at var(--glow-at, 81% 33%), color-mix(in srgb, var(--ink) 5%, transparent), transparent),
    radial-gradient(90rem 60rem at 0% 100%, color-mix(in srgb, var(--ink) 6%, transparent), transparent),
    radial-gradient(60rem 40rem at 100% 100%, color-mix(in srgb, var(--ink) 4%, transparent), transparent);
}

@media (max-width: 46rem) {
  main {
    --f--1: 0.887rem;
    --f--0: 1rem;
  }
  main .btn { max-width: 100%; white-space: normal; text-align: left; }
  :is(h1, h2, h3, h4, .seg__opt) { hyphens: auto; overflow-wrap: break-word; }
  .view-entry { background-image: none; }
  .view-entry :is(.door__top, .door__ask, .foot__note),
  .view-entry .door__fit .fit-alt { display: none; }
  .view-entry .door__face--back,
  .view-entry .doors .door:focus-within .door__face--back {
    position: absolute;
    inset: 0;
    padding: 0;
    background: none;
    opacity: 0;
    transform: none;
  }
  .view-entry .door__face--front { padding: var(--s-4) var(--s-3); }
  .view-entry .door__name::after { content: "\203A"; color: var(--ink-2); }
  .view-entry .door__flip {
    border: 1px solid var(--rule-2);
    border-radius: var(--pill);
    box-shadow: none;
  }
  .view-entry .door::after { display: none; }
  .view-entry :is(.door, .door *) { -webkit-tap-highlight-color: transparent; transition: none; }
  .view-entry .door__face--front { padding: var(--s-3) var(--s-4); }
  .view-entry .door__name {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-3);
    font-size: var(--f-1-2);
  }
  .view-entry .skip { font-size: var(--f-0); }
  .view-entry :is(.masthead, .bar__links, .bar__marks, .foot) { display: none; }
  .view-home .foot { display: block; }
  .view-entry .bar ~ .entry { padding-top: var(--s-4); }
  .view-entry .entry { padding-top: var(--s-6); }
}

@media (min-width: 46.0625rem) {
  .view-entry .doors { grid-template-columns: repeat(3, 1fr); }
}

.view-entry .door {
  min-height: 13.09rem;
  background: transparent;
}

.view-entry .door__face { padding: var(--s-5) var(--s-4) var(--s-4); }
.view-entry .door__face--back { padding: var(--s-3) var(--s-3) var(--s-3); }

.view-entry .door { isolation: isolate; }

.view-entry .door::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: var(--round);
  box-shadow: var(--glow);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-slow) var(--ease-sheet);
}

.view-entry .door__flip { box-shadow: var(--lift); }

@media (hover: hover) {
  .view-entry .door__face--back {
    transform: translateY(calc(100% + var(--s-1)));
    transition: transform var(--t-slow) var(--ease);
  }
  .view-entry .door:is(:hover, :focus-within) .door__face--back {
    transform: none;
    transition: transform var(--t-enter) var(--ease-sheet);
  }
}

.view-entry .door:focus-within::after { opacity: 1; }

@media (hover: hover) {
  .view-entry .door:hover::after { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .view-entry .door::after,
  .view-entry .door__face--back { transition: none; }
}

.view-entry .door__face--front {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

@supports not (backdrop-filter: blur(1px)) {
  .view-entry .door__face--front { background: rgba(255, 255, 255, 0.92); }
}

.door__top {
  margin-top: auto;
  padding-top: var(--s-5);
  color: var(--ink-2);
  font-size: var(--f--0);
  line-height: var(--lh-ui);
}

.view-entry .door__ask {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

@property --fit-a { syntax: "<color>"; inherits: false; initial-value: transparent; }
@property --fit-b { syntax: "<color>"; inherits: false; initial-value: transparent; }

.view-entry .door__fit .fit-main,
.view-entry .door__fit .fit-alt {
  background: linear-gradient(90deg, var(--fit-a), var(--fit-b));
  background-origin: border-box;
  transition: --fit-a var(--t) var(--ease),
              --fit-b var(--t) var(--ease),
              border-color var(--t) var(--ease),
              color var(--t) var(--ease),
              opacity var(--t) var(--ease);
}

.view-entry .door__fit .fit-main,
.view-entry .door__fit .fit-alt:focus-visible {
  --fit-a: var(--pink);
  --fit-b: var(--blue);
  border-color: transparent;
  color: var(--card);
}

.view-entry .door__fit:has(.fit-alt:focus-visible) .fit-main {
  --fit-a: transparent;
  --fit-b: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--paper);
  opacity: 1;
}

@media (hover: hover) {
  .view-entry .door__fit .fit-alt:hover {
    --fit-a: var(--pink);
    --fit-b: var(--blue);
    border-color: transparent;
    color: var(--card);
  }
  .view-entry .door__fit:has(.fit-alt:hover) .fit-main {
    --fit-a: transparent;
    --fit-b: transparent;
    border-color: rgba(255, 255, 255, 0.28);
    color: var(--paper);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .view-entry .door__fit .fit-main,
  .view-entry .door__fit .fit-alt { transition: none; }
}

.view-entry .skip a {
  background: var(--lively);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
}
.view-entry .skip a::after { content: " \203A"; }
.view-entry .skip a:hover,
.view-entry .skip a:focus-visible { color: var(--hover); }

a { color: inherit; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; }
::selection { background: var(--accent); color: var(--paper); }

:where(a, button):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 1px;
}

.skip {
  margin: var(--s-3) 0 0;
  text-align: right;
  font-size: var(--f--0);
  line-height: var(--lh-ui);
}

.skip a {
  color: var(--ink-2);
  text-decoration: none;
  transition: color var(--t) var(--ease);
}

.skip a:hover, .skip a:focus-visible { color: var(--hover); }

.masthead { padding: var(--s-5) var(--gutter) 0; }

.masthead__inner {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  text-decoration: none;
}

.mark { display: block; width: clamp(var(--s-5), 3.23vw, var(--s-6)); height: auto; }

.screen {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.view-home {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.view-home .screen { flex: 1 0 auto; min-height: 0; }
.view-home .foot { width: 100%; }

@media (min-width: 64rem) {
  .view-home {
    --glow-at: 70% 48%;
    background-position: right 9vw top 42%, 0 0, 0 0, 0 0;
    background-size: min(36vw, 600px), auto, auto, auto;
  }
}

.entry {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: var(--s-5) var(--gutter);
}

.entry::before { content: ""; flex: 1 0 0; }
.entry::after  { content: ""; flex: var(--phi) 0 0; }

.entry__inner {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

@media (min-width: 64rem) {
  .view-entry .masthead,
  .view-entry .entry { padding-inline: min(calc(var(--gutter) * 2), var(--s-7)); }
  .view-entry:has(.bar) .entry { padding-inline: var(--gutter); }
}

.view-entry:has(.bar) .entry__inner { max-width: calc(var(--shell) - var(--gutter) * 2); }
.view-entry:has(.bar) .ask { margin-bottom: var(--s-4); }

.view-entry .ask__line:has(+ .ask) {
  margin-bottom: var(--s-5);
}

.view-entry .ask__line + .ask {
  margin-bottom: var(--s-6);
  max-width: none;
  font-size: clamp(var(--f-2), 5.32vw, var(--f-3));
}

.ask__line {
  white-space: pre-line;
  margin: 0 0 var(--s-5);
  max-width: 48ch;
  color: var(--ink-2);
  font-size: var(--f-1);
  line-height: var(--lh-ui);
  letter-spacing: var(--track-title);
}

.statement {
  margin: 0;
  max-width: 34ch;
  font-size: var(--f-1-2);
  line-height: var(--lh-ui);
  letter-spacing: var(--track-head);
  color: var(--ink-2);
}

.statement a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
  transition: color var(--t) var(--ease);
}

.statement a:hover, .statement a:focus-visible { color: var(--hover); }

.teaser {
  margin: var(--s-6) 0 0;
  padding: 0 0 0 var(--s-4);
  display: grid;
  gap: var(--s-3);
  justify-items: start;
  border-left: 3px solid var(--orange);
}

.teaser .tag {
  background: none;
  padding: 0;
  color: var(--ink-2);
  font-weight: 500;
}

.teaser .statement { max-width: 40ch; }

.statement__lead { display: block; color: var(--ink); font-weight: 600; }

.statement__rest {
  display: block;
  margin-top: var(--s-2);
  font-size: var(--f-1);
  line-height: var(--lh-ui);
  letter-spacing: var(--track-title);
}

.statement .ico {
  width: 1em;
  height: 1em;
  margin-left: var(--s-2);
  vertical-align: -0.1em;
}

.ask {
  margin: 0 0 clamp(var(--s-5), 7vh, var(--s-6));
  max-width: 17ch;
  font-weight: 600;
  font-size: clamp(var(--f-3), 5.6vw, var(--f-4));
  line-height: var(--lh-display);
  letter-spacing: var(--track-display);
  text-wrap: balance;
}

.doors {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3);
}

.door {
  position: relative;
  min-height: 11.33rem;
  background: var(--paper);
}

.door__flip {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: var(--round);
}

.door__face {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: var(--s-5) var(--s-4) var(--s-4);
}

.door__face--front { background: var(--paper); }

.door__face--back {
  position: absolute;
  inset: auto 0 0 0;
  height: auto;
  padding: var(--s-4);
  border-radius: var(--round) var(--round) 0 0;
  transform: translateY(calc(100% + var(--s-1)));
  transition: transform var(--t-slow) var(--ease);
  background: var(--ink);
  color: var(--paper);
  justify-content: flex-end;
  gap: var(--s-3);
}

.door:focus-within .door__face--back { transform: none; }

@media (hover: hover) {
  .door:hover .door__face--back { transform: none; }
}

.door__ask {
  font-size: var(--f-1);
  line-height: var(--lh-head);
  letter-spacing: var(--track-title);
  text-wrap: balance;
}

.door__fit { display: grid; gap: var(--s-1); }

.fit-main::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.fit-alt { position: relative; z-index: 2; }

.door__fit a {
  display: block;
  padding: var(--s-2) var(--s-3);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--paper);
  text-decoration: none;
  transition: background-color var(--t) var(--ease),
              border-color var(--t) var(--ease),
              color var(--t) var(--ease);
}

.door__fit a:has(.ico) {
  display: flex;
  align-items: center;
  gap: var(--s-2);
}

.door__fit .ico { flex: none; width: 1.272em; height: 1.272em; }

.fit__label {
  font-size: var(--f--0);
  line-height: var(--lh-ui);
}

.door__fit a:focus-visible {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

@media (hover: hover) {
  .door__fit a:hover {
    background: var(--paper);
    border-color: var(--paper);
    color: var(--ink);
  }
}

.door__fit a { border-radius: var(--pill); padding-inline: var(--s-4); }

.door__fit .fit-main {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
  transition: opacity var(--t) var(--ease);
}

.door__fit .fit-main:focus-visible { opacity: 0.86; }

@media (hover: hover) {
  .door__fit .fit-main:hover { opacity: 0.86; }
}

.door__fit a:focus-visible { outline-offset: 2px; }

@media (hover: none) {
  .door__face { height: auto; }
  .door__face--back {
    position: static;
    transform: none;
    border-radius: 0;
    padding-top: var(--s-3);
  }
}

@media (prefers-reduced-motion: reduce) {
  .door__face--back { transition: none; }
}

.door__name {
  font-weight: 600;
  font-size: var(--f-1-2);
  line-height: var(--lh-head);
  letter-spacing: var(--track-head);
  text-wrap: balance;
}

.door__badge {
  color: var(--ink-2);
  font-weight: 400;
}

.std,
.tag,
.case__kind {
  display: inline-block;
  padding: 0.3em 0.85em;
  border: 1px solid transparent;
  border-radius: var(--pill);
  background: var(--paper-2);
  color: var(--ink-2);
  font-size: var(--f--1);
  line-height: var(--lh-ui);
  white-space: nowrap;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  transition: background-color var(--t) var(--ease),
              border-color var(--t) var(--ease),
              color var(--t) var(--ease);
}

a.std { border-color: var(--rule-3); background: var(--card); }

@media (min-width: 64rem) {
  .door__name { font-size: clamp(var(--f-2), 2.2vw, var(--f-3)); }
  .doors { margin-inline: calc(-1 * (var(--s-4) + 1px)); }

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

.bar {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  flex-wrap: wrap;
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: var(--s-4) var(--gutter);
}

.bar__home { display: inline-flex; }
.mark--small { width: var(--s-4); }

.bar__links { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); }

.bar__link {
  color: var(--ink-2);
  font-size: var(--f--0);
  line-height: var(--lh-ui);
  text-decoration: none;
  padding-block: var(--s-1);
  transition: color var(--t) var(--ease);
}

.bar__link:hover, .bar__link:focus-visible { color: var(--hover); }
.bar__link--on { color: var(--ink); font-weight: 500; }

.bar__marks {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
}

.bar__help {
  display: inline-flex;
  align-items: center;
  padding: var(--s-1);
  color: var(--ink-2);
  transition: color var(--t) var(--ease);
}

.bar__help { border-radius: var(--pill); }
.bar__help:hover, .bar__help:focus-visible { color: var(--hover); }
.bar__help--on { background: var(--paper-2); color: var(--ink); }

.bar__help .ico { width: 1.272rem; height: 1.272rem; }

.bar__theme {
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}
.bar__sun,
[data-theme="dark"] .bar__moon { display: none; }
[data-theme="dark"] .bar__sun { display: block; }

.lively__from { stop-color: var(--pink); }
.lively__to   { stop-color: var(--blue); }

.ico,
.module__ico { stroke-width: 2; }

svg[class*="tone--"] { color: color-mix(in srgb, var(--tone) 78%, var(--card)); }

.ico__hi  { stroke: var(--tone, currentColor); }
.ico__bg  { fill: none; }
.ico__lit,
.ico__shade { fill: none; stroke: none; }

.soft__top { stop-color: color-mix(in srgb, var(--tone) 45%, var(--card)); }
.soft__end { stop-color: color-mix(in srgb, var(--tone) 78%, var(--card)); }

svg[class*="tone--"] {
  overflow: visible;
  filter: drop-shadow(0 0.06em 0.08em color-mix(in srgb, var(--tone) 22%, transparent));
}

svg[class*="tone--"] .ico__cut { stroke: var(--card); stroke-width: 1.8; }
svg[class*="tone--"] .ico__lit   { fill: var(--card); fill-opacity: 0.3; }
svg[class*="tone--"] .ico__shade { fill: var(--ink); fill-opacity: 0.14; }
svg[class*="tone--"] .ico__lit + .ico__shade + .ico__cut { stroke-width: 0.8; stroke-opacity: 0.7; }

svg:where(.tone--pink)   .ico__bg { fill: url(#soft-pink) var(--pink); }
svg:where(.tone--blue)   .ico__bg { fill: url(#soft-blue) var(--blue); }
svg:where(.tone--green)  .ico__bg { fill: url(#soft-green) var(--green); }
svg:where(.tone--orange) .ico__bg { fill: url(#soft-orange) var(--orange); }
svg:where(.tone--pink)   .ico__hi { stroke: url(#soft-pink) var(--pink); }
svg:where(.tone--blue)   .ico__hi { stroke: url(#soft-blue) var(--blue); }
svg:where(.tone--green)  .ico__hi { stroke: url(#soft-green) var(--green); }
svg:where(.tone--orange) .ico__hi { stroke: url(#soft-orange) var(--orange); }

.btn--solid,
.btn--accent,
.seg__opt--on,
.entry .call .btn--accent { --tone: currentColor; }

:is(.btn--solid, .btn--accent) svg .ico__bg { fill: none; }
.ico__lit,
.ico__shade { fill: none; stroke: none; }
:is(.btn--solid, .btn--accent) svg .ico__cut { stroke: currentColor; stroke-width: inherit; }
:is(.btn--solid, .btn--accent) svg .ico__hi { stroke: currentColor; }
:is(.btn--solid, .btn--accent) svg { filter: none; }
:is(.btn--solid, .btn--accent) svg :is(.ico__lit, .ico__shade) { fill: none; }

.u-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.page {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter) var(--s-7);
}

.door-head {
  padding: clamp(var(--s-4), 7.6vw, var(--s-6)) 0 var(--s-4);
  margin-bottom: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-4) var(--s-5);
}

.door-head__text { flex: 1 1 100%; min-width: 0; }

.bootcamp-head .door-head__text { flex-basis: 34rem; }

.door-head h1 {
  margin: 0;
  max-width: 34ch;
  font-weight: 600;
  font-size: clamp(var(--f-2), 5.32vw, var(--f-3));
  line-height: var(--lh-display);
  letter-spacing: var(--track-display);
  text-wrap: balance;
}

.door-head__title {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

.door-head__ico {
  flex: none;
  width: 1em;
  height: 1em;
}

.stds {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-1);
  margin-top: var(--s-4);
}

a.std:hover { border-color: var(--ink); color: var(--ink); }

.std--on,
a.std--on,
a.std--on:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.footnote {
  display: block;
  margin: var(--s-2) 0 0;
  max-width: var(--measure-s);
  color: var(--ink-2);
  font-size: var(--f--1);
  line-height: var(--lh-ui);
}

.footnote--wide { max-width: var(--measure); }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.step {
  display: block;
  padding: var(--s-4) 0;
  border-top: 1px solid var(--rule);
}

.step:last-child { border-bottom: 1px solid var(--rule); }

@media (min-width: 64rem) {
  .steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-5);
  }
  .step { padding: var(--s-4) 0 0; border-bottom: 0; }
  .step:last-child { border-bottom: 0; }
}

.step__no {
  margin: 0 0 var(--s-2);
  color: var(--orange);
  font-size: var(--f--0);
  font-variant-numeric: tabular-nums;
  line-height: var(--lh-display);
}

.step__name {
  margin: 0;
  font-weight: 600;
  font-size: var(--f-1);
  line-height: var(--lh-head);
  letter-spacing: var(--track-title);
}

.step__text {
  margin: var(--s-2) 0 0;
  max-width: none;
  color: var(--ink-2);
  font-size: var(--f-0);
  line-height: var(--lh-body);
}

.bootcamp-items {
  list-style: none;
  margin: var(--s-2) 0 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}

.bootcamp-items .std-sec__row {
  display: block;
  padding: var(--s-2) 0;
}

.bootcamp-items .std-sec__row:first-child { border-top: 0; }

.bootcamp-items .std-sec__row:last-child { border-bottom: 1px solid var(--rule); }

.bootcamp-items .std-sec__name {
  margin: 0;
  font-size: var(--f--0);
  line-height: var(--lh-ui);
}

.bootcamp-items .std-sec__body {
  margin-top: var(--s-1);
  font-size: var(--f--1);
  line-height: var(--lh-ui);
}

.bootcamp-standards {
  margin-top: 0;
  margin-left: 0;
  padding: 0;
  list-style: none;
}

.bootcamp-standards li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2);
}

.std-tip { position: relative; }

.std-tip__tag { cursor: help; }

.std-tip__tag:hover,
.std-tip__tag:focus-visible { border-color: var(--ink); color: var(--ink); }

.std-tip__box {
  position: absolute;
  bottom: calc(100% + var(--s-2));
  left: 0;
  z-index: 5;
  width: max-content;
  max-width: min(var(--measure-s), 80vw);
  padding: var(--s-3);
  border-radius: var(--round);
  background: var(--card);
  box-shadow: var(--lift);
  color: var(--ink-2);
  font-size: var(--f--1);
  line-height: var(--lh-ui);
  white-space: normal;
  pointer-events: none;
  display: none;
  opacity: 0;
  transform: translateY(var(--s-1));
  transition: opacity var(--t) var(--ease),
              transform var(--t) var(--ease),
              display var(--t) allow-discrete;
}

.std-tip:has(.std-tip__tag:hover) .std-tip__box,
.std-tip__tag:focus-visible + .std-tip__box {
  display: block;
  opacity: 1;
  transform: none;
}

@starting-style {
  .std-tip:has(.std-tip__tag:hover) .std-tip__box,
  .std-tip__tag:focus-visible + .std-tip__box {
    opacity: 0;
    transform: translateY(var(--s-1));
  }
}

@media (pointer: coarse) {
  .std-tip__tag { cursor: auto; }
  .std-tip__box { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .std-tip__box { transform: none; transition: none; }
}

@media (min-width: 64rem) {
  .bootcamp-items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--s-5);
  }
  .bootcamp-items .std-sec__row {
    border-top: 0;
    border-bottom: 1px solid var(--rule);
  }
  .bootcamp-items .std-sec__body { max-width: none; }
}

.steps.bootcamp-steps { display: block; }

.steps.bootcamp-steps .step {
  padding: var(--s-2) 0;
  border-bottom: 0;
}

.steps.bootcamp-steps .step:last-child { border-bottom: 1px solid var(--rule); }

.bootcamp-steps .step__sum {
  gap: var(--s-2);
  padding: 0;
}

.bootcamp-steps .step__no {
  margin: 0;
  font-size: var(--f--0);
}

.bootcamp-steps .step__mark { margin: 0; }

.bootcamp-steps .step__name {
  font-size: var(--f--0);
  line-height: var(--lh-ui);
}

.bootcamp-steps .step__text {
  max-width: var(--measure);
  margin: var(--s-2) 0 0 calc(var(--s-4) + var(--s-2));
  font-size: var(--f--1);
  line-height: var(--lh-ui);
}

.bootcamp-price-row {
  margin-top: var(--s-5);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2) var(--s-4);
}

.bootcamp-price {
  margin: 0;
  display: grid;
  gap: var(--s-1);
}

.bootcamp-price__label {
  color: var(--ink-2);
  font-size: var(--f--1);
  line-height: var(--lh-ui);
}

.bootcamp-price__amount {
  font-size: var(--f-0);
  line-height: var(--lh-ui);
  font-variant-numeric: tabular-nums;
}

.bootcamp-price-row .call { margin-top: 0; }

.bootcamp-price-row + .footnote { margin-top: var(--s-4); }

.bootcamp-disclaimer {
  font-size: calc(var(--f--1) * 0.9);
  line-height: var(--lh-ui);
}

.seg {
  flex: none;
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: var(--paper-2);
}

.seg__opt {
  position: relative;
  padding: var(--s-1) var(--s-3);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font-size: var(--f--1);
  line-height: var(--lh-ui);
  white-space: nowrap;
  text-decoration: none;
  transition: background-color var(--t) var(--ease),
              color var(--t) var(--ease);
}

.seg__opt:hover { color: var(--ink); }

.seg__opt--on,
.seg__opt--on:hover {
  z-index: 1;
  background: var(--card);
  color: var(--ink);
  font-weight: 600;
  box-shadow: var(--lift), 0 2px 8px rgba(0, 0, 0, 0.08);
  cursor: default;
}

[data-theme="dark"] .seg__opt--on,
[data-theme="dark"] .seg__opt--on:hover {
  background: var(--ink);
  color: var(--paper);
  box-shadow: none;
}

.seg__opt:focus-visible { z-index: 2; outline-offset: 2px; }

.page > .seg {
  display: flex;
  width: fit-content;
  margin: var(--s-4) 0 0 auto;
  view-transition-name: door-switch;
}

.page:not(.page--stage) > .seg + .door-head { padding-top: var(--s-5); }

@media (pointer: coarse) {
  .seg__opt { padding-block: var(--s-2); }
}

.sub { margin-top: var(--s-5); }

.sub > .case__facts { margin-top: var(--s-3); }
.sub > .concepts,
.sub > .module__inc { margin-top: var(--s-3); }

.sub__name {
  margin: 0;
  font-weight: 600;
  font-size: var(--f-1);
  line-height: var(--lh-head);
  letter-spacing: var(--track-title);
}

.sub__note {
  margin: var(--s-2) 0 0;
  max-width: var(--measure);
  color: var(--ink-2);
  font-size: var(--f--0);
  line-height: var(--lh-body);
}

.voices {
  list-style: none;
  margin: var(--s-4) 0 0;
  padding: 0;
  display: grid;
  gap: var(--s-4);
  border-top: 1px solid var(--rule);
}

@media (min-width: 64rem) {
  .voices { grid-template-columns: repeat(auto-fit, minmax(18.33rem, 1fr)); gap: var(--s-5); }
}

.voice {
  padding-top: var(--s-4);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.voice__quote {
  margin: 0;
  quotes: auto;
  font-style: italic;
  font-size: clamp(var(--f-0), 1.43vw, var(--f-1));
  line-height: var(--lh-ui);
  letter-spacing: var(--track-title);
}

.voice__quote::before { content: open-quote; }
.voice__quote::after { content: close-quote; }

.voice__who {
  margin: auto 0 0;
  padding-top: var(--s-3);
  display: grid;
  gap: 0.1em;
  font-size: var(--f--0);
  line-height: var(--lh-ui);
}

.voice__role { font-weight: 500; }
.voice__where { color: var(--ink-2); }

.people {
  list-style: none;
  margin: var(--s-4) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-5) var(--s-4);
  align-items: end;
}

@media (min-width: 64rem) {
  .people { grid-template-columns: repeat(4, 1fr); column-gap: var(--s-4); }
}

.person .shot { margin: 0; }
.person .shot img { aspect-ratio: var(--phi); object-fit: cover; }

.person__name {
  margin: var(--s-3) 0 0;
  font-weight: 600;
  font-size: var(--f-1);
  line-height: var(--lh-head);
  letter-spacing: var(--track-title);
}

.person__role {
  margin: var(--s-1) 0 0;
  display: flex;
  align-items: center;
  gap: var(--s-1);
  color: var(--ink-2);
  font-size: var(--f--0);
  line-height: var(--lh-ui);
}

.person__in {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--s-5);
  min-height: var(--s-5);
  margin: calc(var(--s-3) * -1) 0;
  color: var(--ink-2);
  transition: color var(--t) var(--ease);
}

.person__in:hover, .person__in:focus-visible { color: var(--hover); }
.person__in .ico { width: var(--s-4); height: var(--s-4); }

.redirect-backdrop {
  position: fixed;
  inset: 0;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  background: color-mix(in srgb, var(--paper) 40%, transparent);
  opacity: 0;
  transition: opacity var(--t-slow) var(--ease);
  pointer-events: none;
  z-index: 899;
}
.redirect-backdrop--visible { opacity: 1; }
.redirect-toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-50% + var(--s-5)));
  width: min(24rem, calc(100vw - var(--s-5)));
  background: var(--card);
  box-shadow: var(--lift);
  border-radius: var(--round);
  padding: var(--s-4);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  opacity: 0;
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
  pointer-events: none;
  z-index: 900;
}
.redirect-toast--visible {
  opacity: 1;
  transform: translate(-50%, -50%);
}
.redirect-toast__heading {
  margin: 0;
  font-size: var(--f-1);
  font-weight: 600;
  letter-spacing: var(--track-title);
  line-height: var(--lh-ui);
  color: var(--ink);
}
.redirect-toast__sub {
  margin: 0;
  font-size: var(--f--0);
  line-height: var(--lh-ui);
  color: var(--ink-2);
}
.redirect-toast__bar {
  margin-top: var(--s-2);
  width: 100%;
  height: 2px;
  background: var(--rule);
  border-radius: var(--pill);
  overflow: hidden;
}
.redirect-toast__fill {
  height: 100%;
  width: 0;
  background: var(--blue);
  border-radius: var(--pill);
  transition: width 3s linear;
}
.redirect-toast--go .redirect-toast__fill { width: 100%; }

.person__bio {
  margin: var(--s-2) 0 0;
  max-width: var(--measure-s);
  line-height: var(--lh-body);
}

.history {
  list-style: none;
  margin: var(--s-4) 0 0;
  padding: 0;
  border-bottom: 1px solid var(--rule);
}

.history__year {
  display: grid;
  gap: var(--s-1) var(--s-4);
  padding: var(--s-3) 0;
  border-top: 1px solid var(--rule);
}

.history__when {
  margin: 0;
  font-weight: 600;
  font-size: var(--f-0);
  line-height: var(--lh-ui);
  font-variant-numeric: tabular-nums;
}

.history__year:first-child .history__when { color: var(--orange); }

.history__events {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s-2);
  max-width: var(--measure);
}

.history__name {
  margin: 0;
  font-weight: 600;
  font-size: var(--f--0);
  line-height: var(--lh-ui);
}

.history__line {
  margin: var(--s-1) 0 0;
  color: var(--ink-2);
  font-size: var(--f--1);
  line-height: var(--lh-ui);
}

.history__event .module__more { margin-top: var(--s-1); font-size: var(--f--1); line-height: var(--lh-ui); }
.history__event--case .module__more { margin-top: 0; }
.history__event--case .module__more a { display: inline; }
.history__event--case .module__more .ico { margin-left: var(--s-2); vertical-align: -0.125em; }

@media (min-width: 48rem) {
  .history__year {
    grid-template-columns: var(--s-6) minmax(0, 1fr);
  }
}

.entry .call .btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  box-shadow: var(--glow);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-slow) var(--ease);
}

.entry .call .btn:is(:hover, :focus-visible)::after { opacity: 1; }

.module__inc a {
  text-decoration: none;
  transition: color var(--t) var(--ease);
}
.module__inc a span { text-decoration: underline; }
.module__inc a:is(:hover, :focus-visible) { color: var(--hover); }

.module__inc a .ico {
  width: 1em;
  height: 1em;
  margin: 0 var(--s-1) 0 var(--s-2);
  vertical-align: -0.125em;
}

.call {
  margin-top: var(--s-6);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3);
}
.entry .call { margin-top: var(--s-5); }

.entry .call .btn {
  position: relative;
  isolation: isolate;
}

.entry .call .btn:not(.btn--accent) {
  border-color: transparent;
  background: var(--card);
  box-shadow: var(--lift);
}

.entry .call .btn:not(.btn--accent):hover,
.entry .call .btn:not(.btn--accent):focus-visible {
  background: var(--card);
  color: var(--ink);
}

.entry .call .btn:not(.btn--accent) .ico__hi { stroke: url(#lively) var(--accent); }

.entry .call .btn--accent {
  background: var(--lively);
  background-origin: border-box;
  border-color: transparent;
  color: var(--card);
}

@media (min-width: 64rem) {
  .call-page {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
    column-gap: var(--s-6);
    align-items: start;
  }
  .call-page__main { grid-column: 1; grid-row: 1; min-width: 0; }
  .call-page__aside {
    grid-column: 2;
    grid-row: 1;
    position: sticky;
    top: var(--s-4);
    margin-top: clamp(var(--s-4), 7.6vw, var(--s-6));
  }
  .call-page__aside .shot img { transform: none; }
}

.call-page__aside { margin-top: var(--s-5); }
.call-page__aside .shot {
  max-width: calc(100% / var(--phi) / var(--phi));
  margin: 0;
}
.call-page__aside .call-page__support {
  display: none;
  margin-top: var(--s-5);
}

@media (min-width: 64rem) {
  .call-page__aside .call-page__support { display: block; }
  .call-page__aside ~ .call-page__main .call-page__support { display: none; }
}

@media (max-width: 46rem) {
  .call-page__aside { display: none; }
}

.call-page__note {
  max-width: var(--measure);
  margin: var(--s-3) 0 0;
  color: var(--ink-2);
  font-size: var(--f--0);
  line-height: var(--lh-body);
}

.call-page__gate { margin-block: var(--s-3); }

.call-page__gate[hidden] { display: none; }

.call-page__booking[hidden] { display: none; }

.call-page__booking {
  display: block;
  width: 100%;
  border: 1px solid var(--rule);
  border-radius: var(--round);
  background: var(--card);
  overflow: hidden;
}

.call-page__connecting {
  --scan: calc(var(--t-slow) * 6);
  display: grid;
  gap: var(--s-3);
  margin-block: var(--s-3);
  padding: var(--s-4);
  border: 1px solid var(--rule);
  border-radius: var(--round);
  background: var(--card);
  box-shadow: var(--lift);
}

.call-page__connecting[hidden] { display: none; }

.call-page__connecting:not([hidden]) ~ .call-page__booking { visibility: hidden; }

.call-page__scan {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--s-1);
  margin: calc(var(--s-1) * -1);
  padding: var(--s-1);
  overflow: hidden;
  border-radius: var(--s-2);
}

.call-page__cell {
  height: var(--s-4);
  border: 1px solid var(--rule);
  border-radius: var(--s-1);
  background: var(--paper-2);
  opacity: 0.6;
}

.call-page__beam {
  position: absolute;
  inset: var(--s-1) 0;
  background: linear-gradient(90deg,
    transparent 70%,
    color-mix(in srgb, var(--accent) 16%, transparent) 97%,
    var(--accent) 100%);
  transform: translateX(-100%);
  pointer-events: none;
}

.call-page__steps {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.call-page__steps li {
  grid-area: 1 / 1;
  color: var(--ink-2);
  font-size: var(--f--0);
  line-height: var(--lh-ui);
  opacity: 0;
  transform: translateY(var(--s-1));
}

.call-page__connecting[data-step="1"] .call-page__steps li:nth-child(1),
.call-page__connecting[data-step="2"] .call-page__steps li:nth-child(2),
.call-page__connecting[data-step="3"] .call-page__steps li:nth-child(3),
.call-page__connecting[data-step="4"] .call-page__steps li:nth-child(4) {
  opacity: 1;
  transform: none;
}

.call-page__connecting[data-step="4"] .call-page__steps li:nth-child(4) {
  color: var(--green);
  font-weight: 600;
}

.call-page__meter {
  display: block;
  height: 2px;
  overflow: hidden;
  border-radius: var(--pill);
  background: var(--paper-2);
}

.call-page__meter span {
  display: block;
  height: 100%;
  background: var(--lively);
  transform: scaleX(0.9);
  transform-origin: left;
}

.call-page__connecting[data-step="4"] .call-page__cell--free {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, var(--card));
  opacity: 1;
}

.call-page__connecting[data-step="4"] .call-page__meter span { transform: scaleX(1); }

@media (prefers-reduced-motion: no-preference) {
  .call-page__beam { animation: call-beam var(--scan) linear infinite; }
  .call-page__cell--free { animation: call-found var(--scan) var(--ease) infinite; }
  .call-page__cell--free:nth-child(5n+1) { animation-delay: calc(var(--scan) * 0.06); }
  .call-page__cell--free:nth-child(5n+2) { animation-delay: calc(var(--scan) * 0.26); }
  .call-page__cell--free:nth-child(5n+3) { animation-delay: calc(var(--scan) * 0.46); }
  .call-page__cell--free:nth-child(5n+4) { animation-delay: calc(var(--scan) * 0.66); }
  .call-page__cell--free:nth-child(5n)   { animation-delay: calc(var(--scan) * 0.86); }
  .call-page__steps li {
    transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
  }
  .call-page__meter span { animation: call-meter 7s var(--ease) both; }
  .call-page__connecting[data-step="4"] .call-page__beam {
    opacity: 0;
    transition: opacity var(--t-slow) var(--ease);
  }
  .call-page__connecting[data-step="4"] .call-page__cell--free {
    animation: call-settle var(--t-slow) var(--ease) both;
  }
  .call-page__connecting[data-step="4"] .call-page__meter span {
    animation: call-meter-end var(--t-slow) var(--ease) both;
  }
}

@media (prefers-reduced-motion: reduce) {
  .call-page__beam { display: none; }
  .call-page__cell--free {
    border-color: var(--accent);
    background: color-mix(in srgb, var(--accent) 14%, var(--card));
    opacity: 1;
  }
  .call-page__meter { display: none; }
}

@keyframes call-beam {
  0%   { opacity: 0; transform: translateX(-100%); }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { opacity: 0; transform: translateX(0); }
}

@keyframes call-found {
  0%, 90%, 100% {
    border-color: var(--rule);
    background: var(--paper-2);
    opacity: 0.6;
    transform: none;
  }
  5% {
    border-color: var(--accent);
    background: color-mix(in srgb, var(--accent) 45%, var(--card));
    opacity: 1;
    transform: scale(1.06);
  }
  20%, 72% {
    border-color: var(--accent);
    background: color-mix(in srgb, var(--accent) 14%, var(--card));
    opacity: 1;
    transform: none;
  }
}

@keyframes call-settle {
  0%   { transform: scale(1.08); }
  100% { transform: none; }
}

@keyframes call-meter {
  from { transform: scaleX(0.04); }
  to   { transform: scaleX(0.9); }
}

@keyframes call-meter-end {
  from { transform: scaleX(0.9); }
  to   { transform: scaleX(1); }
}

.call-page__support {
  margin: var(--s-4) 0 0;
  max-width: 48ch;
}

.call-page__support .case__facts {
  color: var(--ink-2);
  font-size: var(--f--0);
}

.call-page__who {
  margin: 0 0 var(--s-2);
  color: var(--ink);
  font-size: var(--f--0);
  font-weight: 600;
  line-height: var(--lh-ui);
}

.call-page__support .case__facts :is(dt, dd):nth-of-type(3) { margin-top: var(--s-4); }

button.btn { font-family: inherit; cursor: pointer; }

.cases__note {
  margin: 0 0 var(--s-4);
  max-width: var(--measure);
  color: var(--ink-2);
  font-size: var(--f--0);
  line-height: var(--lh-body);
}

.cases__note em { font-style: normal; color: var(--ink); }

.cases { list-style: none; margin: 0; padding: 0; }

.cases--compact .module__sum { padding: var(--s-2) 0; }

.cases--compact .module__name {
  font-size: var(--f--0);
  line-height: var(--lh-ui);
}

.cases--compact .module__teaser {
  margin-top: var(--s-1);
  max-width: var(--measure);
  font-size: var(--f--1);
}

.cases--compact .case__facts {
  font-size: var(--f--1);
  line-height: var(--lh-ui);
}

.cases--compact .where {
  font-size: var(--f--1);
  line-height: var(--lh-ui);
}

.cases--compact .module__body > .sub {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: var(--s-2);
  margin-top: var(--s-5);
}

.cases--compact .sub__name,
.cases--compact .sub__note {
  margin: 0;
  color: var(--ink-2);
  font-weight: 400;
  font-size: var(--f--1);
  line-height: var(--lh-ui);
  letter-spacing: 0;
}

.cases--compact .voices {
  flex-basis: 100%;
  margin-top: var(--s-1);
  row-gap: var(--s-3);
}

.cases--compact .voice { padding-top: var(--s-2); }

.cases--compact .voice__quote {
  font-size: var(--f--0);
  line-height: var(--lh-body);
}

.cases--compact .voice__who {
  padding-top: var(--s-2);
  font-size: var(--f--1);
}

@media (min-width: 64rem) {
  .cases--compact .voices {
    grid-template-columns: repeat(3, 1fr);
    column-gap: var(--s-5);
  }
}

.case__when {
  color: var(--ink-2);
  font-size: var(--f--0);
  line-height: var(--lh-ui);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.case__facts {
  margin: 0;
  display: grid;
  grid-template-columns: var(--s-7) 1fr;
  gap: var(--s-2) var(--s-4);
  font-size: var(--f-0);
  line-height: var(--lh-body);
}

.case__facts dt { margin: 0; color: var(--ink-2); }
.case__facts dd { margin: 0; font-variant-numeric: tabular-nums; }

@media (min-width: 64rem) {
  .case__facts {
    grid-template-columns: repeat(3, 1fr);
    column-gap: var(--s-5);
    row-gap: var(--s-2);
  }
  .case__facts dt {
    grid-row: 1;
    padding-bottom: var(--s-1);
    border-bottom: 1px solid var(--rule);
  }
  .case__facts dd { grid-row: 2; }
  .case__facts dt:nth-of-type(1), .case__facts dd:nth-of-type(1) { grid-column: 1; }
  .case__facts dt:nth-of-type(2), .case__facts dd:nth-of-type(2) { grid-column: 2; }
  .case__facts dt:nth-of-type(3), .case__facts dd:nth-of-type(3) { grid-column: 3; }
}

@media (min-width: 64rem) {
  .cases .module__body { display: block; }
}

.case__facts--list {
  grid-template-columns: max-content 1fr;
  max-width: var(--measure);
}

@media (min-width: 64rem) {
  .case__facts.case__facts--list {
    grid-template-columns: max-content 1fr;
    column-gap: var(--s-5);
  }
  .case__facts.case__facts--list dt,
  .case__facts.case__facts--list dd {
    grid-row: auto;
    grid-column: auto;
    padding-bottom: 0;
    border-bottom: 0;
  }
}

.cases .case__facts--list { max-width: none; }

@media (min-width: 64rem) {
  .cases .case__facts--list { row-gap: var(--s-3); }
}

@media (max-width: 46rem) {
  .case__facts { grid-template-columns: 1fr; gap: var(--s-1); }
  .case__facts dd { margin-bottom: var(--s-3); }
}

.where {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2) var(--s-3);
  margin: var(--s-4) 0 0;
  padding-top: var(--s-3);
  border-top: 1px solid var(--rule);
  font-size: var(--f--0);
  line-height: var(--lh-body);
}

.where__label { color: var(--ink-2); }

.history__flags {
  display: inline-flex;
  gap: var(--s-1);
  margin-left: var(--s-2);
  vertical-align: -0.15em;
}

.flag__img {
  display: block;
  width: auto;
  height: 1.1em;
  border: 1px solid var(--rule);
  border-radius: 1px;
}

.abouts {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}

.abouts li { border-bottom: 1px solid var(--rule); }

.abouts a {
  display: block;
  padding: var(--s-4) 0;
  text-decoration: none;
  transition: color var(--t) var(--ease);
}

.abouts a:is(:hover, :focus-visible) { color: var(--hover); }

.abouts__name {
  display: block;
  font-weight: 600;
  font-size: var(--f-1);
  line-height: var(--lh-head);
  letter-spacing: var(--track-title);
}

.abouts__line {
  display: block;
  margin-top: var(--s-2);
  max-width: var(--measure);
  color: var(--ink-2);
  font-size: var(--f--0);
  line-height: var(--lh-body);
}

.concept { border-top: 1px solid var(--rule); }
.concept:last-of-type { border-bottom: 1px solid var(--rule); }

@media (min-width: 64rem) {
  .concepts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: var(--s-6);
  }
  .concept { display: flex; border-top: 0; border-bottom: 1px solid var(--rule); }
  .concept__link { flex: 1; min-width: 0; }
  .concept:nth-of-type(-n+2) { border-top: 1px solid var(--rule); }
}

.concept__link {
  display: flex;
  align-items: flex-start;
  gap: var(--s-4);
  padding: var(--s-4) 0;
  text-decoration: none;
  transition: color var(--t) var(--ease);
}

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

.concept__go {
  flex: none;
  width: var(--s-4);
  height: var(--s-4);
  margin-top: calc((var(--f-1) * var(--lh-head) - var(--s-4)) / 2);
  color: var(--ink-2);
  transition: color var(--t) var(--ease);
}

.concept__link:hover .concept__go,
.concept__link:focus-visible .concept__go { color: var(--hover); }
.concept__link .module__name {
  display: flex;
  align-items: center;
  gap: var(--s-2);
}
.concept__ico {
  flex: none;
  width: var(--s-4);
  height: var(--s-4);
  color: var(--ink-2);
}

.concept__link .module__teaser {
  display: block;
  padding-left: calc(var(--s-4) + var(--s-2));
}

.prose { margin-top: var(--s-6); max-width: var(--measure); }

.prose p {
  margin: 0 0 var(--s-4);
  font-size: var(--f-0);
  line-height: var(--lh-body);
}

.prose p:last-child { margin-bottom: 0; }

.notice { display: grid; gap: var(--s-4); }

.notice .prose,
.notice .module__more { margin-top: 0; }

.notice .sub { margin-top: 0; display: grid; gap: var(--s-2); }
.notice .prose p { margin-bottom: var(--s-3); }

.concept__split { display: grid; row-gap: var(--s-5); }
.concept__split .prose { margin-top: 0; }

.concept__split .case__facts--list {
  gap: 0;
  font-size: var(--f--0);
  line-height: var(--lh-ui);
  border-bottom: 1px solid var(--rule);
}

.concept__split .case__facts--list dt,
.concept__split .case__facts--list dd {
  padding: var(--s-2) 0;
  border-top: 1px solid var(--rule);
}

.concept__split .case__facts--list dt { padding-right: var(--s-4); }

.page--concept .case__facts--list { max-width: none; }
.concept__split > .case__facts--list:only-child { grid-column: 1 / -1; }

@media (max-width: 46rem) {
  .concept__split .case__facts--list dt { padding-bottom: 0; }
  .concept__split .case__facts--list dd {
    margin-bottom: 0;
    padding-top: var(--s-1);
    border-top: 0;
  }
}

@media (min-width: 64rem) {
  .concept__split {
    grid-template-columns: calc((100% - var(--s-6)) / (1 + var(--phi))) minmax(0, 1fr);
    column-gap: var(--s-6);
    align-items: start;
  }
}

.siblings {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-1);
  margin-top: var(--s-6);
}

.siblings .std {
  max-width: 100%;
  white-space: normal;
  font-size: var(--f--0);
}

.siblings--toc {
  display: block;
  columns: 2 var(--measure-s);
  column-gap: var(--s-5);
  max-width: calc(var(--measure) * 2 + var(--s-5));
}

.siblings--toc a {
  display: block;
  padding-block: var(--s-1);
  break-inside: avoid;
  color: var(--ink-2);
  font-size: var(--f--0);
  line-height: var(--lh-ui);
  text-decoration: none;
  transition: color var(--t) var(--ease);
}

.siblings--toc a:hover,
.siblings--toc a:focus-visible { color: var(--hover); }

.why__close {
  margin: var(--s-4) 0 0;
  padding-top: var(--s-3);
  border-top: 1px solid var(--rule);
  max-width: var(--measure);
  font-size: var(--f-0);
  line-height: var(--lh-body);
}

.std-sec__row {
  border-top: 1px solid var(--rule);
  padding: var(--s-4) 0;
}

.std-sec__row:last-of-type { border-bottom: 1px solid var(--rule); }

@media (min-width: 64rem) {
  .std-sec__row {
    display: grid;
    grid-template-columns: calc((100% - var(--s-5)) / (1 + var(--phi))) minmax(0, 1fr);
    gap: var(--s-5);
    align-items: start;
  }
  .std-sec__name { margin-bottom: 0; }
}

.std-sec__name {
  margin: 0 0 var(--s-2);
  font-weight: 600;
  font-size: var(--f-1);
  line-height: var(--lh-head);
  letter-spacing: var(--track-title);
  font-variant-numeric: tabular-nums;
}

.std-sec__body {
  margin: 0;
  max-width: var(--measure);
  color: var(--ink-2);
  font-size: var(--f--0);
  line-height: var(--lh-body);
}

.head__note a { color: inherit; text-underline-offset: 0.25em; }
.head__note a:hover, .head__note a:focus-visible { color: var(--hover); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  flex: none;
  padding: var(--s-2) var(--s-4);
  border: 1px solid var(--ink);
  border-radius: var(--pill);
  background: transparent;
  color: var(--ink);
  font-size: var(--f--0);
  line-height: var(--lh-ui);
  text-decoration: none;
  transition: background-color var(--t) var(--ease),
              color var(--t) var(--ease),
              opacity var(--t) var(--ease);
}

:is(.btn, a.std, .seg__opt, .bar__help):active { opacity: 0.72; }

.btn--solid {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--card);
}

.btn--solid:hover, .btn--solid:focus-visible { opacity: 0.86; }

.page--concept .btn--solid {
  background: var(--orange);
  border-color: var(--orange);
}

.btn:not(.btn--solid):not(.btn--accent):hover,
.btn:not(.btn--solid):not(.btn--accent):focus-visible {
  background: var(--ink);
  color: var(--paper);
}

.btn--accent {
  background: var(--lively);
  background-origin: border-box;
  border-color: transparent;
  color: var(--card);
}

.btn--accent:hover, .btn--accent:focus-visible { opacity: 0.86; }

.btn .ico { width: 1.272em; height: 1.272em; }

.module {
  border-top: 1px solid var(--rule);
  transition: background-color var(--t) var(--ease);
}
:target.module { scroll-margin-top: var(--s-5); }

.acts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-4);
}

.page--stage .door-head {
  margin-top: var(--s-3);
  padding: var(--s-6) var(--s-5) var(--s-5);
  border-radius: var(--round);
  background:
    radial-gradient(36rem 22rem at 100% 0%, color-mix(in srgb, var(--blue) 65%, transparent), transparent 70%),
    radial-gradient(30rem 20rem at 0% 100%, color-mix(in srgb, var(--pink) 55%, transparent), transparent 70%),
    radial-gradient(18rem 12rem at 70% 110%, color-mix(in srgb, var(--orange) 40%, transparent), transparent 70%),
    var(--ink);
  color: var(--card);
  overflow: hidden;
}

.page--stage-regulatory .door-head {
  background:
    radial-gradient(36rem 22rem at 100% 0%, color-mix(in srgb, var(--green) 56%, transparent), transparent 70%),
    radial-gradient(30rem 20rem at 0% 100%, color-mix(in srgb, var(--blue) 54%, transparent), transparent 70%),
    radial-gradient(18rem 12rem at 70% 110%, color-mix(in srgb, var(--orange) 32%, transparent), transparent 70%),
    var(--ink);
}

.page--stage .door-head__line,
.page--stage .door-head .footnote,
.page--stage .door-head .head__note { color: color-mix(in srgb, var(--card) 78%, transparent); }

.page--stage .door-head a.std {
  background: color-mix(in srgb, var(--card) 10%, transparent);
  border-color: color-mix(in srgb, var(--card) 35%, transparent);
  color: var(--card);
}

.page--stage .door-head a.std:hover { background: var(--card); color: var(--ink); }

.page--stage .door-head .std--on,
.page--stage .door-head a.std--on,
.page--stage .door-head a.std--on:hover {
  background: var(--card);
  border-color: var(--card);
  color: var(--ink);
}

.page--stage .door-head .seg { background: color-mix(in srgb, var(--card) 14%, transparent) }
.page--stage .door-head .seg__opt { color: color-mix(in srgb, var(--card) 80%, transparent); }
.page--stage .door-head .seg__opt:hover { color: var(--card); }
.page--stage .door-head .seg__opt--on,
.page--stage .door-head .seg__opt--on:hover { background: var(--card); color: var(--ink); }

.page--stage .box .module__ico { width: var(--s-5); height: var(--s-5); margin-top: 0; }

.page--stage .step__no { color: var(--orange); font-weight: 600; }

@media (max-width: 46rem) {
  .page--stage .door-head { padding: var(--s-5) var(--s-4) var(--s-4); }

}

.door-head__line {
  margin: var(--s-4) 0 0;
  max-width: 48ch;
  color: var(--ink-2);
  font-size: var(--f-1);
  line-height: var(--lh-ui);
  letter-spacing: var(--track-title);
}

.head {
  margin-bottom: var(--s-4);
  display: grid;
  gap: var(--s-2);
  justify-items: start;
}

.head h2 {
  margin: 0;
  font-weight: 600;
  font-size: var(--f-2);
  line-height: var(--lh-head);
  letter-spacing: var(--track-head);
}

.head__note {
  margin: 0;
  max-width: var(--measure);
  color: var(--ink-2);
  font-size: var(--f-0);
  line-height: var(--lh-body);
}

.box { margin-top: var(--s-6); }

.box-pair { margin-top: var(--s-6); }
.box-pair > .box:first-child { margin-top: 0; }

@media (min-width: 64rem) {
  .box-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-6) var(--s-5);
    align-items: start;
  }
  .box-pair > .box { margin-top: 0; }
  .box-pair .head__note { max-width: var(--measure); }
  .box-pair .module__inc li { max-width: var(--measure); }
}

.box--unheaded { margin-top: var(--s-2); }

.module:last-of-type { border-bottom: 1px solid var(--rule); }

.module__sum {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3) var(--s-4);
  padding: var(--s-4) 0;
  cursor: pointer;
  list-style: none;
  transition: color var(--t) var(--ease);
}

.module__sum::-webkit-details-marker { display: none; }
.module__sum:hover { color: var(--hover); }
.module:focus-within .module__sum { outline: none; }
.module__sum:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.module__head { flex: 1; min-width: 0; }

.module__ico {
  flex: none;
  width: var(--s-4);
  height: var(--s-4);
  margin-top: var(--s-1);
  color: var(--ink-2);
}

.module__ico--inline {
  width: 1em;
  height: 1em;
  margin: 0 var(--s-2) 0 0;
  vertical-align: -0.125em;
}

.module__teaser {
  margin: var(--s-2) 0 0;
  max-width: var(--measure-s);
  color: var(--ink-2);
  font-size: var(--f--0);
  line-height: var(--lh-ui);
}

.module__name .tag {
  margin-left: var(--s-2);
  vertical-align: middle;
}

.module__name {
  margin: 0;
  font-weight: 600;
  font-size: var(--f-1);
  line-height: var(--lh-head);
  letter-spacing: var(--track-title);
}

.module__sum::after {
  content: "";
  flex: none;
  margin-top: 0.35em;
  width: 0.5em;
  height: 0.5em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transform-origin: 60% 60%;
  transition: transform var(--t-slow) var(--ease);
}

.module[open] .module__sum::after { transform: rotate(-135deg); }

.module__body {
  min-width: 0;
  padding-bottom: var(--s-4);
}

@media (min-width: 64rem) {
  .module__body {
    display: grid;
    grid-template-columns: calc((100% - var(--s-6)) / (1 + var(--phi))) minmax(0, 1fr);
    column-gap: var(--s-6);
    align-items: start;
  }

  .changes           { grid-column: 1; }

  .acts              { grid-column: 2; }
}

.changes { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }

.changes li {
  position: relative;
  padding-left: var(--s-4);
  line-height: var(--lh-body);
  max-width: var(--measure-s);
}

.changes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: var(--s-2);
  height: 1px;
  background: var(--accent);
}

.module__inc {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s-1);
}

.module__inc li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-2);
  max-width: var(--measure-s);
  font-size: var(--f--0);
  line-height: var(--lh-ui);
}

.module__more {
  margin: var(--s-3) 0 0;
  font-size: var(--f--0);
  line-height: var(--lh-ui);
}

.module__more + .module__more { margin-top: var(--s-2); }

.module__more a {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
}

.module__more .ico {
  width: 1em;
  height: 1em;
  flex: none;
}

@media (min-width: 64rem) {
  .module__inc--cols {
    grid-template-columns: repeat(3, 1fr);
    column-gap: var(--s-4);
    row-gap: var(--s-3);
  }
}

.changes--wide li { max-width: var(--measure); }

@media (min-width: 64rem) {
  .changes--wide {
    display: block;
    columns: 2;
    column-gap: var(--s-6);
  }
  .changes--wide li { max-width: none; break-inside: avoid; margin-bottom: var(--s-3); }
}

.step__sum {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  cursor: pointer;
  list-style: none;
  transition: color var(--t) var(--ease);
}

.step__sum::-webkit-details-marker { display: none; }
.step__sum:hover { color: var(--hover); }
.step__sum:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.step__sum::after {
  content: "";
  flex: none;
  width: 0.42em;
  height: 0.42em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transform-origin: 60% 60%;
  opacity: 0.75;
  transition: transform var(--t-slow) var(--ease);
}

.step__d[open] .step__sum::after { transform: rotate(-135deg); }

.step__name {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  flex: 1;
  min-width: 0;
}

.step__ico {
  flex: none;
  width: var(--s-4);
  height: var(--s-4);
  color: var(--ink-2);
}

@media print {
  @page { size: A4; margin: 14mm; }

  .bar,
  .foot,
  .call,
  .consent { display: none !important; }

  html, body { background: #fff; }

  .changes--wide {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 10.5mm;
    row-gap: 2.5mm;
  }

  .changes { gap: 2.5mm; }
  .changes li { break-inside: avoid; }

  .changes li {
    font-size: 10pt;
    line-height: 1.4;
  }

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

.foot {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter) var(--s-5);
}

.foot__inner {
  padding-top: var(--s-4);
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-3) var(--s-5);
  color: var(--ink-2);
  font-size: var(--f--0);
  line-height: var(--lh-ui);
}

.foot__note {
  margin: var(--s-2) 0 0;
  color: var(--ink-2);
  font-size: var(--f--1);
  line-height: var(--lh-ui);
}

.foot__who {
  color: var(--ink-2);
  letter-spacing: var(--track-title);
  text-decoration: none;
  transition: color var(--t) var(--ease);
}

.foot__who:hover, .foot__who:focus-visible { color: var(--hover); }

.foot__links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--s-2) var(--s-4);
}

.foot__links a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t) var(--ease);
}

.foot__links a:hover, .foot__links a:focus-visible { color: var(--hover); }

.foot__links a[aria-current] { color: var(--ink); }

.foot__ends {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--s-2) var(--s-4);
}

.foot__lang {
  gap: var(--s-3);
  font-size: var(--f--1);
  line-height: var(--lh-ui);
  letter-spacing: var(--track-caps);
}

.foot__lang a[aria-current] { color: var(--ink); }

@media (min-width: 64rem) {
  .foot__lang {
    padding-left: var(--s-4);
    border-left: 1px solid var(--rule);
  }

  .foot__inner, .foot__ends, .foot__links { flex-wrap: nowrap; }
  .foot__links a { white-space: nowrap; }
}

.consent {
  position: sticky;
  bottom: 0;
  z-index: 5;
  padding: var(--s-2) var(--gutter);
  border-top: 1px solid var(--rule);
  background: var(--paper-2);
}

.consent__inner {
  max-width: var(--shell);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3) var(--s-5);
}

.consent__text { flex: 1 1 28rem; min-width: 0; }

.consent__name {
  margin: 0;
  font-weight: 600;
  font-size: var(--f-1);
  line-height: var(--lh-head);
  letter-spacing: var(--track-title);
}

.consent__note {
  margin: 0;
  color: var(--ink-2);
  font-size: var(--f--1);
  line-height: var(--lh-ui);
}

.consent__note a { color: inherit; text-underline-offset: 0.25em; }
.consent__note a:hover, .consent__note a:focus-visible { color: var(--hover); }

.consent__acts { margin-top: 0; }

.consent__state { margin: var(--s-4) 0 0; max-width: var(--measure); }

@media (prefers-reduced-motion: no-preference) {
  .view-entry .masthead,
  .view-entry .ask,
  .view-entry .ask__line,
  .view-entry .doors,
  .view-entry .statement,
  .view-entry .ask ~ .call {
    animation: settle var(--t-enter) var(--ease) backwards;
  }
  .view-entry .ask__line { animation-delay: 100ms; }
  .view-entry .ask   { animation-delay: 181ms; }
  .view-entry :is(.doors, .statement) { animation-delay: 262ms; }
  .view-entry .ask ~ .call { animation-delay: 424ms; }
}

@media (prefers-reduced-motion: no-preference) {
  html:not(.is-turning) body:has(.page > .door-head) .bar {
    animation: drop var(--t-enter) var(--ease-arrive) backwards;
  }
  html:not(.is-turning) .door-head h1 {
    animation: wipe var(--t-enter) var(--ease-arrive) 150ms backwards;
  }
  html:not(.is-turning) .door-head__text > :not(h1) {
    animation: settle var(--t-enter) var(--ease-arrive) 400ms backwards;
  }
  html:not(.is-turning) .consent {
    animation: settle var(--t-enter) var(--ease-arrive) 1600ms backwards;
  }
}

@media screen and (prefers-reduced-motion: no-preference) {
  html.reveal-live :is(.page > .door-head ~ *, body:has(.page > .door-head) .foot) {
    transition: opacity var(--t-enter) var(--ease-arrive) var(--reveal-delay, 0ms),
                transform var(--t-enter) var(--ease-arrive) var(--reveal-delay, 0ms);
  }
  html.reveal :is(.page > .door-head ~ *, body:has(.page > .door-head) .foot):not(.is-in):not(:has(.zoom:target)) {
    opacity: 0;
    transform: translateY(var(--s-4));
  }
}

@view-transition { navigation: auto; }

.bar { view-transition-name: bar; }

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: var(--t-slow);
  animation-timing-function: var(--ease);
}

@keyframes settle {
  from { opacity: 0; transform: translateY(var(--s-2)); }
  to   { opacity: 1; transform: none; }
}

@keyframes drop {
  from { opacity: 0; transform: translateY(calc(var(--s-2) * -1)); }
  to   { opacity: 1; transform: none; }
}

@keyframes wipe {
  from { opacity: 0; transform: translateY(var(--s-3)); clip-path: inset(0 0 100% 0); }
  to   { opacity: 1; transform: none; clip-path: inset(0 0 -10% 0); }
}

@media (pointer: coarse) {
  .btn,
  .std,
  .seg__opt,
  .bar__link,
  .bar__help,
  .module__more a,
  .foot__links a,
  .door__fit a,
  .skip a,
  .foot__who,
  .brand,
  .bar__home {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .brand,
  .bar__home { min-width: 44px; justify-content: flex-start; }
  .skip a { gap: 0.25em; }

  .door__fit a { justify-content: flex-start; }
}

@media (max-width: 46rem) {
  .bar { row-gap: var(--s-3); }
  .bar__links {
    order: 1;
    flex-basis: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter) var(--s-5);
    mask-image: linear-gradient(to right, #000 calc(100% - var(--s-5)), transparent);
  }
  .bar__links::-webkit-scrollbar { display: none; }
  .bar__link { white-space: nowrap; }
  .screen { min-height: 0; }
  .entry { padding-top: var(--s-4); }
  .entry::before, .entry::after { display: none; }
  .doors { margin-top: 0; }
  .doors { grid-template-columns: 1fr; }
  .view-entry .door { min-height: 0; }
  .view-entry .door__face { padding: var(--s-4) var(--s-3); }

  .seg,
  .page > .seg { display: flex; width: 100%; }
  .seg__opt { flex: 1 1 0; min-width: 0; padding-inline: var(--s-2); text-align: center; white-space: normal; }
  .door__top { padding-top: var(--s-4); }

  .module__sum { flex-wrap: wrap; row-gap: var(--s-2); }
  .module__head { flex: 1 1 calc(100% - 3rem); }
}

.shot { margin: var(--s-5) 0 0; }

@media (min-width: 64rem) {
  .shot { max-width: calc(100% / var(--phi)); }
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--round);
}

.shot--lqip {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--round);
}

.shot--lqip::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--lqip) center / cover no-repeat;
  filter: blur(var(--s-4));
  transform: scale(1.1);
}

.shot--lqip img { transition: opacity var(--t-slow) var(--ease); }
.shot--lqip img.is-loading { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .shot--lqip img { transition: none; }
}

.box > .shot { margin-bottom: var(--s-5); }

.shot__title {
  margin: 0;
  font-weight: 600;
  font-size: var(--f-1);
  line-height: var(--lh-head);
  letter-spacing: var(--track-title);
}

.shot__caption {
  margin: var(--s-2) 0 0;
  max-width: var(--measure);
  color: var(--ink-2);
  line-height: var(--lh-body);
}

.zoom__step--prev .ico { transform: rotate(180deg); }

.zoom { display: none; }

.zoom:target {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: var(--s-3);
  padding: var(--s-3) var(--gutter) var(--s-4);
  background: var(--paper);
  overflow-y: auto;
}

html:has(.zoom:target) { overflow: hidden; }

@media (prefers-reduced-motion: no-preference) {
  .zoom:target { animation: zoom-arrive var(--t) var(--ease); }
}

@keyframes zoom-arrive { from { opacity: 0; } }

.zoom__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--rule);
}

.zoom__count {
  margin: 0;
  color: var(--ink-2);
  font-size: var(--f--0);
  line-height: var(--lh-ui);
  font-variant-numeric: tabular-nums;
}

.zoom__acts { display: flex; gap: var(--s-2); }

.zoom__fig {
  margin: 0;
  min-height: 0;
  display: grid;
  gap: var(--s-4);
  align-content: start;
  justify-self: center;
  justify-items: start;
  width: fit-content;
  max-width: 100%;
}

.zoom__img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100svh - var(--s-7) * 2 - var(--s-6));
  border: 1px solid var(--rule);
  border-radius: var(--round);
}

.zoom__cap { max-width: var(--measure); }

.index {
  display: grid;
  gap: var(--s-4);
  align-items: start;
}

@media (min-width: 64rem) {
  .index { grid-template-columns: calc((100% - var(--s-5)) / (1 + var(--phi))) minmax(0, 1fr); column-gap: var(--s-5); }
}

.index__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}

.index__list > li { border-bottom: 1px solid var(--rule); }

.index__item {
  display: grid;
  grid-template-columns: var(--s-4) 1fr;
  column-gap: var(--s-2);
  padding: var(--s-3) var(--s-3) var(--s-3) var(--s-2);
  color: var(--ink);
  text-decoration: none;
  transition: background-color var(--t) var(--ease);
}

.index__item:hover { background: var(--paper-2); }

.index__item--on {
  background: color-mix(in srgb, var(--paper-2) 45%, var(--paper));
  box-shadow: inset 2px 0 0 var(--accent);
}

.index--playing .index__item--on {
  position: relative;
  box-shadow: inset 2px 0 0 var(--rule-2);
}

.index--playing .index__item--on::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: var(--orange);
  transform: scaleY(var(--played, 0));
  transform-origin: top;
}

.index__no {
  color: var(--orange);
  font-size: var(--f--0);
  line-height: var(--lh-body);
  font-variant-numeric: tabular-nums;
}

.index__name { font-weight: 500; line-height: var(--lh-body); }

.index__cap {
  grid-column: 2;
  margin-top: var(--s-1);
  max-width: var(--measure-s);
  color: var(--ink-2);
  font-size: var(--f--0);
  line-height: var(--lh-body);
}

.index__stage { margin: 0; order: -1; }

@media (min-width: 64rem) {
  .index__stage { order: 0; }
}

.shots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: var(--s-5) var(--s-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.shots__img {
  aspect-ratio: var(--phi);
  object-fit: cover;
  object-position: top left;
}

.shots__name {
  margin: var(--s-2) 0 0;
  font-size: var(--f--0);
  font-weight: 500;
  line-height: var(--lh-ui);
}

.index__open {
  position: relative;
  display: block;
  border: 1px solid var(--rule);
  border-radius: var(--round);
  overflow: hidden;
  transition: border-color var(--t) var(--ease);
}

.index__open:hover { border-color: var(--rule-3); }

.index__img { display: block; width: 100%; height: auto; }

.index__zoom {
  position: absolute;
  top: var(--s-3);
  right: var(--s-3);
  display: grid;
  place-items: center;
  width: var(--s-5);
  height: var(--s-5);
  background: var(--paper);
  border: 1px solid var(--rule-2);
  color: var(--ink-2);
  opacity: 0;
  transform: scale(0.9);
  transition: opacity var(--t) var(--ease),
              transform var(--t) var(--ease),
              color var(--t) var(--ease);
}

.index__zoom .ico { width: var(--s-3); height: var(--s-3); }

.index__open:hover .index__zoom,
.index__open:focus-visible .index__zoom {
  opacity: 1;
  transform: none;
  color: var(--accent);
}

@media (pointer: coarse) {
  .index__zoom { opacity: 1; transform: none; }
}

.tone--pink   { --tone: var(--pink); }
.tone--blue   { --tone: var(--blue); }
.tone--green  { --tone: var(--green); }
.tone--orange { --tone: var(--orange); }
