/* Original, isolated composition studies. Cinema's page and data are untouched. */
html[data-style-comparison=true] :is(.agency-page,.portal-page) .global-mark>i{display:none}
html[data-style-comparison=true] :is(.agency-page,.portal-page) :is(button,a,input,textarea,select,summary){touch-action:manipulation}
html[data-style-comparison=true] .agency-page .art-index{writing-mode:horizontal-tb;transform:none}

/* 04 — Spatial Gallery: the images are the exhibition, navigation the overview. */
html[data-style-variant=gallery] .agency-page{--paper:#e5e7dc;--ink:#26352b;--muted:#536353;--blue:#3b5940;--line:#aebba9;--lime:#dce4d4;background:#e5e7dc}
html[data-style-variant=gallery] .agency-page .preview-note{background:#293c2f;color:#eef1e6}
html[data-style-variant=gallery] .agency-page .global-header{background:#e5e7dce8;border-color:#bdc8b5;padding-block:17px;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
html[data-style-variant=gallery] .agency-page .global-nav .pill{border-color:#82937b60;border-radius:7px;background:#f7f9ef55}
html[data-style-variant=gallery] .agency-page .global-nav .pill.dark{background:#293c2f;color:#fff}
html[data-style-variant=gallery] .agency-page .global-hero{grid-template-columns:.85fr 1.15fr;gap:70px;min-height:650px;padding-block:70px 90px;perspective:1200px}
html[data-style-variant=gallery] .agency-page h1{font-size:clamp(58px,6.1vw,94px);line-height:1.06;letter-spacing:-.065em}
html[data-style-variant=gallery] .agency-page h1 em{color:#455e3c}
html[data-style-variant=gallery] .agency-page .hero-heading .kicker{color:#53654b;letter-spacing:.08em}
html[data-style-variant=gallery] .agency-page .hero-art{min-height:510px;transform:rotateY(-7deg);transform-origin:left center}
html[data-style-variant=gallery] .agency-page .orbital{inset:0 8% 0 0;background:#b7c4a8;border-radius:4px;transform:rotate(-3deg);border:1px solid #f5f8ed;box-shadow:0 15px 35px #48573e16}
html[data-style-variant=gallery] .agency-page .orbital span{display:none}
html[data-style-variant=gallery] .agency-page .orbital i{color:#2c45251f;font:italic 340px/1 Georgia,serif;transform:rotate(3deg);margin:0}
html[data-style-variant=gallery] .agency-page .archive-window{inset:75px 0 45px 9%;width:91%;border:9px solid #f7f8ee;background:#f7f8ee;border-radius:3px;transform:rotate(2deg);box-shadow:0 20px 45px #34442d25;display:flex;flex-direction:column}
html[data-style-variant=gallery] .agency-page .archive-window img{height:100%;min-height:0;flex:1;aspect-ratio:1.3}
html[data-style-variant=gallery] .agency-page .archive-window>span{color:#2d402d;padding:14px 9px 5px}
html[data-style-variant=gallery] .agency-page .archive-window small{color:#59674f}
html[data-style-variant=gallery] .agency-page .archive-window:hover{transform:rotate(0) translateY(-4px)}
html[data-style-variant=gallery] .agency-page .art-label{top:25px;left:30px;transform:none;background:transparent;color:#354c2c;padding:0;font-size:9px}
html[data-style-variant=gallery] .agency-page .art-index{bottom:10px;left:30px;color:#40543a}
html[data-style-variant=gallery] .agency-page .tracks{gap:20px;border:0}
html[data-style-variant=gallery] .agency-page .track{min-height:180px;border:1px solid #adbaa3;background:#f1f4e8;border-radius:5px;box-shadow:0 10px 20px #35452e08;padding:28px;align-content:start}
html[data-style-variant=gallery] .agency-page .track.active{background:#334a35;color:#f0f3e5;border-color:#334a35}
html[data-style-variant=gallery] .agency-page .track strong{font-size:30px}
html[data-style-variant=gallery] .agency-page .track-panel{margin-top:20px;background:transparent;border-bottom:1px solid var(--line);padding:34px 0;gap:70px}
html[data-style-variant=gallery] .agency-page .track-plan{background:#f3f6ea;border:1px solid #fff;padding:28px;border-radius:6px}
html[data-style-variant=gallery] .agency-page .process-grid{gap:16px}
html[data-style-variant=gallery] .agency-page .process-grid article{border:1px solid #c0cdb7;background:#eef2e6;padding:25px}
html[data-style-variant=gallery] .agency-page .process-symbol{font-size:28px;margin-bottom:14px;color:#5c7250}
html[data-style-variant=gallery] .agency-page .connections{background:#d8dfcf}
html[data-style-variant=gallery] .agency-page #global-brief{background:#f1f4e9;padding:30px;border:1px solid #fff;border-radius:7px}
html[data-style-variant=gallery] .agency-page :is(input,textarea,select){background:#fafbf4;border-color:#a7b49c;border-radius:4px}
html[data-style-variant=gallery] .agency-page .pill{border-radius:7px}
html[data-style-variant=gallery] .portal-page{--paper:#edf0e6;--ink:#28362c;--muted:#55634f;--blue:#3d6243;--line:#b7c5ae;background:#edf0e6;color:#28362c}
html[data-style-variant=gallery] .portal-page.shell-enabled{--rail:210px}
html[data-style-variant=gallery] .portal-page .portal-rail{background:#2a3b2e;border-color:#405641;color:#edf1e5}
html[data-style-variant=gallery] .portal-page .portal-rail nav a{color:#cbd6c0}
html[data-style-variant=gallery] .portal-page .portal-rail nav a[aria-current=page]{background:#e2ead4;color:#293b27;box-shadow:none}
html[data-style-variant=gallery] .portal-page .portal-rail .shell-group{color:#b2c1a4}
html[data-style-variant=gallery] .portal-page .portal-header{background:#edf0e6ed;border-bottom-color:#bcc9b3}
html[data-style-variant=gallery] .portal-page .shell-context>span{color:#4d6044}
html[data-style-variant=gallery] .portal-page .shell-context h1{color:#293c2d;font-weight:500}
html[data-style-variant=gallery] .portal-page .language-grid{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(285px,42%);gap:24px;overflow-x:auto;scroll-snap-type:x proximity;padding:10px 12px 24px;perspective:1400px;scrollbar-width:thin;scrollbar-color:#657e58 #e0e6d8}
html[data-style-variant=gallery] .portal-page .language-card{scroll-snap-align:start;background:#fafbf3;border:1px solid #c5d0bb;border-radius:5px;padding:12px 12px 20px;box-shadow:0 12px 24px #40503610;transition:transform 180ms,border-color 180ms}
html[data-style-variant=gallery] .portal-page .language-card:hover,html[data-style-variant=gallery] .portal-page .language-card:focus-within{transform:translateY(-4px);border-color:#657e58}
html[data-style-variant=gallery] .portal-page .language-card img{aspect-ratio:1.25;background:#e3e9db;border-radius:2px}
html[data-style-variant=gallery] .portal-page .language-card h3{font-family:Georgia,serif;font-size:25px;letter-spacing:-.04em;color:#293c2d}
html[data-style-variant=gallery] .portal-page .language-card p{color:#53644c}
html[data-style-variant=gallery] .portal-page :is(.account-asset,.reference-card,.meeting-card,.compare-card){background:#f9fbf1;border:1px solid #c7d1bc;border-radius:5px;box-shadow:0 8px 20px #4050360c}
html[data-style-variant=gallery] .portal-page :is(input,textarea,select):not([type=range]):not([type=checkbox]):not([type=file]){background:#fafbf5;color:#293b2d;border-color:#9dac94;border-radius:4px}
html[data-style-variant=gallery] .portal-page :is(.pill.dark,.account-primary){background:#344e36;color:#f5f8ed;border-color:#344e36}
html[data-style-variant=gallery] .portal-page .shell-view-switch{background:#dde5d3}
html[data-style-variant=gallery] .portal-page .shell-view-switch button[aria-pressed=true]{background:#fafcf4;color:#2d412b}
html[data-style-variant=gallery] .portal-page .enterprise-message-dock{background:#f2f5e9;border-color:#96a88b;box-shadow:0 25px 60px #2d402a30}
html[data-style-variant=gallery] .portal-page #demo-bar{background:#dce6d0;color:#293b27;border-color:#a4b498;position:relative;top:auto}
html[data-style-variant=gallery] .portal-page #demo-bar button{background:#f7faef;color:#2b4029;border-color:#9eaf92}
html[data-style-variant=gallery] .portal-page #demo-bar button[aria-pressed=true]{background:#344d35;color:#f5f7ed}

/* 05 — Night Sequence: title held still above a genuine widescreen archive. */
html[data-style-variant=night] .agency-page{--paper:#11171f;--ink:#edf0eb;--muted:#b4c0cc;--blue:#d4e28e;--line:#465260;--lime:#d4e28e;background:radial-gradient(ellipse at 50% 9%,#29364655,transparent 44%),#11171f;color:#edf0eb}
html[data-style-variant=night] .agency-page .preview-note{background:#0c1117;color:#d4e0cb;border-bottom:1px solid #54616c44}
html[data-style-variant=night] .agency-page .global-header{background:#151d27eb;border-color:#6a7c8e3b;box-shadow:0 8px 24px #0002}
html[data-style-variant=night] .agency-page .global-mark{color:#edf0eb}
html[data-style-variant=night] .agency-page .global-nav .pill{background:#ffffff06;border-color:#8291a250;color:#c4cfda}
html[data-style-variant=night] .agency-page .global-nav .pill.dark{background:#d4e28e;border-color:#d4e28e;color:#1c261b}
html[data-style-variant=night] .agency-page .global-nav .pill:hover{background:#384658;color:#fff}
html[data-style-variant=night] .agency-page .global-nav .pill.dark:hover{background:#ecf5ba;color:#1c261b}
html[data-style-variant=night] .agency-page .global-hero{display:flex;flex-direction:column;gap:45px;padding-block:75px 50px;min-height:0}
html[data-style-variant=night] .agency-page .hero-heading{text-align:center;width:100%;max-width:1000px}
html[data-style-variant=night] .agency-page h1{font:400 clamp(62px,8vw,122px)/.98 Georgia,'Times New Roman',serif;letter-spacing:-.06em}
html[data-style-variant=night] .agency-page h1 br{display:none}
html[data-style-variant=night] .agency-page h1 em{color:#e0e7d4;white-space:normal}
html[data-style-variant=night] .agency-page h1 em:after{display:none}
html[data-style-variant=night] .agency-page .hero-heading .kicker{color:#c4d394;letter-spacing:.17em;margin-bottom:27px}
html[data-style-variant=night] .agency-page .hero-intro{max-width:none;color:#aebfd0;font-size:15px;line-height:1.8;margin:28px auto}
html[data-style-variant=night] .agency-page .hero-heading>.pill{background:#d5e48f;color:#1c291a;border-color:#d5e48f;min-width:195px}
html[data-style-variant=night] .agency-page .hero-art{width:100%;height:460px;min-height:0;max-width:1120px}
html[data-style-variant=night] .agency-page .orbital{display:none}
html[data-style-variant=night] .agency-page .archive-window{position:absolute;inset:0 4% 25px;width:92%;border:1px solid #8090a54d;background:#111a25;transform:none;border-radius:2px;box-shadow:0 35px 85px #0005;overflow:hidden}
html[data-style-variant=night] .agency-page .archive-window img{height:100%;aspect-ratio:auto;object-position:50% 58%;filter:saturate(.75);transition:transform 350ms}
html[data-style-variant=night] .agency-page .archive-window:hover{transform:none}
html[data-style-variant=night] .agency-page .archive-window:hover img{transform:scale(1.025)}
html[data-style-variant=night] .agency-page .archive-window>span{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,#111923ec);padding:50px 26px 24px;color:#fff}
html[data-style-variant=night] .agency-page .art-label{left:0;top:23px;writing-mode:vertical-rl;color:#8ea0b4;letter-spacing:.15em;font-size:8px}
html[data-style-variant=night] .agency-page .art-index{bottom:0;left:4%;color:#b4c299;font-size:8px;letter-spacing:.16em}
html[data-style-variant=night] .agency-page .section-heading h2,html[data-style-variant=night] .agency-page .brief-section h2{font-family:Georgia,serif;font-weight:400;letter-spacing:-.04em}
html[data-style-variant=night] .agency-page .tracks{border-color:#4a5867;border-radius:2px}
html[data-style-variant=night] .agency-page .track{background:#19232f;color:#b9c8d8;padding:32px}
html[data-style-variant=night] .agency-page .track.active{background:#d6e38f;color:#202b1c}
html[data-style-variant=night] .agency-page .track strong{font-family:Georgia,serif;font-size:29px}
html[data-style-variant=night] .agency-page .track-plan{background:#1e2936;border-color:#72829955;box-shadow:0 1px #dce6f411 inset;border-radius:3px}
html[data-style-variant=night] .agency-page .track-plan>.pill{background:#d7e1e8;color:#1e2833;border-color:#d7e1e8}
html[data-style-variant=night] .agency-page .connections{background:#1a2633;border-color:#3e5266}
html[data-style-variant=night] .agency-page .community-note{border-color:#506071}
html[data-style-variant=night] .agency-page #global-brief{background:#1b2531;color:#d8e2eb;border:1px solid #6a7b8d55;box-shadow:0 15px 60px #0003;border-radius:4px}
html[data-style-variant=night] .agency-page :is(input,textarea,select):not([type=checkbox]):not([type=range]):not([type=file]){background:#141e29;border-color:#6b7b8d;color:#edf0eb;border-radius:3px}
html[data-style-variant=night] .agency-page :is(input,textarea)::placeholder{color:#b6c3d0;opacity:1}
html[data-style-variant=night] .agency-page #global-brief>.pill{background:#d6e48e;color:#1c291a;border-color:#d6e48e}
html[data-style-variant=night] .agency-page .global-footer{border-color:#48596a;color:#b5c6d7}
html[data-style-variant=night] .agency-page #brief-review{--ink:#253140;--muted:#536274;--blue:#405e7c;--paper:#f3f3ed;color:#253140}
html[data-style-variant=night] .portal-page{--blue:#d5e48e;--focus-color:#d5e48e;background:#111a25}
html[data-style-variant=night] .portal-page .portal-rail{background:#111a25;border-color:#54677844}
html[data-style-variant=night] .portal-page .portal-rail nav a[aria-current=page]{background:#d2df9030;color:#ecf1d1;box-shadow:inset 2px 0 #d1df89}
html[data-style-variant=night] .portal-page .portal-header{background:#1b2734e8}
html[data-style-variant=night] .portal-page :is(.direction-heading h2,.section-caption h2){font-family:Georgia,serif;font-size:32px;font-weight:400;letter-spacing:-.04em}
html[data-style-variant=night] .portal-page .language-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:36px}
html[data-style-variant=night] .portal-page .language-card{background:transparent;border:0;border-bottom:1px solid #65788e66;border-radius:0;box-shadow:none;padding:0 0 22px}
html[data-style-variant=night] .portal-page .language-card>img{aspect-ratio:1.9;border-radius:2px;object-fit:contain;background:#1a2636}
html[data-style-variant=night] .portal-page .language-card h3{font:400 28px/1.1 Georgia,serif;letter-spacing:-.035em}
html[data-style-variant=night] .portal-page :is(.pill.dark,.account-primary){background:#d4e38e;color:#202b1c;border-color:#e4edbb}
html[data-style-variant=night] .portal-page .account-asset{border-radius:3px;background:#1d2938}
html[data-style-variant=night] .portal-page .enterprise-message-dock{border-radius:4px;background:#1c2936f7}
html[data-style-variant=night] .portal-page .shell-view-switch{background:#263343}
html[data-style-variant=night] .portal-page .shell-view-switch button[aria-pressed=true]{background:#d7e4a1;color:#26331e}
html[data-style-variant=night] .portal-page #demo-welcome .demo-welcome-art{background:#162231;color:#e6edce}

@media(max-width:1100px){html[data-style-variant=gallery] .agency-page .global-hero{gap:35px}html[data-style-variant=gallery] .agency-page .hero-art{min-height:440px}html[data-style-variant=gallery] .portal-page .language-grid{grid-auto-columns:minmax(270px,65%)}html[data-style-variant=night] .agency-page .hero-art{height:380px}}
@media(max-width:760px){
 html[data-style-variant=gallery] .agency-page .global-hero{display:flex;gap:36px;padding-block:45px;min-height:0}html[data-style-variant=gallery] .agency-page h1{font-size:clamp(56px,12vw,82px)}html[data-style-variant=gallery] .agency-page .hero-art{min-height:390px;transform:none;max-width:520px}html[data-style-variant=gallery] .agency-page .archive-window{inset:70px 0 35px 9%}html[data-style-variant=gallery] .agency-page .tracks{gap:10px}html[data-style-variant=gallery] .agency-page .track{padding:20px 16px;min-height:190px}html[data-style-variant=gallery] .agency-page .track strong{font-size:24px}html[data-style-variant=gallery] .agency-page .track-panel{display:block}html[data-style-variant=gallery] .agency-page .track-plan{padding:24px}html[data-style-variant=gallery] .agency-page .process-grid article{padding:20px}html[data-style-variant=gallery] .agency-page #global-brief{padding:22px}
 html[data-style-variant=gallery] .portal-page .language-grid{grid-auto-columns:87%;gap:18px;padding-inline:0;perspective:none}html[data-style-variant=gallery] .portal-page .language-card{padding:10px 10px 20px}html[data-style-variant=gallery] .portal-page .language-card:hover{transform:none}html[data-style-variant=gallery] .portal-page .portal-rail{width:100%}
 html[data-style-variant=night] .agency-page .global-hero{gap:30px;padding-block:48px 36px}html[data-style-variant=night] .agency-page h1{font-size:clamp(58px,11vw,86px);line-height:1.04}html[data-style-variant=night] .agency-page .hero-heading .kicker{font-size:8px;letter-spacing:.1em}html[data-style-variant=night] .agency-page .hero-intro{font-size:14px;margin:24px auto}html[data-style-variant=night] .agency-page .hero-art{height:310px;min-height:0;max-width:none}html[data-style-variant=night] .agency-page .archive-window{inset:0 0 25px;width:100%}html[data-style-variant=night] .agency-page .art-label{display:none}html[data-style-variant=night] .agency-page .art-index{left:0;letter-spacing:.08em;font-size:7px}html[data-style-variant=night] .agency-page .archive-window>span{padding:40px 16px 18px}html[data-style-variant=night] .agency-page .track{padding:22px 16px}html[data-style-variant=night] .agency-page .track strong{font-size:25px}html[data-style-variant=night] .agency-page .track-plan{padding:22px}html[data-style-variant=night] .agency-page #global-brief{padding:22px}html[data-style-variant=night] .portal-page .language-grid{grid-template-columns:1fr;gap:28px}html[data-style-variant=night] .portal-page :is(.direction-heading h2,.section-caption h2){font-size:28px}
 html[data-style-comparison=true] .portal-page :is(input,textarea,select):not([type=range]):not([type=checkbox]):not([type=file]){font-size:16px;min-height:44px}
}
@media(prefers-reduced-motion:reduce){html[data-style-variant=gallery] .agency-page .hero-art{transform:none}html[data-style-variant=gallery] .portal-page .language-card,html[data-style-variant=night] .agency-page .archive-window img{transform:none!important;transition:none!important}}
@media(prefers-reduced-transparency:reduce){html[data-style-variant=gallery] .agency-page .global-header{background:#e5e7dc}html[data-style-variant=night] .agency-page .global-header,html[data-style-variant=night] .portal-page .portal-header{background:#1b2734}html[data-style-variant=gallery] .agency-page .global-header,html[data-style-variant=night] .agency-page .global-header,html[data-style-variant=night] .portal-page .portal-header{backdrop-filter:none;-webkit-backdrop-filter:none}}
@media(prefers-contrast:more){html[data-style-variant=night] .agency-page{--muted:#d2dfec;--line:#8c9caf}html[data-style-variant=gallery] .agency-page{--muted:#33452c;--line:#667a59}}
