/* AL+ alplustech.com
   The title sequence: black screen and white page alternate as whole scenes,
   scroll is the playhead, type fills in as it is read, and lime is the cut:
   the progress, the active product, the struck row, the approving action. */

@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/fonts/schibsted-grotesk-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: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/fonts/schibsted-grotesk-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url("/fonts/schibsted-grotesk-italic-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;
}

/* ---------- Tokens ---------- */
:root {
  --paper: #ffffff;
  --ink: #0d0d0d;
  --ink-2: #474747;       /* secondary text, 9.4:1 on white */
  --ink-3: #636363;       /* metadata, 6:1 on white */
  --ghost: #8a8a8a;       /* unread display type, 3.5:1 on white */
  --rule: #d9d9d9;
  --lime: #c0df16;
  --lime-ink: #1a1f00;    /* text on lime */

  --screen: #0a0a0a;      /* the black scene */
  --screen-2: #161616;    /* surfaces inside it */
  --screen-3: #222222;
  --on-screen: #ffffff;
  --on-screen-2: #cfcfcf; /* 12.9:1 on screen */
  --on-screen-3: #a3a3a3; /* 7.9:1 */
  --ghost-dark: #7a7a7a;  /* 4.5:1 on screen */
  --screen-rule: #2e2e2e;

  --font: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;

  --t-display: clamp(2.6rem, 1rem + 5.4vw, 6rem);
  --t-xl: clamp(2.1rem, 1.1rem + 3.6vw, 4.5rem);
  --t-heading: clamp(1.75rem, 1.2rem + 1.9vw, 2.9rem);
  --t-row: clamp(1.3rem, 1.1rem + 0.7vw, 1.75rem);
  --t-lead: clamp(1.125rem, 1rem + 0.45vw, 1.375rem);
  --t-body: 1.125rem;
  --t-small: 1rem;
  --t-meta: 0.9375rem;
  --t-tag: 0.8125rem;

  --gutter: clamp(1rem, 4vw, 3rem);
  --shell: 90rem;
  --measure: 36em;
  --article: 46rem;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --section: clamp(4.5rem, 3rem + 6vw, 9rem);

  --radius: 0.5rem;
  --radius-lg: 1rem;
  --pill: 999px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-snap: cubic-bezier(0.22, 1, 0.36, 1);
  --cut: 520ms;

  --shadow: 0 1px 2px rgb(0 0 0 / 0.12), 0 24px 48px -24px rgb(0 0 0 / 0.5);
  --shadow-dark: 0 1px 2px rgb(0 0 0 / 0.4), 0 30px 60px -30px rgb(0 0 0 / 0.9);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  font-family: var(--font);
  font-size: 100%;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-feature-settings: "kern" 1, "liga" 1;
  scroll-padding-top: 6rem;
  scrollbar-color: var(--ink) var(--paper);
  accent-color: var(--lime);
  caret-color: var(--lime);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-size: var(--t-body); min-height: 100dvh; display: flex; flex-direction: column; overflow-x: clip; background: var(--paper); }
main { flex: 1; display: block; outline: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; overflow-wrap: break-word; }
p { margin: 0; text-wrap: pretty; }
p + p { margin-top: 1em; }
ul, ol { margin: 0; padding: 0; }
dl, dd { margin: 0; }
img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
::selection { background: var(--lime); color: var(--lime-ink); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 3px; }
[hidden] { display: none !important; }

a { color: inherit; text-decoration-line: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; text-decoration-color: var(--lime); transition: text-decoration-color 160ms, text-decoration-thickness 160ms; }
a:hover { text-decoration-thickness: 3px; }
[data-theme="light"] a, .section a, .prose a { text-decoration-color: color-mix(in srgb, var(--ink) 35%, var(--lime)); }
[data-theme="light"] a:hover, .section a:hover, .prose a:hover { text-decoration-color: var(--ink); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; z-index: 100; left: 1rem; top: -4rem; padding: 0.6rem 1rem; border-radius: var(--pill); background: var(--lime); color: var(--lime-ink); font-weight: 700; text-decoration: none; }
.skip:focus { top: 1rem; }

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type roles ---------- */
.display { font-size: var(--t-display); font-weight: 800; line-height: 0.95; letter-spacing: -0.04em; }
.heading-xl { font-size: var(--t-xl); font-weight: 800; line-height: 0.98; letter-spacing: -0.038em; max-width: 16em; }
.heading { font-size: var(--t-heading); font-weight: 800; line-height: 1.02; letter-spacing: -0.032em; max-width: 20em; }
.lead { font-size: var(--t-lead); line-height: 1.45; max-width: var(--measure); }
.meta { font-size: var(--t-meta); color: var(--ink-3); max-width: 44em; }
.copy { max-width: var(--measure); }
.copy--large { font-size: var(--t-lead); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; }

