/* SEVENTYSIX Edition 02 — optional responsive, appearance and language controls.
   Intentionally loaded after the unmodified Edition 02 design styles. */
html{scroll-padding-top:82px}
html,body{max-width:100%;overflow-x:clip}
.site-tools{display:flex;align-items:center;gap:8px;flex:0 0 auto;margin-inline-start:auto;order:3}
.nav-shell>.wordmark{order:1}
.nav-shell>.primary-nav{order:2}
.nav-shell>.menu-toggle{order:4}
.theme-toggle,.language-select{border:1px solid var(--line);background:var(--panel);color:var(--ink);height:39px;border-radius:0;transition:background-color .2s,border-color .2s,color .2s}
.theme-toggle{width:39px;display:grid;place-items:center;font-size:21px;padding:0;line-height:1}
.theme-toggle:hover,.language-select:hover{background:var(--panel2)}
.language-select{width:106px;max-width:106px;padding:0 5px 0 8px;font-size:11px;font-weight:700;letter-spacing:.015em;cursor:pointer}
.language-select option{background:var(--panel);color:var(--ink)}
.theme-toggle:focus-visible,.language-select:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
/* Show compact menu as soon as language controls could collide with navigation. */
@media(max-width:1250px){
  .nav-shell{gap:10px}
  .nav-shell>.menu-toggle{display:flex;flex:none}
  .primary-nav{display:none;position:absolute;top:var(--nav);left:0;right:0;padding:24px var(--page) 36px;min-height:0;max-height:calc(100dvh - var(--nav));overflow-y:auto;z-index:55;background:var(--bg);border-bottom:1px solid var(--line);box-shadow:0 24px 28px rgba(0,0,0,.10)}
  .primary-nav.open{display:flex;flex-direction:column;align-items:stretch;gap:0}
  .primary-nav.open a{padding:14px 0;border-bottom:1px solid var(--line);font-size:clamp(20px,4vw,30px);font-weight:500;color:var(--ink);line-height:1.25}
  .primary-nav.open .nav-cta{margin-top:13px;display:flex;justify-content:center;padding:15px;font-size:14px!important;color:#fff;border-bottom:0}
  .primary-nav.open .nav-open-tab{width:auto;height:auto;display:flex;justify-content:flex-start;font-size:13px;border:0;color:var(--muted);text-decoration:underline}
}
@media(max-width:600px){
  :root{--nav:68px;--page:clamp(18px,5vw,28px)}
  .site-tools{gap:5px}
  .language-select{width:90px;max-width:90px;height:36px;font-size:10px;padding-inline-start:6px}
  .theme-toggle{width:36px;height:36px}
  .nav-shell>.menu-toggle{width:36px;height:36px}
  .wordmark{font-size:clamp(13px,3.4vw,17px);letter-spacing:.07em;gap:5px}
  .wordmark sup{font-size:7px}
  .hero-cinema{min-height:calc(100svh - var(--nav));min-height:max(640px,calc(100svh - var(--nav)))}
  .hero-cinema-content{padding-bottom:24px}
  .hero-cinema-main{padding:85px 0 75px;max-width:100%}
  .hero-cinema h1{font-size:clamp(44px,10.8vw,75px);overflow-wrap:break-word}
  .hero-cinema-bottom{gap:12px}
  .hero-cinema-bottom>span:first-child{max-width:150px;line-height:1.5}
  .hero-portrait-line span{display:inline-block;margin-left:0;margin-top:6px}
  .hero-ctas{gap:18px}
  .section-head{flex-wrap:wrap;align-items:flex-start}
  .section-head h2,.display-title,.page-hero h1{overflow-wrap:anywhere}
  .footer-top{grid-template-columns:repeat(2,minmax(0,1fr))}
  .footer-top .footer-brand{grid-column:1/-1}
  .footer-bottom{flex-direction:column;gap:8px}
  .team-item .person-name{overflow-wrap:anywhere}
  .field input,.field select,.field textarea{max-width:100%}
}
@media(max-width:370px){
  .nav-shell{gap:5px}
  .language-select{width:74px;max-width:74px;font-size:9px}
  .theme-toggle{width:32px;height:35px}
  .nav-shell>.menu-toggle{width:32px;height:35px}
  .wordmark{font-size:12px;letter-spacing:.04em}
  .hero-cinema h1{font-size:clamp(41px,10.3vw,51px)}
}
/* Alternate appearance. Default light mode is EXACTLY the Edition 02 design. */
html[data-theme="dark"]{color-scheme:dark;--bg:#121413;--panel:#1b1e1c;--panel2:#282d29;--ink:#f5f5f1;--soft:#d1d6d1;--muted:#afb6ae;--line:rgba(230,235,230,.20);--accent:#e9eee9}
html[data-theme="dark"] body{background:var(--bg);color:var(--ink)}
html[data-theme="dark"] .site-header{background:rgba(18,20,19,.97);border-color:var(--line)}
html[data-theme="dark"] .primary-nav a{color:#cdd1cd}
html[data-theme="dark"] .primary-nav a:hover,html[data-theme="dark"] .primary-nav a[aria-current="page"]{color:#fff}
html[data-theme="dark"] .primary-nav .nav-cta{background:#f3f4f1;border-color:#f3f4f1;color:#171917}
html[data-theme="dark"] .primary-nav .nav-cta:hover{background:#d5d8d3;color:#151716}
html[data-theme="dark"] .primary-nav .nav-open-tab{color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] .primary-nav.open{background:var(--bg)}
html[data-theme="dark"] .primary-nav.open .nav-cta{color:#171917}
html[data-theme="dark"] .eyebrow{color:#a2aea2}
html[data-theme="dark"] .eyebrow:before{background:#8a978a}
html[data-theme="dark"] .section-intro span,html[data-theme="dark"] .statement h2 span{color:#a3aaa2}
html[data-theme="dark"] .section-head .aside,html[data-theme="dark"] .feature-copy p,html[data-theme="dark"] .rich-copy p,html[data-theme="dark"] .split-feature p,html[data-theme="dark"] .service p,html[data-theme="dark"] .subgrid-item p{color:var(--muted)}
html[data-theme="dark"] .number,html[data-theme="dark"] .work-info p{color:var(--muted)}
html[data-theme="dark"] .button{background:#f5f5f0;border-color:#f5f5f0;color:#171817}
html[data-theme="dark"] .button:hover{background:transparent;color:#f5f5f0}
html[data-theme="dark"] .button-outline{background:transparent;color:#f5f5f0;border-color:#f5f5f0}
html[data-theme="dark"] .button-outline:hover{background:#f5f5f0;color:#171817}
html[data-theme="dark"] .light-section{background:#1b1f1c;color:#f5f5f1}
html[data-theme="dark"] .light-section .eyebrow,html[data-theme="dark"] .light-section .tiny-label{color:#abb6aa}
html[data-theme="dark"] .light-section .eyebrow:before{background:#899489}
html[data-theme="dark"] .work-art{background:#202421}
html[data-theme="dark"] .work-placeholder{border-color:var(--line)}
html[data-theme="dark"] .work-placeholder p{color:var(--muted)}
html[data-theme="dark"] .work-placeholder-icon{color:var(--ink)}
html[data-theme="dark"] .new-tab-link{color:#c0c9bf;border-color:#8b998c}
html[data-theme="dark"] .new-tab-link:hover{color:white}
html[data-theme="dark"] .cta-strip{background:#1c211d;border-color:var(--line)}
html[data-theme="dark"] .cta-layout p{color:var(--muted)}
html[data-theme="dark"] .page-hero .lede,html[data-theme="dark"] .page-hero .hero-small .meta{color:#c0c6bf}
html[data-theme="dark"] .team-item:hover{background:rgba(255,255,255,.045)}
html[data-theme="dark"] .team-item .person-alias,html[data-theme="dark"] .team-item .person-role{color:#c4cbc3}
html[data-theme="dark"] .team-outro{color:#a1a8a0}
html[data-theme="dark"] .media-note,html[data-theme="dark"] .back-link{color:var(--muted)}
html[data-theme="dark"] .release-details>p,html[data-theme="dark"] .project-details p,html[data-theme="dark"] .project-index,html[data-theme="dark"] .release-details .release-sub{color:var(--muted)}
html[data-theme="dark"] .field label,html[data-theme="dark"] .checkbox-row label{color:#e3e9e2}
html[data-theme="dark"] .field input,html[data-theme="dark"] .field textarea,html[data-theme="dark"] .field select{background:#202520;color:#f4f5f1;border-color:#626d62}
html[data-theme="dark"] .field input::placeholder,html[data-theme="dark"] .field textarea::placeholder{color:#a3aba3}
html[data-theme="dark"] .form-note{background:#252b25;color:#cbd3c9}
html[data-theme="dark"] .form-note,html[data-theme="dark"] .fine-print,html[data-theme="dark"] .notice{color:#c3cbbf}
html[data-theme="dark"] .notice strong{color:white}
html[data-theme="dark"] .site-footer{background:#090d0a}
html[data-theme="dark"] .site-footer .footer-group a,html[data-theme="dark"] .site-footer .wordmark{color:#eaf0e7}
/* Photo hero deliberately retains its original studio image and legibility overlay in both modes. */
html[data-theme="dark"] .hero-cinema .hero-button{background:white;color:#171818;border-color:white}
html[data-theme="dark"] .hero-cinema .hero-button:hover{background:transparent;color:white}
/* Arabic: switch reading direction for content, do not mirror photographs or video. */
html[dir="rtl"] body{direction:rtl;font-family:Tahoma,'Segoe UI',Arial,sans-serif}
html[dir="rtl"] .hero-cinema h1,html[dir="rtl"] .page-hero h1,html[dir="rtl"] .section-head h2{letter-spacing:-.025em;line-height:1.12}
html[dir="rtl"] .hero-label,html[dir="rtl"] .hero-cinema-bottom{letter-spacing:0}
html[dir="rtl"] .hero-photo,html[dir="rtl"] .work-art img,html[dir="rtl"] .feature-image img{direction:ltr}
html[dir="rtl"] .team-item,html[dir="rtl"] .release-row{direction:rtl}
html[dir="rtl"] .field input[type="email"]{direction:ltr}
@media(prefers-reduced-motion:reduce){.hero-scroll span{animation:none}}
