/* SPDX-License-Identifier: AGPL-3.0-only */
/* Hildegard install page. Colours, type and spacing come from the Hildegard design system (tokens.json). */

@font-face { font-family: "Cormorant Garamond"; src: url("fonts/CormorantGaramond-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/CormorantGaramond-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/CormorantGaramond-500-Italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Hildegard Sans"; src: url("fonts/HildegardSans-Variable.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("fonts/DMMono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("fonts/DMMono-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

/* Dark is the default theme. */
:root {
  color-scheme: dark;
  --canvas: #0a0e13;
  --panel: #0f151c;
  --raised: #151d28;
  --sapphire-deep: #15265a;
  --viridian-deep: #12301f;
  --hairline: #e9dfc61f;
  --hairline-strong: #e9dfc638;
  --border-control: #7f8794;
  --text-primary: #f2ecdd;
  --text-secondary: #bcb6a6;
  --text-muted: #97968c;
  --brand: #2c7350;
  --on-brand: #f6f0e1;
  --brand-text: #7ccda1;
  --sapphire: #3451b2;
  --sapphire-text: #9fb6f7;
  --gold: #d9b45c;
  --gold-text: #e6c473;
  --state-saved: #6fd19b;
  --silver: #c3c8cf;
  --focus-ring: #f2ecdd;
  --scrim: #05080ce6;
  --shadow-1: 0 1px 0 #ffffff0d inset, 0 1px 2px #00000066;
  --shadow-2: 0 12px 32px #00000080, 0 1px 0 #ffffff14 inset;
  --shadow-frame: 0 0 0 1px #e9dfc624, 0 40px 100px -30px #000000d0, 0 16px 32px -16px #00000099;
  --code-ground: #070a0e;
  --glow-a: #15265a;
  --glow-b: #12301f;
  --bloom: .5;
  --band: linear-gradient(180deg, #0d1733, #0b1224);
  --band-solid: #0c1530;

  --font-display: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --font-sans: "Hildegard Sans", "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 20px; --space-6: 24px;
  --space-8: 32px; --space-10: 40px; --space-12: 48px; --space-16: 64px; --space-24: 96px; --space-32: 128px;
  --radius-xs: 4px; --radius-sm: 6px; --radius-md: 10px; --radius-lg: 14px; --radius-xl: 20px; --radius-pill: 999px;
  --target-min: 44px;
  --content-max: 1200px;
  --wide-max: 1320px;
  --gutter: 16px;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --canvas: #f4eedd;
    --panel: #faf5e8;
    --raised: #fffcf3;
    --sapphire-deep: #e3e7f4;
    --hairline: #2a241824;
    --hairline-strong: #2a24183d;
    --border-control: #6f6a5c;
    --text-primary: #1a1914;
    --text-secondary: #4a4638;
    --text-muted: #615c4e;
    --brand: #1f5a3d;
    --brand-text: #1f5a3d;
    --sapphire: #23409e;
    --sapphire-text: #23409e;
    --gold: #a67710;
    --gold-text: #7a5608;
    --state-saved: #17653f;
    --silver: #8a8f96;
    --focus-ring: #1a1914;
    --scrim: #1a1914e0;
    --shadow-1: 0 1px 2px #2a241826;
    --shadow-2: 0 12px 32px #2a24182e, 0 1px 3px #2a241820;
    --shadow-frame: 0 0 0 1px #2a241826, 0 40px 90px -36px #2a2418a0, 0 14px 28px -16px #2a241866;
    --code-ground: #fffcf3;
    --glow-a: #d9e0f3;
    --glow-b: #dbe9dc;
    --bloom: .38;
    --band: linear-gradient(180deg, #e6e9f3, #eceadf);
    --band-solid: #e8e9ee;
  }
}

@media (min-width: 600px) { :root { --gutter: 24px; } }
@media (min-width: 840px) { :root { --gutter: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--text-primary);
  font: 400 17px/26px var(--font-sans);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
@media (min-width: 840px) { body { font-size: 16px; line-height: 25px; } }
img, svg { display: block; max-width: 100%; }
a { color: var(--sapphire-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
b, strong { font-weight: 650; color: var(--text-primary); }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; }
code, .mono { font-family: var(--font-mono); font-size: .875em; }
:not(pre) > code {
  padding: 1px 6px;
  border-radius: var(--radius-xs);
  background: color-mix(in oklab, var(--raised), var(--text-primary) 6%);
  border: 1px solid var(--hairline);
  overflow-wrap: anywhere;
}
.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; border-radius: var(--radius-sm); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ic--inline { display: inline-block; width: 18px; height: 18px; vertical-align: -3px; margin-right: 6px; color: var(--sapphire-text); }
.wrap { width: 100%; max-width: calc(var(--content-max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 max(var(--gutter), env(safe-area-inset-left)) 0 max(var(--gutter), env(safe-area-inset-right)); }
.wrap--wide { max-width: calc(var(--wide-max) + 2 * var(--gutter)); }
.dot { display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .7; vertical-align: middle; margin: 0 .5em; flex: none; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: var(--radius-md); background: var(--brand); color: var(--on-brand); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* Type */
.overline {
  display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap;
  font: 600 12px/16px var(--font-sans); letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-text);
}
.overline--center { justify-content: center; }
@media (max-width: 599px) { .overline__more { display: none; } }
.overline--center::before, .overline--center::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }

/* The folio: a section's numeral, as a manuscript numbers its leaves. */
.folio {
  display: flex; align-items: baseline; gap: var(--space-3);
  margin-bottom: var(--space-4);
  font: 600 12px/16px var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text);
}
.folio__n {
  font: italic 500 26px/16px var(--font-display); letter-spacing: 0; text-transform: none;
  padding-right: var(--space-3); border-right: 1px solid color-mix(in oklab, var(--gold), transparent 55%);
}
.head--center .folio { justify-content: center; }

.display { font: 500 46px/46px var(--font-display); letter-spacing: -.015em; text-wrap: balance; }
.display em { display: block; font-style: italic; color: var(--gold-text); }
@media (min-width: 600px) { .display { font-size: 68px; line-height: 66px; } }
@media (min-width: 1100px) { .display { font-size: 96px; line-height: 90px; } }
@media (min-width: 1360px) { .display { font-size: 108px; line-height: 100px; } }
.display--sm { font-size: 40px; line-height: 42px; }
@media (min-width: 600px) { .display--sm { font-size: 56px; line-height: 56px; } }
@media (min-width: 1100px) { .display--sm { font-size: 72px; line-height: 70px; } }
.h1 { font: 500 36px/38px var(--font-display); letter-spacing: -.01em; text-wrap: balance; }
@media (min-width: 840px) { .h1 { font-size: 52px; line-height: 54px; } }
.h2 { font: 500 32px/36px var(--font-display); letter-spacing: -.005em; text-wrap: balance; }
@media (min-width: 840px) { .h2 { font-size: 38px; line-height: 42px; } }
.h3 { font: 600 19px/26px var(--font-sans); }
.lead { font-size: 18px; line-height: 28px; color: var(--text-secondary); text-wrap: pretty; }
@media (min-width: 840px) { .lead { font-size: 20px; line-height: 31px; } }
.sub { margin-top: var(--space-4); color: var(--text-secondary); max-width: 38em; text-wrap: pretty; }
@media (min-width: 840px) { .sub { font-size: 17px; line-height: 27px; } }
.small { margin-top: var(--space-4); font-size: 15px; line-height: 23px; color: var(--text-secondary); text-wrap: pretty; }
.small--tight { margin-top: var(--space-1); }

/* Buttons */
.btn {
  --h: 40px;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: max(var(--h), var(--target-min)); padding: 0 var(--space-5);
  border: 1px solid var(--border-control); border-radius: var(--radius-md);
  background: var(--raised); color: var(--text-primary);
  font: 600 15px/1 var(--font-sans); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.btn:hover { background: color-mix(in oklab, var(--raised), var(--text-primary) 7%); }
.btn:active { transform: translateY(.5px); }
.btn--primary { background: var(--brand); color: var(--on-brand); border-color: transparent; box-shadow: 0 1px 0 #ffffff24 inset, 0 10px 30px -10px color-mix(in oklab, var(--brand), transparent 20%); }
.btn--primary:hover { background: color-mix(in oklab, var(--brand), #fff 10%); }
.btn--quiet { background: color-mix(in oklab, var(--canvas), transparent 40%); border-color: var(--hairline-strong); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--quiet:hover { border-color: var(--border-control); }
.btn--ghost { background: transparent; border-color: transparent; color: var(--text-secondary); }
.btn--ghost:hover { background: color-mix(in oklab, transparent, var(--text-primary) 8%); color: var(--text-primary); }
.btn--sm { --h: 36px; padding: 0 var(--space-3); font-size: 14px; }
.btn--lg { --h: 54px; padding: 0 var(--space-6); font-size: 17px; border-radius: var(--radius-lg); }
.btn--block { width: 100%; }

/* Top bar */
.top {
  position: sticky; top: 0; z-index: 20;
  padding-top: env(safe-area-inset-top);
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, border-color .3s ease;
}
.top[data-scrolled] {
  background: color-mix(in oklab, var(--canvas), transparent 16%);
  -webkit-backdrop-filter: saturate(150%) blur(16px); backdrop-filter: saturate(150%) blur(16px);
  border-bottom-color: var(--hairline);
}
.top__in { display: flex; align-items: center; gap: var(--space-3); height: 64px; }
.top__brand { display: flex; align-items: center; min-height: var(--target-min); }
.top__brand img { height: 28px; width: auto; }
.badge {
  display: inline-flex; align-items: center; height: 22px; padding: 0 8px;
  border: 1px solid color-mix(in oklab, var(--gold), transparent 55%); border-radius: var(--radius-pill);
  font: 500 11px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--gold-text);
  white-space: nowrap;
}
.top__nav { display: none; gap: 2px; margin-left: auto; }
.top__nav a {
  display: inline-flex; align-items: center; min-height: var(--target-min); padding: 0 var(--space-3);
  color: var(--text-secondary); text-decoration: none; font-size: 15px; font-weight: 500; border-radius: var(--radius-md);
}
.top__nav a:hover { color: var(--text-primary); background: color-mix(in oklab, transparent, var(--text-primary) 6%); }
.top__src { display: none; margin-left: auto; }
.top__get { margin-left: auto; }
@media (min-width: 600px) { .top__src { display: inline-flex; } .top__get { margin-left: 0; } }
@media (min-width: 1000px) { .top__nav { display: flex; } .top__src { margin-left: var(--space-2); } }

/* Hero */
.hero { position: relative; isolation: isolate; margin-top: -65px; padding: calc(65px + var(--space-8)) 0 var(--space-12); overflow: hidden; }
@media (min-width: 840px) { .hero { padding-top: calc(65px + 88px); padding-bottom: var(--space-24); } }
.hero__glow {
  position: absolute; inset: 0 0 auto; height: 1100px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42% 46% at 82% 18%, color-mix(in oklab, var(--glow-a), transparent 20%), transparent 72%),
    radial-gradient(40% 42% at 14% 6%, color-mix(in oklab, var(--glow-b), transparent 15%), transparent 72%),
    radial-gradient(60% 40% at 50% 62%, color-mix(in oklab, var(--gold), transparent 92%), transparent 70%);
}
.hero__copy { display: grid; justify-items: center; text-align: center; }
.hero__copy .display { margin-top: var(--space-6); max-width: 11em; }
.hero__copy .lead { margin-top: var(--space-6); max-width: 33em; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); margin-top: var(--space-8); }
@media (max-width: 479px) { .hero__cta { width: 100%; } .hero__cta .btn { width: 100%; } }
.hero__meta { margin-top: var(--space-3); font-size: 14px; line-height: 20px; color: var(--text-muted); }
.hero__meta .mono { color: var(--text-secondary); }

/* The hero's frame: one real still, with what made it. */
.reel { margin: var(--space-10) 0 0; }
@media (min-width: 840px) { .reel { margin-top: 72px; } }
.reel__frame { position: relative; }
.reel__bloom {
  position: absolute; inset: 4% 6%; width: 88%; height: 92%; object-fit: cover; z-index: -1;
  filter: blur(60px) saturate(1.4); opacity: var(--bloom); transform: translateY(4%); pointer-events: none;
}
.reel__shot {
  position: relative; display: block; width: 100%; padding: 0; margin: 0; border: 0; cursor: zoom-in;
  aspect-ratio: 1248 / 704; border-radius: var(--radius-xl); overflow: hidden;
  background: #11151b; box-shadow: var(--shadow-frame);
}
.reel__shot:focus-visible { outline-offset: 4px; border-radius: var(--radius-xl); }
.reel__shot img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 55%; animation: dolly 28s ease-in-out infinite alternate; }
@keyframes dolly { from { transform: scale(1); } to { transform: scale(1.05); } }
.reel__shot::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; background: linear-gradient(180deg, #05080c59, transparent 16%, transparent 82%, #05080c66); }
.vf { position: absolute; inset: 0; z-index: 1; overflow: hidden; border-radius: var(--radius-xl); color: #f4eeddeb; font: 500 11px/14px var(--font-mono); letter-spacing: .06em; pointer-events: none; text-align: left; }
.vf__c { position: absolute; width: 20px; height: 20px; border: 0 solid #f4eeddb8; }
.vf__c--tl { left: 14px; top: 14px; border-left-width: 1.5px; border-top-width: 1.5px; }
.vf__c--tr { right: 14px; top: 14px; border-right-width: 1.5px; border-top-width: 1.5px; }
.vf__c--bl { left: 14px; bottom: 14px; border-left-width: 1.5px; border-bottom-width: 1.5px; }
.vf__c--br { right: 14px; bottom: 14px; border-right-width: 1.5px; border-bottom-width: 1.5px; }
.vf__top, .vf__bottom { position: absolute; left: 26px; right: 26px; display: flex; justify-content: space-between; gap: var(--space-3); text-shadow: 0 1px 3px #000000a0; }
.vf__top { top: 21px; }
.vf__top > :first-child { text-transform: uppercase; }
.vf__bottom { bottom: 21px; justify-content: flex-start; gap: var(--space-6); }
.vf__bottom > :last-child { margin-left: auto; }
.vf__bottom span:nth-child(2) { display: none; }
@media (min-width: 600px) { .vf { font-size: 12px; } .vf__bottom span:nth-child(2) { display: inline; } }
@media (min-width: 840px) { .vf { font-size: 13px; } .vf__top, .vf__bottom { left: 34px; right: 34px; } .vf__top { top: 26px; } .vf__bottom { bottom: 26px; } .vf__c { width: 26px; height: 26px; } }
@media (max-width: 420px) { .vf__top span:last-child { display: none; } }
.reel__zoom, .still__zoom {
  position: absolute; z-index: 2; right: 14px; bottom: 14px; display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 50%; background: #0a0e13b3; color: #f4eedd; opacity: 0; transform: scale(.9);
  transition: opacity .2s ease, transform .2s ease; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.reel__zoom { right: auto; left: 50%; top: 50%; bottom: auto; width: 52px; height: 52px; margin: -26px 0 0 -26px; }
.reel__shot:hover .reel__zoom, .reel__shot:focus-visible .reel__zoom, .still__open:hover .still__zoom, .still__open:focus-visible .still__zoom { opacity: 1; transform: none; }

.reel__cap {
  display: grid; gap: var(--space-3); margin: var(--space-5) var(--space-1) 0;
}
@media (min-width: 840px) { .reel__cap { grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-10); align-items: start; margin: var(--space-6) var(--space-2) 0; } }
.reel__prompt { font: italic 500 19px/26px var(--font-display); color: var(--text-secondary); text-wrap: pretty; max-width: 46em; }
@media (min-width: 840px) { .reel__prompt { font-size: 21px; line-height: 29px; } }
.reel__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-4); font: 400 13px/20px var(--font-mono); color: var(--text-muted); }
@media (min-width: 840px) { .reel__meta { justify-content: flex-end; padding-top: 4px; white-space: nowrap; } }
.reel__meta { gap: 6px 0; }
.reel__meta [data-w-meta] { display: contents; }
.reel__meta [data-w-meta] > *, .saved { white-space: nowrap; }
.reel__meta .ring { margin-right: var(--space-3); }
.saved { margin-left: var(--space-4); }
.saved { display: inline-flex; align-items: center; gap: 4px; color: var(--state-saved); }
.saved .ic { width: 16px; height: 16px; }
.ring { position: relative; width: 16px; height: 16px; flex: none; }
.ring__o, .ring__i { position: absolute; border-radius: 50%; border: 1.5px solid transparent; }
.ring__o { inset: 0; border-top-color: var(--gold); border-right-color: var(--gold); animation: spin 1.6s linear infinite; }
.ring__i { inset: 3.5px; border-bottom-color: var(--brand-text); border-left-color: var(--brand-text); animation: spin 2.4s linear infinite reverse; }
@keyframes spin { to { transform: rotate(1turn); } }

.promises {
  display: grid; gap: var(--space-4); margin-top: var(--space-12); padding-top: 0; list-style: none;
}
@media (min-width: 840px) { .promises { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-8); margin-top: 72px; } }
.promises li { display: flex; align-items: flex-start; gap: var(--space-3); padding-top: var(--space-4); border-top: 1px solid var(--hairline); font-size: 15px; line-height: 22px; color: var(--text-secondary); }
.promises b { display: block; font-size: 16px; margin-bottom: 2px; }
.promises .ic { color: var(--brand-text); margin-top: 1px; }

/* Sections */
.section { padding: 72px 0; }
@media (min-width: 840px) { .section { padding: 112px 0; } }
.head { max-width: 44em; margin-bottom: var(--space-10); }
@media (min-width: 840px) { .head { margin-bottom: 56px; } }
.head--center { margin-inline: auto; text-align: center; }
.head--center .sub { margin-inline: auto; }
.head--tight { margin-bottom: 0; }
.split { display: grid; gap: var(--space-12); }
@media (min-width: 980px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-16); align-items: start; }
  .split--media { align-items: center; }
}

/* I. The work */
#work { padding-top: var(--space-16); }
@media (min-width: 840px) { #work { padding-top: var(--space-24); } }
.gallery { display: grid; gap: var(--space-12) var(--space-6); }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } .still:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 1040px) {
  .gallery { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--space-16) var(--space-8); }
  .still { grid-column: span 2; }
  .still:nth-child(-n + 2) { grid-column: span 3; }
  .still:last-child:nth-child(odd) { grid-column: span 2; }
}
.still { margin: 0; min-width: 0; }
.still__open {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in;
  aspect-ratio: 1248 / 704; border-radius: var(--radius-lg); overflow: hidden; background: #11151b;
  box-shadow: 0 0 0 1px var(--hairline), 0 24px 48px -28px #00000099;
}
@media (prefers-color-scheme: light) { .still__open { box-shadow: 0 0 0 1px #2a24181f, 0 24px 44px -28px #2a24188c; } }
.still__open img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.still__open:hover img { transform: scale(1.035); }
.still__open:focus-visible { outline-offset: 4px; border-radius: var(--radius-lg); }
.still__cap { display: grid; gap: var(--space-2); margin-top: var(--space-4); }
.still__slate { font: 600 12px/16px var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); }
.still__prompt { font: italic 500 19px/26px var(--font-display); color: var(--text-primary); text-wrap: pretty; }
@media (min-width: 1040px) { .still:nth-child(-n + 2) .still__prompt { font-size: 21px; line-height: 29px; } }
.still__rig, .still__meta { display: flex; flex-wrap: wrap; align-items: center; row-gap: 2px; font: 400 12.5px/19px var(--font-mono); color: var(--text-secondary); }
.still__meta { color: var(--text-muted); }

/* II. The Studio */
.section--studio { position: relative; isolation: isolate; overflow: hidden; }
.section--studio::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 40% at 50% 46%, color-mix(in oklab, var(--glow-a), transparent 30%), transparent 75%);
}
.desk { display: grid; gap: var(--space-8); }
.desk figure { margin: 0; min-width: 0; }
.desk img { width: 100%; height: auto; border-radius: var(--radius-lg); background: #0d1116; box-shadow: var(--shadow-frame); }
.desk figcaption { margin-top: var(--space-3); font-size: 14px; line-height: 20px; color: var(--text-muted); }
@media (min-width: 900px) {
  .desk { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0; }
  .desk__main { grid-column: 1 / 11; grid-row: 1; }
  .desk__main { padding-bottom: 14%; }
  .desk__side { grid-column: 7 / 13; grid-row: 1; align-self: end; position: relative; z-index: 1; }
  .desk__side img { box-shadow: 0 0 0 1px var(--hairline-strong), 0 40px 80px -24px #000000d9, 0 0 0 10px color-mix(in oklab, var(--canvas), transparent 20%); }
  .desk__main figcaption { max-width: 55%; }
  .desk__side figcaption { text-align: right; }
}
.points { display: grid; gap: var(--space-6); margin: var(--space-16) 0 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .points { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-10); margin-top: var(--space-16); } }
.points li { display: grid; grid-template-columns: auto 1fr; gap: 2px var(--space-3); padding-top: var(--space-5); border-top: 1px solid var(--hairline); }
.points .ic { grid-row: span 2; color: var(--gold-text); width: 22px; height: 22px; margin-top: 2px; }
.points h3 { font: 600 17px/26px var(--font-sans); }
.points p { font-size: 15px; line-height: 23px; color: var(--text-secondary); text-wrap: pretty; }

/* III. Install */
.section--install { padding-top: var(--space-8); }
.install {
  position: relative; padding: var(--space-8) var(--space-4); border-radius: 24px;
  background: linear-gradient(180deg, color-mix(in oklab, var(--panel), var(--text-primary) 2%), var(--panel));
  border: 1px solid var(--hairline); box-shadow: var(--shadow-2);
}
.install::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .9;
}
@media (min-width: 600px) { .install { padding: var(--space-10) var(--space-8); } }
@media (min-width: 1040px) { .install { padding: var(--space-16) var(--space-16) var(--space-12); } }
.install__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-6); margin-bottom: var(--space-10); }
.install__head .sub { margin-top: var(--space-3); }

.tabs {
  display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 4px; max-width: 100%;
  border-radius: var(--radius-lg); background: var(--canvas); border: 1px solid var(--hairline);
}
.tab {
  flex: 1 1 auto; min-height: var(--target-min); padding: 0 var(--space-4);
  border: 0; border-radius: var(--radius-md); background: transparent; color: var(--text-secondary);
  font: 600 15px/1 var(--font-sans); cursor: pointer; white-space: nowrap; position: relative;
  transition: background-color .16s ease, color .16s ease;
}
.tab:hover { color: var(--text-primary); background: color-mix(in oklab, transparent, var(--text-primary) 6%); }
.tab[aria-selected="true"] { background: var(--brand); color: var(--on-brand); box-shadow: 0 1px 0 #ffffff1f inset, var(--shadow-1); }
@media (max-width: 599px) { .install__head .tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; } }
.tabs--sm { margin: var(--space-6) 0 var(--space-4); }
.tabs--sm .tab { font-size: 14px; padding: 0 var(--space-3); }

.panel:focus-visible { outline-offset: 6px; }
.ways { display: grid; gap: var(--space-4); }
@media (min-width: 840px) { .ways { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--space-5); } }
.way {
  display: flex; flex-direction: column; gap: var(--space-3); min-width: 0;
  padding: var(--space-6); border-radius: var(--radius-lg); background: var(--raised); border: 1px solid var(--hairline);
}
.way > p { color: var(--text-secondary); font-size: 15px; line-height: 22px; }
.way .cmd, .way .btn { margin-top: auto; }
@media (min-width: 840px) { .way .cmd pre { font-size: 13px; } }
.way--app {
  background:
    radial-gradient(120% 90% at 0% 0%, color-mix(in oklab, var(--brand), transparent 82%), transparent 60%),
    var(--raised);
  border-color: color-mix(in oklab, var(--brand-text), transparent 75%);
}
.way__title { display: flex; align-items: center; gap: var(--space-2); font: 600 17px/24px var(--font-sans); }
.way__title .ic { color: var(--brand-text); }
.file { font-size: 13px; line-height: 18px; color: var(--text-muted); text-align: center; }
.file .mono { color: var(--text-secondary); font-size: 12px; }
.notes { display: grid; gap: var(--space-3); margin: var(--space-5) 0 0; padding: 0; list-style: none; }
.notes li { display: flex; gap: var(--space-3); align-items: flex-start; font-size: 15px; line-height: 22px; color: var(--text-secondary); }
.notes .ic { margin-top: 1px; color: var(--gold-text); }

/* Commands */
.cmd {
  position: relative; display: flex; align-items: flex-start; gap: var(--space-2);
  padding: var(--space-2) var(--space-2) var(--space-2) var(--space-4); min-width: 0;
  border-radius: var(--radius-md); background: var(--code-ground); border: 1px solid var(--hairline);
}
@media (prefers-color-scheme: light) { .cmd { border-color: #2a241833; } }
.cmd pre {
  flex: 1; min-width: 0; margin: 0; padding: 7px 0;
  font: 400 14px/22px var(--font-mono); color: var(--text-primary);
  white-space: pre-wrap; overflow-wrap: anywhere;
}
.cmd pre::before { content: "$ "; color: var(--text-muted); user-select: none; -webkit-user-select: none; }
.cmd--block pre::before, .cmd--inline pre::before { content: none; }
.cmd--block { margin-top: var(--space-4); }
.cmd--gap { margin-top: var(--space-6); }
.cmd--block pre { padding: var(--space-2) 0; font-size: 13px; line-height: 22px; }
.cmd .c { color: var(--text-muted); }
@media (max-width: 599px) { .cmd .c--side { display: none; } }
.copy {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  min-height: 36px; min-width: 36px; padding: 0 10px; margin: 0;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  background: transparent; color: var(--text-secondary);
  font: 600 13px/1 var(--font-sans); cursor: pointer;
  transition: background-color .16s ease, color .16s ease;
}
.copy .ic { width: 18px; height: 18px; }
.copy:hover { background: color-mix(in oklab, transparent, var(--text-primary) 9%); color: var(--text-primary); }
.copy[data-copied] { color: var(--brand-text); }
@media (pointer: coarse) { .copy { min-height: var(--target-min); min-width: var(--target-min); } }
@media (max-width: 479px) { .cmd .copy .copy__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .copy { justify-content: center; } }

.then { display: grid; gap: var(--space-5); margin-top: var(--space-10); padding-top: var(--space-10); border-top: 1px solid var(--hairline); }
@media (min-width: 960px) { .then { grid-template-columns: 1fr 2fr; gap: var(--space-8); align-items: start; } }
.then__intro p { margin-top: var(--space-1); color: var(--text-secondary); font-size: 15px; }
.then__steps { display: grid; gap: var(--space-4); margin: 0; padding: 0; list-style: none; counter-reset: s; }
@media (min-width: 640px) { .then__steps { grid-template-columns: 1fr 1fr; } }
.then__steps li { counter-increment: s; display: grid; gap: var(--space-2); align-content: start; }
.then__steps li > p { font-size: 15px; line-height: 22px; color: var(--text-secondary); }
.cmd--inline pre::before { content: counter(s) "  "; content: counter(s) "  " / ""; color: var(--gold-text); }

.facts { display: grid; gap: var(--space-3); margin: var(--space-10) 0 0; padding: 0; list-style: none; }
@media (min-width: 840px) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); } }
.facts li { display: flex; gap: var(--space-3); align-items: flex-start; font-size: 14px; line-height: 21px; color: var(--text-muted); }
.facts .ic { color: var(--text-muted); width: 18px; height: 18px; margin-top: 1px; }
.facts .path { color: var(--text-secondary); }