/* Ghost type that fills as it reaches the reading line (with the script). */
.fw { transition: color 380ms var(--ease-out); }
.js [data-fill].is-filling .fw:not(.on) { color: var(--ghost); }
.js [data-theme="dark"] [data-fill].is-filling .fw:not(.on) { color: var(--ghost-dark); }
.js [data-theme="lime"] [data-fill].is-filling .fw:not(.on) { color: #5c6b00; }

/* Display headings rise line by line out of a mask, once. */
.rw { display: inline-block; overflow: clip; overflow-clip-margin: 0.12em; vertical-align: top; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.rw > span { display: inline-block; transform: translateY(0); }
.js .will-rise .rw > span { transform: translateY(105%); }
.js .will-rise.is-in .rw > span { transform: none; transition: transform 1100ms var(--ease-out); transition-delay: calc(var(--i, 0) * 45ms); }
.is-risen .rw { overflow: visible; }

/* ---------- Buttons and links ---------- */
.btn {
  --b-bg: var(--ink);
  --b-fg: var(--paper);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.75rem 1.35rem;
  border: 0;
  border-radius: var(--pill);
  background: var(--b-bg);
  color: var(--b-fg);
  font-size: var(--t-small);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color 260ms var(--ease-out), transform 400ms var(--ease-snap);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--lime); transform: scaleX(0); transform-origin: 0 50%; transition: transform 420ms var(--ease-out); }
.btn::after { content: ""; width: 0.95em; height: 0.95em; flex: none; background: currentColor; clip-path: polygon(0 44%, 66% 44%, 40% 18%, 50% 8%, 96% 50%, 50% 92%, 40% 82%, 66% 56%, 0 56%); transition: transform 420ms var(--ease-snap); }
.btn:hover { color: var(--lime-ink); text-decoration: none; }
.btn:hover::before { transform: scaleX(1); }
.btn:hover::after { transform: translateX(3px); }
.btn:active { transform: scale(0.97); }
.btn--lime { --b-bg: var(--lime); --b-fg: var(--lime-ink); }
.btn--lime::before { background: var(--paper); }
.btn--small { min-height: 2.5rem; padding: 0.5rem 1rem; font-size: var(--t-meta); }
[data-theme="dark"] .btn:not(.btn--lime) { --b-bg: var(--paper); --b-fg: var(--ink); }
[data-theme="lime"] .btn { --b-bg: var(--ink); --b-fg: var(--paper); }
[data-theme="lime"] .btn::before { background: var(--paper); }
[data-theme="lime"] .btn:hover { color: var(--ink); }
.link { font-weight: 700; }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip { display: inline-flex; align-items: center; min-height: 2rem; padding: 0.25rem 0.8rem; border-radius: var(--pill); box-shadow: inset 0 0 0 1.5px currentColor; font-size: var(--t-meta); font-weight: 600; line-height: 1.2; }
.chip--lime { background: var(--lime); color: var(--lime-ink); box-shadow: none; }
.chip--state { min-height: 0; padding: 0.15rem 0.6rem; font-size: 0.8125rem; color: var(--ink-2); }

/* The "Simulation" label every made-up example wears. */
.sim { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.2rem 0.65rem; border-radius: var(--pill); background: var(--lime); color: var(--lime-ink); font-size: var(--t-tag); font-weight: 800; line-height: 1.3; letter-spacing: 0.01em; white-space: nowrap; }
.sim::before { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: currentColor; }

/* ---------- Masthead: a capsule that takes the colour of the scene under it ---------- */
.masthead { position: fixed; z-index: 50; top: 0; left: 0; right: 0; padding: 0.75rem var(--gutter) 0; pointer-events: none; }
.capsule {
  --c-bg: var(--paper);
  --c-fg: var(--ink);
  --c-line: rgb(0 0 0 / 0.12);
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.25rem 1.25rem;
  max-width: 64rem;
  margin-inline: auto;
  padding: 0.4rem 0.4rem 0.4rem 1.1rem;
  border-radius: var(--pill);
  position: relative;
  isolation: isolate;
  color: var(--c-fg);
}
.capsule::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: color-mix(in srgb, var(--c-bg) 88%, transparent); box-shadow: inset 0 0 0 1px var(--c-line), 0 10px 30px -18px rgb(0 0 0 / 0.5); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); }
.masthead.is-ready .capsule::before { transition: background-color var(--cut) var(--ease-out), box-shadow var(--cut); }
.masthead.is-ready .capsule { transition: color var(--cut) var(--ease-out); }
.masthead[data-on="dark"] .capsule { --c-bg: var(--screen); --c-fg: var(--paper); --c-line: rgb(255 255 255 / 0.16); }
.masthead[data-on="lime"] .capsule { --c-bg: var(--ink); --c-fg: var(--paper); --c-line: rgb(255 255 255 / 0.16); }
.lockup { display: inline-flex; color: inherit; text-decoration: none; }
.wordmark { font-size: 1.45rem; font-weight: 900; letter-spacing: -0.05em; line-height: 1; }
.wordmark__plus { color: var(--lime); display: inline-block; }
.masthead:not([data-on="dark"]):not([data-on="lime"]) .capsule .wordmark__plus { color: inherit; background: var(--lime); border-radius: 3px; padding: 0 0.06em; margin-left: 0.04em; }
.nav { flex: 1; display: flex; align-items: center; }
.nav__list { list-style: none; display: flex; gap: 0.15rem; }
.nav__list a, .langs a { display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0.3rem 0.75rem; border-radius: var(--pill); font-size: var(--t-meta); font-weight: 600; text-decoration: none; transition: background-color 200ms, color 200ms; }
.nav__list a:hover, .langs a:hover { background: color-mix(in srgb, var(--c-fg) 10%, transparent); }
.nav__list a[aria-current] { box-shadow: inset 0 -2px 0 var(--lime); border-radius: 0; }
.nav__mail { display: none; }
.langs { display: flex; gap: 0.1rem; font-size: var(--t-meta); }
.langs a { padding-inline: 0.55rem; color: color-mix(in srgb, var(--c-fg) 62%, transparent); }
.langs a[aria-current] { color: var(--c-fg); font-weight: 800; }
.capsule__mail { display: inline-flex; align-items: center; min-height: 2.6rem; padding: 0.4rem 1.1rem; border-radius: var(--pill); background: var(--lime); color: var(--lime-ink); font-size: var(--t-meta); font-weight: 800; text-decoration: none; white-space: nowrap; transition: transform 300ms var(--ease-snap); }
.capsule__mail:hover { transform: scale(1.04); }
.menu-toggle { display: none; }
.progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; background: var(--lime); transform-origin: 0 50%; transform: scaleX(var(--progress, 0)); }
@supports (animation-timeline: scroll()) {
  .progress { animation: progress linear both; animation-timeline: scroll(root); }
  @keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

@media (max-width: 63.99rem) {
  .capsule { padding-left: 1rem; }
  .js .menu-toggle { display: inline-flex; align-items: center; min-height: 2.6rem; padding: 0.4rem 1rem; border: 0; border-radius: var(--pill); background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; font-size: var(--t-meta); font-weight: 700; cursor: pointer; }
  .js .nav { position: fixed; inset: 0; z-index: -1; flex-direction: column; align-items: stretch; justify-content: flex-end; gap: var(--space-3); padding: 6rem var(--gutter) var(--space-5); background: var(--screen); color: var(--paper); visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path 600ms var(--ease-out), visibility 0s 600ms; }
  .js .nav[data-open] { visibility: visible; clip-path: inset(0); transition: clip-path 600ms var(--ease-out); }
  .js .nav__list { flex-direction: column; gap: 0; }
  .js .nav__list a { min-height: 0; padding: 0.35rem 0; border-radius: 0; font-size: clamp(2.2rem, 10vw, 3.5rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; background: none; color: var(--paper); }
  .js .nav__list a[aria-current] { box-shadow: none; color: var(--lime); }
  .js .nav__mail { display: block; font-size: var(--t-lead); font-weight: 700; }
  .js .nav__mail a { color: var(--lime); }
  .js .masthead.nav-open .capsule { --c-bg: var(--screen); --c-fg: var(--paper); --c-line: rgb(255 255 255 / 0.16); }
  .js .capsule { justify-content: space-between; }
  .js .capsule .langs { margin-left: auto; }
  .capsule__mail { display: none; }
  .nav-locked { overflow: hidden; }
  html:not(.js) .capsule { flex-wrap: wrap; border-radius: var(--radius-lg); }
  html:not(.js) .nav__list { flex-wrap: wrap; }
}
@media (max-width: 22rem) { .langs a { padding-inline: 0.35rem; } }

/* ---------- Scenes ---------- */
.scene { position: relative; padding-block: var(--section); }
.scene[data-theme="dark"] { background: var(--screen); color: var(--on-screen); }
.scene[data-theme="dark"] .meta { color: var(--on-screen-3); }
.scene[data-theme="dark"] .lead { color: var(--on-screen-2); }
.scene[data-theme="lime"] { background: var(--lime); color: var(--lime-ink); }
.scene[data-theme="lime"] .meta { color: #3d4700; }
.scene[data-theme="lime"] a:not(.btn) { text-decoration-color: var(--lime-ink); }
.scene[data-theme="dark"] + .scene[data-theme="dark"], .scene[data-theme="light"] + .scene[data-theme="light"] { padding-top: 0; }
.intro { display: grid; gap: var(--space-3); margin-bottom: var(--space-5); }

/* Generic pages (privacy, contact, thoughts, articles, errors). */
main > .section, main > article.section { width: 100%; max-width: var(--shell); margin-inline: auto; padding: calc(var(--section) + 3rem) var(--gutter) var(--section); }
main > .section + .section { padding-top: 0; }
.stack > * + * { margin-top: var(--space-3); }
.title { font-size: var(--t-xl); font-weight: 800; line-height: 0.98; letter-spacing: -0.038em; max-width: 16em; }
.statement-mail { font-size: var(--t-heading); font-weight: 800; letter-spacing: -0.03em; overflow-wrap: anywhere; }

/* ---------- Title card (first scene) ---------- */
.title-card { min-height: 100svh; display: flex; align-items: center; padding-top: calc(var(--section) * 0.5 + 5rem); padding-bottom: var(--section); }
.title-card__grid { display: grid; gap: var(--space-5); align-items: center; }
@media (min-width: 64rem) { .title-card__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-5); } }
.title-card__text { display: grid; gap: var(--space-3); }
.title-card__text .display { max-width: 13em; font-size: clamp(2.5rem, 0.9rem + 4.4vw, 5.4rem); }
.title-card__text .meta { margin-top: calc(var(--space-1) * -1); }
@media (max-width: 63.99rem) {
  .title-card .title-card__grid { gap: var(--space-3); }
  .title-card__text { display: contents; }
  .title-card__text .display { order: 1; }
  .title-card .reel { order: 2; }
  .title-card__text .lead { order: 3; }
  .title-card__text .actions { order: 4; }
  .title-card__text .meta { order: 5; margin-top: 0; }
  .title-card { padding-top: 6.5rem; }
}

/* The product reel: one product on stage, the index of four drives it. */
.reel { position: relative; display: grid; gap: var(--space-3); }
.reel__stage { position: relative; display: grid; aspect-ratio: 5 / 4; overflow: hidden; }
.reel__frame { grid-area: 1 / 1; display: flex; align-items: center; justify-content: center; gap: 4%; padding: 7% 6%; }
.reel__frame .shot__caption { display: none; }
.reel__frame--app .shot { width: 36%; }
.reel__frame--app .shot:nth-child(2) { transform: translateY(8%) rotate(3deg); }
.reel__frame--app .shot:first-child { transform: rotate(-3deg); }
.reel__frame--app .shot--handheld .shot__window { max-width: none; }
.reel__frame--web { position: relative; justify-content: flex-start; padding-right: 18%; }
.reel__frame--web .shot--desktop, .reel__frame--web .shot--document { width: 100%; }
.reel__frame--web .shot--mobile { position: absolute; right: 5%; bottom: 7%; width: 24%; }
.reel__frame--web .shot--mobile .shot__window { max-width: none; border-radius: 1rem; }
.js .reel__frame { visibility: hidden; clip-path: inset(100% 0 0 0); transition: clip-path 900ms var(--ease-out), visibility 0s 900ms; }
.js .reel__frame.is-on { visibility: visible; clip-path: inset(0); transition: clip-path 900ms var(--ease-out); z-index: 1; }
.js .reel__frame .shot { transition: transform 1200ms var(--ease-out), opacity 700ms; }
.js .reel__frame:not(.is-on) .shot { transform: translateY(12%) scale(0.96); opacity: 0; }
html:not(.js) .reel__frame:not(:first-child) { display: none; }
.reel__index { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.25rem 1.25rem; }
@media (min-width: 40rem) and (max-width: 63.99rem) { .reel__index { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.reel__item { position: relative; display: grid; gap: 0.1rem; padding: 0.7rem 0 0.4rem; color: var(--on-screen-3); text-decoration: none; transition: color 300ms; }
.reel__item::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--screen-rule); }
.reel__time { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--lime); transform: scaleX(0); transform-origin: 0 50%; }
.reel__item.is-on, .reel__item:hover, .reel__item:focus-visible { color: var(--on-screen); }
.reel__item.is-on .reel__time { transform: scaleX(var(--t, 1)); }
.reel__name { font-weight: 800; font-size: var(--t-small); letter-spacing: -0.01em; }
.reel__kind { font-size: 0.8125rem; line-height: 1.3; }
.reel__pause { justify-self: start; display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.5rem; padding: 0.3rem 0.9rem 0.3rem 0.7rem; border: 0; border-radius: var(--pill); background: transparent; color: var(--on-screen-2); box-shadow: inset 0 0 0 1px var(--screen-rule); font-size: var(--t-tag); font-weight: 700; cursor: pointer; }
.reel__pause:hover { color: var(--on-screen); box-shadow: inset 0 0 0 1px var(--on-screen-3); }
.reel__pause-icon { width: 0.7rem; height: 0.75rem; border-inline: 3px solid currentColor; }
.reel__pause[aria-pressed="true"] .reel__pause-icon { border: 0; width: 0; height: 0; border-left: 0.65rem solid currentColor; border-block: 0.4rem solid transparent; }
@media (max-width: 39.99rem) {
  .reel__stage { aspect-ratio: 4 / 4.4; }
  .reel__frame--app .shot { width: 44%; }
  .reel__frame--web { padding: 10% 5% 30%; }
  .reel__frame--web .shot--mobile { width: 30%; bottom: 5%; }
}

