/* Secondary pages: contact, work, case studies, what we do, studio, ideas, 404. Depends on site.css. */

/* ---------- page headers ---------- */
.page-head { padding-block: clamp(64px, 9vw, 128px) clamp(40px, 6vw, 80px); }
.page-head .display-l { max-width: 14ch; }
.page-head .sub { max-width: 60ch; }

/* ---------- contact ---------- */
.contact { min-height: 100svh; }
.contact__inner { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 48px; padding-block: clamp(48px, 8vw, 112px) 96px; }
.contact__side { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; display: grid; gap: 12px; }
.contact__progress, .contact__reply { color: var(--muted); }
.walk { position: relative; height: 16px; margin-top: 16px; }
.walk__line { position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid var(--rule); }
.walk__dot { position: absolute; top: 50%; left: calc(var(--p, 0) * 100%); width: 14px; height: 14px; border-radius: 50%; background: var(--coral); translate: -50% -50%; box-shadow: 0 0 0 4px rgba(255,106,61,.2); transition: left 500ms var(--settle); }
.flow { max-width: 640px; }
.screen { border: 0; padding: 0; margin: 0; min-width: 0; }
.screen legend { padding: 0; max-width: 20ch; }
.screen legend:focus { outline: none; }
.screen .error { color: var(--red); font-size: var(--small); margin-top: 12px; }
.contact__fields { display: grid; gap: 20px; }
.done__row { max-width: 520px; }
@media (max-width: 900px) {
  .contact__inner { grid-template-columns: 1fr; gap: 24px; padding-block: 32px 64px; }
  .contact__side { position: static; }
  .walk { display: none; }
}