/* IV. What you need: one spec sheet, not a stack of cards. */
.tiers {
  display: grid; margin: 0; padding: 0; list-style: none;
  border-top: 1px solid var(--hairline-strong); border-bottom: 1px solid var(--hairline-strong);
}
@media (min-width: 640px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .tiers { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tier { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-8) 0; min-width: 0; }
.tier + .tier { border-top: 1px solid var(--hairline); }
@media (min-width: 640px) {
  .tier { padding: var(--space-8) var(--space-6); }
  .tier + .tier { border-top: 0; }
  .tier:nth-child(even) { border-left: 1px solid var(--hairline); }
  .tier:nth-child(n + 3) { border-top: 1px solid var(--hairline); }
}
@media (min-width: 1100px) {
  .tier:first-child { padding-left: 0; }
  .tier:last-child { padding-right: 0; }
  .tier + .tier { border-left: 1px solid var(--hairline); }
  .tier:nth-child(n + 3) { border-top: 0; }
}
.tier__mem { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 6px; min-height: 52px; color: var(--text-primary); }
.tier__mem .num { font: 400 52px/52px var(--font-mono); letter-spacing: -.04em; }
.tier--top .tier__mem .num { color: var(--gold-text); }
.tier__u { font: 500 18px/1 var(--font-mono); color: var(--text-secondary); }
.tier__rest { font: 400 15px/1 var(--font-sans); color: var(--text-muted); }
.tier__mem--word { font: 500 40px/52px var(--font-display); letter-spacing: -.01em; }
.tier__gpu { font: 600 15px/22px var(--font-sans); color: var(--text-secondary); }
.tier__model { margin: var(--space-2) 0; }
.model {
  display: inline-flex; align-items: center; padding: 4px 10px;
  border-radius: var(--radius-pill); border: 1px solid color-mix(in oklab, var(--sapphire-text), transparent 55%);
  background: color-mix(in oklab, var(--sapphire-deep), transparent 40%);
  font: 500 13px/18px var(--font-mono); color: var(--sapphire-text);
}
.model--plain { font-family: var(--font-sans); font-weight: 600; }
.tier__what { font-size: 15px; line-height: 23px; color: var(--text-secondary); text-wrap: pretty; }
.specs { display: grid; gap: var(--space-4); margin: var(--space-10) 0 0; }
@media (min-width: 840px) { .specs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-8); } }
.specs dt { font: 600 12px/16px var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.specs dd { margin: var(--space-2) 0 0; font-size: 15px; line-height: 22px; color: var(--text-secondary); }
.specs .num { color: var(--text-primary); font-size: 14px; }

/* V. The Choir: a sapphire band, Hildegard's colour of wisdom. */
.section--sapphire { background: var(--band); position: relative; overflow: hidden; isolation: isolate; }
.section--sapphire::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 60% at 76% 50%, color-mix(in oklab, var(--gold), transparent 90%), transparent 70%);
}
.section--sapphire .cmd { background: color-mix(in oklab, var(--code-ground), transparent 10%); }

