/*
Theme Name:   Olawuyi Cinema
Description:  Visual-first documentary portfolio layer for joshuaolawuyi.com. Child theme of SOARi Portfolio.
Author:       Joshua Olawuyi
Template:     soari-theme
Version:      1.0.0
Text Domain:  jo-cinema
*/

:root {
	--jo-ink: #0E0E0D;
	--jo-char: #1C1B19;
	--jo-frame: #22211E;
	--jo-line: #2E2D2A;
	--jo-ash: #9A958B;
	--jo-mute: #C9C4BA;
	--jo-bone: #EDE9E2;
	--jo-sans: 'Inter Tight', 'Inter', system-ui, sans-serif;
	--jo-serif: 'Newsreader', 'Lora', Georgia, serif;
	--jo-gut: clamp(20px, 4.5vw, 64px);
	--jo-max: 1440px;
	--jo-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ── Base (scoped to portfolio views; parent pages keep their own look) ── */
body.jo-dark {
	background: var(--jo-ink);
	color: var(--jo-bone);
	font-family: var(--jo-sans);
}
body.jo-dark a { color: inherit; }
.jo-main { display: block; }
.jo-main img, .jo-main video { display: block; max-width: 100%; }
.jo-wrap { width: 100%; max-width: var(--jo-max); margin: 0 auto; padding-left: var(--jo-gut); padding-right: var(--jo-gut); box-sizing: border-box; }
.jo-skip { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--jo-bone); color: var(--jo-ink); padding: 12px 18px; font-family: var(--jo-sans); }
.jo-skip:focus { left: 12px; top: 12px; }
.jo :focus-visible { outline: 2px solid var(--jo-bone); outline-offset: 3px; }

/* ── Type ── */
.jo-label { margin: 0; font-family: var(--jo-sans); font-size: 12px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--jo-ash); line-height: 1.4; }
.jo-label--link { text-decoration: none; transition: color .2s; }
.jo-label--link:hover { color: var(--jo-bone); }
.jo-quote { margin: 0; font-family: var(--jo-serif); font-style: italic; font-weight: 300; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.35; color: var(--jo-bone); }
.jo-body { font-family: var(--jo-sans); font-size: 17px; line-height: 1.7; color: var(--jo-mute); }
.jo-body p { margin: 0 0 1em; }
.jo-lede { font-family: var(--jo-serif); font-weight: 300; font-size: clamp(20px, 1.9vw, 26px); line-height: 1.5; color: var(--jo-bone); }
.jo-lede p { margin: 0 0 .8em; }
.jo-link { display: inline-block; align-self: flex-start; font-family: var(--jo-sans); font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--jo-bone); text-decoration: none; padding: 12px 0 6px; border-bottom: 1px solid currentColor; transition: opacity .2s; }
.jo-link:hover { opacity: .7; }