/* ---------- Product screenshots ---------- */
.shot { margin: 0; }
.shot__window { border-radius: var(--radius); background: var(--paper); box-shadow: 0 0 0 1px rgb(0 0 0 / 0.12), var(--shadow); overflow: hidden; }
[data-theme="dark"] .shot__window { box-shadow: 0 0 0 1px rgb(255 255 255 / 0.12), var(--shadow-dark); }
.shot__bar { padding: 0.4rem 0.75rem; border-bottom: 1px solid var(--rule); font-size: 0.75rem; line-height: 1.2; font-weight: 700; color: var(--ink-3); text-align: center; }
.shot--dark .shot__window { background: #111; }
.shot--dark .shot__bar { border-color: #2b2b2b; color: #a3a3a3; }
.shot img { width: 100%; }
.shot--handheld .shot__window { max-width: 18rem; border-radius: 1.6rem; box-shadow: 0 0 0 5px #1a1a1a, 0 0 0 6px #3a3a3a, var(--shadow-dark); }
.shot--document .shot__window { max-width: 24rem; }
.shot__caption { margin-top: var(--space-2); font-size: var(--t-meta); color: var(--ink-3); max-width: 36em; }
[data-theme="dark"] .shot__caption { color: var(--on-screen-3); }

/* A product's gallery: a snap rail on phones, a grid from tablet up. */
.shots { list-style: none; display: grid; gap: var(--space-5) var(--space-4); margin-top: var(--space-4); }
@media (min-width: 48rem) { .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } .shots .shot--desktop { grid-column: 1 / -1; } }
@media (max-width: 47.99rem) {
  .shots { grid-auto-flow: column; grid-auto-columns: 82%; gap: var(--space-2); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--space-2); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: thin; }
  .shots > li { scroll-snap-align: start; }
}
.shot--row { display: grid; gap: var(--space-2); }
.shot--row .shot__caption { order: -1; margin: 0; font-size: var(--t-row); font-weight: 800; line-height: 1.08; letter-spacing: -0.025em; color: inherit; text-wrap: balance; max-width: 22em; }

/* ---------- Products on the home page ---------- */
.shelf + .shelf { margin-top: var(--section); }
.shelf__title { display: flex; align-items: center; gap: 1rem; font-size: var(--t-meta); font-weight: 700; color: var(--on-screen-3); letter-spacing: 0.01em; }
.shelf__title::after { content: ""; flex: 1; height: 1px; background: var(--screen-rule); }
.piece { display: grid; gap: var(--space-3) var(--space-4); padding-top: var(--space-4); }
.piece + .piece { margin-top: var(--section); }
.piece__name { font-size: clamp(3rem, 1rem + 8vw, 6rem); font-weight: 800; line-height: 0.9; letter-spacing: -0.05em; }
.piece__name a { text-decoration: none; }
.piece__name a:hover { color: var(--lime); }
.piece__spec { list-style: none; display: grid; gap: 0.1rem; }
.piece__label { display: grid; gap: var(--space-3); align-content: start; }
.piece__promise { font-size: var(--t-lead); line-height: 1.4; color: var(--on-screen); max-width: 24em; }
.piece__links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.25rem; font-size: var(--t-meta); font-weight: 700; }
.piece__stage { display: grid; gap: var(--space-3); align-items: start; }
@media (min-width: 64rem) {
  .piece { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .piece__name { grid-column: 1 / -1; }
  .piece__stage { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
}
.products__more { margin-top: var(--section); padding-top: var(--space-3); border-top: 1px solid var(--screen-rule); color: var(--on-screen-2); max-width: 48em; }

/* Hands-on examples */
.try { position: relative; border-radius: var(--radius-lg); background: var(--paper); color: var(--ink); padding: var(--space-3); box-shadow: var(--shadow-dark); }
.try__label { font-size: var(--t-small); font-weight: 800; }
.try__label::before { content: ""; display: inline-block; width: 0.5rem; height: 0.5rem; margin-right: 0.5rem; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 1.5px var(--ink); vertical-align: 0.1em; }
.try__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; }
.try__msg { margin-top: var(--space-2); font-size: var(--t-meta); color: var(--ink-2); min-height: 1.5em; }
.try__row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: var(--space-2); }
.try__btn { min-height: 2.5rem; padding: 0.35rem 1rem; border: 0; border-radius: var(--pill); background: var(--ink); color: var(--paper); font-size: var(--t-meta); font-weight: 700; cursor: pointer; transition: background-color 150ms, color 150ms, transform 300ms var(--ease-snap); }
.try__btn:hover { background: var(--lime); color: var(--lime-ink); }
.try__btn:active { transform: scale(0.95); }
.try__btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.try__btn--ghost[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.try__big { margin-top: var(--space-2); font-size: clamp(2.25rem, 1.5rem + 2.5vw, 3.5rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.try__unit { font-size: var(--t-small); font-weight: 600; letter-spacing: 0; color: var(--ink-2); }

.pattern { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); width: min(100%, 16rem); aspect-ratio: 1; margin: var(--space-3) auto 0; touch-action: none; user-select: none; -webkit-user-select: none; }
.pattern__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.pattern__lines polyline, .pattern__live { fill: none; stroke: var(--lime); stroke-width: 14; stroke-linecap: round; stroke-linejoin: round; }
.pattern__live { stroke-opacity: 0.6; visibility: hidden; }
.try--pattern.is-drawing .pattern__live { visibility: visible; }
.pattern__dot { position: relative; display: grid; place-items: center; border: 0; background: none; cursor: pointer; border-radius: 50%; }
.pattern__dot span { width: 42%; aspect-ratio: 1; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 3px var(--ink); transition: transform 400ms var(--ease-snap), background-color 200ms; }
.pattern__dot:hover span { transform: scale(1.1); }
.pattern__dot[aria-pressed="true"] span { background: var(--lime); transform: scale(1.18); }
.try--pattern.is-open .pattern__dot[aria-pressed="true"] span { background: var(--ink); box-shadow: inset 0 0 0 3px var(--lime); }
.try--pattern.is-short .pattern { animation: nope 420ms var(--ease-out); }
@keyframes nope { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }

.seg { border: 0; margin: var(--space-2) 0 0; padding: 0; min-width: 0; }
.seg__legend { padding: 0; font-size: var(--t-meta); font-weight: 700; margin-bottom: 0.35rem; }
.seg__opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.3rem; padding: 0.25rem; border-radius: var(--pill); background: #efefef; }
.seg__opt { position: relative; display: block; cursor: pointer; }
.seg__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg__opt span { display: grid; place-items: center; min-height: 2.5rem; padding: 0.25rem 0.4rem; border-radius: var(--pill); font-size: 0.875rem; font-weight: 700; text-align: center; line-height: 1.1; transition: background-color 250ms, color 250ms, transform 400ms var(--ease-snap); }
.seg__opt:hover span { background: #dedede; }
.seg__opt input:checked + span { background: var(--ink); color: var(--paper); transform: scale(1.03); }
.seg__opt input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 5px var(--lime); }

.chart { position: relative; margin-top: var(--space-2); height: 11rem; touch-action: pan-y; cursor: crosshair; border-radius: var(--radius); }
.chart:focus-visible { outline-color: var(--ink); }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart .c-grid { stroke: rgb(0 0 0 / 0.1); stroke-width: 1; }
.chart .c-area { fill: rgb(192 223 22 / 0.4); }
.chart .c-line { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart .c-prev { fill: none; stroke: var(--ink-3); stroke-width: 2; stroke-dasharray: 5 6; transition: opacity 400ms; }
.chart .c-cursor { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 3 3; }
.chart__tip { position: absolute; top: -0.5rem; padding: 0.25rem 0.6rem; border-radius: var(--pill); background: var(--ink); color: var(--paper); font-size: 0.8125rem; font-weight: 700; white-space: nowrap; transform: translateX(-50%); pointer-events: none; }

.update { margin-top: var(--space-2); font-size: var(--t-small); line-height: 1.5; }
.update__lead { font-size: 1.125rem; font-weight: 600; line-height: 1.4; }
.update__list { list-style: none; margin-top: var(--space-2); display: grid; gap: 0.5rem; }
.update__list li { padding-left: 1.2rem; position: relative; color: var(--ink-2); }
.update__list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 1.5px var(--ink); }
.update__list b { color: var(--ink); }
.update__note { margin-top: var(--space-2); font-size: var(--t-meta); color: var(--ink-3); }
.update .tw { opacity: 0.08; transition: opacity 260ms; }
.update .tw.on { opacity: 1; }
.update.is-writing::after { content: ""; display: inline-block; width: 0.55em; height: 1.1em; margin-left: 0.1em; vertical-align: -0.2em; background: var(--lime); animation: blink 800ms steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.phones { display: flex; justify-content: center; align-items: flex-start; padding: var(--space-2) 0 var(--space-3); }
.phones .shot { width: min(46%, 14rem); flex: none; transition: transform 900ms var(--ease-snap), filter 900ms var(--ease-out); }
.phones .shot:first-child { transform: rotate(-4deg) translateX(8%); z-index: 1; }
.phones .shot:nth-child(2) { transform: rotate(4deg) translate(-8%, 2rem); z-index: 2; }
.phones .shot__caption { display: none; }
.js .piece--milkglass .phones .shot:nth-child(2) { filter: blur(14px) saturate(0.4); }
.js .piece--milkglass .phones.is-open .shot:nth-child(2) { filter: none; transform: rotate(-1deg) translate(-12%, 0.5rem) scale(1.04); }
.js .piece--milkglass .phones.is-open .shot:first-child { transform: rotate(-9deg) translateX(14%) scale(0.94); }
.js .piece--foodandfit .phones.is-done .shot:nth-child(2) { transform: rotate(-1deg) translate(-12%, 0.5rem) scale(1.04); }
.js .piece--foodandfit .phones.is-done .shot:first-child { transform: rotate(-9deg) translateX(14%) scale(0.94); }
.desk .shot__caption { display: none; }
.desk { perspective: 1400px; }
.desk .shot { transform: rotateX(5deg) rotateY(-7deg); transform-origin: 50% 0; transition: transform 900ms var(--ease-out); }
.desk:hover .shot { transform: none; }
@media (max-width: 47.99rem) { .phones .shot { width: min(44%, 12rem); } .js .piece--milkglass .phones .shot:nth-child(2) { filter: blur(7px) saturate(0.4); } }

/* ---------- The typographic service index ---------- */
.roster { list-style: none; border-top: 1px solid var(--rule); }
.roster__row { border-bottom: 1px solid var(--rule); }
.roster__link { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0.35rem var(--space-3); padding: clamp(1rem, 0.6rem + 1.4vw, 1.75rem) 0; color: var(--ink); text-decoration: none; isolation: isolate; }
.roster__link::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--lime); transform: scaleX(0); transform-origin: 0 50%; transition: transform 600ms var(--ease-out); }
.roster__name { font-size: clamp(1.9rem, 1rem + 3.4vw, 4.25rem); font-weight: 800; line-height: 0.98; letter-spacing: -0.04em; transition: color 400ms var(--ease-out), transform 600ms var(--ease-out); }
.roster__line { grid-column: 1; font-size: var(--t-small); color: var(--ink-2); max-width: 34em; transition: color 400ms; }
.roster__arrow { grid-column: 2; grid-row: 1 / span 2; width: clamp(1.5rem, 1rem + 1.5vw, 2.5rem); height: auto; transform: translateX(-0.5rem) rotate(-45deg); opacity: 0.35; transition: transform 600ms var(--ease-snap), opacity 300ms; }
.js .roster__row:not(.is-struck) .roster__name { color: var(--ghost); }
.js .roster__row:not(.is-struck) .roster__line { color: var(--ink-3); }
.roster__link:hover .roster__name, .roster__link:focus-visible .roster__name { color: var(--ink) !important; transform: translateX(0.4rem); }
.roster__link:hover::before, .roster__link:focus-visible::before, .roster__row.is-struck .roster__link::before { transform: scaleX(1); }
.roster__link:hover .roster__arrow, .roster__link:focus-visible .roster__arrow, .roster__row.is-struck .roster__arrow { transform: none; opacity: 1; }
.roster__link:focus-visible { outline-offset: 0; }
@media (min-width: 64rem) { .roster__link { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr) auto; } .roster__line { grid-column: 2; } .roster__arrow { grid-column: 3; grid-row: 1; } }
.roster--dark, [data-theme="dark"] .roster { border-color: var(--screen-rule); }
[data-theme="dark"] .roster__row { border-color: var(--screen-rule); }
[data-theme="dark"] .roster__link { color: var(--on-screen); }
[data-theme="dark"] .roster__line { color: var(--on-screen-2); }
.js [data-theme="dark"] .roster__row:not(.is-struck) .roster__name { color: var(--ghost-dark); }
.js [data-theme="dark"] .roster__row:not(.is-struck) .roster__line { color: var(--on-screen-3); }
[data-theme="dark"] .roster__link:hover .roster__name, [data-theme="dark"] .roster__link:focus-visible .roster__name { color: var(--on-screen) !important; }
.services__more { margin-top: var(--space-4); max-width: 48em; }