.rows { display: grid; margin: var(--space-10) 0 0; padding: 0; list-style: none; counter-reset: r; }
.rows li { counter-increment: r; position: relative; display: grid; gap: var(--space-2); padding: var(--space-5) 0 var(--space-5) 48px; border-top: 1px solid var(--hairline); }
.rows li:last-child { border-bottom: 1px solid var(--hairline); }
.rows li::before {
  content: counter(r); position: absolute; left: 0; top: var(--space-5); width: 30px; height: 30px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid color-mix(in oklab, var(--gold), transparent 40%);
  font: 500 13px/1 var(--font-mono); color: var(--gold-text);
}
.rows__k { font: 600 16px/30px var(--font-sans); }
.rows__v { font-size: 15px; line-height: 22px; color: var(--text-secondary); }
.rows--n li { padding-top: var(--space-4); padding-bottom: var(--space-4); }
.rows--n li::before { top: calc(var(--space-4) + 7px); }

.choir { margin: 0; position: relative; }
.choir svg { position: relative; width: 100%; max-width: 520px; margin: 0 auto; overflow: visible; }
.choir__ring { fill: none; stroke: var(--silver); stroke-opacity: .4; stroke-width: 1; }
.choir__ring--in { stroke: var(--gold); stroke-opacity: .55; stroke-width: 1.5; stroke-dasharray: 2 6; }
.choir__orbit { transform-origin: 200px 190px; animation: spin 60s linear infinite; }
.choir__orbit circle { fill: var(--gold); }
.choir__line { stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 4 6; fill: none; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -20; } }
.choir__node circle { fill: var(--canvas); stroke: var(--silver); stroke-opacity: .7; stroke-width: 1.5; }
.choir__node use { fill: none; stroke: var(--text-primary); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.choir__node--main circle { stroke: var(--gold); stroke-opacity: 1; filter: drop-shadow(0 0 16px color-mix(in oklab, var(--gold), transparent 45%)); }
.choir__node--main use { stroke: var(--gold-text); }
.choir__label { font: 600 17px var(--font-sans); fill: var(--text-primary); }
.choir__label, .choir__meta { paint-order: stroke; stroke: var(--band-solid); stroke-width: 8px; stroke-linejoin: round; }
.choir__label--sm { font-size: 15px; }
.choir__meta { font: 400 13px var(--font-mono); fill: var(--text-secondary); }
.choir__live { fill: var(--gold-text); }
@media (max-width: 599px) { .choir__label { font-size: 23px; } .choir__label--sm { font-size: 21px; } .choir__meta { font-size: 17px; } }
.choir figcaption { margin-top: var(--space-4); text-align: center; font-size: 14px; line-height: 20px; color: var(--text-secondary); }

/* VI. Agents */
.split--even > div > .h3 { margin-bottom: 0; }
.prompt {
  margin-top: var(--space-5);
  display: grid; gap: var(--space-4); padding: var(--space-6); border-radius: var(--radius-lg);
  background:
    radial-gradient(100% 120% at 100% 0%, color-mix(in oklab, var(--brand), transparent 85%), transparent 60%),
    var(--raised);
  border: 1px solid color-mix(in oklab, var(--brand-text), transparent 65%);
  box-shadow: var(--shadow-1);
}
.prompt__text { font: italic 500 21px/30px var(--font-display); color: var(--text-primary); overflow-wrap: anywhere; text-wrap: pretty; }
.btn.copy--prompt { background: var(--brand); justify-self: start; min-height: var(--target-min); padding: 0 var(--space-4); color: var(--on-brand); font-size: 15px; border-radius: var(--radius-md); }
.btn.copy--prompt:hover { color: var(--on-brand); background: color-mix(in oklab, var(--brand), #fff 10%); }
.copy--prompt[data-copied] { color: var(--on-brand); }
.tools { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: var(--space-5) 0 0; padding: 0; list-style: none; }
.tools li { padding: 3px 10px; border-radius: var(--radius-pill); border: 1px solid var(--hairline); background: var(--panel); font: 400 13px/20px var(--font-mono); color: var(--text-secondary); }

/* VII and VIII. Host mode and Hugging Face, as two leaves side by side. */
.section--panel { background: var(--panel); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.duo { display: grid; gap: var(--space-16); }
@media (min-width: 1040px) { .duo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; } .leaf + .leaf { padding-left: var(--space-16); border-left: 1px solid var(--hairline); } .leaf:first-child { padding-right: var(--space-16); } }
.leaf { min-width: 0; }
.leaf .sub { font-size: 16px; line-height: 25px; }
.leaf .rows { margin-top: var(--space-6); }
.url { overflow-wrap: anywhere; color: var(--text-primary); }
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); margin: var(--space-6) 0 0; }
.roles dt { font: 500 24px/30px var(--font-display); }
.roles dd { margin: var(--space-1) 0 0; font-size: 15px; line-height: 22px; color: var(--text-secondary); }
.checks { display: grid; gap: 0; margin: var(--space-6) 0 0; padding: 0; list-style: none; }
.checks li { display: flex; gap: var(--space-4); align-items: flex-start; padding: var(--space-4) 0; border-top: 1px solid var(--hairline); font-size: 15px; line-height: 23px; color: var(--text-secondary); }
.checks .ic { width: 22px; height: 22px; color: var(--brand-text); margin-top: 1px; }
.checks b { display: block; margin-bottom: 2px; font-size: 16px; }

/* IX. Reference */
#reference .head { margin-bottom: var(--space-8); }
.ref { border-top: 1px solid var(--hairline-strong); }
.fold { border-bottom: 1px solid var(--hairline-strong); }
.fold summary {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t ic" "s ic"; align-items: center; column-gap: var(--space-4);
  min-height: 84px; padding: var(--space-4) 0; cursor: pointer; list-style: none;
}
.fold summary::-webkit-details-marker { display: none; }
@media (min-width: 840px) { .fold summary { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "t s ic"; column-gap: var(--space-8); } }
.fold__t { grid-area: t; font: 500 28px/34px var(--font-display); color: var(--text-primary); }
.fold__s { grid-area: s; font-size: 15px; color: var(--text-muted); }
.fold__ic { grid-area: ic; width: 24px; height: 24px; color: var(--text-secondary); transition: transform .3s var(--ease-out); }
.fold[open] .fold__ic { transform: rotate(180deg); }
.fold summary:hover .fold__t { color: var(--gold-text); }
.fold__body { padding: 0 0 var(--space-10); max-width: 56em; }
.fold__body > .sub:first-child { margin-top: 0; }

.licenses { margin-top: var(--space-16); }
.licenses__lead { max-width: 40em; font: italic 500 22px/31px var(--font-display); color: var(--text-secondary); text-wrap: pretty; }
.lics { display: grid; gap: var(--space-6); margin: var(--space-8) 0 0; }
@media (min-width: 640px) { .lics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .lics { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-8); } }
.lics > div { padding-top: var(--space-4); border-top: 1px solid var(--hairline); }
.lics dt { font: 600 16px/24px var(--font-sans); }
.lics dt a { color: var(--text-primary); text-decoration-color: var(--hairline-strong); }
.lics dt a:hover { color: var(--sapphire-text); }
.lics dd { margin: var(--space-1) 0 0; font-size: 15px; line-height: 22px; color: var(--text-secondary); }
.lics dd.mono { font-size: 12px; line-height: 18px; color: var(--gold-text); letter-spacing: .02em; }

