/* metric-matched fallback so the swap to Marcellus does not move anything */
@font-face { font-family: "Marcellus Fallback"; src: local("Georgia"), local("Georgia Regular");
  size-adjust: 102.3%; ascent-override: 94.8%; descent-override: 27.4%; line-gap-override: 0%; }
@font-face { font-family: "Plex Fallback"; src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 103%; ascent-override: 99.5%; descent-override: 26.7%; line-gap-override: 0%; }
:root {
  --bg: #E7EBEE; --ink: #17212B; --muted: #56626D; --line: #C3CBD2;
  --dot: #9AA6B0; --field-dot: #8E9BA6; --signal: #F2B705; --frame: #DDE2E6;
  --display: "Marcellus", "Marcellus Fallback", "Trajan Pro", "Cormorant", Georgia, "Times New Roman", serif;
  --body: "IBM Plex Sans", "Plex Fallback", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --pad: clamp(1rem, 4vw, 3rem);
  --bar: 52px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121920; --ink: #E4E9ED; --muted: #97A3AE; --line: #2B3641;
    --dot: #3C4854; --field-dot: #4F5C68; --signal: #F5C518; --frame: #18212A; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121920; --ink: #E4E9ED; --muted: #97A3AE; --line: #2B3641;
  --dot: #3C4854; --field-dot: #4F5C68; --signal: #F5C518; --frame: #18212A; color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, button, input { font-synthesis: none; }
/* every number on the page: lining, tabular */
body, button, input, svg text { font-variant-numeric: lining-nums tabular-nums; }
b, strong, em, i, h1, h2, h3 { font-weight: 400; font-style: normal; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 1.0625rem; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  transition: background-color .3s ease, color .3s ease;
}
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2.5px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* top bar */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 10; height: var(--bar);
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 var(--pad);
  font-family: var(--body); font-size: .875rem;
  background: var(--bg); transition: background-color .3s ease;
}
.mark { font-weight: 400; letter-spacing: -.01em; text-decoration: none; display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding-right: .5rem; }
.mark i { width: 11px; height: 11px; background: var(--signal); box-shadow: inset 0 0 0 2px var(--ink); display: inline-block; }
.shift { display: flex; gap: .2rem; }
.shift button { padding: .3rem .55rem; min-height: 44px; color: var(--muted); font-weight: 400; }
/* the toggle needs JS; without it the page simply follows the OS */
html:not(.motion):not(.still) .shift { display: none; }
.shift button:hover { color: var(--ink); }
.shift button[aria-pressed="true"] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--signal); }

/* ---------- hero: the grow field ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  display: flex; align-items: center;
  padding: calc(var(--bar) + 2.5rem) var(--pad) 3rem;
  cursor: crosshair; -webkit-tap-highlight-color: transparent;
}
.hero.over-growth { cursor: pointer; }
#field { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.copy { position: relative; z-index: 2; cursor: auto; width: min(38rem, 46vw); }
.copy h1 { font-family: var(--display); font-size: clamp(2.6rem, 4.6vw, 4.2rem); line-height: 1; letter-spacing: -.012em; }
.copy p, .copy li { text-wrap: pretty; }
.lede { margin-top: 1.1rem; font-size: 1.32rem; line-height: 1.38; }
.aim { margin-top: .9rem; color: var(--muted); }
.copy em { color: var(--ink); }
.good-h { margin-top: 1.6rem; font-family: var(--display); font-size: 1.12rem; letter-spacing: .02em; }
.good { list-style: none; margin-top: .55rem; display: grid; gap: .5rem; }
.good li { position: relative; padding-left: 1.4rem; color: var(--muted); font-size: 1rem; line-height: 1.45; }
.good li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 9px; height: 9px; border-radius: 50%;
  box-shadow: inset 0 0 0 2.5px var(--ink);
}
.next { margin-top: 1.3rem; color: var(--muted); font-size: 1rem; }
.meet { margin-top: 1.4rem; font-family: var(--body); font-size: 1.12rem; }
.meet a, .foot a { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.meet a:hover, .foot a:hover { background: var(--signal); color: #17212B; text-decoration-color: #17212B; }

.hint {
  position: absolute; z-index: 2; pointer-events: none;
  font-family: var(--body); font-size: .8rem; color: var(--muted);
  opacity: 0; transition: opacity .8s ease; white-space: nowrap;
  transform: translate(-50%, 0);
}
.hint.on { opacity: 1; }
.hint.gone { opacity: 0; transition-duration: .4s; }

@media (max-width: 760px) {
  .hero { align-items: flex-start; padding-top: max(16rem, 38svh); padding-bottom: 2.5rem; }
  .copy { width: 100%; }
  .copy h1 { font-size: 2.55rem; }
  .lede { font-size: 1.2rem; }
}

/* ---------- footer ---------- */
.foot { padding: 5rem var(--pad) 3rem; display: flex; flex-direction: column; gap: .9rem; border-top: 1px solid var(--line); }
.foot h2 { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.01em; line-height: 1.25; }
.foot h2 a { text-underline-offset: 7px; }
.meet a, .foot li a { display: inline-block; padding-block: .55rem; margin-block: -.55rem; }
.foot ul { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem 1.75rem; font-family: var(--body); font-size: 1.05rem; }
.foot .tbd { color: var(--muted); }
.foot small { margin-top: 2.5rem; font-size: .82rem; color: var(--muted); }

