/* scottbarley.com — in the style of the invoices.
   Dark obsidian-slate #101214 page, soft white Helvetica, space instead of long rules.
   Four text sizes only: --t-title, --t-lead, --t-body, --t-label. */

:root {
  --bg: #101214;
  --white: #fff;
  --link: rgba(255,255,255,.90);
  --body: rgba(255,255,255,.58);
  --faint: rgba(255,255,255,.48);
  --rule: rgba(255,255,255,.14);
  --wash: rgba(255,255,255,.045);
  --m: clamp(20px, 5vw, 64px);
  --label: 13rem;
  --font: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  /* Type matches the Cargo site exactly: Cargo's base unit is 9% of the smaller window side
     (rising to 14% on tall phone screens), set by the script in <head>; 1.44vmin is the same thing without script. */
  --cu: 1.44vmin;
  --t-title: calc(var(--cu) * 3);       /* film and page titles, 38.88px at 1440×900 */
  --t-lead: max(17px, calc(var(--cu) * 1.5));      /* home statement, 19.44px */
  --t-body: max(16px, calc(var(--cu) * 1.4));      /* body copy and header links, 18.144px */
  --t-label: max(13px, calc(var(--cu) * 1.2));     /* labels, footer, 15.552px */
  --ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: dark;
}

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; animation-timing-function: var(--ease); }
.masthead { view-transition-name: masthead; }
.tabbar { view-transition-name: tabbar; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0; background: var(--bg); color: var(--body); overflow-x: clip;
  font: 400 var(--t-body)/1.6 var(--font); letter-spacing: .003em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; transition: color .2s; }
a:hover { color: var(--white); }
p a, li a, dd a, blockquote a { text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: .22em; }
p a:hover, li a:hover, dd a:hover { text-decoration-color: currentColor; }
em, i { font-style: italic; }
strong, b { font-weight: 400; color: var(--white); }
h1, h2, h3 { font-weight: 400; margin: 0; }
button { font: inherit; color: inherit; }
::selection { background: rgba(255,255,255,.85); color: var(--bg); }
:focus-visible { outline: 1px solid var(--white); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: var(--m); top: .5rem; z-index: 99; background: var(--bg); padding: .4rem .8rem; }
[hidden] { display: none !important; }

/* ---------------------------------------------------------------- type roles */
h1, .page-head h1 { font-size: var(--t-title); line-height: 1.04; letter-spacing: -.02em; color: var(--white); text-wrap: balance; }
.lead, .statement p, .synopsis p, .quotes p, .press blockquote.short p, .poem .stanza { font-size: var(--t-lead); line-height: 1.45; color: var(--link); letter-spacing: -.005em; }
.sec-label, .kicker, .faint, .tile-cap .s, .items th, .ledger dt, .sub, .label, .tag, .nav, .foot, .filters button, .jump a, .btn { font-size: var(--t-label); }
h3, .tile-cap .t, .product-title, .items td, .ledger dd, .price { font-size: var(--t-body); }
.kicker, .sec-label, .ledger dt, .items th, .faint, .tile-cap .s, .sub { color: var(--faint); font-weight: 400; letter-spacing: .01em; }
.kicker { margin: 0 0 1rem; }
.kicker a { color: inherit; }

/* ---------------------------------------------------------------- masthead */
.masthead {
  position: sticky; top: 0; z-index: 30;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem;
  padding: 1.1rem var(--m);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.mark { color: var(--white); font-size: var(--t-body); white-space: nowrap; }
.nav { display: flex; gap: clamp(1rem, 2.2vw, 2rem); }
.nav a { color: var(--faint); }
.nav a:hover, .nav a[aria-current] { color: var(--white); }
.tools { display: flex; justify-content: flex-end; gap: .25rem; }
.tool { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border: 0; background: none; border-radius: 999px; color: var(--link); cursor: pointer; transition: background .2s; }
.tool:hover { background: var(--wash); }
.tool svg, .tabbar svg, .search-field svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.count { position: absolute; top: 3px; right: 2px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--white); color: var(--bg); font-size: 11px; line-height: 17px; text-align: center; font-variant-numeric: tabular-nums; }
.count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.tabbar { display: none; }

/* ---------------------------------------------------------------- layout */
main { padding: 0 var(--m); min-height: 60vh; }
.page-head { padding: clamp(3rem, 9vw, 7rem) 0 clamp(1rem, 3vw, 2rem); }
.page-head .lead { margin: 1.1rem 0 0; max-width: 46rem; color: var(--body); }
.sec { display: grid; grid-template-columns: var(--label) minmax(0, 1fr); gap: 2rem; padding: clamp(2.4rem, 5vw, 4rem) 0; }
.sec-label { padding-top: .2rem; }
.sec-body { min-width: 0; }
.sec-body > :first-child { margin-top: 0; }
.sec-body > :last-child { margin-bottom: 0; }
.sec-intro { max-width: 44rem; margin-bottom: 2.4rem; }
.prose p, .prose li { max-width: 42rem; }
.prose p { margin: 0 0 1.05em; }
.prose ul { padding-left: 1.1rem; margin: 0 0 1.05em; }
.prose li { margin: .25em 0; }
.prose li::marker { color: var(--faint); }
.note p { line-height: 1.75; }
.poem .stanza { line-height: 1.75; margin: 0 0 2em; }
.plain { list-style: none; margin: 0; padding: 0; }
.plain li { padding: .3rem 0; color: var(--link); }
.more { margin: 1.8rem 0 0; font-size: var(--t-label); }
.more a::after { content: "  →"; color: var(--faint); transition: margin .25s var(--ease); }
.more a:hover::after { margin-left: .25em; }
.empty { padding: 2rem 0; color: var(--faint); }

/* ledgers and tables: no long lines */
.ledger { margin: 0; }
.ledger-row { display: grid; grid-template-columns: minmax(7rem, 14rem) minmax(0, 1fr); gap: 1.5rem; padding: .4rem 0; }
.ledger dt { padding-top: .12rem; }
.ledger dd { margin: 0; color: var(--link); }
.items { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.items th { text-align: left; padding: 0 1.2rem .5rem 0; }
.items td { padding: .5rem 1.2rem .5rem 0; color: var(--body); vertical-align: top; }
.items td:first-child { color: var(--link); }
.items th:last-child, .items td:last-child { padding-right: 0; }
.items .r { text-align: right; white-space: nowrap; }
@media (max-width: 600px) { .items td.r { white-space: normal; overflow-wrap: anywhere; } }
.items td:last-child.r { color: var(--white); }
.items .sub { display: block; margin-top: .1rem; }
.items td a { text-decoration: none; }
.tracks td:first-child { color: var(--faint); width: 3.5rem; }
.tracks td:nth-child(2) { color: var(--link); }
.totals { margin-top: .8rem; display: grid; justify-content: end; gap: .35rem; font-variant-numeric: tabular-nums; }
.totals > div { display: grid; grid-template-columns: 9rem 6rem; text-align: right; align-items: baseline; }
.totals span { color: var(--faint); font-size: var(--t-label); }
.totals em { font-style: normal; color: var(--body); }
.totals strong { color: var(--white); font-size: var(--t-lead); }
.totals .grand strong::before { content: ""; display: block; width: 3rem; height: 1px; background: var(--rule); margin: .3rem 0 .6rem auto; }

/* buttons */
.actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 40px;
  padding: .6rem 1.15rem; border: 1px solid transparent; border-radius: 999px;
  background: rgba(255,255,255,.92); color: var(--bg); cursor: pointer; text-decoration: none !important;
  transition: background .2s, color .2s, border-color .2s, transform .15s var(--ease);
}
.btn:hover { background: var(--white); color: #000; }
.btn:active { transform: scale(.97); }
.btn.ghost { background: var(--wash); color: var(--link); }
.btn.ghost:hover { background: rgba(255,255,255,.1); color: var(--white); }
.btn.small { min-height: 32px; padding: .35rem .85rem; }
.btn.added { background: var(--wash); color: var(--white); }

/* filter chips / jump links */
.filters { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; padding: .6rem 0 1rem; }
.filters button, .filters a { border: 0; border-radius: 999px; padding: .4rem .85rem; background: var(--wash); color: var(--faint); cursor: pointer; transition: background .2s, color .2s; }
.filters button:hover, .filters a:hover { color: var(--white); }
.filters button[aria-pressed="true"] { background: rgba(255,255,255,.92); color: var(--bg); }
.filter-count { margin-left: .4rem; color: var(--faint); font-size: var(--t-label); }

/* ---------------------------------------------------------------- images: blur-up */
.ph { position: relative; display: block; overflow: hidden; background: var(--wash); }
.ph::before { content: ""; position: absolute; inset: -10%; background: var(--ph) center / cover no-repeat; filter: blur(18px) saturate(1.1); transform: scale(1.1); transition: opacity .8s var(--ease); }
.ph img { position: relative; width: 100%; height: 100%; }
.js .ph img { opacity: 0; transition: opacity .9s var(--ease); }
.js .ph img.ld { opacity: 1; }
.js .ph.done::before { opacity: 0; }

/* ---------------------------------------------------------------- tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 2.2rem 1.4rem; }
.tiles.four { grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); margin-bottom: 2.4rem; }
.tile { display: block; }
.tile-img { position: relative; display: block; overflow: hidden; border-radius: 4px; background: var(--wash); }
.tile-img.square { aspect-ratio: 1; }
.tile-img.poster { aspect-ratio: 2 / 3; }
.tile-img .ph, .tile-img img { width: 100%; height: 100%; object-fit: cover; }
.tile-img img { transition: transform 1.4s var(--ease), opacity .9s var(--ease); }
a.tile:hover .tile-img img { transform: scale(1.04); }
.tile-cap { display: flex; flex-direction: column; gap: .1rem; padding-top: .7rem; }
.tile-cap .t { color: var(--link); line-height: 1.35; }
a.tile:hover .t { color: var(--white); }
.tile.is-static .t { color: var(--body); }
.tile.out { display: none; }
.noimg { display: block; width: 100%; height: 100%; }

/* ---------------------------------------------------------------- home */
.home main { padding: 0; }
.home main > .statement, .home main > .sec { margin: 0 var(--m); }
.hero { position: relative; height: min(86vh, 64vw); min-height: 440px; overflow: hidden; margin-top: -72px; background: #111; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 2.2s ease-in-out; }
.slide.on { opacity: 1; }
.slide .ph, .slide img { width: 100%; height: 100%; object-fit: cover; }
.slide img { transform: scale(1.06); transition: transform 9s linear, opacity .9s; }
.slide.on img { transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, color-mix(in srgb, var(--bg) 55%, transparent), color-mix(in srgb, var(--bg) 0%, transparent) 22%, color-mix(in srgb, var(--bg) 0%, transparent) 60%, var(--bg)); pointer-events: none; }
.hero-cap { position: absolute; left: var(--m); bottom: 1.8rem; z-index: 2; font-size: var(--t-label); }
.hero-cap a { color: var(--link); transition: opacity .6s; }
.hero-dots { position: absolute; right: var(--m); bottom: 1.9rem; z-index: 2; display: flex; gap: .5rem; }
.hero-dots button { width: 22px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.hero-dots button::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.35); transition: background .3s, transform .3s; }
.hero-dots button[aria-current]::before { background: var(--white); transform: scale(1.2); }
.statement { padding: clamp(2.6rem, 7vw, 6rem) 0 clamp(1rem, 3vw, 2rem); }
.statement p { margin: 0; max-width: 58rem; font-size: clamp(1.35rem, 2.6vw, 2.1rem); line-height: 1.3; letter-spacing: -.012em; }
.statement.small p { font-size: var(--t-lead); }
.feature-film { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 2.4rem; align-items: end; }
.ff-text h3 { font-size: var(--t-lead); color: var(--white); margin-bottom: .3rem; }
.ff-text .lead { color: var(--body); font-size: var(--t-body); margin: 0 0 1rem; }
.ff-text p { max-width: 30rem; }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.4rem; }
.quotes blockquote { margin: 0; }
.quotes p { margin: 0 0 1rem; }
.quotes footer { color: var(--white); font-size: var(--t-label); display: flex; flex-direction: column; }
.quotes footer span { color: var(--faint); }

