/* Shared header for every canonical page. No photo styling. */
header.sf-unified-header.header,header.sf-unified-header.site-header{
 position:relative!important;inset:auto!important;display:grid!important;
 grid-template-columns:minmax(0,1fr) auto 44px;align-items:start!important;
 column-gap:clamp(12px,1.7vw,24px);row-gap:0;box-sizing:border-box;
 min-height:0!important;width:100%;max-width:100%;padding:20px 30px;
 mix-blend-mode:normal!important;color:var(--sf-type-ink,#202020)!important;
 background:transparent;pointer-events:auto;overflow-anchor:none;z-index:50;
}
.sf-unified-header>.logo,.sf-unified-header>.brand{grid-column:1;grid-row:1;justify-self:start;align-self:start;min-height:44px;display:flex;align-items:center;max-width:100%;}
.sf-unified-header>.nav,.sf-unified-header>.top-nav{grid-column:2;grid-row:1;display:flex;align-items:flex-start;justify-content:flex-end;flex-wrap:nowrap!important;gap:clamp(8px,1.4vw,22px);min-width:0;}
.sf-unified-header>.nav>a,.sf-unified-header>.top-nav>a{display:flex;align-items:center;justify-content:center;min-width:0!important;min-height:44px!important;line-height:1.4;white-space:normal;overflow-wrap:anywhere;text-align:center;}
.sf-unified-language{grid-column:3;grid-row:1;width:44px;min-width:0;justify-self:end;align-self:start;position:relative;font-family:var(--sf-type-ui,system-ui,sans-serif);font-size:var(--sf-type-ui-size,13px);line-height:1.5;color:inherit;pointer-events:auto;}
.sf-unified-language>summary{display:flex;align-items:center;justify-content:center;gap:5px;width:44px;min-height:44px;box-sizing:border-box;cursor:pointer;list-style:none;color:inherit;}
.sf-unified-language>summary::-webkit-details-marker{display:none;}
.sf-unified-language>summary svg{display:block;flex:none;}
.sf-unified-language>summary::after{content:"";width:6px;height:6px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:translateY(-2px) rotate(45deg);}
.sf-unified-language[open]>summary::after{transform:translateY(2px) rotate(225deg);}
.sf-unified-language>summary:focus-visible,.sf-unified-list a:focus-visible{outline:2px solid currentColor;outline-offset:2px;}
.sf-unified-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px;width:min(264px,calc(100vw - 36px));box-sizing:border-box;margin:8px 0 0 calc(44px - min(264px,100vw - 36px));padding:8px 0 0;border-top:1px solid var(--sf-type-rule,#ddd);list-style:none;}
.sf-unified-language:not([open])>.sf-unified-list{display:none;}
.sf-unified-list a,.sf-unified-list span{display:flex;align-items:center;min-height:44px;line-height:1.4;white-space:normal;overflow-wrap:anywhere;color:inherit;}
.sf-unified-list a[aria-current=page]{text-decoration:underline;text-underline-offset:4px;}
.sf-unified-list [aria-disabled=true]{opacity:.42;}
.sf-unified-list :lang(ko){font-family:"SF UI Latin","Noto Sans CJK KR","Noto Sans KR","Apple SD Gothic Neo","Malgun Gothic","Nanum Gothic",system-ui,sans-serif;}
.sf-unified-list :lang(zh-Hant){font-family:"SF UI Latin","Noto Sans CJK TC","Noto Sans TC","PingFang TC","Microsoft JhengHei","Heiti TC",system-ui,sans-serif;}
.sf-unified-list :lang(zh-Hans){font-family:"SF UI Latin","Noto Sans CJK SC","Noto Sans SC","PingFang SC","Microsoft YaHei","Heiti SC",system-ui,sans-serif;}
/* The old fixed header reserved its height in main. Now it is in the flow. */
header.sf-unified-header.header+main{padding-top:32px!important;}
body:not([class]) header.sf-unified-header.header+main{padding-top:8px!important;}
@media(max-width:899px){
 header.sf-unified-header.header,header.sf-unified-header.site-header{grid-template-columns:minmax(0,1fr) 44px;column-gap:8px;padding:14px 18px;}
 .sf-unified-header>.logo,.sf-unified-header>.brand{grid-column:1/-1;grid-row:1;}
 .sf-unified-header>.nav,.sf-unified-header>.top-nav{grid-column:1;grid-row:2;justify-content:flex-start;gap:8px;}
 .sf-unified-language{grid-column:2;grid-row:2;}
 header.sf-unified-header.header+main{padding-top:16px!important;}
 body:not([class]) header.sf-unified-header.header+main{padding-top:0!important;}
}
/* CJK localizations should not be forced through a Japanese-only font subset. */
html[lang=ko]{--sf-type-ui:"SF UI Latin","Noto Sans CJK KR","Noto Sans KR","Apple SD Gothic Neo","Malgun Gothic","Nanum Gothic",system-ui,sans-serif;}
html[lang=zh-Hant]{--sf-type-ui:"SF UI Latin","Noto Sans CJK TC","Noto Sans TC","PingFang TC","Microsoft JhengHei","Heiti TC",system-ui,sans-serif;}
html[lang=zh-Hans]{--sf-type-ui:"SF UI Latin","Noto Sans CJK SC","Noto Sans SC","PingFang SC","Microsoft YaHei","Heiti SC",system-ui,sans-serif;}
/* A longer localized editorial overline may wrap at narrow widths. */
@media(max-width:600px){
 .sf31-editorial-overline{display:flex;flex-wrap:wrap!important;gap:4px 12px!important;justify-content:space-between;}
 .sf31-editorial-overline>span{min-width:0;white-space:normal!important;overflow-wrap:anywhere;}
}
/* Keep the localized film identity legible without pushing its wordmark outside a narrow viewport. */
@media(max-width:480px){body.info-page.sf-localized-info .info35-film .sfc-identity{flex-wrap:wrap!important;gap:4px 12px!important;}body.info-page.sf-localized-info .info35-film .sfc-eyebrow{min-width:0;max-width:100%;overflow-wrap:anywhere;}body.info-page.sf-localized-info .info35-film .sfc-mark{flex:0 0 auto;max-width:100%;}}

/* Long localized control text must wrap rather than overflow. */
html:not([lang=ja]):not([lang=en]) .sf30-top,html:not([lang=ja]):not([lang=en]) .sf30-tools,html:not([lang=ja]):not([lang=en]) .sf30-overview-head{flex-wrap:wrap;gap:6px 12px;}
html:not([lang=ja]):not([lang=en]) .sf30-label,html:not([lang=ja]):not([lang=en]) .sf30-instruction,html:not([lang=ja]):not([lang=en]) .sf30-index-trigger,html:not([lang=ja]):not([lang=en]) .sf30-overview-head>span{min-width:0;max-width:100%;overflow-wrap:anywhere;white-space:normal;}

/* V5.2: language disclosure must escape the trigger's 44px max-width.
   Info/Contact/Privacy inline reset applies max-width:100% to all ul/li. */
.sf-unified-header .sf-unified-language{overflow:visible;min-width:44px;}
.sf-unified-header .sf-unified-language>.sf-unified-list{
 width:min(264px,calc(100vw - 36px));max-width:none!important;
 margin-inline-start:calc(44px - min(264px,100vw - 36px));
 margin-inline-end:0;list-style:none;
}
.sf-unified-header .sf-unified-list>li{min-width:0;max-width:none;list-style:none;margin:0;padding:0;}
.sf-unified-header .sf-unified-list>li>a{white-space:nowrap;overflow-wrap:normal;word-break:normal;min-height:44px;}
@media(max-width:899px){
 .sf-unified-header>.nav,.sf-unified-header>.top-nav{justify-content:flex-end;}
 .sf-unified-header .sf-unified-language>.sf-unified-list{
  width:min(264px,calc(100vw - 36px));
 }
}
/* Same project-end sequence at every width; retain the original two-group
   editorial composition on desktop and stacked order on mobile. */
.sf31-project>.page-end .next-project{min-width:0;}
.sf31-project>.page-end .next-project a,.sf31-project>.page-end .contact-link{overflow-wrap:break-word;word-break:normal;white-space:normal;}
.sf31-project>.page-end .contact-link{flex-shrink:0;max-width:100%;}
@media(max-width:760px){.sf31-project>.page-end{flex-direction:column;align-items:flex-start;gap:24px;}.sf31-project>.page-end .next-project .all-work{margin-top:22px;}}

.hero-meta .sf-ja-commission-note{display:block;margin-top:2px;color:inherit;}
/* The original narrow-screen stylesheet hid the only hero-meta child on
   non-Japanese/English homepages. Retain the service area in every language. */
.hero .hero-meta>div:first-child{display:block!important;}
.hero .hero-meta .sf-en-commission-note{position:static;display:block;margin-top:2px;white-space:normal;}
html .hero .hero-meta .sf-en-commission-note{position:static;top:auto;left:auto;white-space:normal;}

/* V5.4: translated headings may be longer than Work; keep the original grid and scene. */
html:not([lang=ja]):not([lang=en]) .sf-light-bridge__title{font-size:clamp(54px,8vw,130px);overflow-wrap:normal;letter-spacing:-.055em;}
@media(max-width:760px){html:not([lang=ja]):not([lang=en]) .sf-light-bridge__title{font-size:clamp(46px,12vw,78px);}}

/* V5.7: use local-script serif faces before Japanese-specific subsets. */
html[lang=ko]{--sf-type-message:Georgia,"Times New Roman","Noto Serif CJK KR","Noto Serif KR","AppleMyungjo","Batang",serif;}
html[lang=zh-Hant]{--sf-type-message:Georgia,"Times New Roman","Noto Serif CJK TC","Noto Serif TC","Songti TC","PMingLiU","MingLiU",serif;}
html[lang=zh-Hans]{--sf-type-message:Georgia,"Times New Roman","Noto Serif CJK SC","Noto Serif SC","Songti SC","SimSun",serif;}
/* The consent panel is functional text, not a caption. Display only. */
.sf17-privacy{font-family:var(--sf-type-ui,system-ui,sans-serif)!important;font-size:.875rem!important;line-height:1.65!important;max-height:calc(100dvh - 32px);overflow-y:auto;}
.sf17-privacy h2{font-size:1rem!important;}

/* V5.7: retain intended phrase groups when they fit; permit wrapping at
   larger user text settings. No font-size reduction or overflow masking. */
.hero-copy .en,.hero-copy .sf32-creator,.hero-copy .sf32-discipline{white-space:normal;overflow-wrap:anywhere;}
.sf32-project-title .sf32-title-main,.sf32-project-title .sf32-title-sub{white-space:normal;overflow-wrap:anywhere;}
.sf34-project .sf31-view.sf34-view .sf31-title.sf32-project-title{overflow-wrap:anywhere;}
.sf31-project .sf08-note-section h2,.sf31-project .sf08-note-section h3{overflow-wrap:anywhere;word-break:normal;}
body.info-page .info35-recognition .recognition-project{overflow-wrap:anywhere!important;}
body.info-page .info35-recognition .r37-rec-group{white-space:normal;overflow-wrap:anywhere;}
body.info-page .info35-recognition .info35-recognition-note{overflow-wrap:anywhere;}
.site-footer,.footer{flex-wrap:wrap;}
.site-footer-links{min-width:0;max-width:100%;}
.site-footer-links a,.site-footer-links button{max-width:100%;white-space:normal;overflow-wrap:anywhere;}
@media(max-width:600px){
 body.info-page .info35-film .sfc-identity{flex-wrap:wrap!important;}
 body.info-page .info35-film .sfc-eyebrow,body.info-page .info35-film .sfc-mark{min-width:0;max-width:100%;overflow-wrap:anywhere;}
}
/* Work list: long compounds can wrap at enlarged text settings. */
.work-list .work-row .work-name.sf32-work-name,.work-list .work-row .work-type,.work-list .sf28-award-context,.work-list .sf25-work-recognition,.sf-enquiry-route>p,.sf-enquiry-route>a{overflow-wrap:anywhere;white-space:normal;min-width:0;max-width:100%;}

/* V5.9: one horizontal header line, also on mobile. Keep the disclosure in flow. */
header.sf-unified-header.header,header.sf-unified-header.site-header{grid-template-columns:minmax(0,1fr) minmax(0,auto) 44px;align-items:start!important;}
.sf-unified-header>.logo,.sf-unified-header>.brand{grid-column:1;grid-row:1;align-self:start;min-height:44px;line-height:1.4;white-space:nowrap;}
.sf-unified-header>.nav,.sf-unified-header>.top-nav{grid-column:2;grid-row:1;align-self:start;align-items:center;min-height:44px;margin-block:0!important;padding-block:0!important;}
.sf-unified-header>.nav>a,.sf-unified-header>.top-nav>a{margin-block:0!important;padding-block:0!important;min-height:44px!important;line-height:1.4;}
.sf-unified-header>.sf-unified-language{grid-column:3;grid-row:1;align-self:start;}
@media(max-width:899px){header.sf-unified-header.header,header.sf-unified-header.site-header{grid-template-columns:minmax(0,1fr) minmax(0,auto) 44px;column-gap:6px;padding-inline:14px;} .sf-unified-header>.nav,.sf-unified-header>.top-nav{gap:8px;justify-content:flex-end;}}
@media(max-width:360px){header.sf-unified-header.header,header.sf-unified-header.site-header{column-gap:3px;padding-inline:10px;}.sf-unified-header>.logo,.sf-unified-header>.brand{font-size:.75rem;letter-spacing:.035em;}.sf-unified-header>.nav,.sf-unified-header>.top-nav{gap:4px;}.sf-unified-header>.nav>a,.sf-unified-header>.top-nav>a{font-size:.8125rem;overflow-wrap:anywhere;}}
.sf-contact-noscript{font-size:1rem;line-height:1.6;overflow-wrap:anywhere;}
.sf-contact-work a{text-decoration:underline;text-underline-offset:3px;}

.sf-contact-copy[hidden],.sf-contact-hint[hidden]{display:none!important;}
/* At enlarged user text settings only, allow a second row instead of truncating navigation.
   The regular 320px and larger viewports retain the single horizontal line. */
header.sf-unified-header{container-type:inline-size;container-name:sf-header;}
@container sf-header (max-width:18rem){
 .sf-unified-header>.logo,.sf-unified-header>.brand{grid-column:1/-1;grid-row:1;}
 .sf-unified-header>.nav,.sf-unified-header>.top-nav{grid-column:1/3;grid-row:2;justify-content:flex-end;min-width:0!important;max-width:100%;width:100%;}
 .sf-unified-header>.sf-unified-language{grid-column:3;grid-row:2;}
 .sf-unified-header>.nav>a,.sf-unified-header>.top-nav>a{flex:0 1 auto;min-width:0!important;max-width:100%;overflow-wrap:anywhere;}
 .sf-unified-header .sf-unified-list>li>a{white-space:normal;overflow-wrap:anywhere;}
}
/* The three Spanish labels are the longest combination at 320 CSS px.
   Keep a real gap beside the wordmark instead of letting its glyphs overflow the grid cell. */
@media(max-width:360px){
 html[lang=es] header.sf-unified-header{padding-inline:8px;column-gap:5px;}
 html[lang=es] .sf-unified-header>.nav,html[lang=es] .sf-unified-header>.top-nav{gap:3px;}
 html[lang=es] .sf-unified-header>.nav>a,html[lang=es] .sf-unified-header>.top-nav>a{font-size:.75rem;letter-spacing:0;}
}

/* Finish: only text layout and disclosure indicators; no image or slide changes. */
.hero h1.sf38-brand-title{white-space:normal;overflow-wrap:normal!important;word-break:normal;text-wrap:balance;}
html[lang=ja] .hero-copy{grid-template-columns:minmax(0,1fr);}
html[lang=ja] .hero-copy .en{grid-column:1;}
.work-head::before{content:none!important;display:none!important;}
/* The two redundant paragraphs were removed, not hidden. Existing folio and image styles are unchanged. */
.sf-enquiry-route{gap:0;}
/* Same single-stroke chevron, native details state and focus unchanged. */
.sf-unified-header .sf-unified-language>summary::after,
body.contact-page main.sf-contact-v511 details.faq-item>summary::after,
.sf-representative-profile .sf-representative-indicator::before{
 content:""!important;box-sizing:border-box;width:8px;height:8px;border:0;border-right:1px solid currentColor;border-bottom:1px solid currentColor;background:none;opacity:1;transform:translateY(-2px) rotate(45deg);}
.sf-unified-header .sf-unified-language[open]>summary::after,
body.contact-page main.sf-contact-v511 details.faq-item[open]>summary::after{transform:translateY(2px) rotate(225deg);}
body.contact-page main.sf-contact-v511 details.faq-item>summary::after{align-self:center;justify-self:end;margin-right:2px;color:#454545;}
.sf-representative-profile .sf-representative-indicator::before{left:50%;top:50%;transform:translate(-50%,-65%) rotate(45deg);}
.sf-representative-profile[open] .sf-representative-indicator::before{transform:translate(-50%,-35%) rotate(225deg);}
.sf-representative-profile .sf-representative-indicator::after{content:none!important;display:none;}

/* V5.15: language names use their own script, independently of page locale. */
.sf-unified-list :lang(ja){font-family:"SF UI Latin","SF UI Japanese","Hiragino Sans","Yu Gothic",sans-serif;}
.sf-unified-list :is(:lang(en),:lang(fr),:lang(it),:lang(de),:lang(es)){font-family:"SF UI Latin",Arial,sans-serif;}

/* V5.36: shared wordmark scale; no navigation or gallery changes. */
header.sf-unified-header > :is(.logo,.brand){font-size:16px!important;letter-spacing:.10em!important;}
@media(max-width:899px){header.sf-unified-header > :is(.logo,.brand){font-size:13px!important;letter-spacing:.08em!important;}}
@media(max-width:360px){header.sf-unified-header > :is(.logo,.brand){font-size:12px!important;letter-spacing:.05em!important;}}