/* ---------- timeline: shared ---------- */
.tl { position: relative; scroll-margin-top: var(--bar); border-top: 1px solid var(--line); }
html.still .tl-sr { display: none; }
.tl-title { font-family: var(--display); font-weight: 400; font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -.01em; line-height: 1.1; }
.confirm { font-family: var(--body); font-size: .72em; font-weight: 400; color: var(--muted); font-style: normal; white-space: nowrap; letter-spacing: .02em; }

/* entry typography (list and card) */
.when { font-family: var(--body); font-weight: 400; font-size: .82rem; color: var(--muted); font-variant-numeric: lining-nums tabular-nums; letter-spacing: .01em; display: flex; align-items: center; gap: .6rem; }
.side { font-size: .82rem; letter-spacing: .02em; color: var(--muted); padding-left: .6rem; border-left: 1px solid var(--line); line-height: 1.1; }
.org { font-family: var(--display); font-weight: 400; font-size: 1.35rem; line-height: 1.08; letter-spacing: -.015em; margin-top: .2rem; }
.role { font-size: 1.04rem; margin-top: .15rem; color: var(--muted); letter-spacing: .035em; }
.story { margin-top: .6rem; max-width: 34em; }
.proof { list-style: none; margin-top: .7rem; display: grid; gap: .4rem; }
.proof li { position: relative; padding-left: 1.35rem; color: var(--muted); font-size: .98rem; line-height: 1.42; }
.proof li::before { content: ""; position: absolute; left: 0; top: .42em; width: 9px; height: 9px; background: var(--signal); box-shadow: inset 0 0 0 2px var(--ink); }
.proof li.empty::before { display: none; }
.aside { margin-top: .7rem; font-style: normal; color: var(--muted); font-size: .98rem; }
.links { margin-top: .8rem; display: flex; flex-wrap: wrap; gap: .3rem 1.25rem; font-family: var(--body); font-weight: 400; font-size: .9rem; }
.lk { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; color: var(--ink); white-space: nowrap; }
a.lk:hover { text-decoration-color: var(--signal); text-decoration-thickness: 3px; }
.lk.tbd { color: var(--muted); text-decoration-style: dotted; text-decoration-color: var(--line); cursor: default; }
.lk.tbd em { font-style: normal; font-weight: 400; font-size: .85em; margin-left: .35rem; }