/* The last word */
.coda { position: relative; isolation: isolate; overflow: hidden; padding: var(--space-24) 0 var(--space-24); border-top: 1px solid var(--hairline); text-align: center; }
@media (min-width: 840px) { .coda { padding: 160px 0; } }
.coda::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(36% 60% at 50% 100%, color-mix(in oklab, var(--glow-b), transparent 10%), transparent 70%),
    radial-gradient(30% 50% at 50% 40%, color-mix(in oklab, var(--gold), transparent 92%), transparent 70%);
}
.coda__in { display: grid; justify-items: center; }
.coda__mark img { width: 40px; height: auto; margin-bottom: var(--space-8); }

/* Footer */
.foot { padding: var(--space-10) 0 calc(var(--space-10) + env(safe-area-inset-bottom)); border-top: 1px solid var(--hairline); }
.foot__in { display: grid; gap: var(--space-6); }
@media (min-width: 840px) { .foot__in { grid-template-columns: 1fr auto; align-items: center; } }
.foot__brand { display: flex; gap: var(--space-4); align-items: center; }
.foot__brand img { flex: none; width: 24px; height: auto; }
.foot__brand p { font: 500 italic 19px/25px var(--font-display); color: var(--text-secondary); text-wrap: balance; }
.foot__links { display: flex; flex-wrap: wrap; gap: 0 var(--space-5); }
.foot__links a { display: inline-flex; align-items: center; min-height: var(--target-min); color: var(--text-secondary); font-size: 15px; text-decoration: none; }
.foot__links a:hover { color: var(--text-primary); text-decoration: underline; }

