/* Shared refinements preserve LIGHTER's illustration and palette. */
.main-nav a{font-size:clamp(.9rem,1.1vw,1.0625rem);line-height:1.55;padding:3px 0}
.main-nav{gap:5px}
.editorial-page{max-width:1600px;margin:0 auto;padding-top:180px;padding-bottom:88px}
.editorial-page.wip-page{padding-top:180px}
.video-grid{gap:48px 28px}
.video-card h2{font-size:1.125rem;line-height:1.5;color:#f3f6f5;margin:18px 0 6px}
.video-card .work-english{font-size:.875rem;color:#a9c9c3;line-height:1.5;margin:0 0 12px}
.video-card .work-meta{font-size:.875rem;line-height:1.8;color:#b4c3ca;margin:0;word-break:keep-all}
.language-switch{display:flex;gap:8px;margin-bottom:32px;flex-wrap:wrap}
.language-switch button{font:inherit;font-size:.875rem;padding:9px 17px;border:1px solid #526771;background:transparent;color:#cbd6db;cursor:pointer}
.language-switch button[aria-pressed="true"]{background:#a9c9c3;color:#142331;border-color:#a9c9c3}
.language-switch button:focus-visible,summary:focus-visible{outline:2px solid #a9c9c3;outline-offset:4px}
.wip-language-section[hidden]{display:none!important}
.wip-language-section+.wip-language-section{border:0;margin:0;padding:0}
.wip-heading,.wip-language-heading{max-width:760px;margin-bottom:32px}
.wip-format{font-size:clamp(1.375rem,2.2vw,2rem);line-height:1.5;color:#fff}
.wip-logline{font-size:1.0625rem;line-height:1.8;color:#e2e8e8;margin:16px 0 10px;word-break:keep-all}
.wip-target{font-size:.875rem;color:#a9c9c3;margin:0;line-height:1.7}
.wip-layout .tile-media{aspect-ratio:1264/843!important;display:block!important;background:#fff!important;flex:none!important}
.wip-layout .tile-media>img{display:block!important}
.zoom-tile{width:100%}
.wip-extra-art .extra-art-frame{aspect-ratio:16/9!important;background:#fff!important;overflow:hidden!important}
.wip-extra-art .tile-media,.wip-extra-art .village-image{display:block!important}
.film-details{margin-top:40px;border-top:1px solid rgba(169,201,195,.3)}
.film-detail{border-bottom:1px solid rgba(169,201,195,.3);padding:0}
.film-detail summary{font-size:1.0625rem;line-height:1.7;padding:19px 4px;cursor:pointer;color:#e2e8e8}
.film-detail[open] summary{color:#a9c9c3}
.film-detail>.project-summary,.film-detail>.project-overview,.film-detail>.director-profile,.film-detail>.bath-synopsis{display:block!important;position:static;font-size:1rem;line-height:1.9;text-align:left;max-width:980px;margin:4px 0 28px;width:100%;overflow:visible}
.film-detail .director-prose{height:auto;overflow:visible}
.film-detail .director-art-grid{max-width:720px;margin-top:24px}
.film-detail .overview-art-grid{max-width:620px;margin-top:20px}
.film-detail .overview-intro{grid-template-columns:100px minmax(0,1fr)}
.film-detail .overview-content .overview-art-grid{margin-top:20px;padding:0}
.wip-staff-names{font-size:1rem;line-height:1.8;padding:12px 0}
.wip-staff-row{margin-top:24px}
.about-first-feature{max-width:520px}
.about-copy .about-first-feature{margin-bottom:12px}
@media(max-width:760px){.editorial-page,.editorial-page.wip-page{padding-top:150px}.wip-extra-art{grid-template-columns:1fr;gap:20px}.wip-layout{gap:20px}.wip-staff-row{grid-template-columns:1fr}.wip-staff-names{padding:0}.film-detail>.director-profile{font-size:1rem}.film-detail .overview-intro{grid-template-columns:72px minmax(0,1fr)}.video-grid{gap:36px 20px}}
@media(max-width:560px){.main-nav{left:auto;right:20px}.main-nav a{font-size:.875rem}.film-detail .director-art-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.language-switch{margin-bottom:24px}.video-card h2{font-size:1.125rem}}
.video-card .work-awards{font-size:.8125rem;line-height:1.7;color:#a9c9c3;margin:10px 0 0;word-break:keep-all}
.producer-profile{display:flow-root;max-width:980px;margin:4px 0 28px;font-size:1rem;line-height:1.9;color:#e2e8e8;word-break:keep-all}
.producer-profile h2{font-size:1rem;line-height:1.6;margin:0 0 12px;font-weight:700}
.producer-profile p{margin:0 0 14px}
.producer-portrait{float:left;display:block;width:clamp(81.12px,8.45vw,125.06px);height:auto;margin:0 12px 8px 0}
@media(max-width:560px){.producer-portrait{width:67.6px;margin-right:8px}}
/* Align both edges of studio biography text while keeping final lines natural. */
.producer-profile p{text-align:justify;text-align-last:start;text-justify:inter-word;word-break:normal;overflow-wrap:break-word}
.wip-language-section:lang(ja) .producer-profile p{text-justify:inter-character;line-break:strict}
/* Biography and its final artwork share the same right edge. */
.film-detail .director-profile .director-art-grid{max-width:none;width:100%}
.film-detail .director-profile .director-prose p{text-align:justify;text-align-last:start;text-justify:inter-word;word-break:normal;overflow-wrap:break-word}
.wip-language-section:lang(ja) .director-profile .director-prose p{text-justify:inter-character;line-break:strict}
/* Extend prose by two artwork widths; retain the four-image strip size. */
.film-detail>.project-summary,.film-detail>.project-overview,.film-detail>.director-profile,.film-detail>.bath-synopsis,.film-detail>.producer-profile{max-width:1470px;width:100%}
.film-detail .director-profile .director-art-grid{max-width:980px;width:100%}
.project-summary p,.project-overview p,.bath-synopsis p,.director-prose p,.producer-profile p,.about-copy p,.project-description-layer p,.project-notes p,.project-card p{ text-align:justify;text-align-last:start;text-justify:inter-word;word-break:normal;overflow-wrap:break-word}
.wip-language-section:lang(ja) .film-detail p{text-justify:inter-character;line-break:strict}
/* Original-novel introduction uses two thirds of its previous prose width. */
.film-detail>.bath-synopsis{width:66.666667%;max-width:980px}
/* Match both biographies to the original-novel introduction's text column. */
.film-detail>.director-profile,.film-detail>.producer-profile{width:66.666667%;max-width:980px}
/* Size the two cover frames to the neighbouring information and artwork. */
.film-detail .overview-intro{grid-template-columns:var(--book-column,160px) minmax(0,1fr);align-items:start}
.film-detail .overview-book-stack{height:var(--book-stack-height,auto);align-self:start;gap:12px}
.film-detail .overview-book-stack img{width:100%;height:calc((var(--book-stack-height,480px) - 12px)/2);aspect-ratio:auto;object-fit:contain;object-position:left bottom}
.film-detail .overview-intro{gap:clamp(20px,2.5vw,40px)}
.film-detail .overview-content{min-width:0}
.film-detail .overview-content .overview-art-grid{width:100%;min-width:0}
/* Generated wind loops have borderless frame crops. */
.village-image img.breeze-image{width:100%;height:100%;left:0;top:0;object-fit:cover}
.staff-image-crop img.breeze-image{width:100%;height:100%;left:0;top:0;object-fit:cover}
.breeze-toggle{float:right;border:1px solid #526771;background:transparent;color:#cbd6db;font:inherit;font-size:.875rem;padding:9px 14px;cursor:pointer;margin:0 0 16px 12px}
.breeze-toggle:focus-visible{outline:2px solid #a9c9c3;outline-offset:4px}
@media(max-width:560px){.breeze-toggle{float:none;margin:0 0 16px}}
/* Keep all five project illustrations in equal, stable frames. */
.wip-page .wip-layout .tile-media,
.wip-page .wip-extra-art .extra-art-frame,
.wip-page .wip-extra-art .tile-media,
.wip-page .wip-staff-art{position:relative;width:100%;aspect-ratio:3/2!important;overflow:hidden}
.wip-page .tile-media>img.breeze-image,
.wip-page .village-image>img.breeze-image,
.wip-page .staff-image-crop>img.breeze-image{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center}

.video-card .project-title-slot{min-height:1.5em}
.video-card .project-description-slot{min-height:3.6em}

.staff-portfolio-heading span{display:block}
.staff-portfolio-heading span+span{margin-top:4px;font-weight:400;color:#b4c3ca}

/* New Film Information portraits retain their supplied colours and framing. */
.overview-art-frame.updated-character{background:#fff}
.overview-art-frame.updated-character img{object-fit:contain;object-position:center bottom;filter:none}
.overview-art-frame.updated-character img.face-left{transform:scaleX(-1)}
/* Four matching portrait boxes; extend the row for the new character. */
.film-detail .overview-content .overview-art-grid{grid-template-columns:repeat(4,minmax(0,1fr));max-width:832px}
@media(max-width:560px){.film-detail .overview-content .overview-art-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.producer-projects-banner{clear:both;width:100%;margin:24px 0 0}
.producer-projects-banner img{display:block;width:100%;height:auto}

.video-card .work-english[hidden]{display:none}
html:lang(ja) .video-card{line-break:strict}

.home-studio-summary{text-align:center;margin:20px auto 12px;padding:0 20px;color:inherit}.home-studio-summary h1{font-size:16px;font-weight:600;letter-spacing:.04em;margin:0 0 8px}.home-studio-summary p{font-size:13px;line-height:1.7;margin:0;opacity:.8}
