/* Original IGTech composition, softened with the logo's mint and teal facets. */
:root{
  --g-50:#F0F8F5;--g-100:#DEF0E9;--g-200:#B5DFD0;--g-300:#83CDB8;
  --g-400:#54BDA6;--g-500:#2CAA91;--g-600:#228875;--g-700:#206C5D;
  --g-800:#1A5146;--g-900:#163B33;
  --paper:#F4F7F3;--paper-2:#E9F1EA;--ink:#17372D;--ink-2:#43594D;
  --ink-3:#61736A;--line:#D1DFD5;--dark:#163C33;
}
.hero{background:linear-gradient(145deg,#1D5045 0%,#173F36 58%,#12382F 100%)}
.hero-grid{opacity:.34}
.hero-glow{opacity:.4}
.hero-stage::before{opacity:.4}
.hero .hero-sub{color:#D5E5DC}
.hero-kicker{color:#A8DCD0}
.hero-meta{color:#C0D9CD;border-top-color:rgba(207,232,219,.22)}
.hero-meta span::before{background:#65C3AD}
.face{border-color:rgba(172,224,207,.43)}
.f-top{background-color:rgba(174,225,208,.27);border-color:rgba(183,234,216,.54)}
.f-front{background-color:rgba(153,216,194,.17)}
.f-right{background-color:rgba(62,180,158,.16)}
.f-left{background-color:rgba(54,162,141,.13)}
.site-header.solid,body.legal-view .site-header{background:rgba(244,247,243,.96)}
.about-glow{opacity:.3}
.about-grid p{color:#D4E3D9}
.principle p{color:#C3D8CA}
.about .label{color:#B4CFC0}
.quote cite,.leadership .role,.principle .n,.foot-col h5{color:#A8DCD0}
.site-footer{background:#14382F;color:#C4D8CC}
.foot-bot{color:#A1BEAD}
.proj .frame{background:transparent}
.proj .shot,.proj.wide .shot,.proj.half .shot{aspect-ratio:auto;height:auto;object-fit:contain}
.proj .imgcred{font-size:11px;letter-spacing:.025em;line-height:1.6;text-transform:none;color:#536B5C;opacity:1}
.svc .classification{font-family:var(--sans);font-size:12px;line-height:1.65;color:var(--ink-3);margin-top:14px;max-width:43ch}
.svc-title h3{overflow-wrap:anywhere}
.skip-link{position:fixed;top:-100px;left:20px;z-index:150;padding:12px 18px;background:var(--paper);color:var(--ink)}
.skip-link:focus{top:12px}
/* Keep the final two references together at every multi-column breakpoint. */
.proj:nth-last-child(-n+2){grid-column:span 2}
.nav{visibility:visible}
@media(max-width:1180px){.proj:nth-last-child(-n+2){grid-column:span 3}}
@media(max-width:900px){
  .nav{visibility:hidden}.menu-open .nav{visibility:visible}
  .proj:nth-last-child(-n+2){grid-column:span 3}
  .proj .imgcred{font-size:12px}
}
@media(max-width:640px){.proj:nth-last-child(-n+2){grid-column:span 6}}
@media(max-width:560px){.facts{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Finishing pass: stable alignment, quieter interaction and readable rhythm. */
.svc-head .lead,.career-head .lead{margin-bottom:0}
.intro-body p:last-child,.about-grid>div p:last-child{margin-bottom:0}
.intro-grid>*,.svc>*,.proj,.contact-grid>*,.row2>*{min-width:0}
.h-l,.h-m,.svc h3,.job h3{text-wrap:balance}
.svc-title h3{overflow-wrap:normal;hyphens:auto;line-height:1.2}
.svc .idx{padding-top:3px}
.svc,.job{transition:background-color .22s ease}
.svc:hover,.job:hover{padding-left:0}
.job:focus-visible{background:var(--g-50)}
.svc li{line-height:1.55}
.fact .v{font-variant-numeric:tabular-nums}
.fact .k{line-height:1.6}
.proj .frame{aspect-ratio:auto;display:block}
.proj.wide .frame{aspect-ratio:auto}
.proj .shot,.proj.half .shot,.proj.wide .shot{display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain;min-height:0}
.proj .tag{max-width:100%;line-height:1.5}
.proj .imgcred{margin:10px 0 0;min-height:3.2em;overflow-wrap:anywhere}
.proj h3{margin-top:12px;line-height:1.2}
.proj .specs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}
.proj.wide .specs{grid-template-columns:repeat(4,minmax(0,1fr))}
.proj .specs b{line-height:1.5;letter-spacing:.025em}
.proj .cred{line-height:1.65;margin-bottom:0}
.proj:hover .shot{transform:none}
.proj:hover .frame{background:transparent}
.btn{min-height:48px;max-width:100%;line-height:1.5}
.field input,.field select{min-height:46px}
.field input:focus-visible,.field select:focus-visible,.field textarea:focus-visible{outline:2px solid var(--g-700);outline-offset:4px}
.hero a:focus-visible,.hero button:focus-visible,.site-footer a:focus-visible{outline-color:var(--g-200)}
.nav a{min-height:44px;display:inline-flex;align-items:center}
.nav a::after{bottom:7px}
.nav a:focus-visible::after{width:100%}
.rv{opacity:1;transform:none;transition:none}
.rv.in{animation:gentle-entry .5s cubic-bezier(.2,.65,.3,1) both}
@keyframes gentle-entry{from{opacity:.35;transform:translateY(10px)}to{opacity:1;transform:none}}
@media(min-width:901px){.proj:not(.wide) h3{min-height:2.4em}}
@media(min-width:901px) and (max-width:1100px){
  .hero h1{font-size:clamp(50px,6vw,66px);max-width:14ch}
  .hero .hero-sub{max-width:46ch}
  .hero-stage{--s:180px;right:7%}
}
@media(max-width:900px){
  .svc{grid-template-columns:32px minmax(0,1fr)}
  .hero-stage{pointer-events:none;touch-action:pan-y}
  .proj.wide .frame{aspect-ratio:auto}
  .proj.wide .specs{grid-template-columns:repeat(2,minmax(0,1fr))}
  .nav{max-height:calc(100dvh - 74px);overflow-y:auto}
}
@media(max-width:640px){.proj .imgcred{min-height:0}.proj .specs{gap:14px 16px}}
@media(prefers-reduced-motion:reduce){.rv.in{animation:none}.cube{will-change:auto}}

/* Open business layout: whitespace, rules and a single quiet contact colour field. */
.section{padding-block:clamp(68px,8.5vw,120px)}
.label{margin-bottom:clamp(28px,3.4vw,44px)}
.sectors{background:transparent;border:0;gap:24px 32px}
.sector{background:transparent;border-top:1px solid var(--line);padding:22px 0 0}
.sector h4{line-height:1.6}
.svc li{border:0;padding:2px 0;margin-right:12px;font-family:var(--sans);font-size:12px;letter-spacing:.015em;text-transform:none}
.svc li:before{content:'·';margin-right:7px;color:var(--g-600)}
#kontakt{background:#E9F2EC;border-top:1px solid #D3E3D9}
.contact-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.office,.office.sub{border-top-color:#B5CFC0}
.office:first-child{border-top-color:var(--g-600)}
.office address{font-weight:400;font-size:16px;line-height:1.8}
.office a{transition:color .2s ease,border-color .2s ease}
.office a:hover,.office a:focus-visible{color:var(--g-700);border-bottom-color:var(--g-600)}
.form-block{margin-top:clamp(52px,6vw,80px);padding-top:clamp(36px,4vw,56px)}
.field input,.field textarea,.field select{background:transparent}
.btn{transition:background-color .2s ease,color .2s ease,border-color .2s ease}
.rv.in{animation:gentle-entry .48s cubic-bezier(.2,.65,.3,1) both}
@media(hover:hover) and (pointer:fine){
  .proj h3 a{transition:color .2s ease}
  .proj h3 a:hover{color:var(--g-700)}
  .job:hover .go span{transform:translateX(4px)}
}
@media(max-width:900px){.contact-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.rv.in{animation:none}}

/* Full-width photographs without tinted letterboxing; gentle desktop image motion. */
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  .proj .shot{transition:transform .8s cubic-bezier(.16,.84,.44,1)}
  .proj:hover .shot{transform:scale(1.035)}
}

/* Shared project rows align captions and details beneath consistent image frames. */
@supports(grid-template-rows:subgrid){
  .proj-grid{row-gap:0}
  .proj{display:grid;grid-template-rows:subgrid;grid-row:span 6;row-gap:0;padding-bottom:48px}
  .proj .frame{align-self:start}
  .proj .imgcred{margin:10px 0 0;min-height:0;padding-bottom:12px}
  .proj h3,.proj:not(.wide) h3{margin:0;min-height:0;padding-bottom:10px}
  .proj .place{margin:0;align-self:start}
  .proj .specs{align-content:start}
  .proj .cred{align-self:start}
}
/* A visible architectural grid adds depth without competing with the copy. */
.about::before{content:"";position:absolute;inset:0;pointer-events:none;
  background-image:linear-gradient(rgba(131,205,184,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(131,205,184,.045) 1px,transparent 1px);
  background-size:144px 144px;mask-image:linear-gradient(120deg,#000,rgba(0,0,0,.25) 65%,#000)}
.about-glow{opacity:1;background:radial-gradient(ellipse at 85% 15%,rgba(84,189,166,.17),transparent 60%)}
.principle{transition:transform .35s ease}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.principle:hover{transform:translateY(-4px)}}
/* One integrated contact surface, inspired by the supplied example. */
#kontakt{background:linear-gradient(135deg,#20584B,#163C33);padding-block:clamp(48px,6vw,88px)}
#kontakt>.wrap{background:#fff;padding:clamp(26px,4vw,56px);border-radius:6px;box-shadow:0 20px 60px rgba(10,36,28,.14)}
#kontakt h2.h-l{font-size:clamp(30px,3.6vw,46px);max-width:24ch!important;margin-bottom:40px!important}
#kontakt .label{margin-bottom:24px}
.contact-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:clamp(32px,5vw,64px);align-items:start}
.contact-layout .form-block{grid-column:1;grid-row:1;display:block;margin:0;padding:0;border:0;min-width:0}
.contact-layout .form-block h3{font-size:24px;max-width:none!important}
.contact-layout form{margin-top:24px;gap:18px}
.contact-layout .contact-grid{grid-column:2;grid-row:1;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 24px}
.contact-layout .office:first-child{grid-column:1/-1}
.contact-layout .office{padding-top:18px}
.contact-layout .office h3{font-size:23px}
.contact-layout .office address{font-size:14px;margin-top:14px;overflow-wrap:anywhere}
.contact-layout .office .tagline{font-size:9px;letter-spacing:.1em}
.contact-layout .field input,.contact-layout .field select,.contact-layout .field textarea{background:#F1F5F2;border:1px solid #DDE7E0;border-radius:4px;padding:12px 14px}
.contact-layout .field textarea{min-height:150px}
.contact-layout .row2{gap:16px}
.contact-layout .btn{border-radius:3px;letter-spacing:.08em;padding-inline:22px}
@media(max-width:1000px){
  .contact-layout{grid-template-columns:1fr}
  .contact-layout .form-block{grid-column:1;grid-row:2}
  .contact-layout .contact-grid{grid-column:1;grid-row:1;grid-template-columns:repeat(3,minmax(0,1fr))}
  .contact-layout .office:first-child{grid-column:auto}
}
@media(max-width:640px){
  .contact-layout .contact-grid{grid-template-columns:1fr}
  .contact-layout .row2{grid-template-columns:1fr}
  .proj{padding-bottom:36px}
  .about::before{background-size:112px 112px}
}

/* Larger, equal project frames: no letterboxing or uneven image bottoms. */
.proj-grid .proj:not(.wide){grid-column:span 3}
.proj .frame,.proj.half .frame,.proj.wide .frame{aspect-ratio:16/10;align-self:start;background:transparent}
.proj .shot,.proj.half .shot,.proj.wide .shot{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center;aspect-ratio:auto}
.proj .imgcred{font-size:11px;line-height:1.55}
.proj h3{font-size:clamp(19px,1.8vw,23px)}
@media(max-width:640px){.proj-grid .proj:not(.wide){grid-column:span 6}}
/* A compact milky surface gives the company text a quiet visual anchor. */
.about-grid>div{padding:clamp(22px,2.5vw,34px);border:1px solid rgba(223,240,230,.17);border-radius:10px;
  background:linear-gradient(135deg,rgba(241,247,237,.12),rgba(225,240,231,.055));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 12px 30px rgba(9,30,23,.08);
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
.about-grid>div p{color:#E0EBE2;line-height:1.7}
.about-grid>div p:last-child{margin-bottom:0}
/* Warm ivory glass against soft logo-green light, preserving the contact layout. */
#kontakt{background:radial-gradient(ellipse at 12% 20%,rgba(150,202,176,.25),transparent 58%),radial-gradient(ellipse at 90% 80%,rgba(194,201,157,.14),transparent 52%),linear-gradient(135deg,#245B4E,#193E34)}
#kontakt>.wrap{background:linear-gradient(125deg,rgba(255,253,246,.96),rgba(239,247,239,.93));border:1px solid rgba(255,255,244,.6);border-radius:12px;
  -webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 18px 48px rgba(12,39,28,.12)}
.contact-layout .field input,.contact-layout .field select,.contact-layout .field textarea{background:rgba(255,255,250,.72);border-color:#CBDCCF}
.contact-layout .field input:focus,.contact-layout .field select:focus,.contact-layout .field textarea:focus{background:#FFFEF9;border-color:var(--g-600)}