/* photo frames (shared) */
.frame { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--frame); box-shadow: inset 0 0 0 1px var(--line); border-radius: 2px; }
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; color: transparent; }
.frame.missing img { display: none; }
.ph-empty { position: absolute; inset: auto .55rem .45rem .55rem; font-family: var(--body); font-size: .68rem; font-weight: 400; color: var(--muted); text-align: left; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.frame.slot { background: transparent; box-shadow: inset 0 0 0 1px var(--line); opacity: .55; }
/* no photos yet: one quiet floor panel where the photos will go, same footprint as a full set */
.photos.none .ph-main { background: radial-gradient(circle, var(--dot) 1.1px, transparent 1.4px) 0 0 / 26px 26px, var(--frame); opacity: .7; }
.photos.none .slot { visibility: hidden; }
button.frame { cursor: zoom-in; }
button.frame:hover { box-shadow: inset 0 0 0 1px var(--ink); }
button.frame:focus-visible { outline-offset: 2px; }
.more { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; background: color-mix(in srgb, var(--bg) 72%, transparent); font-family: var(--body); font-weight: 400; font-size: .95rem; color: var(--ink); }

/* ---------- plain list (no JS, reduced motion) ---------- */
.tl-list { list-style: none; padding: 0 var(--pad) 4rem; max-width: 46rem; }
.tl-list:empty { display: none; }
.tl-list-head { padding: 2rem var(--pad) 1.5rem; }
.tl-list > li { position: relative; padding: 0 0 2.5rem 2rem; border-left: 2px solid var(--ink); margin-left: 7px; }
.tl-list > li:last-child { border-left-color: transparent; }
.tl-list > li::before {
  content: ""; position: absolute; left: -9px; top: .2rem; width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg); box-shadow: inset 0 0 0 2.5px var(--ink), inset 0 0 0 5px var(--bg), inset 0 0 0 8px var(--ink);
}
.tl-list > li.minor::before { left: -6px; top: .35rem; width: 10px; height: 10px; box-shadow: none; background: var(--ink); }
.tl-list > li:last-child::before { box-shadow: inset 0 0 0 2.5px var(--ink), inset 0 0 0 5px var(--bg), inset 0 0 0 8px var(--signal); }
.tl-list .photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr)); gap: .5rem; margin-top: .9rem; max-width: 34rem; }
.tl-list .ph-cap { display: none; }
html.motion .tl-static { display: none; }
html:not(.motion) .tl-stage-wrap { display: none; }

