/* =========================================================================
   EmpoweredHouse Visuals — docs site
   The site wears the company identity: warm near-black, hairlines instead of
   shadows, one lime accent, Albert Sans and JetBrains Mono at 400 and 500.
   ========================================================================= */

@font-face {
  font-family: "Albert Sans";
  font-weight: 400;
  font-display: swap;
  src: url("fonts/albert-sans-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Albert Sans";
  font-weight: 400;
  font-display: swap;
  src: url("fonts/albert-sans-latin-ext-400.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113;
}
@font-face {
  font-family: "Albert Sans";
  font-weight: 500;
  font-display: swap;
  src: url("fonts/albert-sans-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Albert Sans";
  font-weight: 500;
  font-display: swap;
  src: url("fonts/albert-sans-latin-ext-500.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113;
}
@font-face {
  font-family: "JetBrains Mono";
  font-weight: 400;
  font-display: swap;
  src: url("fonts/jetbrains-mono-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, 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-weight: 500;
  font-display: swap;
  src: url("fonts/jetbrains-mono-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* The company tokens, verbatim from the landing app.css. */
:root {
  --canvas: #0b0b0c;
  --surface-1: #131316;
  --surface-2: #1a1a1e;
  --surface-3: #222226;
  --canvas-light: #f2efe6;
  --border-faint: rgba(255, 248, 232, 0.06);
  --border-soft: rgba(255, 248, 232, 0.1);
  --border-strong: rgba(255, 248, 232, 0.18);
  --text-primary: #f2efe6;
  --text-secondary: #a6a39a;
  --text-tertiary: #87837a;
  --text-muted: #4a4843;
  --lime: #d0ff6d;
  --lime-soft: rgba(208, 255, 109, 0.14);
  --lime-glow: rgba(208, 255, 109, 0.32);
  --coral: #ff7a6b;
  --glow-warm: rgba(255, 226, 170, 0.22);
  --sans: "Albert Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --side-w: 264px;
  --top-h: 56px;
}

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

html {
  background: var(--canvas);
  color: var(--text-primary);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  color-scheme: dark;
  scroll-padding-top: calc(var(--top-h) + 24px);
}

body { margin: 0; min-height: 100vh; }

a { color: inherit; }
::selection { background: var(--lime); color: var(--canvas); }

:focus-visible {
  outline: 1px solid var(--lime);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--lime-glow);
  border-radius: var(--radius-sm);
}

/* ---------------------------------------------------------------- Sidebar */
.side {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  width: var(--side-w);
  overflow-y: auto;
  padding: 16px 12px 48px;
  background: var(--canvas);
  border-right: 1px solid var(--border-faint);
  scrollbar-width: thin;
  scrollbar-color: var(--surface-3) transparent;
}

.lockup {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 24px;
  margin: 0 8px 28px;
  color: var(--text-primary);
  text-decoration: none;
}
.lockup svg { flex: none; }
.lockup__core { fill: var(--lime); }
.lockup__word { font-size: 16px; font-weight: 500; letter-spacing: -0.012em; }
.lockup__tag {
  margin-left: 2px;
  padding: 2px 6px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  color: var(--text-tertiary);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav { display: flex; flex-direction: column; gap: 1px; }

.nav__label {
  margin: 20px 8px 8px;
  color: var(--text-tertiary);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav__label:first-child { margin-top: 0; }

.nav__link,
.nav__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: color 200ms var(--ease), background-color 200ms var(--ease);
}
.nav__link:hover,
.nav__summary:hover { color: var(--text-primary); background: var(--surface-1); }

.nav__link[aria-current="page"] {
  color: var(--text-primary);
  background: var(--surface-2);
  box-shadow: inset 2px 0 0 var(--lime);
}

.nav__count {
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
}

.nav__group { margin-top: 1px; }
.nav__summary { list-style: none; }
.nav__summary::-webkit-details-marker { display: none; }
.nav__summary::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  margin-right: 2px;
  border-right: 1px solid var(--text-tertiary);
  border-bottom: 1px solid var(--text-tertiary);
  transform: rotate(-45deg);
  transition: transform 200ms var(--ease);
}
.nav__group[open] > .nav__summary::before { transform: rotate(45deg); }
.nav__summary .nav__count { margin-left: auto; }

.nav__link--file {
  margin-left: 15px;
  padding-left: 12px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  border-left: 1px solid var(--border-faint);
  color: var(--text-tertiary);
  font-family: var(--mono);
  font-size: 12px;
}
.nav__link--file[aria-current="page"] { box-shadow: inset 1px 0 0 var(--lime); border-left-color: var(--lime); }

/* ------------------------------------------------------------------ Shell */
.shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin-left: var(--side-w);
}

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--top-h);
  padding: 0 32px;
  background: color-mix(in srgb, var(--canvas) 86%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-faint);
}

.top__menu { display: none; }
.top__actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.top__link {
  color: var(--text-tertiary);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 200ms var(--ease);
}
.top__link:hover { color: var(--text-primary); }

.search { position: relative; width: min(320px, 100%); }
.search__input,
.filter {
  width: 100%;
  height: 34px;
  padding: 0 44px 0 12px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: var(--surface-1);
  color: var(--text-primary);
  font: inherit;
  font-size: 14px;
  transition: border-color 200ms var(--ease);
}
.search__input::placeholder,
.filter::placeholder { color: var(--text-tertiary); }
.search__input:hover,
.filter:hover { border-color: var(--border-strong); }
.search__input::-webkit-search-cancel-button,
.filter::-webkit-search-cancel-button { display: none; }

.search__kbd {
  position: absolute;
  top: 50%;
  right: 8px;
  padding: 1px 5px;
  transform: translateY(-50%);
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  color: var(--text-tertiary);
  font-family: var(--mono);
  font-size: 10px;
  pointer-events: none;
}

.search__results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: min(420px, 90vw);
  max-height: 60vh;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--surface-1);
}
.search__item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.search__item[aria-selected="true"],
.search__item:hover { background: var(--surface-3); }
.search__item-title { font-size: 14px; font-weight: 500; }
.search__item-cat {
  color: var(--text-tertiary);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  align-self: center;
}
.search__item-desc { grid-column: 1 / -1; color: var(--text-tertiary); font-size: 12.5px; }
.search__empty { margin: 0; padding: 10px; color: var(--text-tertiary); font-size: 13px; }

.segmented {
  display: inline-flex;
  padding: 2px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: var(--surface-1);
}
.segmented__btn {
  padding: 4px 10px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--text-tertiary);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 200ms var(--ease), background-color 200ms var(--ease);
}
.segmented__btn:hover { color: var(--text-primary); }
.segmented__btn[aria-pressed="true"] { background: var(--surface-3); color: var(--text-primary); }

