/* Shared editorial system; brand tones are sampled from the official marks. */
body{--brand-accent:#176a73;--brand-pale:#edf6f0}
.page-e4t{--brand-accent:#252a2c;--brand-pale:#f2f3f3}
.page-morito{--brand-accent:#144f2a;--brand-pale:#eff5ed}
.page-ebiwake{--brand-accent:#db4e03;--brand-pale:#fff3e9}
.page-realife{--brand-accent:#205696;--brand-pale:#eff4fc}
body:is(.page-e4t,.page-morito,.page-ebiwake,.page-realife,.page-enbi){background:linear-gradient(150deg,#fff,var(--brand-pale) 45%,#fff)}
body:is(.page-e4t,.page-morito,.page-ebiwake,.page-realife) .site-glow{display:none}
.page-heading{position:relative;isolation:isolate;padding-top:100px;padding-bottom:70px;min-height:290px}
.page-heading:after{content:"";position:absolute;z-index:-1;right:2%;top:70px;width:min(38vw,390px);aspect-ratio:1.45;border:1px solid var(--brand-accent);opacity:.15;border-radius:50%;transform:rotate(calc(-20deg + var(--q,1)*28deg)) scale(calc(.88 + var(--q,1)*.12));box-shadow:22px 15px 0 var(--brand-pale),50px 35px 0 #ffffff80}
.page-heading h1{max-width:100%;overflow-wrap:anywhere;line-height:1.5}
.page-heading p{max-width:48em;color:#425d62}
.brand-detail{display:grid;grid-template-columns:.8fr 1.2fr;gap:80px;align-items:start;padding-top:35px;padding-bottom:65px}
.brand-detail-logo{display:grid;place-items:center;min-height:220px;background:#ffffffaa;border-radius:24px;padding:35px;aspect-ratio:1.3}
.brand-detail-logo img{width:100%;max-height:300px;object-fit:contain}
.brand-detail-logo.dark-logo{background:#252a2c}
.brand-detail h2{font-size:clamp(1.3rem,2.2vw,2rem);color:#16353f;line-height:1.8}
.brand-detail p,.brand-detail li{line-height:2}
.brand-detail ul{padding-left:1.3em}
.brand-detail .button{background:var(--brand-accent);border-color:var(--brand-accent);color:white;white-space:normal;line-height:1.7;margin-top:24px}
.page-ebiwake .brand-detail .button{background:#a43a02;border-color:#a43a02}
.brand-return{padding-bottom:65px}
.prose>article{padding:40px 0 55px;border-bottom:1px solid #a9c8bb}
.prose>article h2{font-size:clamp(1.4rem,3vw,2.4rem)}
.prose>article p{max-width:52em;line-height:2}
.prose>article:last-of-type{border-bottom:0}
.company{padding:30px;background:#ffffff70;border-radius:18px}
.form{padding:45px;background:#ffffffa0;border-radius:22px;margin-bottom:65px}
.page-privacy .prose{max-width:850px}
.page-privacy .prose h2{margin-top:50px;font-size:1.4rem}
.page-thanks .page-heading{padding-bottom:35px}
@media(max-width:700px){.page-heading{padding-top:65px;padding-bottom:40px;min-height:0}.page-heading:after{top:40px;width:60vw}.brand-detail{grid-template-columns:1fr;gap:35px;padding-top:15px}.brand-detail-logo{max-width:360px;width:100%;margin:auto;min-height:150px}.company{padding:22px 15px}.form{padding:28px 18px}.prose>article{padding:25px 0 35px}}
.large-text .brand-detail{grid-template-columns:1fr}
@media(prefers-reduced-motion:reduce){.page-heading:after{transform:none}}
.page-ebiwake .brand-detail-logo img{max-width:220px}
.brand-partnership{padding-top:20px;padding-bottom:15px}
.brand-partnership h2{font-size:1.4rem}
.page-heading.with-people{display:grid;grid-template-columns:1.6fr .75fr;align-items:center;gap:40px}
.heading-people{min-width:0;justify-self:end;width:100%;max-width:320px;opacity:.88}
.page-heading.small-people{grid-template-columns:1fr 130px}
.small-people .heading-people{max-width:130px}
.heading-copy{min-width:0}
@media(max-width:700px){.page-heading.with-people{grid-template-columns:1fr;gap:15px}.heading-people{max-width:190px}.page-heading.small-people{grid-template-columns:1fr 75px;gap:15px}.small-people .heading-people{max-width:75px}}
.large-text .page-heading.with-people{grid-template-columns:1fr}
.liberla-editorial{padding-top:35px;padding-bottom:50px}
.liberla-editorial-lead{display:flex;gap:60px;align-items:center;margin-bottom:55px}
.liberla-editorial-lead h2{font-size:clamp(2.6rem,5vw,4.8rem);letter-spacing:.01em;line-height:1.4;margin:0;color:#252a2c}
.liberla-editorial-lead p{font-size:1rem;line-height:2}
.liberla-photo-story{margin:55px 0 80px}
.liberla-photo-story h3{font-size:clamp(1.3rem,2.5vw,2rem);line-height:1.7}
.liberla-photo-story>p{max-width:45em;line-height:2;color:#405351}
.liberla-photo-pair{display:grid;grid-template-columns:1.18fr 1fr;gap:32px;margin-top:30px;align-items:start}
.liberla-photo-pair figure{margin:0;min-width:0}
.liberla-photo-pair figure:nth-child(2){margin-top:65px}
.liberla-photo-pair img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;border-radius:8px}
.liberla-photo-pair figcaption{font-size:.72rem;line-height:1.9;margin-top:12px;color:#42534d}
.liberla-photo-pair figcaption a{display:block;color:#42534d;text-underline-offset:4px}
@media(max-width:700px){.liberla-editorial-lead{display:block;margin-bottom:35px}.liberla-editorial-lead h2{font-size:2.5rem}.liberla-photo-pair{grid-template-columns:1fr;gap:28px}.liberla-photo-pair figure:nth-child(2){margin-top:0}.liberla-photo-story{margin:35px 0 60px}}
.large-text .liberla-editorial-lead{display:block}
.large-text .liberla-photo-pair{grid-template-columns:1fr}

/* Compact case motifs and the concrete activities within the park project. */
.case-heading{display:grid;grid-template-columns:64px minmax(0,1fr);gap:20px;align-items:center;margin-bottom:22px}
.prose>article .case-heading h2{margin:0;overflow-wrap:anywhere}
.case-symbol{display:block;width:64px;height:64px;color:#176a73;max-width:100%}
.park-outlook{margin:24px 0;padding:18px 22px;border-left:3px solid #84b6a7;background:#edf5ef}
.park-outlook h3{font-size:1.1rem;margin:0 0 10px}
.park-outlook p:last-child{margin-bottom:0}
.park-activities{list-style:none;padding:0;margin:24px 0 48px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.park-activities li{display:grid;grid-template-columns:52px minmax(0,1fr);gap:16px;align-items:start;padding:20px;background:#f7faf4;border-top:1px solid #afcabe;min-width:0}
.park-activities .case-symbol{width:52px;height:52px}
.park-activities h3{font-size:1.1rem;line-height:1.7;margin:0 0 10px;overflow-wrap:anywhere}
.park-activities p{font-size:.95rem;line-height:1.9;margin:0;overflow-wrap:anywhere}
@media(max-width:760px){.case-heading{grid-template-columns:48px minmax(0,1fr);gap:14px}.case-heading .case-symbol{width:48px;height:48px}.park-activities{grid-template-columns:1fr}.park-activities li{padding:18px 12px;grid-template-columns:42px minmax(0,1fr);gap:12px}.park-activities .case-symbol{width:42px;height:42px}.park-outlook{padding:16px}}
.large-text .park-activities{grid-template-columns:1fr}
@media(max-width:480px){.large-text .case-heading,.large-text .park-activities li{grid-template-columns:minmax(0,1fr)}}

/* Three selected scenes stay within the running community case. */
.art-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px;margin:30px 0 32px}
.art-gallery .art-photo{margin:0;min-width:0}
.art-gallery .art-photo-main{grid-column:1/-1}
.art-gallery img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;border-radius:0;background:#edf5ef}
.art-gallery figcaption{font-size:.875rem;line-height:1.8;color:#425d62;margin-top:10px}
@media(max-width:760px){.art-gallery{grid-template-columns:minmax(0,1fr);gap:24px}.art-gallery .art-photo-main{grid-column:auto}}
.large-text .art-gallery{grid-template-columns:minmax(0,1fr)}

/* Shared brand light follows the existing scroll progress, with brand backgrounds intact. */
.brand-scroll-surface{position:relative;isolation:isolate;--sweep-color:var(--brand-pale)}
.brand-scroll-surface>:not(.brand-sweep-window){position:relative;z-index:1}
.brand-scroll-surface[data-progress]>.brand-sweep-window{display:block}
.motion-reduced .brand-scroll-surface>.brand-sweep-window{display:none}
@media(prefers-reduced-motion:reduce){.brand-scroll-surface>.brand-sweep-window{display:none!important}}
@media(forced-colors:active){.brand-scroll-surface>.brand-sweep-window{display:none!important}}
footer .footer-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-top:35px}
footer .footer-bottom small{font-size:.7rem;line-height:1.8;flex-shrink:0}
footer .footer-bottom nav{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px 18px;margin:0}
footer .footer-bottom nav a{font-size:.7rem;font-weight:600;line-height:1.8;letter-spacing:.025em}
@media(max-width:1050px){footer .footer-bottom{flex-direction:column-reverse;align-items:stretch}footer .footer-bottom nav{align-self:flex-end}}
.large-text footer .footer-bottom{flex-direction:column-reverse;align-items:stretch}
.large-text footer .footer-bottom nav a{overflow-wrap:anywhere}

.brand-detail-logo.emblem-logo{aspect-ratio:1;padding:0;background:#202664;max-width:360px;width:100%;justify-self:center;border-radius:0}.brand-detail-logo.emblem-logo img{max-height:none;aspect-ratio:1;object-fit:contain}

/* Personal enquiry routes: separate destinations with clear, accessible colours. */
.page-contact .contact-personal-actions{display:flex;flex-wrap:wrap;gap:14px;margin:24px 0 32px}
.page-contact .contact-personal-actions .button{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:56px;max-width:100%;padding:16px 22px;border:1px solid transparent;border-radius:12px;color:#fff;font-size:1rem;line-height:1.6;font-weight:700;text-decoration:none;white-space:normal;box-sizing:border-box}
.page-contact .contact-personal-actions .button span:first-child{min-width:0;overflow-wrap:anywhere}
.page-contact .contact-personal-actions .button span:last-child{flex-shrink:0}
.page-contact .contact-personal-actions .contact-service-button{background:#176a73}
.page-contact .contact-personal-actions .contact-career-button{background:#91452e}
.page-contact .contact-personal-actions .button:hover{filter:brightness(1.1)}
.page-contact .contact-personal-actions .button:focus-visible{outline:3px solid #16353f;outline-offset:4px}
@media(max-width:700px){.page-contact .contact-personal-actions .button{width:100%;padding:14px 18px}}

.contact-honeypot{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#contact-form button:disabled{opacity:.5;cursor:not-allowed}#contact-error{color:#9c332a}#contact-challenge{margin-block:20px}

/* Balance long headings, while preserving short single-line titles. */
main :is(h1,h2,h3),.contact-band h2{text-wrap:balance}
.page-heading h1 .heading-phrase{display:block;max-width:100%;overflow-wrap:anywhere}
@media(max-width:700px){
 .page-heading h1{font-size:clamp(1.35rem,5.7vw,2rem);line-height:1.65}
 .page-heading h1 .heading-phrase{word-break:normal}
}

@media(max-width:700px){.page-contact .page-heading.small-people{grid-template-columns:1fr}.page-contact .page-heading .heading-people{justify-self:end}}
