@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/bricolage-grotesque-latin-ext.woff2) format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/bricolage-grotesque-latin.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/bricolage-grotesque-latin-ext.woff2) format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/bricolage-grotesque-latin.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/inter-tight-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/inter-tight-latin-ext.woff2) format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/inter-tight-latin.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/inter-tight-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/inter-tight-latin-ext.woff2) format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/inter-tight-latin.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/inter-tight-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/inter-tight-latin-ext.woff2) format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/inter-tight-latin.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/inter-tight-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/inter-tight-latin-ext.woff2) format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/inter-tight-latin.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-latin-ext.woff2) format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-latin.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-latin-ext.woff2) format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-latin.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --bg: #eef1f5;
  --ink: #111827;
  --soft: #4a5568;
  --acc: #ff4d1f;
  --acc-ink: #ffffff;
  --acc-fill: #d8380e;
  --acc-text: #c9330b;
  --card: #ffffff;
  --line: #c9d1dc;
  --stage: #111827;
  --stage-ink: #ffffff;
  --chan: #1c2536;
  --chan-on: #283349;
  --display: 'Bricolage Grotesque', 'Inter Tight', system-ui, sans-serif;
  --body: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.5 var(--body);
}
img,
video {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--acc);
  outline-offset: 2px;
}
.in {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
section {
  scroll-margin-top: 16px;
}

.bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
  flex-wrap: wrap;
}
.mark {
  font: 800 21px var(--display);
  letter-spacing: -0.03em;
  text-decoration: none;
}
nav {
  display: flex;
  gap: 18px;
  font-weight: 600;
  font-size: 14px;
  flex-wrap: wrap;
  align-items: center;
}
nav a {
  text-decoration: none;
}
nav a:hover {
  text-decoration: underline;
}
.btn {
  display: inline-block;
  background: var(--ink);
  color: var(--bg);
  border: 0;
  border-radius: 999px;
  padding: 10px 19px;
  font: 700 15px var(--body);
  cursor: pointer;
  text-decoration: none;
}
nav a.btn:hover {
  text-decoration: none;
}
.btn.acc {
  background: var(--acc-fill);
  color: var(--acc-ink);
}
.btn[disabled] {
  opacity: 0.6;
  cursor: default;
}

.h {
  font: 800 clamp(30px, 4.6vw, 58px) / 1 var(--display);
  letter-spacing: -0.035em;
  margin: 14px 0 12px;
  text-wrap: balance;
  max-width: 20ch;
}
.h span {
  color: var(--acc);
}
.sub {
  font-size: 17.5px;
  max-width: 58ch;
  font-weight: 500;
  margin: 0 0 20px;
  color: var(--soft);
}

.stage {
  background: var(--stage);
  border-radius: 18px;
  padding: 14px;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1.15fr);
  gap: 14px;
}
.stage.solo {
  grid-template-columns: minmax(0, 1fr);
}
.screen {
  cursor: zoom-in;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  min-width: 0;
}
.shot {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
}
.chan {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.chan button {
  flex: 1 1 auto;
  text-align: left;
  background: var(--chan);
  color: var(--stage-ink);
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  font: inherit;
}
.chan button b {
  display: block;
  font: 700 17px var(--display);
}
.chan button span {
  font-size: 12.5px;
  opacity: 0.72;
}
.chan button[aria-pressed='true'] {
  border-color: var(--acc);
  background: var(--chan-on);
}
.now {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 12px 4px 2px;
  color: var(--stage-ink);
  grid-column: 1 / -1;
  flex-wrap: wrap;
}
.now p {
  margin: 0;
  max-width: 64ch;
}
.says {
  display: grid;
  align-items: center;
}
.pill.says {
  display: inline-grid;
}
.says > * {
  grid-area: 1 / 1;
  visibility: hidden;
}
.says > .on {
  visibility: visible;
}
.links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pill {
  background: var(--acc-fill);
  color: var(--acc-ink);
  border-radius: 999px;
  padding: 9px 18px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.pill.ghost {
  background: transparent;
  color: var(--stage-ink);
  box-shadow: inset 0 0 0 2px var(--stage-ink);
}

.doors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  padding: 26px 0;
}
.d {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}
.d.alt {
  background: var(--acc);
  color: var(--acc-ink);
  border-color: var(--acc);
}
.d h2 {
  font: 800 26px / 1.02 var(--display);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.d p {
  margin: 0;
}
.d ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}
.d li {
  padding-left: 20px;
  position: relative;
}
.d li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 3px;
  background: var(--acc);
}
.d.thin {
  border-style: dashed;
}
.d.thin h2 {
  font-size: 21px;
}