/* ---------------------------------------------------------------- player */
.player { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: color-mix(in srgb, var(--bg) 90%, black); }
.player > .ph, .player > img { width: 100%; height: 100%; }
.player .ph img, .player > img { width: 100%; height: 100%; object-fit: cover; }
.player .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: .5rem; padding: .75rem 1.3rem .75rem 1rem; border: 0; border-radius: 999px; background: color-mix(in srgb, var(--bg) 55%, transparent); color: var(--white); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); cursor: pointer; transition: background .25s, transform .25s var(--ease); font-size: var(--t-label); }
.player .play svg { width: 20px; height: 20px; fill: currentColor; }
.player .play:hover { background: color-mix(in srgb, var(--bg) 75%, transparent); transform: translate(-50%, -50%) scale(1.04); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------------------------------------------------------------- film pages */
.film main { padding-top: 0; }
.film-head { position: relative; margin: -72px calc(var(--m) * -1) 0; height: min(92vh, 66vw); min-height: 460px; display: flex; align-items: flex-end; overflow: hidden; background: #0f0f0f; }
.film-head > .ph, .film-head > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.film-head .ph img, .film-head > img { width: 100%; height: 100%; object-fit: cover; }
.film-head::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, color-mix(in srgb, var(--bg) 50%, transparent), color-mix(in srgb, var(--bg) 0%, transparent) 25%, color-mix(in srgb, var(--bg) 20%, transparent) 55%, var(--bg)); }
.film-head-text { position: relative; z-index: 1; padding: 0 var(--m) clamp(1.5rem, 4vw, 3rem); }
.film-head .kicker { color: var(--link); }
.film-head .lead { margin: .9rem 0 0; color: var(--link); }
.stills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.still { display: block; border-radius: 4px; overflow: hidden; cursor: zoom-in; }
.still img { width: 100%; transition: opacity .3s, transform 1.4s var(--ease); }
.still:hover img { transform: scale(1.02); }
.pager { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; padding: 3rem 0; }
.pager a { display: flex; flex-direction: column; color: var(--link); }
.pager > :nth-child(2) { text-align: center; }
.pager > :last-child { text-align: right; }
.pager .label { margin-bottom: .2rem; color: var(--faint); }

/* ---------------------------------------------------------------- music */
.release { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); padding: clamp(2rem, 5vw, 3.2rem) 0; }
.release-cover .ph { border-radius: 4px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); }
.release-body p { max-width: 36rem; color: var(--link); }
.release-body .actions { margin-top: 2rem; }

/* ---------------------------------------------------------------- press */
.press .sec-label { display: flex; flex-direction: column; gap: .1rem; }
.press .who { color: var(--white); font-size: var(--t-body); }
.press blockquote { margin: 0; }
.press blockquote p { max-width: 46rem; margin: 0 0 1em; }
.press blockquote.long p { color: var(--link); line-height: 1.7; }

/* ---------------------------------------------------------------- store: objects */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 3rem 2rem; }
.product { display: flex; flex-direction: column; }
.product-img { position: relative; display: flex; align-items: flex-end; justify-content: center; aspect-ratio: 1 / 1.1; padding: 6% 10% 4%; }
.product-img .ph { background: none; overflow: visible; display: flex; align-items: flex-end; justify-content: center; width: 100%; height: 100%; }
.product-img .ph::before { display: none; }
.product-img img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 3px;
  filter: drop-shadow(0 24px 30px rgba(0,0,0,.55)) drop-shadow(0 4px 8px rgba(0,0,0,.35)); transition: transform .9s var(--ease), opacity .9s var(--ease); }
.product-img.square img { border-radius: 2px; }
a.product-img:hover img { transform: translateY(-6px) rotate(-.4deg); }
.product-body { display: flex; flex-direction: column; flex: 1; padding-top: 1rem; }
.product-title { color: var(--link); line-height: 1.35; }
.product-title a { text-decoration: none; color: inherit; }
.product-title .sub { display: block; margin-top: .2rem; }
.product-foot { margin-top: auto; padding-top: .9rem; display: flex; justify-content: flex-start; align-items: center; gap: .9rem; }
.price { color: var(--white); font-variant-numeric: tabular-nums; }
.price s { color: var(--faint); margin-right: .2rem; }
.edu { margin-top: .5rem; font-size: var(--t-label); color: var(--faint); }
.edu:hover { color: var(--white); }
.product-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); padding: clamp(1.5rem, 4vw, 3rem) 0; align-items: start; }
.product-side { position: sticky; top: 6rem; }
.product-side .totals { justify-content: stretch; margin: 0 0 1.4rem; }
.product-side .totals > div { grid-template-columns: 1fr auto; text-align: left; }
.product-side .totals em, .product-side .totals strong { text-align: right; }
.product-side .actions { margin: 1.4rem 0 1rem; }
.product-side .lead { margin: 0 0 1.6rem; }
.product-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.product-gallery.n1 { grid-template-columns: 1fr; }
.product-gallery.n5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-gallery .still { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1.1; overflow: visible; padding: 6%; }
.product-gallery .still .ph { background: none; overflow: visible; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.product-gallery .still .ph::before { display: none; }
.product-gallery .still img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 3px; filter: drop-shadow(0 26px 34px rgba(0,0,0,.55)); }
.product-gallery.n1 .still { aspect-ratio: auto; padding: 4% 14%; }

/* ---------------------------------------------------------------- contact */
.contact { max-width: 40rem; display: grid; gap: 1.1rem; }
.field { display: grid; gap: .45rem; }
.enquiry-extra { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 1.1rem; }
.enquiry-extra[hidden] { display: none; }
.enquiry-extra > p { margin: 0; }
.field label { color: var(--faint); font-size: var(--t-label); }
.contact input, .contact select, .contact textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--white); background: var(--wash);
  border: 1px solid transparent; border-radius: 12px; padding: .8rem 1rem; outline: none; transition: border-color .2s, background .2s;
}
.contact select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--faint) 50%), linear-gradient(135deg, var(--faint) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.contact select option { background: #1b1e21; }
.contact textarea { resize: vertical; min-height: 9rem; }
.contact input:focus, .contact select:focus, .contact textarea:focus { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.07); }

/* ---------------------------------------------------------------- footer: quiet */
.foot { margin-top: clamp(3rem, 8vw, 6rem); padding: 2rem var(--m) 2.4rem; color: var(--faint); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; padding: .6rem 0; }
.foot a { color: var(--faint); }
.foot a:hover { color: var(--white); }
.foot-main, .foot-social { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.foot-main a { color: var(--link); }
.logos { display: flex; gap: 1.4rem; align-items: center; }
.logos img { height: 26px; width: auto; opacity: .55; }

/* ---------------------------------------------------------------- sheets: search, cart, more */
.sheet { position: fixed; inset: 0; z-index: 80; display: flex; justify-content: flex-end; background: rgba(8,9,10,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s var(--ease); }
.sheet.open { opacity: 1; }
.sheet-panel { width: min(440px, 100%); height: 100%; background: rgba(22,25,28,.96); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); padding: 1.4rem 1.6rem; display: flex; flex-direction: column; transform: translateX(24px); transition: transform .4s var(--ease); overflow-y: auto; overscroll-behavior: contain; }
.sheet.open .sheet-panel { transform: none; }
.sheet.search { justify-content: center; align-items: flex-start; padding-top: 10vh; }
.sheet.search .sheet-panel { width: min(640px, calc(100% - 2rem)); height: auto; max-height: 76vh; border-radius: 18px; transform: translateY(-10px) scale(.98); }
.sheet.search.open .sheet-panel { transform: none; }
.search-field { display: flex; align-items: center; gap: .7rem; padding-bottom: .8rem; }
.search-field input { flex: 1; min-width: 0; font: inherit; font-size: 18px; color: var(--white); background: none; border: 0; outline: none; }
.search-field input::placeholder { color: var(--faint); }
.search-field input::-webkit-search-cancel-button { display: none; }
.close { border: 0; background: var(--wash); color: var(--link); border-radius: 999px; padding: .35rem .8rem; cursor: pointer; font-size: var(--t-label); }
.close:hover { color: var(--white); }
.results { display: grid; gap: .1rem; }
.results a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2rem 1rem; padding: .65rem .8rem; border-radius: 10px; }
.results a:hover, .results a[aria-selected="true"] { background: var(--wash); }
.results .rt { color: var(--link); }
.results .rk { color: var(--faint); font-size: var(--t-label); }
.results .rx { grid-column: 1 / -1; color: var(--faint); font-size: var(--t-label); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.results mark { background: none; color: var(--white); }
.results .none { padding: .8rem; color: var(--faint); }
.cart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.4rem; }
.cart-head h2 { font-size: var(--t-lead); color: var(--white); }
.cart-lines { display: grid; gap: 1.1rem; }
.cart-line { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: .9rem; align-items: center; }
.cart-line img { width: 56px; height: 64px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0,0,0,.5)); }
.cart-line .t { color: var(--link); line-height: 1.3; }
.cart-line .s { color: var(--faint); font-size: var(--t-label); }
.cart-line .lp { color: var(--white); text-align: right; font-variant-numeric: tabular-nums; }
.qty { display: inline-flex; align-items: center; gap: .3rem; margin-top: .35rem; }
.qty button { width: 26px; height: 26px; border: 0; border-radius: 50%; background: var(--wash); color: var(--link); cursor: pointer; line-height: 1; }
.qty button.remove { width: auto; padding: 0 .75rem; border-radius: 999px; font: inherit; font-size: .85em; }
.qty span { min-width: 1.2rem; text-align: center; font-size: var(--t-label); font-variant-numeric: tabular-nums; }
.cart-foot { margin-top: auto; padding-top: 1.6rem; }
.cart-foot .totals { justify-content: stretch; }
.cart-foot .totals > div { grid-template-columns: 1fr auto; text-align: left; }
.cart-foot .totals em, .cart-foot .totals strong { text-align: right; }
.cart-foot .btn { width: 100%; margin-top: 1rem; min-height: 46px; }
.cart-note { color: var(--faint); font-size: var(--t-label); margin: .9rem 0 0; }
.cart-note a { color: var(--link); }
.cart-empty { color: var(--faint); padding: 2rem 0; }
.sheet#more { align-items: flex-end; justify-content: center; }
.sheet#more .sheet-panel { width: 100%; height: auto; border-radius: 20px 20px 0 0; transform: translateY(30px); padding-bottom: calc(1.4rem + env(safe-area-inset-bottom)); }
.sheet#more.open .sheet-panel { transform: none; }
.sheet-grip { width: 38px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.25); margin: -.4rem auto 1rem; }
.sheet-nav { display: grid; }
.sheet-nav a { font-size: var(--t-lead); color: var(--link); padding: .75rem 0; }

/* ---------------------------------------------------------------- lightbox */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(12,12,12,.97); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .35s; }
.lb.open { opacity: 1; pointer-events: auto; }
.lb img { max-width: 92vw; max-height: 86vh; object-fit: contain; transition: opacity .3s; }
.lb button { position: absolute; background: none; border: 0; color: var(--faint); cursor: pointer; padding: 1rem 1.2rem; font-size: var(--t-label); }
.lb button:hover { color: var(--white); }
.lb .x { top: .6rem; right: var(--m); }
.lb .p { left: var(--m); top: 50%; transform: translateY(-50%); }
.lb .n { right: var(--m); top: 50%; transform: translateY(-50%); }
.lb .c { position: absolute; bottom: 1.4rem; left: 0; right: 0; text-align: center; color: var(--faint); font-size: var(--t-label); font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- reveal */
.js .rv { opacity: 0; transform: translateY(16px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  @view-transition { navigation: none; }
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1020px) {
  :root { --label: 9rem; }
  .masthead { grid-template-columns: auto 1fr auto; }
  .nav { justify-content: center; }
  .quotes { grid-template-columns: 1fr; }
  .release, .product-top { grid-template-columns: 1fr; }
  .product-side { position: static; }
}
@media (max-width: 760px) { .feature-film { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .masthead { grid-template-columns: 1fr auto; padding: .7rem var(--m); padding-top: calc(.7rem + env(safe-area-inset-top)); }
  .nav { display: none; }
  .tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(5, 1fr);
    padding: .35rem .5rem calc(.35rem + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--bg) 92%, transparent); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  }
  .tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: .35rem 0; border: 0; background: none; color: var(--faint); font-size: 11px; cursor: pointer; }
  .tabbar svg { width: 22px; height: 22px; }
  .tabbar [aria-current] { color: var(--white); }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .sec { grid-template-columns: 1fr; gap: 1rem; }
  .press .sec-label { flex-direction: row; flex-wrap: wrap; gap: .1rem .6rem; }
  .ledger-row { grid-template-columns: 1fr; gap: .1rem; padding: .45rem 0; }
  .items th, .items td { padding-right: .7rem; }
  .pager { grid-template-columns: 1fr 1fr; }
  .pager > :nth-child(2) { display: none; }
  .hero, .film-head { margin-top: -56px; min-height: 70vh; }
  .hero-dots { display: none; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 1rem; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.2rem 1rem; }
  .product-gallery.n5 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
  /* stills become a swipeable strip */
  .stills { display: flex; gap: .8rem; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--m) * -1); padding: 0 var(--m) .6rem; scrollbar-width: none; }
  .stills::-webkit-scrollbar { display: none; }
  .stills .still { flex: 0 0 86%; scroll-snap-align: center; }
  .sheet-panel { width: 100%; }
  .sheet.search { padding-top: 0; }
  .sheet.search .sheet-panel { width: 100%; max-height: 100%; height: 100%; border-radius: 0; padding-top: calc(1rem + env(safe-area-inset-top)); }
}
@media print {
  .masthead, .tabbar, .foot, .actions, .filters, .pager, .sheet { display: none !important; }
  body { background: #fff; color: #333; }
}

/* =================================================================
   Revision 3 — tags, price row, hover motion, justified text, filter rows
   ================================================================= */

/* "New": a small solid label sitting on the text column, above the title */
.tag { display: inline-flex; align-self: flex-start; align-items: center; height: 22px; padding: 0 .55rem; margin-bottom: .55rem;
  border-radius: 999px; background: rgba(255,255,255,.92); color: var(--bg); font-size: 12px; font-weight: 600; line-height: 1; letter-spacing: .02em; }

/* filters on two rows */
.filters { display: grid; gap: .5rem; padding: .6rem 0 1rem; }
.filter-row { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.filters button { transition: background .25s var(--ease), color .25s var(--ease), transform .2s var(--ease); }
.filters button:hover { background: rgba(255,255,255,.1); }
.filters button:active { transform: scale(.96); }

/* ---- justified text, with hyphenation so the spacing stays even */
.prose p, .prose li, .statement p, .synopsis p, .press blockquote p, .release-body p, .ff-text p, .quotes p, .sec-intro p {
  text-align: justify; text-justify: inter-word; -webkit-hyphens: manual; hyphens: manual;
}
.poem .stanza, .synopsis p:has(br) { text-align: left; -webkit-hyphens: manual; hyphens: manual; }

/* ---- hover motion ---- */
/* text links: a hairline that draws in from the left */
p a, li a, dd a, blockquote a, .foot a, .more a, .kicker a {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat,
              linear-gradient(var(--rule), var(--rule)) 0 100% / 100% 1px no-repeat;
  padding-bottom: .12em; transition: background-size .5s var(--ease), color .3s;
}
.foot a, .more a, .kicker a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; }
p a:hover, li a:hover, dd a:hover, blockquote a:hover, .foot a:hover, .more a:hover, .kicker a:hover { background-size: 100% 1px, 100% 1px; color: var(--white); }

/* menu: a short line slides in under the hovered or current page */
.nav a { position: relative; padding: .3rem 0; }
.nav a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 0; height: 1px; background: currentColor; transition: left .4s var(--ease), right .4s var(--ease); }
.nav a:hover::after, .nav a[aria-current]::after { left: 0; right: 0; }
.mark { transition: opacity .3s; }
.mark:hover { opacity: .7; }

