/* World direction 04. Original AmeCan LP landscape and letter town, unchanged. */
body{background:#fffaf0}.preview-note{background:#edf4e4;color:#516b5b}.header{height:90px}.hero{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,44fr) minmax(0,56fr);align-items:start;gap:10px;min-height:730px;padding:48px 42px 240px;background:#bfe7fb url('assets/hero-world.png') center/cover;border-radius:24px;overflow:hidden;width:min(1280px,calc(100% - 60px))}
.hero:before{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 23% 29%,#fffdf2f2 0%,#fffdf2c7 23%,#fffdf255 42%,transparent 64%)}
.world-town{position:absolute;bottom:-18px;left:4%;width:92%;height:280px;object-fit:contain;pointer-events:none;z-index:1;filter:drop-shadow(0 12px 10px #143b3524)}
.hero-copy{position:relative;z-index:3;padding:12px 0}.hero-copy>.eyebrow{font-size:10px;letter-spacing:.18em;color:#355b63;margin-bottom:20px}.play-note{font-size:11px;color:#41696a;margin:0 0 15px;letter-spacing:.06em}.spark{color:#b88b22;margin-right:8px}.hero h1{font-size:38px;line-height:1.7;letter-spacing:.015em;font-weight:800}.hero h1 span:after{display:none}.intro{font-size:13px;line-height:2.1}.hero-actions{gap:20px}.hero-foot{display:none}.surprise{display:inline-flex;align-items:center;gap:10px;background:#fffdf1d9;border:1px solid #c0cfb8;border-radius:30px;padding:10px 16px;font-size:10px;margin-top:21px;box-shadow:0 3px 12px #224c3210}.surprise b{font-weight:400;color:#8a7737;font-size:17px}.surprise:hover{background:white;transform:translateY(-2px)}
.gallery-shell{position:relative;z-index:4;background:none;border-radius:0;padding:12px 0 0;min-width:0}.gallery-top{font-size:9px;letter-spacing:.15em;padding:0 32px;color:#274f60;font-weight:700}.gallery-top #counter{background:#ffffffb3;border-radius:20px;padding:2px 12px}.gallery{height:280px;perspective:1200px}.exhibit{top:35px;height:220px;width:73%;border:5px solid #fffdf5;border-radius:12px;box-shadow:0 22px 28px #234d4338;transition:transform .8s cubic-bezier(.2,.8,.25,1),opacity .6s}.exhibit[data-position="0"]{transform:translateX(-50%) translateZ(20px) rotateZ(-2deg)}.exhibit[data-position="-1"]{transform:translateX(-78%) translateZ(-180px) rotateY(28deg) rotateZ(-6deg);opacity:.83}.exhibit[data-position="1"]{transform:translateX(-22%) translateZ(-180px) rotateY(-28deg) rotateZ(6deg);opacity:.83}
.gallery-caption{margin:0 20px;padding:10px 12px;background:#fffdf3e8;border:1px solid #ffffffbd;border-radius:50px;box-shadow:0 6px 18px #294c2d15}.gallery-caption h2{font-size:14px}.gallery-caption p{font-size:9px}.arrow{background:#fbf9e9;border-color:#b3c3a7}.arrow:hover{background:#edf5dc}.gallery-bottom{margin:8px 38px 0;border:0;padding-top:0;color:#193841;text-shadow:0 1px 4px #fff}.gallery-bottom>span{color:#244952;font-size:9px}.gallery-bottom .text-link{background:#fffdf1e3;border-radius:20px;padding:6px 12px;font-size:10px}
.world-invitation{position:relative;width:min(720px,calc(100% - 60px));margin:-20px auto 0;z-index:5;padding:20px 30px;text-align:center;background:#fffdf6f5;border:1px solid #fff;border-radius:20px;box-shadow:0 9px 28px #334b2510}.world-invitation p{margin:0;font-size:14px;font-weight:700}.world-invitation small{display:block;margin-top:5px;font-size:10px;color:#637761}.world-invitation span{display:inline-block;color:#b5923d;margin-right:9px}.services{position:relative;padding-block:75px}.services:before{content:'✧';display:block;color:#b49648;font-size:27px;text-align:center;margin-bottom:25px}.section-heading h2{font-weight:800}.service{background:linear-gradient(145deg,#fffdf8,#edf5ed);border-color:#e0e7d5;box-shadow:0 7px 18px #3e61210a}.service:nth-child(2){background:linear-gradient(145deg,#fffdf8,#fff0e8)}.service:nth-child(3){background:linear-gradient(145deg,#fffdf8,#faf3d9)}.service:nth-child(4){background:linear-gradient(145deg,#fffdf8,#e9f3e0)}.service-icon{width:54px;height:54px;border-radius:50%;background:#dceecf;text-align:center;box-shadow:inset 0 2px 8px #fff,0 5px 10px #3b631515}.service:nth-child(2) .service-icon{background:#fadddf}.service:nth-child(3) .service-icon{background:#fbe5ac}.service:nth-child(4) .service-icon{background:#d8ebc8}.works-area{background:linear-gradient(#edf4e5,#fffaf0);border-radius:50px 50px 0 0}.work-card .work-image{box-shadow:0 8px 20px #3255310c;border-color:#e0e7d5}.contact-section{position:relative;isolation:isolate;background:#f5d39c url('assets/ending-open-door.png') center/cover;border-radius:24px;margin-block:40px 60px;padding:65px 35px;text-align:left;min-height:350px;overflow:hidden}.contact-section:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#fff4dffa 0%,#fff4dfec 35%,#fff4df00 72%)}.contact-section .eyebrow{color:#536246}.contact-section h2{font-size:28px}.contact-pending{background:#fffdf1dc;border:1px solid #e4d2a6}.confetti{display:none}
@media(min-width:1400px){.hero{padding-inline:60px}.hero h1{font-size:40px}.gallery{height:300px}.exhibit{height:240px}}
@media(max-width:1050px) and (min-width:761px){.hero{padding:35px 28px 205px;min-height:690px}.hero h1{font-size:31px}.intro{font-size:12px}.hero-actions{gap:12px}.gallery{height:250px}.exhibit{height:195px}.world-town{height:240px}.gallery-caption{margin-inline:0}.gallery-bottom{margin-inline:10px}}
@media(max-width:760px){.header{height:80px}.hero{display:flex;flex-direction:column;gap:12px;width:calc(100% - 20px);min-height:0;padding:28px 20px 150px;border-radius:18px;background-position:58% center;background-size:auto 100%}.hero:before{background:linear-gradient(180deg,#f5fcf5e8 0%,#eef9f0bd 38%,#eef9f022 58%,transparent 78%)}.hero-copy{padding:0 2px}.hero-copy>.eyebrow{margin-bottom:14px;font-size:9px}.play-note{font-size:9px;margin-bottom:12px}.hero h1{font-size:29px;line-height:1.7;margin-bottom:15px}.intro{font-size:12px;line-height:2;margin-bottom:20px}.hero-actions{gap:18px}.button{padding:12px 20px;gap:25px}.surprise{font-size:9px;margin-top:15px;padding:8px 13px}.gallery-shell{margin:8px -5px 0;padding-top:0;align-self:stretch}.gallery-top{font-size:8px;padding-inline:12px}.gallery{height:210px;overflow:clip}.exhibit{top:25px;height:167px;width:77%;border-width:4px}.gallery-caption{margin-inline:0;padding:7px;gap:4px;grid-template-columns:36px 1fr 36px}.gallery-caption h2{font-size:12px}.gallery-caption p{font-size:8px}.arrow{width:36px;height:36px}.gallery-bottom{margin:7px 7px 0;gap:4px}.gallery-bottom>span{font-size:8px}.gallery-bottom .text-link{font-size:9px;padding:6px 9px}.world-town{left:0;width:100%;bottom:0;height:150px}.world-invitation{width:calc(100% - 50px);margin-top:-12px;padding:15px}.world-invitation p{font-size:12px}.world-invitation small{font-size:9px}.services{padding-block:38px}.services:before{margin-bottom:17px}.contact-section{padding:36px 23px 170px;background-position:65% center}.contact-section:before{background:linear-gradient(#fff4dfee,#fff4dfce 50%,transparent 82%)}.contact-section h2{font-size:22px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}}

/* Work video: preserve the whole frame and wait for user playback. */
#dialog-image[hidden],#video-panel[hidden]{display:none}#dialog-video{display:block;width:100%;max-height:60vh;aspect-ratio:16/9;object-fit:contain;background:#171d19;border-radius:12px;margin:20px 0 14px}#video-toggle{border:0}#video-status{font-size:12px;margin:8px 0}

#dialog-variants[hidden]{display:none}

#dialog-video.portrait-video{width:auto;max-width:100%;height:60vh;aspect-ratio:9/16;margin-inline:auto}

/* Preserve the doorway and step in the closing illustration. */
@media(min-width:761px){.contact-section{min-height:530px;background-position:center}}
@media(max-width:760px){.contact-section{background-size:100% auto;background-repeat:no-repeat;background-position:center bottom;background-color:#fff4df;padding-bottom:calc(56vw + 25px)}.contact-section:before{background:linear-gradient(#fff4df 0%,#fff4df 45%,#fff4df00 68%)}}

.contact-section #contact-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}.contact-section:before{z-index:1;pointer-events:none}.contact-section>*:not(#contact-video){position:relative;z-index:2}#contact-video-toggle{display:block;margin-top:16px;border:1px solid #c7ad7f;background:#fff8e9df;border-radius:25px;padding:8px 16px;font:inherit;font-size:11px}
@media(max-width:760px){.contact-section #contact-video{top:auto;bottom:0;height:auto;aspect-ratio:16/9;object-fit:contain}.contact-section:before{background:linear-gradient(#fff4df 0%,#fff4df 50%,#fff4df00 70%)}}
/* Portfolio review: readable supporting text and a compact mobile opening. */
.play-disclosure{margin-top:14px}.play-disclosure>summary{display:none}.play-disclosure .wonder-controls{margin-top:0}
.gallery-caption p,.gallery-bottom>span,.world-invitation small,.service small,.sample-note,#result-count,.contact-pending small{font-size:12px;line-height:1.8}
.gallery-bottom .text-link,#contact-video-toggle{font-size:12px;min-height:44px}.work-card p,.dialog-body dd,.dialog-body a{font-size:13px;line-height:1.9}
.contact-pending small{margin-top:6px}footer{font-size:11px;line-height:1.8;flex-wrap:wrap}
.about-section h2,.consult-guide h2{font-size:28px;line-height:1.6}.about-layout{display:grid;grid-template-columns:1fr 1fr;gap:48px;margin-top:28px}.about-layout p,.consult-guide p{font-size:15px;line-height:2}.about-layout h3,.consult-grid h3{font-size:18px}.approach ul{list-style:none;margin:0;padding:0}.approach li{padding:15px 0;border-bottom:1px solid #dce2ce}.approach strong,.approach span{display:block}.approach span{font-size:14px;margin-top:6px}.consult-guide{padding-top:12px}.consult-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:24px}.consult-grid article{padding:22px;border:1px solid #dee4d3;border-radius:18px;background:#f2f5e9}.consult-grid h3{margin-top:0}.consult-grid p{font-size:14px;margin-bottom:0}
@media(max-width:760px){.hero{padding-top:22px}.hero-copy>.eyebrow{margin-bottom:8px}.play-note{margin-bottom:8px}.hero h1{font-size:28px;line-height:1.5;margin-block:12px}.intro{font-size:13px;line-height:1.8;margin-bottom:16px}.surprise{margin-top:10px;font-size:11px;min-height:44px}.play-disclosure{margin-top:8px}.play-disclosure>summary{display:list-item;cursor:pointer;font-size:12px;color:#193841;background:#fffdf3e8;border:1px solid #d4dec8;border-radius:16px;padding:10px 14px;min-height:44px}.play-disclosure[open]>summary{margin-bottom:8px}.gallery-shell{margin-top:4px}.gallery-caption p{font-size:11px}.gallery-caption h2{font-size:13px}.gallery-bottom{flex-wrap:wrap}.gallery-bottom>span{font-size:11px}.gallery-bottom .text-link{font-size:12px}.service small{font-size:12px}.world-invitation small{font-size:12px}.about-section h2,.consult-guide h2{font-size:24px}.about-layout,.consult-grid{grid-template-columns:1fr;gap:18px}.about-layout{margin-top:18px}.consult-grid article{padding:18px}.contact-pending{padding:15px 18px}.dialog-body{padding:22px}.dialog-body p,.dialog-body dd{font-size:14px}}