/* ---------- work ---------- */
.desk { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); margin-top: 48px; align-items: start; }
.desk .work-card { rotate: var(--tilt, 0deg); transition: rotate 400ms var(--settle), transform 320ms cubic-bezier(.2,.9,.3,1.3); }
.desk .work-card:hover { rotate: 0deg; }
.desk .work-card:nth-child(1) { --tilt: 1deg; }
.desk .work-card:nth-child(2) { --tilt: -1deg; margin-top: 40px; }
.desk .work-card:nth-child(3) { --tilt: .5deg; margin-top: 80px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.filters button { min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--rule); font-weight: 500; font-size: var(--small); }
.filters button[aria-pressed="true"] { color: var(--paper); border-color: transparent; }
.filters button[data-f="all"][aria-pressed="true"] { background: var(--ink); }
.filters button[data-f="web"][aria-pressed="true"] { background: var(--magenta); color: var(--ink); }
.filters button[data-f="work"][aria-pressed="true"] { background: var(--electric); }
.problems li { padding: 10px 0; border-top: 1px solid var(--rule); font-weight: 500; }
.problems li:last-child { border-bottom: 1px solid var(--rule); }
.ledger { width: 100%; border-collapse: collapse; margin-top: 64px; }
.ledger th, .ledger td { text-align: left; padding: 16px 12px 16px 0; border-top: 1px solid var(--rule); vertical-align: top; }
.ledger th { font-family: var(--font-mono); font-size: var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.ledger tr:last-child td { border-bottom: 1px solid var(--rule); }
.ledger td:first-child { font-weight: 600; }
.ledger a { font-weight: 500; }
@media (max-width: 900px) {
  .desk { grid-template-columns: 1fr; }
  .desk .work-card { margin-top: 0 !important; --tilt: 0deg; }
  .ledger thead { display: none; }
  .ledger td { display: block; border: 0; padding: 4px 0; }
  .ledger tr { display: block; padding: 14px 0; border-top: 1px solid var(--rule); }
}

/* ---------- case study ---------- */
.case-hero { padding-block: clamp(48px, 8vw, 112px) 0; }
.case-hero__cover { margin-top: 48px; border-radius: var(--radius-card); overflow: hidden; background: var(--charcoal); }
.case-hero__cover img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.case-body { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 48px var(--gutter); }
.case-body > h2 { grid-column: 1; font-family: var(--font-mono); font-size: var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 6px; }
.case-body > div { grid-column: 2; }
.case-body > * + * { padding-top: 40px; border-top: 1px solid var(--rule); }
.case-body h2 + div { border-top: 1px solid var(--rule); padding-top: 40px; }
.case-body h2:first-child, .case-body h2:first-child + div { border-top: 0; padding-top: 0; }
.case-body p + p { margin-top: 14px; }
.decisions { display: grid; gap: 12px; }
.decisions li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: baseline; }
.decisions b { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; font-size: 22px; }
.decisions .no { color: var(--muted); text-decoration: line-through; }
.kept { background: var(--warm); border-radius: var(--radius-card); padding: 24px; }
.kept h3 { font-size: 18px; }
.sysdiag { width: 100%; }
.sysdiag svg { width: 100%; height: auto; }
.sysdiag .box { fill: var(--paper); stroke: var(--ink); stroke-width: 1.5; }
.sysdiag .box--core { fill: var(--electric); stroke: var(--electric); }
.sysdiag .box--core + text { fill: var(--paper); }
.sysdiag text { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; fill: var(--ink); }
.sysdiag .link { stroke: var(--ink); stroke-width: 1; fill: none; opacity: .5; }
.results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.results dt { font-family: var(--font-display); font-weight: 800; font-size: clamp(48px, 6vw, 96px); line-height: .95; letter-spacing: -0.03em; }
.results dd { margin: 8px 0 0; color: var(--muted); font-size: var(--small); }
.results .fig { margin-top: 16px; color: var(--muted); }
.case-next { padding-block: 64px 96px; }
@media (max-width: 900px) {
  .case-body { grid-template-columns: minmax(0, 1fr); gap: 12px; } /* minmax(0) so a wide diagram scrolls inside its figure instead of widening the column */
  .case-body > h2, .case-body > div { grid-column: 1; }
  .case-body > div { border-top: 0 !important; padding-top: 0 !important; padding-bottom: 32px; }
  .results { grid-template-columns: 1fr; }
  .decisions li { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- what we do ---------- */
.mode { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: var(--warm); }
.mode button { min-height: 44px; padding: 8px 18px; border-radius: 999px; font-weight: 500; }
.mode button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.mode-copy { margin-top: 24px; max-width: 60ch; }
.mode-copy[hidden] { display: none; }
.mode-count { margin-top: 12px; }
.mode-count b { color: var(--electric); }
.services { margin-top: 64px; display: grid; gap: 0; }
.service { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; padding: 56px 0; border-top: 1px solid var(--rule); align-items: center; }
.service:nth-child(even) { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.service:nth-child(even) .service__copy { order: 2; }
.service__copy .h2 { max-width: 16ch; }
.service__obj { display: grid; place-items: center; }
.service__obj img { max-width: 420px; width: 100%; }
.service__mini { width: 100%; max-width: 420px; }
.spine { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; }
.spine ol { display: grid; gap: 8px; font-family: var(--font-mono); font-size: var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.spine li { display: flex; gap: 10px; align-items: center; }
.spine li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rule); flex: none; }
.spine li:first-child::before { background: var(--ink); }
@media (max-width: 900px) { .service, .service:nth-child(even) { grid-template-columns: 1fr; gap: 24px; } .service:nth-child(even) .service__copy { order: 0; } }

/* ---------- studio ---------- */
.studio-hero { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; align-items: start; }
.portrait { border-radius: var(--radius-card); overflow: hidden; background: var(--warm); }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.statcard { padding: 28px; }
.statcard h2 { font-family: var(--font-display); font-weight: 800; font-size: 32px; letter-spacing: -0.02em; }
.statcard .role { color: var(--muted); }
.stats { margin-top: 20px; display: grid; gap: 10px; }
.stats div { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule); font-family: var(--font-mono); font-size: 13px; letter-spacing: .02em; }
.stats dd { margin: 0; font-weight: 700; }
.stats .low dd { color: #C24A1E; }
.stats dt.wide { grid-column: 1 / -1; }
.stats .value-line { grid-column: 1 / -1; color: var(--muted); font-family: var(--font-body); font-size: var(--small); }
.network { margin-top: 64px; }
.network svg { width: 100%; max-width: 720px; height: auto; }
.network .n { fill: var(--paper); stroke: var(--ink); stroke-width: 1.5; }
.network .n--me { fill: var(--ink); }
.network text { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; fill: var(--ink); }
.network .me-label { fill: var(--paper); }
.network line { stroke: var(--ink); stroke-width: 1; opacity: .5; }
.relic { margin-top: 96px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px; align-items: end; }
.relic img { width: 100%; border-radius: var(--radius-card); }
.philosophy { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); margin-top: 48px; }
.philosophy div { padding-top: 16px; border-top: 1px solid var(--rule); }
.philosophy b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 28px; letter-spacing: -0.02em; }
@media (max-width: 900px) { .studio-hero, .relic { grid-template-columns: 1fr; } .philosophy { grid-template-columns: 1fr 1fr; } }