/* film, music and poster tiles: the image slowly comes forward and brightens, the title slides */
.tile-img img { transition: transform 1.6s var(--ease), filter 1s var(--ease), opacity .9s var(--ease); filter: brightness(.88); }
a.tile:hover .tile-img img, a.tile:focus-visible .tile-img img { transform: scale(1.06); filter: brightness(1.06); }
.tile-img::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,0); transition: box-shadow .6s var(--ease); pointer-events: none; }
a.tile:hover .tile-img::after { box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.tile-cap .t { transition: transform .6s var(--ease), color .4s; }
a.tile:hover .tile-cap .t { transform: translateX(4px); }
.tile.is-static .tile-img img { filter: brightness(.8); }

/* store objects: lift off the page, shadow deepens */
.product-img img { transition: transform .9s var(--ease), filter .9s var(--ease), opacity .9s var(--ease); }
.product:hover .product-img img { transform: translateY(-8px) scale(1.015);
  filter: drop-shadow(0 38px 40px rgba(0,0,0,.6)) drop-shadow(0 8px 12px rgba(0,0,0,.4)); }
.product-title a { transition: color .3s; }
.product:hover .product-title a { color: var(--white); }

/* stills and covers */
.still img { transition: transform 1.6s var(--ease), filter 1s var(--ease); filter: brightness(.92); }
.still:hover img { transform: scale(1.035); filter: brightness(1.05); }
.product-gallery .still:hover img { transform: translateY(-6px); }

/* buttons: lift and brighten */
.btn { transition: background .3s var(--ease), color .3s, transform .35s var(--ease), box-shadow .35s var(--ease); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -10px rgba(0,0,0,.8); }
.btn:active { transform: translateY(0) scale(.97); box-shadow: none; }
.tool, .tabbar a, .tabbar button { transition: background .25s, color .25s, transform .3s var(--ease); }
.tool:hover { transform: scale(1.06); }
.pager a { transition: color .3s, transform .5s var(--ease); }
.pager a[rel="prev"]:hover { transform: translateX(-4px); }
.pager a[rel="next"]:hover { transform: translateX(4px); }
.results a { transition: background .2s; }
.player .play { transition: background .3s, transform .5s var(--ease); }

@media (hover: none) {
  a.tile:hover .tile-img img, .product:hover .product-img img, .still:hover img { transform: none; }
}
.filters.jump { display: flex; flex-wrap: wrap; gap: .45rem; }
.statement p { -webkit-hyphens: manual; hyphens: manual; }
/* a section holding one product (Everything) reads as one wide item */
.products:has(> .product:only-child) { grid-template-columns: minmax(0, 46rem); }
.products > .product:only-child { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 2.4rem; align-items: center; }
.products > .product:only-child .product-body { padding-top: 0; }
@media (max-width: 760px) {
  .products:has(> .product:only-child) { grid-template-columns: 1fr; }
  .products > .product:only-child { grid-template-columns: 1fr; gap: 0; }
}

/* Fix: the image fade-in rule (.js .ph img) was replacing the hover transitions,
   so products, tiles and stills jumped instead of moving. These carry both. */
.js .ph img { transition: opacity .9s var(--ease), transform 1.6s var(--ease), filter 1s var(--ease); }
.js .product-img .ph img, .js .product-gallery .ph img {
  transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease);
  will-change: transform;
}
.js .tile-img .ph img, .js .still .ph img { will-change: transform; }

/* =================================================================
   Revision 4
   ================================================================= */

/* masthead: name left, page links on the right, then search / cart / mail after a gap */
.masthead { grid-template-columns: 1fr auto auto; gap: 0; }
.nav { justify-content: flex-end; }
.tools { margin-left: clamp(1.6rem, 3vw, 2.8rem); gap: .15rem; }
@media (max-width: 1020px) { .masthead { grid-template-columns: 1fr auto auto; } .nav { justify-content: flex-end; } }
@media (max-width: 760px) { .masthead { grid-template-columns: 1fr auto; } .tools { margin-left: 0; } }

/* contact sidebar */
.sheet.write .sheet-panel { width: min(480px, 100%); gap: 0; }
.sheet.write .faint { margin: -.6rem 0 1.4rem; }
.sheet.write .contact { max-width: none; }
.sheet-nav button { all: unset; cursor: pointer; font-size: var(--t-lead); color: var(--link); padding: .75rem 0; }

/* about in two columns */
.columns { column-count: 2; column-gap: clamp(2rem, 4vw, 3.5rem); }
.columns p { break-inside: avoid; max-width: none; }
@media (max-width: 900px) { .columns { column-count: 1; } }

/* press: the leading quotes */
.quotes.featured { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 3.5rem; }
.press-featured { grid-template-columns: 1fr; padding-top: 1rem; }
.press-featured .sec-label:empty { display: none; }
.quotes.featured p { font-size: clamp(1.2rem, 1.9vw, 1.6rem); line-height: 1.38; }
@media (max-width: 900px) { .quotes.featured { grid-template-columns: 1fr; } }
.sec-label:empty { visibility: hidden; }

/* two columns: text scrolls, the image holds until the section ends */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.split-text .sec { grid-template-columns: 1fr; gap: .9rem; }
.split-text .sec-label:empty { display: none; }
.split-media { height: 100%; padding: clamp(2.4rem, 5vw, 4rem) 0; }
.split-media .sticky { position: sticky; top: 5.5rem; margin: 0; }
.split-media .sticky .ph, .split-media .sticky > img { border-radius: 4px; }
.split-media .sticky img { width: 100%; max-height: calc(100vh - 8rem); object-fit: cover; }
.product-split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.product-split .split-media .sticky img { object-fit: contain; max-height: none; }
.product-split .buy { padding: clamp(2.4rem, 5vw, 4rem) 0 1rem; }
.product-split .buy .lead { margin: 0 0 1.6rem; }
.product-split .buy .totals { justify-content: stretch; margin-bottom: 1.4rem; }
.product-split .buy .totals > div { grid-template-columns: 1fr auto; text-align: left; }
.product-split .buy .totals em, .product-split .buy .totals strong { text-align: right; }
.buy-row { display: flex; align-items: center; gap: 1.2rem; margin: 0 0 1rem; }
.price.big { font-size: var(--t-lead); }
@media (max-width: 900px) {
  .split, .product-split { grid-template-columns: 1fr; gap: 0; }
  .split-media { order: -1; padding-bottom: 0; }
  .split-media .sticky { position: static; }
}
.release-cover { position: sticky; top: 5.5rem; align-self: start; }

/* products: image, label, title, price and button on one left edge */
.products { align-items: start; }
.product-img { aspect-ratio: 4 / 5; padding: 0; justify-content: flex-start; align-items: flex-end; }
.product-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; object-position: left bottom; }
.product-img.square img { max-width: 92%; }
.product-body { padding-top: 1.1rem; }
.product-title { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; margin: 0; }
.product-title .tag { margin: 0; }
.product .sub { margin: .25rem 0 0; color: var(--faint); font-size: var(--t-label); }
.product-foot { padding-top: .9rem; gap: .8rem; align-items: center; }
.product-foot .price { min-width: 2.5rem; }
.product-foot .price s { font-size: var(--t-label); }
.products > .product:only-child .product-img { aspect-ratio: 4 / 5; }

/* product hover: the original — a gentle scale */
.js .product-img img, .product-img img {
  filter: drop-shadow(0 24px 30px rgba(0,0,0,.55)) drop-shadow(0 4px 8px rgba(0,0,0,.35));
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1), opacity .9s var(--ease) !important;
  transform-origin: left bottom;
}
.product:hover .product-img img, a.product-img:hover img {
  transform: scale(1.03) !important;
  filter: drop-shadow(0 24px 30px rgba(0,0,0,.55)) drop-shadow(0 4px 8px rgba(0,0,0,.35)) !important;
}
/* large type reads better ragged; justification stays on running text */
.statement p, .quotes p, .press blockquote.short p, .lead { text-align: left; -webkit-hyphens: manual; hyphens: manual; }
/* every cover stands on the same baseline, so titles, prices and buttons line up across a row */
.product-img { position: relative; display: block; aspect-ratio: 3 / 4; }
.product-img img { position: absolute; left: 0; bottom: 0; max-width: 100%; max-height: 100%; width: auto; height: auto; }
.product-img.square img { max-width: 92%; }
.products > .product:only-child .product-img { aspect-ratio: 3 / 4; }
.products { align-items: stretch; }
.product-body { flex: 1; }
.product-foot { margin-top: auto; }

/* contact sheet fills the screen on phones, like search and cart */
@media (max-width: 760px) {
  .sheet.write .sheet-panel, .sheet#cart .sheet-panel { width: 100%; height: 100%; border-radius: 0; padding-top: calc(1rem + env(safe-area-inset-top)); padding-bottom: calc(1.4rem + env(safe-area-inset-bottom)); }
}

/* ---------------------------------------------------------------- Revision 5 */
/* Players take each film's own frame: no bars either side. Tall frames are capped by height. */
.player { aspect-ratio: auto; width: min(100%, calc(78vh * var(--ar, 1.7778))); margin-inline: auto; }
.watch-frame { display: flex; justify-content: center; }
.feature-film .player { width: 100%; max-width: calc(70vh * var(--ar, 1.7778)); }

