/* MacauEC: an original editorial agency system, guided by its own work. */
:root{--ink:var(--mec-ink,#142F40);--navy:var(--mec-ink,#142F40);--paper:var(--mec-white,#FFFFFF);--muted:var(--mec-muted,#60727D);--line:#D5E3EC;--light:var(--mec-surface,#EDF4F8);--brand-blue:var(--mec-brand,#0A5E91);--brand-cyan:var(--mec-sky,#70B3CE);--brand-pale:var(--mec-surface,#EDF4F8);--radius:20px}
body{background:var(--paper);color:var(--ink)}
.wrap{width:min(1400px,calc(100% - 96px))}
h1,h2,h3{font-family:"Noto Sans TC",Arial,"PingFang TC","Microsoft JhengHei",sans-serif;font-weight:600;letter-spacing:-.035em}
html[lang=en] h1,html[lang=en] h2{font-family:"Noto Sans TC",Arial,sans-serif;font-weight:600;letter-spacing:-.055em}
.site-header{padding:8px 48px;min-height:135px;gap:28px;border-bottom:1px solid var(--line);background:var(--paper);backdrop-filter:none}
.brand{flex:0 0 256px;width:256px;min-width:256px;display:block;line-height:0}
.site-header nav{font-size:13px;gap:34px}.site-header nav a{padding-block:8px}.site-header nav a[aria-current]:after{width:100%;height:1px;bottom:2px;left:0;border-radius:0;background:var(--ink)}
.nav-actions{gap:18px;flex-shrink:0}.language{font-size:14px;padding-left:14px}.nav-contact{border:1px solid var(--brand-blue);border-radius:12px;background:var(--brand-blue);color:white;padding:11px 16px;gap:18px;font-size:14px;min-height:44px}.nav-contact:hover{background:var(--ink);color:white;border-color:var(--ink)}
.agency-hero{padding-block:55px 43px}.agency-topline{display:flex;justify-content:space-between;gap:40px;align-items:start;margin-bottom:29px}.agency-topline p{font:10px/1.45 "Noto Sans TC",Arial,sans-serif;letter-spacing:.11em;color:var(--ink);margin:0}.agency-topline p:last-child{text-align:right;font-size:9px;letter-spacing:.06em}
.agency-title-row{display:grid;grid-template-columns:1.7fr .7fr;gap:80px;align-items:end}.agency-title-row h1{font-size:clamp(62px,7.1vw,108px);line-height:1.09;letter-spacing:-.065em;margin:0;font-weight:600}.agency-title-row h1 span{color:var(--brand-blue)}.agency-intro{padding-bottom:9px}.agency-intro>p{font-size:14px;line-height:1.9;max-width:340px;margin-bottom:24px;color:var(--ink)}
.agency-link{display:inline-flex;justify-content:space-between;align-items:center;gap:45px;font-size:12px;border-bottom:1px solid var(--ink);padding-block:9px;line-height:1.5}.agency-link>span{font-size:23px;line-height:1}.agency-link:hover{color:var(--brand-blue);border-color:var(--brand-blue)}
.featured-projects{position:relative;padding-bottom:15px}.featured-label{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.featured-label>span{font:9px/1.4 "Noto Sans TC",Arial,sans-serif;letter-spacing:.1em}.feature-controls{display:flex;gap:18px}.feature-controls button{font:10px "Noto Sans TC",Arial,sans-serif;border:0;border-bottom:1px solid transparent;padding:8px 3px;background:none;color:var(--muted);min-height:32px;min-width:26px}.feature-controls button[aria-pressed=true]{color:var(--ink);border-bottom-color:var(--ink)}.feature-controls button:hover{color:var(--brand-blue)}
.feature-slide{margin:0}.feature-image{display:block;position:relative;aspect-ratio:2.34;overflow:hidden;background:#080a0b}.feature-image img{width:100%;height:100%;object-fit:cover;transition:transform .9s cubic-bezier(.2,.7,.3,1)}.feature-image:hover img{transform:scale(1.025)}.feature-view{position:absolute;right:28px;bottom:28px;border-radius:50%;border:1px solid #ffffff90;background:#11111130;width:58px;height:58px;color:white;display:grid;place-content:center;font-size:28px;backdrop-filter:blur(10px)}
.feature-slide figcaption{display:flex;justify-content:space-between;gap:30px;align-items:center;padding-block:17px 0;font-size:13px;color:var(--ink)}.feature-slide figcaption small{font:9px/1.5 "Noto Sans TC",Arial,sans-serif;letter-spacing:.06em;text-align:right;color:var(--muted)}
.agency-statement{display:grid;grid-template-columns:.8fr 1.7fr;gap:80px;padding-block:120px 105px}.agency-statement>.kicker{padding-top:12px;font:9px "Noto Sans TC",Arial,sans-serif;letter-spacing:.09em;color:var(--ink)}.agency-statement h2{font-size:clamp(32px,4vw,58px);line-height:1.35;margin-bottom:28px;font-weight:600;letter-spacing:-.04em}.agency-statement>div>p{max-width:570px;font-size:15px;line-height:1.9;margin-bottom:23px}
.agency-section-label{display:flex;justify-content:space-between;align-items:center;gap:30px;padding-block:0 22px;border-bottom:1px solid var(--ink);font:10px/1.5 "Noto Sans TC",Arial,sans-serif;letter-spacing:.04em}.agency-section-label a{font-family:"Noto Sans TC",Arial,"PingFang TC",sans-serif;letter-spacing:0;font-size:12px}
.agency-work{padding-bottom:105px}.agency-work .work-grid{margin-top:32px;gap:64px 32px}.agency-work .work-card:nth-child(even){margin-top:95px}.work-image{background:#e4e6df;aspect-ratio:1.45}.work-image img{object-fit:cover}.work-card h3{font-size:23px;letter-spacing:-.03em}.work-meta{font-size:9px;margin-block:21px 10px}.work-card p{font-size:12px}.work-arrow{border-radius:0;width:40px;height:40px;right:18px;bottom:18px;background:var(--paper)}
.agency-expertise{padding-bottom:110px}.agency-expertise-heading{display:grid;grid-template-columns:1.6fr .7fr;gap:80px;align-items:end;padding-block:43px 36px}.agency-expertise-heading h2{font-size:clamp(32px,3.7vw,53px);line-height:1.35;font-weight:600;margin:0}.agency-expertise-heading p{font-size:13px;line-height:1.9;margin-bottom:4px}
.agency-disciplines{display:grid;grid-template-columns:1fr 1fr;gap:0 60px}.agency-disciplines>a{position:relative;display:grid;grid-template-columns:30px 1fr 24px;gap:15px;border-bottom:1px solid var(--line);padding-block:28px;align-items:center}.agency-disciplines>a>span{font:9px "Noto Sans TC",Arial,sans-serif;color:var(--muted)}.agency-disciplines h3{font-size:23px;margin:0;font-weight:600;letter-spacing:-.03em}.agency-disciplines p{grid-column:2/3;font-size:12px;line-height:1.8;margin:0}.agency-disciplines b{position:absolute;right:0;top:28px;font:24px "Noto Sans TC",Arial,sans-serif;font-weight:400}.agency-disciplines>a:hover h3,.agency-disciplines>a:hover b{color:var(--brand-blue)}
.agency-lab{width:min(1120px,calc(100% - 96px));margin-inline:auto;background:var(--brand-blue);color:white;padding-block:44px 36px}.agency-lab .wrap{width:calc(100% - 80px)}.agency-lab .kicker{color:#cce1eb;font-size:9px;letter-spacing:.08em}.agency-lab .wrap>div:not(.agency-lab-bottom){display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:32px}.agency-lab h2{flex:1 1 260px;font-size:clamp(34px,4vw,59px);font-weight:600;line-height:1.3;margin:0}.lab-wordmark{font:clamp(45px,7.5vw,105px)/1 "Noto Sans TC",Arial,sans-serif;font-weight:600;letter-spacing:-.08em;display:flex;flex-shrink:0;white-space:nowrap;gap:22px;align-items:center}.lab-wordmark>span{font-size:.4em;letter-spacing:0}.agency-lab-bottom{display:flex;justify-content:space-between;gap:30px;align-items:end;border-top:1px solid #ffffff50;margin-top:24px;padding-top:20px}.agency-lab-bottom p{font-size:12px;color:#d5e7ef;margin:0}.agency-lab .agency-link{color:white;border-color:#ffffff90;white-space:nowrap;font-size:11px}
.planner-section{padding-block:100px;border-top:0;gap:120px}.planner-copy h2{font-size:clamp(34px,3.8vw,55px);font-weight:600}.planner-form{background:#eceee8;padding:35px}.planner-form input,.planner-form select{background:transparent;border-color:#c1c7c3}.button{font-size:16px;padding:14px 22px;border-radius:12px;min-height:48px;font-weight:600}.button.secondary{border-color:#b9c3c5}.button:hover{transform:none}
.contact-band{position:relative;isolation:isolate;overflow:hidden;padding:70px 48px;background:var(--brand-blue);color:white;border:0}.contact-band h2{font-size:clamp(38px,4.5vw,67px);line-height:1.35;font-weight:600;letter-spacing:-.04em}.contact-band .kicker{font-size:14px;color:#D5E9F3}.contact-band>.button{background:white;color:var(--brand-blue);border-color:white;font-size:16px;padding:16px 24px}.contact-band>.button:hover{background:var(--light);color:var(--ink)}
footer{padding:60px 48px 20px}.footer-brand{display:block;line-height:0}.footer-brand .footer-top .kicker{font-size:9px;color:var(--ink)}.footer-top a{font-size:13px}.footer-bottom{font-size:10px}.footer-top p{font-size:12px}
.page-intro{padding-block:80px 55px}.page-intro h1{font-size:clamp(43px,5.7vw,82px);line-height:1.23;font-weight:600}.page-intro .lede{font-size:17px;max-width:820px}.page-intro .kicker{font:10px/1.5 "Noto Sans TC",Arial,sans-serif;letter-spacing:.06em}.service-row:hover{background:none;padding-inline:0}.service-row h3{font-weight:600}.service-detail h2,.case-detail h2{font-weight:600}.process-grid h3{font-weight:600}.about-brand-panel{background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:20px}.work-filters button{border-radius:12px}.work-filters button[aria-pressed=true]{background:var(--ink)}.work-toolbar input{background:transparent}.source-date{color:var(--muted)}
html[lang=en] .agency-title-row h1{font-size:clamp(66px,8.5vw,125px);line-height:.98;letter-spacing:-.065em;font-weight:600}html[lang=en] .agency-statement h2{letter-spacing:-.055em;line-height:1.1}html[lang=en] .agency-expertise-heading h2{letter-spacing:-.05em;line-height:1.12}html[lang=en] .agency-lab h2{line-height:1.12}html[lang=en] .site-header{gap:22px}html[lang=en] .site-header nav{gap:30px;font-size:12px}
@media(min-width:1600px){.site-header{padding-inline:max(48px,calc((100vw - 1400px)/2))}.contact-band>div{margin-left:max(0px,calc((100vw - 1496px)/2))}.contact-band>.button{margin-right:max(0px,calc((100vw - 1496px)/2))}}
@media(max-width:1100px){.wrap{width:calc(100% - 64px)}.agency-lab{width:calc(100% - 64px)}.agency-lab .wrap{width:calc(100% - 64px)}.site-header{padding-inline:32px;gap:22px}.site-header nav{gap:24px}.nav-actions{gap:22px}.agency-title-row{gap:45px;grid-template-columns:1.6fr .8fr}.agency-title-row h1{font-size:72px}.agency-intro>p{font-size:13px}.agency-statement{gap:50px}.agency-expertise-heading{gap:50px}.agency-disciplines{gap:0 40px}.agency-disciplines h3{font-size:21px}.planner-section{gap:65px}.contact-band{padding-inline:32px}footer{padding-inline:32px}html[lang=en] .site-header{gap:22px}html[lang=en] .site-header nav{gap:20px}html[lang=en] .agency-title-row h1{font-size:91px}}
@media(max-width:850px){.site-header{padding-block:8px}.site-header nav{background:var(--paper)}.nav-contact{display:none}.language{padding:0;border:0}.agency-hero{padding-top:45px}.agency-title-row{grid-template-columns:1fr;gap:30px}.agency-title-row h1{font-size:74px;line-height:1.12}.agency-intro{display:flex;gap:40px;justify-content:space-between;align-items:end;padding:0}.agency-intro>p{max-width:400px;margin:0;font-size:14px}.agency-link{white-space:nowrap;gap:28px}.feature-image{aspect-ratio:1.8}.agency-statement{grid-template-columns:.6fr 1.4fr;gap:40px;padding-block:85px}.agency-work{padding-bottom:80px}.agency-work .work-grid{gap:40px 25px}.agency-work .work-card:nth-child(even){margin-top:65px}.agency-expertise-heading{grid-template-columns:1fr;gap:22px}.agency-expertise-heading p br{display:none}.agency-disciplines{gap:0 30px}.agency-disciplines h3{font-size:20px}.agency-disciplines p{font-size:11px}.agency-lab .wrap>div:not(.agency-lab-bottom){gap:30px}.lab-wordmark{font-size:62.5px;gap:16px}.agency-lab h2{font-size:35px}.agency-lab-bottom{align-items:center}.planner-section{gap:40px;padding-block:75px}.planner-form{padding:25px}html[lang=en] .agency-title-row h1{font-size:105px}}
@media(max-width:600px){.wrap{width:calc(100% - 40px)}.site-header{padding:8px 12px;min-height:119px;gap:10px}.nav-actions{gap:20px}.language{font-size:11px}.menu-toggle{font-size:22px;min-width:40px;min-height:40px}.site-header nav{padding:25px 20px;font-size:16px;gap:20px}.site-header nav a{padding-block:4px}
.agency-hero{padding-block:36px 26px}.agency-topline{margin-bottom:32px;gap:25px}.agency-topline p{font-size:8px;letter-spacing:.08em}.agency-topline p:last-child{font-size:7px}.agency-title-row{gap:25px}.agency-title-row h1{font-size:49px;line-height:1.25;letter-spacing:-.065em}.agency-intro{display:block}.agency-intro>p{font-size:12px;line-height:1.9;max-width:330px;margin-bottom:15px}.agency-intro>p br{display:none}.agency-link{font-size:11px;padding-block:8px;gap:40px}.agency-link>span{font-size:21px}.featured-label{margin-bottom:11px}.featured-label>span{font-size:7px;letter-spacing:.07em}.feature-controls{gap:12px}.feature-controls button{font-size:9px;min-width:25px;min-height:32px}.feature-image{aspect-ratio:1.35}.feature-view{right:16px;bottom:16px;width:42px;height:42px;font-size:23px}.feature-slide figcaption{display:block;padding-top:13px;font-size:12px;line-height:1.7}.feature-slide figcaption small{display:block;text-align:left;font-size:7px;margin-top:5px;letter-spacing:.07em}
.agency-statement{display:block;padding-block:70px 55px}.agency-statement>.kicker{padding-top:0;font-size:8px;margin-bottom:24px}.agency-statement h2{font-size:33px;line-height:1.4;margin-bottom:22px}.agency-statement>div>p{font-size:13px;line-height:1.9;margin-bottom:17px}.agency-section-label{font-size:8px;padding-bottom:17px;gap:15px}.agency-section-label a{font-size:10px}.agency-work{padding-bottom:60px}.agency-work .work-grid{margin-top:24px;gap:35px}.agency-work .work-card:nth-child(even){margin-top:0}.work-card h3{font-size:21px}.work-card p{font-size:11px}.work-meta{margin-top:16px;font-size:8px}.work-image{aspect-ratio:1.42}.work-arrow{right:14px;bottom:14px;width:35px;height:35px}.agency-expertise{padding-bottom:60px}.agency-expertise .agency-section-label>span:last-child{font-size:6px;letter-spacing:0}.agency-expertise-heading{padding-block:30px 17px;gap:18px}.agency-expertise-heading h2{font-size:31px;line-height:1.35}.agency-expertise-heading p{font-size:12px;margin:0}.agency-disciplines{grid-template-columns:1fr}.agency-disciplines>a{padding-block:22px;gap:12px;grid-template-columns:23px 1fr 24px}.agency-disciplines h3{font-size:22px}.agency-disciplines p{font-size:11px;margin-top:1px}.agency-disciplines b{top:21px}.agency-lab{width:calc(100% - 40px);padding-block:30px 26px}.agency-lab .wrap{width:calc(100% - 40px)}.agency-lab .kicker{font-size:8px;margin-bottom:28px}.agency-lab .wrap>div:not(.agency-lab-bottom){display:block}.agency-lab h2{font-size:33px;line-height:1.35}.lab-wordmark{font-size:clamp(42px,14vw,55px);justify-content:space-between;gap:15px;margin-top:20px}.lab-wordmark>span{font-size:24px}.agency-lab-bottom{display:block;margin-top:24px;padding-top:21px}.agency-lab-bottom p{font-size:11px;line-height:1.9}.agency-lab .agency-link{margin-top:15px;font-size:11px;gap:42px}.planner-section{padding-block:55px;gap:20px}.planner-copy h2{font-size:33px}.planner-copy>p{font-size:13px}.planner-copy>.fine{font-size:11px}.planner-form{padding:23px 20px}.contact-band{padding:45px 20px}.contact-band h2{font-size:35px}.contact-band>.button{font-size:12px;padding:13px 20px}.contact-band .kicker{font-size:8px}footer{padding:38px 20px 16px}.footer-top a{font-size:11px}.footer-top p{font-size:11px}.footer-bottom{font-size:9px}.page-intro{padding-block:50px 35px}.page-intro h1{font-size:40px;line-height:1.3}.page-intro .lede{font-size:15px}.page-intro .kicker{font-size:9px}.service-row h3{font-size:20px}html[lang=en] .agency-title-row h1{font-size:68px;line-height:1.0;letter-spacing:-.065em}html[lang=en] .agency-statement h2{font-size:39px}html[lang=en] .agency-expertise-heading h2{font-size:36px}html[lang=en] .agency-lab h2{font-size:39px}html[lang=en] .site-header{gap:10px}}
@media(prefers-reduced-motion:reduce){.feature-image img{transition:none}.feature-image:hover img{transform:none}}
.brand svg,
.site-header nav .mobile-nav-contact{display:none}.feature-controls button{min-width:44px;min-height:44px}.language{min-width:44px;min-height:44px;display:grid;place-items:center}.related-work{padding-block:30px 85px}.related-work h2{font-size:30px;margin-bottom:30px}.related-work-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}.related-work-grid h3{font-size:20px}.related-work-grid .work-image{aspect-ratio:1.4}@media(max-width:850px){.site-header nav .mobile-nav-contact{display:block;border-top:1px solid var(--line);padding-top:17px;margin-top:4px;color:var(--brand-blue)}.menu-toggle{min-width:44px;min-height:44px}.related-work-grid{grid-template-columns:1fr 1fr}}@media(max-width:600px){.feature-controls{gap:8px}.feature-controls button{min-width:44px;min-height:44px}.language{min-width:36px;min-height:44px}.menu-toggle{min-width:44px;min-height:44px}.nav-actions{gap:13px}.related-work{padding-block:20px 45px}.related-work h2{font-size:26px;margin-bottom:25px}.related-work-grid{grid-template-columns:1fr;gap:30px}}

#cms-preview-banner{position:relative;z-index:100;background:#0a5e91;color:#fff;display:flex;justify-content:space-between;gap:20px;padding:12px 24px;font-size:13px}#cms-preview-banner a{text-decoration:underline}.case-hero img{width:100%;height:auto}.archive-gallery img{height:auto}

/* MacauEC 2026 VI: preserve T02 artwork and its integral X clear space. */
body{font-family:"Noto Sans TC",Arial,"PingFang TC","Microsoft JhengHei",sans-serif;font-weight:400;font-size:16px;background:#fff}
html{scroll-padding-top:145px}
.brand img.brand-logo{display:block;width:256px;max-width:none;height:auto;aspect-ratio:510.521744 / 237.5;object-fit:contain;filter:none}
.footer-brand{width:256px;max-width:100%}.footer-top .footer-brand img.brand-logo{display:block;width:256px;max-width:100%;height:auto;filter:none}
.site-header nav{font-size:14px;font-weight:600;gap:26px}.site-header nav a{min-height:44px;display:flex;align-items:center}.nav-actions{margin-left:auto}.language{min-width:44px;min-height:44px}.menu-toggle{color:var(--ink);border-radius:12px}
html:not([lang=en]) :is(h1,h2,h3){letter-spacing:normal;font-weight:600}
html:not([lang=en]) :is(.kicker,.tiny,.agency-section-label,.brand-name){letter-spacing:normal}
.agency-intro>p,.agency-statement>div>p,.agency-expertise-heading p,.agency-disciplines p,.planner-copy>p,.service-row p,.service-detail p,.case-detail p,.contact-layout p,.prose p{font-size:16px;line-height:1.9;font-weight:400}
.agency-statement>div>p{font-size:18px}.agency-disciplines h3,.service-row h3{font-weight:600}.agency-section-label a,.agency-link,.related-services a{font-size:14px;font-weight:600}
.fine,.work-card p,.footer-top p,.footer-top a,.agency-lab-bottom p,.source-date,.work-toolbar label,.work-toolbar>p,.planner-form label,.contact-layout label,.work-filters button{font-size:14px;line-height:1.8}
.feature-slide figcaption{font-size:16px}.feature-slide figcaption small,.work-meta,.featured-label>span{font-size:12px;line-height:1.7}.footer-bottom{font-size:12px;line-height:1.8}
.button,.work-filters button,input,textarea,select,.planner-form input,.planner-form select{border-radius:12px}.planner-form,.about-brand-panel,.work-image,.feature-image,.lab-game{border-radius:20px}.planner-form{background:var(--light)}.planner-form input,.planner-form select{background:white;border-color:var(--line)}
.contact-band::before{content:"";position:absolute;z-index:-1;right:0;top:0;bottom:0;width:min(48%,640px);background:url('/assets/brand/2026/MacauEC-Agent-Collective-Pattern.svg') center right / cover no-repeat;opacity:.16;pointer-events:none}.contact-band>div,.contact-band>.button{position:relative;z-index:1}.contact-band h2{color:white}.about-brand-panel>span{color:var(--muted);font-size:12px;letter-spacing:.04em}
@media(max-width:1100px){.brand{flex-basis:244px;width:244px;min-width:244px}.brand img.brand-logo{width:244px}.site-header nav{gap:18px}html[lang=en] .site-header nav{gap:16px}.nav-actions{gap:12px}}
@media(max-width:1000px){.site-header nav{display:none;position:absolute;top:100%;left:0;width:100%;background:white;border-bottom:1px solid var(--line);padding:24px;flex-direction:column;gap:12px}.site-header nav.is-open{display:flex}.site-header nav a{font-size:16px}.site-header nav .mobile-nav-contact{display:flex;border-top:1px solid var(--line);padding-top:16px;margin-top:8px;color:var(--brand-blue)}.menu-toggle{display:block;min-width:44px;min-height:44px}.nav-contact{display:none}.language{border:0;padding:0}.site-header nav a[aria-current]:after{display:none}}
@media(max-width:600px){html{scroll-padding-top:125px}.brand{flex-basis:222px;width:222px;min-width:222px}.brand img.brand-logo{width:222px}.nav-actions{gap:4px}.language{min-width:44px;min-height:44px;font-size:14px}.menu-toggle{min-width:44px;min-height:44px;padding:0}.footer-brand,.footer-top .footer-brand img.brand-logo{width:244px}.agency-intro>p,.agency-statement>div>p,.agency-expertise-heading p,.agency-disciplines p,.planner-copy>p{font-size:16px}.agency-link,.agency-section-label a{font-size:14px}.button,.contact-band>.button{font-size:14px}.contact-band::before{width:100%;opacity:.08}.contact-band h2{font-size:34px}.planner-form{padding:24px 20px}.agency-lab .agency-link{font-size:14px}.agency-lab-bottom p{font-size:14px}.footer-top p,.footer-top a{font-size:14px}}
@media(max-width:360px){.site-header,html[lang=en] .site-header{padding-inline:4px;gap:2px}.nav-actions{gap:0}.site-header nav{padding-inline:20px}.wrap{width:calc(100% - 32px)}}

/* Header eyes are a separate WebGL layer; the approved SVG stays intact below. */
.site-header .brand{position:relative}.site-header .brand-eyes{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;display:block}.site-header .brand-eyes[hidden]{display:none}
@media(prefers-reduced-motion:reduce){.site-header .brand-eyes{display:none!important}}

/* Keep language and menu controls on one shared centre line, independent of glyph metrics. */
.site-header{align-items:center;flex-wrap:nowrap}
.site-header .brand{flex-shrink:0}
.site-header nav{align-items:center;white-space:nowrap;min-width:0}
.site-header .nav-actions{display:flex;align-items:center;align-self:center;flex-wrap:nowrap;flex-shrink:0;min-height:44px}
.site-header .language,.site-header .menu-toggle{align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:0;line-height:1;text-align:center;vertical-align:middle;border:0;border-radius:12px;color:var(--ink);background:transparent}
.site-header .language{display:inline-flex;font-size:14px;font-weight:600;text-decoration:none}
.site-header .menu-toggle{display:none}
.site-header .menu-toggle svg{display:block;width:22px;height:22px;flex:none}
.site-header .nav-contact{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;min-height:44px}
.site-header .language:hover,.site-header .menu-toggle:hover{background:var(--light)}
.site-header .language:focus-visible,.site-header .menu-toggle:focus-visible{outline:2px solid var(--brand-blue);outline-offset:3px}
@media(max-width:1000px){.site-header .menu-toggle{display:inline-flex}.site-header .nav-contact{display:none}.site-header nav{align-items:stretch;white-space:normal;max-height:calc(100svh - 135px);overflow-y:auto;overscroll-behavior:contain}.site-header nav a{justify-content:flex-start}}
@media(max-width:600px){.site-header .nav-actions{gap:4px}.site-header nav{max-height:calc(100svh - 120px)}}
@media(max-width:360px){
  .site-header .nav-actions,html[lang=en] .site-header .nav-actions{gap:0;flex:0 0 88px;width:88px}
  .site-header .language,html[lang=en] .site-header .language{padding:0}
  .site-header .brand{flex:0 0 min(222px,calc(100vw - 98px));width:min(222px,calc(100vw - 98px));min-width:0}
  .site-header .brand img.brand-logo{width:100%;height:auto}
}

/* Larger, shared navigation hierarchy in both languages; control geometry stays fixed. */
.site-header #navigation,html[lang=en] .site-header #navigation{font-size:18px;line-height:1.5;font-weight:600;letter-spacing:normal;gap:clamp(18px,1.8vw,28px)}
.site-header #navigation>a{font-size:inherit;min-height:48px;padding:9px 6px;flex:none}
.site-header .nav-contact{font-size:16px}
@media(max-width:1100px) and (min-width:1001px){.site-header #navigation,html[lang=en] .site-header #navigation{gap:16px}.site-header,html[lang=en] .site-header{gap:18px}.site-header .nav-actions{gap:10px}.site-header .nav-contact{padding-inline:13px;gap:12px}}
@media(max-width:1000px){.site-header #navigation,html[lang=en] .site-header #navigation{font-size:20px;gap:8px;padding:20px 26px 24px}.site-header #navigation>a{min-height:48px;padding:10px 12px;width:100%}}
@media(max-width:600px){.site-header #navigation,html[lang=en] .site-header #navigation{padding:18px 16px 22px}}

/* One quiet light language for navigation, calls to action and project links. */
.mec-interactive{position:relative;isolation:isolate;overflow:hidden;--mec-x:50%;--mec-y:50%;--mec-origin:50%}
.site-header #navigation>a.mec-interactive{border-radius:8px}
.mec-interactive::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;pointer-events:none;background:radial-gradient(115px circle at var(--mec-x,50%) var(--mec-y,50%),rgb(112 179 206 / .23),rgb(10 94 145 / .045) 56%,transparent 76%);opacity:0;transition:opacity 180ms ease}
.site-header #navigation>a::after{content:"";display:block;position:absolute;left:6px;bottom:5px;width:calc(100% - 12px);height:2px;border-radius:2px;pointer-events:none;background:radial-gradient(28px 3px at var(--mec-x,50%) center,#70B3CE,transparent),linear-gradient(90deg,#0A5E91,#70B3CE);opacity:0;transform:scaleX(.15);transform-origin:var(--mec-origin,50%) center;transition:transform 240ms cubic-bezier(.2,.7,.2,1),opacity 160ms ease}
.site-header #navigation>a[aria-current]::after,.site-header #navigation>a:focus-visible::after{opacity:1;transform:scaleX(1)}
.mec-interactive:focus-visible{outline:2px solid var(--brand-blue);outline-offset:4px}
.work-card>a.mec-interactive{display:block;border-radius:0}
.work-card>a.mec-interactive::before,.feature-image.mec-interactive::before{z-index:1;background:radial-gradient(220px circle at var(--mec-x,50%) var(--mec-y,50%),rgb(112 179 206 / .2),transparent 75%)}
.mec-ripple{position:absolute;z-index:2;left:var(--mec-ripple-x);top:var(--mec-ripple-y);width:var(--mec-ripple-size);height:var(--mec-ripple-size);border:1px solid rgb(112 179 206 / .5);border-radius:50%;pointer-events:none;background:radial-gradient(circle,rgb(112 179 206 / .18),rgb(10 94 145 / .04) 62%,transparent 72%);transform:translate(-50%,-50%) scale(0);animation:mec-brand-ripple 620ms cubic-bezier(.15,.65,.3,1) forwards}
@keyframes mec-brand-ripple{0%{transform:translate(-50%,-50%) scale(.08);opacity:.8}100%{transform:translate(-50%,-50%) scale(1);opacity:0}}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){.mec-interactive:hover::before{opacity:1}.site-header #navigation>a:hover::after{opacity:1;transform:scaleX(1)}}
@media(prefers-reduced-motion:reduce){.mec-interactive::before,.mec-ripple{display:none!important}.site-header #navigation>a::after{transition:none}}