/* ---------- founder note (studio) ---------- */
.founder { margin-top: 96px; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); gap: 32px var(--gutter); padding-top: 40px; border-top: 1px solid var(--rule); }
.founder__body { max-width: 62ch; }
.founder__body p + p { margin-top: 16px; }
.founder__sig { font-family: var(--font-aside); font-style: italic; font-size: 34px; line-height: 1; margin-top: 24px !important; color: var(--violet); }
@media (max-width: 900px) { .founder { grid-template-columns: 1fr; gap: 16px; margin-top: 64px; } }

/* ---------- who you'll talk to (contact) ---------- */
.who { display: flex; gap: 14px; align-items: flex-start; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--rule); max-width: 320px; }
.who img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 32%; flex: none; background: var(--warm); }
.who p { color: var(--muted); }
.who b { color: var(--ink); display: block; margin-bottom: 2px; }
@media (max-width: 900px) { .who { margin-top: 16px; } }

/* ---------- ideas ---------- */
.notes { display: grid; gap: 0; margin-top: 48px; max-width: 72ch; }
.note { padding: 40px 0; border-top: 1px solid var(--rule); }
.note h2 { max-width: 20ch; }
.note p + p { margin-top: 14px; }

/* ---------- 404 ---------- */
.lost { min-height: 100svh; display: grid; align-items: center; padding-block: 96px; }
.lost__inner { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; align-items: center; }
.lost img { width: 100%; border-radius: var(--radius-card); }
.lost .fig { margin-top: 16px; }
@media (max-width: 900px) { .lost__inner { grid-template-columns: 1fr; } }

/* ---------- legal ---------- */
.legal { max-width: 68ch; padding-block: 64px 120px; }
.legal h2 { margin-top: 40px; font-size: 24px; }
.legal p + p { margin-top: 12px; }

/* ---------- case pages: the before-state folds into the system ---------- */
.sysdiag { position: relative; }
.before-chips { position: absolute; inset: 0; pointer-events: none; }
.before-chip { position: absolute; left: var(--x); top: var(--y); translate: -50% -50%; rotate: var(--r, 0deg); padding: 6px 10px; border-radius: 8px; background: var(--paper); color: var(--ink); box-shadow: var(--shadow-1); font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.sysdiag.is-static .before-chips { display: none; }
.case-fold-note { margin-top: 12px; }
@media (max-width: 900px) { .sysdiag { overflow-x: auto; padding-bottom: 8px; } .sysdiag svg { min-width: 720px; } .before-chips, .case-fold-note { display: none; } }

/* ---------- packages: the five tiers, comparison + detail ---------- */
.tiers { display: grid; gap: 16px; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: stretch; }
@media (max-width: 1240px) { .tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tiers { grid-template-columns: 1fr; } }

.tier { display: flex; flex-direction: column; gap: 10px; padding: 22px 20px 20px; border: 1px solid var(--rule); border-radius: var(--radius-card); background: var(--paper); }
.tier__rank { font-family: var(--font-mono); font-size: var(--mono); letter-spacing: .1em; color: var(--muted); }
.tier__name { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; line-height: 1; }
.tier__price { font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -0.01em; }
.tier__initial { font-size: var(--small); color: var(--muted); }
.tier__purpose { font-size: var(--small); }
.tier__more { margin-top: auto; }
.tier__more > summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 0; border-top: 1px solid var(--rule); font-weight: 500; font-size: var(--small); }
.tier__more > summary::-webkit-details-marker { display: none; }
.tier__more > summary::after { content: "+"; font-family: var(--font-mono); color: var(--muted); }
.tier__more[open] > summary::after { content: "\2212"; }
.tier__more > summary:focus-visible { outline: 2px solid var(--ring, var(--electric)); outline-offset: 3px; }
.tier__detail { padding-bottom: 12px; }
.tier__detail h4 { font-family: var(--font-mono); font-size: var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin: 14px 0 4px; }
.tier__detail p, .tier__detail li { font-size: var(--small); }
.tier__detail ul { margin: 0; padding-left: 18px; }
.tier__detail li { margin-bottom: 3px; }
.tier__detail .eg { font-family: var(--font-aside); font-style: italic; color: var(--muted); }
.tier .btn { margin-top: 4px; }

