/* The hero is one photographic scene with an independent glass information sheet. */
.header{height:88px;border:0;left:50%;right:auto;width:100%;max-width:1840px;transform:translateX(-50%);padding-inline:var(--gutter);display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center}
.header .brand{justify-self:start;line-height:1;align-items:center}
.header .brand>span{display:block;line-height:1}
.header .brand img{height:20px;object-fit:contain}
.header .brand strong{color:#5682ff}
.header .desktop-nav{justify-self:center;align-items:center;line-height:1}
.header .desktop-nav a{display:inline-flex;align-items:center;min-height:38px;line-height:1}
.header .header-contact{justify-self:end;display:inline-flex;align-items:center;gap:9px;min-height:38px;margin:0;font-size:13px;line-height:1;white-space:nowrap}
.header .header-status-label{font-size:inherit;line-height:1}
.header .header-status-label>.status-start{font-size:inherit;line-height:inherit}
.header .header-status-dot{display:block;width:7px;height:7px;flex:none;border-radius:50%;background:#f0c862;box-shadow:0 0 12px #f0c86225;transition:background .3s,box-shadow .3s}
.header .header-availability[data-available=true] .header-status-dot{background:#71dd9c;box-shadow:0 0 12px #71dd9c35}
.hero-scroll{height:155svh;min-height:1110px;background:#101114}
.hero-stage{min-height:800px;max-width:1840px;margin-inline:auto;overflow:hidden;--frame:var(--gutter);--sheet-gap:22px;--sheet-top:110px}
.hero-scene{position:absolute;inset:88px var(--frame) var(--frame);overflow:hidden;border-radius:38px;background:radial-gradient(ellipse at 80% 50%,#2c3e65 0%,#1a202d 40%,#131417 80%);border:1px solid #ffffff10}
.hero-photo{position:absolute;inset:0;width:100%;height:100%;min-height:0;max-height:none;background:transparent}
.hero-photo #hero-portrait{position:absolute;inset:0 auto 0 6%;width:auto;max-width:64%;height:100%;object-fit:contain;object-position:center bottom;transform:none;transform-origin:28% 60%;mask-image:linear-gradient(90deg,transparent,#000 10%,#000 80%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 10%,#000 80%,transparent)}
.hero-photo:after{background:linear-gradient(0deg,#11151c99,transparent 24%);z-index:1}
.photo-caption{left:32px;bottom:25px;color:#adb2bb;font-size:11px}
.hero-scene .light-field{z-index:1;opacity:.38;mask-image:linear-gradient(90deg,transparent 15%,#000 68%)}
.hero-panel{position:absolute;inset:var(--sheet-top) calc(var(--frame) + var(--sheet-gap)) calc(var(--frame) + var(--sheet-gap)) 47%;padding:clamp(28px,2.7vw,48px);border-radius:30px;border:1px solid #ffffff75;background:linear-gradient(138deg,#ffffff18,transparent 36%,#d5e3ff08),#1a233270;box-shadow:inset 0 2px 3px #ffffff70,inset 0 -2px 8px #ffffff20,inset 2px 0 5px #ffffff18,0 22px 70px #00000025,0 4px 15px #00000012;backdrop-filter:blur(10px) saturate(1.45) contrast(1.03);-webkit-backdrop-filter:blur(10px) saturate(1.45) contrast(1.03);justify-content:center;overflow:hidden;isolation:isolate;will-change:left}
.hero-panel:before{content:'';position:absolute;inset:0;border-radius:inherit;padding:1px;background:linear-gradient(135deg,#ffffffe0 0%,#ffffff25 24%,#ffffff08 52%,#ffffff90 100%);mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask-composite:exclude;-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;pointer-events:none;z-index:3}
.hero-panel:after{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at var(--glass-x,80%) var(--glass-y,10%),#edf4ff26,transparent 58%),linear-gradient(118deg,#ffffff0d,transparent 25%,transparent 75%,#ffffff10);pointer-events:none;z-index:0}
.hero-copy{width:min(100%,850px)}
.hero-copy>.eyebrow{font-size:11px;margin-bottom:23px;color:#f1f3f8;gap:12px;letter-spacing:.09em}
.hero-disciplines>span{opacity:.5;font-weight:400}
.hero-copy h1{font-size:clamp(28px,2.5vw,42px);line-height:1.24;letter-spacing:-.045em;font-weight:600;margin-left:-1px;max-width:25ch;text-wrap:pretty}
.hero-copy h1>.hero-lead{display:block;margin-bottom:.18em}
.hero-copy h1>.hero-rest{display:inline}
.hero-highlight{padding:.025em .075em .055em;margin-inline:-.075em;border-radius:.06em;color:#fff;background-image:linear-gradient(#245bff,#245bff);background-repeat:no-repeat;background-size:100% 100%;background-position:left center;-webkit-box-decoration-break:clone;box-decoration-break:clone;animation:hero-highlight-sweep .95s cubic-bezier(.18,.7,.2,1) 1.05s both}
.hero-marker{padding-bottom:.12em;background-image:url('/assets/v5/marker-stroke.svg');background-repeat:no-repeat;background-position:left bottom;background-size:100% .32em;-webkit-box-decoration-break:clone;box-decoration-break:clone;animation:hero-marker-draw .85s cubic-bezier(.2,.65,.2,1) 2.1s both}
@keyframes hero-highlight-sweep{from{background-size:0% 100%}to{background-size:100% 100%}}
@keyframes hero-marker-draw{from{background-size:0% .32em}to{background-size:100% .32em}}
.hero-name{margin-top:17px;font-size:13px;line-height:1.5;color:#e0e4ec}
.hero-description{font-size:clamp(16px,1.15vw,19px);margin-top:23px;color:#f1f3f8;line-height:1.65;max-width:57ch}
.hero-actions{gap:24px;margin-top:29px}
.hero-actions .button{border-radius:100px;min-height:56px;padding:16px 22px;font-size:14px;gap:30px;box-shadow:inset 0 1px 0 #fff,0 6px 20px #0002}
.hero-actions .text-link{font-size:13px}
.hero-stats{margin-top:25px;padding-top:21px;grid-template-columns:1fr 1.3fr;gap:24px;border-color:#ffffff40;max-width:430px}
.hero-stats dt{font-size:38px;line-height:1.1}
.hero-stats dt>span{font-size:18px;color:#f7f8fc;letter-spacing:-.03em;margin-left:2px}
.hero-stats dd{font-size:13px;color:#e4e8ef;max-width:none;margin-top:7px}
.hero-bottom{position:relative;inset:auto;margin-top:23px;gap:18px;font-size:9px;color:#e0e4ec}
.hero-contact{position:relative;width:min(100%,520px);height:60px;margin-top:27px;isolation:isolate}
.project-contact-toggle{position:absolute;inset:0;width:100%;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:10px 12px 10px 23px;border-radius:100px;background:#f8fafc;color:#171d27;font-size:15px;font-weight:600;box-shadow:inset 0 1px 1px #fff,0 5px 18px #00000016;transition:opacity .3s,transform .5s cubic-bezier(.16,1,.3,1),filter .3s,background .3s;transform-origin:center}
.project-contact-toggle:hover{background:white}
.contact-toggle-icon{display:grid;place-items:center;width:38px;height:38px;flex:none;border:1px solid #141e2c26;border-radius:50%;font-size:23px;transition:transform .4s cubic-bezier(.16,1,.3,1),background .3s}
.project-contact-toggle:hover .contact-toggle-icon{transform:rotate(45deg);background:#e9edf5}
.hero-contact.is-open .project-contact-toggle{opacity:0;transform:scale(.94);filter:blur(6px);pointer-events:none}
.hero-messengers{position:absolute;inset:0;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.hero-messengers[hidden]{display:none}
.messenger-choice{display:flex;align-items:center;gap:12px;padding:10px 15px;border-radius:100px;background:#f8fafc;color:#1a2230;box-shadow:inset 0 1px 1px #fff,0 5px 18px #00000016;transition:background .25s,transform .35s cubic-bezier(.16,1,.3,1);font-size:11px;line-height:1.35;min-width:0}
.messenger-choice:hover{transform:translateY(-3px);background:#fff}
.messenger-choice>svg{width:24px;height:24px;flex:none}
.messenger-choice>span:not(.messenger-arrow){flex:1}
.messenger-choice strong{display:block;font-size:15px;font-weight:600;letter-spacing:-.02em}
.messenger-choice .messenger-arrow{font-size:20px;flex:none}
.messenger-telegram>svg{color:#198bc9}
.messenger-max>svg{color:#5259dc}
.hero-work .header{mix-blend-mode:normal}
.hero-work .hero-scene{background:radial-gradient(ellipse at 27% 20%,#eceeeb 0%,#b8bec6 51%,#4b5b72 100%)}
.hero-work .hero-photo{background:transparent}
.hero-work .hero-photo #hero-portrait{position:absolute;left:0;padding:28px 15px 0;width:61%;height:100%;object-position:center bottom;mask-image:none;-webkit-mask-image:none}
.hero-work .hero-photo:after{background:none}
.hero-work .hero-back-logo{width:44%;top:10%;left:5%;opacity:.12}
.hero-work .hero-panel{background:linear-gradient(138deg,#ffffff18,transparent 40%,#d5e3ff08),#1a233270}
.hero-work .hero-scene .light-field{opacity:.3}
.motion-off .hero-scroll{height:100svh;min-height:800px}
.motion-off .hero-panel{left:47%!important}

@media(min-width:801px) and (max-width:1150px){
  .hero-stage{--sheet-gap:16px;--sheet-top:104px}
  .hero-panel{padding:30px;left:45%}
  .hero-copy h1{font-size:clamp(27px,2.9vw,33px)}
  .hero-copy>.eyebrow{font-size:10px;margin-bottom:22px}
  .hero-actions{gap:13px;margin-top:24px}
  .hero-actions .button{font-size:13px;padding:14px 18px;gap:20px;min-height:52px}
  .hero-actions .text-link{font-size:12px}
  .hero-stats{gap:12px;margin-top:28px}
  .hero-stats dt{font-size:34px}
  .hero-stats dd{font-size:12px}
  .hero-bottom{margin-top:20px;font-size:8px}
  .messenger-choice{gap:9px;padding-inline:13px}
  .messenger-choice>svg{width:21px;height:21px}
  .messenger-choice .messenger-arrow{display:none}
  .motion-off .hero-panel{left:45%!important}
}
@media(min-width:801px) and (max-height:780px){
  .hero-stage{min-height:760px;--sheet-gap:16px;--sheet-top:98px}
  .header{height:82px}
  .hero-scene{top:82px;border-radius:32px}
  .hero-panel{padding:26px 34px}
  .hero-copy h1{font-size:clamp(26px,2.2vw,34px);line-height:1.23}
  .hero-copy>.eyebrow{margin-bottom:17px;font-size:11px}
  .hero-name{margin-top:12px;font-size:12px}
  .hero-description{font-size:15px;margin-top:17px;line-height:1.55}
  .hero-actions{margin-top:22px;gap:18px}
  .hero-actions .button{min-height:50px;padding:13px 20px;font-size:13px}
  .hero-actions .text-link{font-size:12px}
  .hero-stats{margin-top:20px;padding-top:16px}
  .hero-stats dt{font-size:31px}
  .hero-stats dd{margin-top:6px;font-size:12px}
  .hero-contact{height:54px;margin-top:22px}
  .hero-bottom{margin-top:18px;font-size:8px}
  .motion-off .hero-scroll{min-height:760px}
}
@media(max-width:800px){
  .header{height:76px;padding-inline:var(--gutter);grid-template-columns:minmax(0,1fr) auto auto;gap:16px}
  .header .brand img{height:18px}
  .header .header-contact{font-size:12px}
  .mobile-nav{inset:76px 14px auto;border-radius:24px;border:1px solid #ffffff29;background:#181d28e8;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}
  .hero-scroll,.motion-off .hero-scroll{height:auto;min-height:0}
  .hero-stage{position:relative;min-height:0;height:auto;display:block;padding:clamp(380px,56svh,520px) calc(var(--frame) + 12px) calc(var(--frame) + 12px)}
  .hero-scene{inset:76px var(--frame) var(--frame);border-radius:32px;background:radial-gradient(ellipse at 80% 90%,#273b5c,#13161c 60%)}
  .hero-photo{position:absolute;inset:0;width:100%;height:100%}
  .hero-photo #hero-portrait{inset:0 0 auto;width:100%;max-width:100%;height:650px;max-height:78svh;object-fit:cover;object-position:50% 20%;mask-image:linear-gradient(#000 0%,#000 65%,transparent 100%);-webkit-mask-image:linear-gradient(#000 0%,#000 65%,transparent 100%)}
  .hero-photo:after{background:none}
  .photo-caption{display:none}
  .hero-scene .light-field{opacity:.3;mask-image:linear-gradient(transparent 30%,#000)}
  .hero-panel,.motion-off .hero-panel{position:relative;inset:auto!important;width:100%;min-height:0;margin:0;border-radius:29px;padding:32px;background:linear-gradient(140deg,#ffffff18,transparent 55%),#1a233270;backdrop-filter:blur(10px) saturate(1.45) contrast(1.03);-webkit-backdrop-filter:blur(10px) saturate(1.45) contrast(1.03)}
  .hero-copy h1{font-size:clamp(27px,4.4vw,36px);max-width:30ch;line-height:1.25}
  .hero-marker{background-image:none;animation:none;padding-bottom:0}
  .hero-copy>.eyebrow{font-size:10px;margin-bottom:21px}
  .hero-description{font-size:14px;margin-top:21px;line-height:1.65}
  .hero-actions{gap:16px;margin-top:25px}
  .hero-actions .button{font-size:14px;min-height:54px;padding:15px 20px}
  .hero-actions .text-link{font-size:13px}
  .hero-stats{grid-template-columns:1fr 1.3fr;gap:18px;margin-top:25px;padding-top:22px}
  .hero-stats dt{font-size:35px}
  .hero-stats dd{font-size:12px;line-height:1.5}
  .hero-bottom{margin-top:25px;inset:auto;font-size:8px}
  .hero-work .hero-scene{background:linear-gradient(#dce0e1 0%,#a7b0bd 65%,#26344d)}
  .hero-work .hero-photo #hero-portrait{width:100%;height:640px;max-height:78svh;padding:0 15px;object-fit:contain;object-position:center top;mask-image:linear-gradient(#000 65%,transparent);-webkit-mask-image:linear-gradient(#000 65%,transparent)}
  .hero-work .hero-back-logo{width:84%;left:8%;top:6%}
  .hero-work .hero-panel{background:linear-gradient(140deg,#ffffff18,transparent 55%),#1a233270}
}
@media(max-width:500px){
  .header{height:72px;padding-inline:var(--gutter)}
  .header{gap:10px}
  .header .brand{font-size:clamp(17px,4.8vw,20px);gap:7px}
  .header .brand img{width:32px;height:14px}
  .header .header-contact{font-size:10.5px;gap:7px}
  .header .header-status-dot{width:6px;height:6px}
  .mobile-nav{top:72px}
  .hero-stage{padding:clamp(345px,52svh,440px) calc(var(--frame) + 10px) calc(var(--frame) + 10px)}
  .hero-scene{inset:72px var(--frame) var(--frame);border-radius:30px}
  .hero-photo #hero-portrait{height:550px;max-height:72svh;object-position:50% 15%}
  .hero-panel{padding:28px 22px;border-radius:25px}
  .hero-copy h1{font-size:clamp(25px,6.8vw,31px);letter-spacing:-.04em;line-height:1.28}
  .hero-copy>.eyebrow{font-size:8px;letter-spacing:.065em;margin-bottom:20px;gap:7px;white-space:nowrap}
  .hero-name{margin-top:16px;font-size:12px}
  .hero-description{font-size:14px;line-height:1.7;margin-top:22px}
  .hero-description br{display:none}
  .hero-actions{gap:12px;margin-top:23px;align-items:stretch;flex-direction:column}
  .hero-actions .button{width:100%;font-size:13px;min-height:51px;padding:14px 18px}
  .hero-actions .text-link{width:100%;justify-content:space-between;font-size:12px;padding:10px 1px}
  .hero-stats{gap:18px;grid-template-columns:1fr 1.3fr;margin-top:25px;padding-top:21px}
  .hero-stats dt{font-size:33px}
  .hero-stats dt>span{font-size:16px}
  .hero-stats dd{font-size:11px;color:#e4e8ef}
  .hero-contact{height:60px;margin-top:27px}
  .project-contact-toggle{font-size:14px;padding-left:19px}
  .messenger-choice{gap:8px;padding:10px 12px;font-size:10px}
  .messenger-choice>svg{width:21px;height:21px}
  .messenger-choice strong{font-size:13px}
  .messenger-choice .messenger-arrow{display:none}
  .hero-bottom{font-size:8px;margin-top:23px;gap:10px}
  .hero-bottom>span{max-width:140px}
  .hero-work .hero-photo #hero-portrait{height:540px;max-height:72svh}
}
@media(prefers-reduced-motion:reduce){
  .hero-scroll{height:100svh;min-height:800px}
  .hero-panel{left:47%!important}
  @media(min-width:801px) and (max-width:1150px){.hero-panel{left:45%!important}}
  @media(min-width:801px) and (max-height:780px){.hero-scroll{min-height:760px}}
  @media(max-width:800px){.hero-scroll{height:auto;min-height:0}.hero-panel{left:auto!important}}
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .hero-panel,.hero-work .hero-panel{background:#1a2232f2}
}

/* Approved illustration: original pixels, with a separate background-only logo layer. */
.hero-work .hero-scene{background:#fff}
.hero-work-art{position:absolute;inset:0 auto 0 0;width:58%;height:100%;transform-origin:35% 60%;will-change:transform}
.hero-work .hero-photo #hero-portrait{inset:0;width:100%;max-width:none;height:100%;max-height:none;padding:0;object-fit:contain;object-position:left top;transform:none!important;mask-image:none;-webkit-mask-image:none}
.hero-logo-layer{position:absolute;inset:0;z-index:2;width:100%;height:100%;pointer-events:none}
.hero-logo-drift{transform:translate(var(--logo-x,0px),var(--logo-y,0px));transition:transform 1.2s cubic-bezier(.2,.75,.2,1)}
.hero-work .hero-scene .light-field{clip-path:inset(0 0 0 58%);mask-image:none;opacity:.3}
.motion-off .hero-work-art{transform:none!important}
.motion-off .hero-logo-drift{transform:none!important}
@media(max-width:800px){
 .hero-work-art{inset:0 0 auto;width:100%;height:auto;aspect-ratio:1087/1447}
 .hero-work .hero-scene{background:#fff}
 .hero-work .hero-scene .light-field{display:none}
 .hero-work .hero-panel{background:linear-gradient(140deg,#ffffff18,transparent 55%),#1a233270}
}
@media(prefers-reduced-motion:reduce){.hero-work-art,.hero-logo-drift{transform:none!important}}

/* Fit the three sentences to the glass panel while keeping mobile wrapping. */
@media(min-width:801px){
 .hero-copy{container-type:inline-size}
 .hero-copy h1{max-width:none;white-space:nowrap;font-size:clamp(16px,5cqw,34px)}
}

/* First CTA trial: the accent dot grows from the icon's centre to fill the pill. */
.project-contact-toggle{overflow:hidden;isolation:isolate}
.project-contact-toggle:before{content:'';position:absolute;inset:0;z-index:0;background:var(--blue);clip-path:circle(6px at calc(100% - 31px) 50%);transition:clip-path .65s cubic-bezier(.22,.75,.2,1);pointer-events:none}
.project-contact-toggle>span{position:relative;z-index:1}
.project-contact-toggle .contact-toggle-icon{border-color:transparent;background:transparent;color:#fff;opacity:0;transform:scale(.55);transition:opacity .16s,transform .35s cubic-bezier(.16,1,.3,1)}
.project-contact-toggle:hover .contact-toggle-icon{background:transparent}
@media(hover:hover) and (pointer:fine){
 .project-contact-toggle{transition:opacity .3s,transform .5s cubic-bezier(.16,1,.3,1),filter .3s,color .25s .12s,background .3s}
 .project-contact-toggle:hover{color:#fff;background:#f8fafc}
 .project-contact-toggle:hover:before{clip-path:circle(150% at calc(100% - 31px) 50%)}
 .hero-contact .project-contact-toggle:hover .contact-toggle-icon{opacity:1;transform:none;transition-delay:.08s}
}
.project-contact-toggle:focus-visible{color:#fff;outline:2px solid #fff;outline-offset:4px}
.project-contact-toggle:focus-visible:before{clip-path:circle(150% at calc(100% - 31px) 50%)}
.project-contact-toggle:focus-visible .contact-toggle-icon{opacity:1;transform:none}
.project-contact-toggle:active:before{clip-path:circle(150% at calc(100% - 31px) 50%)}
.project-contact-toggle:active{color:#fff}
.project-contact-toggle:active .contact-toggle-icon{opacity:1;transform:none}
.motion-off .project-contact-toggle:before{transition:none}
@media(prefers-reduced-motion:reduce){.project-contact-toggle:before,.project-contact-toggle .contact-toggle-icon{transition:none}}