/* Stills: column count chosen by how many there are */
.stills.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stills.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.stills.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; }
@media (max-width: 1020px) { .stills.cols-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Hairlines, invoice style: as wide as the thing they rule, never the page */
.ledger { display: block; width: 100%; max-width: 38rem; }
.ledger-row { border-top: 1px solid var(--rule); padding: .55rem 0; }
.ledger-row:last-child { border-bottom: 1px solid var(--rule); }
.split-text .ledger, .buy .ledger { max-width: none; }
.items { width: auto; min-width: min(100%, 30rem); max-width: 100%; }
.items thead th { border-bottom: 1px solid var(--rule); padding-bottom: .55rem; }
.items tbody td { border-bottom: 1px solid var(--rule); padding: .6rem 1.2rem .6rem 0; }
.items tbody td:last-child { padding-right: 0; }
.sec-body > ul.plain { max-width: 38rem; }
ul.plain li { border-top: 1px solid var(--rule); padding: .5rem 0; }
ul.plain li:last-child { border-bottom: 1px solid var(--rule); }
.sheet-nav a, .sheet-nav button, .results a, .results li { border-top: 0; }

/* Home about: the opening of the biography, larger, over two columns */
.about-text p { font-size: var(--t-lead); line-height: 1.45; text-align: left; hyphens: manual; }
.about-text { column-gap: 3.2rem; }

/* search: grouped, short results */
.results .rg { margin: .9rem .8rem .2rem; color: var(--faint); font-size: var(--t-label); }
.results .rg:first-child { margin-top: .2rem; }
.results a { grid-template-columns: minmax(0, 1fr); padding: .5rem .8rem; }
.results .rx { white-space: normal; }
.filters button[aria-pressed="true"], .filters button[aria-pressed="true"]:hover { background: rgba(255,255,255,.92); color: var(--bg); }

/* sections: small heading above, content runs the full width beneath it */
.sec { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
.sec-label:empty { display: none; }
.press .sec-label { flex-direction: row; flex-wrap: wrap; gap: .1rem .6rem; }
.watch-frame { justify-content: flex-start; }
.player { margin-inline: 0; }
.about-text p { margin: 0 0 1.1em; }

/* ---- justified everywhere; short passages keep a measured width rather than spanning the page */
main p, main li, main blockquote p, .sheet p {
  text-align: justify; text-justify: inter-word; -webkit-hyphens: manual; hyphens: manual;
}
main p { max-width: 46rem; }
.statement p { max-width: 58rem; }
.columns p, .quotes p, .split-text p, .buy p, .product p, .tile-cap, .cart-note { max-width: none; }
.statement p, .quotes p, .press blockquote.short p, .lead, .about-text p { text-align: justify; -webkit-hyphens: manual; hyphens: manual; }
.poem .stanza, .synopsis p:has(br), .actions, .pager, .items td, .items th { text-align: left; -webkit-hyphens: manual; hyphens: manual; }
.product .sub, .tile-cap, footer span { text-align: left; -webkit-hyphens: manual; hyphens: manual; }
.sub-sec { margin-top: -1rem; }
.sub-head { margin: 0 0 .6rem; font-size: var(--t-label); font-weight: 400; color: var(--faint); }

/* watch / buy, right under the title */
.sec.where { display: flex; flex-wrap: wrap; gap: 1.6rem 3.5rem; padding-top: clamp(1.4rem, 3vw, 2.2rem); padding-bottom: clamp(1.4rem, 3vw, 2.2rem); }
.where-col { display: grid; gap: .8rem; align-content: start; }
.where-col .actions { margin: 0; }
.where.in-head { display: flex; flex-wrap: wrap; gap: 1.2rem 3rem; margin-top: 1.8rem; }
.where.in-head .sec-label { color: rgba(255,255,255,.7); }
.where.in-head .btn.ghost { background: color-mix(in srgb, var(--bg) 45%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }

/* streaming dropdown */
.menu { position: relative; display: inline-block; }
.menu > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .5rem; }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary::after { content: ""; width: .42rem; height: .42rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-.12rem) rotate(45deg); transition: transform .25s var(--ease); }
.menu[open] > summary::after { transform: translateY(.1rem) rotate(-135deg); }
.menu-list { position: absolute; z-index: 30; top: calc(100% + .5rem); left: 0; min-width: 13rem; display: grid; padding: .4rem; border-radius: 14px;
  background: rgba(24,27,30,.97); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 18px 40px -12px rgba(0,0,0,.7);
  animation: menu-in .22s var(--ease); }
.menu-list a { padding: .6rem .8rem; border-radius: 9px; color: var(--link); text-decoration: none; text-align: left; }
.menu-list a:hover, .menu-list a:focus-visible { background: var(--wash); color: var(--white); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* a table and its total share one width, so the total sits right under the last column */
.table-wrap { display: grid; width: fit-content; min-width: min(100%, 30rem); max-width: 100%; }
.table-wrap .items { width: 100%; min-width: 0; }
.table-wrap .totals { justify-content: end; }
.table-wrap .totals > div { grid-template-columns: auto auto; gap: 2rem; }

picture { display: contents; }
.screenings .sub { display: block; margin-top: .15rem; }
.screenings dd a { display: inline-block; margin-bottom: .15rem; }
.pay { display: grid; gap: .6rem; }
.btn.paypal { background: #ffc439; color: #111; }
.btn.paypal:hover { background: #f2b600; }
.ship-to { display: grid; gap: .4rem; margin-bottom: .6rem; font-size: var(--t-label); color: var(--faint); }
.ship-to select { appearance: none; -webkit-appearance: none; background: var(--wash); color: var(--white); border: 0; border-radius: 12px; padding: .7rem .9rem; font: inherit; font-size: var(--t-body); }

/* Large quotation marks on press quotes: opening and closing glyphs match, both inline with the text */
.quotes blockquote > p:first-of-type::before, .press blockquote > p:first-of-type::before, .pq blockquote > p:first-of-type::before,
.quotes blockquote > p:last-of-type::after, .press blockquote > p:last-of-type::after, .pq blockquote > p:last-of-type::after {
  font-family: Georgia, "Times New Roman", serif; font-size: 1.9em; line-height: 0;
  vertical-align: -.4em; color: var(--faint);
}
.quotes blockquote > p:first-of-type::before, .press blockquote > p:first-of-type::before, .pq blockquote > p:first-of-type::before { content: "\201C"; margin-right: .05em; }
.quotes blockquote > p:last-of-type::after, .press blockquote > p:last-of-type::after, .pq blockquote > p:last-of-type::after { content: "\201D"; margin-left: .05em; }

/* Homepage banner: slow merging cross-fade (timing in site.js) */
.hero .slide { transition: none; }
.hero .slide.arriving { z-index: 1; }
.hero .slide img { transform: scale(1.045); transition: transform 30s linear; }
.hero .slide.on img { transform: scale(1); }
.hero-cap { z-index: 3; }
.hero-cap a { transition: opacity 2.4s ease; }
@media (prefers-reduced-motion: reduce) { .hero .slide img { transform: none; transition: none; } }

/* Header page links at the size of the Cargo site (18px at 1440 wide, about 1.26vw) */
.masthead .nav { font-size: clamp(16px, 1.26vw, 21px); gap: clamp(1.4rem, 2.9vw, 3rem); }

/* Plain dark grey everywhere (the black-to-grey gradient is gone); splash images fade into it */
html, body { background: var(--bg); }
.home .hero { background: #000; }
.home .hero::after, .film .film-head::after {
  background: linear-gradient(to bottom, rgba(0,0,0,.45), rgba(0,0,0,0) 22%, rgba(0,0,0,0) 62%, var(--bg)); }

/* Splash images fill the whole screen of any device until you scroll */
.hero, .film-head { height: 100vh; height: 100svh; min-height: 0; }
@media (max-width: 760px) { .hero, .film-head { height: 100vh; height: 100svh; min-height: 0; } }

/* Header: clear over the splash image, frosted only once you have scrolled past it */
.masthead { transition: background-color .35s ease, -webkit-backdrop-filter .35s ease, backdrop-filter .35s ease; }
.masthead.over { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* Justified text, never hyphenated */
p, li, dd, blockquote, .prose, .synopsis, .statement { -webkit-hyphens: manual; hyphens: manual; }

/* Store dropdown */
.has-menu { position: relative; display: inline-flex; align-items: center; gap: .15rem; }
.menu-toggle { display: inline-grid; place-items: center; width: 1.3em; height: 1.3em; padding: 0; border: 0; background: none; color: var(--faint); cursor: pointer; }
.menu-toggle svg { width: .7em; height: .7em; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .3s var(--ease); }
.has-menu:hover .menu-toggle, .has-menu.open .menu-toggle { color: var(--white); }
.has-menu:hover .menu-toggle svg, .has-menu.open .menu-toggle svg { transform: rotate(180deg); }
.has-menu > .menu { position: absolute; top: 100%; right: -1rem; min-width: 13rem; padding: .7rem 0; margin-top: .4rem; border-radius: 10px;
  background: rgba(22,25,28,.96); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: 0 18px 40px -12px rgba(0,0,0,.7); opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s; font-size: .82em; z-index: 70; }
.has-menu > .menu::before { content: ""; position: absolute; left: 0; right: 0; top: -.9rem; height: .9rem; }
.has-menu:hover .menu, .has-menu:focus-within .menu, .has-menu.open .menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav .menu a { display: block; padding: .45rem 1.1rem; white-space: nowrap; color: var(--link); }
.nav .menu a::after { display: none; }
.nav .menu a:hover { color: var(--white); }

/* About: a lead line, then the fuller biography in two columns, a little smaller */
.about-lead { margin: 0 0 1.8rem; max-width: 52rem; font-size: var(--t-lead); line-height: 1.42; color: var(--white); text-align: left; }
.about-text p { font-size: clamp(.98rem, 1.05vw, 1.06rem); line-height: 1.6; color: var(--link); }
.about-more { display: flex; gap: 1.6rem; }

/* Filmography stills under the latest film */
.tiles.filmo { grid-template-columns: repeat(auto-fill, minmax(min(100%, 132px), 1fr)); gap: 1.4rem .9rem; }
.tiles.filmo .tile-cap .t { font-size: var(--t-label); line-height: 1.3; }
.tiles.filmo .tile-cap .s { font-size: .72rem; }
@media (max-width: 760px) { .tiles.filmo { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem .6rem; } }

/* News: Upcoming and Recent side by side */
.news-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem clamp(2rem, 5vw, 4.5rem); align-items: start; }
.news-col .sub-head:first-child { margin-top: 0; }
.news-cols .ledger { max-width: none; }
.news-cols .ledger-row { grid-template-columns: minmax(6.5rem, 9rem) minmax(0, 1fr); }
@media (max-width: 900px) { .news-cols { grid-template-columns: 1fr; } }

/* Footer: larger supporter logos */
.logos { gap: 2.2rem; }
.logos img { height: clamp(40px, 3.4vw, 52px); opacity: .7; }

/* Splash images sit on solid black, full contrast right to the bottom edge (no fade to grey) */
.hero, .film-head, .home .hero, .film .film-head { background: #000; }
.home .hero::after, .film .film-head::after, .hero::after, .film-head::after {
  background: linear-gradient(to bottom, rgba(0,0,0,.4), rgba(0,0,0,0) 18%); }
@media (max-width: 900px) { .news-col .sub-head.spacer { display: none; } }

/* ---- Cargo type: Helvetica Neue, line-height 1.3, sizes from the Cargo base unit ---- */
body { font: 400 var(--t-body)/1.3 "Helvetica Neue", Helvetica, sans-serif; letter-spacing: normal; }
h1, .page-head h1 { font-size: var(--t-title); font-weight: 700; line-height: 1.2; letter-spacing: normal; }
.mark { font-size: calc(var(--cu) * 2.5); font-weight: 700; line-height: 1.2; }
.masthead .nav { font-size: var(--t-body); }
.statement p, .about-lead, .quotes.featured p, .lead, .synopsis p, .quotes p, .press blockquote.short p { font-size: var(--t-lead); line-height: 1.2; letter-spacing: normal; }
.about-text p, .prose p, .prose li, .ff-text p, .release-body p, .sec-intro p, .press blockquote p { font-size: var(--t-body); line-height: 1.3; }
.tiles.filmo .tile-cap .t { font-size: var(--t-label); }
.tiles.filmo .tile-cap .s { font-size: max(12px, calc(var(--cu) * 1.1)); }

/* Splash caption: upright title, larger, year in brackets a little smaller */
.hero-cap { font-size: calc(var(--cu) * 2); line-height: 1.2; }
.hero-cap .t { font-style: normal; }
.hero-cap .y { font-size: .72em; color: rgba(255,255,255,.62); }

/* Store: products first on the left, the section's information on the right */
.store-split { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(16rem, 1fr); gap: 2.5rem clamp(2rem, 4vw, 4rem); align-items: start; }
.store-split .products { grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); }
.store-split .products:has(> .product:only-child) { grid-template-columns: minmax(0, 40rem); }
.store-info { position: sticky; top: 5.5rem; font-size: var(--t-label); }
.store-info p, .store-info li { font-size: var(--t-label); line-height: 1.4; text-align: left; margin: 0 0 .9em; }
.store-info .sub-head { margin: 1.4em 0 .5em; }
.store-info .includes { list-style: none; margin: 0 0 1em; padding: 0; border-top: 1px solid var(--rule); }
.store-info .includes li { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; margin: 0; border-bottom: 1px solid var(--rule); }
.store-group + .store-group { margin-top: clamp(2.8rem, 6vw, 4.5rem); padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--rule); }
.store-group-head { margin: 0 0 1.4rem; font-size: var(--t-body); font-weight: 400; color: var(--white); }
@media (max-width: 900px) {
  .store-split { grid-template-columns: 1fr; gap: 1.8rem; }
  .store-info { position: static; padding-top: 1.2rem; border-top: 1px solid var(--rule); }
}

/* Films: tiles on the left, a text index of every title on the right (just under a third of the width) */
.films-split { display: grid; grid-template-columns: minmax(0, 1fr) 30%; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.films-main > .sec:first-child { margin-top: 0; }
.film-index { position: sticky; top: 5.5rem; max-height: calc(100vh - 7rem); overflow-y: auto; scrollbar-width: thin; }
.film-index .sec-label { margin: 0 0 .6rem; }
.film-index .sec-label ~ .sec-label { margin-top: 2rem; }
.index-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.index-list li { border-bottom: 1px solid var(--rule); }
.index-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .5rem 0; color: var(--link); }
.index-list a:hover { color: var(--white); }
.index-list .t { min-width: 0; }
.index-list .sub { display: block; margin-top: .1rem; color: var(--faint); font-size: var(--t-label); }
.index-list .y { flex: none; color: var(--faint); font-variant-numeric: tabular-nums; }
@media (max-width: 900px) {
  .films-split { grid-template-columns: 1fr; }
  .film-index { position: static; max-height: none; overflow: visible; }
}
.index-list, .index-list * { text-align: left; }
.films-split > .film-index:first-child, .films-main + .film-index { margin-top: 0; }
body.films-page .films-split > .film-index { padding-top: clamp(2.4rem, 5vw, 4rem); }
.sec .films-split > .film-index { padding-top: 0; }
@media (max-width: 900px) { body.films-page .films-split > .film-index { padding-top: 0; } }
.store-info > .sub-head:first-child { margin-top: 0; }
.store-info .includes li span:last-child { text-align: right; }

/* News toggle */
.news-toggle { display: inline-flex; gap: .3rem; padding: .25rem; margin-bottom: 1.6rem; border-radius: 999px; background: var(--wash); }
.news-toggle button { padding: .4rem 1rem; border: 0; border-radius: 999px; background: none; color: var(--faint); font: inherit; font-size: var(--t-label); cursor: pointer; transition: background .25s, color .25s; }
.news-toggle button[aria-selected="true"] { background: rgba(255,255,255,.92); color: var(--bg); }
.news-pane .ledger { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 5vw, 4.5rem); max-width: none; }
.news-pane .ledger-row { grid-template-columns: minmax(6.5rem, 9rem) minmax(0, 1fr); }
@media (max-width: 900px) { .news-pane .ledger { grid-template-columns: 1fr; } }

/* About: the intro opens the two columns, a touch brighter */
.about-text p.about-first { color: var(--white); }

/* Filmography under the latest film: one row only */
.tiles.filmo { grid-auto-rows: 0; grid-template-rows: auto; row-gap: 0; overflow: hidden; }
@media (min-width: 761px) { .tiles.filmo { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
@media (min-width: 761px) and (max-width: 1100px) { .tiles.filmo { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* "More" links (Full biography, CV, Press, All films, Screening enquiries…) as pills,
   keeping the arrow and the underline that draws in on hover */
.more { display: flex; flex-wrap: wrap; gap: .6rem; }
.more a { display: inline-flex; align-items: center; min-height: 38px; padding: .5rem 1.1rem; border-radius: 999px; color: var(--link);
  text-decoration: none !important;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat, var(--wash);
  background-origin: content-box, padding-box; background-clip: content-box, padding-box;
  transition: background-size .45s var(--ease), background-color .25s, color .25s; }
.more a:hover { background-size: 100% 1px, auto; color: var(--white); }
.more a::after { content: "\00a0\00a0→"; color: var(--faint); transition: margin .25s var(--ease); }
.more a:hover::after { margin-left: .25em; }
.about-text .about-more { margin: 1.4rem 0 0; break-inside: avoid; }

/* About reads as an introduction: larger text */
.about-text p { font-size: max(16px, calc(var(--cu) * 1.8)); line-height: 1.3; letter-spacing: -.003em; margin-bottom: .9em; }
@media (max-width: 900px) { .about-text p { font-size: max(16px, calc(var(--cu) * 1.6)); } }
.about-text p.about-more { font-size: var(--t-label); line-height: 1.3; margin: 1.6rem 0 0; }

/* Pills: on hover a 1px line draws round the edge, starting along the bottom like the old underline */
.more a, .btn { position: relative; }
.more a { background: var(--wash) !important; }
.trace { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.trace path { fill: none; stroke: currentColor; stroke-width: 1; stroke-dasharray: 1 2; stroke-dashoffset: 1; stroke-linecap: butt;
  transition: stroke-dashoffset .55s var(--ease); vector-effect: non-scaling-stroke; }
.more a:hover .trace path, .more a:focus-visible .trace path, .btn:hover .trace path, .btn:focus-visible .trace path, .pager a:hover .trace path, .pager a:focus-visible .trace path { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) { .trace path { transition: none; } }

/* About: the opening paragraph runs full width at intro size; the rest in two columns at body size, tops aligned */
.about-text p { font-size: var(--t-body); line-height: 1.3; letter-spacing: normal; margin: 0 0 1.1em; }
.about-text p.about-first { column-span: all; font-size: max(17px, calc(var(--cu) * 1.8)); letter-spacing: -.003em; margin-bottom: 1.6rem; }
.about-text p.about-more { font-size: var(--t-label); line-height: 1.3; margin: 1.6rem 0 0; }
@media (max-width: 900px) { .about-text p.about-first { font-size: max(17px, calc(var(--cu) * 1.6)); } }

/* Videos: a fine outline; the page darkens around a film while it plays */
.player { outline: 1px solid rgba(255,255,255,.22); outline-offset: 0; }
.cinema-dim { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.88); opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility 0s .8s; cursor: zoom-out; }
body.cinema .cinema-dim { opacity: 1; visibility: visible; transition: opacity .8s var(--ease); }
.lifted { position: relative; z-index: 91; }
body.cinema .player.lifted { outline-color: rgba(255,255,255,.4); }

/* Latest film: the text sits at the top, level with the top of the video */
.feature-film { align-items: start; }
.feature-film .ff-text h3 { margin-top: 0; }

/* Latest film: fuller text beside the video */
.ff-text .meta { margin: .3rem 0 1.2rem; color: var(--faint); font-size: var(--t-label); }
.ff-text .ff-poem { font-style: italic; color: var(--link); text-align: left; margin: 0 0 1.2rem; line-height: 1.35; }
.ff-text h4.sec-label { margin: 1.6rem 0 .5rem; }
.ff-shows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.ff-shows li { display: grid; grid-template-columns: 5.2rem minmax(0, 1fr); gap: 1rem; padding: .45rem 0; border-bottom: 1px solid var(--rule); font-size: var(--t-label); color: var(--link); line-height: 1.35; }
.ff-shows .d { color: var(--faint); }
.ff-shows .sub { display: block; }
.ff-text .more { margin-top: 1.4rem; }
.ff-text p.more { font-size: var(--t-label); line-height: 1.3; margin-top: 1.3rem; }
.ff-shows, .ff-shows * { text-align: left; }

/* Press page: three columns across the page */
.quotes.featured.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.6rem clamp(1.6rem, 3vw, 2.6rem); }
.press-grid { column-count: 3; column-gap: clamp(1.6rem, 3vw, 2.6rem); }
.pq { break-inside: avoid; margin: 0 0 2.8rem; padding-top: 1.4rem; border-top: 1px solid var(--rule); }
.pq blockquote { margin: 0; }
.pq blockquote p { font-size: var(--t-body); line-height: 1.35; margin: 0 0 .8em; }
.pq figcaption { display: flex; flex-direction: column; gap: .1rem; font-size: var(--t-label); margin-top: .6rem; }
.pq .who { color: var(--white); }
.pq .role { color: var(--faint); }
@media (max-width: 1100px) { .quotes.featured.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } .press-grid { column-count: 2; } }
@media (max-width: 700px) { .quotes.featured.three { grid-template-columns: 1fr; } .press-grid { column-count: 1; } }

/* ===== One style everywhere, taken from the home page ===== */

/* Press page: every quote as on the home page, in three columns */
.quotes.press-grid { display: block; column-count: 3; column-gap: 2.4rem; }
.quotes.press-grid blockquote { break-inside: avoid; margin: 0 0 3rem; }
.quotes.press-grid blockquote p { font-size: var(--t-lead); line-height: 1.2; }
@media (max-width: 1100px) { .quotes.press-grid { column-count: 2; } }
@media (max-width: 700px) { .quotes.press-grid { column-count: 1; } }

/* Every link button is a home-page pill: soft grey, arrow, the line that draws round it on hover.
   Buttons that act (Add to cart, Send) stay white. */
a.btn, a.btn.ghost { min-height: 38px; padding: .5rem 1.1rem; border: 0; background: var(--wash) !important; color: var(--link); font-size: var(--t-label); }
a.btn:hover, a.btn.ghost:hover { background: rgba(255,255,255,.1) !important; color: var(--white); }
a.btn::after { content: "\00a0\00a0→"; color: var(--faint); transition: margin .25s var(--ease); }
a.btn:hover::after { margin-left: .25em; }
.where.in-head a.btn { background: color-mix(in srgb, var(--bg) 45%, transparent) !important; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.where.in-head a.btn:hover { background: color-mix(in srgb, var(--bg) 65%, transparent) !important; }

/* Previous / All / Next as pills too */
.pager a { display: inline-flex; align-items: baseline; gap: .5rem; min-height: 38px; padding: .55rem 1.1rem; border-radius: 999px;
  background: var(--wash); color: var(--link); font-size: var(--t-label); position: relative; }
.pager a:hover { background: rgba(255,255,255,.1); color: var(--white); }
.pager a .label { display: inline; margin: 0; color: var(--faint); font-size: inherit; }
.pager a[rel="prev"]::before { content: "←"; color: var(--faint); }
.pager a[rel="next"]::after { content: "→"; color: var(--faint); }

/* Page introductions (Info, Music) read like the home page's opening paragraph */
.statement.small p { font-size: calc(var(--cu) * 1.8); line-height: 1.3; color: var(--white); max-width: none; text-align: justify; }
@media (max-width: 900px) { .statement.small p { font-size: calc(var(--cu) * 1.6); } }

/* Screenings and publications: full width, two columns, as News on the home page */
.ledger.screenings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 5vw, 4.5rem); max-width: none; }
.ledger.screenings .ledger-row { grid-template-columns: minmax(6.5rem, 9rem) minmax(0, 1fr); }
@media (max-width: 900px) { .ledger.screenings { grid-template-columns: 1fr; } }

/* Streaming services menu button: a pill like the rest */
details.menu > summary.btn { min-height: 38px; padding: .5rem 1.1rem; border: 0; background: var(--wash); color: var(--link); font-size: var(--t-label); list-style: none; }
details.menu > summary.btn::-webkit-details-marker { display: none; }
details.menu > summary.btn:hover { background: rgba(255,255,255,.1); color: var(--white); }

/* Previous / All / Next: compact pills in a row */
.pager { display: flex; justify-content: space-between; align-items: center; gap: .6rem; flex-wrap: wrap; }
.pager > span:empty { flex: 1; }
.pager a { flex-direction: row !important; text-align: left !important; width: auto; }
.pager a:hover { transform: none !important; }

/* Film pages: synopsis beside the video, exactly as Latest film on the home page; on phones the synopsis comes first */
.film-watch .player { width: 100%; max-width: none; margin: 0; }
.film-watch .ff-text .ff-poem { white-space: normal; }
@media (max-width: 900px) { .film-watch .ff-text { order: -1; } }
/* Posters on the right of the film's details */
.poster-split .split-media .sticky img { object-fit: contain; height: auto; max-height: calc(100vh - 8rem); width: auto; max-width: 100%; margin-left: auto; }
.poster-split .split-media .sticky .ph { display: block; width: fit-content; max-width: 100%; margin-left: auto; }

/* Apple logo + Music */
.apple-music { display: inline-flex; align-items: baseline; gap: .12em; white-space: nowrap; }
.apple-logo { width: .82em; height: .82em; fill: currentColor; align-self: center; transform: translateY(-.06em); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Pill text in bold */
.more a, a.btn, .btn, .pager a, details.menu > summary.btn, .news-toggle button { font-weight: 700; }
.pager a .label { font-weight: 400; }

/* Film posters: large, all the same size, set to the far right */
.poster-split .split-media .sticky { display: flex; justify-content: flex-end; }
.poster-split .split-media .sticky .ph, .poster-split .split-media .sticky picture { display: block; width: min(100%, calc((100vh - 8rem) * 2 / 3)); margin-left: auto; }
.poster-split .split-media .sticky img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; max-height: none; object-fit: cover; margin-left: auto; }

/* Film pages: everything beside the image sits in one column on the right */
.split-text .ledger.screenings { grid-template-columns: 1fr; }
.split-text .quotes.film-quotes { grid-template-columns: 1fr; gap: 2rem; }

/* Home: News with the Store beside it; stacked when the Recent list is open */
.news-store { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: clamp(2rem, 5vw, 4.5rem); align-items: start; margin: 0 var(--m); }
.home main > .news-store > .sec { margin: 0; }
.news-store:not(.stacked) .news-pane .ledger { grid-template-columns: 1fr; }
.news-store:not(.stacked) .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.4rem; }
.ns-switch { display: none; }
.news-store > .sec:first-of-type { grid-column: 1; }
@media (max-width: 900px) {
  .news-store { grid-template-columns: 1fr; }
  .ns-switch { display: inline-flex; justify-self: start; margin-top: clamp(2rem, 6vw, 3rem); }
  .news-store[data-show="news"] > .sec:last-of-type, .news-store[data-show="store"] > .sec:first-of-type { display: none; }
  .news-store > .sec { padding-top: 1.2rem; }
  .news-store .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Screening lists: festival and year, chronological, hairlines between */
.chrono-screenings { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.chrono-screenings li { padding: .55rem 0; border-bottom: 1px solid var(--rule); }
.chrono-screenings .t { display: block; color: var(--link); }
.chrono-screenings .sub { display: block; }
.ff-shows li { grid-template-columns: 1fr; }
@media (max-width: 900px) { .news-store > .sec > .sec-label { display: none; } }

/* Lightbox: glyphs instead of words */
.lb button { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 999px; }
.lb button:hover { background: rgba(255,255,255,.08); }
.lb button svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.lb .x { top: 1rem; }

/* Images get the same fine outline as videos */
.still, .split-media .sticky .ph, .split-media .sticky > picture img, .tile-img, .product-img, .feature-film .player { outline: 1px solid rgba(255,255,255,.22); outline-offset: 0; }
.product-gallery .still, .product-img.case, .product-img.book, .product-img.poster { outline: none; }

/* Film pages: every still at the film's own shape; the viewer shows each one whole */
.stills.same-ar .still { aspect-ratio: var(--still-ar); }
.stills.same-ar .still .ph, .stills.same-ar .still picture, .stills.same-ar .still img { display: block; width: 100%; height: 100%; object-fit: cover; }
.film-split .split-media .sticky .ph, .film-split .split-media .sticky picture { display: block; aspect-ratio: var(--still-ar); }
.film-split .split-media .sticky img { width: 100%; height: 100%; aspect-ratio: var(--still-ar); object-fit: cover; max-height: none; }

/* One body-text style everywhere, as on the home page */
.prose p, .prose li, .split-text p, .ff-text p, .synopsis p, .sec-intro p, .release-body p { font-size: var(--t-body); line-height: 1.3; color: var(--link); }
.ff-text .ff-poem { color: var(--link); }
.sub, .chrono-screenings .sub, .ff-shows .sub { text-align: left; }
.intro-still { display: block; aspect-ratio: var(--still-ar, 1.333); }
.intro-still .ph, .intro-still picture, .intro-still img { display: block; width: 100%; height: 100%; object-fit: cover; }
.store-info .includes li, .store-info .includes li span { font-size: var(--t-label); line-height: 1.35; }
.store-info .includes li span:first-child { color: var(--link); }

/* Outlines on film stills only (not store items, tiles, portraits) */
.split-media .sticky .ph, .split-media .sticky > picture img, .tile-img, .product-img, .feature-film .player, .still { outline: none; }
.stills .still, .intro-still, .film-split .split-media .sticky .ph, .film-split .split-media .sticky picture { outline: 1px solid rgba(255,255,255,.22); outline-offset: 0; border-radius: 4px; overflow: hidden; }
.feature-film .player { outline: 1px solid rgba(255,255,255,.22); }

/* Store: images start right under the heading in every section (no fixed box leaving space above short shapes) */
.store-split .product-img { aspect-ratio: auto; display: block; padding: 0; }
.store-split .product-img .ph { display: block; height: auto; }
.store-split .product-img img { position: static; display: block; width: 100%; height: auto; max-width: 100%; max-height: none; }
.store-split .product-img.square img { max-width: 100%; }

/* Both columns stick: whichever is shorter (products or the notes) stays in view until the next section */
.store-split .store-info { position: sticky; top: 5.5rem; align-self: start; }

/* Press page: two columns */
.quotes.press-grid { column-count: 2; column-gap: clamp(2.4rem, 5vw, 4.5rem); }
@media (max-width: 700px) { .quotes.press-grid { column-count: 1; } }

.catalogue-includes { margin-top: 1.8rem; max-width: 40rem; }
.catalogue-includes .sec-label { margin: 0 0 .5rem; }
.catalogue-includes .includes { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.catalogue-includes .includes li { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; border-bottom: 1px solid var(--rule); font-size: var(--t-label); color: var(--link); }

/* An image trimmed to the height of the text beside it */
.split.fit .split-media .sticky { position: static; overflow: hidden; border-radius: 4px; }
.split.fit .split-media .sticky .ph, .split.fit .split-media .sticky picture { display: block; height: 100%; aspect-ratio: auto; }
.split.fit .split-media .sticky img { width: 100%; height: 100%; max-height: none; aspect-ratio: auto; object-fit: cover; }

/* Info: chapters of the biography, each beside an image, with the CV facts that belong to it */
.info-chapter .sub-head { margin: 1.8rem 0 .6rem; }
.info-chapter .themes { color: var(--faint); font-size: var(--t-label); line-height: 1.5; text-align: left; }
.cv-ledger { max-width: none; }
.cv-ledger .ledger-row { grid-template-columns: 4.5rem minmax(0, 1fr); gap: 1rem; padding: .45rem 0; border-bottom: 1px solid var(--rule); }
.cv-ledger .ledger-row:first-child { border-top: 1px solid var(--rule); }
.cv-ledger + .cv-ledger .ledger-row:first-child { border-top: 0; }
.cv-ledger dd { font-size: var(--t-label); line-height: 1.4; color: var(--link); }
.cv-ledger dd .sub { display: block; }
.plain-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.plain-list li { padding: .45rem 0; border-bottom: 1px solid var(--rule); font-size: var(--t-label); line-height: 1.4; color: var(--link); text-align: left; }
.cv-ledger .ledger-row { grid-template-columns: 6rem minmax(0, 1fr); }
/* Info: every image shown whole, at its own full height, never cropped or trimmed to the text */
.info-chapter .split-media .sticky img { max-height: none; height: auto; object-fit: contain; }
.info-chapter .split-media .sticky .ph { height: auto; }

/* Selected filter pills: bold */
.filters button, .news-toggle button { font-weight: 400; }
.filters button[aria-pressed="true"], .news-toggle button[aria-selected="true"], .news-toggle button[aria-pressed="true"] { font-weight: 700; }

/* Footer: supporters and social on one hairline row, copyright beneath */
.foot { border-top: 1px solid var(--rule); padding-top: 2.4rem; }
.foot .foot-row { align-items: center; }
.foot .logos { display: flex; align-items: center; gap: clamp(1.4rem, 3vw, 2.4rem); }
.foot .logos img { height: clamp(34px, 2.8vw, 44px); width: auto; opacity: .6; transition: opacity .25s; }
.foot .logos img:hover { opacity: .9; }
.foot-label { color: var(--faint); font-size: var(--t-label); white-space: nowrap; }
.foot .foot-row.base { padding-top: 1.4rem; color: var(--faint); font-size: var(--t-label); }
@media (max-width: 760px) {
  .foot .foot-row { flex-direction: column; align-items: flex-start; gap: 1.6rem; }
  .foot .logos { flex-wrap: wrap; }
  .foot-label { flex-basis: 100%; }
}
.statement.small p.info-cv { margin-top: 1.6rem; font-size: var(--t-body); line-height: 1.3; }

/* Phones: the page menu is an ellipsis beside search, cart and contact; header tools are full 44px touch targets */
.menu-dot { display: none !important; }
.menu-dot svg { fill: currentColor; stroke: none; }
@media (max-width: 760px) {
  .tabbar { display: none !important; }
  .menu-dot { display: grid !important; }
  .masthead .tools { gap: 0; margin-right: -10px; }
  .masthead .tool { width: 44px; height: 44px; }
  .masthead .tool svg { width: 24px; height: 24px; }
  .masthead .tool.menu-dot svg { width: 26px; height: 26px; }
  body { padding-bottom: env(safe-area-inset-bottom); }
  #more .sheet-nav a[aria-current] { color: var(--white); font-weight: 700; }
}

/* Footer social links as brand glyphs */
.foot-social { gap: .2rem; align-items: center; }
.foot .foot-social a { display: grid; place-items: center; width: 44px; height: 44px; background: none !important; border-radius: 50%; color: var(--faint); transition: color .2s, background-color .2s; }
.foot .foot-social a:hover { color: var(--white); background-color: var(--wash) !important; }
.foot-social svg { width: 20px; height: 20px; fill: currentColor; }
@media (min-width: 761px) { .foot .foot-social { margin-right: -12px; } }
@media (max-width: 760px) { .foot .foot-social { margin-left: -12px; } }

/* Phones: every control at least 44px tall to touch (Apple HIG) */
@media (max-width: 760px) {
  .btn, .more a, .pager a, .filters button, .news-toggle button, a.btn, button.btn.small { min-height: 44px; display: inline-flex; align-items: center; }
  .filters .filter-row, .filter-row { row-gap: .5rem; }
  .index-list a, .side-list a, ul li > a:only-child { min-height: 44px; display: flex; align-items: center; }
  .product-title a { display: inline-block; padding: .7rem 0; margin: -.7rem 0; }
  a.btn, a.btn.ghost, details.menu > summary.btn, .btn.small { min-height: 44px !important; }
  .menu-list a, .menu a { min-height: 44px; display: flex; align-items: center; }
  .mark { display: inline-block; padding: .55rem 0; }
  .hero-cap a { display: inline-block; padding: .7rem 0; margin: -.7rem 0; }
  .ledger dd > a:only-child { display: inline-block; padding: .55rem 0; margin: -.55rem 0; }
}

/* Tablets: phone header (ellipsis menu) until the full nav fits beside the name */
@media (max-width: 900px) {
  .masthead { grid-template-columns: 1fr auto !important; }
  .masthead .nav { display: none; }
  .menu-dot { display: grid !important; }
}
/* Tables never wider than the screen */
table.items { width: 100%; max-width: 100%; table-layout: fixed; }
table.items td, table.items th { overflow-wrap: anywhere; }
@media (max-width: 760px) { table.items td + td, table.items th + th { padding-left: .8rem; } }

/* Film pages: synopsis | credits and technical, then the film full width, then the rest */
.film-intro { padding: clamp(2.4rem, 5vw, 4rem) 0 0; }
.film-intro .intro-text .ff-text { padding-top: 0; }
.film-intro .intro-text .ff-text h3 { margin-top: 0; }
.film-intro .intro-details > .sec:first-child { padding-top: 0; border-top: 0; margin-top: 0; }
.film-intro .intro-details .sec { grid-template-columns: 1fr; gap: .9rem; padding-top: 2.2rem; }
.film-player .player { width: min(100%, calc((100vh - 9rem) * var(--ar, 1.7778))); }
@media (max-width: 900px) { .film-intro { grid-template-columns: 1fr; gap: 2.4rem; } }
.film-intro .intro-details > .sec { padding-bottom: 0 !important; }
.film-intro .intro-details > .sec + .sec { padding-top: 2.4rem !important; margin-top: 0 !important; }
.film-intro .intro-details .ledger { margin-bottom: 0; }
/* Pills over the header image: a thin outline so they hold against any still */
.where.in-head a.btn, .where.in-head .btn { box-shadow: inset 0 0 0 1px rgba(255,255,255,.32); }
.where.in-head a.btn:hover, .where.in-head .btn:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); }

/* Screenings map */
.map-split .split-media .sticky.globe { position: sticky; top: 5.5rem; aspect-ratio: 1; width: 100%; max-height: calc(100vh - 7rem); margin: 0 auto; touch-action: none; cursor: grab; }
.globe.dragging { cursor: grabbing; }
.globe svg { display: block; width: 100%; height: 100%; max-height: calc(100vh - 7rem); margin: 0 auto; }
.g-sphere { fill: #15181c; stroke: rgba(255,255,255,.18); stroke-width: 1; }
.g-grat { fill: none; stroke: rgba(255,255,255,.05); stroke-width: .6; }
.g-land { fill: rgba(255,255,255,.075); stroke: none; }
.g-borders { fill: none; stroke: rgba(255,255,255,.14); stroke-width: .5; }
.g-dot { fill: rgba(255,255,255,.88); stroke: color-mix(in srgb, var(--bg) 90%, transparent); stroke-width: 1.2; cursor: pointer; filter: drop-shadow(0 0 4px rgba(255,255,255,.55)); transition: r .2s; }
.g-dot.on { fill: #fff; filter: drop-shadow(0 0 9px rgba(255,255,255,.95)); }
/* talks, conferences and research on the work: a quieter, hollow point */
.g-dot.research { fill: rgba(16,18,20,.55); stroke: rgba(255,255,255,.8); stroke-width: 1.4; filter: drop-shadow(0 0 3px rgba(255,255,255,.35)); }
.g-dot.research.on { fill: rgba(255,255,255,.35); stroke: #fff; }
.map-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1rem; }
.map-filter .chip { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: .5rem; min-height: 36px;
  padding: .35rem .9rem; border-radius: 999px; background: var(--wash); color: var(--faint); font-size: var(--t-label); }
.map-filter .chip.on { background: rgba(255,255,255,.14); color: var(--white); }
.map-filter .chip:focus-visible { outline: 1px solid rgba(255,255,255,.6); outline-offset: 2px; }
.map-filter .key-r { width: 9px; height: 9px; border-radius: 50%; border: 1.4px solid currentColor; }
.place-row[hidden], .place-row .cities [hidden] { display: none; }
.globe { position: relative; }
.globe-tip { position: absolute; transform: translate(-50%, calc(-100% - 12px)); padding: .35rem .7rem; border-radius: 999px; background: color-mix(in srgb, var(--bg) 90%, transparent); color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); font-size: var(--t-label); font-weight: 700; white-space: nowrap; pointer-events: none; }
.place { border-bottom: 1px solid var(--rule); }
.place button { all: unset; box-sizing: border-box; display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 44px; cursor: pointer;
  color: var(--white); font-size: var(--t-body); }
.place button .n { color: var(--faint); font-size: var(--t-label); }
.place button:hover, .place.on button { font-weight: 700; }
.place button:focus-visible { outline: 1px solid rgba(255,255,255,.6); outline-offset: 2px; }
.place .chrono-screenings { margin: 0 0 .9rem; }
.map-split .sub-head:first-child { margin-top: 0; }
@media (max-width: 900px) {
  .map-split .split-media .sticky.globe { position: relative; top: 0; max-width: 520px; }
}
.lead.map-lead { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; text-align: left; max-width: none; }
.map-top { display: inline-flex; margin: 0; font-size: var(--t-label); }

/* Places: one row per country, its cities alongside */
.places { border-top: 1px solid var(--rule); }
.place-row { display: grid; grid-template-columns: minmax(7rem, 30%) 1fr; gap: .2rem 1.2rem; padding: .55rem 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.place-row button { all: unset; box-sizing: border-box; cursor: pointer; min-height: 32px; display: inline-flex; align-items: center; }
.place-row .country { color: var(--faint); font-size: var(--t-label); }
.place-row .cities { display: flex; flex-wrap: wrap; gap: 0 1.1rem; }
.place-row .cities button { color: var(--link); font-size: var(--t-body); }
.place-row button:hover, .place-row button.on { color: var(--white); font-weight: 700; }
.place-row button:focus-visible { outline: 1px solid rgba(255,255,255,.6); outline-offset: 2px; }
@media (max-width: 760px) { .place-row { grid-template-columns: 1fr; } .place-row button { min-height: 44px; } .place-row .country { min-height: 28px; } }

/* Latest film on the home page: the same two columns as the About text above it */
.home .feature-film { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 3.2rem; }
.home .feature-film .player { max-width: none; }
@media (max-width: 760px) { .home .feature-film { grid-template-columns: 1fr; } }
.home .feature-film .ff-text p { max-width: none; }

/* Films page on phones: two films per row upright, three on their side */
@media (orientation: portrait) and (max-width: 760px) {
  body.films-page main .tiles:not(.four) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (orientation: landscape) and (max-height: 500px) {
  body.films-page .films-split { grid-template-columns: 1fr; }
  body.films-page .films-split > .film-index { padding-top: 0; position: static; max-height: none; overflow: visible; }
  body.films-page main .tiles:not(.four) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem 1rem; }
}

/* ---------------------------------------------------------------- mid-sized screens (iPhone Duo inside, iPad mini/Air upright):
   keep side-by-side layouts from 701px rather than stacking them like a phone */
@media (min-width: 701px) and (max-width: 900px) {
  .split, .product-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.6rem, 3.5vw, 2.4rem); }
  .split-media { order: 0; padding-bottom: clamp(2.4rem, 5vw, 4rem); }
  .split-media .sticky { position: sticky; }
  .map-split .split-media .sticky.globe { position: sticky; top: 5rem; }
  .home .feature-film { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 2.2rem; }
  .film-watch .ff-text { order: 0; }
}
@media (min-width: 701px) and (max-width: 760px) {
  .feature-film { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
/* Films page: more films per row on mid screens, index list below them */
@media (min-width: 601px) and (max-width: 1100px) and (min-height: 501px) {
  body.films-page .films-split { grid-template-columns: 1fr; }
  body.films-page .films-split > .film-index { position: static; max-height: none; overflow: visible; padding-top: 0; }
  body.films-page main .tiles:not(.four) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 1.2rem; }
  .home .tiles.filmo { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 901px) and (max-width: 1100px) and (min-height: 501px) {
  body.films-page main .tiles:not(.four) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .home .tiles.filmo { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
/* Notes are long essays: keep full-width text until the screen is wide enough for a comfortable column */
@media (min-width: 701px) and (max-width: 900px) {
  body.notes-page .split { grid-template-columns: 1fr; gap: 0; }
  body.notes-page .split-media { order: -1; padding-bottom: 0; }
  body.notes-page .split-media .sticky { position: static; }
}
/* Music releases: three per row on mid screens */
@media (min-width: 601px) and (max-width: 900px) and (min-height: 501px) {
  body.music-page main .tiles:not(.four) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 1.2rem; }
}
/* Two justified text columns side by side only where each column is wide enough to avoid gaps between words */
@media (min-width: 801px) and (max-width: 900px) {
  .film-intro { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.4rem; }
  .about-text, .columns { column-count: 2; column-gap: 2.2rem; }
}

/* ---------------------------------------------------------------- pages and writing made in the phone app */
.blocks { display: grid; gap: clamp(2rem, 4.5vw, 3.4rem); padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 5rem); }
.blk-text, .blk-heading, .blk-quote, .blk-buttons, .blk-video, .blk-picture.size-text { max-width: 46rem; }
.blk-heading { font-size: var(--t-lead); color: var(--white); line-height: 1.3; }
.blk-text p:last-child { margin-bottom: 0; }
.blk-picture { margin: 0; }
.blk-picture.size-full { margin-inline: calc(var(--m) * -1); }
.blk-picture.size-full .still { border-radius: 0; }
.blk-picture figcaption, .md-figure figcaption { margin-top: .7rem; color: var(--faint); font-size: var(--t-label); }
.blk-quote { margin: 0; }
.blk-quote footer { margin-top: .8rem; font-size: var(--t-label); }
.blk-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.blk-col .still { margin-bottom: 1.1rem; }
.blk-col p { margin: 0 0 1.05em; }
.blk-divider { border: 0; border-top: 1px solid var(--rule); margin: 0; }
.md-figure { margin: 1.6em 0; max-width: 46rem; }
.player.embed { margin: 1.4em 0; max-width: 60rem; }
.player.yt { aspect-ratio: 16 / 9; }
.player.yt iframe, .player.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.prose h2, .prose h3, .prose h4, .blk-text h2, .blk-text h3, .blk-text h4 { color: var(--white); margin: 1.6em 0 .6em; line-height: 1.25; }
.prose h2, .blk-text h2 { font-size: var(--t-lead); }
.prose h3, .prose h4, .blk-text h3, .blk-text h4 { font-size: var(--t-body); }
.prose blockquote, .blk-text blockquote, .synopsis blockquote { margin: 1.4em 0; padding-left: 1.2rem; border-left: 1px solid var(--rule); color: var(--link); }
.prose ol, .blk-text ol, .blk-text ul { padding-left: 1.3rem; margin: 0 0 1.05em; }
.prose table, .blk-text table { border-collapse: collapse; margin: 1.2em 0; }
.prose th, .prose td, .blk-text th, .blk-text td { text-align: left; padding: .45rem 1.2rem .45rem 0; border-bottom: 1px solid var(--rule); }
.prose th, .blk-text th { color: var(--faint); font-weight: 400; font-size: var(--t-label); }
.footnote { margin-top: 2.4em; font-size: var(--t-label); color: var(--faint); }
.footnote hr { border: 0; border-top: 1px solid var(--rule); margin: 0 0 1em; max-width: 8rem; }
.footnote ol { padding-left: 1.2rem; }
sup a.footnote-ref { text-decoration: none; color: var(--link); padding-left: .1em; }
a.footnote-backref { text-decoration: none; }
@media (max-width: 760px) { .blk-columns { grid-template-columns: 1fr; } }

.code-field { display: flex; gap: .5rem; align-items: center; margin: 1rem 0 .2rem; }
.code-field input { flex: 1; min-width: 0; background: var(--wash); border: 1px solid transparent; border-radius: 999px; padding: .55rem .95rem; color: var(--white); font: inherit; font-size: var(--t-label); text-transform: uppercase; }
.code-field input:focus { outline: none; border-color: var(--rule); }
.btn[disabled] { opacity: .45; cursor: default; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.join { display: flex; gap: .6rem; align-items: center; margin: .4rem 0 1rem; color: var(--faint); font-size: var(--t-label); }
.cf-turnstile { margin: .6rem 0 1rem; }
.signup { display: grid; gap: .6rem; padding-bottom: 1.6rem; }
.signup label { color: var(--faint); font-size: var(--t-label); }
.signup-field { display: flex; gap: .5rem; max-width: 30rem; }
.signup-field input[type=email] { flex: 1; min-width: 0; background: var(--wash); border: 1px solid transparent; border-radius: 999px; padding: .55rem .95rem; color: var(--white); font: inherit; font-size: var(--t-label); }
.signup-field input[type=email]:focus { outline: none; border-color: var(--rule); }

.licence-fields, .gift-fields { display: grid; gap: .5rem; margin: .8rem 0; }
.licence-fields input, .gift-fields input, .gift-fields textarea { background: var(--wash); border: 1px solid transparent; border-radius: 12px; padding: .55rem .85rem; color: var(--white); font: inherit; font-size: var(--t-label); }
.quote-fee { min-height: 1.4em; }

/* paying inside the cart */
.pay { display: grid; gap: .6rem; }
.paypal-slot { min-height: 44px; margin-top: .8rem; color-scheme: light; background: transparent; }
.paypal-slot:empty { display: none; }
.pay-frame { margin-top: .8rem; border-radius: 14px; overflow: hidden; background: #fff; min-height: 120px; }
.pay-frame:has(.cart-note) { background: none; }
.back-to-cart { margin-bottom: .4rem; }
.order-view section { margin-top: 1.4rem; }
.order-view h2 { font-size: var(--t-label); color: var(--faint); font-weight: 400; margin: 0 0 .5rem; }
.order-view .row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .7rem 0; border-top: 1px solid var(--rule); }
.order-view .row a { flex: none; background: rgba(255,255,255,.92); color: var(--bg); border-radius: 999px; padding: .5rem 1rem; font-weight: 700; text-decoration: none; font-size: var(--t-label); }
.order-view .lead { color: var(--white); }
.order-view .note { font-size: var(--t-label); color: var(--faint); }

/* suggestions in the cart */
.cart-suggest { margin-top: 1.6rem; }
.cart-suggest h3 { font-size: var(--t-label); color: var(--faint); font-weight: 400; margin: 1.2rem 0 .4rem; }
.cart-suggest h3:first-child { margin-top: 0; }
.cart-line.suggest .lp { display: flex; flex-direction: column; align-items: flex-end; gap: .35rem; }
.cart-line.suggest img { opacity: .85; }
.cart-line.upgrade .holds { list-style: none; margin: .45rem 0 .5rem; padding: 0; font-size: var(--t-label); color: var(--body); }
.cart-line.upgrade .holds li { padding: .12rem 0 .12rem 1.1em; position: relative; }
.cart-line.upgrade .holds li::before { content: "+"; position: absolute; left: 0; color: var(--faint); }
.cart-line.upgrade .holds li.mine::before { content: "✓"; color: var(--white); }
.cart-line.upgrade .holds span { color: var(--faint); }

/* Store on wide screens: cards keep their size; the complete catalogue's list sits beside its card at a comfortable width */
@media (min-width: 761px) {
  .store-split .products:has(> .catalogue-includes) { grid-template-columns: minmax(190px, 15rem) minmax(0, 26rem); gap: 3rem 2.5rem; }
  .store-split .products:has(> .catalogue-includes) .catalogue-includes { margin-top: 0; max-width: none; }
}
.product-title { flex-wrap: nowrap; align-items: baseline; }
.product-title .tag { flex: none; position: relative; top: -.1em; }
.product-foot .btn, .cart-line .btn { white-space: nowrap; }
.includes li, .includes li span { text-align: left; }
.catalogue-includes .includes li span:first-child { min-width: 0; }
.catalogue-includes .includes li span:last-child { flex: none; }
.catalogue-includes .includes li.total { border-bottom: 0; padding-top: .6rem; color: var(--white); }
.catalogue-includes .includes li.total s { color: var(--faint); margin-right: .45rem; }
.rights-line { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem .9rem; margin: 0 0 .9em; }
.rights-line p { margin: 0 !important; }
.rights-line .more { margin: 0; flex: none; }

/* the cart: what's in it, clearly apart from suggestions */
.cart-lines { gap: 0; }
.in-cart { display: grid; gap: 1.1rem; }
.cart-label { display: flex; justify-content: space-between; align-items: baseline; margin: 0; font-size: var(--t-label); font-weight: 400; color: var(--white); letter-spacing: .01em; }
.cart-label span { color: var(--faint); }
.in-cart .cart-line .t { color: var(--white); }
.cart-warn { margin-top: .45rem; padding: .45rem .6rem; border-radius: 8px; background: rgba(255,196,0,.1); color: rgba(255,226,150,.95); font-size: var(--t-label); line-height: 1.35; }
.cart-warn button { margin-left: .3rem; background: none; border: 0; padding: 0; color: var(--white); font: inherit; text-decoration: underline; cursor: pointer; }
.cart-suggest { margin-top: 2rem; padding: 1rem 1rem 1.1rem; border-radius: 14px; border: 1px dashed rgba(255,255,255,.18); background: rgba(255,255,255,.025); }
.cart-suggest h3.cart-label { margin: 0 0 .2rem; color: var(--link); }
.cart-suggest h4 { margin: 1rem 0 .55rem; font-size: var(--t-label); font-weight: 400; color: var(--faint); }
.cart-suggest .cart-line { grid-template-columns: 40px minmax(0, 1fr) auto; gap: .75rem; margin-bottom: .8rem; }
.cart-suggest .cart-line:last-child { margin-bottom: 0; }
.cart-suggest .cart-line img { width: 40px; height: 46px; opacity: .75; }
.cart-suggest .cart-line .t { color: var(--link); font-size: var(--t-label); }
.cart-suggest .cart-line .lp span { color: var(--faint); font-size: var(--t-label); }
.cart-line.upgrade .deal { color: var(--white); margin-top: .2rem; }
.cart-suggests { margin-top: 2rem; }
.cart-suggests .cart-suggest { margin-top: 0; }
.cart-suggest.swap-box { border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.04); }
.cart-suggest .cart-label { gap: 1rem; }
.cart-suggest .cart-label span { flex: none; }
.cart-or { display: flex; align-items: center; gap: .8rem; margin: .8rem 0 !important; color: var(--faint); font-size: var(--t-label); text-align: center !important; }
.cart-or::before, .cart-or::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.cart-line.upgrade .holds li.mine span { color: var(--faint); }
/* a section with one product (eBook, poster) shows it at the same size as every other product */
.store-split .products:has(> .product:only-child) { grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); }

/* Social links under the name, as on the old site */
.brand { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; }
.head-social { display: flex; align-items: center; gap: .15rem; margin-left: -8px; }
.head-social a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--faint); transition: color .2s, background-color .2s; }
.head-social a:hover { color: var(--white); background-color: var(--wash); }
.head-social svg { width: 16px; height: 16px; fill: currentColor; }
/* On phones and tablets the icons get a row of their own under the name and the buttons, so nothing overlaps */
@media (max-width: 900px) {
  .brand { display: contents; }
  .masthead .mark { grid-column: 1; grid-row: 1; }
  .masthead .tools { grid-column: 2; grid-row: 1; }
  .head-social { grid-column: 1 / -1; grid-row: 2; gap: 0; margin: -.35rem 0 0 -11px; }
  .head-social a { width: 40px; height: 40px; }
  .head-social svg { width: 18px; height: 18px; }
}
@media print { .head-social { display: none; } }

/* The splash and film headers sit under the header, from the very top (the header's height is measured by site.js) */
html .hero, html .film-head { margin-top: calc(-1 * var(--head-h, 72px)); }
.masthead.compact { grid-template-columns: 1fr auto !important; }
.masthead.compact .nav { display: none; }
.masthead.compact .menu-dot { display: grid !important; }
@media (min-width: 901px) { .masthead.compact .brand { display: contents; } .masthead.compact .mark { grid-column: 1; grid-row: 1; } .masthead.compact .tools { grid-column: 2; grid-row: 1; } .masthead.compact .head-social { grid-column: 1 / -1; grid-row: 2; margin: -.35rem 0 0 -8px; } }

/* =================================================================
   Store cards, final word: every product image fills the full width of its card, on every page and at every
   screen size. The box takes the image's own proportions from the page itself (--ar), so its size never depends on
   when or how the browser loads the picture, and a section with a single product (eBook, poster) or the catalogue
   with its list uses exactly the same column width as every other section.
   ================================================================= */
.products > .product, .products > .product:only-child { display: flex; flex-direction: column; gap: 0; min-width: 0; align-items: stretch; }
.products > .product:only-child .product-body { padding-top: 1.1rem; }
.products .product-img, .products > .product:only-child .product-img, .store-split .product-img {
  display: block; position: relative; width: 100%; height: auto; padding: 0; aspect-ratio: var(--ar, 3 / 4); }
.products .product-img .ph, .products .product-img picture { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.products .product-img img, .js .products .product-img img, .store-split .product-img img, .products .product-img.square img {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; object-position: left bottom; }
.products:has(> .product:only-child) { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.store-split .products, .store-split .products:has(> .product:only-child), .store-split .products:has(> .catalogue-includes) {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); column-gap: 2rem; container-type: inline-size; }
.store-split .products > .catalogue-includes { grid-column: 1 / -1; margin-top: .6rem; max-width: none; }
@container (min-width: 412px) { .store-split .products > .catalogue-includes { grid-column: 2 / -1; margin-top: 0; } }

/* Film pages whose only image is a poster: the poster stands whole on the right, over a dark blur of its own colours */
.film-head-poster > .fh-blur { position: absolute; inset: -60px; background-size: cover; background-position: center;
  filter: blur(48px) saturate(1.1) brightness(.42); transform: scale(1.15); }
.film-head-poster > .fh-poster { position: absolute; z-index: 1; top: calc(var(--head-h, 72px) + clamp(1rem, 3vw, 2.5rem));
  bottom: clamp(1.5rem, 4vw, 3rem); right: var(--m); width: min(42vw, 560px); display: flex; align-items: center; justify-content: flex-end; }
.film-head-poster > .fh-poster picture { display: contents; }
.film-head-poster > .fh-poster img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%;
  object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,.55); }
.film-head-poster > .film-head-text { z-index: 2; max-width: calc(100% - min(42vw, 560px) - var(--m) * 2); }
@media (max-width: 760px) {
  .film-head-poster > .fh-poster { left: var(--m); right: var(--m); width: auto; bottom: 34%; justify-content: center; }
  .film-head-poster > .film-head-text { max-width: none; }
}

/* Globe label: the city, then the festivals and venues there */
.globe-tip { border-radius: 10px; padding: .55rem .8rem .6rem; white-space: normal; width: max-content; max-width: min(320px, 86%);
  background: color-mix(in srgb, #000 82%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); z-index: 3; text-align: left; }
.globe-tip.below { transform: translate(-50%, 14px); }
.globe-tip strong { display: block; font-weight: 700; font-size: var(--t-label); }
.globe-tip ul { list-style: none; margin: .3rem 0 0; padding: 0; font-weight: 400; font-size: var(--t-label); line-height: 1.3; color: rgba(255,255,255,.82); }
.globe-tip li + li { margin-top: .2rem; }
.globe-tip li.more { color: rgba(255,255,255,.55); }

/* Obscuritads: the page's words over the collective's moving picture (assets/obscuritads.js), as on the old site */
html:has(body.obscuritads), html.obs { background: #000; }
body.obscuritads { background: transparent; }
.obs-backdrop { position: fixed; inset: 0; z-index: -1; background: #000 center / cover no-repeat; opacity: 0; transition: opacity 1.6s ease; pointer-events: none; }
.obs-backdrop.on { opacity: 1; }
.obs-backdrop canvas { display: block; width: 100%; height: 100%; }
.obs-backdrop.static { filter: hue-rotate(120deg) saturate(1.2) brightness(.55) blur(220px); transform: scale(1.6); }
body.obscuritads .masthead:not(.scrolled) { background: transparent; }
body.obscuritads main, body.obscuritads .page-head { background: transparent; }
.obs-text { max-width: 40rem; }
.obs-text .sec { border-top-color: rgba(255,255,255,.18); }
body.obscuritads footer, body.obscuritads .site-foot { background: transparent; }
body.obscuritads .masthead.scrolled { background: rgba(0,0,0,.4); }

/* The launch offer: shown only while it runs (the script in each page's head adds .offer to <html> on those days) */
.p-off, .offer-bar, .offer-feature { display: none; }
html.offer .p-reg { display: none; }
html.offer .p-off { display: inline; }
html.offer .p-off s { color: var(--faint); margin-right: .2rem; }
html.offer .offer-bar { display: block; }
html.offer .offer-feature { display: block; }
.offer-bar { position: relative; z-index: 31; background: #0b0c0d; border-bottom: 1px solid var(--rule); }
.offer-bar p { margin: 0 auto; padding: .55rem var(--m); text-align: center; font-size: var(--t-label); line-height: 1.4; color: var(--white); max-width: none; }
.offer-bar a { color: var(--link); text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; white-space: nowrap; }
@media (max-width: 760px) { .offer-bar a { white-space: normal; } }
.offer-feature .of-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.offer-feature .of-covers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.offer-feature .of-cover { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 3px; background: #0b0c0d; }
.offer-feature .of-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.offer-feature h2 { margin: .3rem 0 .4rem; }
.offer-feature h2 a { color: inherit; }
.offer-feature .lead { margin: 0 0 .8rem; }
.offer-feature .of-price { font-size: var(--t-lead); color: var(--white); margin: 1rem 0; }
.offer-feature .of-price s { color: var(--faint); margin-right: .3rem; }
.offer-feature .of-price .faint { font-size: var(--t-body); margin-left: .5rem; }
@media (max-width: 760px) { .offer-feature .of-inner { grid-template-columns: 1fr; } }

/* Home page press: four voices, two by two */
.quotes.home-quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.6rem clamp(2rem, 4vw, 3.5rem); }
@media (max-width: 760px) { .quotes.home-quotes { grid-template-columns: 1fr; } }

/* Info: each image is shown whole (never cropped) but no taller than its section's writing, so a tall photograph
   no longer leaves a long gap before the next section. On phones the image sits above its text, as before. */
@media (min-width: 701px) {
  .info-chapter { align-items: stretch; }
  .info-chapter .split-media { position: relative; height: auto; min-height: 26rem; padding: 0; }
  .info-chapter .split-media .sticky { position: absolute; inset: clamp(2.4rem, 5vw, 4rem) 0; margin: 0; }
  .info-chapter .split-media .sticky .ph, .info-chapter .split-media .sticky picture { display: block; width: 100%; height: 100%; }
  .info-chapter .split-media .sticky .ph::before { display: none; }
  .info-chapter .split-media .sticky, .info-chapter .split-media .sticky .ph, .info-chapter .split-media .sticky picture { background: none; outline: none; }
  .info-chapter .split-media .sticky img { width: 100%; height: 100%; max-height: none; object-fit: contain; object-position: left top; border-radius: 0; }
}

/* Info: the portrait fills the left half of the whole page, edge to edge, held still from the top bar down to the
   bottom of the screen; the biography scrolls beside it as text alone. Phones: the portrait first, then the text. */
.info-layout .info-pin figure { margin: 0; }
.info-layout .ph::before { display: none; }
.info-layout .ph, .info-layout picture { background: none; outline: none; }
@media (min-width: 701px) {
  .info-layout { --info-top: calc(clamp(2.4rem, 5vw, 4rem) + 1.6 * var(--t-lead) + .2rem);
                 display: grid; grid-template-columns: calc((100% + var(--m)) / 2) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem);
                 margin-left: calc(-1 * var(--m)); align-items: start; }
  .info-pin { align-self: stretch; padding-top: var(--info-top); }
  .info-pin .sticky { position: sticky; top: 5.5rem; height: calc(100vh - 5.5rem); }
  @supports (height: 100svh) { .info-pin .sticky { height: calc(100svh - 5.5rem); } }
  .info-pin .ph, .info-pin picture { display: block; width: 100%; height: 100%; }
  .info-pin img { display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: center; border-radius: 0; }
}
@media (max-width: 700px) {
  .info-pin { margin: 1.5rem calc(-1 * var(--m)) 0; }
  .info-pin img { display: block; width: 100%; height: auto; }
}

/* a first image that already holds several items on the page's own background (the Digital Catalogue): no shadow box */
.js .product-img.composite img, .product-img.composite img, .product:hover .product-img.composite img, a.product-img.composite:hover img,
.product-gallery .still.composite img { filter: none !important; border-radius: 0; }
