/* Scenlit in the language of San Francisco transit signs: black sign bars, round line bullets, and a video drawn as a
   route whose line is as thick as the audience still riding. Blue is the audience, red is where people got off,
   yellow is for things to do. */
@font-face { font-family: "Public Sans"; src: url(/fonts/public-sans.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(/fonts/jetbrains-mono.woff2) format("woff2"); font-weight: 100 800; font-display: swap; }
:root { --ink: #111315; --white: #fff; --soft: #5c6166; --line: #e3e5e7; --card: #f4f5f6; --blue: #0a8fd6; --red: #e23b2e; --yellow: #ffd23f; --green: #2f9e44; --orange: #f08c00; --gutter: clamp(16px, 4vw, 40px); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.5 "Public Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3, p { margin: 0; }
code, pre, .mono, .cmd { font-family: "JetBrains Mono", ui-monospace, monospace; font-variant-ligatures: none; font-feature-settings: "liga" 0, "calt" 0; } /* code is shown exactly as written: no joined arrows */
.num { font-variant-numeric: tabular-nums; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.bullet { display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--c, var(--blue)); color: var(--white); font: 800 13px "Public Sans"; }
.go, .btn, .plain { display: inline-flex; align-items: center; gap: 6px; border-radius: 6px; padding: 9px 14px; font-weight: 700; font-size: 15px; text-decoration: none; line-height: 1.2; }
.go { background: var(--yellow); color: var(--ink); border: 0; }
.go:hover { background: #ffdd66; }
.btn { background: var(--white); border: 1px solid #cfd3d6; color: var(--ink); }
.btn:hover { border-color: var(--ink); }
.btn.danger { background: var(--red); border-color: var(--red); color: var(--white); }
.plain { border: 2px solid var(--ink); padding: 7px 12px; }
.linkish { border: 0; background: none; padding: 0; text-decoration: underline; text-underline-offset: 3px; color: inherit; }
.acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cmd { display: flex; align-items: center; gap: 14px; width: fit-content; max-width: 100%; background: var(--card); border-radius: 6px; padding: 9px 9px 9px 16px; font: 500 15px "JetBrains Mono", monospace; }
.cmd span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmd button { flex: none; border: 0; background: var(--ink); color: var(--white); border-radius: 4px; padding: 6px 10px; font: 700 13px "Public Sans"; }

/* the sign bar and the foot */
.top { background: var(--ink); color: var(--white); }
.top .wrap { display: flex; align-items: center; gap: 26px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 20px; letter-spacing: -0.02em; text-decoration: none; }
.logo .bullet { width: 28px; height: 28px; font-size: 15px; }
.wm { font-weight: 800; letter-spacing: -.035em; white-space: nowrap; }
.wm .i { position: relative; display: inline-block; }
.wm .i b { position: absolute; left: 50%; top: .24em; width: .23em; height: .23em; border-radius: 50%; background: #ffd23f; transform: translateX(-50%); box-shadow: 0 0 .35em rgb(255 210 63 / .5); }
.top nav { display: flex; align-items: center; gap: 22px; margin-left: auto; color: #b9bec3; font-weight: 500; }
.top nav a { text-decoration: none; }
.top nav a:hover { color: var(--white); }
.top nav .go { color: var(--ink); }
.foot { border-top: 1px solid var(--line); margin-top: 40px; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; padding-top: 22px; padding-bottom: 40px; color: var(--soft); font-size: 14px; }

/* the route: a line as thick as the audience, the steps as stops */
.route { position: relative; height: var(--h); margin: 0 12px; }
.route svg { display: block; width: 100%; height: 100%; overflow: visible; }
/* the audience line: thin, over a faint area; the part most people left in, in red; steps as ticks on the floor */
.route svg path { vector-effect: non-scaling-stroke; }
.route .area { fill: var(--ink); opacity: .06; }
.route .line { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.route .drop { fill: var(--red); opacity: .09; }
.route .dropline { fill: none; stroke: var(--red); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.route .floor { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 4 5; opacity: .3; }
.route .tick { fill: none; stroke: var(--ink); stroke-width: 1.5; opacity: .35; }
.route .end { position: absolute; left: 100%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--ink); }
.names { display: flex; gap: 4px; margin: 8px 4px 0; font-size: 12px; color: var(--soft); }
.names div { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.names b { color: var(--ink); }
.names .off, .names .off b { color: var(--red); }

/* shared pieces: the words under a title, code in panels, rows of videos */
.lede { margin-top: 20px; max-width: 32em; font-size: clamp(18px, 1.5vw, 21px); color: #33373b; }
.player iframe, .vid iframe { display: block; width: 100%; border: 0; border-radius: 6px; background: #000; }
.panel { background: var(--card); border-radius: 10px; padding: 18px 20px; overflow: hidden; min-width: 0; }
.panel pre { margin: 0; font-size: 14px; line-height: 1.65; overflow-x: auto; }
.k { color: #b5361f; } .s { color: #1f7a3a; } .c { color: #7c8288; }
.cols small { display: block; color: var(--soft); font-size: 13px; }
.say { margin-top: 14px; font-weight: 700; }
.say u { text-decoration: none; color: var(--red); }
.publish h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 900; letter-spacing: -0.03em; }
.sub { margin-top: 6px; color: var(--soft); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 30px 20px; margin-top: 34px; }
.v { text-decoration: none; display: block; }
.v img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; display: block; background: #ddd; transition: transform .2s; }
.v:hover img { transform: translateY(-3px); }
.v .t { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; font-weight: 700; line-height: 1.3; }
.v .t .bullet { width: 24px; height: 24px; font-size: 12px; margin-top: -1px; }
.v .t em { margin-left: auto; font-style: normal; color: var(--soft); font-weight: 500; }
.lead { color: var(--soft); font-weight: 500; }

/* the page a viewer sees: quiet, in the maker's colour */
.viewer-page { background: var(--white); }
.mine { background: var(--ink); color: var(--white); font-size: 14px; }
.mine .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 20px; padding-top: 10px; padding-bottom: 10px; }
.mine .wrap > span:last-child { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mine a { color: var(--yellow); font-weight: 700; margin-right: 6px; }
.viewer { max-width: 1120px; margin: 0 auto; padding: 22px var(--gutter) 40px; }
.viewer.vertical, .viewer.square { max-width: 760px; }
.vtop { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.maker { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; }
.maker i { width: 26px; height: 26px; border-radius: 7px; background: var(--brand); }
.cta { background: var(--brand); color: var(--on-brand); border-radius: 6px; padding: 9px 16px; font-weight: 700; text-decoration: none; }
.vid { margin-top: 18px; }
.viewer.vertical .vid iframe, .viewer.square .vid iframe { max-height: 80vh; width: auto; max-width: 100%; margin: 0 auto; }
.viewer h1 { margin-top: 22px; font-size: clamp(24px, 3vw, 34px); line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; }
.vsteps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.vsteps button { border: 0; border-radius: 999px; padding: 6px 14px; background: var(--card); text-align: left; }
.vsteps button:hover { background: #e8eaec; }
.vsteps button.now { background: var(--ink); color: var(--white); }
.vsteps b { margin-right: 8px; color: var(--brand-ink); }
.vsteps .now b { color: var(--yellow); }
.vfoot { display: flex; justify-content: space-between; gap: 20px; margin-top: 44px; font-size: 13px; color: var(--soft); }
.bare { margin: 0; overflow: hidden; background: #000; }
.embed { position: fixed; inset: 0; }
.embed iframe { width: 100%; height: 100%; border: 0; display: block; aspect-ratio: auto !important; }

/* how much of the free storage is used */
.room { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-size: 14px; color: var(--soft); }
.meter { width: 160px; height: 8px; border-radius: 4px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--blue); border-radius: 4px; }
/* the kept versions of a video */
.versions { margin-top: 56px; }
.versions h2 { font-size: 15px; font-weight: 800; margin-bottom: 4px; }
.versions .say { margin: 0 0 14px; font-weight: 700; }
.vlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.vlist li { display: grid; grid-template-columns: 96px minmax(0, 0.9fr) minmax(0, 1.2fr) 130px 170px; gap: 18px; align-items: center; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.vlist li.here { background: var(--card); }
.vlist .thumb img { width: 96px; }
.vlist .t { font-weight: 800; text-decoration: none; }
.vlist .w { color: var(--soft); font-size: 13px; }
.vlist .p b { display: block; font-size: 20px; font-weight: 900; }
.vlist .p span { font-size: 12px; color: var(--soft); }
.vlist .route { margin: 0 6px; }
.playing { display: inline-block; background: var(--ink); color: var(--white); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 700; }
.hint { margin-top: 10px; font-size: 13px; color: var(--soft); }

/* pages for the maker */
.page { padding-top: clamp(28px, 6vh, 60px); padding-bottom: 60px; }
.page.narrow { max-width: 760px; }
.page h1 { font-size: clamp(38px, 5vw, 60px); font-weight: 900; letter-spacing: -0.035em; line-height: 1; }
.crumb { color: var(--soft); margin-bottom: 10px; }
.crumb a { text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.list { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1px solid var(--line); }
.vrow { display: grid; grid-template-columns: 132px minmax(0, 1fr) minmax(0, 1.3fr) 80px auto; gap: 22px; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.thumb img { width: 132px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 5px; display: block; background: #ddd; }
.vrow .t { display: block; font-weight: 700; line-height: 1.3; text-decoration: none; }
.vrow .t:hover { text-decoration: underline; }
.vrow .w { color: var(--soft); font-size: 13px; margin-top: 3px; }
.vrow .route { margin: 0 6px; }
.vrow .say { margin-top: 8px; font-size: 13px; font-weight: 400; color: var(--soft); }
.vrow .say b { color: var(--ink); font-weight: 600; }
.vrow .p { text-align: right; }
.vrow .p b { display: block; font-size: 22px; font-weight: 900; letter-spacing: -0.02em; }
.vrow .p span { font-size: 12px; color: var(--soft); }
.publish { margin-top: 64px; max-width: 760px; }
.publish p { margin: 10px 0 16px; color: #3e4246; }
.lede.big { margin-top: 6px; max-width: 30em; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.lede em { font-style: normal; color: var(--blue); }
.lede u { text-decoration: none; color: var(--red); }
.player { margin-top: 26px; border: 1px solid var(--line); border-radius: 10px; padding: 12px 12px 14px; }
.stats .player iframe { max-height: 72vh; }
.tline { position: relative; margin-top: 16px; cursor: crosshair; touch-action: pan-y; }
.head { position: absolute; left: 12px; top: -6px; bottom: -6px; width: 4px; margin-left: -2px; border-radius: 2px; background: var(--yellow); box-shadow: 0 0 0 1px var(--ink); pointer-events: none; transition: left .25s linear; }
.peek { position: absolute; bottom: calc(100% + 12px); width: 200px; transform: translateX(-50%); background: var(--ink); color: var(--white); border-radius: 8px; padding: 6px; pointer-events: none; font-size: 12px; z-index: 3; }
.peek img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; }
.peek div { padding: 5px 2px 1px; }
.segs { display: flex; gap: 4px; margin: 10px 6px 0; }
.segs button { min-width: 0; border: 0; background: none; padding: 4px 6px; text-align: center; font-weight: 600; font-size: 14px; border-radius: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.segs button:hover { background: var(--card); }
.segs b { display: block; font-size: 12px; color: var(--soft); font-weight: 600; }
.segs .off, .segs .off b { color: var(--red); }
.under { display: flex; gap: 14px; align-items: center; margin-top: 14px; }
.cols { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cols div { background: var(--card); border-radius: 8px; padding: 12px 16px; }
.cols b { font-size: 28px; font-weight: 900; letter-spacing: -0.02em; }
.jump { white-space: nowrap; padding: 13px 18px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 50px; }
.facts h2, .owner h2, .prose h2 { font-size: 15px; font-weight: 800; margin-bottom: 10px; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.rows b { display: inline-block; min-width: 3.4em; margin-right: 8px; }
.owner { margin-top: 60px; max-width: 760px; color: #3e4246; }
.owner > * + * { margin-top: 14px; }
.owner summary { cursor: pointer; width: fit-content; }
.owner details form { margin-top: 10px; }
.owner details p { margin-bottom: 10px; }
.source { margin-top: 20px; font-size: 14px; line-height: 1.6; white-space: pre; overflow-x: auto; }
.page .acts { margin-top: 20px; }
.page .lede { margin-top: 18px; }
.page.narrow .cmd { margin-top: 20px; }
.report { display: grid; gap: 12px; margin-top: 28px; }
.report label { display: flex; gap: 10px; align-items: center; }
.report .note { display: grid; gap: 6px; margin-top: 6px; }
.report textarea { font: inherit; padding: 10px; border: 1px solid #cfd3d6; border-radius: 6px; resize: vertical; }
.report .go { width: fit-content; margin-top: 8px; }
.prose h2 { margin-top: 34px; }
.prose p { margin-top: 10px; color: #33373b; max-width: 40em; }

@media (max-width: 900px) {
  .hero, .station { grid-template-columns: minmax(0, 1fr); }
  .ride h2.over { margin-left: 0; }
  .fare .sign { grid-template-columns: 1fr; }
  .top nav a:not(.go) { display: none; }
  .riders { grid-template-columns: 1fr 1fr; }
  .panel pre { font-size: 12px; }
  .vrow { grid-template-columns: 96px minmax(0, 1fr) auto; }
  .vrow > div:nth-child(3) { grid-column: 1 / -1; }
  .vrow .acts { display: none; }
  .thumb img { width: 96px; }
  .vlist li { grid-template-columns: 72px minmax(0, 1fr) auto; }
  .vlist li > div:nth-child(3) { grid-column: 1 / -1; }
  .vlist .thumb img { width: 72px; }
  .cols { grid-template-columns: 1fr 1fr; }
  .under { flex-direction: column; align-items: stretch; }
  .segs button { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .v img, .head { transition: none; } }

/* signed in: who you are, and a product's tabs */
.top nav .who { display: inline-flex; align-items: center; gap: 8px; color: var(--white); }
.top nav .who img, .top nav .who .bullet { width: 24px; height: 24px; border-radius: 50%; font-size: 12px; }
.tabs { border-bottom: 1px solid var(--line); background: var(--white); }
.tabs .wrap { display: flex; align-items: center; gap: 4px; height: 52px; overflow-x: auto; }
.tabs .pname { margin-right: 18px; font-weight: 900; white-space: nowrap; }
.tabs a { padding: 6px 12px; border-radius: 999px; color: var(--soft); font-weight: 600; text-decoration: none; white-space: nowrap; }
.tabs a.on { background: var(--ink); color: var(--white); }
.tabs a.public { margin-left: auto; color: var(--blue); }
h2.group { margin-top: 44px; font-size: 22px; font-weight: 900; letter-spacing: -0.02em; }
h2.group + .list { margin-top: 12px; }
.hint { color: var(--soft); font-size: 14px; }
.hint code, .lede code, .publish code { font-size: .9em; background: var(--card); border-radius: 4px; padding: 1px 5px; }
.publish .hint { margin-top: 12px; }

/* your products, and the rows of settings */
.cards { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.cards a { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; }
.cards a:hover { border-color: var(--ink); }
.cards .bullet { grid-row: span 2; width: 36px; height: 36px; font-size: 16px; }
.cards small { color: var(--soft); }
.settings-block { margin-top: 48px; }
.settings-block h2, .people h2 { font-size: 20px; font-weight: 900; letter-spacing: -0.02em; margin-bottom: 10px; }
.settings-block > p { margin-bottom: 12px; }
.rows li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.rows li > span:first-child { font-weight: 600; }
.rows li small { color: var(--soft); }
.rows li form, .rows li .acts { margin-left: auto; }
.rows li.new { background: #fff7cc; }
.fresh { margin: 14px 0; padding: 14px 16px; background: #fff7cc; border-radius: 8px; }
.fresh p { margin-bottom: 10px; font-weight: 600; }
.fresh .cmd { background: var(--white); }
.fields { display: grid; gap: 14px; max-width: 520px; }
.fields.row { display: flex; flex-wrap: wrap; align-items: flex-end; max-width: none; margin-top: 14px; }
.fields label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.fields .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 15px; }
.fields .check input { margin-top: 4px; }
input:not([type]), input[type="search"], input[type="text"], select { font: inherit; padding: 9px 12px; border: 1px solid #cfd3d6; border-radius: 6px; background: var(--white); min-width: 0; }
.fields .go, .fields .btn { width: fit-content; }
.inline { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.inline input { flex: 1 1 240px; }
.danger-zone { padding-top: 24px; border-top: 1px solid var(--line); }
.people { margin-top: 56px; }
.people .rows { margin-top: 10px; }

/* signing in, approving a computer, joining a team */
.center { text-align: center; }
.center .lede, .center .hint { margin-left: auto; margin-right: auto; }
.signin { display: grid; gap: 10px; max-width: 360px; margin: 30px auto 20px; }
.provider { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 16px; border: 1px solid #cfd3d6; border-radius: 8px; font-weight: 700; text-decoration: none; }
.provider:hover { border-color: var(--ink); }
.provider svg { width: 18px; height: 18px; }
.devlogin { margin-top: 18px; padding-top: 18px; border-top: 1px dashed #cfd3d6; text-align: left; }
.code { margin: 26px auto; width: fit-content; padding: 14px 24px; border-radius: 10px; background: var(--ink); color: var(--yellow); font-size: 34px; letter-spacing: .12em; }
.go.big { padding: 15px 24px; font-size: 17px; }

/* pictures with addresses that stay */
.pics { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 26px 20px; }
.pics img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 8px; border: 1px solid var(--line); background: var(--card); }
.pics b { display: block; margin-top: 8px; }
.pics small { color: var(--soft); }
.pics .acts { margin-top: 8px; }

/* a product's own page: quiet, in its colour */
.product-page { background: var(--white); }
.ptop { border-bottom: 1px solid var(--line); }
.ptop .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.pmark { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 19px; text-decoration: none; }
.pmark i { width: 26px; height: 26px; border-radius: 7px; background: var(--brand); }
.ptop .cta { background: var(--brand); color: var(--white); }
.pmain { padding-top: clamp(26px, 5vh, 50px); padding-bottom: 40px; }
.pmain > section { margin-top: 56px; }
.pmain h2 { font-size: 26px; font-weight: 900; letter-spacing: -0.02em; margin-bottom: 18px; }
.pdemo { margin-top: 0 !important; }
.pdemo .viewer, .hgrid .viewer { max-width: none; padding: 0; }
.pdemo iframe, .hgrid iframe { display: block; width: 100%; border: 0; border-radius: 8px; background: #000; }
.pdemo h1 { margin-top: 18px; font-size: clamp(26px, 3.2vw, 40px); font-weight: 900; letter-spacing: -0.025em; }
.find { width: 100%; max-width: 420px; margin-bottom: 14px; }
.howtos { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.howtos a { display: grid; grid-template-columns: 120px 1fr auto; gap: 16px; align-items: center; padding: 12px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 700; }
.howtos a:hover span { text-decoration: underline; }
.howtos img { width: 120px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 5px; }
.howtos em { font-style: normal; color: var(--soft); font-weight: 500; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 26px; border-left: 4px solid var(--blue); }
.timeline li { position: relative; padding: 0 0 28px; }
.timeline li::before { content: ""; position: absolute; left: -38px; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); border: 4px solid var(--ink); }
.timeline time { display: block; color: var(--soft); font-size: 14px; margin-bottom: 8px; }
.timeline a { display: grid; grid-template-columns: 200px 1fr; gap: 18px; align-items: center; text-decoration: none; }
.timeline img { width: 200px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }
.hgrid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 50px; align-items: start; }
.hgrid h1 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 22px; }
.guide { margin-top: 30px; max-width: 760px; }
.guide h2 { margin: 34px 0 10px; font-size: 22px; }
.guide ol { margin: 0; padding-left: 22px; }
.guide li { margin: 6px 0; }
.guide img { display: block; width: 100%; margin: 12px 0 8px; border: 1px solid var(--line); border-radius: 8px; }
.steps-text { margin-top: 24px; padding-left: 22px; font-size: 18px; }
.steps-text li { margin: 8px 0; }
.hgrid aside { position: sticky; top: 20px; }
.hgrid aside h2 { font-size: 15px; margin-bottom: 8px; }
.hgrid aside ul { list-style: none; margin: 0; padding: 0; }
.hgrid aside li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.hgrid aside a { text-decoration: none; }
.hgrid aside a:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .hgrid { grid-template-columns: minmax(0, 1fr); }
  .timeline a { grid-template-columns: 1fr; }
  .timeline img { width: 100%; }
  .howtos a { grid-template-columns: 84px 1fr; }
  .howtos img { width: 84px; }
  .howtos em { display: none; }
  .tabs .pname { display: none; }
}

/* the gallery */
.kinds { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.kinds a { padding: 6px 14px; border-radius: 999px; background: var(--card); text-decoration: none; font-weight: 600; font-size: 15px; }
.kinds a.on { background: var(--ink); color: var(--white); }
.pieces { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px 20px; }
.pieces a { display: grid; gap: 10px; text-decoration: none; }
.pieces .art, .pview { display: block; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--card); }
.pieces .art { aspect-ratio: 16 / 10; }
.pieces .art img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.noart { display: grid; place-items: center; height: 100%; }
.noart .bullet { width: 64px; height: 64px; font-size: 28px; }
.pieces .t { display: grid; grid-template-columns: auto 1fr; gap: 0 10px; align-items: center; }
.pieces .t .bullet { grid-row: span 2; }
.pieces .t small { color: var(--soft); }
.pieces .d { color: #3e4246; font-size: 15px; }
.phead { display: flex; gap: 16px; align-items: center; }
.phead .bullet { width: 52px; height: 52px; font-size: 22px; }
.pview { margin-top: 26px; max-width: 980px; }
.pview img { display: block; width: 100%; }
.pview .viewer { max-width: none; padding: 0; }
.pview iframe { display: block; width: 100%; border: 0; background: #000; }
.sound { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.source-files { margin-top: 48px; }
.source-files h2 { font-size: 20px; font-weight: 900; margin-bottom: 10px; }
.source-files details { border-top: 1px solid var(--line); padding: 10px 0; }
.source-files summary { cursor: pointer; }
.source-files summary small { color: var(--soft); margin-left: 8px; }
.source-files .source { max-height: 520px; overflow: auto; }
.rows.big li { padding: 12px 0; }
.vfoot form { display: inline; }
.howto { margin-top: 40px; }
.howto h2 { font-size: 20px; font-weight: 900; margin-bottom: 10px; }
.howto p { margin-top: 10px; }
.howto small { color: var(--soft); }

/* ---------- the showcase: cards for made-up products, filmed by site/frames/make.mjs (keep this section last) ---------- */
.show { position: relative; overflow: hidden; padding: 56px 0 0; }
.show .track { display: flex; align-items: center; gap: 28px; height: 560px; width: max-content; transition: transform .9s cubic-bezier(.5,0,.15,1); will-change: transform; }
.sc { position: relative; flex: none; margin: 0; transition: opacity .6s; }
.sc figcaption { position: absolute; bottom: 100%; left: 2px; margin-bottom: 10px; font-size: 14px; color: var(--soft); white-space: nowrap; }
.sc figcaption b { color: var(--ink); font-weight: 600; margin-right: 4px; }
.sc figcaption span { margin-left: 10px; opacity: .7; }
.sc.wide { width: 620px; height: 349px; } .sc.square { width: 420px; height: 420px; } .sc.tall { width: 280px; height: 498px; }
.sc.post { width: 400px; height: 500px; } .sc.thumb { width: 500px; height: 281px; }
.pic { position: absolute; inset: 0; overflow: hidden; border-radius: 6px; box-shadow: 0 1px 2px #0000001a, 0 18px 40px -18px #0000004d; }
.pic > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pic .capt { position: absolute; left: 50%; bottom: 44px; transform: translateX(-50%); padding: 8px 16px; border-radius: 999px; background: #000000b3; color: #fff; font-size: 15px; white-space: nowrap; }
.pbar { position: absolute; left: 16px; right: 16px; bottom: 14px; display: flex; align-items: center; gap: 10px; color: #ffffffcc; font: 500 12px "JetBrains Mono", monospace; }
.pbar:before { content: ""; position: absolute; left: 0; right: 64px; height: 3px; border-radius: 3px; background: #ffffff40; }
.pbar i { position: relative; height: 3px; border-radius: 3px; background: #fff; z-index: 1; } .pbar span { margin-left: auto; }
/* Tidepool: the sea at night, the swell in lights */
.tide { background: linear-gradient(165deg, #031a4d 0%, #0a46a8 55%, #2e8ff0 100%); color: #fff; }
.dots { position: absolute; left: 34px; top: 26px; font: 900 132px/1 "Public Sans"; letter-spacing: -.02em; color: transparent; background: radial-gradient(circle, #fff 42%, transparent 46%) 0 0 / 9px 9px; -webkit-background-clip: text; background-clip: text; }
.tide small { position: absolute; left: 40px; top: 168px; font-size: 13px; letter-spacing: .04em; color: #bfe3ff; }
/* Fernhouse: paper, leaves, a serif */
.fern { background: #efe9dc; color: #1c2a1f; }
.fern .step { position: absolute; left: 30px; top: 30px; padding: 6px 12px; border-radius: 999px; background: #1c2a1f; color: #efe9dc; font-size: 13px; font-weight: 700; }
.fern h4 { position: absolute; left: 30px; top: 72px; width: 230px; margin: 0; font: 400 34px/1.05 "Iowan Old Style", "Palatino Linotype", Georgia, serif; letter-spacing: -.01em; }
.fern ol { position: absolute; left: 30px; top: 196px; margin: 0; padding-left: 20px; font-size: 13px; line-height: 1.9; color: #1c2a1fa6; } .fern li:nth-child(2) { color: #1c2a1f; font-weight: 700; }
/* Nightbus: a route map after midnight */
.night { background: #0b0b0c; color: #fff; }
.night b { position: absolute; left: 22px; bottom: 92px; font-size: 64px; font-weight: 700; color: #ffd23f; letter-spacing: -.03em; }
.night strong { position: absolute; left: 22px; right: 22px; bottom: 26px; font: 900 40px/1 "Public Sans"; letter-spacing: -.03em; }
/* Tidepool's launch day: the sea at night, the week's swell as bars, Saturday lit */
.launchday { background: #06243a; color: #fff; padding: 36px 32px; }
.launchday p { font: 800 42px/1.02 "Public Sans"; letter-spacing: -.035em; } .launchday p .lead { color: #5fd3ff; display: block; }
.launchday .bars { position: absolute; left: 32px; right: 32px; bottom: 66px; height: 120px; display: flex; align-items: flex-end; gap: 10px; }
.launchday .bars i { flex: 1; border-radius: 4px 4px 0 0; background: #ffffff26; } .launchday .bars i.now { background: #5fd3ff; }
.launchday small { position: absolute; left: 32px; bottom: 30px; font-size: 14px; color: #ffffffb3; }
/* Kiln & Co: sand and cobalt */
.kiln { background: #f2d49b; color: #0f1f66; }
.kiln .new { position: absolute; left: 30px; top: 30px; padding: 5px 11px; border-radius: 999px; background: #0f1f66; color: #f2d49b; font-size: 12px; font-weight: 800; }
.kiln h4 { position: absolute; left: 30px; top: 68px; margin: 0; font: 900 50px/.95 "Public Sans"; letter-spacing: -.04em; width: 240px; }
.kiln small { position: absolute; left: 30px; bottom: 30px; font-size: 14px; font-weight: 600; }
/* Orbit: red, a time, the week as tiles */
.orbit { background: #ff3d00; color: #111; }
.orbit > b { position: absolute; left: 30px; top: 20px; font: 900 108px/1 "Public Sans"; letter-spacing: -.06em; }
.orbit .cal { position: absolute; right: 30px; top: 36px; width: 210px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; }
.orbit .cal i { aspect-ratio: 1; border-radius: 5px; background: #ffffff59; } .orbit .cal i.half { background: #ffffffb3; } .orbit .cal i.on { background: #111; }
.orbit .who { position: absolute; left: 480px; top: 160px; width: 26px; height: 26px; } .orbit .who svg { width: 100%; height: 100%; display: block; }
.orbit .who em { position: absolute; left: 18px; top: 22px; padding: 4px 8px; border-radius: 3px 8px 8px 8px; background: #111; color: #fff; font: 600 12px "Public Sans"; font-style: normal; }
/* Pollen: pink, grains in the air */
.pollen { background: #ffb3c1; color: #5a0d1c; }
.pollen h4 { position: absolute; left: 30px; bottom: 74px; margin: 0; font: 900 52px/.98 "Public Sans"; letter-spacing: -.04em; }
.pollen small { position: absolute; left: 30px; bottom: 34px; font-size: 14px; font-weight: 600; }
/* who watched: the route band, thinning where people left */
.seen { background: #fff; color: var(--ink); padding: 26px 28px; box-shadow: 0 0 0 1px var(--line), 0 18px 40px -18px #0000004d; }
.seen > small { font-size: 13px; color: var(--soft); } .seen svg { position: relative !important; display: block; height: 130px !important; margin: 18px 0 14px; }
.seen p { font-size: 16px; } .seen u { text-decoration-color: var(--red); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.seen .nums { display: flex; gap: 28px; margin-top: 14px; font-size: 13px; color: var(--soft); } .seen .nums b { display: block; font-size: 28px; color: var(--ink); line-height: 1.1; }