/* ---------- the route stage ---------- */
.tl-stage-wrap { position: relative; }
.tl-stage {
  position: sticky; top: var(--bar); height: calc(100svh - var(--bar));
  display: grid; grid-template-columns: minmax(250px, .56fr) minmax(0, 1.44fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  grid-template-areas: "head head" "map card" "tape tape";
  column-gap: clamp(1.25rem, 3vw, 3rem);
  padding: 1.25rem var(--pad) 1.4rem;
  overflow: hidden;
}
.tl-stage:focus-visible { outline: 2.5px solid var(--ink); outline-offset: -8px; }
.tl-head { grid-area: head; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: .75rem; }
.tl-head .hint { font-family: var(--body); font-size: .8rem; font-weight: 400; color: var(--muted); }
.head-r { display: flex; align-items: baseline; gap: 1.25rem; }
.count { font-family: var(--body); font-weight: 400; font-size: .9rem; font-variant-numeric: lining-nums tabular-nums; color: var(--muted); display: inline-block; min-width: 3.6em; text-align: right; }
.count b { color: var(--ink); font-weight: 400; }

.map { grid-area: map; position: relative; min-height: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 9%, #000 91%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 9%, #000 91%, transparent 100%); }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.route-plan { fill: none; stroke: var(--muted); stroke-opacity: .42; stroke-width: 2; stroke-dasharray: 2 7; stroke-linecap: round; }
.route-done { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.route-front { fill: none; stroke: var(--signal); stroke-width: 4; stroke-linecap: round; }
.route-glow { fill: none; stroke: var(--signal); stroke-width: 10; stroke-linecap: round; opacity: .45; }
.halo-stop-a { stop-color: var(--signal); stop-opacity: .38; }
.halo-stop-b { stop-color: var(--signal); stop-opacity: 0; }
.grid-dot, .near-dot { fill: var(--dot); }
.tip { fill: var(--signal); stroke: var(--ink); stroke-width: 2; transition: opacity .25s ease; }

.node { cursor: pointer; }
.node .ring, .node .core { transform-box: fill-box; transform-origin: center;
  transition: fill .35s ease, stroke .35s ease, transform .35s cubic-bezier(.3,1.4,.5,1); }
.node.c .ring { fill: var(--bg); stroke: var(--muted); stroke-opacity: .5; stroke-width: 2.25; }
.node.reached .ring, .node.active .ring { stroke-opacity: 1; }
.node.c .core { fill: var(--line); transform: scale(0); }
.node.m .ring { fill: var(--muted); fill-opacity: .45; stroke: var(--bg); stroke-width: 0; }
.node.m .core { display: none; }
.node.reached.c .ring { stroke: var(--ink); stroke-width: 2.5; }
.node.reached.c .core { fill: var(--ink); transform: scale(1); }
.node.reached.m .ring { fill: var(--ink); fill-opacity: 1; }
.node.active.c .ring { stroke: var(--ink); stroke-width: 2.5; transform: scale(1.22); }
.node.active.c .core { fill: var(--signal); transform: scale(1.7); }
.node.active.m .ring { fill: var(--signal); fill-opacity: 1; stroke: var(--ink); stroke-width: 2; transform: scale(1.45); }
.node:hover .ring { stroke: var(--ink); }
.yr, .nl { paint-order: stroke; stroke: var(--bg); stroke-width: 4px; stroke-linejoin: round; font-family: var(--body); font-variant-numeric: lining-nums tabular-nums; }
.yr { font-weight: 400; font-size: 12px; fill: var(--ink); }
.nl { font-weight: 400; font-size: 11.5px; fill: var(--muted); transition: fill .3s ease; }
.nl.on { fill: var(--ink); }

/* ---------- the card: one fixed footprint for every entry ---------- */
.card-col { grid-area: card; min-height: 0; display: flex; align-items: center; justify-content: flex-start; }
.card {
  width: 100%; max-width: 62rem;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); column-gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
}
.c-text, .c-photos { transition: opacity .2s ease, transform .26s cubic-bezier(.2,.7,.2,1); }
.card.out .c-text, .card.out .c-photos { opacity: 0; transform: translateY(-12px); }
.card.out.back .c-text, .card.out.back .c-photos { transform: translateY(12px); }
.card.in .c-text, .card.in .c-photos { opacity: 0; transform: translateY(14px); transition: none; }
.card.in.back .c-text, .card.in.back .c-photos { transform: translateY(-14px); }
.card .c-photos { transition-delay: .03s; }

/* every slot has a fixed height so the block never changes shape */
.card .when { height: 1.5rem; margin: 0; overflow: hidden; }
.card .org { font-size: clamp(1.45rem, 2.05vw, 1.85rem); line-height: 1.08; height: 2.16em; margin-top: .3rem; }
.card .role { font-size: 1.12rem; line-height: 1.45; height: 1.45em; margin-top: .25rem; }
.card .story { font-size: 1.1rem; line-height: 1.45; height: 4.35em; margin-top: .7rem; }
.card .proof { margin-top: .85rem; grid-template-rows: 1fr 1fr; gap: .45rem; }
.card .proof li { font-size: 1rem; line-height: 1.4; height: 2.8em; }
.card .links { height: 1.6rem; margin-top: .85rem; flex-wrap: nowrap; overflow: hidden; align-items: center; }
.card .org { display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.card .org > span, .card .role, .card .story, .card .proof li { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; }
.card .org > span, .card .proof li { -webkit-line-clamp: 2; }
.card .role { -webkit-line-clamp: 1; }
.card .story { -webkit-line-clamp: 3; }
.card .proof li { display: -webkit-box; }

.card .photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.card .ph-main { grid-column: 1 / -1; }
.card .ph-cap { grid-column: 1 / -1; height: 1.35rem; font-family: var(--body); font-size: .78rem; color: var(--muted); line-height: 1.35rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; margin: -.15rem 0 .05rem; }
.card .ph-t3 .more-d { display: flex; }

/* floor tape */
.tape { grid-area: tape; position: relative; padding-top: 1.1rem; }
.tape-track { position: relative; height: 12px; background: var(--line); }
.tape-fill { position: absolute; inset: 0 0 0 auto; width: 0; background: var(--signal); box-shadow: inset 0 -2px 0 rgba(0,0,0,.12); }
.tape-tick { position: absolute; top: -4px; width: 2px; height: 4px; background: var(--muted); transform: translateX(-1px); }
.tape-tick.c { top: -7px; height: 7px; background: var(--ink); }
.tape-marks { position: relative; height: 2.1rem; }
.tape-marks button {
  position: absolute; top: .3rem; transform: translateX(-50%);
  font-family: var(--body); font-weight: 400; font-size: .82rem; color: var(--muted);
  padding: .25rem .35rem; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap;
}
.tape-marks button:last-child { transform: translateX(-100%); }
.tape-marks button[hidden] { display: none; }

/* duration lanes, directly above the tape: one bar per stop, overlapping stops stack */
.lanes { --pitch: 9px; --bar-h: 6px; position: relative; height: calc(var(--lanes, 4) * var(--pitch)); margin-bottom: 7px; }
.bar { position: absolute; top: calc(var(--lane) * var(--pitch)); height: var(--bar-h); min-width: 4px; padding: 0; margin-left: 1px;
  clip-path: inset(0 1px 0 0);
  background: var(--muted); opacity: .42; border-radius: 1px; transition: background-color .25s ease, opacity .25s ease; }
.bar.minor { opacity: .3; }
.bar:hover { opacity: .8; }
.bar.on { background: var(--signal); opacity: 1; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 35%, transparent); }
/* the two stretches of the axis, named underneath: a hairline bracket, the word at its start.
   The small gap between the brackets marks where the scale changes. */
.tape-sections { --sec-line: color-mix(in srgb, var(--muted) 45%, transparent);
  position: relative; height: 1.15rem; margin-top: -.1rem; pointer-events: none; }
.tape-sections .sec { position: absolute; top: 0; padding: .26rem 0 0 3px; overflow-x: clip; white-space: nowrap;
  font-family: var(--body); font-size: .7rem; line-height: 1.2; letter-spacing: .02em; color: var(--muted); }
.tape-sections .sec::before { content: ""; position: absolute; top: 0; left: 1px; right: 2px; height: 4px;
  border: 1px solid var(--sec-line); border-top: 0; }
.tape-sections .sec:first-child::before { left: 0; }
.tape-sections .sec:last-child::before { right: 0; }
.tape-marks button:hover { color: var(--ink); }
.tape-marks button[aria-current="true"] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--signal); }

