/* Thomas Michael Knight — site styles
   Colours, type and spacing live in the :root block; change them here. */

:root {
  --bg: #0C0A10;
  --wall: #0b0810;
  --ink: #F4EFE6;
  --soft: #D6D0DA;
  --mute: #9A93A0;
  --line: rgba(244, 239, 230, 0.16);
  --tile: #17141D;
  --cream: #F3DCB0;
  --cream-ink: #17130F;
  --lit: #f8d9a9;
  --accent: #E8B45A;
  --gutter: clamp(20px, 4vw, 56px);
  --display: Anton, 'Arial Narrow', Impact, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Hanken Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 5px; }
img, video, iframe { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid #D9A441; outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1440px; margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- header, footer, buttons ---------- */
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 32px; padding-block: 14px; }
.site-header a { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; }
.brand { font-weight: 700; letter-spacing: 0.02em; }
.nav { display: flex; flex-wrap: wrap; gap: 0 36px; }
.nav a[aria-current] { font-weight: 700; box-shadow: inset 0 -2px 0 var(--cream); }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 24px; border: 0; background: var(--cream); color: var(--cream-ink); font: 700 16px var(--sans); cursor: pointer; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn.dark { background: var(--cream-ink); color: var(--cream); }
.site-header .btn { min-height: 44px; padding: 0 22px; }
.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 32px; padding-block: 28px; font-size: 15px; color: var(--mute); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0 32px; color: var(--ink); }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.eyebrow { font-size: 16px; color: var(--mute); }
.display { font: 400 clamp(56px, 8vw, 112px)/1 var(--display); text-transform: uppercase; }
.accent-serif { font-family: var(--serif); font-style: italic; text-transform: none; color: var(--accent); }

/* ---------- loader: brightens, then a light wipe ---------- */
.loader { --p: 0; position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--wall);
  -webkit-mask-image: linear-gradient(100deg, transparent 0%, transparent 38%, #000 62%, #000 100%);
  mask-image: linear-gradient(100deg, transparent 0%, transparent 38%, #000 62%, #000 100%);
  -webkit-mask-size: 260% 100%; mask-size: 260% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: 100% 0; mask-position: 100% 0;
  transition: -webkit-mask-position 1.1s cubic-bezier(.65, 0, .35, 1), mask-position 1.1s cubic-bezier(.65, 0, .35, 1); }
.loader::before { content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 46%, rgba(255, 214, 160, calc(0.85 * var(--p))) 0%, rgba(255, 214, 160, calc(0.3 * var(--p))) calc(8% + 40% * var(--p)), rgba(255, 214, 160, 0) calc(24% + 76% * var(--p))); }
.loader::after { content: ""; position: absolute; inset: 0; background: var(--lit); opacity: 0; transition: opacity 0.55s ease; }
.loader.full::after { opacity: 1; }
.loader.wipe { -webkit-mask-position: 0 0; mask-position: 0 0; pointer-events: none; }
.loader-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 26px; transition: opacity 0.4s ease; }
.loader.full .loader-inner { opacity: 0; }
.loader-win { width: 96px; height: 116px; border: 1px solid rgba(242, 231, 211, 0.35);
  background: rgba(248, 217, 169, var(--p));
  box-shadow: 0 0 calc(140px * var(--p)) calc(46px * var(--p)) rgba(255, 214, 160, calc(0.6 * var(--p))); }
