/* THE DOOR ROOM — original CSS illustrations and interactions. */
.doors-section {background:#e8e4e0;overflow:hidden}
.doors-section .doors-head {margin-bottom:40px}
.doors-section .doors-head h2{font-size:clamp(54px,6.9vw,105px);line-height:.98;letter-spacing:-.078em}
.doors-section .doors-head h2 em,.door-gallery-section h1 em{color:#a4552c}
.doors-section .doors-head .section-side{max-width:335px}
.doors-section .doors-head .drag-hint{color:#7e6c61}
.doors-section .door-stage{
 --wall-end:128px;
 height:575px;
 margin:0 calc(-1 * max(5.2vw,24px));
 padding:0;position:relative;overflow:hidden;isolation:isolate;
 background:radial-gradient(ellipse 56% 55% at 50% 6%,#f7f5f2 0%,rgba(255,255,255,0) 85%),linear-gradient(110deg,#d8d3cf 0%,#e4dfda 45%,#d6d1cc 100%);
 box-shadow:inset 0 18px 45px #c4beb734;
}
.doors-section .wall-lights{position:absolute;inset:0 0 var(--wall-end);z-index:0;pointer-events:none;background:linear-gradient(90deg,transparent,#ffffff29 30%,transparent 56%,#ffffff1c 80%,transparent);opacity:.8}
.doors-section .wall-trim{position:absolute;bottom:calc(var(--wall-end) - 1px);left:0;right:0;height:23px;z-index:2;background:linear-gradient(#eeeae6 0 12%,#c4c0bc 14% 19%,#dedbd7 22% 65%,#fffdfa 67% 74%,#beb8b1 81%,#efebe7 96%);border-bottom:1px solid #beb6b0;box-shadow:0 -7px 11px #a6a19b1b,0 3px 4px #a39c9455}
.doors-section .floor-base{position:absolute;bottom:0;inset-inline:0;height:var(--wall-end);border-top:0;transform:none;z-index:1;background:
 linear-gradient(90deg,transparent 0 19%,#b3a9a321 19.05% 19.12%,transparent 19.2% 42%,#b3a9a321 42.1% 42.2%,transparent 42.3% 69%,#b3a9a321 69.1% 69.2%,transparent 69.3%),
 repeating-linear-gradient(32deg,transparent 0 28px,#b2aaa31c 29px,#b2aaa31c 30px,transparent 31px 51px),
 linear-gradient(170deg,#fffaf5,#eeeae6 70%,#e7dfd9);}
.doors-section .floor-base:after{content:'';position:absolute;inset:0;background:radial-gradient(ellipse 65% 90% at 0% 0%,#f1a27b6b,transparent 63%);pointer-events:none}
.doors-section .stage-floor-glow{position:absolute;inset:auto 0 0;height:var(--wall-end);pointer-events:none;z-index:2;background:radial-gradient(ellipse 45% 50% at 80% 0%,#fff7ef7f,transparent 90%)}
.doors-section .door-row{position:absolute;inset:0 0 var(--wall-end);height:auto;display:flex;justify-content:space-evenly;align-items:end;gap:12px;overflow:visible;scroll-snap-type:none;padding:18px 4vw 0;z-index:5;scrollbar-width:none}
.doors-section .door-wrap{display:flex;position:relative;flex:0 1 245px;min-width:0;height:100%;align-items:center;flex-direction:column;justify-content:flex-end;scroll-snap-align:none;isolation:auto;text-decoration:none;color:#252323;transition:opacity .55s ease,filter .55s ease,transform .55s cubic-bezier(.2,.8,.2,1);z-index:3;outline-offset:5px}
.doors-section .door-index {position:absolute;top:16px;left:50%;transform:translateX(-50%);margin:0;opacity:0;pointer-events:none}
.doors-section .door-scene {width:clamp(141px,12.2vw,172px);height:clamp(313px,28vw,357px);flex:none;perspective:950px;border:0;background:linear-gradient(90deg,#574844,#2c292a 15%,#5a4645 70%,#32282a);border-radius:100px 100px 0 0;box-shadow:0 0 0 8px #f2efec,0 0 0 11px #d1cdca,0 3px 0 13px #aaa5a190,8px 13px 21px #48413c5c,inset 11px 0 9px #211e20a3;overflow:visible;transform:translateY(0);transition:box-shadow .4s ease}
.doors-section .door-light{position:absolute;inset:3px;border-radius:110px 110px 0 0;background:radial-gradient(ellipse at 60% 54%,#ca906c,#695c50 50%,#302c2b 84%);box-shadow:inset 0 0 20px #18191a9e}
.doors-section .door-jamb{position:absolute;inset:0;border-radius:100px 100px 0 0;pointer-events:none;box-shadow:inset 8px 0 7px #f3f0ee90,inset -5px 0 10px #29232699;z-index:0}
.doors-section .door-panel {position:absolute;inset:0;overflow:hidden;border:none;border-radius:95px 95px 0 0;transform-origin:left center;transform:rotateY(0);backface-visibility:visible;transform-style:preserve-3d;display:block;filter:none;transition:transform .88s cubic-bezier(.2,.65,.1,1),filter .68s ease;box-shadow:inset 5px 0 7px #ffffff36,inset -6px 0 10px #1109096a,3px 0 8px #29222555}
.doors-section .door-panel:before{content:'';position:absolute;inset:4px 7px 0;border-radius:89px 89px 0 0;border:1px solid #ffffff20;box-shadow:0 0 0 2px #00000012,inset 2px 0 5px #fff2}
.doors-section .door-panel:after{content:'';position:absolute;inset:9px 12px 0;border-radius:85px 85px 0 0;box-shadow:inset 0 0 0 1px #0003;pointer-events:none}
.doors-section .door-web {background:linear-gradient(110deg,#13233d,#2e435c 37%,#1a304c 74%,#101d32)}
.doors-section .door-app {background:linear-gradient(115deg,#3e2835,#624852 39%,#432b39 79%,#2f222c)}
.doors-section .door-brand {background:linear-gradient(110deg,#637360,#94a18a 42%,#72836d 76%,#56644f)}
.doors-section .door-creative {background:linear-gradient(110deg,#a9502c,#c57447 40%,#ac572e 79%,#8b4125)}
.doors-section .door-ribs {position:absolute;inset:8px 10px 0;border-radius:80px 80px 0 0;opacity:.75;background:repeating-linear-gradient(90deg,transparent 0 3px,#05050540 4px,#ffffff1c 5px,transparent 7px);mask-image:linear-gradient(black 65%,#000e)}
.doors-section .door-plaque {position:absolute;top:30%;left:50%;transform:translateX(-50%);width:95px;height:31px;display:flex;align-items:center;justify-content:center;text-align:center;color:#34281e;font-size:8px;line-height:1.15;letter-spacing:.095em;font-weight:850;box-shadow:2px 3px 3px #0006,0 1px 0 #f2de9d inset;background:linear-gradient(165deg,#fff1b2 0%,#d1aa57 35%,#ffe2a0 59%,#a27831 98%);border:1px solid #9c763a;z-index:3;white-space:nowrap}
.doors-section .door-plaque:before,.doors-section .door-plaque:after{content:'';position:absolute;top:50%;width:2px;height:2px;background:#8e6c3a;border-radius:50%;box-shadow:0 0 0 1px #f7d78855}
.doors-section .door-plaque:before{left:6px}.doors-section .door-plaque:after{right:6px}
.doors-section .door-hardware{position:absolute;right:18px;top:65%;height:44px;width:40px;z-index:4}
.doors-section .door-handle {position:absolute;right:-1px;top:1px;width:40px;height:11px;border-radius:13px;background:linear-gradient(#f7dd8e,#c39638 31%,#f2d078 66%,#83632a);box-shadow:1px 2px 5px #1b151676;transform:perspective(100px) rotateZ(-2deg)}
.doors-section .door-handle:before{content:'';position:absolute;width:13px;height:14px;right:0;top:-1px;border-radius:50%;background:linear-gradient(145deg,#ffe2a2,#8c642c);box-shadow:0 0 0 2px #8d6c3380}
.doors-section .door-keyhole{position:absolute;top:23px;right:7px;width:7px;height:12px;background:linear-gradient(#f9d581,#bb8535);border-radius:6px;box-shadow:0 0 0 1px #7f592a,1px 2px 5px #17131086}
.doors-section .door-keyhole:after{content:'';position:absolute;top:2px;left:2px;width:3px;height:6px;border-radius:50% 50% 0 0;background:#42331e;clip-path:polygon(0 0,100% 0,68% 50%,68% 100%,32% 100%,32% 50%)}
.doors-section .door-panel-shadow{position:absolute;inset:0;background:linear-gradient(90deg,#0003,transparent 20%,transparent 68%,#0004);pointer-events:none}
.doors-section .door-wrap h3, .doors-section .door-wrap .door-visit{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.doors-section .door-enter{position:absolute;top:58%;left:50%;transform:translate(-50%,-45%);z-index:8;background:#1e1b1b;color:#f8f2ef;border-radius:100px;padding:14px 16px;box-shadow:0 7px 25px #0e0c0c4d;white-space:nowrap;font-size:12px;font-weight:640;opacity:0;transition:opacity .25s,transform .32s;pointer-events:none}
.doors-section .door-wrap.door-open .door-panel {transform:rotateY(-93deg);filter:brightness(.82)}
.doors-section .door-stage.has-active .door-wrap:not(.is-active):not(.door-open) {opacity:.085;filter:grayscale(.65) blur(1px);transform:scale(.988)}
.doors-section .door-stage.has-active .door-wrap.is-active {z-index:6}
.doors-section .door-stage.has-active .door-wrap.is-active .door-enter {opacity:1;transform:translate(-50%,-50%)}
.doors-section .door-stage.has-active .door-wrap.is-active .door-scene{box-shadow:0 0 0 8px #f5f2ef,0 0 0 11px #d0cbc7,0 5px 0 13px #b0aba4a0,15px 17px 28px #322a2c52}
.doors-section .door-stage .door-preview{position:absolute;right:6.5%;top:18%;width:31%;max-width:420px;z-index:10;opacity:0;transform:translateX(23px);transition:opacity .45s ease,transform .5s cubic-bezier(.2,.8,.2,1);pointer-events:none;color:#201d1d;text-align:left}
.doors-section .door-stage.has-active .door-preview{opacity:1;transform:translateX(0)}
.doors-section .door-preview-card{display:none;padding:12px 0 18px 10px}
.doors-section .door-preview-card.is-visible {display:block}
.doors-section .door-preview-kicker{letter-spacing:.22em;font-size:10px;color:#806258;font-weight:700}
.doors-section .door-preview h3{font-size:clamp(30px,3.1vw,47px);letter-spacing:-.068em;line-height:1.02;margin:14px 0 12px;font-weight:730}
.doors-section .door-preview p{font-size:13px;line-height:1.55;color:#5c5451;max-width:320px;margin:0 0 18px}
.doors-section .door-preview ul{margin:0;padding:0;list-style:none;display:grid;gap:11px}
.doors-section .door-preview li{font-size:13px;display:flex;align-items:center;gap:10px}
.doors-section .door-preview li:before{content:'✓';height:17px;width:17px;display:grid;place-items:center;background:#755d5b;color:#fff;border-radius:50%;font-size:10px;flex:none}
.doors-section .preview-enter{display:block;font-size:10px;letter-spacing:.095em;margin-top:27px;font-weight:800;color:#8d5840}
.doors-section .preview-arrow{font-size:45px;color:#a4552c;position:absolute;right:0;top:-60px;opacity:.6}
.doors-section .wall-picture{top:47px;left:7%;width:48px;height:60px;border:5px solid #957566;background:#eee7df;color:#16243d;z-index:1;display:flex;align-items:center;justify-content:center;flex-direction:column;transform:rotate(-11deg)}
.doors-section .wall-picture b{font-size:27px;line-height:1}.doors-section .wall-picture span{font-size:24px;line-height:1;color:#ab653f}
.doors-section .picture-two{left:auto;right:11%;top:45px;width:64px;height:71px;transform:rotate(9deg)}
.doors-section .picture-two svg{width:50px}
.doors-section .door-cord{position:absolute;right:4.25%;top:0;z-index:3;height:165px;width:24px;pointer-events:none}
.doors-section .door-cord i{position:absolute;top:0;left:12px;width:3px;height:131px;background:repeating-linear-gradient(90deg,#6f5742 0 1px,#c7aa7f 1px 2px);box-shadow:1px 0 1px #43372d77}
.doors-section .door-cord b{position:absolute;bottom:0;left:0;width:25px;height:39px;border-radius:60% 60% 52% 52%;background:radial-gradient(ellipse at 27% 25%,#a98048,#5d391b 76%);box-shadow:inset -4px -3px 9px #25140e66,2px 4px 6px #18141250}
.doors-section .stage-caption{position:absolute;z-index:3;bottom:17px;left:4vw;right:4vw;display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:9px;letter-spacing:.17em;color:#8d8077;font-weight:680;pointer-events:none}
.doors-section .door-footnote{margin-top:0;padding:16px 3px 0;display:flex;justify-content:space-between;align-items:center;font-size:10px;font-weight:700;letter-spacing:.085em;color:#7c716a}
.doors-section .door-footnote a {color:#8e4e32;white-space:nowrap;text-decoration:none;border-bottom:1px solid #b48d72;padding-bottom:4px}
.doors-section .door-footnote b{margin-left:10px}
/* Dedicated /work door gallery */
.door-gallery-page{background:#e8e4e0}.door-gallery-section{overflow:hidden}
.door-gallery-section .gallery-header{padding:65px 5.2vw 36px;max-width:1500px;margin:auto}
.door-gallery-section .gallery-header .back-link{display:inline-block;margin:0 0 35px}
.door-gallery-section .gallery-header h1{font-size:clamp(57px,8vw,120px);margin:15px 0 12px;line-height:.94;letter-spacing:-.075em}
.door-gallery-section .gallery-header p{margin:0 0 6px;color:#7b6e67;font-size:15px}
.door-gallery-section .door-stage{margin:0}
.gallery-back{display:flex;justify-content:space-between;gap:15px;padding:27px 5.2vw 55px;font-size:12px;font-weight:750;letter-spacing:.07em}.gallery-back a{border-bottom:1px solid #a4552c;padding-bottom:5px}
.gallery-footer{background:#1a1818;color:#f5f0e9;display:flex;justify-content:space-between;gap:15px;padding:27px 5.2vw;font-size:11px;letter-spacing:.09em}
.gallery-footer a{color:inherit}
/* Medium and touch layouts: four doors remain browseable without clipping interactions. */
@media(max-width:950px){
 .doors-section .door-stage{height:540px;--wall-end:121px}
 .doors-section .door-row{justify-content:space-between;gap:15px;padding-inline:4.5vw}
 .doors-section .door-scene{width:clamp(125px,15.5vw,154px);height:clamp(288px,34vw,335px)}
 .doors-section .door-stage .door-preview{right:4%;width:41%;top:23%;background:#e5dfd9e8;border-radius:8px;padding:10px 14px;box-shadow:0 16px 40px #66534820}
 .doors-section .door-preview h3{font-size:30px}
}
@media(max-width:720px){
 .doors-section .door-stage{height:560px;--wall-end:117px}
 .doors-section .door-row{overflow-x:auto;scroll-snap-type:x mandatory;justify-content:flex-start;gap:40px;padding:17px 21vw 0;overscroll-behavior-inline:contain;scrollbar-width:none}
 .doors-section .door-row::-webkit-scrollbar{display:none}
 .doors-section .door-wrap{flex:0 0 170px;scroll-snap-align:center}
 .doors-section .door-scene{width:158px;height:325px}
 .doors-section .wall-picture{top:38px;left:5%;transform:rotate(-7deg)}
 .doors-section .picture-two{left:auto;right:8%}
 .doors-section .door-stage .door-preview{display:none}
 .doors-section .door-stage.has-active .door-wrap:not(.is-active):not(.door-open){opacity:.56;filter:none;transform:none}
 .doors-section .door-wrap .door-enter{opacity:0!important}
 .doors-section .door-wrap h3{position:static;display:block;width:auto;height:auto;margin:20px 0 3px;clip:auto;overflow:visible;white-space:normal;font-size:14px;letter-spacing:-.025em}
 .doors-section .door-wrap .door-visit{position:static;display:block;width:auto;height:auto;margin:0;clip:auto;overflow:visible;white-space:normal;font-size:8px;letter-spacing:.06em;color:#73665d;max-width:168px;text-align:center}
 .doors-section .door-wrap .door-visit b{font-size:11px;color:#8d5236}
 .doors-section .door-footnote{font-size:9px;line-height:1.5;align-items:start;flex-direction:column;gap:10px}
 .doors-section .stage-caption{font-size:7px;left:20px;right:20px;letter-spacing:.075em}
 .doors-section .stage-caption span{display:none}
 .doors-section .door-cord{right:16px}
 .door-gallery-section .gallery-header{padding:42px 22px 29px}
 .gallery-back{padding:24px 22px 45px;font-size:10px}
 .gallery-footer{padding:27px 22px;flex-wrap:wrap;font-size:9px}
}
@media(max-width:380px){.doors-section .door-row{padding-inline:18vw}.doors-section .door-stage{height:530px}.doors-section .door-scene{height:300px;width:145px}.doors-section .door-wrap{flex-basis:158px}}
@media(prefers-reduced-motion:reduce){.doors-section .door-wrap,.doors-section .door-panel,.doors-section .door-preview{transition:none!important}}
/* Override the legacy open-on-hover behavior: hover highlights the door; only click opens it. */
.doors-section .door-wrap:hover .door-panel,
.doors-section .door-wrap:focus-visible .door-panel,
.doors-section .door-stage.has-active .door-wrap.is-active .door-panel {transform:rotateY(0);filter:none}
.doors-section .door-wrap.door-open:hover .door-panel,
.doors-section .door-wrap.door-open:focus-visible .door-panel,
.doors-section .door-stage .door-wrap.door-open .door-panel {transform:rotateY(-93deg);filter:brightness(.82)}

.doors-section .door-footnote-links{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:24px}
@media(max-width:720px){.doors-section .door-footnote-links{justify-content:flex-start;gap:14px}}
/* The clicked, currently spotlighted door must animate open rather than be held shut by the focus state. */
.doors-section .door-stage.has-active .door-wrap.is-active.door-open .door-panel{transform:rotateY(-93deg);filter:brightness(.82)}
/* Keep the spotlight description on the opposite side of the active door. */
@media(min-width:721px){
 .doors-section .door-stage:has([data-door="brand"].is-active,[data-door="creative"].is-active) .door-preview{left:5%;right:auto}
}
@media(max-width:720px){
 .doors-section .door-stage{height:auto;padding:62px 18px 40px}
 .doors-section .door-row{position:relative;inset:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 16px;padding:0;overflow:visible}
 .doors-section .door-wrap{width:100%;min-width:0;height:auto}
 .doors-section .door-scene{width:min(82%,150px);height:auto;aspect-ratio: .49}
 .doors-section .door-plaque{width:min(80%,95px)}
 .doors-section .door-stage.has-active .door-wrap:not(.is-active):not(.door-open){opacity:1}
 .doors-section .wall-picture,.doors-section .door-cord{display:none}
 .doors-section .stage-caption{bottom:10px}
 .doors-section .door-wrap h3{text-align:center}
}

/* QA refinement: keep gallery's breadcrumb and kicker from colliding on small screens. */
.door-gallery-section .gallery-header > .kicker{display:block;margin:0 0 12px;line-height:1.5}
@media (max-width:600px){
  .door-gallery-section .gallery-header .back-link{display:table;margin-bottom:24px}
  .door-gallery-section .gallery-header > .kicker{font-size:10px;letter-spacing:.12em}
}
