:root{--ink:#14232e;--muted:#526570;--navy:#0a202d;--blue:#006d8a;--cyan:#55d3e5;--line:#d5e0e4;--paper:#f1f5f6;--white:#fff;--wrap:1240px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:#fff;color:var(--ink);font:400 17px/1.65 "Segoe UI",Arial,sans-serif}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}img{max-width:100%;display:block}button,a,input,textarea{touch-action:manipulation}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #0089ab;outline-offset:5px}.wrap{width:min(var(--wrap),calc(100% - 80px));margin-inline:auto}.skip{position:fixed;top:-80px;left:20px;z-index:100;background:white;padding:12px}.skip:focus{top:8px}.nav{position:sticky;top:0;z-index:50;background:#fffffffa;border-bottom:1px solid var(--line)}.nav-inner{height:88px;display:flex;align-items:center;justify-content:space-between;gap:30px}.brand{display:flex;align-items:center;gap:20px}.brand img{width:146px;height:auto;filter:brightness(0)}.brand-label{border-left:1px solid var(--line);padding-left:20px;font-size:13px;line-height:1.4;color:var(--muted)}.nav-links{display:flex;align-items:center;gap:27px;font-size:14px;font-weight:600}.nav-links a:hover{color:var(--blue)}.nav-links .nav-contact{padding:11px 18px;color:#fff;background:var(--navy)}.menu-toggle{display:none}.hero{background:var(--navy);color:#fff;position:relative;overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;min-height:650px;align-items:center;gap:65px;padding-block:82px}.eyebrow{display:block;font-size:13px;letter-spacing:.15em;text-transform:uppercase;font-weight:600;color:var(--blue);margin:0 0 24px}.hero .eyebrow,.dark .eyebrow{color:var(--cyan)}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(42px,4.9vw,70px);line-height:1.09;letter-spacing:-.045em;font-weight:600;margin-bottom:26px}h1 span{color:var(--cyan)}.hero-copy>p{color:#c5d4dc;font-size:19px;max-width:580px}.actions{display:flex;flex-wrap:wrap;align-items:center;gap:24px;margin-top:33px}.button{display:inline-flex;align-items:center;justify-content:center;gap:26px;padding:15px 22px;background:var(--blue);color:white;font-size:15px;font-weight:600;border:1px solid transparent;cursor:pointer;min-height:52px}.button:hover{background:#005970}.hero .button{background:var(--cyan);color:var(--navy)}.text-link{font-size:15px;font-weight:600;border-bottom:1px solid #647d8d;padding-bottom:5px}.hero-figure{margin:0;position:relative;align-self:stretch;min-height:420px}.hero-figure>img{width:100%;height:100%;object-fit:cover;position:absolute}.figure-label{position:absolute;bottom:0;left:0;right:0;background:#0a202deb;padding:22px 25px;border-left:3px solid var(--cyan);font-size:14px;color:#d6e8ee}.figure-label strong{display:block;color:#fff;font-size:20px;margin-bottom:4px}.expertise{background:var(--paper);border-bottom:1px solid var(--line)}.expertise .wrap{display:flex;justify-content:space-between;gap:25px;padding-block:23px;align-items:center}.expertise strong{font-size:16px;font-weight:600}.expertise span{font-size:14px;color:var(--muted)}.section{padding-block:96px}.section-head{display:grid;grid-template-columns:1.1fr .9fr;gap:65px;align-items:end;margin-bottom:45px}.section-head .eyebrow{margin-bottom:14px}h2{font-size:clamp(31px,3.2vw,46px);line-height:1.16;letter-spacing:-.035em;font-weight:600;margin-bottom:0}.section-head>p{color:var(--muted);margin:0;max-width:540px}h3{font-size:23px;line-height:1.25;letter-spacing:-.015em;font-weight:600}.services{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border-top:1px solid var(--line);border-left:1px solid var(--line)}.service{padding:32px;border-bottom:1px solid var(--line);border-right:1px solid var(--line)}.service-num{font-family:Consolas,monospace;font-size:14px;color:var(--blue);display:block;margin-bottom:35px}.service p{font-size:16px;color:var(--muted);margin-bottom:0}.platforms{background:var(--paper)}.platform-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.platform{background:#fff;padding:40px;border-top:3px solid var(--blue)}.platform h3{font-size:31px}.platform p{color:var(--muted);font-size:16px}.platform ul{padding-left:20px;font-size:16px}.tags{display:flex;gap:8px;flex-wrap:wrap;margin-block:24px}.tags span{background:var(--paper);border:1px solid var(--line);padding:5px 10px;font-size:13px}.platform .fine{font-size:14px}.dark{background:var(--navy);color:#fff}.dark .section-head>p{color:#c5d4dc}.year-group{display:grid;grid-template-columns:120px 1fr;gap:40px;padding-block:36px;border-top:1px solid #36505f}.year{font-size:34px;font-weight:400;letter-spacing:-.03em}.projects{display:grid;grid-template-columns:1fr 1fr;gap:20px}.project{background:#112d3d;border:1px solid #294655;display:flex;flex-direction:column;overflow:hidden}.project-image{width:100%;height:235px;object-fit:cover}.project-body{padding:29px;flex:1;display:flex;flex-direction:column}.project-meta{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:13px;color:#a9cbd9;margin-bottom:18px}.status{color:#b3e9d7}.status.progress{color:#ffd083;border:1px solid #6b5a39;padding:3px 8px}.project h3{font-size:25px;margin-bottom:10px}.project p{font-size:16px;color:#c4d5df;margin-bottom:20px}.project-footer{margin-top:auto;display:flex;flex-wrap:wrap;gap:8px;font-size:13px;color:#b6dce9}.project-footer span{border:1px solid #3c5a6a;padding:3px 9px}.project-credit{margin-top:14px;font-size:12px;color:#a8bfcd;line-height:1.45}.project-credit a{text-decoration:underline}.project-intro{color:#bad0dc;max-width:850px;font-size:16px;margin-top:-12px;margin-bottom:32px}.team-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}.person{border-top:2px solid var(--ink);padding-top:25px}.initials{font-size:14px;color:var(--blue);font-family:Consolas,monospace;margin-bottom:24px}.person h3{margin-bottom:8px}.person p{font-size:16px;color:var(--muted);margin-bottom:8px}.person .role{color:var(--ink);font-weight:600}.contact{background:var(--paper)}.contact-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:90px}.contact h2{margin-bottom:24px}.contact p{color:var(--muted)}.contact-list{display:grid;gap:10px;margin-top:35px;font-size:23px}.contact-list a{width:fit-content;border-bottom:1px solid var(--line)}.contact-list span{font-size:16px;color:var(--muted);margin-top:12px}.form{background:#fff;padding:36px;border:1px solid var(--line)}.fields{display:grid;grid-template-columns:1fr 1fr;gap:20px}.field{display:grid;gap:7px;font-size:14px;font-weight:600}.field.wide{grid-column:1/-1}input,textarea{width:100%;min-width:0;padding:12px 13px;border:1px solid #99adb8;background:#fff;color:var(--ink);border-radius:0;font-size:16px}textarea{resize:vertical;min-height:145px}.form .button{width:100%;margin-top:24px}.form .fine{font-size:14px;margin:16px 0 0}.hp-field{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.form-status{padding:16px;border-left:3px solid var(--blue);background:var(--paper);margin-bottom:20px;font-size:16px}.form-status.error{border-color:#a63131;color:#812727}.footer{background:#071923;color:#acc1cd;padding-block:34px;font-size:14px}.footer-inner{display:flex;justify-content:space-between;gap:30px}.footer strong{color:white}.footer a{text-decoration:underline}.privacy{font-size:14px;color:var(--muted);margin-top:22px}.privacy summary{cursor:pointer}.privacy p{margin:12px 0 0}.no-js-note{font-size:14px}body.menu-open{overflow:hidden}@media(min-width:1600px){.hero-grid{min-height:710px}}@media(max-width:1100px){.brand-label{display:none}.nav-links{gap:18px}.hero-grid{gap:35px}.section-head{gap:35px}.contact-grid{gap:40px}.service{padding:25px}.wrap{width:calc(100% - 48px)}}@media(max-width:800px){.nav-inner{height:74px}.brand img{width:123px}.menu-toggle{display:block;border:1px solid var(--line);background:white;padding:9px 14px;font-size:14px;cursor:pointer}.nav-links{display:none;position:absolute;left:0;right:0;top:74px;background:white;padding:24px;box-shadow:0 16px 20px #0002}.nav-links.open{display:flex;flex-direction:column;align-items:stretch;gap:5px}.nav-links a{padding:12px}.hero-grid{grid-template-columns:1fr;padding-block:48px;gap:36px}.hero-figure{min-height:300px}.hero-copy>p{font-size:18px}.expertise .wrap{display:grid;grid-template-columns:1fr 1fr;gap:18px}.expertise strong,.expertise span{display:block}.section{padding-block:64px}.section-head{grid-template-columns:1fr;gap:20px;margin-bottom:30px}.services{grid-template-columns:1fr 1fr}.platform-grid{grid-template-columns:1fr}.year-group{grid-template-columns:1fr;gap:16px}.year{margin:0}.team-grid{gap:20px}.contact-grid{grid-template-columns:1fr;gap:35px}.platform{padding:28px}.hero h1{max-width:650px}}@media(max-width:520px){.wrap{width:calc(100% - 36px)}h1{font-size:44px}.eyebrow{font-size:12px;letter-spacing:.1em}.hero-figure{min-height:260px}.services,.projects,.team-grid{grid-template-columns:1fr}.service-num{margin-bottom:18px}.project-image{height:210px}.project-body{padding:24px}.fields{grid-template-columns:1fr}.form{padding:24px}.footer-inner{flex-direction:column;gap:12px}.actions{gap:20px}.expertise .wrap{gap:17px;font-size:14px}.expertise strong{font-size:14px}.contact-list{font-size:22px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}@media print{.nav,.hero-figure,.form,.actions,.menu-toggle{display:none!important}.wrap{width:100%}.hero,.dark,.footer{background:white;color:black}.section{padding-block:25px}.project,.platform{background:white;color:black;break-inside:avoid}.project p,.dark .section-head>p{color:#333}.project-image{height:150px}}
:root{color-scheme:light}[hidden]{display:none!important}
@media(max-width:800px){html:not(.js) .nav-inner{height:auto;min-height:74px;flex-wrap:wrap;padding-block:18px}html:not(.js) .nav-links{display:flex;position:static;flex-wrap:wrap;box-shadow:none;padding:0 0 8px;gap:16px;background:transparent}html:not(.js) .nav{position:relative}}

/* Referentsid: kompaktne projektivaade, kus töö sisu annavad edasi märksõnad. */
#objektid .section-head{grid-template-columns:1fr;margin-bottom:30px}
.project-photo{position:relative}
.project-body{min-height:168px}
.project h3{margin-bottom:22px}
.project-credit{position:absolute;right:10px;bottom:10px;max-width:calc(100% - 20px);margin:0;padding:6px 9px;background:#071923e6;color:#d1e0e6;font-size:10px;line-height:1.35}

/* Kerged üleminekud ja kerimisefektid. */
.hero-figure{align-self:center;min-height:0;display:flex;flex-direction:column}
.hero-figure>picture{position:relative;inset:auto;display:block;width:100%;aspect-ratio:4/3;overflow:hidden;background:#071923}
.hero-figure>picture>img{width:100%;height:100%;object-fit:contain}
.hero-figure .figure-label{position:static;flex:0 0 auto}
.nav{transition:box-shadow .25s ease,background-color .25s ease}
.nav.scrolled{background:#fff;box-shadow:0 10px 30px #07192316}
.motion-ready .reveal{opacity:0;transform:translateY(22px)}
.motion-ready .reveal.is-visible{opacity:1;transform:translateY(0);transition:opacity .65s ease,transform .65s cubic-bezier(.2,.75,.25,1)}
.project-image{filter:brightness(.76) saturate(.78) contrast(1.06);transition:transform .65s cubic-bezier(.2,.75,.25,1),filter .45s ease}
.button span,.text-link span{display:inline-block;transition:transform .25s ease}
@media(hover:hover){.service,.platform,.project,.person{transition:transform .3s ease,border-color .3s ease,box-shadow .3s ease}.service:hover,.platform:hover,.project:hover,.person:hover{transform:translateY(-4px)}.platform:hover{box-shadow:0 18px 45px #0a202d12}.project:hover{border-color:#4e7183;box-shadow:0 22px 50px #0003}.project:hover .project-image{transform:scale(1.035);filter:brightness(1) saturate(1.02) contrast(1.02)}.button:hover span,.text-link:hover span{transform:translate(3px,-2px)}}
@media(prefers-reduced-motion:reduce){.motion-ready .reveal{opacity:1;transform:none}.nav,.project-image,.button span,.text-link span,.service,.platform,.project,.person{transition:none!important}}

/* Hooneautomaatika skeemidest inspireeritud läbiv taustamuster. */
.hero,.expertise,.section,.footer{position:relative;isolation:isolate;overflow:hidden}
.hero>.wrap,.expertise>.wrap,.section>.wrap,.footer>.wrap{position:relative;z-index:1}
.hero::before,.expertise::before,.section::before,.footer::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background-repeat:no-repeat;background-size:760px auto,620px auto;background-position:right -170px top 12%,left -280px bottom -120px}
.hero::before,.section.dark::before,.footer::before{background-image:url("../images/schematic-dark.svg"),url("../images/schematic-dark.svg");opacity:.68}
.expertise::before,.section:not(.dark)::before{background-image:url("../images/schematic-light.svg"),url("../images/schematic-light.svg");opacity:.72}
.hero::before{background-size:880px auto,610px auto;background-position:left -310px bottom -150px,right -250px top -120px;opacity:.72}
.expertise::before{background-size:560px auto;background-position:right -150px center}
.section:nth-of-type(even)::before{background-position:left -230px top 45px,right -270px bottom -130px}
.section.dark::before{background-size:800px auto,680px auto;background-position:right -235px top 40px,left -315px bottom 5%}
.contact::before{background-position:right -120px top -70px,left -240px bottom -180px}
.footer::before{background-size:480px auto;background-position:right -100px center;opacity:.42}
.service,.platform,.project,.person,.form{position:relative;z-index:1;backdrop-filter:blur(.2px)}
.service{background:#ffffffd9}
.platform,.form{background:#fffffff2}
.person{background:linear-gradient(90deg,#fffef0 0,#ffffffd4 72%,transparent);padding-right:18px}
.project{background:#112d3df2}
@media(max-width:800px){.hero::before,.expertise::before,.section::before,.footer::before{background-size:560px auto,450px auto;background-position:right -260px top 35px,left -250px bottom -80px}.hero::before{background-size:620px auto;background-position:left -330px bottom -80px}.section.dark::before{background-size:590px auto,480px auto;background-position:right -310px top 30px,left -270px bottom 10%}.expertise::before{background-size:460px auto;background-position:right -270px center}}
@media print{.hero::before,.expertise::before,.section::before,.footer::before{display:none}}

/* Eramajade koondreferents on esile tõstetud ühe privaatsust hoidva üldpildiga. */
.featured-projects{margin-bottom:46px}
.featured-project{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(340px,.88fr);min-height:410px;border-color:#3e6678;background:linear-gradient(120deg,#112d3df7,#0d2735f7)}
.featured-project .project-photo,.featured-project .project-photo picture{height:100%}
.featured-project .project-image{height:100%;min-height:410px}
.featured-project .project-body{justify-content:center;padding:42px}
.featured-project h3{font-size:clamp(28px,3vw,40px);margin-bottom:16px}
.featured-project .project-summary{max-width:510px;margin-bottom:26px;color:#d0e1e8;font-size:17px;line-height:1.65}
.featured-project .project-footer{margin-top:0}
@media(max-width:800px){.featured-project{grid-template-columns:1fr}.featured-project .project-image{height:290px;min-height:0}.featured-project .project-body{padding:30px}}
@media(max-width:520px){.featured-projects{margin-bottom:36px}.featured-project .project-image{height:220px}.featured-project .project-body{padding:24px}.featured-project .project-summary{font-size:16px}}