/* ---------- How we work: four terms whose rules draw in ---------- */
.founders { list-style: none; display: grid; gap: var(--space-4); margin-top: var(--space-5); max-width: 68rem; }
@media (min-width: 48rem) { .founders { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.founders .founder { gap: var(--space-3); font-size: var(--t-lead); line-height: 1.4; }
.founders .founder .avatar { width: 5.5rem; height: 5.5rem; }
.founders .founder .person__text { font-size: var(--t-row); letter-spacing: -0.02em; color: var(--on-screen); }
.founders .founder .person__text .meta { font-size: var(--t-meta); letter-spacing: 0; color: var(--on-screen-2); }
.term { position: relative; display: grid; gap: var(--space-2); align-content: start; padding-top: var(--space-3); color: var(--on-screen-2); font-size: var(--t-small); }
.term::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--lime); transform-origin: 0 50%; }
.js [data-draw]:not(.is-drawn) .term::before { transform: scaleX(0); }
.js [data-draw] .term::before { transition: transform 1100ms var(--ease-out); }
.js [data-draw] .term:nth-child(2)::before { transition-delay: 120ms; }
.js [data-draw] .term:nth-child(3)::before { transition-delay: 240ms; }
.js [data-draw] .term:nth-child(4)::before { transition-delay: 360ms; }
.term__title { font-size: var(--t-row); font-weight: 800; letter-spacing: -0.025em; color: var(--on-screen); }

/* ---------- Letter ---------- */
.person { display: flex; align-items: center; gap: var(--space-2); }
.avatar { width: 4.5rem; height: 4.5rem; border-radius: 50%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.person__text { display: grid; gap: 0.1rem; font-weight: 700; }
.person__text .meta { font-weight: 400; }

/* ---------- Entries (articles) ---------- */
.entries, .rows { list-style: none; margin-top: var(--space-4); border-top: 1px solid var(--rule); }
.entry { display: grid; gap: 0.4rem; padding-block: var(--space-3); border-bottom: 1px solid var(--rule); }
.entry__date { font-size: var(--t-meta); color: var(--ink-3); }
.entry__title { font-size: var(--t-row); font-weight: 800; letter-spacing: -0.025em; max-width: 26em; }
.entry__title a { text-decoration: none; }
.entry__title a:hover { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; }
.entry__summary { color: var(--ink-2); max-width: var(--measure); }
.thoughts-teaser .lead { margin-top: var(--space-2); }
.thoughts-teaser .actions { margin-top: var(--space-3); }

/* Ruled rows: a title and its text. */
.row { display: grid; gap: var(--space-1) var(--space-4); padding-block: var(--space-3); border-bottom: 1px solid var(--rule); }
@media (min-width: 48rem) { .row { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.row__title { font-size: var(--t-row); font-weight: 800; letter-spacing: -0.025em; }
.row__body { color: var(--ink-2); max-width: var(--measure); }
[data-theme="dark"] .rows, [data-theme="dark"] .row { border-color: var(--screen-rule); }
[data-theme="dark"] .row__body { color: var(--on-screen-2); }

/* ---------- Contact (the lime scene) ---------- */
.contact__title { max-width: 14em; }
.contact__grid { display: grid; gap: var(--space-4); margin-top: var(--space-4); }
@media (min-width: 64rem) { .contact__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }
.contact__grid > div { display: grid; gap: var(--space-2); align-content: start; }
.cta-address { font-weight: 600; }
.copy-btn { margin-left: 0.4rem; min-height: 2.25rem; padding: 0.2rem 0.9rem; border: 0; border-radius: var(--pill); background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; font-size: var(--t-meta); font-weight: 700; cursor: pointer; }
.copy-btn[data-done] { background: var(--ink); color: var(--lime); box-shadow: none; }

/* ---------- Footer ---------- */
.colophon { background: var(--screen); color: var(--on-screen-2); padding-top: var(--space-5); font-size: var(--t-meta); overflow: hidden; }
.colophon a { color: var(--on-screen); text-decoration: none; }
.colophon a:hover { color: var(--lime); }
.colophon__grid { display: grid; gap: var(--space-4) var(--space-5); }
@media (min-width: 48rem) { .colophon__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); align-items: start; } }
.colophon__lead { display: grid; gap: var(--space-2); }
.colophon__lead p + p { margin-top: 0; }
.colophon__cta { font-size: clamp(1.4rem, 1rem + 1.5vw, 2.1rem); font-weight: 800; letter-spacing: -0.03em; overflow-wrap: anywhere; }
.colophon__cta a { color: var(--lime); }
.colophon__legal { color: var(--on-screen-3); max-width: 34em; }
.colophon__nav { list-style: none; display: grid; gap: 0.1rem; font-weight: 600; }
.colophon__nav a { display: inline-block; padding-block: 0.3rem; }
.colophon__nav a[aria-current] { color: var(--lime); }
.colophon__giant { display: flex; justify-content: center; margin: var(--space-5) 0 -0.17em; font-size: clamp(8rem, 32vw, 30rem); font-weight: 900; line-height: 0.8; letter-spacing: -0.07em; color: var(--on-screen); user-select: none; }
.colophon__plus { display: inline-block; color: var(--lime); transform: rotate(var(--spin, 0deg)); }

/* ---------- A service page ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: var(--space-3); font-size: var(--t-meta); font-weight: 600; color: var(--ink-3); }
[data-theme="dark"] .crumbs { color: var(--on-screen-3); }
.crumbs a { color: inherit; }
.crumbs [aria-current] { color: var(--ink); }
[data-theme="dark"] .crumbs [aria-current] { color: var(--on-screen); }
.title-card--room, .title-card--product { min-height: 0; display: block; padding-top: calc(var(--section) * 0.6 + 5rem); }
.room__title { max-width: 14em; }
.room__intro { display: grid; gap: var(--space-3); margin-top: var(--space-4); }
@media (min-width: 64rem) { .room__intro { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; } .room__intro .actions { justify-content: flex-end; } }
.meta-row { display: grid; gap: var(--space-2) var(--space-3); margin-top: var(--space-5); padding-top: var(--space-2); border-top: 2px solid var(--ink); font-size: var(--t-meta); }
@media (min-width: 40rem) { .meta-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 72rem) { .meta-row { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); max-width: 48rem; } }
.meta-row dt { font-size: var(--t-tag); font-weight: 700; color: var(--ink-3); margin-bottom: 0.2rem; }
.meta-row dd { color: var(--ink-2); }
.scene-room__intro { margin-bottom: var(--space-4); }

/* Today, crossed out; with AL+, after it. */
.shifts { list-style: none; margin-top: var(--space-5); border-top: 1px solid var(--rule); }
.shift { display: grid; gap: var(--space-2) var(--space-5); padding-block: var(--space-4); border-bottom: 1px solid var(--rule); }
@media (min-width: 56rem) { .shift { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.shift__tag { display: block; margin-bottom: 0.5rem; font-size: var(--t-tag); font-weight: 800; color: var(--ink-3); }
.shift__before { font-size: var(--t-row); font-weight: 700; line-height: 1.25; letter-spacing: -0.02em; color: var(--ink-2); }
.shift__text { background: linear-gradient(var(--lime), var(--lime)) no-repeat 0 58% / var(--strike, 100%) 0.18em; transition: background-size 900ms var(--ease-out); }
.js [data-strike] .shift:not(.is-struck) .shift__text { --strike: 0%; }
.shift__after { font-size: var(--t-small); color: var(--ink); max-width: 34em; }
.shift__after .shift__tag { color: var(--ink); }
.shift__after .shift__tag::before { content: ""; display: inline-block; width: 0.5rem; height: 0.5rem; margin-right: 0.4rem; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 1.5px var(--ink); }

.note { display: grid; gap: var(--space-2); justify-items: start; margin-top: var(--space-4); padding: var(--space-3); border-radius: var(--radius-lg); background: #f2f2f2; max-width: 48rem; }
.note p:last-child { color: var(--ink-2); }

/* Process: steps on a rail that fills as the page passes. */
.steps { list-style: none; position: relative; display: grid; gap: var(--space-4); margin-top: var(--space-5); counter-reset: step; }
.steps::before, .steps::after { content: ""; position: absolute; left: 0.95rem; top: 0.5rem; bottom: 0.5rem; width: 2px; background: var(--screen-rule); }
.steps::after { background: var(--lime); transform-origin: 50% 0; transform: scaleY(var(--rail, 1)); }
.step { position: relative; display: grid; gap: var(--space-1); padding-left: 3.5rem; counter-increment: step; color: var(--on-screen-2); max-width: 46rem; }
.step::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--screen); box-shadow: inset 0 0 0 2px var(--on-screen-3); color: var(--on-screen); font-size: var(--t-meta); font-weight: 800; font-variant-numeric: tabular-nums; z-index: 1; transition: background-color 400ms, color 400ms, box-shadow 400ms; }
.step.is-reached::before, html:not(.js) .step::before { background: var(--lime); color: var(--lime-ink); box-shadow: none; }
.step__title { font-size: var(--t-row); font-weight: 800; letter-spacing: -0.025em; color: var(--on-screen); }

/* Proof: the products behind the claim, with a real screen. */
.proof__grid { display: grid; gap: var(--space-4); }
@media (min-width: 64rem) { .proof__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } }
.proof__grid .copy { margin-top: var(--space-3); }
.proof__list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.plate { display: grid; gap: 0.3rem; color: var(--ink); text-decoration: none; }
.plate__shot { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 5; padding: 8%; border-radius: var(--radius-lg); background: var(--screen); overflow: hidden; margin-bottom: 0.5rem; transition: transform 600ms var(--ease-out); }
.plate__shot .shot { width: 100%; }
.plate--app .plate__shot .shot { width: 62%; }
.plate__shot .shot__caption { display: none; }
.plate__shot .shot__window { box-shadow: 0 0 0 1px rgb(255 255 255 / 0.12), var(--shadow-dark); }
.plate__name { font-size: var(--t-row); font-weight: 800; letter-spacing: -0.025em; }
.plate__kind { font-size: var(--t-meta); color: var(--ink-2); }
.plate:hover .plate__shot { transform: translateY(-4px); }
.plate:hover .plate__name { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; text-underline-offset: 0.15em; }

.fit { display: grid; gap: var(--space-3); margin-top: var(--space-4); }
@media (min-width: 56rem) { .fit { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fit__col { display: grid; gap: var(--space-2); align-content: start; padding: var(--space-3); border-radius: var(--radius-lg); background: var(--screen); color: var(--on-screen-2); }
.fit__col--else { background: #f2f2f2; color: var(--ink-2); }
.fit__title { font-size: var(--t-row); font-weight: 800; letter-spacing: -0.025em; color: var(--on-screen); }
.fit__col--else .fit__title { color: var(--ink); }
.fit__col:first-child .fit__title::before { content: ""; display: inline-block; width: 0.7rem; height: 0.7rem; margin-right: 0.6rem; border-radius: 50%; background: var(--lime); vertical-align: 0.1em; }
.fit + .copy { margin-top: var(--space-3); }

.faq { margin-top: var(--space-4); border-top: 1px solid var(--rule); max-width: 60rem; }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding-block: var(--space-3); cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; flex: none; width: 1.1rem; height: 1.1rem; background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat; transition: transform 400ms var(--ease-snap); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover .faq__q { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; text-underline-offset: 0.15em; }
.faq__q { font-size: var(--t-row); font-weight: 800; letter-spacing: -0.025em; }
.faq__a { padding-bottom: var(--space-3); color: var(--ink-2); max-width: var(--measure); }

.others .roster { margin-top: var(--space-3); }

/* ---------- Product pages ---------- */
.product-hero { display: grid; gap: var(--space-5); align-items: center; }
@media (min-width: 64rem) { .product-hero { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); } }
.product-hero__text { display: grid; gap: var(--space-3); }
.product-hero__name { font-size: clamp(3rem, 1rem + 8vw, 6rem); }
.product-hero__shot .shot__caption { display: none; }
.product-hero__shot .shot--handheld { max-width: 18rem; margin-inline: auto; }
.screens .meta { margin-top: var(--space-2); }

/* ---------- Articles ---------- */
.article-head { max-width: 58rem; }
.article-head .lead { margin-top: var(--space-3); max-width: 32em; }
.article-head .meta { margin-top: var(--space-3); }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem; }
.byline__author { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; }
.byline .avatar { width: 1.75rem; height: 1.75rem; }
.prose { max-width: var(--article); font-size: 1.1875rem; line-height: 1.65; }
.prose--article { margin-top: var(--space-5); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem); font-weight: 800; letter-spacing: -0.03em; margin-top: 2.2em; max-width: 20em; }
.prose h3 { font-size: 1.375rem; margin-top: 1.8em; }
.prose h2 + *, .prose h3 + * { margin-top: 0.7em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { padding-left: 0.2em; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--ink); font-weight: 700; }
.prose strong { font-weight: 700; }
.prose code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.88em; background: #f0f0f0; padding: 0.05em 0.3em; border-radius: 4px; }
.prose blockquote { margin: 1.6em 0; padding: 0 0 0 0.75em; border-left: 0; font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.6rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.035em; max-width: 18em; text-wrap: balance; box-shadow: inset 4px 0 0 var(--lime); }
.prose blockquote p { margin: 0; }
.prose hr { border: 0; border-top: 2px solid var(--ink); margin: 2.5em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--t-small); line-height: 1.4; margin: 1.6em 0; font-variant-numeric: tabular-nums; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 0.7em 0.9em 0.7em 0; border-top: 1px solid var(--rule); }
.prose th { font-weight: 700; border-top: 2px solid var(--ink); }
.prose tr:last-child td { border-bottom: 1px solid var(--rule); }
@media (max-width: 47.99rem) { .prose table { display: block; overflow-x: auto; } .prose th, .prose td { min-width: 9rem; } }
.article-foot { margin-top: var(--section); }

