:root{
  --bg:#171717;--bg-soft:#1d1d1d;--text:#f0f0ed;--muted:#a0a09d;--dim:#777774;
  --line:#303030;--line-light:#454545;--container:1110px;
  --accent:#e4e4e1;--accent-text:#171717;--accent-soft:#a1a19f;
  --header-bg:rgba(23,23,23,.97);--nav-muted:#929290;--hero-secondary:#a1a19f;
  --ui-bg:#222;--ui-border:#555;--ui-selected:#313131;--image-bg:#131313;
  --side:clamp(22px,4.4vw,90px);--ease:cubic-bezier(.22,.68,0,1);
}
html[data-theme="light"]{
  --bg:#f9f8f5;--bg-soft:#fff;--text:#191919;--muted:#686763;--dim:#7d7c78;
  --line:#d8d7d2;--line-light:#aeada7;--accent:#242424;--accent-text:#fff;--accent-soft:#797873;
  --header-bg:rgba(249,248,245,.97);--nav-muted:#63625f;--hero-secondary:#898884;
  --ui-bg:#fff;--ui-border:#cccac4;--ui-selected:#eceae6;--image-bg:#e9e8e4;
}
html[data-theme="brand"]{
  --bg:#1a1a1a;--bg-soft:#24201e;--text:#faf8f6;--muted:#baafaa;--dim:#a18d85;
  --line:#403834;--line-light:#65534c;--accent:#ae5a44;--accent-text:#fff;--accent-soft:#c67b66;
  --header-bg:rgba(26,26,26,.97);--nav-muted:#ab9b95;--hero-secondary:#b86851;
  --ui-bg:#25211f;--ui-border:#655048;--ui-selected:#3b2b25;--image-bg:#131313;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:85px}
html.js{scroll-behavior:auto}
body{margin:0;background:var(--bg);color:var(--text);font-family:Montserrat,Arial,sans-serif;font-weight:400;-webkit-font-smoothing:antialiased;transition:background-color .3s,color .3s}
body.no-scroll{position:fixed;width:100%;overflow:hidden;overscroll-behavior:none}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
img{max-width:100%;display:block}
::selection{background:#e7e7e7;color:#171717}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #e9e9e6;outline-offset:4px}
.content-wrap{width:calc(100% - 44px);max-width:var(--container);margin-inline:auto}
.micro-label{display:block;color:#898986;font-size:9px;font-weight:700;letter-spacing:.18em;line-height:1.7}
.body-muted{font-size:13px;line-height:1.9;color:var(--muted)}
.pill-button{display:inline-flex;align-items:center;justify-content:space-between;gap:29px;background:transparent;border:1px solid var(--line-light);border-radius:100px;color:var(--text);padding:13px 20px;font-size:12px;font-weight:600;min-height:45px;transition:background .3s,border-color .3s,color .3s,transform .3s}
.pill-button:hover{background:var(--accent);border-color:var(--accent);color:var(--accent-text)}
.scroll-mark{display:inline-block;position:relative;width:12px;height:16px;flex:0 0 auto}
.scroll-mark::before{content:"";position:absolute;left:5px;top:0;height:14px;border-left:1px solid currentColor}
.scroll-mark::after{content:"";position:absolute;left:2px;bottom:2px;width:7px;height:7px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:rotate(45deg)}

/* Header */
.site-header{height:70px;padding:0 var(--side);border-bottom:1px solid var(--line);background:var(--header-bg);position:sticky;top:0;z-index:50;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:30px;backdrop-filter:blur(16px)}
.site-header::after{content:"";position:absolute;height:1px;bottom:-1px;left:0;right:0;background:var(--accent);transform-origin:left;transform:scaleX(var(--scroll-progress,0));pointer-events:none}
.brand{display:inline-flex;align-items:center;width:max-content}
.brand img{width:148px;height:auto}
html[data-theme="light"] .brand img{filter:invert(1)}
.main-nav{display:flex;gap:34px;align-items:center;justify-content:center}
.main-nav a{font-size:12px;font-weight:600;color:var(--nav-muted);transition:color .25s;position:relative}
.main-nav a::after{content:"";position:absolute;height:1px;left:0;right:0;bottom:-9px;transform:scaleX(0);transform-origin:left;background:var(--accent);transition:transform .42s var(--ease)}
.main-nav a:hover,.main-nav a.is-current{color:var(--text)}
.main-nav a:hover::after,.main-nav a.is-current::after{transform:scaleX(1)}
.header-actions{justify-self:end;display:flex;align-items:center;gap:22px}
.lang-switch{display:flex;gap:5px;align-items:center;color:var(--dim);font-size:10px;font-weight:700;white-space:nowrap}
.lang-switch button{background:none;border:0;color:var(--nav-muted);padding:10px 2px;transition:color .2s}
.lang-switch button:hover{color:var(--text)}
.lang-switch button[aria-pressed="true"]{color:var(--accent);text-decoration:underline;text-underline-offset:6px;text-decoration-thickness:1px}
.header-brief{font-size:11px;padding-inline:19px;min-height:45px}
.menu-button{display:none;background:none;border:0;padding:9px;flex-direction:column;gap:6px}
.menu-button span{display:block;width:23px;height:1px;background:var(--text);transition:transform .25s}
.site-header.nav-open .menu-button span:first-child{transform:translateY(3.5px) rotate(45deg)}
.site-header.nav-open .menu-button span:last-child{transform:translateY(-3.5px) rotate(-45deg)}

/* Hero */
.hero{min-height:700px;height:calc(100svh - 70px);max-height:1150px;display:flex;position:relative;isolation:isolate;overflow:hidden;align-items:center;justify-content:center;padding:110px var(--side) 140px;text-align:center;--hero-progress:0}
/* Static relief photograph replaces the cursor-following spotlight on dark themes. */
.hero::before{content:"";position:absolute;inset:0;z-index:-1;background-image:linear-gradient(90deg,rgba(17,17,17,.12),rgba(17,17,17,.36) 50%,rgba(17,17,17,.12)),linear-gradient(0deg,rgba(17,17,17,.5),transparent 28%,rgba(17,17,17,.14)),url("./assets/cem-relief-hero.webp");background-position:center;background-size:cover;background-repeat:no-repeat;pointer-events:none}
.hero-center{position:relative;margin-top:10px;max-width:1160px;transform:translateY(calc(var(--hero-progress)*-58px)) scale(calc(1 - var(--hero-progress)*.045));opacity:calc(1 - var(--hero-progress)*.56);will-change:transform}
.hero-kicker{margin-bottom:23px;letter-spacing:.23em}
.hero-specialty{display:block;margin:0 auto 27px;color:#c2c1bd;font-size:10px;font-weight:600;letter-spacing:.055em;line-height:1.6;text-wrap:balance}
.hero h1{font-weight:400;letter-spacing:-.076em;line-height:1.14;font-size:clamp(49px,4.85vw,79px);margin:0;min-height:2.32em;transition:opacity 560ms var(--ease),transform 560ms var(--ease),filter 560ms var(--ease)}
.hero h1.hero-changing{opacity:0;transform:translateY(-15px);filter:blur(12px)}
.hero-line{display:block;white-space:normal;text-wrap:balance}
.hero-word-frame{display:inline-block;vertical-align:top;overflow:hidden;padding-block:.06em;margin-block:-.06em}
.hero-word{display:inline-block;animation:wordRise 1000ms var(--ease) both;animation-delay:calc(100ms + var(--word-index)*115ms)}
.hero-line-two{color:var(--hero-secondary)}
.hero-center p{font-size:13px;line-height:1.85;color:#c0bfbc;margin:18px auto 31px;max-width:650px;text-wrap:pretty}
.hero-actions{display:flex;align-items:center;justify-content:center;gap:39px;flex-wrap:wrap}
.hero-services-link{color:#c9c8c4;font-size:12px;font-weight:600;border-bottom:1px solid transparent;padding:0 0 14px;transition:color .25s,border-color .25s}
.hero-services-link:hover,.hero-services-link:focus-visible{color:var(--text);border-color:var(--line-light)}
.underlined-link{display:inline-flex;align-items:center;gap:27px;border-bottom:1px solid #666;padding:0 1px 14px;font-size:12px;font-weight:600;transition:border-color .25s,color .25s}
.underlined-link:hover{border-color:#efefed;color:white}
.underlined-link .scroll-mark{transform:translateY(-1px);transition:transform .3s var(--ease)}
.underlined-link:hover .scroll-mark{transform:translateY(4px)}
.hero-link{animation:heroFade 900ms 550ms both}
.hero-services-link{animation:heroFade 900ms 700ms both}
.hero-line-one,.hero-line-two{animation:none}
.hero-kicker{animation:heroFade 800ms 50ms both}
.hero-center p{animation:heroFade 900ms 410ms both}
.hero-bottom{position:absolute;bottom:32px;left:var(--side);right:var(--side);display:grid;grid-template-columns:1fr 1fr;align-items:end;text-align:left;color:#777;font-size:9px;font-weight:600;line-height:1.7;letter-spacing:.07em;opacity:calc(1 - var(--hero-progress)*.8)}
.hero-bottom>*{animation:heroFade 900ms 1150ms both}
.hero-bottom span:nth-child(2){text-align:right}
.hero-down{justify-self:end;display:flex;align-items:center;justify-content:center;color:#929291;width:40px;height:40px;transition:transform .2s,color .2s}
.hero-down:hover{transform:translateY(5px);color:white}
@keyframes heroFade{from{opacity:0;transform:translateY(20px);filter:blur(5px)}to{opacity:1;transform:translateY(0);filter:blur(0)}}
@keyframes wordRise{from{opacity:0;transform:translateY(110%);filter:blur(9px)}to{opacity:1;transform:translateY(0);filter:blur(0)}}

/* An immediate, practical description of the studio's three roles. */
.scope-strip{border-bottom:1px solid var(--line);padding:54px 0 64px;background:var(--bg-soft)}
.scope-intro{display:flex;justify-content:space-between;align-items:baseline;gap:24px;padding-bottom:32px;border-bottom:1px solid var(--line)}
.scope-intro h2{margin:0;font-size:clamp(19px,1.75vw,26px);font-weight:400;letter-spacing:-.05em;line-height:1.35}
.scope-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px;padding-top:37px}
.scope-item{display:grid;grid-template-columns:42px 1fr;gap:0 11px;align-content:start}
.scope-number{font-size:9px;color:var(--dim);font-weight:700;letter-spacing:.12em;padding-top:7px}
.scope-item h3{font-size:clamp(16px,1.43vw,20px);font-weight:500;line-height:1.35;letter-spacing:-.045em;margin:0}
.scope-item p{grid-column:2;color:var(--muted);font-size:11px;line-height:1.8;margin:12px 0 0;max-width:260px}

/* Portfolio */
.projects{padding:150px 0 140px}
.section-kicker{margin-bottom:20px}
.section-heading-split{display:flex;align-items:end;justify-content:space-between;gap:35px}
.section-heading-split h2{font-weight:400;letter-spacing:-.06em;line-height:1.25;font-size:clamp(34px,3vw,47px);margin:0}
.section-aside{margin:0 0 7px;font-size:13px;color:#777;line-height:1.8;white-space:nowrap}
.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:73px 58px;margin-top:74px}
.project-card{border:0;background:none;color:inherit;text-align:left;padding:0;display:block;min-width:0;cursor:pointer;position:relative}
.project-card[hidden]{display:none!important}
.project-grid.is-project-collapsing .project-card.extra{opacity:0!important;transform:translateY(-30px) scale(.96)!important;transition:opacity 480ms var(--ease),transform 700ms var(--ease)}
.project-grid.is-project-expanding .project-card.extra{opacity:0!important;transform:translateY(30px) scale(.96)!important}
.js .project-card.project-reveal{opacity:0;transform:translateY(28px);transition:opacity 750ms var(--ease),transform 850ms var(--ease);transition-delay:calc(var(--card-delay,0)*70ms)}
.js .project-card.project-reveal.is-visible{opacity:1;transform:translateY(0)}
.project-orb{position:relative;width:min(100%,250px);aspect-ratio:1;margin:0 auto 18px;overflow:hidden;background:var(--image-bg);border-radius:50%;isolation:isolate}
.project-orb::after{content:"";position:absolute;inset:2px;border-radius:50%;z-index:4;border:1px solid rgba(255,255,255,.55);opacity:0;transform:scale(.96);transition:opacity 400ms var(--ease),transform 600ms var(--ease);pointer-events:none}
.orb-photo,.orb-pixels{position:absolute;inset:0;width:100%;height:100%;border-radius:50%}
.orb-photo{object-fit:cover;opacity:.15;filter:grayscale(1) brightness(.34) contrast(1.4);transform:scale(1.01);transition:opacity 400ms var(--ease),filter 400ms var(--ease),transform 600ms var(--ease)}
.orb-pixels{opacity:1;pointer-events:none;transition:opacity 400ms var(--ease);z-index:2}
.project-card:hover .orb-photo,.project-card:focus-visible .orb-photo{opacity:1;filter:none;transform:translate3d(var(--orb-offset-x,0px),var(--orb-offset-y,0px),0) scale(1.09)}
.project-card:hover .orb-pixels,.project-card:focus-visible .orb-pixels{opacity:0}
.project-card:hover .project-orb::after,.project-card:focus-visible .project-orb::after{opacity:.7;transform:scale(1)}
.project-date{display:block;color:#777;font-size:10px;font-weight:500;line-height:1.5;min-height:17px}
.project-title-row{display:flex;justify-content:space-between;gap:20px;align-items:start;margin-top:12px}
.project-card h3{font-size:14px;line-height:1.55;font-weight:600;letter-spacing:-.02em;margin:0;max-width:270px}
.project-index{color:var(--dim);font-size:10px;letter-spacing:.1em;padding-top:4px;font-weight:600}
.project-card:hover h3{color:#fff}
.project-card.extra{transition-delay:0ms}
.project-footer{display:flex;justify-content:space-between;gap:25px;align-items:end;border-bottom:1px solid var(--line);margin-top:72px;padding-bottom:20px}
.project-footer p{font-size:12px;color:#858582;line-height:1.75;margin:0}
.more-projects{min-width:156px;padding:11px 19px}
.plus-sign{font-size:18px;font-weight:400;line-height:1}

/* An architectural pause between the portfolio and the team. */
.cinematic-scene{height:195svh;position:relative;--scene-progress:0;--scene-copy-progress:0}
.cinematic-sticky{position:sticky;top:0;height:100svh;overflow:hidden;display:grid;place-items:center}
.cinematic-frame{height:100%;width:100%;position:relative;isolation:isolate;overflow:hidden;background:#111;border-radius:0}
.cinematic-frame img{width:100%;height:100%;object-fit:cover;object-position:center center;filter:saturate(.77) brightness(calc(.88 - var(--scene-progress)*.31));transform:scale(calc(1.02 + var(--scene-progress)*.32));will-change:transform,filter}
.cinematic-tint{position:absolute;inset:0;background:linear-gradient(180deg,#1b1b1b 0%,rgba(22,22,22,.91) 8%,rgba(11,11,11,.33) 28%,rgba(0,0,0,.11) 51%,rgba(0,0,0,.74) 100%);opacity:calc(.93 + var(--scene-progress)*.07)}
.cinematic-copy{position:absolute;left:max(var(--side),calc((100vw - var(--container))/2));right:var(--side);bottom:clamp(55px,10vh,140px);max-width:840px;color:#fff;opacity:var(--scene-copy-progress);transform:translateY(calc((1 - var(--scene-copy-progress))*32px))}
.cinematic-copy .micro-label{color:#d0d0cd}
.cinematic-copy h2{font-size:clamp(46px,6.1vw,104px);font-weight:400;letter-spacing:-.075em;line-height:1.1;margin:18px 0 22px;text-wrap:balance}
.cinematic-copy p{font-size:clamp(12px,1.15vw,16px);color:#d0d0cd;margin:0}
.cinematic-coordinate{position:absolute;top:42px;right:var(--side);color:#d5d5d2;font-size:9px;font-weight:700;letter-spacing:.15em;opacity:var(--scene-copy-progress)}

/* Company and services */
.about{padding:170px 0 140px}
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:100px}
.about-title-group h2{font-size:clamp(33px,3.1vw,49px);line-height:1.2;font-weight:400;letter-spacing:-.06em;margin:22px 0 0}
.about-lead{font-size:clamp(17px,1.65vw,24px);line-height:1.5;letter-spacing:-.035em;margin:0 0 28px}
.about-copy .body-muted{max-width:490px;margin:0}
.tag-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:32px}
.tag-list span{display:inline-flex;align-items:center;min-height:37px;border:1px solid #353535;border-radius:50px;padding:9px 15px;color:#a3a3a1;font-size:11px;line-height:1.2}
.services{padding:45px 0 130px}
.services-heading{margin-bottom:68px}
.services-heading .section-aside{text-align:left}
.accordion{border-top:1px solid var(--line)}
.service-row{border-bottom:1px solid var(--line);position:relative}
.service-row::before{content:"";position:absolute;left:0;top:0;bottom:0;width:2px;background:#dfdfdb;transform:scaleY(0);transform-origin:center;transition:transform 400ms var(--ease)}
.service-row:hover::before,.service-row.is-open::before{transform:scaleY(1)}
.service-toggle{width:100%;display:grid;grid-template-columns:58px 1fr 30px;align-items:center;gap:20px;color:var(--text);background:none;border:0;text-align:left;padding:28px 17px 28px 0;transition:color .25s}
.service-toggle:hover{color:#fff}
.service-number{font-size:9px;font-weight:800;color:#777}
.service-name{font-size:clamp(22px,2.05vw,32px);font-weight:400;letter-spacing:-.06em;line-height:1.3;transition:transform 350ms var(--ease)}
.service-row:hover .service-name,.service-row.is-open .service-name{transform:translateX(8px)}
.accordion-plus{height:19px;width:19px;position:relative;justify-self:end}
.accordion-plus::before,.accordion-plus::after{content:"";position:absolute;background:#888;transition:transform 350ms var(--ease),background 350ms}
.accordion-plus::before{height:1px;width:15px;top:9px;left:2px}
.accordion-plus::after{width:1px;height:15px;top:2px;left:9px}
.service-row.is-open .accordion-plus::after{transform:rotate(90deg)}
.service-row.is-open .accordion-plus::before,.service-row.is-open .accordion-plus::after{background:#e5e5e2}
.service-panel{display:grid;grid-template-rows:0fr;transition:grid-template-rows 380ms var(--ease)}
.service-row.is-open .service-panel{grid-template-rows:1fr}
.service-panel-inner{min-height:0;overflow:hidden;padding:0 54px 0 78px;transition:padding-bottom 380ms var(--ease)}
.service-row.is-open .service-panel-inner{padding-bottom:31px}
.service-panel-inner p{font-size:14px;color:#aaa;line-height:1.9;max-width:700px;margin:0 0 17px}
.service-panel-inner span{color:#777;font-size:10px;font-weight:700;letter-spacing:.07em}

/* Two clear ways to work with CEM: full production or a single deliverable. */
.services-heading{margin-bottom:55px}
.services-heading h2{max-width:14ch}
.service-paths{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.service-path{min-width:0;min-height:545px;padding:clamp(27px,3vw,45px);display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden;isolation:isolate;border:1px solid #393532;color:#f3f0ec;background:#1b1917;transition:border-color 500ms var(--ease),transform 600ms var(--ease)}
.service-path:hover{border-color:#806d64;transform:translateY(-4px)}
.service-path-full{background:radial-gradient(ellipse 85% 70% at 93% 0%,rgba(173,112,90,.24),transparent 77%),linear-gradient(135deg,#25201e,#171717 72%)}
.service-path-single{background:radial-gradient(ellipse 75% 78% at 103% 8%,rgba(117,125,139,.18),transparent 77%),linear-gradient(145deg,#1b1c20,#151516 74%)}
.service-path-index{font-size:10px;font-weight:700;letter-spacing:.15em;color:#bca49a;position:relative;z-index:2}
.service-path-art{position:absolute;z-index:-1;top:8%;right:-10%;width:69%;aspect-ratio:1;pointer-events:none;opacity:.32;transition:transform 800ms var(--ease)}
.service-path:hover .service-path-art{transform:translate3d(-6px,8px,0) scale(1.04)}
.service-path-art-full span{position:absolute;inset:12%;border:1px solid rgba(230,216,207,.23);border-radius:50%;transform:rotateX(61deg) rotate(-29deg)}
.service-path-art-full span:nth-child(2){inset:27%;transform:rotateX(61deg) rotate(27deg)}
.service-path-art-full span:nth-child(3){inset:42%;transform:rotateX(61deg) rotate(-29deg)}
.service-path-art-single{width:54%;right:4%;top:11%;background-image:linear-gradient(90deg,transparent 49%,rgba(200,208,221,.1) 50%,transparent 51%),linear-gradient(transparent 49%,rgba(200,208,221,.1) 50%,transparent 51%);background-size:42px 42px;mask-image:radial-gradient(circle at 50% 50%,black 5%,transparent 69%)}
.service-path-art-single span{position:absolute;width:45%;height:45%;border:1px solid rgba(223,226,236,.36);transform:rotate(36deg);left:29%;top:28%}
.service-path-art-single span:nth-child(2){transform:rotate(-18deg);width:61%;height:24%;left:23%;top:38%}
.service-path-content,.service-path-foot{position:relative;z-index:1}
.service-path-content{padding-top:clamp(52px,7vw,100px)}
.service-path-content .micro-label{color:#c68d79;font-size:10px;letter-spacing:.18em;margin:0 0 19px;font-weight:700}
.service-path h3{font-size:clamp(33px,3.65vw,56px);line-height:1.11;letter-spacing:-.072em;font-weight:400;max-width:12ch;text-wrap:balance;margin:0}
.service-path-intro{font-size:13px;line-height:1.7;color:#bdb9b5;max-width:460px;margin:21px 0 0;text-wrap:pretty}
.service-path-foot{display:flex;flex-direction:column;align-items:flex-start;gap:24px;margin-top:43px}
.service-process{display:flex;flex-wrap:wrap;gap:10px 13px;list-style:none;padding:0;margin:0}
.service-process li{font-size:10px;letter-spacing:.015em;color:#d8cec8;border-bottom:1px solid #786257;padding-bottom:7px}
.service-path-tags{display:flex;flex-wrap:wrap;gap:7px}
.service-path-tags span{font-size:10px;color:#d3d2d2;border:1px solid rgba(255,255,255,.22);padding:9px 12px;border-radius:2px}
.service-path-action{font-size:12px;font-weight:600;color:#faf8f5;text-decoration:none;border-bottom:1px solid #b89b8c;padding-bottom:9px;transition:border-color 250ms,color 250ms}
.service-path-action:hover,.service-path-action:focus-visible{border-color:#fff;color:#fff}
.service-catalog{margin-top:100px;scroll-margin-top:92px}
.service-catalog-head{display:flex;align-items:baseline;justify-content:space-between;gap:28px;border-bottom:1px solid var(--line);padding-bottom:20px}
.service-catalog-head .micro-label{color:#b98371}
.service-catalog-head p{margin:0;color:var(--muted);font-size:12px}
.service-catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(20px,4vw,76px)}
.service-catalog-group{padding:38px 0 20px;min-width:0}
.service-catalog-number{font-size:10px;color:#b98371;font-weight:700;letter-spacing:.15em}
.service-catalog-group h4{font-size:clamp(21px,2vw,28px);font-weight:400;line-height:1.22;letter-spacing:-.05em;margin:18px 0 25px;max-width:15ch}
.service-catalog-group ul{list-style:none;padding:0;margin:0}
.service-catalog-group li{color:var(--muted);font-size:13px;line-height:1.55;padding:9px 0 9px 19px;border-bottom:1px solid rgba(145,138,133,.15);position:relative}
.service-catalog-group li::before{content:"";position:absolute;left:0;top:19px;width:7px;height:1px;background:#ba8a7b}
.service-catalog-extra{font-size:12px;color:var(--muted);border-top:1px solid var(--line);padding-top:24px;margin:42px 0 0}
@media(max-width:820px){.service-paths{gap:12px}.service-path{padding:27px;min-height:510px}.service-path h3{font-size:clamp(29px,4.5vw,43px)}.service-path-content{padding-top:68px}.service-catalog-grid{gap:23px}}
@media(max-width:600px){.services-heading{margin-bottom:33px}.services-heading h2{max-width:13ch}.service-paths{grid-template-columns:1fr;gap:12px}.service-path{min-height:430px;padding:26px}.service-path:hover{transform:none}.service-path-content{padding-top:52px}.service-path h3{font-size:clamp(33px,9vw,43px);max-width:12ch}.service-path-intro{font-size:12px;line-height:1.75}.service-path-foot{gap:22px;margin-top:35px}.service-path-art{opacity:.24}.service-catalog{margin-top:65px}.service-catalog-head{display:block}.service-catalog-head p{margin-top:12px}.service-catalog-grid{grid-template-columns:1fr;gap:0}.service-catalog-group{padding:33px 0 25px;border-bottom:1px solid var(--line)}.service-catalog-group h4{margin:16px 0 17px}.service-catalog-group li{font-size:13px}.service-catalog-extra{margin-top:17px;border-top:0}}
@media(prefers-reduced-motion:reduce){.service-path,.service-path-art{transition:none}}

/* Capacity and contact */
.capacity{padding:60px 0 115px}
.capacity-grid{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding-top:90px;padding-bottom:95px;display:grid;grid-template-columns:1fr 1fr;gap:100px;min-height:350px}
.capacity h2{font-size:clamp(32px,3vw,48px);letter-spacing:-.06em;line-height:1.2;font-weight:400;margin:23px 0 0}
.capacity-detail{padding-left:4px}
.capacity-number{display:flex;align-items:baseline;gap:14px;letter-spacing:-.075em;font-size:clamp(80px,7vw,124px);font-weight:400;line-height:1.05;margin:-14px 0 23px}
.capacity-number small{color:#777;font-size:25px;font-weight:400;letter-spacing:0}
.capacity-strong{font-size:15px;letter-spacing:-.02em;margin:0 0 15px}
.capacity-detail .body-muted{margin:0;max-width:430px}

/* Technical equipment: editorial selector + photographic detail, not generic cards. */
.equipment{padding:46px 0 155px}
.equipment-intro{display:grid;grid-template-columns:1.15fr .65fr;align-items:end;gap:90px;margin-bottom:56px}
.equipment-intro h2{font-weight:400;letter-spacing:-.063em;line-height:1.13;font-size:clamp(42px,4.05vw,67px);margin:21px 0 0}
.equipment-intro>p{color:var(--muted);font-size:14px;line-height:1.85;max-width:360px;margin:0 0 6px}
.equipment-showcase{display:grid;grid-template-columns:minmax(290px,.82fr) minmax(0,1.38fr);border:1px solid var(--line);min-height:690px;background:var(--bg-soft)}
.equipment-index{display:flex;flex-direction:column;min-width:0;border-right:1px solid var(--line);background:var(--bg)}
.equipment-index-top{display:flex;align-items:center;justify-content:space-between;padding:32px 29px 24px;color:var(--dim);font-size:9px;font-weight:700;letter-spacing:.16em}
.equipment-tabs{display:flex;flex-direction:column}
.equipment-tab{position:relative;width:100%;border:0;border-top:1px solid var(--line);background:transparent;color:var(--muted);text-align:left;min-height:76px;padding:18px 27px;display:grid;grid-template-columns:31px 1fr;gap:16px;align-items:center;transition:background .28s,color .28s}
.equipment-tab:last-child{border-bottom:1px solid var(--line)}
.equipment-tab::before{content:"";position:absolute;top:0;bottom:0;left:0;width:3px;background:var(--accent);transform:scaleY(0);transform-origin:center;transition:transform 380ms var(--ease)}
.equipment-tab:hover,.equipment-tab:focus-visible{color:var(--text);background:var(--ui-selected)}
.equipment-tab.is-active{color:var(--text);background:var(--ui-selected)}
.equipment-tab.is-active::before{transform:scaleY(1)}
.equipment-tab-index{color:var(--dim);font-size:10px;font-weight:700;align-self:center}
.equipment-tab-name{font-size:clamp(16px,1.55vw,22px);letter-spacing:-.045em;font-weight:500;line-height:1.2}
.equipment-index-foot{margin:auto 30px 29px;color:var(--dim);font-size:11px;line-height:1.75;max-width:280px;padding-top:34px}
.equipment-panel{min-width:0;display:flex;flex-direction:column}
.equipment-photo-wrap{position:relative;overflow:hidden;height:clamp(350px,36vw,486px);background:var(--image-bg);isolation:isolate}
.equipment-photo-wrap img{width:100%;height:100%;object-fit:cover;object-position:center;filter:saturate(.82) contrast(1.04);transition:transform .9s var(--ease)}
.equipment-panel:hover .equipment-photo-wrap img{transform:scale(1.025)}
.equipment-photo-wrap::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.18),transparent 34%,rgba(0,0,0,.4));pointer-events:none}
.equipment-photo-count,.equipment-photo-caption{position:absolute;z-index:1;color:#fff;font-weight:700;letter-spacing:.13em}
.equipment-photo-count{right:24px;top:23px;font-size:10px;background:rgba(0,0,0,.45);border:1px solid rgba(255,255,255,.22);padding:9px 11px;backdrop-filter:blur(6px)}
.equipment-photo-caption{bottom:25px;left:30px;font-size:9px;max-width:75%;line-height:1.5}
.equipment-description{padding:33px 38px 38px;display:flex;flex-direction:column;flex:1}
.equipment-description h3{font-size:clamp(28px,2.35vw,38px);font-weight:400;letter-spacing:-.057em;line-height:1.2;margin:13px 0 12px}
.equipment-description>p{font-size:13px;line-height:1.85;color:var(--muted);max-width:620px;margin:0 0 27px}
.equipment-meta{display:flex;align-items:start;gap:22px;justify-content:space-between;border-top:1px solid var(--line);padding-top:18px;margin-top:auto}
.equipment-meta>span{font-size:9px;font-weight:800;letter-spacing:.1em;color:var(--dim);white-space:nowrap;padding-top:3px}
.equipment-meta strong{font-size:11px;font-weight:500;line-height:1.7;text-align:right;color:var(--text)}
.equipment-bottom-note{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-top:25px;color:var(--dim);font-size:10px;line-height:1.6}
.equipment-bottom-note a{color:var(--text);font-size:11px;font-weight:600;border-bottom:1px solid var(--line-light);padding-bottom:6px;transition:color .25s,border-color .25s}
.equipment-bottom-note a:hover{color:var(--accent-soft);border-color:var(--accent)}
.equipment-panel.equipment-animate .equipment-photo-wrap img{animation:equipmentPhotoIn 570ms var(--ease) both}
.equipment-panel.equipment-animate .equipment-description{animation:equipmentCopyIn 460ms var(--ease) both}
@keyframes equipmentPhotoIn{from{opacity:.42;transform:scale(1.05)}to{opacity:1;transform:scale(1)}}
@keyframes equipmentCopyIn{from{opacity:.25;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}

/* Media placeholders retain dimensions until the next image is ready. */
.js .project-orb::before,.js .equipment-photo-wrap::before,.js .case-hero-frame::before,.js .case-gallery-frame::before{content:"";position:absolute;inset:0;z-index:2;background:linear-gradient(100deg,var(--image-bg) 10%,var(--ui-selected) 42%,var(--image-bg) 70%);background-size:220% 100%;animation:mediaSweep 1.6s linear infinite;opacity:1;pointer-events:none;transition:opacity .35s}
.project-orb.is-loaded::before,.equipment-photo-wrap.is-loaded::before,.case-hero-frame.is-loaded::before,.case-gallery-frame.is-loaded::before{opacity:0;animation:none}
.js .project-orb:not(.is-loaded) .orb-photo,.js .equipment-photo-wrap:not(.is-loaded) img,.js .case-hero-frame:not(.is-loaded) img,.js .case-gallery-frame:not(.is-loaded) img{opacity:0}
.case-hero-frame img,.case-gallery-frame img{transition:opacity .38s}
.equipment-photo-wrap img{transition:opacity .35s,transform .9s var(--ease)}
.is-error img{visibility:hidden}
@keyframes mediaSweep{from{background-position:100% 0}to{background-position:-100% 0}}

.contact{padding:95px 0 122px}
.contact-invite{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(290px,.65fr);align-items:center;gap:70px;margin:35px 0 58px;padding:0 0 75px;border-bottom:1px solid var(--line)}
.contact-invite h2{margin:0;font-size:clamp(56px,5.8vw,90px);font-weight:400;letter-spacing:-.075em;line-height:1.12;text-wrap:balance}
.contact-invite-aside{display:flex;flex-direction:column;align-items:flex-start;gap:30px}
.contact-invite-aside p{max-width:330px;margin:0;color:var(--muted);font-size:14px;line-height:1.85;text-wrap:pretty}
.contact-cta{display:inline-flex;align-items:center;justify-content:space-between;gap:55px;min-height:53px;min-width:227px;border:1px solid var(--accent);border-radius:100px;background:var(--accent);color:var(--accent-text);padding:15px 21px 15px 24px;font-size:12px;font-weight:700;transition:background .3s,color .3s,transform .3s,border-color .3s}
.contact-cta:hover{background:transparent;color:var(--text);transform:translateY(-2px)}
.contact-cta-dot{display:block;flex:none;width:6px;height:6px;border-radius:50%;background:currentColor;transition:transform .3s var(--ease)}
.contact-cta:hover .contact-cta-dot{transform:scale(1.65)}
.contact-columns{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:40px}
.contact-columns>div{display:flex;flex-direction:column;align-items:flex-start;gap:9px;min-width:0}
.contact-columns .micro-label{margin-bottom:11px}
.contact-columns strong,.contact-columns a{font-size:14px;font-weight:500;line-height:1.65}
.contact-columns a:hover{color:#aaa}
.contact-columns .contact-email{overflow-wrap:anywhere}
.site-footer{border-top:1px solid #303030;min-height:94px;padding:30px var(--side);display:grid;grid-template-columns:1fr auto;align-items:center;gap:20px;color:#696968;font-size:10px;font-weight:500}
.site-footer span:nth-child(2){text-align:right}
.site-footer a{text-align:right}
.site-footer a:hover{color:#fff}

/* Brief modal */
.brief-dialog{background:#1b1b1b;color:#efefed;border:1px solid #454545;width:min(760px,calc(100vw - 36px));max-height:min(92vh,980px);padding:clamp(26px,4vw,54px);overflow-y:auto;box-shadow:0 35px 100px rgba(0,0,0,.45)}
.brief-dialog::backdrop{background:rgba(0,0,0,.78);backdrop-filter:blur(9px)}
.brief-modal-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}
.modal-close{background:transparent;border:1px solid #555;color:#eee;width:44px;height:44px}
.brief-dialog h2{font-size:clamp(34px,4vw,59px);font-weight:400;letter-spacing:-.065em;line-height:1.15;margin:26px 0 14px}
.brief-intro{font-size:13px;color:#9b9b98;line-height:1.8;margin:0 0 35px}
.brief-dialog label{display:flex;flex-direction:column;gap:11px;margin-bottom:23px;min-width:0}
.brief-dialog label span{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#9c9c99}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.brief-dialog input,.brief-dialog textarea,.brief-dialog select{border:0;border-bottom:1px solid #595959;background:transparent;color:#eee;border-radius:0;width:100%;padding:11px 0 14px;outline:none;font-size:13px}
.brief-dialog input:focus,.brief-dialog textarea:focus,.brief-dialog select:focus{border-color:#eee}
.brief-dialog textarea{height:44px;min-height:44px;line-height:19px;resize:none;overflow:hidden;box-sizing:border-box}
.brief-dialog input::placeholder,.brief-dialog textarea::placeholder{color:#676767}
.brief-dialog select option{background:#202020;color:#eee}
.brief-submit{display:flex;width:100%;align-items:center;justify-content:space-between;padding:17px 22px;background:#f0f0ed;color:#1a1a1a;border:0;font-size:13px;font-weight:700;margin-top:10px}
.brief-submit-rule{height:1px;width:28px;background:currentColor;opacity:.55;transition:width .3s var(--ease),opacity .3s}
.brief-submit:hover .brief-submit-rule{width:41px;opacity:1}
.brief-submit:hover{background:#c5c5c2}
.brief-note{font-size:11px;line-height:1.65;color:#aaa9a5;margin:15px 0 0;max-width:620px}

/* Project detail */
.case-overlay{position:fixed;inset:0;z-index:100;display:none}
.case-overlay.open{display:block}
.case-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.76);backdrop-filter:blur(6px)}
.case-panel{position:absolute;inset:0 0 0 auto;width:min(1080px,95vw);overflow-y:auto;background:#191919;color:#f1f1ef;animation:slideCase 360ms var(--ease)}
.case-panel-header{height:74px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(22px,4vw,60px);position:sticky;top:0;z-index:3;background:#191919;border-bottom:1px solid #333;font-size:10px;font-weight:800;letter-spacing:.09em}
.case-close{display:inline-flex;gap:22px;align-items:center;background:none;color:#ddd;border:1px solid #555;padding:10px 15px;font-size:11px}
.case-hero-frame{height:clamp(360px,43vw,560px);position:relative;overflow:hidden;background:var(--image-bg)}
.case-hero-image{width:100%;height:100%;object-fit:cover}
.case-body{padding:clamp(28px,5vw,65px)}
.case-kicker{font-size:9px;font-weight:800;color:#90908e;letter-spacing:.14em}
.case-body h2{font-size:clamp(43px,5.6vw,80px);font-weight:400;line-height:1.1;letter-spacing:-.07em;margin:24px 0 45px}
.case-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;padding:22px 0;border-top:1px solid #555;border-bottom:1px solid #555}
.case-meta>div{display:flex;flex-direction:column;gap:9px}
.case-meta span{font-size:9px;color:#777;letter-spacing:.12em;text-transform:uppercase}
.case-meta strong{font-size:12px;font-weight:600}
.case-description{font-size:clamp(17px,1.9vw,23px);line-height:1.7;letter-spacing:-.02em;max-width:750px;margin:50px 0}
.case-gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.case-gallery-frame{position:relative;height:285px;overflow:hidden;background:var(--image-bg)}
.case-gallery-frame:last-child:nth-child(odd){grid-column:span 2;height:420px}
.case-gallery img{width:100%;height:100%;object-fit:cover}
.case-next{display:flex;justify-content:space-between;gap:25px;align-items:center;margin-top:65px;border-top:1px solid #555;padding-top:24px;font-size:11px;color:#888}
.case-next button{background:transparent;color:white;border:1px solid #777;border-radius:60px;padding:15px 20px;font-size:12px}
.case-next button:hover{background:#eee;color:#171717}
.case-source{font-size:10px;color:#666;margin-top:35px}
@keyframes slideCase{from{transform:translateX(60px);opacity:.7}to{transform:translateX(0);opacity:1}}

/* Temporary, separate palette comparison tool. */
.theme-switcher{position:fixed;right:clamp(16px,3vw,46px);bottom:22px;z-index:70;display:flex;flex-direction:column;align-items:flex-end;gap:10px;font-size:11px}
.theme-launcher{display:flex;align-items:center;gap:11px;border:1px solid var(--ui-border);border-radius:100px;background:var(--ui-bg);color:var(--text);padding:13px 17px;box-shadow:0 9px 32px rgba(0,0,0,.2);font-size:11px;font-weight:700;transition:border-color .25s,background .25s,transform .25s}
.theme-launcher:hover{border-color:var(--accent);transform:translateY(-2px)}
.theme-icon{display:flex;align-items:center;gap:2px}
.theme-icon i{display:block;width:8px;height:8px;border-radius:50%;background:#f4f3ef;border:1px solid #757575}
.theme-icon i:nth-child(2){background:#1b1b1b}
.theme-icon i:nth-child(3){background:#ae5a44}
.theme-panel{width:298px;background:var(--ui-bg);color:var(--text);border:1px solid var(--ui-border);border-radius:13px;padding:17px;box-shadow:0 16px 50px rgba(0,0,0,.25)}
.theme-panel[hidden]{display:none}
.theme-panel-title{display:flex;justify-content:space-between;gap:15px;font-size:9px;letter-spacing:.11em;font-weight:700;text-transform:uppercase;color:var(--muted);padding:3px 5px 14px}
.theme-panel-title span:last-child{opacity:.6}
.theme-options{display:grid;gap:5px}
.theme-option{background:transparent;display:grid;grid-template-columns:38px 1fr 15px;align-items:center;gap:11px;width:100%;padding:10px 9px;text-align:left;color:var(--text);border:1px solid transparent;border-radius:8px;font-size:11px;font-weight:600;transition:background .2s,border-color .2s}
.theme-option:hover{background:var(--ui-selected)}
.theme-option[aria-pressed="true"]{border-color:var(--accent);background:var(--ui-selected)}
.theme-check{opacity:0;font-size:15px;color:var(--accent)}
.theme-option[aria-pressed="true"] .theme-check{opacity:1}
.theme-swatch{width:36px;height:25px;display:flex;align-items:center;justify-content:center;gap:2px;border:1px solid rgba(128,128,128,.42);border-radius:4px}
.theme-swatch i{display:block;width:5px;height:12px;border-radius:1px}
.theme-swatch-dark{background:#171717}.theme-swatch-dark i{background:#eee}
.theme-swatch-light{background:#faf9f5}.theme-swatch-light i{background:#222}
.theme-swatch-brand{background:#1a1a1a}.theme-swatch-brand i{background:#ae5a44}.theme-swatch-brand i:last-child{background:#fff}
.theme-panel p{color:var(--muted);font-size:10px;line-height:1.6;margin:13px 5px 1px}

/* Contrast corrections for the inverted, daylight version. */
html[data-theme="light"] ::selection{background:#292826;color:#fff}
html[data-theme="light"] button:focus-visible,html[data-theme="light"] a:focus-visible,html[data-theme="light"] input:focus-visible,html[data-theme="light"] select:focus-visible,html[data-theme="light"] textarea:focus-visible{outline-color:#222}
html[data-theme="light"] .micro-label,html[data-theme="light"] .section-aside,html[data-theme="light"] .project-date,html[data-theme="light"] .service-number,html[data-theme="light"] .service-panel-inner span,html[data-theme="light"] .capacity-number small{color:#74736f}
html[data-theme="light"] .hero-center p,html[data-theme="light"] .hero-bottom,html[data-theme="light"] .hero-down,html[data-theme="light"] .project-footer p,html[data-theme="light"] .service-panel-inner p,html[data-theme="light"] .brief-intro{color:#62615d}
html[data-theme="light"] .hero-specialty,html[data-theme="light"] .hero-services-link{color:#565550}
html[data-theme="light"] .hero::before{background:url("./assets/cem-relief-hero.webp") center/cover no-repeat;filter:invert(1) grayscale(1);opacity:.28}
html[data-theme="light"] .underlined-link{border-bottom-color:#9c9a95}
html[data-theme="light"] .underlined-link:hover,html[data-theme="light"] .hero-down:hover{color:#111;border-color:#111}
html[data-theme="light"] .project-orb .orb-pixels{filter:none}
html[data-theme="light"] .project-orb::after{border-color:rgba(32,32,32,.65)}
html[data-theme="light"] .project-card:hover h3{color:#111}
html[data-theme="light"] .tag-list span{color:#55534f;border-color:#c9c8c3}
html[data-theme="light"] .service-row::before{background:#282828}
html[data-theme="light"] .service-toggle:hover{color:#111}
html[data-theme="light"] .accordion-plus::before,html[data-theme="light"] .accordion-plus::after{background:#6a6966}
html[data-theme="light"] .service-row.is-open .accordion-plus::before,html[data-theme="light"] .service-row.is-open .accordion-plus::after{background:#151515}
html[data-theme="light"] .contact-columns a:hover{color:#77736e}
html[data-theme="light"] .site-footer{border-color:var(--line);color:#74736f}
html[data-theme="light"] .site-footer a:hover{color:#161616}
html[data-theme="light"] .brief-dialog{background:#fff;color:#171717;border-color:#c8c7c2}
html[data-theme="light"] .brief-dialog label span,html[data-theme="light"] .brief-note,html[data-theme="light"] .case-kicker,html[data-theme="light"] .case-meta span,html[data-theme="light"] .case-source{color:#74736f}
html[data-theme="light"] .modal-close,html[data-theme="light"] .case-close{color:#1b1b1b;border-color:#b9b7b2}
html[data-theme="light"] .brief-dialog input,html[data-theme="light"] .brief-dialog textarea,html[data-theme="light"] .brief-dialog select{color:#171717;border-bottom-color:#a9a8a3}
html[data-theme="light"] .brief-dialog input:focus,html[data-theme="light"] .brief-dialog textarea:focus,html[data-theme="light"] .brief-dialog select:focus{border-bottom-color:#171717}
html[data-theme="light"] .brief-dialog input::placeholder,html[data-theme="light"] .brief-dialog textarea::placeholder{color:#777570}
html[data-theme="light"] .brief-dialog select option{background:#fff;color:#191919}
html[data-theme="light"] .brief-submit{background:#222;color:#fff}
html[data-theme="light"] .brief-submit:hover{background:#555}
html[data-theme="light"] .case-panel,html[data-theme="light"] .case-panel-header{background:#f9f8f5;color:#191919}
html[data-theme="light"] .case-panel-header{border-bottom-color:#d8d7d2}
html[data-theme="light"] .case-meta{border-color:#bdbbb6}
html[data-theme="light"] .case-next{border-top-color:#bdbbb6;color:#6d6b66}
html[data-theme="light"] .case-next button{color:#191919;border-color:#777570}
html[data-theme="light"] .case-next button:hover{background:#191919;color:#fff}
html[data-theme="light"] .main-nav.open{background:#f9f8f5;border-color:#d7d5d0}
html[data-theme="light"] .main-nav a{border-bottom-color:#dedcd7}
html[data-theme="light"] .cinematic-copy .micro-label{color:#e8e8e6}

/* Brand direction: exact rust accent sampled from the presentation. */
html[data-theme="brand"] .micro-label,html[data-theme="brand"] .project-date,html[data-theme="brand"] .case-kicker{color:#c67b66}
html[data-theme="brand"] .project-card:hover h3{color:#db977f}
html[data-theme="brand"] .project-orb::after{border-color:#ae5a44}
html[data-theme="brand"] .tag-list span{border-color:#55443e;color:#cbb5ad}
html[data-theme="brand"] .service-row::before{background:#ae5a44}
html[data-theme="brand"] .service-row.is-open .accordion-plus::before,html[data-theme="brand"] .service-row.is-open .accordion-plus::after{background:#ae5a44}
html[data-theme="brand"] .capacity-number #capacity-counter{color:#ae5a44}
html[data-theme="brand"] .brief-submit{background:#ae5a44;color:#fff}
html[data-theme="brand"] .brief-submit:hover{background:#c4755e}
html[data-theme="brand"] .main-nav.open{background:#1f1b19;border-color:#51423c}
html[data-theme="brand"] .cinematic-copy .micro-label{color:#e4c1b4}

/* Scroll reveal */
.js .reveal{opacity:0;transform:translateY(35px);filter:blur(3px);transition:opacity 950ms var(--ease),transform 950ms var(--ease),filter 950ms var(--ease)}
.js .reveal.is-visible{opacity:1;transform:translateY(0)}
.js .reveal.is-visible{filter:blur(0)}

@media(max-width:1050px){
  .site-header{gap:17px}
  .main-nav{gap:22px}
  .header-actions{gap:13px}
  .project-grid{gap:65px 30px}
  .about-grid,.capacity-grid{gap:65px}
  .equipment-showcase{grid-template-columns:minmax(270px,.9fr) minmax(0,1.25fr)}
  .equipment-tab{padding-inline:17px;gap:10px}
  .equipment-description{padding:28px 26px 32px}
}
@media(max-width:820px){
  .site-header{height:67px;grid-template-columns:1fr auto}
  .main-nav{display:none;position:absolute;top:67px;left:0;right:0;background:#1b1b1b;padding:15px var(--side) 30px;flex-direction:column;align-items:stretch;gap:0;border-bottom:1px solid #383838}
  .main-nav.open{display:flex}
  .main-nav a{font-size:18px;padding:14px 0;border-bottom:1px solid #303030}
  .main-nav a::after{bottom:8px}
  .menu-button{display:flex}
  .header-brief{display:none}
  .scope-intro{display:block;padding-bottom:25px}
  .scope-intro h2{margin-top:13px}
  .scope-columns{gap:20px}
  .scope-item{display:block}
  .scope-item h3{margin-top:9px}
  .scope-item p{margin-top:8px}
  .hero{height:calc(100svh - 67px);min-height:630px}
  .hero h1{font-size:clamp(47px,7.6vw,72px)}
  .project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:57px 40px}
  .about-grid,.capacity-grid{grid-template-columns:1fr;gap:60px}
  .about{padding:115px 0 100px}
  .services{padding-top:35px}
  .capacity-grid{padding-top:75px;padding-bottom:75px}
  .equipment{padding-top:25px;padding-bottom:115px}
  .equipment-intro{grid-template-columns:1fr;gap:24px}
  .equipment-intro>p{max-width:580px}
  .equipment-showcase{grid-template-columns:1fr}
  .equipment-index{border-right:0;border-bottom:1px solid var(--line)}
  .equipment-index-top{padding:22px 24px 18px}
  .equipment-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
  .equipment-tab{min-height:85px;border-bottom:1px solid var(--line);padding:14px;grid-template-columns:24px 1fr;gap:6px 9px}
  .equipment-tab-name{font-size:16px;grid-column:2}
  .equipment-tab-arrow{display:none}
  .equipment-index-foot{display:none}
  .equipment-photo-wrap{height:430px}
  .contact-columns{grid-template-columns:repeat(2,1fr);row-gap:36px}
  .contact-invite{grid-template-columns:1fr 1fr;gap:30px}
  .contact-invite h2{font-size:clamp(50px,6vw,70px)}
  .cinematic-scene{height:120svh}
  .cinematic-frame img{object-position:55% center}
}
@media(max-width:600px){
  :root{--side:22px}
  html{scroll-padding-top:75px;scroll-behavior:auto;overscroll-behavior-y:contain}
  body{overscroll-behavior-y:contain}
  .content-wrap{width:calc(100% - 44px)}
  .site-header{padding:0 20px}
  .brand img{width:134px}
  .hero{min-height:690px;padding:100px 18px 105px}
  .hero-center{margin-top:-5px;transform:none;opacity:1;will-change:auto}
  .hero-kicker{font-size:8px;margin-bottom:17px}
  .hero-specialty{font-size:9px;letter-spacing:.02em;max-width:310px;margin-bottom:20px}
  .hero h1{font-size:clamp(35px,9.4vw,49px);letter-spacing:-.074em;min-height:3.55em}
  .hero-line{white-space:normal}
  .hero-word-frame{max-width:100%}
  .hero-center p{font-size:12px;margin:12px auto 26px;max-width:350px;line-height:1.75}
  .hero-actions{gap:20px}
  .hero-services-link,.underlined-link{font-size:11px}
  .hero-bottom{left:22px;right:22px;bottom:24px;font-size:8px;grid-template-columns:1fr auto}
  .hero-bottom span:nth-child(2){display:none}
  .scope-strip{padding:38px 0 45px}
  .scope-columns{grid-template-columns:1fr;gap:0;padding-top:16px}
  .scope-item{display:grid;grid-template-columns:35px 1fr;gap:0 8px;padding:17px 0;border-bottom:1px solid var(--line)}
  .scope-item:last-child{border-bottom:0}
  .scope-item h3{font-size:19px;margin:0}
  .scope-item p{grid-column:2;font-size:11px;margin:8px 0 0;max-width:310px}
  .projects{padding:100px 0 110px}
  .section-heading-split{display:block}
  .section-heading-split h2{font-size:35px}
  .section-aside{margin-top:21px;font-size:12px}
  .project-grid{grid-template-columns:1fr;gap:49px;margin-top:52px}
  .project-card{max-width:340px;margin:0 auto;width:100%}
  .project-orb{width:min(100%,252px);margin-bottom:20px}
  .project-title-row{margin-top:10px}
  .project-card h3{font-size:16px}
  .cinematic-scene{height:auto;--scene-progress:1;--scene-copy-progress:1;--mobile-scene-progress:0}
  .cinematic-sticky{position:relative;top:auto;height:600px}
  .cinematic-frame{transform:none;border-radius:0}
  .cinematic-frame img{transform:scale(calc(1.02 + var(--mobile-scene-progress)*.21)) translateY(calc(var(--mobile-scene-progress)*-8px));filter:saturate(.78) brightness(calc(.82 - var(--mobile-scene-progress)*.24));object-position:54% center}
  .cinematic-copy{left:22px;right:22px;bottom:55px;opacity:clamp(.6,calc(var(--mobile-scene-progress)*2.7),1);transform:translateY(calc((1 - var(--mobile-scene-progress))*19px))}
  .cinematic-copy h2{font-size:clamp(42px,10vw,58px)}
  .cinematic-coordinate{top:24px;right:22px;opacity:1}
  .project-footer{align-items:start;flex-direction:column;gap:24px;margin-top:55px}
  .about{padding:100px 0 90px}
  .about-grid{gap:38px}
  .about-title-group h2{font-size:39px}
  .about-lead{font-size:19px}
  .tag-list span{font-size:10px}
  .services{padding:45px 0 95px}
  .services-heading{margin-bottom:46px}
  .service-toggle{grid-template-columns:27px 1fr 20px;gap:11px;padding:24px 0}
  .service-name{font-size:24px}
  .service-panel-inner{padding-left:38px;padding-right:0}
  .service-panel-inner p{font-size:12px}
  .capacity{padding:20px 0 65px}
  .capacity-grid{gap:44px;padding:55px 0}
  .capacity h2{font-size:35px}
  .capacity-number{font-size:78px}
  .capacity-number small{font-size:21px}
  .equipment{padding:25px 0 85px}
  .equipment-intro{margin-bottom:37px}
  .equipment-intro h2{font-size:clamp(37px,9vw,49px)}
  .equipment-intro>p{font-size:12px}
  .equipment-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
  .equipment-tab{min-height:75px;padding:12px}
  .equipment-tab-name{font-size:14px}
  .equipment-photo-wrap{height:290px}
  .equipment-photo-caption{left:18px;bottom:18px;font-size:8px}
  .equipment-description{padding:25px 21px 30px}
  .equipment-description h3{font-size:31px}
  .equipment-description>p{font-size:12px}
  .equipment-meta{display:block}
  .equipment-meta strong{display:block;text-align:left;margin-top:9px}
  .equipment-bottom-note{flex-direction:column;align-items:start;gap:14px}
  .contact{padding:65px 0 95px}
  .contact-invite{grid-template-columns:1fr;gap:27px;margin:30px 0 41px;padding-bottom:44px}
  .contact-invite h2{font-size:clamp(43px,10vw,61px)}
  .contact-invite-aside{gap:25px}
  .contact-invite-aside p{font-size:12px;max-width:380px}
  .contact-cta{min-width:220px;min-height:50px}
  .contact-columns{grid-template-columns:1fr;gap:29px}
  .contact-columns .micro-label{margin-bottom:2px}
  .site-footer{padding:27px 22px;grid-template-columns:1fr auto;gap:13px;font-size:9px}
  .site-footer span:nth-child(2){display:none}
  .form-row{grid-template-columns:1fr;gap:0}
  .brief-dialog{width:calc(100vw - 16px);max-height:96vh;padding:24px}
  .case-panel{width:100vw}
  .case-panel-header{padding:0 20px;height:62px}
  .case-panel-header>span{font-size:8px}
  .case-hero-frame{height:275px}
  .case-body{padding:30px 20px}
  .case-body h2{font-size:43px}
  .case-meta{grid-template-columns:1fr 1fr}
  .case-meta>div:last-child{grid-column:span 2}
  .case-gallery{grid-template-columns:1fr}
  .case-gallery-frame,.case-gallery-frame:last-child:nth-child(odd){grid-column:auto;height:235px}
  .case-next{flex-direction:column;align-items:start}
  .theme-switcher{right:14px;bottom:max(14px,env(safe-area-inset-bottom))}
  .theme-launcher{padding:11px 13px;font-size:10px}
  .theme-panel{width:min(298px,calc(100vw - 28px));padding:14px}
}
@media(max-width:400px){
  .site-header{padding-inline:14px;gap:7px}
  .brand img{width:114px}
  .header-actions{gap:6px}
  .lang-switch{gap:2px;font-size:9px}
  .lang-switch button{padding-inline:1px}
  .menu-button{padding:7px}
  .hero h1{font-size:clamp(32px,9.25vw,39px);min-height:3.65em}
}
@media(hover:none){
  .project-orb .orb-photo{opacity:.54;filter:grayscale(.55) brightness(.75);transform:scale(1.02)}
  .project-orb .orb-pixels{opacity:.58}
  .project-card.is-in-view .orb-photo{opacity:1;filter:none;transform:scale(1.09)}
  .project-card.is-in-view .orb-pixels{opacity:0}
  .project-card.is-in-view .project-orb::after{opacity:.65;transform:scale(1)}
}

/* Portfolio revision: editorial, image-forward cards with no hover dependency. */
.projects{padding-block:clamp(75px,8vw,125px)}
.project-grid{gap:45px 24px;margin-top:49px}
.project-orb{width:100%;aspect-ratio:1.43;border-radius:2px;margin:0 0 18px}
.project-orb::after{border-radius:2px;inset:0;border-color:rgba(255,255,255,.24)}
.project-orb .orb-photo,.project-card.is-in-view .orb-photo,.project-card:hover .orb-photo,.project-card:focus-visible .orb-photo{border-radius:2px;opacity:1;filter:none;transform:scale(1.001)}
.project-card:hover .orb-photo,.project-card:focus-visible .orb-photo{transform:scale(1.04)}
.project-image-index{position:absolute;bottom:15px;left:17px;color:#fff;z-index:3;font-size:10px;letter-spacing:.12em;font-weight:700;text-shadow:0 2px 8px rgba(0,0,0,.8)}
.project-orb::before{z-index:1}
.project-title-row{margin-top:8px}
.project-card h3{font-size:clamp(14px,1.25vw,18px);line-height:1.5;max-width:none}
.project-card:hover h3{color:var(--accent-soft)}
.project-date{color:#b6a7a1}
.section-aside{color:var(--muted)}
.hero h1{min-height:auto;max-width:1050px;margin-inline:auto;font-size:clamp(42px,4.4vw,74px)}
.hero::before{background-image:linear-gradient(90deg,rgba(17,17,17,.12),rgba(17,17,17,.36) 50%,rgba(17,17,17,.12)),linear-gradient(0deg,rgba(17,17,17,.5),transparent 28%,rgba(17,17,17,.14)),url("./assets/cem-relief-hero.webp");background-position:center;}
.hero-line-two{color:#d7a494}
.hero-services-link{background:transparent;border:0;border-bottom:1px solid transparent;cursor:pointer}
.hero-center p{max-width:760px;color:#dfd7d2}
.hero-specialty{color:#cfc4bf}
.scope-strip{padding-block:43px 52px}
.about{padding-block:120px 110px}

/* Project viewer: independently scrolling navigation and case content. */
.case-overlay{background:#181614}
.case-overlay.open{display:block}
.case-shell{position:fixed;inset:0;display:grid;grid-template-columns:clamp(285px,30vw,470px) minmax(0,1fr);height:100dvh;overflow:hidden;background:#1b1918;color:#f5f0ed}
.case-sidebar{min-width:0;min-height:0;display:flex;flex-direction:column;border-right:1px solid #51413a;background:#201c1a;z-index:2}
.case-sidebar-head{flex:0 0 auto;padding:28px clamp(20px,2.4vw,38px) 24px;border-bottom:1px solid #473a34}
.case-sidebar-head .micro-label{color:#b88a79;letter-spacing:.11em}
.case-sidebar-title-row{display:flex;justify-content:space-between;align-items:center;gap:15px}
.case-sidebar-head h2{font-size:clamp(24px,2.1vw,32px);font-weight:500;letter-spacing:-.05em;line-height:1.22;margin:18px 0 7px}
.case-sidebar-count{font-size:10px;color:#a89992;letter-spacing:.13em}
.case-project-list{overflow-y:auto;overscroll-behavior:contain;flex:1;min-height:0;scrollbar-width:thin;scrollbar-color:#766056 #201c1a}
.case-list-item{width:100%;display:grid;grid-template-columns:96px minmax(0,1fr);gap:17px;align-items:center;background:transparent;border:0;border-bottom:1px solid #3f3632;border-left:3px solid transparent;color:#e5deda;text-align:left;padding:17px clamp(16px,2vw,30px);transition:background-color .2s,border-color .2s}
.case-list-item:hover,.case-list-item:focus-visible{background:#322823}
.case-list-item.is-active{background:#392a24;border-left-color:#ae5a44}
.case-list-thumb{width:96px;aspect-ratio:1.25;overflow:hidden;background:#332c28}
.case-list-thumb img{width:100%;height:100%;object-fit:cover;opacity:.83;filter:saturate(.8)}
.case-list-item.is-active img{opacity:1;filter:none}
.case-list-copy{min-width:0;display:block}
.case-list-year{display:block;color:#c08e7a;font-size:10px;font-weight:700;letter-spacing:.05em;margin-bottom:8px}
.case-list-number{color:#897d77}
.case-list-name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;font-size:12px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
.case-panel{position:relative;inset:auto;width:100%;min-width:0;min-height:0;height:100%;overflow-y:auto;overscroll-behavior:contain;background:#1b1918;color:#f5f0ed;animation:none;scrollbar-width:thin;scrollbar-color:#5f4940 #1b1918}
.case-panel-header{height:78px;padding:0 clamp(25px,3.6vw,62px);background:rgba(27,25,24,.96);backdrop-filter:blur(13px);border-bottom-color:#453832;letter-spacing:.08em}
.case-panel-brand{color:#b2a49c;font-size:10px;letter-spacing:.13em;font-weight:700}
.case-header-actions{display:flex;align-items:center;gap:20px}
.case-lang-switch{display:flex;align-items:center;gap:5px}
.case-lang-switch button{border:0;background:none;color:#ab9990;font-size:10px;font-weight:700;letter-spacing:.04em;padding:10px 6px}
.case-lang-switch button[aria-pressed="true"]{color:#db8f73;border-bottom:1px solid #ae5a44}
.case-close{color:#ebe3de;border-color:#79675f;border-radius:2px;padding:11px 15px;gap:16px;transition:border-color .2s,background-color .2s}
.case-close:hover{background:#382c27;border-color:#b66d54}
.case-close-x{font-size:18px;font-weight:400;line-height:.8}
.case-switch-project,.case-sidebar-close,.case-sidebar-scrim{display:none}
.case-hero-frame{height:clamp(310px,37vw,570px)}
.case-body{padding:clamp(28px,4.8vw,74px)}
.case-body h2{font-size:clamp(38px,4.6vw,75px);margin:20px 0 38px}
.case-meta{border-color:#4a3a34}
.case-meta span{color:#b1a29b}
.case-description{color:#e3dcd8}
.case-source{color:#aa9990}
.case-next{border-color:#4a3a34}

@media(max-width:1024px){
  .case-shell{display:block}
  .case-sidebar{position:absolute;inset:0 auto 0 0;width:min(370px,calc(100vw - 42px));z-index:6;transform:translateX(-103%);transition:transform .27s var(--ease);box-shadow:12px 0 40px rgba(0,0,0,.35)}
  .case-drawer-open .case-sidebar{transform:translateX(0)}
  .case-sidebar-scrim{display:block;position:absolute;inset:0;background:rgba(0,0,0,.66);border:0;z-index:5;opacity:0;visibility:hidden;transition:opacity .2s,visibility .2s}
  .case-drawer-open .case-sidebar-scrim{opacity:1;visibility:visible}
  .case-panel{width:100%;height:100%}
  .case-panel-header{justify-content:space-between;gap:12px}
  .case-panel-brand{font-size:9px}
  .case-header-actions{gap:10px}
  .case-switch-project{display:inline-flex;align-items:center;gap:8px;background:transparent;color:#f0d2c4;border:0;padding:12px 0;font-size:11px;font-weight:700;white-space:nowrap}
  .case-switch-dot{width:8px;height:8px;border-radius:50%;background:#ae5a44}
  .case-sidebar-close{display:block;background:transparent;border:1px solid #584a44;color:#f2e3dc;font-size:25px;width:34px;height:34px;line-height:1}
  .case-list-item{padding:15px 18px}
}
@media(max-width:600px){
  .project-grid{grid-template-columns:1fr;gap:39px;margin-top:42px}
  .project-card{max-width:460px}
  .project-orb{width:100%;aspect-ratio:1.43}
  .hero{min-height:600px;padding-block:80px 90px}
  .hero h1{font-size:clamp(33px,8.9vw,44px);line-height:1.18;min-height:0}
  .hero-bottom{bottom:20px}
  .case-panel-header{height:66px;padding:0 17px}
  .case-panel-brand{display:none}
  .case-close{font-size:10px;padding:9px 11px;gap:7px}
  .case-lang-switch{gap:1px}
  .case-lang-switch button{padding-inline:5px;font-size:9px}
  .case-hero-frame{height:270px}
  .case-body{padding:29px 21px}
  .case-body h2{font-size:clamp(34px,9vw,45px)}
  .case-description{font-size:17px;margin:34px 0}
  .case-gallery-frame,.case-gallery-frame:last-child:nth-child(odd){height:235px}
}

/* Floating spheres — 800 ms reveal and interaction on both portfolio surfaces. */
.hero-word{animation-duration:800ms}
.hero-link,.hero-services-link,.hero-center p,.hero-kicker{animation-duration:800ms}
.project-grid{gap:66px 40px}
.js .project-card.project-reveal{transition:opacity 800ms var(--ease),transform 800ms var(--ease);transition-delay:calc(var(--card-delay,0)*90ms)}
.project-orb{width:min(100%,270px);aspect-ratio:1;border-radius:50%;margin:0 auto 22px;box-shadow:0 10px 48px rgba(0,0,0,.25)}
.project-orb::after{border-radius:50%;inset:2px;transition:opacity 800ms var(--ease),transform 800ms var(--ease);border-color:#ae5a44}
.project-orb .orb-photo{border-radius:50%;opacity:.13;filter:grayscale(1) brightness(.52) contrast(1.28) blur(2px);transform:scale(1.02);transition:opacity 800ms var(--ease),filter 800ms var(--ease),transform 800ms var(--ease)}
.project-card.is-in-view .project-orb .orb-photo{border-radius:50%;opacity:.13;filter:grayscale(1) brightness(.52) contrast(1.28) blur(2px);transform:scale(1.02)}
.project-orb .orb-pixels{display:block;border-radius:50%;opacity:1;filter:blur(.7px);transition:opacity 800ms var(--ease),filter 800ms var(--ease)}
.project-card:hover .project-orb .orb-photo,.project-card:focus-visible .project-orb .orb-photo,.project-card.is-in-view:hover .project-orb .orb-photo,.project-card.is-in-view:focus-visible .project-orb .orb-photo{opacity:1;filter:none;transform:translate3d(var(--orb-offset-x,0px),var(--orb-offset-y,0px),0) scale(1.09)}
.project-card:hover .project-orb .orb-pixels,.project-card:focus-visible .project-orb .orb-pixels{opacity:0;filter:blur(5px)}
.project-card:hover .project-orb::after,.project-card:focus-visible .project-orb::after{opacity:.9;transform:scale(1)}
.project-title-row{margin-top:13px}
.project-card:hover h3{color:var(--accent-soft)}
@media(hover:none){
  .project-orb .orb-photo{opacity:.46;filter:grayscale(.65) brightness(.83) blur(1px)}
  .project-orb .orb-pixels{opacity:.7}
  .project-card.is-in-view .project-orb .orb-photo{opacity:1;filter:none;transform:scale(1.07)}
  .project-card.is-in-view .project-orb .orb-pixels{opacity:0}
}
@media(max-width:600px){
  .project-grid{gap:57px}
  .project-orb{width:min(100%,270px);aspect-ratio:1}
}

.case-shell{animation:caseShellReveal 800ms var(--ease) both}
.case-sidebar{background:radial-gradient(ellipse at 20% 30%,rgba(174,90,68,.095),transparent 48%),radial-gradient(ellipse at 86% 72%,rgba(153,119,102,.10),transparent 36%),#1c1a19}
.case-sidebar-head{border-bottom-color:rgba(123,93,78,.32)}
.case-project-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:21px 6px;align-content:start;overflow-x:hidden;padding:29px 12px 80px;scrollbar-color:#71564a #1c1a19;position:relative}
.case-list-item{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:0;width:100%;min-width:0;min-height:205px;padding:8px 4px 10px;background:transparent;border:0;color:#d9cbc4;text-align:center;position:relative;animation:caseOrbAppear 800ms var(--ease) both;animation-delay:calc(var(--float-index)*40ms)}
.case-list-item:nth-child(3n+2){margin-top:19px}
.case-list-item:nth-child(4n+3){margin-top:-10px}
.case-list-item:hover,.case-list-item:focus-visible,.case-list-item.is-active{background:transparent;border:0}
.case-list-thumb{position:relative;display:block;width:min(100%,148px);aspect-ratio:1;border-radius:50%;background:#161514;overflow:hidden;border:1px solid rgba(204,169,152,.2);box-shadow:0 7px 35px rgba(0,0,0,.5),inset 0 0 29px rgba(0,0,0,.5);transition:box-shadow 800ms var(--ease),border-color 800ms var(--ease),filter 800ms var(--ease);animation:caseOrbFloat 8s ease-in-out infinite;animation-delay:var(--orb-delay,0s)}
.case-list-thumb::after{content:"";position:absolute;inset:0;border-radius:50%;background:radial-gradient(circle at 32% 23%,rgba(255,255,255,.12),transparent 48%),linear-gradient(140deg,rgba(0,0,0,0),rgba(0,0,0,.3));pointer-events:none;z-index:3}
.case-list-thumb .orb-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:50%;filter:grayscale(1) brightness(.72) blur(2px);opacity:.38;transition:opacity 800ms var(--ease),filter 800ms var(--ease),transform 800ms var(--ease)}
.case-list-thumb .orb-pixels{position:absolute;inset:0;width:100%;height:100%;border-radius:50%;opacity:.9;filter:blur(.7px);transition:opacity 800ms var(--ease),filter 800ms var(--ease);z-index:2}
.case-list-item:hover .case-list-thumb,.case-list-item:focus-visible .case-list-thumb,.case-list-item.is-active .case-list-thumb{border-color:#bd755d;box-shadow:0 0 0 2px rgba(174,90,68,.54),0 0 35px rgba(174,90,68,.25),0 15px 38px rgba(0,0,0,.42)}
.case-list-item:hover .orb-photo,.case-list-item:focus-visible .orb-photo,.case-list-item.is-active .orb-photo{filter:grayscale(.15) brightness(.95) blur(0);opacity:1;transform:scale(1.08)}
.case-list-item:hover .orb-pixels,.case-list-item:focus-visible .orb-pixels,.case-list-item.is-active .orb-pixels{opacity:0;filter:blur(7px)}
.case-list-copy{display:block;margin-top:15px;max-width:166px;min-width:0}
.case-list-year{font-size:9px;font-weight:700;letter-spacing:.12em;color:#c67b66;margin:0 0 6px}
.case-list-number{color:#98847a}
.case-list-name{font-size:10px;line-height:1.5;font-weight:600;max-width:155px;min-height:30px;-webkit-line-clamp:3;transition:color 800ms var(--ease)}
.case-list-item.is-active .case-list-name{color:#f2b09a}
.case-list-item:focus-visible{outline:2px solid #d68a71;outline-offset:-3px;border-radius:8px}
.case-content-enter{animation:caseContentReveal 800ms var(--ease) both}
.case-content-enter .case-hero-frame img{animation:casePhotoReveal 800ms var(--ease) both}
@keyframes caseOrbFloat{0%,100%{transform:translate3d(0,2px,0)}50%{transform:translate3d(0,-10px,0)}}
@keyframes caseOrbAppear{from{opacity:0;transform:translate3d(0,25px,0);filter:blur(9px)}to{opacity:1;transform:translate3d(0,0,0);filter:blur(0)}}
@keyframes caseShellReveal{from{opacity:0;filter:blur(9px)}to{opacity:1;filter:blur(0)}}
@keyframes caseContentReveal{from{opacity:.2;transform:translateY(17px);filter:blur(11px)}to{opacity:1;transform:translateY(0);filter:blur(0)}}
@keyframes casePhotoReveal{from{transform:scale(1.055)}to{transform:scale(1)}}
@media(max-width:1024px){
  .case-project-list{gap:18px 8px;padding:22px 13px 65px}
  .case-list-item{min-height:185px;padding-inline:3px}
  .case-list-thumb{width:min(100%,136px)}
  .case-drawer-open .case-sidebar{transition:transform 800ms var(--ease)}
  .case-sidebar{transition:transform 800ms var(--ease)}
}
@media(prefers-reduced-motion:reduce){
  .case-shell,.case-content-enter,.case-content-enter .case-hero-frame img,.case-list-item,.case-list-thumb{animation:none!important}
}

/* Quiet gallery: a vertical rail of spheres and an empty click-to-return space. */
.case-return-zone{display:none}
@media(min-width:1025px){
  .case-overlay{background:rgba(7,7,7,.4)}
  .case-shell{grid-template-columns:minmax(0,35%) minmax(0,65%);background:transparent}
  .case-sidebar{position:relative;overflow:hidden;border-right:1px solid rgba(160,143,131,.2);background:rgba(3,3,3,.88);backdrop-filter:blur(18px) brightness(.55)}
  .case-sidebar-head{position:relative;z-index:3;pointer-events:none;border:0;padding:22px clamp(23px,3.3vw,66px) 7px}
  .case-sidebar-head h2{font-size:clamp(20px,1.7vw,27px);margin:9px 0 3px}
  .case-sidebar-head .micro-label{font-size:8px}
  .case-sidebar-count{font-size:9px;letter-spacing:.14em}
  .case-return-zone{display:flex;align-items:center;justify-content:center;position:absolute;inset:0 0 0 clamp(210px,18vw,320px);z-index:1;background:transparent;border:0;color:#c9bdb8;cursor:pointer;outline-offset:-10px}
  .case-return-zone span{opacity:0;transform:translateY(8px);font-size:11px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;transition:opacity 800ms var(--ease),transform 800ms var(--ease)}
  .case-return-zone:hover span,.case-return-zone:focus-visible span{opacity:.86;transform:translateY(0)}
  .case-return-zone:focus-visible{outline:2px solid #be795f}
  .case-project-list{display:flex;flex:1;flex-direction:column;align-items:center;gap:clamp(15px,2.4vh,27px);position:relative;z-index:2;width:clamp(210px,18vw,316px);height:100%;min-height:0;margin:0;padding:13px clamp(19px,2.5vw,45px) 65px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;scroll-behavior:smooth}
  .case-project-list::-webkit-scrollbar{display:none}
  .case-project-list::before{display:none}
  .case-project-list .case-list-item{position:relative;left:auto;top:auto;display:flex;flex:0 0 auto;flex-direction:column;align-items:center;width:100%;height:auto;min-height:0;padding:0 5px;gap:0;margin:0!important;z-index:2;animation:caseOrbAppear 800ms var(--ease) both;animation-delay:calc(var(--float-index)*30ms)}
  .case-list-thumb{box-sizing:border-box;display:block;flex:none;width:clamp(97px,7.7vw,136px);height:clamp(97px,7.7vw,136px);min-width:0;min-height:0;aspect-ratio:1/1;border-radius:50%;animation:caseOrbFloat 8s ease-in-out infinite;animation-delay:var(--orb-delay,0s)}
  .case-list-thumb .orb-photo,.case-list-thumb .orb-pixels{width:100%;height:100%;border-radius:50%}
  .case-list-copy{width:100%;max-width:185px;margin-top:9px;opacity:.48;transition:opacity 800ms var(--ease),transform 800ms var(--ease)}
  .case-list-year{font-size:8px;margin-bottom:3px}
  .case-list-name{font-size:10px;line-height:1.35;min-height:0;max-height:2.75em;-webkit-line-clamp:2;overflow:hidden}
  .case-list-item:hover .case-list-copy,.case-list-item:focus-visible .case-list-copy,.case-list-item.is-active .case-list-copy{opacity:1;transform:translateY(2px)}
  .case-panel-header{height:68px}
  .case-hero-frame{height:clamp(390px,52svh,690px)}
  .case-hero-image{width:100%;height:100%;object-fit:cover;object-position:center}
  .case-body{padding:clamp(46px,4.8vw,102px) clamp(48px,5.2vw,115px) clamp(64px,6vw,130px)}
  .case-kicker{font-size:10px;letter-spacing:.16em;color:#c18069}
  .case-body h2{font-size:clamp(54px,4.9vw,112px);line-height:1.02;letter-spacing:-.072em;max-width:17ch;text-wrap:balance;margin:26px 0 clamp(39px,4vw,74px)}
  .case-meta{display:flex;align-items:flex-start;flex-wrap:wrap;gap:25px clamp(30px,4vw,83px);margin:0 0 clamp(44px,4.6vw,80px);padding:0;border:0}
  .case-meta>div{gap:9px;min-width:0}
  .case-meta span{font-size:10px;letter-spacing:.13em}
  .case-meta strong{font-size:clamp(13px,1vw,16px);font-weight:500;line-height:1.4}
  .case-description{font-size:clamp(19px,1.45vw,28px);line-height:1.55;max-width:970px;margin:0 0 clamp(42px,4.2vw,76px)}
  .case-gallery{gap:18px}
  .case-gallery-frame{height:clamp(270px,26vw,475px)}
  .case-gallery-frame:last-child:nth-child(odd){height:clamp(350px,35vw,610px)}
}
@media(min-width:1025px) and (max-height:700px){
  .case-sidebar-head{padding-top:13px}
  .case-sidebar-head h2{margin-top:4px}
  .case-project-list{gap:13px;padding-top:7px}
  .case-list-thumb{width:clamp(85px,6.8vw,114px);height:clamp(85px,6.8vw,114px)}
}
@media(max-width:1024px){
  .case-list-item{margin:0!important;min-height:183px;box-sizing:border-box}
  .case-list-thumb{box-sizing:border-box;flex:none;width:min(100%,126px);height:auto;aspect-ratio:1/1;min-width:0;min-height:0;border-radius:50%}
  .case-list-thumb .orb-photo,.case-list-thumb .orb-pixels{width:100%;height:100%;border-radius:50%}
  .case-list-item:nth-child(3n+2),.case-list-item:nth-child(4n+3){margin-top:0}
}

/* Equipment: real catalogue examples preserved from the latest first-site revision. */
.equipment-gallery{min-width:0}
.equipment-gallery .equipment-photo-wrap{background:#eae9e5;height:clamp(330px,35vw,440px)}
.equipment-gallery .equipment-photo-wrap::after{display:none}
.equipment-gallery .equipment-photo-wrap img,.equipment-gallery:hover .equipment-photo-wrap img,.equipment-panel.equipment-animate .equipment-gallery img{width:100%;height:100%;object-fit:contain;padding:38px 38px 24px;filter:none;transform:none;animation:none;mix-blend-mode:multiply;transition:opacity .3s}
.equipment-gallery .equipment-photo-count{color:#292826;background:rgba(250,249,246,.89);border-color:#cac8c3;z-index:3}
.equipment-gallery-label{position:absolute;top:23px;left:25px;background:rgba(250,249,246,.89);color:#585551;border:1px solid #cac8c3;padding:9px 12px;font-size:9px;font-weight:800;letter-spacing:.12em;z-index:2}
.equipment-gallery-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:19px 27px 7px;border-bottom:1px solid var(--line)}
.equipment-slide-copy{min-width:0;padding-bottom:17px}
.equipment-slide-copy>span{display:block;color:var(--muted);font-size:10px;line-height:1.5;margin-bottom:7px}
.equipment-slide-copy>strong{display:block;font-size:18px;line-height:1.3;font-weight:600;letter-spacing:-.025em;overflow-wrap:anywhere}
.equipment-slide-copy>a{display:inline-block;font-size:10px;color:var(--accent-soft);border-bottom:1px solid var(--line-light);padding:8px 0 2px}
.equipment-gallery-controls{display:flex;gap:7px;flex-shrink:0}
.equipment-gallery-controls button{width:43px;height:43px;display:grid;place-items:center;background:var(--ui-bg);color:var(--text);border:1px solid var(--line-light);border-radius:50%;transition:background .2s,border-color .2s}
.equipment-gallery-controls button:hover{background:var(--ui-selected);border-color:var(--accent)}
.equipment-gallery-controls svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.5;fill:none;stroke-linejoin:round;stroke-linecap:round}
.equipment-gallery-dots{display:flex;gap:4px;padding:7px 26px 13px;border-bottom:1px solid var(--line)}
.equipment-gallery-dots button{flex:1;min-width:24px;max-width:60px;height:26px;padding:0 2px;display:grid;place-items:center;border:0;background:transparent}
.equipment-gallery-dots button span{display:block;width:100%;height:2px;background:var(--line-light)}
.equipment-gallery-dots button[aria-current="true"] span{background:var(--accent)}
@media(max-width:600px){
  .equipment-gallery .equipment-photo-wrap{height:300px}
  .equipment-gallery .equipment-photo-wrap img{padding:50px 16px 20px}
  .equipment-gallery-label{left:13px;top:14px;font-size:7px;padding:8px}
  .equipment-gallery .equipment-photo-count{top:14px;right:13px;padding:8px}
  .equipment-gallery-bar{padding:16px 15px 7px;gap:8px}
  .equipment-slide-copy>strong{font-size:16px}
  .equipment-slide-copy>span{font-size:9px}
  .equipment-gallery-controls{gap:3px}
  .equipment-gallery-controls button{width:38px;height:38px}
  .equipment-gallery-dots{padding-inline:16px}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}
  .js .reveal{opacity:1;transform:none}
  .js .project-card.project-reveal{opacity:1;transform:none}
  .hero-center{transform:none;opacity:1}
  .cinematic-scene{height:auto;--scene-progress:1;--scene-copy-progress:1}
  .cinematic-sticky{position:relative;height:600px}
  .cinematic-frame{transform:none;border-radius:0}
  .cinematic-frame img{transform:none}
  .cinematic-copy{opacity:1;transform:none}
  .cinematic-frame img{transform:none}
  .project-orb::before,.equipment-photo-wrap::before,.case-hero-frame::before,.case-gallery-frame::before{animation:none}
}

/* Services: in-section format selection. */
#services .services-heading{margin-bottom:36px}
#services .service-switcher{position:relative;overflow:clip;overflow-anchor:none}
#services .service-view[hidden]{display:none!important}
#services .service-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#services .service-choice{font:inherit;text-align:left;color:var(--text);background:#24201e;border:1px solid #453b36;padding:32px;min-height:410px;display:grid;grid-template-rows:auto 1fr 1fr auto;gap:22px;cursor:pointer;transition:background 250ms,border-color 250ms}
#services .service-choice:hover{background:#2b2522;border-color:#ae5a44}
#services .service-choice:focus-visible,#services .service-back:focus-visible,#services .service-discuss:focus-visible{outline:2px solid #c67b66;outline-offset:5px}
#services .service-choice .micro-label{color:#c67b66;font-size:10px}
#services .service-choice-title{font-size:clamp(30px,3.3vw,48px);line-height:1.15;letter-spacing:-.055em;max-width:15ch;align-self:start;text-wrap:balance}
#services .service-choice-desc{font-size:13px;line-height:1.75;color:var(--muted);max-width:46ch}
#services .service-choice-link{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:600;padding-top:16px;border-top:1px solid #514139}
#services .service-choice-link>span:last-child{transition:transform 250ms;color:#c67b66;font-size:23px}
#services .service-choice:hover .service-choice-link>span:last-child{transform:translateX(5px)}
#services .service-back{display:flex;align-items:center;gap:12px;background:none;border:0;color:#d2c4bd;font:inherit;font-size:15px;cursor:pointer;padding:12px 0;margin-bottom:30px;transition:color 250ms ease}
#services .service-back>span[aria-hidden]{color:#c67b66}
#services .service-back:hover{color:#e0a18b}
#services .service-catalog-group li{color:#c9c0ba;font-size:15px;line-height:1.75;padding-top:10px;padding-bottom:10px}
#services .service-catalog-group li::before{top:23px}
#services .service-detail-heading h3{font-size:clamp(24px,2.85vw,38px);font-weight:400;letter-spacing:-.05em;margin:0 0 16px}
#services .service-detail-heading p{font-size:14px;line-height:1.8;color:var(--muted);max-width:76ch;margin:0 0 30px}
#services .service-stages{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
#services .service-stages li{display:grid;grid-template-columns:55px 1fr;gap:20px;padding:23px 0;border-bottom:1px solid var(--line)}
#services .service-stage-number{font-size:11px;color:#c67b66;padding-top:4px}
#services .service-stages h4{font-size:20px;font-weight:400;margin:0 0 9px}
#services .service-stages p{font-size:13px;line-height:1.7;color:var(--muted);margin:0}
#services .service-discuss{margin:32px 0 6px;cursor:pointer}
#services .service-catalog-group{padding-top:16px}
#services .service-catalog-extra{margin-top:22px}
@media(max-width:600px){
 #services .service-choices{grid-template-columns:1fr;grid-auto-rows:1fr}
 #services .service-choice{min-height:322px;padding:24px;gap:18px;grid-template-rows:auto 1fr 1fr auto}
 #services .service-choice-title{font-size:32px}
 #services .service-choice-desc{font-size:12px}
 #services .service-catalog-grid{grid-template-columns:1fr}
 #services .service-stages li{grid-template-columns:29px 1fr;gap:12px}
 #services .service-back{font-size:14px}
 #services .service-catalog-group li{font-size:14px}
}
@media(prefers-reduced-motion:reduce){#services *,#services *::before,#services *::after{transition:none!important;animation:none!important}}
#services .services-heading{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);align-items:start;gap:clamp(30px,6vw,90px);min-height:124px;margin-bottom:36px}
#services .services-heading h2{min-width:0;max-width:100%;margin:0}
#services .services-heading .section-aside{min-width:0;max-width:100%;margin:5px 0 0;white-space:normal;color:var(--muted)}

/* Each translated list flows independently; a wrapped line must not
   increase the height of unrelated rows in the other two columns. */
@media(min-width:601px){
 #services .service-catalog-grid{grid-template-rows:none;align-items:start}
 #services .service-catalog-group{display:flex;flex-direction:column}
 #services .service-catalog-group h4{min-height:2.55em}
 #services .service-catalog-group ul{display:block}
 #services .service-catalog-group li{min-height:46px}
}
@media(max-width:820px){
 #services .services-heading{min-height:176px;gap:26px}
}
@media(max-width:600px){
 #services .services-heading{display:block;min-height:0;margin-bottom:36px}
 #services .services-heading h2{min-height:calc(1.25em * 4)}
 #services .services-heading .section-aside{min-height:9em;margin-top:14px}
 #services .service-catalog-group h4{min-height:0}
 #services .service-catalog-group li{min-height:0}
}

/* Event-first hero: show a readable headline immediately, including after returning to top. */
.hero-word{animation-name:wordRiseReadable;animation-duration:390ms;animation-delay:calc(var(--word-index)*28ms)}
@keyframes wordRiseReadable{from{opacity:.82;transform:translateY(5px);filter:blur(1.5px)}to{opacity:1;transform:translateY(0);filter:blur(0)}}
.hero h1{transition:opacity 170ms ease,transform 170ms ease,filter 170ms ease}
.hero h1.hero-changing{opacity:.91;transform:translateY(-3px);filter:blur(1.5px)}
.hero-center{opacity:calc(1 - var(--hero-progress)*.32)}

/* Show only confirmed contact details; legal details can follow when supplied. */
.site-footer{grid-template-columns:1fr auto}
.footer-contacts{display:flex;flex-wrap:wrap;gap:10px 28px;align-items:center;justify-content:flex-end}
.footer-contacts a{color:#a59a93;font-size:11px;letter-spacing:0;transition:color .2s}
.footer-contacts a:hover{color:var(--text)}
@media(max-width:600px){
  .site-footer{grid-template-columns:1fr;gap:17px}
  .footer-contacts{justify-content:flex-start;gap:8px 18px}
  .footer-contacts a{font-size:10px}
}
