/* Marathons page + homepage race-day slideshow. Uses the tokens in tokens.css. */

/* ---------- shared bits ---------- */
.mm-dark { background: var(--screen); color: #F4EFE6; }
.mm-dark .eyebrow { color: #A79E93; }
.mm-dark h2, .mm-dark h3 { color: #fff; }
.mm-dark p { color: #D9D1C6; }
.mm-dark a { color: #fff; }
.mm-dark .btn { border-color: #fff; color: #fff; }
.mm-dark .btn:hover { background: #fff; color: var(--ink); }
.mm-dark .btn-primary { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.play-dot { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: rgba(255,255,255,.94); color: var(--ink); display: grid; place-items: center; box-shadow: 0 6px 24px rgba(0,0,0,.3); transition: transform .2s, background .2s; }
.play-dot svg { width: 22px; height: 22px; margin-left: 3px; }
.dur { position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,.7); color: #fff; font-size: .75rem; font-weight: 700; padding: .15em .5em; border-radius: 3px; letter-spacing: .04em; }

/* ---------- hero ---------- */
.mm-hero { padding-block: var(--s-6) var(--s-7); }
.mm-hero h1 { max-width: 20ch; }
.mm-hero .lede { max-width: 54ch; }
.mm-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; background: var(--paper); }
.mm-strip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 700px) { .mm-strip { grid-template-columns: repeat(3, 1fr); } .mm-strip img:nth-child(n+4) { display: none; } }
.races { padding-block: var(--s-5); border-bottom: 1px solid var(--line); }
.races p { margin: 0; text-align: center; color: var(--ink-2); font-size: var(--fs-1); line-height: 1.9; }
.races b { font-size: var(--fs-0); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-right: .8em; }

/* ---------- social-first verticals ---------- */
.reels { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 1fr); gap: var(--s-4); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--s-3); scrollbar-width: thin; }
.reel { position: relative; scroll-snap-align: start; border: 0; padding: 0; background: #000; cursor: pointer; border-radius: 14px; overflow: hidden; aspect-ratio: 9 / 16; color: inherit; font: inherit; text-align: left; }
.reel img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s; }
.reel:hover img, .reel:focus-visible img { transform: scale(1.04); opacity: .85; }
.reel:hover .play-dot, .reel:focus-visible .play-dot { background: var(--yellow); transform: scale(1.06); }
.reel .reel-title { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--s-6) var(--s-3) var(--s-3); background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff; font-weight: 700; font-size: var(--fs-1); line-height: 1.25; }
.reel .dur { top: 8px; bottom: auto; }
.scroll-hint { color: var(--mute); font-size: var(--fs-0); margin-top: var(--s-2); }

/* ---------- volunteer player ---------- */
.vol { display: grid; grid-template-columns: minmax(260px, 360px) minmax(0, 1fr); gap: var(--s-8); align-items: center; }
.phone { position: relative; aspect-ratio: 9 / 16; background: #000; border-radius: 28px; overflow: hidden; box-shadow: 0 0 0 8px #1b1917, 0 24px 60px rgba(0,0,0,.35); }
.phone > button { position: absolute; inset: 0; border: 0; padding: 0; background: #000; cursor: pointer; }
.phone > button img { width: 100%; height: 100%; object-fit: cover; }
.phone > button:hover .play-dot { background: var(--yellow); }
.phone iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.phone .who { position: absolute; left: var(--s-4); bottom: var(--s-4); color: #fff; font-family: var(--font-display); font-size: 1.6rem; text-shadow: 0 2px 12px rgba(0,0,0,.6); pointer-events: none; }
.names-list { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: var(--s-5) 0 var(--s-3); padding: 0; list-style: none; }
.names-list button { display: flex; align-items: center; gap: .55em; font: inherit; font-size: var(--fs-1); font-weight: 600; padding: .3em 1em .3em .3em; border-radius: var(--r-pill); border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.names-list button img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.names-list button:hover { border-color: var(--ink); }
.names-list button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.vol-nav { display: flex; gap: var(--s-2); margin-top: var(--s-4); }
@media (max-width: 820px) { .vol { grid-template-columns: 1fr; gap: var(--s-6); } .phone { max-width: 320px; margin-inline: auto; width: 100%; } }

/* ---------- longer films ---------- */
.films { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-7) var(--s-5); }
.films .film:first-child { grid-column: 1 / -1; }
.film button { position: relative; display: block; width: 100%; border: 0; padding: 0; background: #000; cursor: pointer; aspect-ratio: 16 / 9; overflow: hidden; }
.film button img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s; }
.film button:hover img { transform: scale(1.03); opacity: .88; }
.film button:hover .play-dot { background: var(--yellow); }
.film h3 { font-family: var(--font-body); font-size: var(--fs-2); font-weight: 600; line-height: 1.35; margin: var(--s-3) 0 var(--s-1); }
.film .kicker { display: block; font-size: var(--fs-0); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); font-weight: 600; margin-top: var(--s-3); }
.film p { font-size: var(--fs-1); color: var(--ink-2); margin: 0; }
@media (max-width: 700px) { .films { grid-template-columns: 1fr; } }

/* ---------- stills ---------- */
.mm-stills { columns: 3 260px; column-gap: 6px; }
.mm-stills button { display: block; width: 100%; border: 0; padding: 0; margin: 0 0 6px; background: #000; cursor: zoom-in; break-inside: avoid; }
.mm-stills img { width: 100%; height: auto; transition: opacity .25s; }
.mm-stills button:hover img { opacity: .88; }

/* ---------- lightbox / video modal ---------- */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(10,9,8,.96); display: none; align-items: center; justify-content: center; padding: 56px 16px 40px; }
.lb.is-open { display: flex; }
.lb-stage { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-video { position: relative; background: #000; width: min(100%, 1200px); aspect-ratio: 16 / 9; max-height: 100%; }
.lb-video.is-vertical { width: auto; height: min(100%, 88vh); aspect-ratio: 9 / 16; }
.lb-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lb-close { position: absolute; top: 12px; right: 12px; z-index: 2; background: rgba(255,255,255,.92); color: var(--ink); border: 0; border-radius: var(--r-pill); padding: .5em 1em; font: inherit; font-size: var(--fs-0); font-weight: 700; cursor: pointer; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); cursor: pointer; display: grid; place-items: center; z-index: 2; }
.lb-nav svg { width: 22px; height: 22px; }
.lb-nav.prev { left: 12px; } .lb-nav.next { right: 12px; }
.lb-count { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; color: #bbb; font-size: var(--fs-0); }
.lb-out { position: absolute; left: 12px; top: 12px; color: #ddd; font-size: var(--fs-0); font-weight: 600; text-decoration: none; background: rgba(255,255,255,.08); padding: .5em 1em; border-radius: var(--r-pill); }
.lb-out:hover { background: rgba(255,255,255,.18); color: #fff; }

/* ---------- quote ---------- */
.mm-quote { max-width: 860px; margin-inline: auto; text-align: center; }
.mm-quote blockquote { margin: 0; font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem, 1rem + 1.2vw, 1.9rem); line-height: 1.4; }
.mm-quote cite { display: block; margin-top: var(--s-4); font-style: normal; font-size: var(--fs-0); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--mute); }

/* ---------- stories (Instagram-style) ---------- */
.ig-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 340px); gap: var(--s-5); overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px var(--s-4); scrollbar-width: thin; }
.ig { scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.ig-head { display: flex; align-items: center; gap: .6em; padding: .7em .9em; font-size: var(--fs-1); }
.ig-avatar { width: 32px; height: 32px; border-radius: 50%; background: #111; color: #fff; display: grid; place-items: center; font-size: .62rem; font-weight: 800; letter-spacing: .04em; }
.ig-head b { font-weight: 700; }
.ig-head span { color: var(--mute); font-size: var(--fs-0); display: block; line-height: 1.2; }
.ig img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--paper-2); }
.ig-body { padding: .8em .9em 1em; font-size: var(--fs-1); line-height: 1.5; flex: 1; display: flex; flex-direction: column; }
.ig-body h3 { font-family: var(--font-body); font-size: var(--fs-1); font-weight: 700; margin: 0 0 .3em; }
.ig-body .clip { color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.ig-body .by { font-size: var(--fs-0); color: var(--mute); margin: .6em 0 0; }
.ig-body details { margin-top: auto; padding-top: .6em; }
.ig-body summary { cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; }
.ig-body summary::-webkit-details-marker { display: none; }
.ig-body summary::after { content: ' →'; }
.ig-body details[open] summary::after { content: ' ↑'; }
.ig-body details .full p { color: var(--ink-2); margin: .6em 0 0; }
.ig.is-placeholder { border-style: dashed; }
.ig.is-placeholder img { filter: grayscale(1) opacity(.35); }
.ph-flag { display: inline-block; background: var(--yellow); color: var(--ink); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .2em .6em; border-radius: var(--r-pill); }

/* ---------- note + forward ---------- */
.mm-note { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: var(--s-8); align-items: start; }
.mm-note .prose p { font-size: var(--fs-2); }
.mm-note aside { border-top: 1px solid var(--ink); padding-top: var(--s-4); font-size: var(--fs-1); color: var(--ink-2); }
.mm-note aside h3 { font-family: var(--font-body); font-size: var(--fs-0); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); font-weight: 600; }
@media (max-width: 820px) { .mm-note { grid-template-columns: 1fr; gap: var(--s-6); } }

/* ---------- homepage race-day slideshow ---------- */
.raceday { background: var(--screen); color: #F4EFE6; }
.raceday .wrap { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--s-7); align-items: center; padding-block: var(--s-8); }
.raceday .eyebrow { color: #A79E93; }
.raceday h2 { color: #fff; }
.raceday p { color: #D9D1C6; }
.raceday .more { color: #fff; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: .3em; }
.raceday .more:hover { color: var(--yellow); }
.rd-show { position: relative; aspect-ratio: 3 / 2; background: #000; overflow: hidden; }
.rd-show a { position: absolute; inset: 0; }
.rd-show img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.1s ease; }
.rd-show img.on { opacity: 1; }
.rd-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; z-index: 2; }
.rd-dots button { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 0; background: rgba(255,255,255,.45); cursor: pointer; }
.rd-dots button[aria-current="true"] { background: var(--yellow); }
.rd-ctrl { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); display: grid; place-items: center; cursor: pointer; opacity: 0; transition: opacity .2s; }
.rd-ctrl svg { width: 18px; height: 18px; }
.rd-show:hover .rd-ctrl, .rd-ctrl:focus-visible { opacity: 1; }
.rd-ctrl.prev { left: 10px; } .rd-ctrl.next { right: 10px; }
@media (hover: none) { .rd-ctrl { opacity: .85; } }
@media (max-width: 820px) { .raceday .wrap { grid-template-columns: 1fr; gap: var(--s-5); padding-block: var(--s-7); } .raceday .txt { order: 2; } }
@media (prefers-reduced-motion: reduce) { .rd-show img { transition: none; } }
@media (max-width: 700px) { #stories .section-head { flex-direction: column; align-items: start; gap: var(--s-3); } #stories .more { white-space: normal; } .cta-band .btn-row .btn { white-space: nowrap; } }
.mm-note .prose p.eyebrow { font-size: var(--fs-0); }
.phone-out { position: absolute; top: 12px; right: 12px; z-index: 3; background: rgba(0,0,0,.55); color: #fff; font-size: .75rem; font-weight: 700; padding: .3em .7em; border-radius: 999px; text-decoration: none; }
.phone-out:hover { background: var(--yellow); color: var(--ink); }
/* stills in Ben's sequence, left to right */
.mm-stills { columns: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mm-stills button { margin: 0; }
.mm-stills img { aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 900px) { .mm-stills { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .mm-stills { grid-template-columns: 1fr; } .mm-stills img { aspect-ratio: auto; } }
.mm-stills button:first-child { grid-column: 1 / -1; }
.mm-stills button:first-child img { aspect-ratio: 21 / 9; object-position: 50% 35%; }
@media (max-width: 560px) { .mm-stills button:first-child img { aspect-ratio: auto; } }
.lb-nav[hidden], .lb-out[hidden] { display: none; }

/* ---------- human touch: reporter's-notebook type, broken rhythm ---------- */
.dateline, .races p, .races b, .dur, .film .kicker, .ig-head span, .ig-body .by, .mm-quote cite, .mm-me figcaption, .lb-count, .scroll-hint {
  font-family: 'IBM Plex Mono', ui-monospace, Menlo, monospace; letter-spacing: 0; text-transform: none;
}
.dateline { font-size: .82rem; color: var(--mute); margin: 0 0 var(--s-3); }
.dateline::before { content: '— '; }
.mm-dark .dateline, .raceday .dateline { color: #A79E93; }
.races p { font-size: .85rem; }
.races b { font-weight: 500; font-size: .85rem; }
.film .kicker { font-size: .78rem; }
.mm-quote cite { font-size: .8rem; }

/* hero: words left, Ben right, a little off the grid */
.mm-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-7); align-items: end; }
.mm-hero h1 { max-width: 16ch; }
.mm-me { margin: 0 0 calc(var(--s-7) * -1); position: relative; z-index: 2; transform: translateY(var(--s-6)); }
.mm-me img { width: 100%; box-shadow: 0 18px 50px rgba(0,0,0,.18); }
.mm-me figcaption { font-size: .78rem; color: var(--mute); margin-top: var(--s-2); }
@media (max-width: 820px) { .mm-hero-grid { grid-template-columns: 1fr; } .mm-me { transform: none; margin: 0; max-width: 420px; } }

/* social: heading sits tight, no label stack */
#films h2 { margin-bottom: var(--s-3); }

/* films: uneven grid instead of matching pairs */
.films-h { margin-bottom: var(--s-6); }
.films { grid-template-columns: repeat(6, 1fr); gap: var(--s-6) var(--s-5); }
.films .film { grid-column: span 3; }
.films .film:nth-child(1) { grid-column: 1 / -1; }
.films .film:nth-child(2) { grid-column: span 4; }
.films .film:nth-child(3) { grid-column: span 2; }
.films .film:nth-child(4), .films .film:nth-child(5) { grid-column: span 3; }
.films .film:nth-child(6) { grid-column: span 2; }
.films .film:nth-child(7) { grid-column: span 4; }
.films .film:nth-child(3) h3, .films .film:nth-child(6) h3 { font-size: var(--fs-1); }
@media (max-width: 700px) { .films .film, .films .film:nth-child(n) { grid-column: 1 / -1; } }

/* stills: Ben's order, varied row widths */
.stills-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-6); align-items: end; margin-bottom: var(--s-6); }
.stills-head h2 { margin: 0; font-size: var(--fs-5); }
.stills-head p { margin: 0; max-width: 40ch; justify-self: end; }
.mm-stills { grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(150px, 19vw, 270px); }
.mm-stills button { grid-column: span 2; height: 100%; }
.mm-stills button.s3 { grid-column: span 3; }
.mm-stills button.s6, .mm-stills button:first-child { grid-column: 1 / -1; grid-row: span 2; }
.mm-stills img, .mm-stills button:first-child img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 50% 35%; }
@media (max-width: 820px) { .stills-head { grid-template-columns: 1fr; } .stills-head p { justify-self: start; } }
@media (max-width: 560px) { .mm-stills { grid-template-columns: 1fr; grid-auto-rows: auto; } .mm-stills button, .mm-stills button.s3, .mm-stills button.s6, .mm-stills button:first-child { grid-column: 1; grid-row: auto; height: auto; } .mm-stills img, .mm-stills button:first-child img { height: auto; aspect-ratio: auto; } }

/* high-five photo bleeds full width before the note */
.mm-hi5 { margin: 0 0 var(--s-7); }
.mm-hi5 img { width: 100%; max-height: 78vh; object-fit: cover; object-position: 40% 40%; }
.mm-note { align-items: start; }
.mm-note aside { margin-top: var(--s-9); }
@media (max-width: 820px) { .mm-note aside { margin-top: 0; } }
.mm-me { transform: none; margin: 0; }
.mm-hero { padding-bottom: var(--s-6); }
.mm-note aside h3 { font-family: 'IBM Plex Mono', ui-monospace, monospace; text-transform: none; letter-spacing: 0; font-weight: 500; font-size: .82rem; }

/* ===== v3 layout ===== */
.mm-banner { position: relative; height: clamp(220px, 32vw, 500px); background: #111; overflow: hidden; }
.mm-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease; }
.mm-banner img.on { opacity: 1; }
.mm-hero { padding-block: var(--s-7) var(--s-6); }
.mm-hero h1 { max-width: 22ch; }
.mm-hero .lede { max-width: 60ch; }

/* phone players */
.pp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 330px); gap: var(--s-8); align-items: center; }
.pp-vol { grid-template-columns: minmax(240px, 330px) minmax(0, 1fr); }
.pp .phone { width: 100%; }
.pp .pp-text > p:not(.dateline) { color: var(--ink-2); max-width: 56ch; }
.pp-list { list-style: none; margin: var(--s-5) 0 var(--s-3); padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-2); }
.pp-list button { font: inherit; cursor: pointer; }
.vol-list button { display: flex; align-items: center; gap: .55em; font-size: var(--fs-1); font-weight: 600; padding: .3em 1em .3em .3em; border-radius: var(--r-pill); border: 1.5px solid var(--line); background: #fff; color: var(--ink); }
.vol-list button img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.vol-list button:hover { border-color: var(--ink); }
.vol-list button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.il-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--s-3); }
.il-list button { display: flex; align-items: center; gap: .7em; width: 100%; text-align: left; padding: 6px; border: 0; border-left: 3px solid transparent; background: transparent; color: var(--ink); }
.il-list button img { width: 40px; aspect-ratio: 9 / 16; height: auto; object-fit: cover; border-radius: 4px; flex: none; }
.il-list button b { display: block; font-size: var(--fs-1); font-weight: 600; line-height: 1.25; }
.il-list button i { font-style: normal; font-family: 'IBM Plex Mono', monospace; font-size: .75rem; color: var(--mute); }
.il-list button:hover { background: var(--paper-2); }
.il-list button[aria-pressed="true"] { border-left-color: var(--yellow); background: var(--paper-2); }
.pp-il .phone { border-radius: 22px; box-shadow: 0 0 0 6px #E8E1D6, 0 24px 60px rgba(0,0,0,.25); transform: rotate(1.5deg); }
@media (max-width: 860px) {
  .pp, .pp-vol { grid-template-columns: 1fr; gap: var(--s-6); }
  .pp .phone { max-width: 300px; margin-inline: auto; transform: none; }
  .pp-vol .phone { order: 2; } .pp-vol .pp-text { order: 1; }
  .il-list { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 150px; overflow-x: auto; }
}

/* film player */
.films-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--s-6); align-items: end; margin-bottom: var(--s-6); }
.films-head h2 { margin: 0; }
.films-head p { margin: 0; color: var(--ink-2); }
.fp { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(260px, 1fr); gap: var(--s-5); align-items: start; }
.fp-screen { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.fp-screen iframe, .fp-start { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; background: #000; cursor: pointer; }
.fp-start img { width: 100%; height: 100%; object-fit: cover; }
.fp-start:hover .play-dot { background: var(--yellow); }
.fp-kicker { font-family: 'IBM Plex Mono', monospace; font-size: .78rem; color: var(--mute); margin: var(--s-3) 0 var(--s-1); }
.fp-title { font-family: var(--font-body); font-size: var(--fs-2); font-weight: 600; margin: 0 0 var(--s-1); }
.fp-desc { font-size: var(--fs-1); color: var(--ink-2); margin: 0; }
.fp-list { list-style: none; margin: 0; padding: 0; max-height: min(560px, 42vw); overflow-y: auto; border-top: 1px solid var(--line); }
.fp-list button { display: flex; gap: .8em; align-items: center; width: 100%; text-align: left; padding: 10px 6px; border: 0; border-bottom: 1px solid var(--line); background: transparent; font: inherit; color: var(--ink); cursor: pointer; }
.fp-list img { width: 104px; aspect-ratio: 16 / 9; height: auto; object-fit: cover; flex: none; }
.fp-list b { display: block; font-size: .95rem; font-weight: 600; line-height: 1.3; }
.fp-list i { font-style: normal; font-family: 'IBM Plex Mono', monospace; font-size: .72rem; color: var(--mute); }
.fp-list button:hover { background: var(--paper-2); }
.fp-list button[aria-pressed="true"] { background: var(--paper-2); box-shadow: inset 3px 0 0 var(--yellow); }
@media (max-width: 860px) { .films-head, .fp { grid-template-columns: 1fr; } .fp-list { max-height: 420px; } }

/* photo teaser + full-screen gallery */
.mm-teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: var(--s-7); align-items: center; }
.mm-teaser h2 { margin-bottom: var(--s-3); }
.mosaic { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.mosaic img { width: 100%; aspect-ratio: 1; object-fit: cover; opacity: .9; transition: opacity .2s; }
.mosaic:hover img { opacity: 1; }
@media (max-width: 760px) { .mm-teaser { grid-template-columns: 1fr; gap: var(--s-5); } }
.mm-gal { position: fixed; inset: 0; z-index: 90; background: #0c0b0a; overflow-y: auto; padding-bottom: var(--s-8); }
.mm-gal[hidden] { display: none; }
.gal-bar { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); padding: 12px var(--gutter); background: rgba(12,11,10,.92); color: #bbb; font-family: 'IBM Plex Mono', monospace; font-size: .8rem; margin-bottom: var(--s-4); }
.gal-close { background: rgba(255,255,255,.92); color: var(--ink); border: 0; border-radius: var(--r-pill); padding: .5em 1em; font: inherit; font-weight: 700; cursor: pointer; }
.mm-gal .mm-stills { grid-auto-rows: clamp(150px, 21vw, 320px); }
.lb { z-index: 100; }

/* closer: no top section padding above the big photo */
.mm-closer { padding-bottom: var(--s-8); }
.pp > * { min-width: 0; }
@media (max-width: 860px) { .pp, .pp-vol { grid-template-columns: minmax(0, 1fr); } }
.mm-hero-grid { align-items: center; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.mm-me { transform: rotate(-1.2deg); margin: 0; }
.mm-me img { box-shadow: 0 0 0 8px #fff, 0 18px 40px rgba(0,0,0,.18); }
.mm-me figcaption { margin-top: var(--s-3); }
@media (max-width: 820px) { .mm-me { transform: none; max-width: 340px; } }

/* banner v2: two full frames side by side */
.mm-banner { height: auto; aspect-ratio: 32 / 9; }
.mm-banner .pair { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; opacity: 0; transition: opacity 1.6s ease; background: var(--paper); }
.mm-banner .pair.on { opacity: 1; }
.mm-banner .pair img { position: static; width: 100%; height: 100%; object-fit: cover; opacity: 1; transition: none; }
@media (max-width: 600px) { .mm-banner { aspect-ratio: 16 / 9; } .mm-banner .pair { grid-template-columns: 1fr; } .mm-banner .pair img:nth-child(2) { display: none; } }
.mm-hero .lede + .lede { margin-top: var(--s-3); }
.mm-hero .lede { font-size: var(--fs-2); }
.mm-hero .lede:first-of-type { font-size: var(--fs-3); }

/* Illinois shot list */
.il-list { display: block; grid-template-columns: none; border-top: 1px solid var(--line); max-width: 520px; margin-top: var(--s-5); }
.il-list li { border-bottom: 1px solid var(--line); }
.il-list button { display: grid; grid-template-columns: 3.2rem 1fr auto 0; align-items: center; gap: var(--s-3); width: 100%; padding: 10px 8px; border: 0; background: transparent; text-align: left; color: var(--ink); transition: background .15s, grid-template-columns .25s; }
.il-list .sl-n { font-family: var(--font-display); font-style: italic; font-size: 1.7rem; line-height: 1; color: var(--mute); transition: color .15s; }
.il-list .sl-t { font-weight: 600; font-size: var(--fs-2); }
.il-list .sl-d { font-family: 'IBM Plex Mono', monospace; font-size: .78rem; color: var(--mute); }
.il-list button img { width: 0; height: 52px; aspect-ratio: auto; border-radius: 3px; object-fit: cover; opacity: 0; transition: width .25s, opacity .25s; }
.il-list button:hover, .il-list button[aria-pressed="true"] { background: var(--paper-2); grid-template-columns: 3.2rem 1fr auto 30px; }
.il-list button:hover img, .il-list button[aria-pressed="true"] img { width: 30px; opacity: 1; }
.il-list button:hover .sl-n, .il-list button[aria-pressed="true"] .sl-n { color: var(--yellow-text); }
.il-list button[aria-pressed="true"] { box-shadow: inset 3px 0 0 var(--yellow); }
@media (max-width: 860px) { .il-list { display: block; grid-auto-flow: row; overflow: visible; } }
.ig-link { display: inline-flex; align-items: center; gap: .45em; }
#stories .section-head h2 { max-width: 20ch; }

/* v4: small portrait + Nishi, unified social section */
.mm-hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 3.2fr); align-items: start; }
.mm-side { max-width: 270px; justify-self: end; padding-top: var(--s-4); }
.mm-me { max-width: 210px; transform: rotate(-1.5deg); }
.mm-me img { box-shadow: 0 0 0 6px #fff, 0 12px 30px rgba(0,0,0,.16); }
.mm-nishi { margin: var(--s-6) 0 0; border-left: 3px solid var(--yellow); padding-left: var(--s-4); }
.mm-nishi p { font-family: var(--font-display); font-style: italic; font-size: 1.02rem; line-height: 1.5; color: var(--ink); margin: 0 0 var(--s-2); }
.mm-nishi cite { font-family: 'IBM Plex Mono', monospace; font-style: normal; font-size: .74rem; color: var(--mute); }
@media (max-width: 820px) { .mm-side { justify-self: start; max-width: 420px; display: grid; grid-template-columns: 140px 1fr; gap: var(--s-5); align-items: center; } .mm-nishi { margin: 0; } }
.mm-social .social-head { max-width: 760px; margin-bottom: var(--s-7); }
.mm-social .social-head h2 { font-size: var(--fs-5); margin-bottom: var(--s-3); }
.mm-social .social-head p:not(.dateline) { color: var(--ink-2); font-size: var(--fs-2); }
.mm-social .pp + .pp { margin-top: var(--s-8); padding-top: var(--s-8); border-top: 1px solid var(--line); }
.chap-n { font-family: var(--font-display); font-style: italic; font-size: 2.4rem; line-height: 1; color: var(--yellow-text); margin: 0 0 var(--s-2); }
.pp-text h3 { font-size: var(--fs-4); margin-bottom: var(--s-3); }
.mm-social .il-list button:hover, .mm-social .il-list button[aria-pressed="true"] { background: #fff; }
.mm-social .pp-il .phone { box-shadow: 0 0 0 6px #fff, 0 24px 60px rgba(0,0,0,.25); }
.mm-hero-grid > * { min-width: 0; }
@media (max-width: 820px) { .mm-hero-grid { grid-template-columns: minmax(0, 1fr); } .mm-side { grid-template-columns: 110px minmax(0, 1fr); max-width: 100%; } .mm-me { max-width: 110px; } }
.mm-social .social-head { max-width: none; }
.mm-social .social-head > * { max-width: 760px; }