/* lightbox */
.lb { border: 0; padding: 0; margin: auto; background: var(--bg); color: var(--ink); max-width: none; max-height: none; width: 100%; height: 100%; }
.lb::backdrop { background: color-mix(in srgb, var(--bg) 94%, transparent); }
.lb-in { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; padding: 1rem var(--pad); }
.lb .frame { width: min(100%, calc((100svh - 9rem) * 4 / 3), 70rem); cursor: default; }
.lb .frame img { object-fit: contain; }
.lb .frame:not(.missing) { background: transparent; box-shadow: none; }
.lb .ph-empty { font-size: .85rem; inset: auto 1rem .9rem 1rem; }
.lb-bar { width: min(100%, calc((100svh - 9rem) * 4 / 3), 70rem); display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1rem; font-family: var(--body); }
.lb-cap { flex: 1 1 14rem; min-width: 0; font-family: var(--body); font-size: 1rem; color: var(--muted); }
.lb-n { font-size: .85rem; font-weight: 400; color: var(--muted); font-variant-numeric: lining-nums tabular-nums; }
.lb-bar button { font-weight: 400; font-size: .9rem; padding: .3rem .4rem; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.lb-bar button:disabled { color: var(--muted); text-decoration: none; cursor: default; opacity: .6; }

/* mid-size desktops */
@media (min-width: 861px) and (max-width: 1180px) {
  .tl-stage { grid-template-columns: minmax(220px, .4fr) minmax(0, 1.6fr); }
  .card { grid-template-columns: minmax(0, 1fr) minmax(0, .62fr); }
  .card .story { font-size: 1.02rem; }
  .card .proof li { font-size: .9rem; }
}
@media (min-width: 861px) and (max-height: 760px) {
  .card { max-width: 56rem; }
  .card .c-photos { max-width: 21rem; justify-self: end; width: 100%; }
}

/* ---------- phones: the route runs left to right in a compact band ---------- */
@media (max-width: 860px) {
  .tl-stage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto minmax(0, 1fr);
    grid-template-areas: "head" "tape" "map" "card";
    padding: .7rem var(--pad) .75rem;
  }
  .tl-head { padding-bottom: .1rem; }
  .tl-head .hint { display: none; }
  .tape { padding-top: .7rem; }
  .tape-marks { height: 1.65rem; }
  .tape-sections { height: 1rem; margin-top: 0; }
  .tape-sections .sec { font-size: .66rem; letter-spacing: .01em; padding-top: .22rem; }
  .tape-marks button { top: .12rem; font-size: .8rem; letter-spacing: .01em; padding: .2rem .2rem; }
  .map { height: 124px; margin: .1rem calc(-1 * var(--pad)) 0;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%); }
  .card-col { align-items: flex-start; padding-top: .6rem; }
  .card { grid-template-columns: minmax(0, 1fr); row-gap: .9rem; align-items: start; }
  .card .when { height: 1.35rem; font-size: .78rem; }
  .card .org { font-size: 1.38rem; margin-top: .2rem; }
  .card .role { font-size: 1rem; margin-top: .15rem; }
  .card .story { font-size: 1rem; line-height: 1.38; height: 4.14em; margin-top: .45rem; }
  .card .proof { margin-top: .5rem; gap: .3rem; }
  .card .proof li { font-size: .9rem; line-height: 1.34; height: 4.02em; padding-left: 1.15rem; -webkit-line-clamp: 3; }
  .card .proof li::before { width: 8px; height: 8px; }
  .card .links { margin-top: .5rem; height: 1.4rem; font-size: .84rem; }
  .card .photos { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: .45rem; }
  .card .ph-main { grid-column: 1; grid-row: 1 / 3; aspect-ratio: auto; height: 100%; }
  .card .ph-cap, .card .ph-t3 { display: none; }
  .card .ph-t3 .more-d { display: none; }
  .card .ph-t2 .more-m { display: flex; }
}
@media (forced-colors: active) {
  .shift button[aria-pressed="true"], .tape-marks button[aria-current="true"] { text-decoration: underline; text-decoration-thickness: 3px; }
  .tape-fill { background: Highlight; }
}
@media (max-width: 860px) and (max-height: 760px) {
  .tl-stage { padding-top: .45rem; padding-bottom: .5rem; }
  .tape { padding-top: .55rem; }
  .tape-marks { height: 1.45rem; }
  .map { height: 84px; }
  .card-col { padding-top: .45rem; }
  .card { row-gap: .6rem; }
  .card .org { font-size: 1.24rem; }
  .card .story { font-size: .95rem; margin-top: .35rem; }
  .card .proof { margin-top: .4rem; gap: .2rem; }
  .card .proof li { font-size: .86rem; }
  .card .links { margin-top: .35rem; }
  .card .photos { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto; gap: .4rem; }
  .card .ph-main { grid-row: auto; aspect-ratio: 4 / 3; height: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .hint { transition: none; }
  body, .top { transition: none; }
}
@media (max-width: 860px) {
  .photos.none .ph-main { grid-column: 1 / -1; grid-row: 1 / 3; aspect-ratio: 2 / 1; height: auto; }
  .photos.none .slot { display: none; }
}
/* landscape phones: too short for the stacked card, so text and photos sit side by side */
@media (max-width: 960px) and (max-height: 500px) and (orientation: landscape) {
  .tl-head { display: none; }
  .map { height: 52px; }
  .tape { padding-top: .35rem; }
  .tape-marks { height: 1.4rem; }
  .tape-sections { height: .9rem; }
  .card-col { padding-top: .35rem; }
  .card { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); column-gap: 1.25rem; align-items: start; }
  .card .when { height: 1.2rem; }
  .card .org { font-size: 1.1rem; height: 1.1em; margin-top: 0; }
  .card .org > span { -webkit-line-clamp: 1; }
  .card .role { font-size: .88rem; margin-top: 0; }
  .card .story { font-size: .88rem; line-height: 1.32; height: 2.64em; -webkit-line-clamp: 2; margin-top: .2rem; }
  .card .proof { margin-top: .25rem; gap: .1rem; }
  .card .proof li { font-size: .8rem; height: 2.5em; line-height: 1.25; -webkit-line-clamp: 2; }
  .card .links { margin-top: .2rem; font-size: .8rem; }
  .card .photos { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto; }
  .card .ph-main { grid-row: auto; aspect-ratio: 16 / 9; height: auto; }
}