/* ── Header ── */
.jo-header { position: relative; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 88px; padding: 0 var(--jo-gut); background: var(--jo-ink); color: var(--jo-bone); font-family: var(--jo-sans); }
.jo-overlay .jo-header { position: absolute; top: 0; left: 0; right: 0; background: transparent; }
.admin-bar.jo-overlay .jo-header { top: 32px; }
@media (max-width: 782px) { .admin-bar.jo-overlay .jo-header { top: 46px; } }
.jo-brand { font-size: 14px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--jo-bone) !important; text-decoration: none; white-space: nowrap; }
.jo-nav__list { display: flex; gap: clamp(24px, 3vw, 44px); margin: 0; padding: 0; list-style: none; }
.jo-nav__list a { font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--jo-bone) !important; text-decoration: none; padding: 10px 0; border-bottom: 1px solid transparent; transition: border-color .2s, opacity .2s; }
.jo-nav__list a:hover { opacity: .75; }
.jo-nav__list a[aria-current="page"], .jo-nav__list .current-menu-item > a { border-bottom-color: var(--jo-bone); }
.jo-menu-btn { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.jo-menu-btn span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--jo-bone); transition: transform .3s var(--jo-ease); }
.jo-menu-btn span:first-child { top: 18px; }
.jo-menu-btn span:last-child { top: 26px; }
.jo-menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.jo-menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 760px) {
	.jo-header { height: 64px; }
	.jo-brand { font-size: 12px; letter-spacing: .26em; }
	.jo-menu-btn { display: block; z-index: 60; }
	.jo-nav { position: fixed; inset: 0; z-index: 55; background: var(--jo-ink); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
	.jo-nav.is-open { opacity: 1; visibility: visible; }
	.jo-nav__list { flex-direction: column; align-items: center; gap: 28px; }
	.jo-nav__list a { font-size: 18px; }
	body.jo-menu-open { overflow: hidden; }
}

/* ── Hero ── */
.jo-hero { position: relative; min-height: 560px; height: 100svh; max-height: 1100px; color: var(--jo-bone); background: var(--jo-frame); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.jo-hero__media, .jo-hero__shade { position: absolute; inset: 0; }
.jo-hero__poster, .jo-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.jo-hero__video { opacity: 0; transition: opacity 1.2s ease; }
.jo-hero__video.is-playing { opacity: 1; }
.jo-hero__shade { background: linear-gradient(180deg, rgba(14,14,13,.55) 0%, rgba(14,14,13,0) 22%, rgba(14,14,13,0) 50%, rgba(14,14,13,.78) 100%); }
.jo-hero__text { position: relative; padding-bottom: clamp(24px, 4vw, 40px); }
.jo-hero__name { margin: 0; font-family: var(--jo-sans); font-weight: 500; font-size: clamp(40px, 6.6vw, 96px); letter-spacing: .12em; text-transform: uppercase; line-height: 1; color: var(--jo-bone); }
.jo-hero__title { margin: 18px 0 0; font-family: var(--jo-serif); font-style: italic; font-weight: 300; font-size: clamp(22px, 2.4vw, 34px); color: var(--jo-bone); }
.jo-hero__roles { margin: 14px 0 0; font-family: var(--jo-sans); font-size: clamp(11px, 1vw, 14px); letter-spacing: .26em; text-transform: uppercase; color: var(--jo-mute); }
.jo-hero__actions { position: relative; display: flex; gap: 28px; align-items: center; padding-bottom: clamp(32px, 5vw, 72px); }
.jo-hero__pause { font-family: var(--jo-sans); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--jo-mute); background: none; border: 0; padding: 12px 0; cursor: pointer; }
.jo-hero__pause:hover { color: var(--jo-bone); }
.jo-hero--film { height: 86svh; max-height: 900px; }
.jo-film__title { margin: 14px 0 0; font-family: var(--jo-serif); font-style: italic; font-weight: 300; font-size: clamp(44px, 7.4vw, 108px); line-height: 1; color: var(--jo-bone); }

/* ── Sections ── */
.jo-section { padding-top: clamp(72px, 9vw, 140px); }
.jo-section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 32px; }
.jo-section__label { margin-bottom: 24px; }

/* ── Film tiles ── */
.jo-films { display: flex; flex-direction: column; gap: clamp(48px, 6vw, 88px); }
.jo-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.jo-tile { display: flex; flex-direction: column; gap: 18px; text-decoration: none; color: var(--jo-bone); }
.jo-tile__frame { position: relative; display: block; overflow: hidden; background: var(--jo-frame); aspect-ratio: 16 / 9; }
.jo-tile--wide .jo-tile__frame { aspect-ratio: 2.39 / 1; }
.jo-tile__img, .jo-tile__clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--jo-ease), opacity .6s ease; }
.jo-tile__clip { opacity: 0; }
.jo-tile__card { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center; background: var(--jo-char); font-family: var(--jo-serif); font-style: italic; font-weight: 300; font-size: clamp(28px, 4vw, 56px); color: var(--jo-ash); transition: color .4s; }
.jo-tile:hover .jo-tile__card { color: var(--jo-bone); }
.jo-tile.is-previewing .jo-tile__clip { opacity: 1; }
.jo-tile:hover .jo-tile__img, .jo-tile:focus-visible .jo-tile__img { transform: scale(1.03); }
.jo-tile__cap { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.jo-tile__title { margin: 0; font-family: var(--jo-serif); font-style: italic; font-weight: 300; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.15; color: var(--jo-bone); }
.jo-tile--half .jo-tile__title { font-size: clamp(22px, 2.1vw, 30px); }
.jo-tile__meta { font-family: var(--jo-sans); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--jo-ash); }

/* ── Strip ── */
.jo-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.jo-strip__item { display: block; overflow: hidden; aspect-ratio: 16 / 9; background: var(--jo-frame); }
.jo-strip__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--jo-ease); }
.jo-strip__item:hover img { transform: scale(1.04); }