/* ---------- The service scene ---------- */
.exhibit { position: relative; margin: 0; display: grid; gap: var(--space-3); color: var(--on-screen); counter-reset: scene; }
.exhibit__label { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.9rem; }
.exhibit__title { font-size: var(--t-heading); font-weight: 800; letter-spacing: -0.032em; line-height: 1.02; flex-basis: 100%; order: -1; max-width: 20em; }
.exhibit__note { font-size: var(--t-meta); color: var(--on-screen-3); }
.exhibit__body { display: grid; gap: var(--space-4); }
.exhibit__stage { position: relative; display: grid; gap: var(--space-2); align-content: start; padding: clamp(1rem, 0.4rem + 2vw, 2rem); border-radius: var(--radius-lg); background: var(--screen-2); box-shadow: inset 0 0 0 1px var(--screen-rule); }
.exhibit__set { min-width: 0; transform-origin: 50% 0; }
.exhibit__caption { flex: none; display: grid; gap: 0.1rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--screen-rule); font-size: var(--t-meta); color: var(--on-screen-2); line-height: 1.35; }
.exhibit__caption b { color: var(--on-screen); font-size: var(--t-small); }
@media (min-width: 64rem) { .exhibit__caption { display: none !important; } }
.exhibit__steps { list-style: none; display: grid; gap: var(--space-2); }
.exhibit__step { position: relative; display: grid; gap: 0.25rem; padding-left: 3rem; counter-increment: scene; color: var(--on-screen-2); font-size: var(--t-small); }
.exhibit__n::before { content: counter(scene, decimal-leading-zero); position: absolute; left: 0; top: 0.1rem; font-size: var(--t-meta); font-weight: 800; color: var(--on-screen-3); font-variant-numeric: tabular-nums; }
.exhibit__step b { display: block; font-size: var(--t-row); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; color: var(--on-screen); }
.exhibit__controls { display: flex; align-items: center; gap: 0.6rem; padding-top: var(--space-1); border-top: 1px solid var(--screen-rule); }
.ctl { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%; background: var(--screen-3); color: var(--on-screen); cursor: pointer; transition: background-color 200ms, color 200ms, transform 300ms var(--ease-snap); }
.ctl:hover { background: var(--lime); color: var(--lime-ink); }
.ctl:active { transform: scale(0.92); }
.ctl:disabled { opacity: 0.35; cursor: default; background: var(--screen-3); color: var(--on-screen); }
.exhibit__count { font-size: var(--t-meta); font-weight: 800; font-variant-numeric: tabular-nums; min-width: 2.6rem; text-align: center; }
.exhibit__bar { flex: 1; height: 3px; border-radius: 3px; background: var(--screen-3); overflow: hidden; }
.exhibit__bar span { display: block; height: 100%; background: var(--lime); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); transition: transform 500ms var(--ease-out); }

/* With the script: the stage stays in view while the script scrolls past it. */
.exhibit.is-live .exhibit__step { min-height: 62svh; align-content: start; color: var(--ghost-dark); transition: color 400ms var(--ease-out); }
.exhibit.is-live .exhibit__step b { color: var(--ghost-dark); transition: color 400ms var(--ease-out); }
.exhibit.is-live .exhibit__step:last-child { min-height: 0; padding-bottom: 48svh; }
.exhibit.is-live .exhibit__step.is-now, .exhibit.is-live .exhibit__step.is-now b { color: var(--on-screen); }
.exhibit.is-live .exhibit__step.is-done b { color: var(--on-screen-3); }
.exhibit.is-live .exhibit__step.is-now .exhibit__n::before { color: var(--lime); }
.exhibit.is-live .exhibit__stage { position: sticky; top: 5.25rem; max-height: calc(100svh - 6.5rem); overflow: hidden; display: flex; flex-direction: column; }
.exhibit.is-live .exhibit__set { flex: 0 1 auto; min-height: 0; transition: transform 500ms var(--ease-out); }
.exhibit.is-live .exhibit__controls { flex: none; }
@media (min-width: 64rem) {
  .exhibit__body { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: start; }
  .exhibit__stage { grid-column: 2; grid-row: 1; }
  .exhibit__steps { grid-column: 1; grid-row: 1; }
  .exhibit.is-live .exhibit__steps { padding-top: 20svh; }
}
@media (max-width: 63.99rem) {
  .exhibit.is-live .exhibit__body { gap: 0; }
  .exhibit.is-live .exhibit__stage { z-index: 2; top: 4.6rem; height: min(66svh, 38rem); max-height: none; padding: 0.85rem; box-shadow: inset 0 0 0 1px var(--screen-rule), 0 24px 30px -10px var(--screen); }
  .exhibit.is-live .exhibit__steps { position: relative; z-index: 1; padding-top: 2rem; }
  .exhibit.is-live .exhibit__step { min-height: 48svh; padding-top: 0.5rem; }
  .exhibit.is-live .exhibit__step:last-child { padding-bottom: 12svh; }
  .exhibit.is-live .exhibit__set { flex: 1 1 0; }
  .exhibit.is-live .exhibit__controls { margin-top: auto; }
}
@media (max-height: 34rem) {
  .exhibit.is-live .exhibit__stage { position: relative; top: 0; height: auto; max-height: none; }
  .exhibit.is-live .exhibit__step { min-height: 0; padding-bottom: var(--space-2); }
}