.loader-pct { font: italic 400 30px/1 var(--serif); color: #F2E7D3; font-variant-numeric: tabular-nums; }
html.no-loader .loader { display: none; }

/* ---------- home: top block ---------- */
.hero { padding-block: 20px 28px; display: flex; flex-direction: column; gap: 14px; }
.hero h1 { font: 400 clamp(44px, 8.8vw, 127px)/0.95 var(--display); text-transform: uppercase; }
.role { min-height: 1.1em; font: italic 400 clamp(30px, 3.8vw, 54px)/1.1 var(--serif); color: var(--accent); }
.role span { display: inline-block; animation: roleIn 0.45s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes roleIn { from { opacity: 0; transform: translateY(0.35em); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }
.hero .sub { font-size: 18px; line-height: 1.4; color: #CDBFA8; }
.filters { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.search { flex: 0 1 280px; min-width: 0; height: 48px; padding: 0 16px; border: 1px solid rgba(242, 231, 211, 0.35); border-radius: 0; background: var(--tile); color: var(--ink); font: 16px var(--sans); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 18px; border: 1px solid rgba(242, 231, 211, 0.35); background: transparent; color: var(--ink); font: 600 16px var(--sans); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--cream); color: var(--cream-ink); border-color: var(--cream); }
.count { margin-left: auto; font-size: 15px; color: #B3A6B7; }

/* ---------- home: the wall of windows ---------- */
.wall { position: relative; height: clamp(560px, 56.25vw, 900px); overflow: hidden; background: var(--wall); color: #F2E7D3; }
.wall-grid { position: absolute; inset: 0; }
.wall.warp .wall-grid { transition: transform 0.75s cubic-bezier(.7, 0, .84, 0); }
.blob { position: absolute; border-radius: 50%; filter: blur(110px); animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate3d(-50px, 0, 0); } to { transform: translate3d(70px, -24px, 0); } }
.win { position: absolute; display: block; border-radius: 1px; background: #1c1626; overflow: hidden; z-index: 1;
  transition: background-color 1.1s ease, box-shadow 1.1s ease, opacity 0.5s ease; }
.win:hover { background: #3a2d40; transition-duration: 0.15s; }
.win.amb { animation: amb 8s ease-in-out infinite alternate; }
@keyframes amb { from { background-color: #1c1626; } to { background-color: #3a2d40; } }
/* a window with a project behind it: a pilot light when idle, fully lit on hover */
.win.proj { cursor: pointer; background: #2c2335; box-shadow: inset 0 -38px 44px -14px var(--c, #D9A441); }
.win.proj::before { content: ""; position: absolute; inset: 0; background-color: var(--lit); background-image: var(--img, none); background-size: cover; background-position: center; opacity: 0; transition: opacity 0.9s ease; }
.win.proj:hover, .win.proj:focus-visible, .win.proj.lit { z-index: 2; background: var(--lit); transition-duration: 0.15s;
  box-shadow: 0 0 30px 6px rgba(255, 214, 160, 0.55), 0 0 160px 50px rgba(255, 214, 160, 0.14), inset 0 -40px 50px -10px var(--c, #D9A441); }
.win.proj:hover::before, .win.proj:focus-visible::before, .win.proj.lit::before { opacity: 1; transition-duration: 0.2s; }
.win.proj.no-img:hover::before, .win.proj.no-img:focus-visible::before, .win.proj.no-img.lit::before { opacity: 0; }
.win.proj.dim { opacity: 0.22; pointer-events: none; }
@media (hover: none) { .win.proj:not(.no-img)::before { opacity: 0.8; } }
.win-label { position: absolute; z-index: 3; transform: translate(-50%, -100%); display: none; flex-direction: column; align-items: center; gap: 2px; padding: 10px 16px; border-radius: 14px; background: rgba(20, 13, 28, 0.92); border: 1px solid rgba(242, 231, 211, 0.18); pointer-events: none; white-space: nowrap; }
.win-label.on { display: flex; }
.win-label small { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; color: #B3A6B7; text-transform: uppercase; }
.win-label b { font: 400 24px/1.15 var(--serif); }
.wall-flash { position: absolute; inset: 0; z-index: 5; pointer-events: none; opacity: 0; transition: opacity 0.7s ease-in; }
.wall.warp .wall-flash { opacity: 1; }
.page-light { position: fixed; inset: 0; z-index: 90; background: var(--lit); pointer-events: none; opacity: 0; transition: opacity 0.35s ease 0.45s; }
.page-light.on { opacity: 1; }

/* ---------- clients ---------- */
.clients { padding-block: 56px 64px; display: flex; flex-direction: column; gap: 20px; }
.mqbox { overflow: hidden; display: flex; flex-direction: column; gap: 10px; }
.mq { display: flex; gap: 28px; width: max-content; padding-inline: var(--gutter); font: 400 clamp(36px, 4vw, 56px)/1.1 var(--display); text-transform: uppercase; animation: mq 60s ease-in-out infinite alternate; }
.mq.rev { animation-direction: alternate-reverse; }
.mq li { display: flex; align-items: center; white-space: nowrap; }
.mq li + li::before { content: ""; display: block; width: 12px; height: 15px; margin-right: 28px; background: var(--cream); }
.mqbox:hover .mq { animation-play-state: paused; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(calc(-100% + 100vw)); } }
.client-list { display: flex; flex-wrap: wrap; gap: 4px 32px; font: 400 clamp(28px, 3.4vw, 48px)/1.2 var(--display); text-transform: uppercase; }

/* ---------- cream blocks, contact ---------- */
.cream { background: var(--cream); color: var(--cream-ink); }
.about-teaser { padding-block: 104px; display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 40px 64px; }
.about-teaser > div:first-child { flex: 3 1 520px; min-width: 0; max-width: 900px; display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.about-teaser .big { font-weight: 500; font-size: clamp(26px, 3vw, 42px); line-height: 1.22; letter-spacing: -0.015em; text-wrap: pretty; }
.portrait { flex: 0 1 280px; aspect-ratio: 4 / 5; object-fit: cover; background: #E3CA9C; }
.contact { padding-block: 104px 88px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.contact h2 { font: 400 clamp(96px, 20vw, 288px)/0.9 var(--display); text-transform: uppercase; color: var(--cream); }
.contact .row { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; font-size: 20px; }
.contact .btn { min-height: 56px; padding: 0 28px; font-size: 20px; }

/* ---------- about page ---------- */
.about-hero { padding-block: 56px 72px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.about-hero h1 { font: 400 clamp(56px, 11vw, 158px)/0.94 var(--display); text-transform: uppercase; }
.about-hero h1 em { font: italic 400 1.08em var(--serif); text-transform: none; color: var(--accent); }
.about-body { padding-bottom: 104px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px 72px; }
.about-body .portrait { flex: 1 1 360px; max-width: 520px; background: var(--tile); }
.about-body .copy { flex: 1.4 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; font-size: 19px; line-height: 1.6; color: var(--soft); }
.about-body .bio { display: flex; flex-direction: column; gap: 24px; }
.about-body .lead { font-size: 28px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); }
.facts { margin-top: 8px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 10px; }
.facts div { padding: 20px; background: var(--tile); display: flex; flex-direction: column; gap: 6px; }
.facts div.hi { background: var(--cream); color: var(--cream-ink); }
.facts small { font-size: 15px; color: var(--mute); }
.facts .hi small { color: inherit; }
.facts b { font-size: 20px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.facts .hi b { color: inherit; font-weight: 700; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid rgba(244, 239, 230, 0.3); font-size: 17px; font-weight: 600; color: var(--ink); }
.jobs { padding-block: 96px; }
.jobs h2 { margin-bottom: 40px; font: 400 clamp(56px, 7vw, 100px)/0.96 var(--display); text-transform: uppercase; }
.jobs ul { border-bottom: 1px solid rgba(23, 19, 15, 0.4); }
.jobs li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 32px; padding: 26px 0; border-top: 1px solid rgba(23, 19, 15, 0.4); }
.jobs h3 { flex: 2 1 300px; font: 400 40px/1.1 var(--display); text-transform: uppercase; }
.jobs p { flex: 2 1 300px; font-size: 19px; line-height: 1.5; }
.jobs span { flex: 0 1 160px; font-size: 16px; }

/* ---------- work page ---------- */
.work-hero { padding-block: 40px 40px; display: flex; flex-direction: column; gap: 28px; }
.work-hero h1 { font: 400 clamp(120px, 30vw, 432px)/0.86 var(--display); text-transform: uppercase; }
.cards { padding-bottom: 104px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 40px 32px; }
.card { display: flex; flex-direction: column; gap: 16px; }
.card:hover { text-decoration: none; }
.card .thumb { aspect-ratio: 4 / 5; background: var(--tile) center / cover; transition: filter 0.3s ease; }
.card:hover .thumb { filter: brightness(1.15); }
.card h3 { font-size: 24px; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
.card p { margin-top: 4px; font-size: 16px; color: var(--mute); }
.empty { padding-block: 40px 104px; font-size: 19px; color: var(--mute); }

/* ---------- project pages ---------- */
.p-back { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; }
.p-kind { font-size: 14px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.p-title { font: 400 clamp(56px, 10vw, 144px)/0.95 var(--display); text-transform: uppercase; overflow-wrap: anywhere; }
.p-for { font: italic 400 clamp(26px, 3vw, 36px)/1.15 var(--serif); }
.p-meta { display: flex; flex-direction: column; border-bottom: 1px solid var(--line); }
.p-meta div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.p-meta dt { font-size: 15px; color: var(--mute); }
.p-meta dd { font-size: 17px; font-weight: 600; text-align: right; }
.p-summary { font-size: clamp(20px, 2vw, 28px); line-height: 1.35; color: var(--soft); text-wrap: pretty; max-width: 860px; }
.p-media { background: var(--tile); }
.p-media video, .p-media img { width: 100%; height: auto; }
.p-media.fallback { aspect-ratio: 16 / 9; }
.embed { position: relative; aspect-ratio: 16 / 9; background: #000; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.p-blocks { display: flex; flex-direction: column; gap: 24px; }
.blk-section { margin-top: 56px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.blk-section h2 { flex: 1 1 220px; font: 400 clamp(44px, 6vw, 88px)/1 var(--display); text-transform: uppercase; }
.blk-section p { flex: 2 1 420px; font-size: 19px; line-height: 1.55; color: var(--soft); max-width: 720px; }
.blk-text { display: flex; flex-wrap: wrap; gap: 12px 48px; padding-block: 16px; }
.blk-text h3 { flex: 1 1 220px; font: italic 400 32px/1.1 var(--serif); color: var(--accent); }
.blk-text div { flex: 3 1 520px; min-width: 0; max-width: 860px; display: flex; flex-direction: column; gap: 16px; font-size: 19px; line-height: 1.6; color: var(--soft); }
.blk-photos { display: flex; flex-direction: column; gap: 24px; }
/* a row of photos: widths follow each photo's shape, so every photo in the row ends up the same height, uncropped */
.ph-row { display: flex; align-items: flex-start; gap: 24px; }
.ph-row figure, .ph-row .fill { flex: calc(var(--ar, 1.5) * 100) 1 0; min-width: 0; }   /* x100 so a row of tall photos still fills the width */
.blk-photos img { display: block; width: 100%; height: auto; background: var(--tile); }
.zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
/* crop mode: equal tiles, each photo positioned inside its tile */
.blk-photos.crop .ph-row figure { flex: 1 1 0; }
.blk-photos.crop .ph-row .fill { flex: var(--ar, 1) 1 0; }
.blk-photos.crop img { aspect-ratio: var(--tile, 4 / 5); object-fit: cover; object-position: var(--pos, 50% 50%); }
/* sideways strip: one row that scrolls */
.blk-photos.strip .ph-row { overflow-x: auto; padding-bottom: 16px; }
.blk-photos.strip .ph-row figure { flex: 0 0 auto; }
.blk-photos.strip img { width: auto; height: clamp(260px, 34vw, 520px); max-width: none; }
.blk-photos.strip.crop img { aspect-ratio: var(--tile, 4 / 5); }
@media (max-width: 700px) {
  .blk-photos:not(.strip) .ph-row { flex-direction: column; }
  .blk-photos:not(.strip) .ph-row figure { flex: none; width: 100%; }
  .blk-photos:not(.strip) .ph-row .fill { display: none; }
}
/* enlarged photo */
.lb { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; background: rgba(8, 6, 12, 0.96); color: #F4EFE6; }
.lb.on { display: flex; }
.lb img { max-width: calc(100vw - 176px); max-height: calc(100vh - 128px); width: auto; height: auto; object-fit: contain; }
.lb button { position: absolute; width: 56px; height: 56px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(244, 239, 230, 0.12); color: inherit; cursor: pointer; }
.lb button:hover { background: rgba(244, 239, 230, 0.22); }
.lb button[hidden] { display: none; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: calc(50% - 28px); }
.lb-next { right: 20px; top: calc(50% - 28px); }
.lb-count { position: absolute; top: 36px; left: 24px; font-size: 15px; color: #D6D0DA; }
.lb-cap { position: absolute; left: 88px; right: 88px; bottom: 22px; text-align: center; font-size: 15px; color: #D6D0DA; }
@media (max-width: 700px) {
  .lb img { max-width: 100vw; max-height: calc(100vh - 180px); }
  .lb-prev, .lb-next { top: auto; bottom: 16px; }
  .lb-cap { left: 16px; right: 16px; bottom: 84px; }
}
figcaption, .cap { margin-top: 8px; font-size: 15px; color: var(--mute); }
.p-next { margin-top: 96px; background: var(--brand, var(--cream)); color: var(--on-brand, var(--cream-ink)); }
.p-next .wrap { padding-block: 40px 56px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.p-next a.next { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; text-align: right; }
.p-next a.next small { font: 600 15px var(--sans); }
.p-next a.next > span { font: 400 clamp(40px, 6vw, 88px)/1 var(--display); text-transform: uppercase; }
/* brand colour touches */
.p-for { color: var(--accent); }
.blk-section h2::before { content: ""; display: inline-block; width: 0.3em; height: 0.37em; margin-right: 0.26em; background: var(--brand, var(--cream)); }
.tpl-poster .p-intro h2 { color: var(--accent); }
.has-brand .site-header .btn { background: var(--brand); color: var(--on-brand); }
.has-brand :focus-visible { outline-color: var(--accent); }

/* layout: Cinema */
.tpl-cinema .p-head { padding-block: 56px 72px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 64px; }
.tpl-cinema .p-head > div { flex: 2 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.tpl-cinema .p-meta { flex: 1 1 280px; }
.tpl-cinema .p-intro { padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 16px 48px; }
.tpl-cinema .p-intro h2 { flex: 1 1 220px; font: italic 400 32px/1.1 var(--serif); color: var(--accent); }
.tpl-cinema .p-intro .p-summary { flex: 3 1 560px; min-width: 0; }

/* layout: Split */
.tpl-split .p-split { padding-block: 48px 0; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px 72px; }
.tpl-split .p-info { flex: 1 1 340px; min-width: 0; position: sticky; top: 24px; display: flex; flex-direction: column; gap: 20px; }
.tpl-split .p-title { font-size: clamp(48px, 6.2vw, 90px); }
.tpl-split .p-summary { font-size: 19px; line-height: 1.55; }
.tpl-split .p-flow { flex: 1.7 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.tpl-split .blk-section { margin-top: 32px; }

/* layout: Poster (cream page) */
html.theme-cream { --bg: #F3DCB0; --ink: #17130F; --soft: #17130F; --mute: #4A3A22; --line: rgba(23, 19, 15, 0.4); --tile: #E3CA9C; --accent: #17130F; }
.theme-cream .btn { background: #17130F; color: #F3DCB0; }
.theme-cream .nav a[aria-current] { box-shadow: inset 0 -2px 0 #17130F; }
.tpl-poster .p-top { padding-top: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 14px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.tpl-poster .p-title { margin-block: 24px; font-size: clamp(64px, 12vw, 172px); line-height: 0.9; }
.tpl-poster .p-meta { flex-direction: row; flex-wrap: wrap; gap: 0 32px; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.tpl-poster .p-meta div { flex: 1 1 200px; flex-direction: column; justify-content: flex-start; gap: 4px; padding: 16px 0; border: 0; }
.tpl-poster .p-meta dt { font-size: 14px; color: inherit; }
.tpl-poster .p-meta dd { font-size: 22px; font-weight: 700; text-align: left; }
.tpl-poster .p-media.main { margin-top: 56px; background: #17130F; }
.tpl-poster .p-intro { padding-block: 56px 32px; display: flex; flex-wrap: wrap; gap: 16px 48px; }
.tpl-poster .p-intro h2 { flex: 1 1 220px; font: italic 400 40px/1.1 var(--serif); }
.tpl-poster .p-intro .p-summary { flex: 3 1 560px; min-width: 0; }

/* layout: Mosaic */
.tpl-mosaic .p-hero { min-height: clamp(420px, 44vw, 640px); padding: 28px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; background-color: #1F1B27; background-size: cover; background-position: center; position: relative; }
.tpl-mosaic .p-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12, 10, 16, 0.92) 0%, rgba(12, 10, 16, 0) 60%); }
.tpl-mosaic .p-hero { overflow: hidden; }
.tpl-mosaic .p-hero::before { z-index: 1; }
.tpl-mosaic .p-hero > * { position: relative; z-index: 2; }
.tpl-mosaic .p-hero > .p-hero-img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.tpl-mosaic .p-title { font-size: clamp(56px, 11vw, 158px); line-height: 0.92; }
.tpl-mosaic .tight { max-width: 1440px; margin: 0 auto; padding: 16px clamp(12px, 2vw, 24px) 0; display: flex; flex-direction: column; gap: 16px; }
.tpl-mosaic .p-row { display: flex; flex-wrap: wrap; gap: 16px; }
.tpl-mosaic .p-row .p-media { flex: 2 1 560px; min-width: 0; }
.tpl-mosaic .p-card { flex: 1 1 300px; min-width: 0; padding: 28px; background: var(--cream); color: var(--cream-ink); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; --line: rgba(23, 19, 15, 0.4); --mute: #17130F; }
.tpl-mosaic .p-card h2 { font: italic 400 36px/1.1 var(--serif); }
.tpl-mosaic .p-card .p-summary { margin-top: 14px; font-size: 19px; line-height: 1.5; color: inherit; }
.tpl-mosaic .p-blocks, .tpl-mosaic .blk-photos, .tpl-mosaic .ph-row { gap: 16px; }

@media (prefers-reduced-motion: reduce) {
  .blob, .win.amb, .role span, .mq { animation: none; }
  .mqbox { overflow-x: auto; }
  .loader { display: none; }
}