/* ---------------------------------------------------------------- Content */
.content {
  flex: 1;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 56px 32px 96px;
}
.content--wide { max-width: 1180px; }

.page-head { margin-bottom: 32px; }
.page-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.page-head--row > div { max-width: 620px; }
.filter { width: 240px; padding-right: 12px; }

h1 {
  margin: 0;
  font-size: clamp(34px, 4.4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.04;
}
h2 {
  margin: 56px 0 14px;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.022em;
  line-height: 1.2;
}
h3 {
  margin: 32px 0 8px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

p { margin: 0 0 14px; color: var(--text-secondary); }
.lede {
  margin: 16px 0 0;
  max-width: 640px;
  color: var(--text-secondary);
  font-size: clamp(17px, 1.7vw, 19px);
  letter-spacing: -0.012em;
  line-height: 1.5;
}
.muted { color: var(--text-tertiary); font-size: 14.5px; }
strong { color: var(--text-primary); font-weight: 500; }

.prose a,
.block a {
  color: var(--text-primary);
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-underline-offset: 3px;
  transition: text-decoration-color 200ms var(--ease);
}
.prose a:hover,
.block a:hover { text-decoration-color: var(--lime); }

.prose ul,
.prose ol { margin: 0 0 16px; padding-left: 20px; color: var(--text-secondary); }
.prose li { margin-bottom: 8px; padding-left: 4px; }
.prose li::marker { color: var(--text-muted); }

code {
  padding: 1px 5px;
  border: 1px solid var(--border-faint);
  border-radius: 4px;
  background: var(--surface-1);
  color: var(--text-primary);
  font-family: var(--mono);
  font-size: 0.82em;
  letter-spacing: 0;
}

.eyebrow,
.path-chip {
  display: inline-block;
  margin: 0 0 16px;
  color: var(--text-tertiary);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow--lime { color: var(--lime); }
.path-chip {
  padding: 3px 8px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
  text-transform: none;
}

.note {
  margin: 20px 0;
  padding: 14px 16px;
  border: 1px solid var(--border-soft);
  border-left: 2px solid var(--lime);
  border-radius: var(--radius-md);
  background: var(--surface-1);
  color: var(--text-secondary);
  font-size: 14.5px;
}
.note p:last-child { margin-bottom: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 200ms var(--ease), background-color 200ms var(--ease);
}
.btn:hover { border-color: var(--text-secondary); }
.btn--primary { border-color: var(--lime); background: var(--lime); color: var(--canvas); }
.btn--primary:hover { border-color: var(--text-primary); background: var(--text-primary); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* ------------------------------------------------------------------- Code */
.code {
  margin: 16px 0 20px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: var(--surface-1);
  overflow: hidden;
}
.code__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  padding: 0 8px 0 14px;
  border-bottom: 1px solid var(--border-faint);
}
.code__lang {
  color: var(--text-tertiary);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.code__pre {
  margin: 0;
  padding: 14px 16px 16px;
  max-height: 520px;
  overflow: auto;
  color: var(--text-primary);
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.7;
  tab-size: 2;
  scrollbar-width: thin;
  scrollbar-color: var(--surface-3) transparent;
}
.code__pre code { padding: 0; border: 0; background: none; font-size: inherit; }

.chip {
  height: 24px;
  padding: 0 8px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 200ms var(--ease), border-color 200ms var(--ease);
}
.chip:hover { border-color: var(--border-strong); color: var(--text-primary); }
.chip[data-copied] { border-color: var(--lime); color: var(--lime); }

/* ----------------------------------------------------------------- Stages */
.stage {
  position: relative;
  height: 21rem;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background-color: var(--canvas);
  background-image:
    linear-gradient(to right, rgba(255, 248, 232, 0.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 248, 232, 0.028) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center;
  overflow: hidden;
  transition: background-color 300ms var(--ease);
}
.stage:has(.ehv--light) {
  background-color: var(--canvas-light);
  background-image:
    linear-gradient(to right, rgba(11, 11, 12, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 11, 12, 0.045) 1px, transparent 1px);
}
.stage--tile { height: 15rem; pointer-events: none; }
.stage--hero { height: 100%; border-radius: var(--radius-lg); }

.variations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.variation {
  margin: 0;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.variation--wide { grid-column: 1 / -1; }
.variation--wide .stage { height: 32rem; }
.variation__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 8px 10px 8px 14px;
  border-top: 1px solid var(--border-faint);
  background: var(--surface-1);
}
.variation__label {
  color: var(--text-secondary);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.02em;
}
.variation__actions { display: flex; gap: 6px; flex: none; }

/* ------------------------------------------------------------ Visual tiles */
.category { margin-top: 48px; }
.category__title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-faint);
  font-size: 18px;
}
.category__count { color: var(--text-muted); font-family: var(--mono); font-size: 11px; }

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tile {
  display: block;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  transition: border-color 200ms var(--ease);
}
.tile:hover { border-color: var(--border-strong); }
.tile--wide { grid-column: span 3; }
.tile--wide .stage--tile { height: 26rem; }
.tile__body { padding: 14px 16px 16px; border-top: 1px solid var(--border-faint); background: var(--surface-1); }
.tile__body h3 { margin: 0 0 2px; font-size: 15px; }
.tile__body p {
  margin: 0;
  color: var(--text-tertiary);
  font-size: 13px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ------------------------------------------------------------------ Props */
.block { margin-top: 8px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border-soft); border-radius: var(--radius-lg); }
.props { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.props th {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-soft);
  background: var(--surface-1);
  color: var(--text-tertiary);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
}
.props td { padding: 10px 14px; border-bottom: 1px solid var(--border-faint); vertical-align: top; }
.props tr:last-child td { border-bottom: 0; }
.props__type { color: var(--text-tertiary); font-family: var(--mono); font-size: 11.5px; white-space: nowrap; }
.props__default { color: var(--text-secondary); white-space: pre-wrap; word-break: break-word; }
.props__doc { min-width: 220px; color: var(--text-secondary); }

.fold { margin-top: 12px; border: 1px solid var(--border-soft); border-radius: var(--radius-lg); }
.fold > summary {
  padding: 12px 16px;
  color: var(--text-secondary);
  font-family: var(--mono);
  font-size: 12px;
  cursor: pointer;
  list-style: none;
}
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::before { content: "+"; display: inline-block; width: 18px; color: var(--lime); }
.fold[open] > summary::before { content: "−"; }
.fold[open] > summary { border-bottom: 1px solid var(--border-faint); }
.fold > .table-wrap,
.fold > .code { margin: 0; border: 0; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }

/* ------------------------------------------------------------- Intro hero */
.hero { margin: -8px 0 56px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 68px); letter-spacing: -0.035em; line-height: 0.98; max-width: 14ch; }
.hero .lede { max-width: 560px; }
.hero .eh-lime { color: var(--lime); }

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
  margin: 40px 0 8px;
}
.bento__cell {
  height: 19rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.bento__cell--7 { grid-column: span 7; }
.bento__cell--5 { grid-column: span 5; }
.bento__cell--4 { grid-column: span 4; }
.bento__cell--8 { grid-column: span 8; }
.bento__cell--12 { grid-column: span 12; height: 28rem; }

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
}
.facts li { padding: 16px 18px; border-right: 1px solid var(--border-faint); }
.facts li:last-child { border-right: 0; }
.facts b { display: block; font-size: 26px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.facts span {
  color: var(--text-tertiary);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 20px 0; padding: 0; list-style: none; }
.cards li,
.cards a {
  display: block;
  padding: 18px 20px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  font-size: 14.5px;
  text-decoration: none;
}
.cards a { transition: border-color 200ms var(--ease); }
.cards a:hover { border-color: var(--lime); }
.cards b { display: block; margin-bottom: 4px; color: var(--text-primary); font-size: 15.5px; font-weight: 500; }

.steps { counter-reset: step; margin: 0; padding: 0; list-style: none; }
.steps > li { position: relative; padding: 0 0 8px 44px; counter-increment: step; }
.steps > li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 34px;
  left: 0;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.steps > li > h2 { margin-top: 32px; font-size: 20px; }

/* ------------------------------------------------------------------ Footer */
.foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 32px;
  border-top: 1px solid var(--border-faint);
  color: var(--text-tertiary);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* -------------------------------------------------------------- Responsive */
@media (max-width: 1100px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--wide { grid-column: span 2; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li:nth-child(2) { border-right: 0; }
  .facts li:nth-child(-n + 2) { border-bottom: 1px solid var(--border-faint); }
}

@media (max-width: 900px) {
  .side { transform: translateX(-100%); transition: transform 300ms var(--ease); }
  .nav-toggle:checked ~ .side { transform: none; border-right-color: var(--border-strong); }
  .shell { margin-left: 0; }
  .top { padding: 0 16px; gap: 12px; }
  .top__menu {
    display: grid;
    gap: 5px;
    flex: none;
    width: 34px;
    height: 34px;
    place-content: center;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    cursor: pointer;
  }
  .top__menu span { display: block; width: 14px; height: 1px; background: var(--text-primary); }
  .nav-toggle:checked ~ .shell .top__menu { position: relative; z-index: 40; margin-left: var(--side-w); }
  .top__link { display: none; }
  .content { padding: 40px 16px 72px; }
  .foot { padding: 20px 16px; }
  .variations { grid-template-columns: minmax(0, 1fr); }
  .variation--wide .stage { height: 24rem; }
  .bento__cell,
  .bento__cell--12 { grid-column: span 12; height: 18rem; }
  .cards { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .tile--wide { grid-column: span 1; }
  .tile--wide .stage--tile { height: 18rem; }
  .search__kbd { display: none; }
  .search__input { padding-right: 12px; }
  .filter { width: 100%; }
  .segmented__btn { padding: 4px 7px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; }
}

.sr-copy { position: fixed; top: -100px; opacity: 0; }
[hidden] { display: none !important; }

/* ------------------------------------------------- Sheets (scripts/shot.sh) */
.sheet { padding: 12px; }
.variations--sheet { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; }
.variations--sheet .stage { height: 19rem; }
.variations--sheet .variation--wide .stage { height: 27rem; }
.variations--sheet .variation__actions { display: none; }
/* Headless Chrome does not advance CSS animations, so a sheet shows the final
   frame: no animation, and no moving SMIL packets. */
.sheet .ehv * { animation: none !important; }
.sheet .ehv .ehv-smil { display: none; }
.variations--contact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.variations--contact .stage { height: 15.5rem; }
.variations--contact .variation__bar { min-height: 30px; padding: 4px 10px; }