/* ── About preview ── */
.jo-about-peek { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 96px); align-items: center; padding-bottom: clamp(72px, 9vw, 140px); }
.jo-about-peek__photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--jo-frame); }
.jo-about-peek__photo img { width: 100%; height: 100%; object-fit: cover; }
.jo-about-peek__photo img.jo-pos-right { object-position: 82% 50%; }
.jo-about-peek__text { display: flex; flex-direction: column; gap: 26px; }

/* ── Page heads ── */
.jo-pagehead { padding-top: clamp(56px, 7vw, 104px); padding-bottom: clamp(32px, 4vw, 56px); display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.jo-pagehead__title { margin: 0; font-family: var(--jo-sans); font-weight: 500; font-size: clamp(36px, 4.6vw, 64px); letter-spacing: .12em; text-transform: uppercase; line-height: 1; color: var(--jo-bone); }
.jo-pagehead__sub, .jo-pagehead__sub p { margin: 0; font-family: var(--jo-serif); font-style: italic; font-weight: 300; font-size: clamp(18px, 1.7vw, 22px); color: var(--jo-mute); }
.jo-films--index { padding-bottom: clamp(24px, 3vw, 40px); }

/* ── Rows (credits, lists) ── */
.jo-rows { margin: 0; padding: 0; list-style: none; font-family: var(--jo-sans); font-size: 15px; }
.jo-rows > div, .jo-rows > li { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; border-top: 1px solid var(--jo-line); }
.jo-rows > :last-child { border-bottom: 1px solid var(--jo-line); }
.jo-rows dt { color: var(--jo-ash); }
.jo-rows dd { margin: 0; text-align: right; color: var(--jo-bone); }
.jo-rows--list > li { display: block; color: var(--jo-bone); font-size: 16px; }
.jo-rows--links a { display: flex; justify-content: space-between; width: 100%; text-decoration: none; color: var(--jo-bone); transition: opacity .2s; }
.jo-rows--links > li { padding: 0; }
.jo-rows--links a { padding: 16px 0; }
.jo-rows--links a:hover { opacity: .7; }
.jo-inpost > li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto; gap: 24px; align-items: baseline; }
.jo-inpost__title { font-family: var(--jo-serif); font-style: italic; font-size: 24px; font-weight: 300; }
.jo-inpost__line { color: var(--jo-mute); font-size: 15px; line-height: 1.6; }
.jo-inpost__meta { color: var(--jo-ash); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; }

/* ── Film page ── */
.jo-film__intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; row-gap: 56px; padding-top: clamp(64px, 7vw, 104px); }
.jo-film__synopsis { grid-column: 1 / span 7; display: flex; flex-direction: column; gap: 22px; }
.jo-film__credits { grid-column: 9 / span 4; display: flex; flex-direction: column; gap: 18px; }
.jo-note summary { cursor: pointer; font-family: var(--jo-sans); font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--jo-ash); padding: 12px 0; list-style: none; }
.jo-note summary::-webkit-details-marker { display: none; }
.jo-note summary::after { content: ' +'; }
.jo-note[open] summary::after { content: ' –'; }
.jo-note .jo-body { padding-top: 8px; max-width: 62ch; }
.jo-film__press { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; }

.jo-player { position: relative; aspect-ratio: 16 / 9; background: var(--jo-char); overflow: hidden; }
.jo-player__poster, .jo-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.jo-player__poster { opacity: .82; transition: opacity .4s; }
.jo-player:hover .jo-player__poster { opacity: 1; }
.jo-player__btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 88px; height: 88px; border-radius: 50%; border: 1px solid var(--jo-bone); background: rgba(14,14,13,.35); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .3s, transform .3s var(--jo-ease); }
.jo-player__btn:hover { background: rgba(14,14,13,.6); transform: translate(-50%, -50%) scale(1.05); }
.jo-player__btn svg { width: 28px; height: 28px; fill: none; stroke: var(--jo-bone); stroke-width: 1.5; margin-left: 4px; }