/* process rail */
.rail { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; counter-reset: rail; }
.rail li { list-style: none; padding-top: 12px; border-top: 2px solid var(--rule); }
.rail b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.rail span { display: block; margin-top: 4px; font-size: var(--small); color: var(--muted); }
@media (max-width: 1100px) { .rail { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 700px) { .rail { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* plain disclosure list, reused by the package FAQs */
.qa details { border-top: 1px solid var(--rule); }
.qa details:last-of-type { border-bottom: 1px solid var(--rule); }
.qa summary { cursor: pointer; list-style: none; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 18px 0; font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-family: var(--font-mono); color: var(--muted); }
.qa details[open] summary::after { content: "\2212"; }
.qa summary:focus-visible { outline: 2px solid var(--ring, var(--electric)); outline-offset: 3px; }
.qa .answer { padding-bottom: 20px; max-width: 62ch; color: var(--muted); }

/* in-development notice */
.soon { border: 1px dashed color-mix(in srgb, currentColor 35%, transparent); border-radius: var(--radius-card); padding: 24px; }
.soon__badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.soon__badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.soon__flow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding: 0; list-style: none; }
.soon__flow li { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--rule); color: var(--muted); }

/* ---------- work: active redesign showcase ---------- */
.showcase { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (max-width: 900px) { .showcase { grid-template-columns: 1fr; } }
.showcase__frame { background: var(--warm); border: 1px solid var(--rule); border-radius: var(--radius-card); padding: clamp(16px, 2.5vw, 32px); }
.showcase__frame img { width: 100%; height: auto; display: block; border-radius: 10px; }
.showcase__frame figure { margin: 0; }
.showcase--empty .ui { max-width: 520px; margin-inline: auto; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 620px) { .compare { grid-template-columns: 1fr; } }
.compare__pane { margin: 0; }
.compare__pane .fig { margin-top: 6px; }
.changes { display: grid; gap: 10px; margin: 0; }
.changes dt { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.changes dd { margin: 2px 0 0; color: var(--muted); font-size: var(--small); }
.miles { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; counter-reset: mile; }
.miles li { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--rule); color: var(--muted); }
.miles li.is-done { border-color: transparent; background: var(--ink); color: var(--paper); }

/* ---------- contact: the package carried in from a card ---------- */
.contact__pkg { margin-top: 10px; }
.contact__pkg b { font-family: var(--font-body); font-weight: 600; }
.linkish { background: none; border: 0; padding: 0 0 0 8px; font: inherit; color: var(--muted); text-decoration: underline; text-underline-offset: 0.25em; cursor: pointer; }
.linkish:hover { color: var(--ink); }
.linkish:focus-visible { outline: 2px solid var(--ring, var(--electric)); outline-offset: 3px; }

/* Section-level heading block. Unlike .page-head it carries no top padding,
   because the .section around it already does; nesting the two stacked to
   roughly 300px of dead space above the packages. */
.pkg-head { padding-bottom: clamp(24px, 3vw, 40px); }
.pkg-head .h2 { max-width: 18ch; }
.pkg-head .sub { max-width: 60ch; }

/* ---- The package examples, embedded on What We Do -------------------------
   A near full-height frame with a border of its own: the brand gradient drawn
   as the edge, so the example reads as a thing being presented rather than as
   part of this page. The tabs are links first and a switcher second, so the
   block works with no JavaScript. */
.demo { margin-top: 28px; }
.demo__tabs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.demo__tab {
  display: inline-flex; align-items: baseline; gap: 8px; min-height: 44px;
  padding: 0 16px; border: 1px solid var(--rule); border-radius: 999px;
  background: var(--paper); color: var(--ink); text-decoration: none;
  font-family: var(--font-body); font-size: 15px; line-height: 44px; white-space: nowrap;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}
.demo__tab i { font-style: normal; font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.demo__tab:hover { border-color: var(--ink); }
.demo__tab[aria-current="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.demo__tab[aria-current="true"] i { color: rgba(255,255,255,.62); }
.demo__tab.is-soon { opacity: .5; cursor: not-allowed; }
/* Original is the cafe's existing site, not a package. Same row, because that
   is where you want it when comparing, but set apart so the row does not read
   as six products. */
.demo__tab.is-aside { background: transparent; border-style: dashed; color: var(--muted); }
.demo__tab.is-aside[aria-current="true"] { background: var(--graphite); color: var(--paper); border-style: solid; border-color: var(--graphite); }
/* A rule after Original, so the eye reads "the old one, then the five". */
.demo__tab.is-aside { margin-right: 14px; position: relative; }
.demo__tab.is-aside::after {
  content: ""; position: absolute; right: -8px; top: 50%; translate: 0 -50%;
  width: 1px; height: 24px; background: var(--rule);
}
.demo__desc { margin-top: 14px; color: var(--muted); font-size: 15px; max-width: 74ch; min-height: 2.8em; }

/* The border. Two layers: the gradient as a padded backdrop, and the page
   colour inside it, so the edge is the brand without tinting the example. */
.demo__frame {
  margin-top: 16px;
  padding: 3px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--electric), var(--violet) 38%, var(--magenta) 68%, var(--coral));
  box-shadow: var(--shadow-2);
  height: min(86vh, 1040px);
  display: flex; flex-direction: column;
  scroll-margin-block: 24px;
}
.demo__inner {
  flex: 1; min-height: 0; display: flex; flex-direction: column;
  background: var(--paper); border-radius: 19px; overflow: hidden;
}
.demo__chrome {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px; flex: none;
  border-bottom: 1px solid var(--rule); background: var(--warm);
}
.demo__dots { display: inline-flex; gap: 6px; flex: none; }
.demo__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--mist); display: block; }
.demo__url {
  flex: 1; min-width: 0; font-family: var(--font-mono); font-size: 12px; color: var(--muted);
  background: var(--paper); border: 1px solid var(--rule); border-radius: 999px;
  padding: 6px 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.demo__pop { flex: none; font-size: 13px; min-height: 44px; display: inline-flex; align-items: center; }

.demo__stage { position: relative; flex: 1; min-height: 0; background: var(--page); }
.demo__iframe { width: 100%; height: 100%; border: 0; display: block; }

/* The placeholder. It is a button, because pressing it is what loads the site. */
.demo__load {
  position: absolute; inset: 0; width: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px; padding: 32px;
  border: 0; background: transparent; cursor: pointer; text-align: center;
  font-family: var(--font-body); color: var(--ink);
}
.demo__play {
  width: 64px; height: 64px; border-radius: 50%; background: var(--ink);
  display: grid; place-items: center; flex: none;
  transition: background 140ms ease, transform 140ms ease;
}
.demo__play::after {
  content: ""; margin-left: 5px;
  border-left: 17px solid var(--paper);
  border-top: 11px solid transparent; border-bottom: 11px solid transparent;
}
.demo__load:hover .demo__play { background: var(--signal); }
.demo__load b { font-family: var(--font-display); font-size: 24px; font-weight: 500; }
.demo__load > span:not(.demo__play) { color: var(--muted); font-size: 15px; max-width: 52ch; }
.demo__load:hover b { text-decoration: underline; text-underline-offset: 3px; }
.demo[data-loaded="true"] .demo__load { display: none; }
.demo--empty { padding: 32px; border: 1px dashed var(--rule); border-radius: var(--radius-card); }

/* Coming down the page, this one section settles into the middle rather than
   stopping half on screen. Proximity, not mandatory, so ordinary scrolling
   still behaves ordinarily everywhere else. */
@media (prefers-reduced-motion: no-preference) and (min-height: 700px) {
  html { scroll-snap-type: y proximity; }
  #see-it .demo__frame { scroll-snap-align: center; }
  .demo__play { transition: background 140ms ease, transform 140ms ease; }
  .demo__load:hover .demo__play { transform: scale(1.06); }
}

@media (max-width: 720px) {
  .demo__tabs { gap: 6px; }
  .demo__tab { padding: 0 12px; font-size: 14px; }
  .demo__tab.is-aside { margin-right: 10px; }
  .demo__chrome { flex-wrap: wrap; }
  .demo__url { order: 3; width: 100%; flex-basis: 100%; }
  .demo__pop { margin-left: auto; }
  .demo__frame { height: min(80vh, 760px); padding: 2px; border-radius: 16px; }
  .demo__inner { border-radius: 14px; }
  .demo__load b { font-size: 19px; }
  .demo__desc { min-height: 0; }
}
