/* Shared by every page, including the homepage: phone menu, footer, video player, accordion. */
.nav .links a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px; border-radius: 2px; background: var(--sky); }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); background: transparent; color: var(--on-dark); cursor: pointer; position: relative; flex: none; }
.menu-btn i, .menu-btn i::before, .menu-btn i::after { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .4s var(--spring), opacity .2s; }
.menu-btn i { top: 20px; } .menu-btn i::before { content: ""; left: 0; right: 0; top: -6px; } .menu-btn i::after { content: ""; left: 0; right: 0; top: 6px; }
.menu-open .menu-btn i { background: transparent; } .menu-open .menu-btn i::before { transform: translateY(6px) rotate(45deg); } .menu-open .menu-btn i::after { transform: translateY(-6px) rotate(-45deg); }
.mmenu { position: fixed; inset: 0; z-index: 45; background: var(--ink); display: flex; flex-direction: column; justify-content: center; padding: 90px 28px 40px; gap: 6px; clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease); visibility: hidden; }
.menu-open .mmenu { clip-path: inset(0 0 0 0); visibility: visible; }
.mmenu a { font: 500 44px/1.15 var(--serif); color: var(--on-dark); text-decoration: none; opacity: 0; transform: translateY(18px); transition: opacity .5s, transform .7s var(--ease); }
.mmenu a[aria-current] { color: var(--sky); }
.menu-open .mmenu a { opacity: 1; transform: none; }
.menu-open .mmenu a:nth-child(2) { transition-delay: .06s; } .menu-open .mmenu a:nth-child(3) { transition-delay: .12s; } .menu-open .mmenu a:nth-child(4) { transition-delay: .18s; } .menu-open .mmenu a:nth-child(5) { transition-delay: .24s; } .menu-open .mmenu a:nth-child(6) { transition-delay: .3s; }
.mmenu .btn { margin-top: 26px; align-self: flex-start; font: 600 16px/1 var(--sans); }

/* video: film frame poster, plays in a screening-room dialog */
.film { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #000; border-radius: 18px; overflow: hidden; cursor: pointer; aspect-ratio: 16 / 9; color: #fff; text-align: left; isolation: isolate; }
.film.wide { aspect-ratio: 2.39 / 1; }
.film img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.85) brightness(.82); }
.film:hover img { transform: scale(1.05); filter: saturate(1) brightness(.95); }
.film::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.72)); pointer-events: none; }
.film .play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 74px; height: 74px; margin: -37px 0 0 -37px; border-radius: 50%; background: rgba(90,184,212,.92); display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(90,184,212,.6); transition: transform .5s var(--spring); animation: ping 2.6s ease-out infinite; }
.film .play::before { content: ""; margin-left: 5px; border-style: solid; border-width: 12px 0 12px 19px; border-color: transparent transparent transparent var(--ink); }
.film:hover .play { transform: scale(1.12); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(90,184,212,.55); } 70%, 100% { box-shadow: 0 0 0 22px rgba(90,184,212,0); } }
.film .dur { position: absolute; z-index: 2; right: 14px; top: 14px; font: 600 12px/1 var(--sans); letter-spacing: .06em; background: rgba(0,0,0,.6); padding: 6px 9px; border-radius: 99px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.film .cap { position: absolute; z-index: 2; left: 18px; bottom: 16px; right: 18px; }
.film .cap b { display: block; font: 600 24px/1.1 var(--serif); }
.film .cap span { font-size: 13px; color: rgba(255,255,255,.75); }
.film .sprocket { position: absolute; left: 0; right: 0; height: 12px; z-index: 2; background: repeating-linear-gradient(90deg, transparent 0 10px, rgba(255,255,255,.16) 10px 18px, transparent 18px 28px); opacity: 0; transition: opacity .4s; }
.film .sprocket.t { top: 5px; } .film .sprocket.b { bottom: 5px; }
.film:hover .sprocket { opacity: 1; }
dialog.screen { width: min(1120px, 100vw - 32px); max-width: none; padding: 0; border: 0; background: transparent; color: var(--on-dark); overflow: visible; }
dialog.screen::backdrop { background: rgba(3,8,10,.9); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
dialog.screen[open] .frame { animation: open .7s var(--ease); }
@keyframes open { from { clip-path: inset(50% 0 50% 0 round 18px); } to { clip-path: inset(0 0 0 0 round 18px); } }
dialog.screen .frame { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 40px 120px -30px rgba(0,0,0,.8); }
dialog.screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
dialog.screen .bar2 { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; }
dialog.screen .bar2 b { font: 600 26px/1.1 var(--serif); } dialog.screen .bar2 span { color: var(--on-dark-muted); font-size: 14px; margin-left: 10px; }
dialog.screen .x { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; font-size: 22px; cursor: pointer; flex: none; transition: transform .5s var(--spring), background .2s; }
dialog.screen .x:hover { transform: rotate(90deg); background: rgba(255,255,255,.08); }

/* accordion */
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font: 600 clamp(22px, 2.2vw, 28px)/1.2 var(--serif); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary i { flex: none; position: relative; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); transition: transform .5s var(--spring), background .3s, border-color .3s; }
.acc summary i::before, .acc summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--text); transition: transform .4s var(--spring); }
.acc summary i::after { transform: rotate(90deg); }
.acc details[open] summary i { background: var(--teal); border-color: var(--teal); transform: rotate(180deg); }
.acc details[open] summary i::before, .acc details[open] summary i::after { background: #fff; }
.acc details[open] summary i::after { transform: rotate(0); }
.acc .body { padding: 0 60px 26px 0; color: var(--muted); font-size: 16.5px; display: grid; gap: 12px; }
.acc details[open] .body { animation: drop .6s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.dark .acc, .dark .acc details { border-color: rgba(255,255,255,.12); }
.dark .acc summary i { border-color: rgba(255,255,255,.25); } .dark .acc summary i::before, .dark .acc summary i::after { background: var(--on-dark); }
.dark .acc .body { color: var(--on-dark-muted); }

/* footer */
footer { background: #060c0e; color: var(--on-dark-muted); font-size: 13.5px; padding: 56px 0 34px; }
footer .wrap { display: grid; gap: 18px; }
footer .top { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: flex-start; padding-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,.08); }
footer .top .brand { font-size: 26px; }
footer .top p { margin-top: 10px; max-width: 340px; }
footer nav { display: flex; gap: 48px; flex-wrap: wrap; }
footer nav div { display: grid; gap: 10px; align-content: start; }
footer nav b { color: var(--on-dark); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
footer a { color: var(--on-dark-muted); text-decoration: none; } footer a:hover { color: var(--on-dark); }
footer .row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer .legal { font-size: 12.5px; line-height: 1.6; display: grid; gap: 8px; max-width: 980px; }
.mcta { display: none; }

@media (max-width: 900px) {
  .nav .wrap { gap: 12px; } .menu-btn { display: block; }
  .acc .body { padding-right: 0; }
  dialog.screen .bar2 b { font-size: 21px; } dialog.screen .bar2 span { display: block; margin: 2px 0 0; }
}

/* No single word left alone on a line: balance headings, keep at least two words on a paragraph's last line */
h1, h2, h3, .ml > span, .quote, .ref .q, .words, .cap span, .verdict h3, .final h2 { text-wrap: balance; }
p, li, .lead, .note, summary, .so, td, .fr p { text-wrap: pretty; }