.jo-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.jo-thumb { display: block; overflow: hidden; background: var(--jo-frame); cursor: zoom-in; }
.jo-grid3 .jo-thumb { aspect-ratio: 16 / 9; }
.jo-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--jo-ease); }
.jo-thumb:hover img { transform: scale(1.04); }
.jo-bts { display: grid; grid-template-columns: 7fr 5fr; gap: 8px; }
.jo-bts .jo-thumb { aspect-ratio: 4 / 3; }

.jo-next { display: block; margin-top: clamp(80px, 10vw, 160px); background: var(--jo-char); text-decoration: none; color: var(--jo-bone) !important; }
.jo-next__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: clamp(48px, 6vw, 96px); padding-bottom: clamp(48px, 6vw, 96px); }
.jo-next__title { display: block; margin-top: 12px; font-family: var(--jo-serif); font-style: italic; font-weight: 300; font-size: clamp(36px, 4.6vw, 64px); line-height: 1; }
.jo-next__arrow { width: 48px; height: 48px; flex-shrink: 0; fill: none; stroke: var(--jo-bone); stroke-width: 1; transition: transform .4s var(--jo-ease); }
.jo-next:hover .jo-next__arrow { transform: translateX(8px); }

/* ── Cinematography ── */
.jo-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.jo-filter { min-height: 44px; padding: 0 20px; font-family: var(--jo-sans); font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--jo-bone); background: none; border: 1px solid var(--jo-line); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.jo-filter:hover { border-color: var(--jo-ash); }
.jo-filter[aria-pressed="true"] { background: var(--jo-bone); color: var(--jo-ink); border-color: var(--jo-bone); }
.jo-wall { columns: 3 320px; column-gap: 8px; }
.jo-wall__item { position: relative; display: block; margin: 0 0 8px; break-inside: avoid; overflow: hidden; background: var(--jo-frame); cursor: zoom-in; }
.jo-wall__item img { width: 100%; height: auto; transition: transform 1.2s var(--jo-ease); }
.jo-wall__item:hover img { transform: scale(1.03); }
.jo-wall__item[hidden] { display: none; }
.jo-wall__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 14px; font-family: var(--jo-sans); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--jo-bone); background: linear-gradient(0deg, rgba(14,14,13,.7), rgba(14,14,13,0)); opacity: 0; transition: opacity .3s; }
.jo-wall__item:hover .jo-wall__cap, .jo-wall__item:focus-visible .jo-wall__cap { opacity: 1; }

/* ── About page ── */
.jo-about { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 104px); align-items: start; padding-top: clamp(56px, 7vw, 104px); padding-bottom: clamp(72px, 9vw, 140px); }
.jo-about__photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--jo-frame); position: sticky; top: 32px; }
.jo-about__photo img { width: 100%; height: 100%; object-fit: cover; }
.jo-about__text { display: flex; flex-direction: column; gap: 40px; }
.jo-about__bio { font-size: 18px; max-width: 60ch; }
.jo-about__bio p:first-child { font-family: var(--jo-serif); font-style: italic; font-weight: 300; font-size: clamp(22px, 2.1vw, 28px); line-height: 1.45; color: var(--jo-bone); }
.jo-about__more { display: flex; flex-direction: column; gap: 14px; }