.lab {
  font: 500 12px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--soft);
  margin: 12px 0 14px;
}
.how {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
  padding-bottom: 26px;
}
.how h3 {
  font: 700 19px var(--display);
  margin: 0 0 4px;
}
.how p {
  margin: 0;
  color: var(--soft);
  font-size: 15px;
}

.list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px;
  padding-bottom: 30px;
}
.item {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.item:hover {
  border-color: var(--ink);
}
.item b {
  font: 700 21px / 1.1 var(--display);
  letter-spacing: -0.01em;
}
.item span {
  color: var(--soft);
  font-size: 15px;
}
.item i {
  font: 500 12.5px var(--mono);
  font-style: normal;
  margin-top: auto;
  padding-top: 8px;
}
.tag {
  font: 500 11px var(--mono) !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--acc-text) !important;
}

.brief {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  margin-bottom: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 26px;
}
.brief h2 {
  font: 800 34px / 1 var(--display);
  margin: 0 0 10px;
  letter-spacing: -0.03em;
}
.promise {
  font-size: 15px;
  font-weight: 500;
  margin: 0;
  color: var(--soft);
}
form {
  display: grid;
  gap: 6px;
}
form > label {
  font-weight: 700;
  font-size: 13px;
  margin-top: 6px;
}
input[type='text'],
textarea {
  border: 2px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  background: var(--bg);
  color: var(--ink);
  font: 15px var(--body);
  width: 100%;
}
input[aria-invalid='true'],
textarea[aria-invalid='true'] {
  border-color: var(--acc);
}
.seg {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.seg legend {
  font-weight: 700;
  font-size: 13px;
  padding: 0;
  margin-bottom: 6px;
}
.seg input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.seg span {
  display: inline-block;
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-weight: 700;
  cursor: pointer;
}
.seg input:checked + span {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.seg input:focus-visible + span {
  outline: 3px solid var(--acc);
  outline-offset: 2px;
}
form .btn {
  justify-self: start;
  margin-top: 10px;
}
.status {
  margin: 6px 0 0;
  font-weight: 700;
  min-height: 1.5em;
}
.status.err {
  color: var(--acc-text);
}
.alt {
  margin: 2px 0 0;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.crumb {
  display: inline-block;
  font-weight: 600;
  font-size: 14px;
  padding-top: 6px;
}
.clips {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.clips figure {
  margin: 0;
  min-width: 0;
}
.clips video {
  display: block;
  width: 100%;
  aspect-ratio: 390 / 844;
  object-fit: cover;
  border-radius: 14px;
  background: #060a16;
  border: 1px solid var(--line);
}
.clips figcaption {
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--soft);
  margin-top: 8px;
}
.dots {
  display: none;
}
.tour {
  margin: 22px 0 0;
}
.tour video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  background: #05080f;
  border: 1px solid var(--line);
}
.tour figcaption {
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--soft);
  margin-top: 8px;
}
.ptop {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  padding-bottom: 18px;
}
.ptop .sub {
  margin-bottom: 0;
}
.pcols {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 26px;
  padding: 26px 0;
}
.pcols h2 {
  font: 700 22px var(--display);
  margin: 22px 0 6px;
  letter-spacing: -0.01em;
}
.pcols h2:first-child {
  margin-top: 0;
}
.pcols p {
  margin: 0 0 8px;
  color: var(--soft);
  max-width: 68ch;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 15px;
}
th,
td {
  padding: 8px 0;
  border-top: 1px solid var(--line);
  text-align: left;
  font-weight: 400;
  vertical-align: top;
}
td {
  text-align: right;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  padding-left: 16px;
}
.pnote {
  margin-top: 10px !important;
  font-size: 14.5px;
}
.side {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  align-self: start;
  margin: 0;
}
.side dt {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 12px;
}
.side dt:first-child {
  margin-top: 0;
}
.side dd {
  margin: 2px 0 0;
}
.next {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  border-top: 2px solid var(--line);
  padding: 20px 0 30px;
  flex-wrap: wrap;
}
.next a:first-child {
  text-decoration: none;
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-top: 18px;
  padding-bottom: 28px;
  font-size: 14px;
  color: var(--soft);
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.nf {
  padding-top: 60px;
  padding-bottom: 80px;
}

@media (max-width: 820px) {
  .clips {
    grid-auto-flow: column;
    grid-auto-columns: 62%;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
  }
  .clips figure {
    scroll-snap-align: start;
  }
  .dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 10px;
  }
  .dots i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--line);
    transition:
      background 0.2s,
      width 0.2s;
  }
  .dots i.on {
    width: 18px;
    border-radius: 4px;
    background: var(--ink);
  }
  .stage,
  .brief,
  .pcols,
  .ptop {
    grid-template-columns: minmax(0, 1fr);
  }
  .chan {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .chan button:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
  .chan button b {
    font-size: 15px;
    overflow-wrap: anywhere;
  }
}
@media (max-width: 560px) {
  .bar {
    gap: 0 16px;
    padding-top: 10px;
    padding-bottom: 6px;
  }
  nav {
    width: 100%;
    gap: 0 16px;
  }
  nav a:not(.btn),
  .foot a,
  .crumb,
  .alt a,
  .next a:not(.btn) {
    display: inline-block;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  nav a.btn {
    margin-left: auto;
  }
}
video:fullscreen {
  object-fit: contain;
  aspect-ratio: auto;
  border-radius: 0;
  border: 0;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ── case study ── */
.lead {
  font: 500 clamp(19px, 2.2vw, 26px) / 1.35 var(--body);
  letter-spacing: -0.01em;
  max-width: 46ch;
  margin: 0;
}
.plain {
  padding: 30px 0 8px;
}
.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0 0 8px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}
.steps li {
  counter-increment: step;
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}
.steps li::before {
  content: '0' counter(step);
  font: 500 13px var(--mono);
  color: var(--acc-text);
}
.steps h3 {
  font: 700 20px / 1.15 var(--display);
  margin: 6px 0 6px;
}
.steps p {
  margin: 0;
  color: var(--soft);
  font-size: 15px;
}
.hood {
  background: var(--stage);
  color: var(--stage-ink);
  border-radius: 18px;
  padding: 26px;
  margin-bottom: 30px;
}
.hood h2 {
  font: 800 30px / 1 var(--display);
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.hood .lab {
  color: #9aa7bd;
  margin-top: 26px;
}
.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: flex-start;
}
.flow li {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  padding-right: 30px;
}
.flow li:last-child {
  padding-right: 0;
}
.flow li:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: 7px;
  top: 16px;
  font: 500 16px var(--mono);
  color: var(--acc);
}
.node {
  background: var(--chan);
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 12px;
  min-height: 92px;
}
.node b {
  display: block;
  font: 700 17px var(--display);
}
.node span {
  display: block;
  font-size: 13px;
  line-height: 1.35;
  opacity: 0.78;
  margin-top: 4px;
}
.node.alt {
  border-style: dashed;
  border-color: #46536b;
  background: transparent;
}
.flow em {
  display: block;
  font: 500 11px var(--mono);
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9aa7bd;
  text-align: center;
  padding: 6px 0;
}
.fnote {
  font-size: 14px;
  color: #9aa7bd;
  max-width: 78ch;
  margin: 16px 0 0;
}
.dec {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 26px;
}
.dec > div {
  border-left: 2px solid var(--acc);
  padding-left: 14px;
}
.dec h4 {
  font: 700 18px / 1.15 var(--display);
  margin: 0 0 4px;
}
.dec p {
  margin: 0;
  font-size: 15px;
  color: #c3ccdb;
}

