:root {
  color-scheme: dark;
  --paper: #f4e9dd;
  --muted: #c0b5ae;
  --ember: #fb482c;
  --safe-top: max(21px, env(safe-area-inset-top));
  --safe-bottom: max(23px, env(safe-area-inset-bottom));
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body, main { width:100%; height:100%; margin:0; overflow:hidden; overscroll-behavior:none; }
html { background:#0c0909; }
body { position:fixed; inset:0; color:var(--paper); }
main { position:relative; height:100dvh; isolation:isolate; touch-action:pan-y pinch-zoom; }
button, a { color:inherit; font:inherit; -webkit-tap-highlight-color:transparent; }
button { cursor:pointer; }
a { text-decoration:none; }
button:focus-visible, a:focus-visible { outline:2px solid #fff0c5; outline-offset:4px; }
h1:focus, h2:focus { outline:none; }
[hidden] { display:none!important; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; white-space:nowrap; clip-path:inset(50%); }
.panel { position:absolute; inset:0; background:#110e0d; display:none; overflow:hidden; }
.panel.is-current, .panel.in-transition { display:block; }
.home { background:#0a0808; }
.set { position:absolute; left:50%; top:50%; width:min(100vw,177.577dvh); aspect-ratio:1671 / 941; transform:translate(-50%,-50%); isolation:isolate; }
.master, .edge-light { display:block; position:absolute; inset:0; width:100%; height:100%; user-select:none; pointer-events:none; }
.room-top,.room-floor { position:absolute; left:0; width:100%; height:max(1px,calc((100dvh - 100%) / 2 + 1px)); z-index:-1; background-size:100% 100%; }
.room-top { bottom:calc(100% - 1px); background-image:url(assets/upper.webp); }
.room-floor { top:calc(100% - 1px); background-image:url(assets/floor.webp); }
.set::before,.set::after { content:""; position:absolute; width:50vw; top:0; bottom:0; z-index:-1; background-size:100% 100%; }
.set::before { right:calc(100% - 1px); background-image:url(assets/wall-left.webp); }
.set::after { left:calc(100% - 1px); background-image:url(assets/wall-right.webp); }
.sky { position:absolute; left:33.9318%; top:.53135%; width:52.1843%; height:32.9437%; mask:url(assets/sky-mask.png) 0 0/100% 100% no-repeat; -webkit-mask:url(assets/sky-mask.png) 0 0/100% 100% no-repeat; overflow:hidden; pointer-events:none; }
.sky div { width:100%; height:100%; background:url(assets/clouds.webp) 0 0/100% 100% no-repeat; animation:cloud-drift 14s ease-in-out infinite alternate; }
@keyframes cloud-drift { from { transform:translate(-.1%,.1%); } to { transform:translate(1.45%,-.65%); } }
.edge-light { overflow:visible; fill:none; stroke-linejoin:round; stroke-linecap:round; }
.pulse { animation:tip-light 3.3s ease-in-out infinite; }
.pulse.left { animation-delay:-1.1s; }
@keyframes tip-light { 0%,100% { opacity:.09; } 55% { opacity:.86; } }
.plaque { position:absolute; display:block; outline:none; background:transparent; }
.creative-plaque { left:67.65%; top:34%; width:22.4%; height:30.3%; clip-path:polygon(0 0,78% 21%,100% 60%,76% 100%,0 94%); }
.contact-plaque { left:10.45%; top:62.65%; width:18.45%; height:27.35%; clip-path:polygon(0 49%,25% 11%,100% 0,100% 100%,26% 91%); }
.plaque:hover { background:rgba(255,128,58,.038); }
.plaque:focus-visible { outline:0; background:rgba(255,183,100,.19); }
.home:has(.creative-plaque:hover) .pulse.right, .home:has(.contact-plaque:hover) .pulse.left { opacity:.9; animation-play-state:paused; }
.position { position:fixed; top:max(3.5dvh,env(safe-area-inset-top)); right:max(3.55vw,env(safe-area-inset-right)); z-index:8; display:flex; align-items:center; gap:12px; }
.counter { font-size:clamp(10px,.86vw,14px); font-variant-numeric:tabular-nums; letter-spacing:.02em; white-space:nowrap; color:#f8eee7; text-shadow:0 1px 8px #090605; }
.marks { display:flex; }
.marks a { display:grid; place-items:center; width:clamp(16px,1.85vw,31px); height:30px; }
.marks a::after { content:""; height:2px; width:83%; background:#ccbab0; transition:background .18s; }
.marks a[aria-current]::after { background:#ff3526; }
.marks a:hover::after { background:white; }
.side-nav a { position:fixed; z-index:6; top:48%; display:flex; align-items:center; justify-content:center; width:48px; height:52px; transform:translateY(-50%); color:#f7ece2; }
.side-nav #prev { left:max(calc(3.7vw - 24px),env(safe-area-inset-left)); }
.side-nav #next { right:max(calc(3.5vw - 24px),env(safe-area-inset-right)); }
.side-nav i { width:13px; height:13px; border:solid currentColor; border-width:1px 1px 0 0; transform:rotate(45deg); }
.side-nav #prev i { transform:rotate(-135deg); }
.side-nav span { display:none; }
.side-nav a:hover { color:#ff7044; }
.studio-return { position:fixed; z-index:7; top:max(3.5dvh,env(safe-area-inset-top)); left:7.6vw; min-height:30px; display:flex; align-items:center; font:600 .76rem/1 Arial,sans-serif; letter-spacing:.13em; text-transform:uppercase; color:#eddfd3; }
.studio-return:hover { color:white; text-decoration:underline; text-underline-offset:5px; }
.chapter { background:radial-gradient(ellipse at 76% 69%,#2b201c 0,transparent 51%),#100d0d; }
.spread { height:100%; max-width:1690px; margin:auto; padding:clamp(65px,9dvh,110px) 8.3vw; display:grid; grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr); align-items:center; gap:clamp(30px,5vw,100px); }
.kicker { display:flex; align-items:center; gap:12px; margin:0 0 clamp(16px,2.4vh,30px); color:#d9bba6; font-weight:600; font-size:.77rem; line-height:1.25; text-transform:uppercase; letter-spacing:.20em; }
.kicker::before { content:""; width:28px; height:2px; background:var(--ember); }
h2 { margin:0; font-family:"Arial Narrow","Helvetica Neue",Arial,sans-serif; font-size:clamp(3rem,6.8vw,8rem); line-height:.96; letter-spacing:-.072em; font-weight:600; }
.body-copy { max-width:38ch; margin:clamp(16px,2.7vh,34px) 0 0; font-size:clamp(1rem,1.25vw,1.22rem); line-height:1.5; color:var(--muted); }
.line-link { display:inline-flex; align-items:center; gap:11px; margin-top:clamp(18px,3.3dvh,41px); padding:8px 0; font-size:.96rem; border-bottom:1px solid #bc5c44; }
.line-link:hover, .address:hover { color:#ffc6a2; border-color:#ffc6a2; }
.art-piece { min-width:0; margin:0; }
.art-piece img { display:block; width:100%; height:auto; }
.brand-piece { width:min(100%,63dvh); justify-self:end; }
.brand-piece img { box-shadow:0 16px 60px #0005; }
figcaption { display:flex; justify-content:space-between; gap:14px; margin-top:12px; color:#b4aaa4; font-size:.78rem; line-height:1.3; letter-spacing:.04em; }
figcaption span { text-align:right; color:#dbcdc1; }
.campaigns, .eye { background:radial-gradient(ellipse at 92% 80%,#10212a 0,transparent 55%),#0a0c10; }
.campaigns .kicker, .eye .kicker { color:#d4c6c2; }
.campaign-mount,.viewfinder { width:100%; aspect-ratio:16/10; background:#0e1218; overflow:hidden; }
.campaign-mount img { height:100%; object-fit:cover; }
.campaign-mount.poster img { object-fit:contain; }
.selector { display:inline-flex; margin-top:clamp(18px,3.2dvh,34px); border-bottom:1px solid #72635e; }
.selector button { position:relative; min-height:42px; background:none; border:0; padding:0 13px; font-size:.90rem; color:#baaea7; }
.selector button:first-child { padding-left:0; }
.selector button:last-child { padding-right:0; }
.selector button[aria-pressed="true"] { color:white; }
.selector button[aria-pressed="true"]::after { content:""; position:absolute; height:2px; background:var(--ember); bottom:-1px; inset-inline:4px; }
.selector button:first-child::after { left:0; }
.selector button:last-child::after { right:0; }
.lens-frame { position:relative; justify-self:end; overflow:hidden; width:100%; aspect-ratio:1.48; background:#100c09; }
.lens-frame img { width:100%; height:100%; object-fit:cover; object-position:center 46%; display:block; }
.film-play { position:absolute; display:grid; place-items:center; inset:50% auto auto 50%; transform:translate(-50%,-50%); width:62px; height:62px; border-radius:50%; background:#100c0aa3; border:1px solid #f1dac2ac; }
.play { display:inline-block; width:0; height:0; border-top:6px solid transparent; border-bottom:6px solid transparent; border-left:9px solid currentColor; }
.film-play .play { margin-left:3px; }
.lens-frame:hover .film-play { background:#b33417; }
.viewfinder { position:relative; aspect-ratio:1.78; }
.viewfinder img { height:100%; object-fit:cover; transform-origin:80% 55%; transition:transform .65s cubic-bezier(.2,.7,.2,1); }
.viewfinder[data-framing="medium"] img { transform:scale(1.65); }
.viewfinder[data-framing="detail"] img { transform:scale(2.8); }
.guides { position:absolute; inset:6%; opacity:.6; background:linear-gradient(#fffc,#fffc) left top/16px 1px,linear-gradient(#fffc,#fffc) left top/1px 16px,linear-gradient(#fffc,#fffc) right top/16px 1px,linear-gradient(#fffc,#fffc) right top/1px 16px,linear-gradient(#fffc,#fffc) left bottom/16px 1px,linear-gradient(#fffc,#fffc) left bottom/1px 16px,linear-gradient(#fffc,#fffc) right bottom/16px 1px,linear-gradient(#fffc,#fffc) right bottom/1px 16px; background-repeat:no-repeat; pointer-events:none; }
.contact { background:radial-gradient(ellipse at 90% 65%,#441913 0,transparent 46%),linear-gradient(119deg,#100e0e 35%,#211613 73%,#130d0d); }
.contact-inner { display:flex; flex-direction:column; align-items:flex-start; justify-content:center; height:100%; padding:10vh 13vw; }
.contact-inner h2 { font-size:clamp(4.2rem,11vw,13rem); }
.location { color:#c7b8ae; padding-left:13px; border-left:1px solid #695952; }
.address { margin-top:clamp(22px,4vh,40px); font-size:clamp(1rem,2.65vw,3rem); line-height:1.4; letter-spacing:-.045em; padding-bottom:5px; border-bottom:1px solid #8c5c49; }
.contact-links { display:flex; align-items:center; gap:24px; margin-top:15px; }
.contact-links a,.contact-links button { background:none; border:0; font-size:.91rem; color:#d9cbc1; padding:11px 0; }
.contact-links a:hover,.contact-links button:hover { color:#fff; text-decoration:underline; text-underline-offset:4px; }
.copy-status { min-height:1rem; font-size:.85rem; color:#dac5b4; }
.no-script { position:fixed; padding:12px; display:flex; gap:20px; bottom:1rem; left:1rem; background:#211a18; }
@media (max-aspect-ratio: 4/5) {
  .set { width:119vw; }
  .room-top,.room-floor { left:-1px; width:calc(100% + 2px); }
  .position { top:var(--safe-top); right:max(5.5vw,env(safe-area-inset-right)); gap:10px; }
  .counter { font-size:.75rem; }
  .marks a { width:23px; height:36px; }
  .marks a::after { width:76%; }
  .side-nav { position:fixed; z-index:6; left:max(6vw,env(safe-area-inset-left)); right:max(6vw,env(safe-area-inset-right)); bottom:var(--safe-bottom); display:flex; justify-content:space-between; }
  .side-nav a { position:static; transform:none; width:auto; min-height:44px; height:auto; gap:12px; }
  .side-nav i { width:9px; height:9px; }
  .side-nav span { display:block; font-size:.78rem; letter-spacing:.045em; }
  .studio-return { left:6vw; top:var(--safe-top); height:36px; font-size:.66rem; }
  .spread { padding:calc(var(--safe-top) + 45px) 7vw calc(var(--safe-bottom) + 55px); grid-template-columns:1fr; grid-template-rows:auto auto; align-content:center; gap:clamp(16px,3.1dvh,30px); }
  .kicker { font-size:.72rem; margin-bottom:12px; }
  h2 { font-size:clamp(2.35rem,min(11vw,6.3dvh),4rem); }
  .body-copy { margin-top:12px; font-size:1rem; line-height:1.38; }
  .line-link,.selector { margin-top:8px; }
  .art-piece,.lens-frame { width:100%; justify-self:start; }
  .brand-piece { width:auto; max-width:100%; justify-self:center; }
  .brand-piece img { width:auto; max-width:100%; height:min(32dvh,74vw); }
  .brand-piece figcaption { gap:7px; }
  .campaign-mount { aspect-ratio:1.7; max-height:28dvh; }
  .lens-frame,.viewfinder { aspect-ratio:1.85; max-height:29dvh; }
  figcaption { margin-top:7px; font-size:.73rem; }
  .contact-inner { padding:10vh 7vw; }
  .contact-inner h2 { font-size:clamp(4rem,17vw,7rem); }
  .address { font-size:clamp(1rem,5.7vw,2rem); }
}
@media (max-aspect-ratio:4/5) and (max-height:690px) {
  .spread { padding-top:50px; padding-bottom:60px; gap:13px; }
  .kicker { margin-bottom:7px; }
  .brand-piece img { height:25dvh; }
  .body-copy { margin-top:8px; }
  .brand-piece figcaption { display:none; }
}
@media (min-aspect-ratio:4/5) and (max-height:540px) {
  .spread { padding-block:45px 22px; gap:4vw; }
  h2 { font-size:clamp(2rem,6vw,3.7rem); }
  .kicker { margin-bottom:9px; }
  .body-copy { font-size:1rem; line-height:1.33; margin-top:10px; }
  .line-link,.selector { margin-top:7px; }
  .lens-frame,.campaign-mount,.viewfinder { max-height:65dvh; }
}
@media (prefers-reduced-motion: reduce) {
  .sky div,.pulse { animation:none; }
  .pulse { opacity:.25; }
  *,*::before,*::after { transition-duration:0s!important; }
}

/* The canvas covers the approved composition. The DOM retains its touch targets. */
.live-stage,.window-sprite,.haze-sprite {
  position:absolute; inset:0; width:100%; height:100%; display:block; pointer-events:none;
}
.live-stage { visibility:hidden; }
.home[data-renderer] .live-stage { visibility:visible; }
.home[data-renderer] :is(.sky,.edge-light,.haze-sprite,.window-sprite) { display:none; }
.window-sprite { background:url(scene/windows.png) center/100% 100%; mix-blend-mode:screen; opacity:.1; }
.haze-sprite { overflow:hidden; mask:url(scene/fog-mask.png) center/100% 100%; -webkit-mask:url(scene/fog-mask.png) center/100% 100%; }
.haze-sprite::before { content:""; position:absolute; inset:-6%; background:url(scene/haze.png) repeat 0 0/66% 73%; opacity:.16; mix-blend-mode:screen; }
html[data-motion="on"] .sky div { animation:wind-in-letters 13s ease-in-out infinite alternate; animation-delay:-4s; }
@keyframes wind-in-letters {
  from { transform:scale(1.025) translate(-1.6%,.7%); }
  to { transform:scale(1.025) translate(2.25%,-1.05%); }
}
html[data-motion="on"] .pulse { animation:tip-light 3.3s ease-in-out infinite; }
html[data-motion="on"] .pulse.left { animation-delay:-1.1s; }
html[data-motion="on"] .window-sprite { animation:window-light 3.9s ease-in-out infinite alternate; }
@keyframes window-light { 0%,80% {opacity:.06} 28% {opacity:.31} 60% {opacity:.16} 100% {opacity:.22} }
html[data-motion="on"] .haze-sprite::before { animation:mist-flow 29s linear infinite; }
@keyframes mist-flow { to { background-position:194.1176% -12%; } }
html[data-motion="on"] .home:not([data-renderer]) .set { animation:camera-breathe 12s ease-in-out infinite alternate; }
@keyframes camera-breathe { from { translate:-.12% .08%; scale:1.001; } to { translate:.22% -.13%; scale:1.008; } }
main.cube-turn { perspective:max(850px,170vw); perspective-origin:50% 50%; }
main.cube-turn > .panel { backface-visibility:hidden; will-change:transform; }
.motion-preference { background:#171010cc; border:1px solid #72594c; border-radius:2px; color:#f0dfd3; font-size:.75rem; padding:7px 9px; }
@media (max-width:440px) { .position:has(.motion-preference:not([hidden])) .marks a { width:13px; } }