/* The larger view of a still. Always dark, like a screening room. */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: var(--space-4);
  border: 0; background: transparent; color: #f2ecdd; overflow: auto;
}
.lightbox::backdrop { background: var(--scrim); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox[open] { display: grid; place-items: center; animation: lb-in .3s var(--ease-out); }
@keyframes lb-in { from { opacity: 0; transform: scale(.985); } }
.lightbox__in { position: relative; width: min(1400px, 100%); }
.lightbox img { width: 100%; max-height: 76dvh; object-fit: contain; border-radius: var(--radius-lg); background: #0d1116; }
.lightbox__cap { display: grid; gap: var(--space-2); margin-top: var(--space-4); max-width: 60em; }
.lightbox__slate { font: 600 12px/16px var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: #e6c473; }
.lightbox__prompt { font: italic 500 21px/29px var(--font-display); color: #f2ecdd; }
.lightbox__meta { display: flex; flex-wrap: wrap; align-items: center; font: 400 13px/20px var(--font-mono); color: #bcb6a6; }
.lightbox form { position: absolute; top: var(--space-3); right: var(--space-3); margin: 0; }
.lightbox__x { width: var(--target-min); padding: 0; border-radius: 50%; background: #0a0e13cc; border-color: #e9dfc638; color: #f2ecdd; }
.lightbox__x:hover { background: #151d28; }
.lightbox .lightbox__x:focus-visible { outline-color: #f2ecdd; }

/* Entrances: the hero arrives once on load; sections rise in once as they're reached. */
.hero__copy > *, .reel { animation: rise .9s var(--ease-out) both; }
.hero__copy > :nth-child(2) { animation-delay: .06s; }
.hero__copy > :nth-child(3) { animation-delay: .14s; }
.hero__copy > :nth-child(4) { animation-delay: .2s; }
.hero__copy > :nth-child(5) { animation-delay: .24s; }
.reel { animation-duration: 1.2s; animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.motion .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.motion .reveal.in { opacity: 1; transform: none; }
.motion .gallery .still:nth-child(3n + 2).reveal { transition-delay: .08s; }
.motion .gallery .still:nth-child(3n).reveal { transition-delay: .16s; }

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

/* Phones: the install card holds the commands directly, so they get the full width. */
@media (max-width: 599px) {
  .install { padding: var(--space-8) var(--space-4); border-radius: var(--radius-xl); }
  .ways { gap: var(--space-6); }
  .way, .way--app { padding: 0; background: none; border: 0; }
  .way + .way { padding-top: var(--space-6); border-top: 1px solid var(--hairline); border-radius: 0; }
  .cmd pre { font-size: 13px; }
  .roles { grid-template-columns: 1fr; gap: var(--space-4); }
  .reel__shot, .reel__shot:focus-visible { border-radius: var(--radius-lg); }
}