/* ── motion ── */
.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--acc);
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 10;
  pointer-events: none;
}
.btn,
.pill,
.item,
.d,
.steps li,
.chan button,
.seg span {
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease;
}
.btn:hover,
.pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(17, 24, 39, 0.18);
}
.btn:active,
.pill:active {
  transform: translateY(0);
  box-shadow: none;
}
.item:hover,
.steps li:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.1);
}
.item i {
  transition: transform 0.18s ease;
}
.item:hover i {
  transform: translateX(4px);
}
.chan button:hover {
  background: var(--chan-on);
}
.screen {
  position: relative;
}
.screen .shot {
  transition:
    opacity 0.38s ease,
    transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.screen .shot + .shot {
  position: absolute;
  inset: 0;
}
.screen .shot.enter {
  opacity: 0;
  transform: scale(1.03);
}
.swap {
  animation: swap 0.4s ease both;
}
@keyframes swap {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}
@keyframes flowpulse {
  0%,
  14% {
    border-color: var(--acc);
    background: var(--chan-on);
  }
  24%,
  100% {
    border-color: transparent;
    background: var(--chan);
  }
}
@keyframes arrow {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
  .ptop .h {
    view-transition-name: ptitle;
  }
  .screen {
    view-transition-name: shot;
  }
  ::view-transition-group(*) {
    animation-duration: 0.42s;
    animation-timing-function: cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .js .rise {
    animation: rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
    animation-delay: calc(var(--i, 0) * 90ms);
  }
  .js .rv {
    opacity: 0;
    transform: translateY(18px);
    transition:
      opacity 0.55s ease,
      transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: calc(var(--i, 0) * 80ms);
  }
  .js .rv.seen {
    opacity: 1;
    transform: none;
  }
  .js .rv.seen.done {
    transition-delay: 0s;
  }
  .js .flow li {
    opacity: 0;
    transform: translateY(12px);
    transition:
      opacity 0.45s ease,
      transform 0.45s ease;
    transition-delay: calc(var(--i) * 160ms + 150ms);
  }
  .js .hood.seen .flow li {
    opacity: 1;
    transform: none;
  }
  .js .hood.seen .flow li::after {
    animation: arrow 0.4s ease both;
    animation-delay: calc(var(--i) * 160ms + 420ms);
  }
  .js .hood.seen .flow li > .node:first-child {
    animation: flowpulse calc(var(--n) * 1.1s) linear infinite;
    animation-delay: calc(var(--i) * 1.1s + 1.4s);
  }
  @supports (animation-timeline: scroll()) {
    .progress {
      animation: grow linear both;
      animation-timeline: scroll(root);
    }
    @keyframes grow {
      to {
        transform: scaleX(1);
      }
    }
  }
}

@media (max-width: 820px) {
  .flow {
    flex-direction: column;
    align-items: stretch;
  }
  .flow li {
    padding: 0 0 30px;
  }
  .flow li:last-child {
    padding-bottom: 0;
  }
  .flow li:not(:last-child)::after {
    content: '↓';
    right: auto;
    left: 18px;
    top: auto;
    bottom: 5px;
  }
  .node {
    min-height: 0;
  }
  .dec {
    grid-template-columns: minmax(0, 1fr);
  }
}
