/* Layout: full-bleed photo hero with a counting ledger, a pinned career journey (sticky photo + scrolling chapters), then a parallax photo reel and a close. */
:root {
  --bg: #f3f5f6;
  --surface: #ffffff;
  --ink: #0e1b2a;
  --muted: #4c5a69;
  --rule: #d5dce2;
  --accent: #1f4fd1;
  --btn-bg: #1f4fd1;
  --band: #0e1b2a;
  --band-ink: #e9eef3;
  --band-muted: #a9b9ca;
  --band-rule: #2a3a4d;
  --display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --body: "Public Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --max: 1120px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b141e; --surface: #111d2a; --ink: #e8edf2; --muted: #9aa9b8; --rule: #233345;
    --accent: #7c9dff; --btn-bg: #3a5fe0;
    --band: #101e2f; --band-ink: #e8edf2; --band-muted: #a9b9ca; --band-rule: #2c405a;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b141e; --surface: #111d2a; --ink: #e8edf2; --muted: #9aa9b8; --rule: #233345;
  --accent: #7c9dff; --btn-bg: #3a5fe0;
  --band: #101e2f; --band-ink: #e8edf2; --band-muted: #a9b9ca; --band-rule: #2c405a;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 720px) { .wrap { padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); } }
.label { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.num { font-variant-numeric: tabular-nums lining-nums; }

/* Scroll progress */
.progress { position: fixed; left: 0; right: 0; top: env(safe-area-inset-top, 0px); height: 3px; z-index: 40; background: transparent; }
.progress i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }

/* Header */
header.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { font-family: var(--display); font-size: 1.25rem; text-decoration: none; white-space: nowrap; }
nav.links { display: flex; gap: 24px; align-items: center; font-size: 0.9375rem; }
nav.links a { text-decoration: none; color: var(--muted); }
nav.links a:hover { color: var(--ink); }
nav.links a.btn-primary, nav.links a.btn-primary:hover { color: #fff; }
@media (max-width: 640px) { nav.links .hide-sm { display: none; } }
.tag { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--rule); border-radius: 999px; padding: 3px 10px; color: var(--muted); white-space: nowrap; }

.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--body); font-weight: 600; font-size: 0.9375rem; padding: 12px 20px; border-radius: 999px; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .2s var(--ease), border-color .2s; }
.btn .arr { display: inline-block; transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--btn-bg); color: #fff; }
.btn-primary:hover { transform: translateY(-1px); }
.btn-ghost { border-color: var(--rule); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: 8px 14px; font-size: 0.875rem; }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; background: #0b1622; color: #f1f5f9; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background: url('../images/davos.jpg') 72% 30% / cover no-repeat; transform-origin: 70% 40%; animation: drift 16s var(--ease) both; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,16,26,.92) 0%, rgba(8,16,26,.78) 45%, rgba(8,16,26,.35) 100%); }
@media (max-width: 899px) { .hero::before { background: linear-gradient(180deg, rgba(8,16,26,.72), rgba(8,16,26,.92)); } }
@keyframes drift { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero .wrap { display: grid; gap: 48px; padding-block: 72px 80px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: end; padding-block: 120px 96px; } }
.hero .label { color: #b9c6d4; }
.hero h1 { font-size: clamp(2.6rem, 6.5vw, 5rem); line-height: 1.04; margin-top: 20px; }
.hero h1 em { font-style: italic; color: #a9bdff; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.w > span { display: inline-block; transform: translateY(105%); animation: rise .95s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms + 150ms); }
@keyframes rise { to { transform: none; } }
.hero .lede { margin-top: 28px; max-width: 34em; font-size: 1.1875rem; color: #d3dce5; animation: lift 1s var(--ease) .9s both; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; animation: lift 1s var(--ease) 1.1s both; }
.hero .btn-ghost { color: #f1f5f9; border-color: rgba(241,245,249,.45); }
.hero .btn-ghost:hover { border-color: #f1f5f9; }
@keyframes lift { from { transform: translateY(16px); } to { transform: none; } }

.ledger { background: color-mix(in srgb, #0b1622 72%, transparent); border: 1px solid rgba(241,245,249,.18); border-radius: 4px; padding: 8px 24px; min-width: 0; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #f1f5f9; animation: lift 1s var(--ease) .7s both; }
.ledger-head { display: flex; justify-content: space-between; padding-block: 14px 6px; }
.ledger-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-block: 16px; border-bottom: 1px solid rgba(241,245,249,.16); }
.ledger-row:last-child { border-bottom: 0; }
.ledger-row .k { color: #c5d1dd; font-size: 0.9375rem; }
.ledger-row .v { font-family: var(--display); font-size: 2.25rem; line-height: 1; white-space: nowrap; }

.cue { position: absolute; left: 50%; bottom: 18px; width: 1px; height: 36px; background: rgba(241,245,249,.25); overflow: hidden; }
.cue::after { content: ""; position: absolute; left: 0; top: -100%; width: 1px; height: 100%; background: #f1f5f9; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }
@media (max-width: 899px) { .cue { display: none; } }

/* Marquee */
.orgs { border-block: 1px solid var(--rule); overflow: hidden; }
.orgs .wrap { display: flex; align-items: center; gap: 28px; padding-block: 22px; }
.orgs .label { flex: none; }
.marquee { overflow: hidden; min-width: 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: slide 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--display); font-size: 1.375rem; color: var(--muted); white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Journey */
.journey { background: var(--band); color: var(--band-ink); }
.journey .label { color: var(--band-muted); }
.j-head { padding-top: 96px; display: grid; gap: 16px; }
.j-head h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); line-height: 1.08; max-width: 14em; }
.j-head p { color: var(--band-muted); max-width: 36em; }
.j-grid { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); padding-block: 56px 96px; }
@media (min-width: 900px) { .j-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 72px; } }
.j-side { min-width: 0; }
@media (min-width: 900px) { .j-side { position: sticky; top: calc(90px + env(safe-area-inset-top, 0px)); align-self: start; } }
.j-photo { position: relative; aspect-ratio: 4 / 5; max-height: 62vh; border-radius: 4px; overflow: hidden; background: #0b1622; width: 100%; }
@media (max-width: 899px) { .j-photo { aspect-ratio: 3 / 2; max-height: none; } }
.j-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .8s var(--ease), transform 1.4s var(--ease); }
.j-photo img.on { opacity: 1; transform: none; }
.j-meta { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
.j-rail { position: relative; flex: 1; height: 2px; background: var(--band-rule); }
.j-rail i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.j-now { font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--band-muted); white-space: nowrap; }
.chapters { display: grid; gap: 0; min-width: 0; }
.chapter { padding-block: 40px; border-top: 1px solid var(--band-rule); min-height: 52vh; display: grid; align-content: center; gap: 14px; opacity: .55; transition: opacity .5s var(--ease); }
@media (max-width: 899px) { .chapter { min-height: 0; opacity: 1; } }
.chapter.on { opacity: 1; }
.chapter .step { font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--band-muted); }
.chapter h3 { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.12; }
.chapter p { color: var(--band-muted); max-width: 32em; }
.stats { display: flex; flex-wrap: wrap; gap: 28px 40px; margin-top: 8px; }
.stat .big { font-family: var(--display); font-size: clamp(2.5rem, 5vw, 3.75rem); line-height: 1; color: var(--band-ink); }
.stat .cap { font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--band-muted); margin-top: 6px; }

/* Davos run */
section.block .wrap { padding-block: 88px; }
.section-head { display: grid; gap: 16px; margin-bottom: 40px; }
@media (min-width: 900px) { .section-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); align-items: end; } }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); line-height: 1.08; }
.section-head p { color: var(--muted); max-width: 36em; }
.davos { overflow-x: auto; }
.davos-track { display: grid; grid-template-columns: repeat(12, minmax(44px, 1fr)); gap: 4px; min-width: 560px; align-items: end; }
.yr { display: grid; gap: 8px; text-align: center; align-items: end; }
.yr .bar { height: 56px; border-radius: 2px; background: var(--accent); transform-origin: bottom; }
.yr.att .bar { background: color-mix(in srgb, var(--accent) 38%, var(--rule)); }
.yr .y { font-family: var(--mono); font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.davos-key { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 14px; font-size: .875rem; color: var(--muted); }
.davos-key i { display: inline-block; width: 14px; height: 10px; border-radius: 2px; margin-right: 8px; vertical-align: middle; }
html.js .davos:not(.go) .bar { transform: scaleY(.08); }
html.js .davos .bar { transition: transform .7s var(--ease); transition-delay: calc(var(--i) * 70ms); }

/* Reel */
.reel-wrap { border-top: 1px solid var(--rule); }
.reel { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 max(16px, env(safe-area-inset-left, 0px)) 24px; scrollbar-width: thin; }
@media (min-width: 720px) { .reel { padding-left: max(40px, calc((100vw - var(--max)) / 2 + 40px)); padding-right: 40px; } }
.shot { position: relative; flex: none; width: min(72vw, 340px); aspect-ratio: 4 / 5; border-radius: 4px; overflow: hidden; scroll-snap-align: start; background: var(--band); margin: 0; color: #fff; }
.shot img { position: absolute; top: 0; left: -8%; width: 116%; height: 100%; object-fit: cover; will-change: transform; }
.shot figcaption { position: absolute; inset: auto 0 0 0; padding: 44px 14px 12px; background: linear-gradient(to top, rgba(6,12,20,.88), rgba(6,12,20,0)); display: grid; gap: 2px; }
.shot .cap-k { font-family: var(--mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.shot .cap-t { font-family: var(--display); font-size: 1.125rem; line-height: 1.25; }

/* Offers + close */
.offers { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 820px) { .offers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.offer { border: 1px solid var(--rule); background: var(--surface); border-radius: 4px; padding: 32px; display: grid; gap: 14px; align-content: start; transition: transform .35s var(--ease), border-color .2s; }
.offer:hover { transform: translateY(-4px); border-color: var(--ink); }
.offer h3 { font-size: 1.75rem; }
.offer ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; color: var(--muted); }
.offer p { color: var(--muted); }
.close { background: var(--surface); border: 1px solid var(--rule); border-radius: 4px; padding: clamp(24px, 5vw, 56px); display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 900px) { .close { grid-template-columns: minmax(0, 1.4fr) 240px; } }
.close h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); line-height: 1.08; }
.close p { margin-top: 16px; color: var(--muted); max-width: 30em; }
.close .btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.portrait { width: 100%; max-width: 240px; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 25%; border-radius: 4px; border: 1px solid var(--rule); display: block; }

footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 32px 48px; color: var(--muted); font-size: .875rem; border-top: 1px solid var(--rule); }

/* Scroll reveals: transform only, so text is always visible */
html.js .rv { transform: translateY(26px); transition: transform .9s var(--ease); }
html.js .rv.in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg, .w > span, .hero .lede, .hero .ctas, .ledger, .cue::after, .marquee-track { animation: none; }
  .w > span { transform: none; }
  html.js .rv, html.js .davos .bar, .j-photo img, .chapter { transition: none; }
  html.js .rv { transform: none; }
  html.js .davos:not(.go) .bar { transform: none; }
  .chapter { opacity: 1; }
}
/* Services */
.services { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--rule); }
@media (min-width: 720px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .services { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.service { padding: 28px 24px 32px 0; border-bottom: 1px solid var(--rule); display: grid; gap: 10px; align-content: start; }
@media (min-width: 720px) { .service { padding-right: 32px; } }
.service h3 { font-size: 1.5rem; }
.service p { color: var(--muted); }

/* Track record */
.roles { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.role { display: grid; gap: 8px 32px; padding-block: 28px; border-bottom: 1px solid var(--rule); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .role { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); } }
.role .org-name { font-family: var(--display); font-size: 1.5rem; line-height: 1.2; }
.role .title { font-family: var(--mono); font-size: 0.8125rem; color: var(--muted); letter-spacing: 0.02em; margin-top: 4px; }
.role p { max-width: 40em; }
.role .figs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.fig { font-family: var(--mono); font-size: 0.8125rem; border: 1px solid var(--rule); border-radius: 999px; padding: 3px 10px; font-variant-numeric: tabular-nums; }

.creds { display: grid; gap: 24px; margin-top: 48px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .creds { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cred { background: var(--surface); border: 1px solid var(--rule); border-radius: 4px; padding: 24px; display: grid; gap: 12px; align-content: start; }
.cred ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cred li { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cred li .d { color: var(--muted); font-size: 0.9375rem; }
.cred .big { font-family: var(--display); font-size: 1.25rem; }

/* Speaking */
.talks { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 820px) { .talks { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
.talk { border-top: 1px solid var(--ink); padding-top: 20px; display: grid; gap: 10px; align-content: start; }
.talk h3 { font-size: 1.625rem; line-height: 1.2; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; }

/* Speaking engagements */
.engagements { margin-top: 56px; }
.eng-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.eng-list li { display: grid; gap: 4px 24px; padding-block: 16px; border-bottom: 1px solid var(--rule); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 820px) { .eng-list li { grid-template-columns: 11rem minmax(0, 1fr) minmax(0, 15rem); align-items: baseline; } }
.eng-date { font-family: var(--mono); font-size: 0.8125rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.eng-event { font-family: var(--display); font-size: 1.25rem; line-height: 1.3; }
.eng-event a, .press-list a { text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 4px; }
.eng-event a:hover, .press-list a:hover { text-decoration-color: var(--accent); }
.eng-role { color: var(--muted); font-size: 0.9375rem; }
@media (min-width: 820px) { .eng-role { text-align: right; } }

/* Press */
.press-cols { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .press-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; } }
.press-col { min-width: 0; }
.press-list { list-style: none; margin: 12px 0 0; padding: 0; border-top: 1px solid var(--ink); }
.press-list li { display: grid; gap: 4px; padding-block: 16px; border-bottom: 1px solid var(--rule); }
.press-list a { font-family: var(--display); font-size: 1.1875rem; line-height: 1.3; }
.press-list span { color: var(--muted); font-size: 0.875rem; }

/* Featured gallery */
.gallery { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 820px) {
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 300px; }
  .gallery .wide { grid-column: span 2; }
  .gallery .tall-row { grid-row: span 1; }
}
.tile { position: relative; display: block; overflow: hidden; border-radius: 4px; background: var(--band); text-decoration: none; color: #fff; min-width: 0; aspect-ratio: 4 / 3; max-width: 100%; }
@media (min-width: 820px) { .tile { aspect-ratio: auto; height: 100%; } }
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.tile.contain img { object-fit: contain; }
.tile:hover img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .tile img { transition: none; } .tile:hover img { transform: none; } }
.tile figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; background: linear-gradient(to top, rgba(6, 12, 20, .88), rgba(6, 12, 20, 0)); display: grid; gap: 2px; }
.tile .cap-k { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.tile .cap-t { font-family: var(--display); font-size: 1.1875rem; line-height: 1.25; color: #fff; }

.stages-head { margin-top: 56px; margin-bottom: 16px; }
.stages { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .stages { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { margin: 0; display: grid; gap: 10px; align-content: start; min-width: 0; font-size: 0.9375rem; line-height: 1.35; }
.card img { width: 100%; aspect-ratio: 4 / 5; object-fit: contain; background: var(--surface); border: 1px solid var(--rule); border-radius: 4px; display: block; max-width: 100%; }
.card.span2 { grid-column: span 2; }
.card.span2 img { aspect-ratio: 904 / 501; object-fit: cover; }
.card .cap-k { display: block; font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }

/* More moments: grouped photo grids */
.group-head { margin-top: 64px; margin-bottom: 16px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.group-head h3 { font-size: 1.5rem; }
.mgrid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 820px) { .mgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.m { position: relative; margin: 0; overflow: hidden; border-radius: 4px; background: var(--band); aspect-ratio: 4 / 5; min-width: 0; color: #fff; }
.m img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.m:hover img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .m img { transition: none; } .m:hover img { transform: none; } }
.m.wide, .m.lead { grid-column: span 2; aspect-ratio: 3 / 2; }
@media (min-width: 820px) {
  .m.wide { aspect-ratio: auto; }
  .m.lead { grid-column: auto; aspect-ratio: 4 / 5; }
}
.m figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 14px 12px; background: linear-gradient(to top, rgba(6, 12, 20, .88), rgba(6, 12, 20, 0)); display: grid; gap: 2px; }
.m .cap-k { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.m .cap-t { font-family: var(--display); font-size: 1.125rem; line-height: 1.25; color: #fff; }


/* Motion on carried-over content */
.press-list li, .eng-list li { transition: padding-left .35s var(--ease); }
.press-list li:hover, .eng-list li:hover { padding-left: 10px; }
.service { transition: transform .35s var(--ease); }
.service:hover { transform: translateY(-3px); }
.tile, .card img { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card:hover img { transform: translateY(-4px); }

/* Lower carousels + interactive link cards */
a.shot { display: block; text-decoration: none; }
.shot.wide { width: min(86vw, 520px); aspect-ratio: 3 / 2; }
.shot figure.fill { position: absolute; inset: 0; margin: 0; }
.reel { padding-bottom: 12px; }
.arrows { display: flex; gap: 8px; justify-content: flex-end; max-width: var(--max); margin: 0 auto 8px; padding: 0 max(16px, env(safe-area-inset-right, 0px)); }
.arrows button { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--rule); background: var(--surface); color: var(--ink); font-size: 1.1rem; cursor: pointer; transition: border-color .2s, transform .2s var(--ease); }
.arrows button:hover { border-color: var(--accent); transform: translateY(-2px); }
#featured .reel, #moments .reel, #network .reel { margin-inline: calc(50% - 50vw); padding-left: max(16px, calc((100vw - var(--max)) / 2 + 16px)); scroll-padding-left: max(16px, calc((100vw - var(--max)) / 2 + 16px)); padding-right: 16px; }
.reel { scroll-padding-left: max(16px, env(safe-area-inset-left, 0px)); }
#moments .group-head { margin-top: 56px; }

.press-list, .eng-list { border-top: 0; display: grid; gap: 12px; margin-top: 14px; }
.press-list li, .eng-list li { position: relative; padding: 18px 52px 18px 20px; border: 1px solid var(--rule); border-radius: 10px; background: var(--surface); transition: transform .3s var(--ease), border-color .2s, box-shadow .3s var(--ease); }
.press-list li:hover, .eng-list li:hover { padding-left: 20px; transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 12px 28px -16px rgba(14, 27, 42, .45); }
.press-list li:not(:has(a)):hover, .eng-list li:not(:has(a)):hover { transform: none; border-color: var(--rule); box-shadow: none; }
.press-list li a::after, .eng-list li a::after { content: ""; position: absolute; inset: 0; border-radius: 10px; }
.press-list li:has(a)::after, .eng-list li:has(a)::after { content: "\2197"; position: absolute; right: 18px; top: 16px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 999px; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); font-size: .95rem; transition: transform .3s var(--ease), background .2s, color .2s; }
.press-list li:hover::after, .eng-list li:hover::after { transform: translate(3px, -3px); background: var(--accent); color: #fff; }
.press-list a, .eng-list a { text-decoration: none; }
.press-list a:hover, .eng-list a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.chip { display: inline-flex; align-items: center; gap: 6px; width: fit-content; font-family: var(--mono); font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: inline-block; }
.chip.video i { border-radius: 0; width: 0; height: 0; background: none; border-left: 8px solid var(--accent); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.eng-date { font-family: var(--mono); font-size: .75rem; letter-spacing: .04em; color: var(--accent); }

/* Press tiles */
.prows { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
.prow { min-width: 0; }
.prow .label { margin-bottom: 14px; }
.ptrack { display: flex; gap: 16px; overflow-x: auto; padding: 4px 0 18px; margin-inline: calc(50% - 50vw); padding-left: max(16px, calc((100vw - var(--max)) / 2 + 16px)); padding-right: 16px; scrollbar-width: none; }
.ptrack::-webkit-scrollbar { display: none; }
.ptile { position: relative; flex: none; width: min(78vw, 300px); min-height: 220px; display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 14px; border: 1px solid var(--rule); background: var(--surface); color: var(--ink); text-decoration: none; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .2s; }
.ptile:hover, .ptile:focus-visible { transform: translateY(-6px) rotate(-.4deg); border-color: var(--accent); box-shadow: 0 22px 40px -22px rgba(14,27,42,.55); }
.ptile .pk { font-family: var(--mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ptile .pt { font-family: var(--display); font-size: 1.3125rem; line-height: 1.22; }
.ptile .pm { margin-top: auto; font-size: .8125rem; color: var(--muted); padding-right: 40px; }
.ptile { min-height: 180px; }
.ptile .go { position: absolute; right: 16px; bottom: 16px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); transition: transform .3s var(--ease), background .2s, color .2s; }
.ptile:hover .go { transform: translate(3px,-3px); background: var(--accent); color: #fff; }
.ptile.video { background: var(--band); color: var(--band-ink); border-color: var(--band-rule); }
.ptile.video .pk, .ptile.video .pm { color: var(--band-muted); }
.ptile.video .go { background: rgba(255,255,255,.14); color: #fff; }
.ptile .play { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); position: relative; }
.ptile .play::after { content: ""; position: absolute; left: 16px; top: 12px; border-left: 12px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.ptile.write { background: color-mix(in srgb, var(--accent) 9%, var(--surface)); }
@media (prefers-reduced-motion: reduce) { .ptile { transition: none; } }

.ptrack.cards { gap: 18px; align-items: flex-start; }
.ptrack.cards .card { flex: none; width: min(70vw, 280px); }
.ptrack.cards .card.span2 { width: min(88vw, 500px); }
.ptrack.cards .card.span2 img { aspect-ratio: 904 / 501; }
.ptrack.cards .card:hover img { transform: translateY(-6px); box-shadow: 0 22px 40px -22px rgba(14,27,42,.55); }
.close .mail-line { margin-top: 18px; font-size: .9375rem; overflow-wrap: anywhere; }
.close .mail-line a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 4px; }

.ptile.hasthumb { width: min(88vw, 480px); min-height: 330px; padding: 22px; justify-content: flex-end; color: #fff; border: 0; }
.ptile .vthumb { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; aspect-ratio: auto; object-fit: cover; object-position: 50% 30%; z-index: 0; transition: transform .6s var(--ease); }
.ptile.hasthumb:hover .vthumb { transform: scale(1.04); }
.ptile.hasthumb::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(6,12,20,.92) 0%, rgba(6,12,20,.55) 42%, rgba(6,12,20,0) 75%); }
.ptile.hasthumb > span, .ptile.hasthumb > .play { position: relative; z-index: 2; }
.ptile.hasthumb .play { position: absolute; left: 22px; top: 22px; width: 52px; height: 52px; }
.ptile.hasthumb .play::after { left: 21px; top: 16px; border-left-width: 15px; border-top-width: 10px; border-bottom-width: 10px; }
.ptile.hasthumb .pt { font-size: 1.625rem; }
.ptile.hasthumb .pk { margin-top: auto; }
.ptile.hasthumb .pm { margin-top: 0; padding-right: 44px; }
.ptile.hasthumb .pk, .ptile.hasthumb .pm { color: rgba(255,255,255,.8); }
.ptile.hasthumb .go { position: absolute; z-index: 2; }
.ptile.hasthumb .featured-tag { position: absolute; z-index: 2; right: 22px; top: 26px; font-family: var(--mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; background: rgba(255,255,255,.16); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.35); padding: 4px 10px; border-radius: 999px; }

.ptile .glaadlogo { display: block; width: calc(100% + 40px); margin: -20px -20px 6px; aspect-ratio: 2 / 1; object-fit: cover; }
