/* Fourteen original worlds. These styles extend the shared exhibition shell. */
.film-selectors{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:0 20px;overflow:visible;padding:0;border-top:1px solid #58614d;margin-top:24px}
.film-selectors button{min-width:0;min-height:49px;white-space:normal;line-height:1.35;padding:10px 2px;border-bottom:1px solid #58614d55;transition:color .2s,border-color .2s}
.film-selectors button>span{flex:none;align-self:flex-start;margin-top:2px;opacity:.65}
.film-selectors button:hover{color:var(--paper)}
.film-selectors button[aria-pressed=true]{color:var(--lime);border-color:var(--lime)}
.film-selectors button:focus-visible{outline:1px solid var(--lime);outline-offset:3px}
.story-headline{overflow-wrap:normal}
:is([data-world=pinball],[data-world=pool404],[data-world=doodle],[data-world=dragee],[data-world=bacon],[data-world=parade],[data-world=terra],[data-world=aurenne]) .story-headline{font-size:clamp(54px,6.5vw,108px)}
:is([data-world=pinball],[data-world=pool404],[data-world=doodle],[data-world=dragee],[data-world=bacon],[data-world=parade],[data-world=terra],[data-world=aurenne]) .story-headline>em{font-size:1em}
.story-identity::before,.story-identity::after{pointer-events:none}

:is([data-world=pinball],[data-world=pool404],[data-world=doodle],[data-world=bacon],[data-world=parade]) .story-headline>em{font-family:inherit;font-weight:inherit}

/* PINBALL PALACE — a violet machine, a citron rail, a circular entrance. */
[data-world=pinball]{--world-bg:#392563;--world-ink:#f8f4e8;--world-accent:#d4f167;--demo-w:72%;--demo-x:59%;--note-x:4%;--note-w:19%}
[data-world=pinball] .story-piece{inset:7% 7% 7% 46%;border-radius:46% 46% 12px 12px;border:10px solid #d4f167;outline:1px solid #f8f4e859;outline-offset:12px;transform:rotate(5deg)}
[data-world=pinball] .story-headline{top:28%;font-family:Condensed,DM,sans-serif;line-height:.88;text-transform:uppercase;letter-spacing:-.025em;max-width:70%;text-shadow:0 2px 0 #392563}
[data-world=pinball] .story-headline>em{font-style:normal;color:#d4f167;margin-left:7%}
[data-world=pinball] .story-identity::before{content:"";position:absolute;left:-12%;top:14%;width:56%;aspect-ratio:1;border:1px solid #98d6df70;border-radius:50%;box-shadow:0 0 0 20px #392563,0 0 0 21px #98d6df40}
[data-world=pinball] .story-eyebrow{color:#d4f167}
[data-world=pinball][data-chapter=identity] .story-piece,.case-world[data-world=pinball] .story-piece{animation:palace-launch 1.3s var(--ease) both}
@keyframes palace-launch{from{opacity:0;transform:translateY(45%) rotate(-16deg) scale(.8)}to{opacity:1;transform:translateY(0) rotate(5deg) scale(1)}}

/* POOL 404 — an abandoned facility found through a survey window. */
[data-world=pool404]{--world-bg:#20352e;--world-ink:#e8e5d9;--world-accent:#dbf34b;--demo-w:72%;--demo-x:59%;--note-x:4%;--note-w:19%}
[data-world=pool404] .story-piece{inset:0 0 0 35%;clip-path:polygon(9% 0,100% 0,100% 100%,0 100%)}
[data-world=pool404] .story-piece::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#20352ecc,transparent 55%)}
[data-world=pool404] .story-headline{top:34%;font-family:Condensed,DM,sans-serif;line-height:.85;text-transform:uppercase;letter-spacing:-.035em;text-shadow:0 2px 20px #20352e66}
[data-world=pool404] .story-headline>em{font-style:normal;color:#dbf34b;margin-left:9%}
[data-world=pool404] .story-identity::after{content:"";position:absolute;right:12%;top:12%;width:18%;aspect-ratio:1;border:1px solid #dbf34b90;border-radius:50%;background:linear-gradient(transparent calc(50% - .5px),#dbf34b90 50%,transparent calc(50% + .5px)),linear-gradient(90deg,transparent calc(50% - .5px),#dbf34b90 50%,transparent calc(50% + .5px));z-index:2}
[data-world=pool404][data-chapter=identity] .story-piece,.case-world[data-world=pool404] .story-piece{animation:pool-scan 1.5s var(--ease) both}
@keyframes pool-scan{from{clip-path:polygon(100% 0,100% 0,100% 100%,100% 100%);transform:scale(1.07)}to{clip-path:polygon(9% 0,100% 0,100% 100%,0 100%);transform:scale(1)}}

/* DOODLE DUTY — a filed photograph with an uncooperative yellow stamp. */
[data-world=doodle]{--world-bg:#e9e7df;--world-ink:#24251f;--world-accent:#214fc4;--demo-w:69%;--demo-x:59%;--note-x:4%;--note-w:20%}
[data-world=doodle] .story-piece{inset:12% 7% 12% 46%;transform:rotate(5deg);border:9px solid #e9e7df;outline:1px solid #24251f;box-shadow:10px 12px 0 #214fc4}
[data-world=doodle] .story-headline{top:28%;font-family:Condensed,DM,sans-serif;text-transform:uppercase;line-height:.88;letter-spacing:-.025em;max-width:78%}
[data-world=doodle] .story-headline>em{font-style:normal;color:#214fc4;padding-left:6%;text-shadow:2px 2px #e9e7df}
[data-world=doodle] .story-identity::before{content:"UNSUPERVISED\A IMAGINATION";white-space:pre;position:absolute;left:7%;bottom:14%;padding:13px 18px;border:2px solid #24251f;background:#eac72a;font:10px/1.4 ui-monospace,monospace;letter-spacing:.08em;transform:rotate(-8deg);z-index:4}
[data-world=doodle][data-chapter=identity] .story-piece,.case-world[data-world=doodle] .story-piece{animation:doodle-file 1.1s var(--ease) both}
@keyframes doodle-file{0%{opacity:0;transform:translateY(-65px) rotate(-10deg)}75%{opacity:1;transform:translateY(5px) rotate(7deg)}100%{opacity:1;transform:translateY(0) rotate(5deg)}}

/* TheDragee — a specimen slide, offset rules and a deliberately wrong answer. */
[data-world=dragee]{--world-bg:#f2eedf;--world-ink:#30283c;--world-accent:#2b4cce;--demo-w:68%;--demo-x:60%;--note-x:4%;--note-w:20%}
[data-world=dragee] .story-piece{inset:9% 6% 9% 45%;border-radius:3px;transform:rotate(-4deg);border:1px solid #2b4cce;outline:1px solid #2b4cce66;outline-offset:9px;background:#dedbcc}
[data-world=dragee] .story-headline{top:28%;font-family:Editorial,Georgia,serif;font-weight:400;line-height:.94;letter-spacing:-.065em;max-width:78%}
[data-world=dragee] .story-headline>em{color:#2b4cce;margin-left:8%;text-decoration:underline;text-decoration-color:#ef553c;text-decoration-thickness:2px;text-underline-offset:9px}
[data-world=dragee] .story-identity::before{content:"";position:absolute;right:3%;top:10%;width:17%;aspect-ratio:1;border:2px solid #ef553c;border-radius:50%;z-index:3}
[data-world=dragee] .story-eyebrow{color:#2b4cce}
[data-world=dragee][data-chapter=identity] .story-piece,.case-world[data-world=dragee] .story-piece{animation:dragee-inspect 1.2s var(--ease) both}
@keyframes dragee-inspect{from{clip-path:inset(0 100% 0 0);transform:rotate(5deg) translateX(25px)}to{clip-path:inset(0);transform:rotate(-4deg) translateX(0)}}

/* BACON — pink ink spills across the frame; appetite stays centre stage. */
[data-world=bacon]{--world-bg:#fa6baa;--world-ink:#213c49;--world-accent:#fff1d8;--demo-w:69%;--demo-x:59%;--note-x:4%;--note-w:20%}
[data-world=bacon] #enter-project>span{color:#213c49}
[data-world=bacon] .story-piece{inset:10% 0 8% 43%;border-radius:48% 52% 43% 57%;transform:rotate(-7deg);background:#fff1d8}
[data-world=bacon] .story-piece img{object-fit:cover}
[data-world=bacon] .story-headline{top:29%;font-family:Condensed,DM,sans-serif;text-transform:uppercase;letter-spacing:-.02em;line-height:.87;max-width:78%;text-shadow:2px 2px #fa6baa}
[data-world=bacon] .story-headline>em{font-style:normal;padding-left:9%}
[data-world=bacon] .story-identity::before{content:"";position:absolute;width:58%;aspect-ratio:1;border-radius:50%;right:-7%;top:-22%;background:#f5d851;box-shadow:0 0 0 35px #213c4920}
[data-world=bacon][data-chapter=identity] .story-piece,.case-world[data-world=bacon] .story-piece{animation:bacon-spill 1.2s var(--ease) both}
@keyframes bacon-spill{from{opacity:0;transform:translate(30px,60px) rotate(15deg) scale(.75)}to{opacity:1;transform:translate(0,0) rotate(-7deg) scale(1)}}

/* PARADE No. 00 — the photograph is a paper stage with visible wings. */
[data-world=parade]{--world-bg:#f1ecd9;--world-ink:#29262c;--world-accent:#2854cc;--demo-w:68%;--demo-x:39%;--note-x:76%;--note-w:19%}
[data-world=parade] .story-piece{inset:11% 8% 11% 45%;border:12px solid #2854cc;box-shadow:15px 15px 0 #ee523a;transform:rotate(3deg);transform-origin:left bottom}
[data-world=parade] .story-headline{top:29%;font-family:Condensed,DM,sans-serif;text-transform:uppercase;letter-spacing:-.025em;line-height:.88;max-width:77%}
[data-world=parade] .story-headline>em{font-style:normal;padding-left:7%;color:#2854cc;text-shadow:2px 2px #f1ecd9}
[data-world=parade] .story-identity::before{content:"";position:absolute;inset:0;background-image:linear-gradient(#29262c0d 1px,transparent 1px),linear-gradient(90deg,#29262c0d 1px,transparent 1px);background-size:40px 40px}
[data-world=parade] .story-identity::after{content:"";position:absolute;right:5%;top:7%;width:10%;aspect-ratio:1;border-radius:50%;border:7px double #ee523a;background:#f6d66c;z-index:3}
[data-world=parade][data-chapter=identity] .story-piece,.case-world[data-world=parade] .story-piece{animation:parade-stage 1.3s var(--ease) both}
@keyframes parade-stage{from{opacity:0;transform:perspective(900px) rotateY(-70deg) rotate(3deg)}to{opacity:1;transform:perspective(900px) rotateY(0) rotate(3deg)}}

/* RENAISSANCE.EXE replaces the previous pale-green VÉLAIRE treatment. */
[data-world=velaire]{--world-bg:#111012;--world-ink:#e8dfce;--world-accent:#c9ff35;--demo-w:71%;--demo-x:59%;--note-x:4%;--note-w:19%;--demo-h:73%}
[data-world=velaire] .story-piece{inset:5% 7% 5% 44%;border-radius:0;border:1px solid #b69a6880;outline:1px solid #b69a6840;outline-offset:9px}
[data-world=velaire] .story-piece::after{content:"";position:absolute;left:-8%;right:-8%;top:36%;height:2px;background:#c9ff35;box-shadow:0 5px 20px #c9ff3550}
[data-world=velaire] .story-headline{top:29%;font-family:Editorial,Georgia,serif;font-weight:400;font-size:clamp(56px,6.9vw,112px);max-width:86%;line-height:.88;letter-spacing:-.06em;text-shadow:0 3px 15px #11101288}
[data-world=velaire] .story-headline>em{padding-left:9%;margin-top:10px;color:#c9ff35;font-size:.95em}
[data-world=velaire] .story-ritual{display:none}
[data-world=velaire] .story-eyebrow{color:#c9ff35}
[data-world=velaire][data-chapter=identity] .story-piece,.case-world[data-world=velaire] .story-piece{animation:renaissance-reboot 1.2s var(--ease) both}
[data-world=velaire][data-chapter=website] .live-aperture{border-radius:0;padding:0;background:#111012}
.project-theatre[data-world=velaire] #embed-home{border-radius:0}
@keyframes renaissance-reboot{0%{opacity:0;clip-path:inset(45% 0);transform:translateY(18px)}55%{opacity:1;clip-path:inset(10% 0);transform:translateY(-3px)}100%{opacity:1;clip-path:inset(0);transform:translateY(0)}}

/* Terra Obscura — an aerial landscape reads as a living field atlas. */
[data-world=terra]{--world-bg:#1e3b2f;--world-ink:#f5f0e6;--world-accent:#d8ef8a;--demo-w:72%;--demo-x:59%;--note-x:4%;--note-w:19%}
[data-world=terra] .story-piece{inset:0 0 0 29%}
[data-world=terra] .story-piece::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#1e3b2ff2,transparent 65%)}
[data-world=terra] .story-headline{top:33%;font-family:Editorial,Georgia,serif;font-weight:400;letter-spacing:-.06em;line-height:.92;text-shadow:0 3px 20px #1e3b2f55}
[data-world=terra] .story-headline>em{padding-left:8%;color:#d8ef8a}
[data-world=terra] .story-identity::before{content:"";position:absolute;left:-13%;bottom:-20%;width:60%;height:80%;border-radius:50%;background:repeating-radial-gradient(ellipse at 50% 50%,transparent 0 22px,#d8ef8a30 23px 24px,transparent 25px 42px);z-index:2;transform:rotate(-20deg)}
[data-world=terra][data-chapter=identity] .story-piece,.case-world[data-world=terra] .story-piece{animation:terra-survey 1.8s var(--ease) both}
@keyframes terra-survey{from{opacity:.15;transform:scale(1.13) translateX(3%)}to{opacity:1;transform:scale(1) translateX(0)}}

/* AURENNE — a still life kept like a memory in a narrow editorial border. */
[data-world=aurenne]{--world-bg:#ede8de;--world-ink:#292a24;--world-accent:#582b2c;--demo-w:67%;--demo-x:39%;--note-x:76%;--note-w:19%}
[data-world=aurenne] .story-piece{inset:7% 7% 7% 48%;border:1px solid #582b2c80;padding:10px;background:#ede8de}
[data-world=aurenne] .story-piece img{object-fit:cover}
[data-world=aurenne] .story-headline{top:32%;font-family:Editorial,Georgia,serif;font-weight:400;line-height:.93;letter-spacing:-.06em;max-width:76%}
[data-world=aurenne] .story-headline>em{color:#582b2c;padding-left:8%}
[data-world=aurenne] .story-identity::before{content:"";position:absolute;left:5%;top:17%;height:1px;width:32%;background:#582b2c66}
[data-world=aurenne] .story-identity::after{content:"";position:absolute;left:5%;bottom:18%;height:1px;width:32%;background:#582b2c66}
[data-world=aurenne][data-chapter=identity] .story-piece,.case-world[data-world=aurenne] .story-piece{animation:aurenne-memory 1.6s var(--ease) both}
@keyframes aurenne-memory{from{opacity:0;clip-path:inset(0 0 100%);transform:translateY(20px)}to{opacity:1;clip-path:inset(0);transform:translateY(0)}}

/* The copy remains readable when the identity contracts beside its rationale. */
@media(min-width:761px){
 [data-world][data-chapter=thinking] .story-headline{font-size:clamp(38px,4.1vw,66px);left:7%;right:5%;max-width:88%;top:35%}
 [data-world][data-chapter=thinking] .story-headline>em{padding-left:0;margin-left:0}
 [data-world][data-chapter=thinking] .story-piece{inset:11% 7% 11% 30%;opacity:.65}
 [data-world=offhour][data-chapter=thinking] .story-piece{opacity:1}
 [data-world][data-chapter=thinking] .story-identity::before,[data-world][data-chapter=thinking] .story-identity::after{opacity:.35}
 [data-world=doodle][data-chapter=thinking] .story-identity::before{display:none}
}
@media(max-width:1100px){.film-selectors{grid-template-columns:repeat(4,minmax(0,1fr));gap:0 18px}.film-selectors button{font-size:9px}.story-reason h3{overflow-wrap:break-word}}
@media(max-width:760px){
 .film-selectors{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;margin-top:18px}
 .film-selectors button{min-height:45px;font-size:9px;padding:10px 0;line-height:1.35}
 :is([data-world=pinball],[data-world=pool404],[data-world=doodle],[data-world=dragee],[data-world=bacon],[data-world=parade],[data-world=terra],[data-world=aurenne],[data-world=velaire]) .story-headline{left:7%;right:5%;top:22%;font-size:clamp(40px,12vw,76px);max-width:90%;line-height:.94}
 :is([data-world=pinball],[data-world=pool404],[data-world=doodle],[data-world=dragee],[data-world=bacon],[data-world=parade],[data-world=terra],[data-world=aurenne],[data-world=velaire]) .story-piece{inset:31% 9% 11% 24%;border-width:5px;outline-offset:6px}
 [data-world=pool404] .story-piece,[data-world=terra] .story-piece{inset:22% 0 0 20%}
 [data-world=pool404] .story-piece::after,[data-world=terra] .story-piece::after{background:linear-gradient(180deg,var(--world-bg),transparent 70%)}
 [data-world=pool404] .story-identity::after{top:49%;right:10%;width:29%}
 [data-world=doodle] .story-identity::before{left:7%;bottom:14%;font-size:7px;padding:10px;max-width:45%}
 [data-world=parade] .story-identity::after{width:16%;top:12%;right:8%;border-width:5px}
 [data-world=dragee] .story-identity::before{width:25%;top:38%;right:5%}
 [data-world=bacon] .story-piece{inset:33% 4% 11% 17%}
 [data-world=terra] .story-headline{top:21%}
 [data-world=aurenne] .story-piece{inset:32% 8% 10% 29%;padding:7px;border-width:1px}
 [data-world=aurenne] .story-identity::before,[data-world=aurenne] .story-identity::after{width:23%}
 [data-world=velaire] .story-piece{inset:26% 8% 8% 27%;border-width:1px}
 [data-world=velaire] .story-headline{top:21%;font-size:clamp(40px,11.7vw,70px)}
 .project-theatre[data-world=velaire] .live-aperture{width:86%;height:56%;top:33%}
 [data-world][data-chapter=thinking] .story-headline{top:27%;font-size:clamp(28px,8.5vw,48px);left:7%;right:3%;max-width:90%}
 [data-world][data-chapter=thinking] .story-headline>em{padding-left:0;margin-left:0}
 [data-world][data-chapter=thinking] .story-piece{inset:0 0 0 50%;opacity:.45;border-width:0;padding:0;outline:0;box-shadow:none}
 [data-world=offhour][data-chapter=thinking] .story-piece{opacity:1}
 [data-world][data-chapter=thinking] .story-identity::before,[data-world][data-chapter=thinking] .story-identity::after{display:none}
 .story-demo-note>h3{font-size:27px}
}
.motion-off .story-identity *,.motion-off .story-identity::before,.motion-off .story-identity::after{animation:none!important;transition:none!important}
@media(prefers-reduced-motion:reduce){.story-identity *,.story-identity::before,.story-identity::after{animation:none!important;transition:none!important}}
/* Featured reel follows the current four identities. */
.scene-offhour{color:var(--ink);top:31%}.scene-offhour h2{font-family:Condensed,DM,sans-serif;text-transform:uppercase;letter-spacing:-.035em;max-width:720px}.scene-offhour h2 em{font-style:normal;color:#e65320}
.reel[data-scene="2"],.scene-velaire{color:var(--paper)}.scene-velaire{top:31%}.scene-velaire h2{max-width:1000px;font-size:clamp(65px,8vw,130px)}.scene-velaire h2 em{color:#d7fc70}
.scene-aurenne h2{max-width:900px;font-size:clamp(70px,9vw,145px)}.reel[data-scene="1"] .scene-fallback img{filter:none}
@media(max-width:760px){.scene-offhour h2,.scene-velaire h2,.scene-aurenne h2{font-size:13vw;max-width:90vw}.scene-offhour,.scene-velaire,.scene-aurenne{top:30%}}