/* Stage objects: everything shows without the script; with it, only at its steps. */
.exhibit.is-live [data-on]:not(.on) { display: none; }
.exhibit.is-live .exhibit__stage [data-branch]:not([data-on]):not(.on) { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .exhibit.is-live [data-on].on:not(.keep) { animation: cut-in 560ms var(--ease-snap) both; animation-delay: calc(var(--i, 0) * 70ms); }
}
@keyframes cut-in { from { opacity: 0; transform: translateY(0.75rem) scale(0.985); clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }

.tag { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.02em; line-height: 1.2; color: var(--on-screen-3); }
.tag::before { content: ""; width: 1rem; height: 1px; background: currentColor; }
.pin { display: inline-block; padding: 0.12rem 0.45rem; border-radius: 4px; background: var(--lime); color: var(--lime-ink); font-size: 0.75rem; font-weight: 700; line-height: 1.3; }
.stamp { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.75rem; border-radius: 0.75rem; background: var(--paper); color: var(--ink); font-size: var(--t-meta); font-weight: 700; line-height: 1.25; }
.stamp::before { content: ""; flex: none; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 1.5px var(--ink); }
.pill { min-height: 2.75rem; padding: 0.4rem 1.1rem; border: 0; border-radius: var(--pill); background: transparent; color: var(--on-screen); box-shadow: inset 0 0 0 1.5px var(--on-screen-3); font-size: var(--t-meta); font-weight: 700; line-height: 1.2; cursor: pointer; transition: background-color 200ms, color 200ms, box-shadow 200ms, transform 400ms var(--ease-snap); }
.pill:hover { box-shadow: inset 0 0 0 1.5px var(--on-screen); }
.pill:active { transform: scale(0.96); }
.pill--ok { background: var(--lime); color: var(--lime-ink); box-shadow: none; }
.pill--ok:hover { background: var(--paper); box-shadow: none; }
.pill[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: none; }

/* The isolated object: what the step is about stays bright, the rest dims. */
.exhibit.is-live .ag__col:not(.lit), .exhibit.is-live .flow__node:not(.lit), .exhibit.is-live .inv__tile:not(.lit) { opacity: var(--dim, 1); transition: opacity 500ms, box-shadow 400ms; }
@media (min-width: 64rem) { .exhibit.is-live[data-focus] { --dim: 0.45; } }
@media (max-width: 63.99rem) { .exhibit.is-live .flow__node { min-height: 0; } .exhibit.is-live .flow__switch .pill { min-height: 2.5rem; padding-inline: 0.85rem; } .exhibit.is-live[data-focus] .flow__node:not(.lit) { display: none; } .exhibit.is-live[data-focus] .flow { grid-template-columns: minmax(0, 1fr); } }

/* AI agent */
.ag { display: grid; gap: var(--space-2); }
@media (min-width: 72rem) { .ag { grid-template-columns: minmax(0, 1fr) 1.5rem minmax(0, 1.3fr) 1.5rem minmax(0, 1fr); align-items: stretch; } }
.ag__col { display: grid; align-content: start; gap: 0.7rem; padding: 0.9rem; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--screen-rule); min-width: 0; }
.ag__col.lit { box-shadow: inset 0 0 0 2px var(--lime); }
.ag__mail, .ag__draft li, .ag__review { border-radius: var(--radius); background: var(--paper); color: var(--ink); }
.ag__mail { padding: 0.8rem; font-size: var(--t-meta); }
.ag__from { font-weight: 700; }
.ag__subject { margin-top: 0.15rem !important; font-weight: 800; }
.ag__body { margin-top: 0.4rem !important; color: var(--ink-2); }
.ag__fields { display: grid; gap: 0.3rem; }
.ag__field { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 0.5rem; padding: 0.4rem 0.6rem; border-radius: 6px; background: var(--screen-3); font-size: 0.875rem; }
.ag__field dt { color: var(--on-screen-3); }
.ag__field dd { font-weight: 700; }
.ag__field--missing { background: var(--lime); color: var(--lime-ink); }
.ag__field--missing dt { color: var(--lime-ink); }
.ag__draft { list-style: none; display: grid; gap: 0.35rem; }
.ag__draft li { display: grid; gap: 0.35rem; justify-items: start; padding: 0.55rem 0.65rem; font-size: 0.875rem; }
.ag__review { display: grid; gap: 0.55rem; padding: 0.8rem; font-size: var(--t-meta); }
.ag__who { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; }
.ag__avatar { display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--ink); color: var(--lime); font-size: 0.8125rem; font-weight: 800; }
.ag__note { color: var(--ink-2); }
.ag__revised { font-weight: 700; background: linear-gradient(var(--lime), var(--lime)) no-repeat 0 88% / 100% 0.42em; }
.ag__actions { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.ag__actions .pill:not(.pill--ok) { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.ag__actions .pill:not(.pill--ok):hover { background: var(--ink); color: var(--paper); }
.ag__actions .pill--ok { box-shadow: inset 0 0 0 1.5px var(--ink); }
.ag__actions .pill--ok:hover { background: var(--ink); color: var(--paper); }
.ag__actions .pill:focus-visible { outline-color: var(--ink); }
.ag__auto { font-size: 0.8125rem; color: var(--ink-3); }
.ag__sent { justify-self: start; }
.ag__wire { justify-self: center; width: 2px; height: 1rem; background: var(--screen-rule); }
@media (min-width: 72rem) { .ag__wire { align-self: center; width: 100%; height: 2px; } }
.ag__wire.lit { background: var(--lime); }
@media (max-width: 71.99rem) {
  .exhibit.is-live .ag__col:not(.lit) { display: none; }
  .exhibit.is-live .ag__wire { display: none; }
}

/* Automation */
.flow__switch { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: var(--space-2); }
.flow { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
@media (min-width: 72rem) { .flow { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: 1.5rem; } }
.flow__track, .flow__packet { display: none; }
@media (min-width: 72rem) {
  .flow__track { display: block; position: absolute; left: 12.5%; right: 12.5%; top: calc(0.75rem - 1px); height: 2px; background: var(--screen-rule); }
  .flow__track span { display: block; height: 100%; background: var(--lime); transform-origin: 0 50%; transform: scaleX(var(--fx, 0)); transition: transform 900ms var(--ease-out); }
  .flow__packet { display: block; position: absolute; z-index: 2; top: 0.75rem; left: var(--px, 12.5%); width: 1rem; height: 1rem; margin: -0.5rem 0 0 -0.5rem; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px var(--screen-2), 0 0 0 4.5px var(--lime); transition: left 900ms var(--ease-snap), top 700ms var(--ease-snap); }
  .exhibit--flow[data-step="1"] { --px: 12.5%; --fx: 0; }
  .exhibit--flow[data-step="2"], .exhibit--flow[data-step="e1"], .exhibit--flow[data-step="e2"], .exhibit--flow[data-step="e3"] { --px: 37.5%; --fx: 0.33; }
  .exhibit--flow[data-step="e2"] .flow__packet { top: calc(100% - 1rem); }
  .exhibit--flow[data-step="3"] { --px: 62.5%; --fx: 0.66; }
  .exhibit--flow[data-step="4"], .exhibit--flow[data-step="5"] { --px: 87.5%; --fx: 1; }
}
.flow__node, .flow__person { display: grid; align-content: start; gap: 0.5rem; padding: 0.8rem 0.75rem; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--screen-rule); min-height: 7.5rem; min-width: 0; }
.flow__node.lit, .flow__person.lit { box-shadow: inset 0 0 0 2px var(--lime); }
.flow__person { grid-column: 1 / -1; min-height: 0; background: var(--screen-3); }
@media (min-width: 72rem) { .flow__person { grid-column: 2 / span 2; } }
.flow__card { padding: 0.5rem 0.6rem; border-radius: 6px; background: var(--paper); color: var(--ink); font-size: 0.875rem; font-weight: 700; line-height: 1.3; }
.flow__checks { list-style: none; display: grid; gap: 0.3rem; font-size: 0.8125rem; }
.flow__checks li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.2rem 0.5rem; padding: 0.3rem 0.45rem; border-radius: 6px; background: var(--screen-3); }
.flow__checks span { color: var(--on-screen-3); }
.flow__checks .ok { font-weight: 700; }
.flow__checks .no { padding: 0 0.4rem; border-radius: 4px; background: var(--lime); color: var(--lime-ink); }
.flow__ask { font-size: var(--t-meta); font-weight: 600; }
.flow__fixed { justify-self: start; font-size: var(--t-meta); }
.flow__fixed::before { content: ""; display: inline-block; width: 0.55rem; height: 0.55rem; margin-right: 0.45rem; border-radius: 50%; background: var(--lime); }
.flow__done-note { margin-top: var(--space-2); }

/* Custom software, four weeks */
.build__weeks { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-bottom: var(--space-2); }
.build__week { min-height: 2.5rem; padding: 0.3rem 0.9rem; border: 0; border-radius: var(--pill); background: var(--screen-3); color: var(--on-screen-2); font-size: var(--t-meta); font-weight: 700; cursor: pointer; transition: background-color 250ms, color 250ms; }
.build__week:hover { color: var(--on-screen); background: #333; }
.build__week.lit { background: var(--lime); color: var(--lime-ink); }
.build__window { position: relative; min-height: 19rem; border-radius: var(--radius); background: var(--paper); color: var(--ink); overflow: hidden; }
.build__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.75rem; padding: 0.5rem 0.85rem; border-bottom: 1px solid var(--rule); font-size: 0.8125rem; font-weight: 700; color: var(--ink-3); }
.build__dots { width: 2.25rem; height: 0.6rem; background: radial-gradient(circle, #cfcfcf 0.3rem, transparent 0.32rem) 0 0 / 0.75rem 0.6rem repeat-x; }
.build__viewer { margin-left: auto; color: var(--ink-2); }
.build__viewer b { color: var(--ink); }
.build__sheet { width: 100%; border-collapse: collapse; font-size: 0.8125rem; }
.build__sheet td { height: 2.3rem; padding: 0 0.5rem; border: 1px solid var(--rule); color: var(--ink-2); }
.build__sheet td.is-blank { background: repeating-linear-gradient(135deg, #f2f2f2 0 6px, #ffffff 6px 12px); }
.build__sheet tr.is-dup td { background: linear-gradient(var(--lime), var(--lime)) no-repeat 0 85% / 100% 0.35em; }
.build__list { list-style: none; padding: 0.5rem; display: grid; gap: 0.3rem; }
.build__row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 0.6rem; align-items: center; padding: 0.55rem 0.7rem; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--rule); font-size: 0.8125rem; }
@media (max-width: 30rem) { .build__row { grid-template-columns: minmax(0, 1fr) auto; } .build__what { grid-column: 1; grid-row: 2; color: var(--ink-3); } }
.build__who { font-weight: 700; }
.exhibit--build.is-live[data-step="4"] .build__row.is-other { display: none; }
.build__form { position: absolute; right: 0.75rem; bottom: 0.75rem; width: min(21rem, calc(100% - 1.5rem)); display: grid; gap: 0.4rem; padding: 0.8rem; border-radius: var(--radius); background: var(--paper); box-shadow: 0 0 0 1px var(--rule), var(--shadow); font-size: 0.8125rem; }
.exhibit:not(.is-live) .build__form, .exhibit:not(.is-live) .build__report { position: static; width: auto; margin: 0.5rem; }
.build__form-title { font-weight: 800; }
.build__field { display: grid; grid-template-columns: 5rem minmax(0, 1fr); align-items: center; gap: 0.5rem; margin: 0 !important; }
.build__field > span:first-child { color: var(--ink-3); }
.build__input { min-height: 2rem; padding: 0.3rem 0.5rem; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--rule); }
.build__field.is-error .build__input { box-shadow: inset 0 0 0 2px var(--ink); background: repeating-linear-gradient(135deg, rgb(192 223 22 / 0.35) 0 6px, transparent 6px 12px); }
.build__error { margin: 0 !important; font-weight: 700; }
.build__error.lit::before { content: ""; display: inline-block; width: 0.55rem; height: 0.55rem; margin-right: 0.4rem; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 1.5px var(--ink); }
.build__save { margin: 0 !important; }
.build__report { position: absolute; inset: auto 0.75rem 0.75rem; display: grid; gap: 0.6rem; padding: 0.8rem; border-radius: var(--radius); background: var(--paper); box-shadow: 0 0 0 1px var(--rule), var(--shadow); }
.build__report-title { font-weight: 800; font-size: 0.875rem; }
.build__bars { list-style: none; display: flex; align-items: flex-end; gap: 0.5rem; height: 5.5rem; padding-top: 1.2rem; }
.build__bars li { position: relative; flex: 1; border-radius: 4px 4px 0 0; background: var(--ink); transform-origin: 50% 100%; }
.build__bars li:nth-child(1) { height: 64%; }
.build__bars li:nth-child(2) { height: 86%; }
.build__bars li:nth-child(3) { height: 50%; }
.build__bars li:nth-child(4) { height: 100%; background: var(--lime); box-shadow: inset 0 0 0 1.5px var(--ink); }
.build__bars span { position: absolute; top: -1.2rem; left: 0; right: 0; text-align: center; font-size: 0.75rem; font-weight: 700; }
@media (prefers-reduced-motion: no-preference) { .exhibit.is-live .build__report.on .build__bars li { animation: grow 900ms var(--ease-snap) both; } .exhibit.is-live .build__report.on .build__bars li:nth-child(2) { animation-delay: 110ms; } .exhibit.is-live .build__report.on .build__bars li:nth-child(3) { animation-delay: 220ms; } .exhibit.is-live .build__report.on .build__bars li:nth-child(4) { animation-delay: 330ms; } }
@keyframes grow { from { transform: scaleY(0); } }
.build__report .stamp { justify-self: start; background: var(--ink); color: var(--paper); }

/* iPhone app */
.app { display: grid; gap: var(--space-4); align-items: center; justify-items: center; }
@media (min-width: 48rem) { .app { grid-template-columns: auto minmax(0, 1fr); justify-items: start; } }
.app__phone { width: 15rem; padding: 0.45rem; border-radius: 2.2rem; background: #2a2a2a; box-shadow: 0 0 0 1px #444, var(--shadow-dark); }
.app__screen { position: relative; height: 27rem; border-radius: 1.8rem; background: var(--paper); color: var(--ink); overflow: hidden; }
.app__wire { display: grid; gap: 0.5rem; padding: 2.5rem 1rem 1rem; }
.app__box { display: grid; place-items: center; min-height: 2.5rem; border-radius: 8px; border: 1.5px dashed #b5b5b5; font-size: 0.75rem; font-weight: 700; color: var(--ink-3); }
.app__box--title { justify-items: start; padding-inline: 0.6rem; min-height: 2rem; }
.app__box--photo { min-height: 8rem; }
.app__box--note { min-height: 5rem; }
.app__box--btn { border-radius: var(--pill); }
.app__ui { display: grid; gap: 0.45rem; padding: 2.25rem 1rem 1rem; font-size: 0.8125rem; }
.app__flight { position: absolute; top: 0; left: 0; right: 0; padding: 0.4rem 0.75rem; background: var(--ink); color: var(--lime); font-size: 0.6875rem; font-weight: 700; text-align: center; }
.app__h { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; }
.app__site { color: var(--ink-2); }
.app__weather { justify-self: start; padding: 0.15rem 0.55rem; border-radius: var(--pill); box-shadow: inset 0 0 0 1.5px var(--rule); font-weight: 700; }
.app__photo { border-radius: 8px; background: #efefef; overflow: hidden; }
.app__photo svg { width: 100%; }
.app__note { color: var(--ink-2); line-height: 1.4; }
.app__send span { display: block; padding: 0.55rem; border-radius: var(--pill); background: var(--ink); color: var(--paper); font-weight: 700; text-align: center; }
.app__offline { position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.75rem; }
.app__offline span { display: block; padding: 0.55rem 0.7rem; border-radius: 10px; background: var(--ink); color: var(--paper); font-weight: 700; font-size: 0.75rem; }
.app__offline span.lit { box-shadow: inset 0 0 0 2px var(--lime); }
.app__sheet { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 0.5rem; justify-items: start; padding: 1rem 1rem 1.4rem; border-radius: 1.2rem 1.2rem 0 0; background: var(--paper); box-shadow: 0 -12px 30px -10px rgb(0 0 0 / 0.35); }
.app__status { display: flex; align-items: center; gap: 0.5rem; font-weight: 800; font-size: 0.9375rem; }
.app__status--ok::before { content: ""; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 1.5px var(--ink); }
.app__clock { position: relative; width: 1rem; height: 1rem; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--ink); }
.app__clock::after { content: ""; position: absolute; left: 50%; top: 50%; width: 2px; height: 0.38rem; margin-left: -1px; background: var(--ink); transform-origin: 50% 0; animation: tick 2s linear infinite; }
@keyframes tick { from { transform: rotate(180deg); } to { transform: rotate(540deg); } }
.app__rail { list-style: none; display: grid; }
.app__stop { position: relative; display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 0; font-size: var(--t-small); font-weight: 700; color: var(--on-screen-3); transition: color 300ms; }
.app__stop + .app__stop::after { content: ""; position: absolute; left: 0.45rem; top: -0.6rem; height: 1.2rem; width: 2px; background: var(--screen-rule); }
.app__dot { flex: none; width: 1rem; height: 1rem; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--screen-rule); transition: background-color 300ms, box-shadow 300ms, transform 500ms var(--ease-snap); }
.app__stop.from { color: var(--on-screen); }
.app__stop.from .app__dot { background: var(--on-screen); box-shadow: none; }
.app__stop.lit .app__dot { background: var(--lime); transform: scale(1.3); }
.exhibit:not(.is-live) .app__stop { color: var(--on-screen); }
@media (max-width: 47.99rem) {
  .exhibit.is-live .app { grid-template-columns: auto minmax(0, 1fr); gap: var(--space-2); align-items: start; }
  .exhibit.is-live .app__phone { width: 11.5rem; }
  .exhibit.is-live .app__screen { height: 21rem; }
  .exhibit.is-live .app__ui { gap: 0.3rem; padding-top: 2rem; font-size: 0.75rem; }
  .exhibit.is-live .app__photo { max-height: 4.5rem; }
  .exhibit.is-live .app__h { font-size: 1rem; }
  .exhibit.is-live .app__stop { font-size: 0.8125rem; padding: 0.35rem 0; gap: 0.5rem; }
}

/* Repair and modernization: errors ranked, then fixed */
.tri { list-style: none; display: grid; gap: 0.35rem; }
.tri__row { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); gap: 0.25rem 0.75rem; align-items: center; padding: 0.6rem 0.8rem; border-radius: var(--radius); background: var(--screen-3); transition: box-shadow 400ms, opacity 400ms; }
@media (min-width: 80rem) { .tri__row { grid-template-columns: 3.4rem minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1.1fr); } }
.tri__row.lit { box-shadow: inset 0 0 0 2px var(--lime); }
.tri__count { grid-row: span 4; font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
@media (min-width: 80rem) { .tri__count { grid-row: auto; } }
.tri__what { font-weight: 700; font-size: 0.875rem; }
.tri__area { justify-self: start; }
.tri__impact { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.875rem; color: var(--on-screen-2); }
.tri__n { display: inline-grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--paper); color: var(--ink); font-size: 0.75rem; font-weight: 800; }
.tri__state { justify-self: start; grid-column: 2; }
@media (min-width: 80rem) { .tri__state { grid-column: auto; } }
.tri__state:empty { display: none; }
.tri__next, .tri__later { font-size: 0.875rem; color: var(--on-screen-3); }
.tri__next { color: var(--lime); }
.tri__row:has(.stamp.on) .tri__count, .exhibit:not(.is-live) .tri__row[data-rank="0"] .tri__count { text-decoration: line-through; text-decoration-color: var(--lime); text-decoration-thickness: 3px; color: var(--on-screen-3); }
.tri__act { display: flex; gap: 0.4rem; margin-top: var(--space-2); }
.tri__report { list-style: none; display: grid; gap: 0.3rem; margin-top: var(--space-2); padding: var(--space-2); border-radius: var(--radius); background: var(--paper); color: var(--ink); font-size: var(--t-meta); font-weight: 700; }
.tri__report li::before { content: ""; display: inline-block; width: 0.5rem; height: 0.5rem; margin-right: 0.5rem; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 1.5px var(--ink); }
@media (max-width: 79.99rem) {
  .exhibit.is-live .tri__row { grid-template-columns: 2.8rem auto minmax(0, 1fr); gap: 0.2rem 0.5rem; padding: 0.45rem 0.6rem; }
  .exhibit.is-live .tri__count { grid-row: span 3; font-size: 1.1rem; }
  .exhibit.is-live .tri__what { grid-column: 2 / -1; }
  .exhibit.is-live .tri__area, .exhibit.is-live .tri__impact { font-size: 0.75rem; }
  .exhibit.is-live .tri__state { grid-column: 2 / -1; }
  .exhibit--triage.is-live[data-step="6"] .tri { display: none; }
}

/* Takeover inventory */
.inv { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.4rem; }
@media (min-width: 48rem) { .inv { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.inv__tile { display: grid; align-content: space-between; gap: 0.6rem; min-height: 5.5rem; padding: 0.7rem; border-radius: var(--radius); background: var(--screen-3); transition: box-shadow 400ms, opacity 400ms; min-width: 0; }
.inv__tile.lit { box-shadow: inset 0 0 0 2px var(--lime); }
.inv__name { font-weight: 800; font-size: 0.875rem; line-height: 1.25; }
.inv__badge { justify-self: start; padding: 0.15rem 0.55rem; border-radius: var(--pill); font-size: 0.75rem; font-weight: 700; line-height: 1.25; }
.inv__badge--unknown { color: var(--on-screen-3); box-shadow: inset 0 0 0 1.5px var(--screen-rule); }
.inv__badge--yours { background: var(--paper); color: var(--ink); }
.inv__badge--yours::before { content: ""; display: inline-block; width: 0.3rem; height: 0.6rem; margin: 0 0.45rem 0.1rem 0.1rem; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); vertical-align: middle; }
.inv__badge--held { color: var(--on-screen); box-shadow: inset 0 0 0 1.5px var(--on-screen-3); }
.inv__badge--missing { color: var(--lime-ink); background: repeating-linear-gradient(135deg, var(--lime) 0 5px, #e7f2a1 5px 10px); }
.inv__act { margin-top: var(--space-2); }
.inv__manual { margin-top: var(--space-2); padding: var(--space-2) var(--space-3); border-radius: var(--radius); background: var(--paper); color: var(--ink); }
.inv__manual-title { font-weight: 800; }
.inv__manual ol { margin-top: 0.5rem; padding-left: 1.3rem; display: grid; gap: 0.2rem; font-size: var(--t-meta); }
@media (max-width: 47.99rem) { .exhibit.is-live .inv__tile { min-height: 0; padding: 0.5rem; gap: 0.35rem; } .exhibit.is-live .inv__name { font-size: 0.8125rem; } .exhibit--inventory.is-live[data-step="5"] .inv { display: none; } }

/* Maintenance month */
.mon { display: grid; gap: var(--space-3); }
@media (min-width: 72rem) { .mon { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; } }
.mon__wd, .mon__days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.25rem; }
.mon__wd { margin-bottom: 0.3rem; font-size: 0.75rem; font-weight: 700; color: var(--on-screen-3); text-align: center; }
.mon__days { list-style: none; }
.mon__day { position: relative; display: grid; align-content: space-between; aspect-ratio: 1; padding: 0.3rem; border-radius: 6px; background: var(--screen-3); font-size: 0.75rem; color: var(--on-screen-3); transition: background-color 300ms, color 300ms; }
.mon__day.past { color: var(--on-screen-2); background: #2c2c2c; }
.mon__day.today { background: var(--paper); color: var(--ink); }
.mon__num { font-weight: 700; font-variant-numeric: tabular-nums; }
.mon__mark { justify-self: end; width: 0.65rem; height: 0.65rem; }
.mon__mark--fix { position: absolute; right: 1.1rem; bottom: 0.3rem; }
.mon__day--update .mon__mark, .mon__key--update i { border-radius: 50%; background: var(--on-screen); }
.mon__day--backup .mon__mark, .mon__key--backup i { border-radius: 50%; box-shadow: inset 0 0 0 2px var(--on-screen); }
.mon__day--alert .mon__mark:not(.mon__mark--fix), .mon__key--alert i { background: var(--lime); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.mon__mark--fix, .mon__key--fix i { border-radius: 50%; background: var(--lime); }
.mon__day--upgrade .mon__mark, .mon__key--upgrade i { border-radius: 2px; background: var(--on-screen); }
.mon__day--report .mon__mark, .mon__key--report i { height: 0.35rem; align-self: end; border-radius: 1px; background: var(--on-screen); }
.mon__day.today .mon__mark, .mon__day.today .mon__mark--fix { filter: invert(1); }
.mon__day.today.mon__day--alert .mon__mark { filter: none; }
.mon__key--report i { align-self: center; }
.mon__scrub { display: grid; gap: 0.3rem; margin-top: var(--space-2); font-size: var(--t-meta); font-weight: 700; color: var(--on-screen-2); }
.mon__scrub input { width: 100%; accent-color: var(--lime); }
.mon__scrub:has(input[hidden]) { display: none; }
.mon__legend { display: flex; flex-wrap: wrap; gap: 0.3rem 0.9rem; margin-top: var(--space-2); font-size: 0.8125rem; color: var(--on-screen-3); }
.mon__key { display: inline-flex; align-items: center; gap: 0.35rem; }
.mon__key i { display: inline-block; width: 0.7rem; height: 0.7rem; }
.mon__log { display: grid; gap: 0.5rem; }
.mon__entry { display: grid; gap: 0.35rem; padding: var(--space-2); border-radius: var(--radius); background: var(--screen-3); font-size: var(--t-meta); color: var(--on-screen-2); }
.mon__entry.lit { box-shadow: inset 0 0 0 2px var(--lime); }
.mon__title { font-size: 1.15rem; color: var(--on-screen); }
.mon__note { list-style: none; display: grid; gap: 0.3rem; margin-top: 0.4rem; padding: 0.75rem; border-radius: 6px; background: var(--paper); color: var(--ink); font-size: var(--t-meta); font-weight: 700; }
@media (max-width: 71.99rem) { .exhibit.is-live .mon__legend, .exhibit.is-live .mon__scrub { display: none; } .exhibit.is-live .mon { gap: var(--space-2); } .exhibit.is-live .mon__cal { max-width: 22rem; } .exhibit.is-live .mon__day { aspect-ratio: auto; height: 2.3rem; } .exhibit--month.is-live[data-step="6"] .mon__cal { display: none; } }

/* ---------- Industry simulations (native radio inputs, no script) ---------- */
.demo { border-radius: var(--radius-lg); background: var(--paper); color: var(--ink); box-shadow: var(--shadow-dark); overflow: hidden; margin-top: var(--space-4); }
.demo__bar { padding: 0.65rem var(--space-2); background: var(--screen-3); color: var(--on-screen); font-size: 0.8125rem; font-weight: 700; line-height: 1.2; text-align: center; }
.demo__steps { display: flex; flex-wrap: wrap; gap: 0.3rem; padding: var(--space-2) var(--space-2) 0; }
.demo__steps label, .decision label { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; padding: 0.3rem 0.9rem; border-radius: var(--pill); font-size: var(--t-small); font-weight: 700; line-height: 1.2; cursor: pointer; background: #f0f0f0; transition: background-color 200ms, color 200ms, transform 400ms var(--ease-snap); }
.demo__steps label span { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--paper); font-size: 0.8125rem; color: var(--ink); }
.demo__steps label:hover, .decision label:hover { background: #e2e2e2; }
#d-s1:checked ~ .demo__steps [for="d-s1"], #d-s2:checked ~ .demo__steps [for="d-s2"], #d-s3:checked ~ .demo__steps [for="d-s3"], #d-s4:checked ~ .demo__steps [for="d-s4"], #d-s5:checked ~ .demo__steps [for="d-s5"] { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
#d-s1:checked ~ .demo__steps [for="d-s1"] span, #d-s2:checked ~ .demo__steps [for="d-s2"] span, #d-s3:checked ~ .demo__steps [for="d-s3"] span, #d-s4:checked ~ .demo__steps [for="d-s4"] span, #d-s5:checked ~ .demo__steps [for="d-s5"] span { background: var(--lime); }
#d-s1:focus-visible ~ .demo__steps [for="d-s1"], #d-s2:focus-visible ~ .demo__steps [for="d-s2"], #d-s3:focus-visible ~ .demo__steps [for="d-s3"], #d-s4:focus-visible ~ .demo__steps [for="d-s4"], #d-s5:focus-visible ~ .demo__steps [for="d-s5"], #d-ok:focus-visible ~ .demo__panels [for="d-ok"], #d-fix:focus-visible ~ .demo__panels [for="d-fix"] { outline: 2px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--lime); }
.demo__panels { padding: var(--space-3) var(--space-2); }
@media (min-width: 48rem) { .demo__panels, .demo__steps { padding-inline: var(--space-4); } .demo__panels { padding-block: var(--space-4); } }
.demo__panel { display: none; grid-template-columns: minmax(0, 1fr); gap: var(--space-3); align-items: start; }
#d-s1:checked ~ .demo__panels .demo__panel--1, #d-s2:checked ~ .demo__panels .demo__panel--2, #d-s3:checked ~ .demo__panels .demo__panel--3, #d-s4:checked ~ .demo__panels .demo__panel--4, #d-s5:checked ~ .demo__panels .demo__panel--5 { display: grid; animation: demo-in 480ms var(--ease-out); }
.demo__panel > * { grid-column: 1 / -1; }
.demo__panel > * + * { margin-top: 0; }
@media (min-width: 60rem) {
  .demo__panel { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--space-4); }
  .demo__panel > .chat, .demo__panel > .drafts, .demo__panel > .tiles { grid-column: 1; }
  .demo__panel > .demo__facts, .demo__panel > .demo__notes { grid-column: 2; }
}
@keyframes demo-in { from { opacity: 0; clip-path: inset(0 0 0 100%); } to { clip-path: inset(0); } }
.demo__title { font-size: var(--t-row); font-weight: 800; max-width: 20em; }
.demo__what { font-size: var(--t-small); color: var(--ink-2); max-width: var(--measure); }
.chat { list-style: none; display: grid; gap: var(--space-1); max-width: 30rem; }
.chat__msg { justify-self: start; max-width: 88%; padding: 0.6rem 0.85rem; border-radius: 1rem 1rem 1rem 0.25rem; background: #f0f0f0; font-size: var(--t-small); line-height: 1.4; }
.chat__msg b { display: block; font-size: var(--t-meta); color: var(--ink-3); font-weight: 700; }
.chat__msg--out { justify-self: end; background: var(--ink); color: var(--paper); border-radius: 1rem 1rem 0.25rem 1rem; }
.chat__msg--out b { color: var(--on-screen-3); }
.demo__facts { display: grid; font-size: var(--t-small); max-width: 36rem; }
.demo__facts div { display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: var(--space-2); padding-block: 0.5rem; border-top: 1px solid var(--rule); }
.demo__facts div:last-child { border-bottom: 1px solid var(--rule); }
.demo__facts dt { color: var(--ink-3); }
.demo__facts dd { font-weight: 600; }
@media (max-width: 30rem) { .demo__facts div { grid-template-columns: minmax(0, 1fr); gap: 0; } }
.drafts, .demo__notes { list-style: none; max-width: 40rem; }
.drafts li, .demo__notes li { padding-block: 0.6rem; border-top: 1px solid var(--rule); font-size: var(--t-small); line-height: 1.45; }
.drafts li:last-child, .demo__notes li:last-child { border-bottom: 1px solid var(--rule); }
.drafts b, .demo__notes b { display: block; font-size: var(--t-meta); font-weight: 700; color: var(--ink-3); }
.demo__notes b { color: var(--ink); }
.tiles { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); max-width: 40rem; }
.tile { aspect-ratio: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 0.2rem; padding: clamp(0.5rem, 2vw, 1rem); border: 1px solid var(--rule); border-radius: var(--radius); }
.tile--ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tile__big { font-size: clamp(0.95rem, 0.6rem + 1.6vw, 1.6rem); font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.tile__small { font-size: clamp(0.75rem, 0.65rem + 0.4vw, 0.9rem); font-weight: 600; }
.tile__file { margin-top: auto; order: -1; font-size: 0.75rem; color: var(--ink-3); }
.tile--ink .tile__file { color: var(--on-screen-3); }
@media (max-width: 30rem) { .tiles { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .tiles li:last-child { display: none; } }
.decision { display: flex; flex-wrap: wrap; gap: var(--space-1); }
.decision label { box-shadow: inset 0 0 0 2px var(--ink); background: var(--paper); }
#d-ok:checked ~ .demo__panels [for="d-ok"] { background: var(--lime); color: var(--lime-ink); }
#d-fix:checked ~ .demo__panels [for="d-fix"] { background: var(--ink); color: var(--paper); }
.demo__status { font-size: var(--t-small); font-weight: 700; max-width: var(--measure); }
.if-approved, .if-changes { display: none; }
#d-ok:checked ~ .demo__panels .if-approved, #d-fix:checked ~ .demo__panels .if-changes { display: block; }
#d-ok:checked ~ .demo__panels .if-pending { display: none; }
#d-fix:checked ~ .demo__panels .demo__panel--4 .if-pending { display: none; }
.demo__inline { display: inline; font-weight: 700; text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 0.12em; text-underline-offset: 0.18em; cursor: pointer; }
.schedule { width: 100%; max-width: 40rem; border-collapse: collapse; font-size: var(--t-small); }
.schedule th { text-align: left; font-size: var(--t-meta); font-weight: 700; color: var(--ink-3); padding: 0.4rem 0.75rem 0.4rem 0; border-bottom: 2px solid var(--ink); }
.schedule td { padding: 0.5rem 0.75rem 0.5rem 0; border-bottom: 1px solid var(--rule); }
.schedule td:last-child { font-weight: 700; }
.schedule + .demo__notes { margin-top: var(--space-3); }
@media (max-width: 30rem) { .schedule--compact th:nth-child(2), .schedule--compact td:nth-child(2) { display: none; } .schedule th, .schedule td { padding-right: 0.5rem; } }
.demo__next label { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--t-lead); font-weight: 700; text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 0.12em; text-underline-offset: 0.18em; cursor: pointer; }
.demo__next label:hover, .demo__inline:hover { text-decoration-thickness: 0.35em; }

/* ---------- Focus on dark and lime scenes ---------- */
[data-theme="dark"] :focus-visible, .colophon :focus-visible { outline-color: var(--lime); }
[data-theme="lime"] :focus-visible { outline-color: var(--ink); }
.try :focus-visible, .ag__review :focus-visible { outline-color: var(--ink); }

/* ---------- Page transitions ---------- */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: vt-out 380ms var(--ease-out) both; }
  ::view-transition-new(root) { animation: vt-in 700ms var(--ease-out) both; }
}
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }

/* ---------- Reduced motion: states snap, nothing travels ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .desk .shot, .phones .shot { transform: none !important; }
  .phones { gap: var(--space-2); }
}

@media print {
  .masthead, .colophon, .skip, .exhibit__controls, .reel__pause { display: none; }
  .scene[data-theme] { background: none; color: var(--ink); }
  a { text-decoration: none; }
}