/* ── Footer ── */
.jo-footer { background: var(--jo-ink); color: var(--jo-bone); font-family: var(--jo-sans); }
.jo-footer .jo-wrap { padding-top: clamp(64px, 8vw, 120px); padding-bottom: 40px; border-top: 1px solid var(--jo-line); }
body:not(.jo-dark) .jo-footer { margin-top: 80px; }
.jo-footer__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.jo-footer__ask { display: flex; flex-direction: column; gap: 20px; }
.jo-footer__title { margin: 0; font-size: clamp(32px, 4vw, 56px); font-weight: 500; letter-spacing: -.01em; line-height: 1.1; color: var(--jo-bone); }
.jo-footer__email { font-size: clamp(17px, 1.5vw, 20px); color: var(--jo-mute) !important; text-decoration: none; border-bottom: 1px solid var(--jo-line); align-self: flex-start; padding-bottom: 4px; }
.jo-footer__email:hover { color: var(--jo-bone) !important; }
.jo-social ul { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; padding: 0; list-style: none; }
.jo-social a { display: inline-block; padding: 12px 0; font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--jo-ash) !important; text-decoration: none; }
.jo-social a:hover { color: var(--jo-bone) !important; }
.jo-footer__base { display: flex; justify-content: space-between; gap: 16px; margin-top: 64px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #77736B; }
.jo-footer__base a { color: #77736B !important; text-decoration: none; }
.jo-footer__base a:hover { color: var(--jo-bone) !important; }

/* ── Story pages (reporting, photography, design) ── */
.jo-work-single .related-works { display: none; }
.jo-crumbs { background: var(--jo-ink); border-top: 1px solid var(--jo-line); font-family: var(--jo-sans); }
.jo-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; margin: 0 auto; list-style: none; padding-top: 14px; padding-bottom: 14px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--jo-ash); }
.jo-crumbs li { display: flex; align-items: center; gap: 10px; min-width: 0; }
.jo-crumbs li + li::before { content: '/'; color: #5E5B54; }
.jo-crumbs a { color: var(--jo-bone) !important; text-decoration: none; padding: 8px 0; }
.jo-crumbs a:hover { text-decoration: underline; text-underline-offset: 4px; }
.jo-crumbs span[aria-current] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }
.jo-more { background: var(--jo-ink); color: var(--jo-bone); font-family: var(--jo-sans); padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(40px, 5vw, 64px); }
.jo-more__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.jo-more__card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--jo-bone) !important; }
.jo-more__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--jo-frame); }
.jo-more__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--jo-ease); }
.jo-more__card:hover .jo-more__img img { transform: scale(1.04); }
.jo-more__meta { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--jo-ash); }
.jo-more__title { font-family: var(--jo-serif); font-weight: 400; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.35; }
.jo-more__card:hover .jo-more__title { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.jo-more__exits { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; margin-top: clamp(48px, 6vw, 72px); }
body:not(.jo-dark) .jo-more + .jo-footer { margin-top: 0; }
@media (max-width: 900px) { .jo-more__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .jo-more__grid { grid-template-columns: 1fr; } }

/* ── Lightbox ── */
.jo-lb { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(5,5,5,.97); color: var(--jo-bone); }
.jo-lb::backdrop { background: rgba(5,5,5,.97); }
.jo-lb__fig { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 64px 88px; box-sizing: border-box; }
.jo-lb__img { max-width: 100%; max-height: calc(100vh - 160px); object-fit: contain; }
.jo-lb__cap { font-family: var(--jo-sans); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--jo-ash); }
.jo-lb__btn { position: absolute; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: none; border: 1px solid var(--jo-line); cursor: pointer; }
.jo-lb__btn:hover { border-color: var(--jo-ash); }
.jo-lb__btn svg { width: 20px; height: 20px; fill: none; stroke: var(--jo-bone); stroke-width: 1.5; }
.jo-lb__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.jo-lb__next { right: 20px; top: 50%; transform: translateY(-50%); }
.jo-lb__close { right: 20px; top: 20px; }

/* ── Reveal (only once JS confirms it can show things again) ── */
.jo-js .jo-reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--jo-ease), transform .9s var(--jo-ease); }
.jo-js .jo-reveal.is-in { opacity: 1; transform: none; }

/* ── Responsive ── */
@media (max-width: 900px) {
	.jo-pair { grid-template-columns: 1fr; gap: clamp(48px, 6vw, 88px); }
	.jo-tile--wide .jo-tile__frame { aspect-ratio: 16 / 9; }
	.jo-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.jo-about-peek, .jo-about { grid-template-columns: 1fr; }
	.jo-about__photo { position: static; }
	.jo-film__synopsis, .jo-film__credits { grid-column: 1 / -1; }
	.jo-film__press { grid-template-columns: 1fr; }
	.jo-grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.jo-bts { grid-template-columns: 1fr; }
	.jo-inpost > li { grid-template-columns: 1fr; gap: 6px; }
	.jo-lb__fig { padding: 64px 16px 88px; }
	.jo-lb__prev, .jo-lb__next { top: auto; bottom: 20px; transform: none; }
	.jo-lb__prev { left: calc(50% - 56px); }
	.jo-lb__next { right: calc(50% - 56px); }
}
@media (max-width: 600px) {
	.jo-hero { height: 88svh; }
	.jo-hero--film { height: 72svh; }
	.jo-footer__base { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
	.jo *, .jo *::before, .jo *::after { transition-duration: .01ms !important; animation: none !important; }
	.jo-js .jo-reveal { opacity: 1; transform: none; }
	.jo-hero__video, .jo-tile__clip { display: none !important; }
}
