
@font-face{font-family:DM;src:url(/assets/fonts/dm-sans/DMSans-Regular.woff2)}*{box-sizing:border-box}body{margin:0;font:16px/1.5 DM,Arial,sans-serif;--ink:#132b53;--action:#214fb9;--label:white;--panel:#e6edf8;--paper:#fcfbf8;color:var(--ink);background:var(--paper)}body.warm{--ink:#172d4c;--action:#ffb15e;--label:#27221e;--panel:#f6e9d8;--paper:#fffaf3}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}header,.wrap{padding-inline:6vw}header,nav,.actions,.tools{display:flex;align-items:center;gap:24px}header{min-height:76px;justify-content:space-between}.brand,h2{font-size:28px;letter-spacing:-.035em}.brand{font-weight:bold}.hero{position:relative;isolation:isolate;background:#142b49;color:white;min-height:475px;display:grid;align-items:end}.hero img,.hero:after{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 55%;z-index:-2}.hero:after{content:"";background:linear-gradient(90deg,#08192eef 2%,#08192ead 40%,transparent 77%);z-index:-1}.intro{padding:60px 6vw}h1{font-size:clamp(40px,5.6vw,80px);font-weight:500;line-height:1.02;letter-spacing:-.055em;max-width:14ch;margin:0 0 22px}.actions{flex-wrap:wrap;gap:18px}.button{background:var(--action);color:var(--label);padding:13px 20px;border-radius:4px;font-weight:bold}.call{border-bottom:1px solid}.services,.grid{display:grid;grid-template-columns:repeat(3,1fr)}.services{background:var(--panel);padding:18px 6vw;gap:14px}.services a{padding:9px 0}.wrap{padding-block:36px}.head{display:flex;justify-content:space-between;align-items:baseline;gap:14px}h2{margin:0 0 20px}.grid{gap:18px}.card{display:grid;padding:8px 8px 16px;border:1px solid #cad0d4;background:white}.card img{width:100%;aspect-ratio:1.65;object-fit:cover}.card span,.card strong{margin:8px 6px 0}.card strong{margin-top:0}.person{display:flex;gap:24px;align-items:center;background:var(--panel)}.person img{width:110px;height:110px;object-fit:cover;border-radius:50%}.person h2{margin:0}.tools{padding:7px 6vw;background:#192334;color:white;justify-content:flex-end;gap:10px}.tools button{color:white;background:none;border:1px solid #8997ac;border-radius:4px;padding:4px 10px;font:inherit;cursor:pointer}.tools button[aria-pressed=true]{background:white;color:#162238}
@media(max-width:700px){header{min-height:60px}.brand,h2{font-size:22px}header nav a:not(:last-child){display:none}.tools{justify-content:center}.hero{display:block;min-height:0}.hero img{display:block;position:static;height:auto;max-height:380px;object-fit:contain;background:#142b49}.hero:after{display:none}.intro{padding:24px 6vw 28px}h1{font-size:38px;max-width:16ch}.services,.grid{grid-template-columns:1fr}.services{gap:0}.services a+a{border-top:1px solid #aab3bd}.wrap{padding-block:26px}.head{flex-wrap:wrap;margin-bottom:12px}.head h2{margin:0}.person{align-items:start}.person img{width:70px;height:70px}}

body{--ink:#151517;--paper:white;--panel:#f4f4f1;--action:#96f028;--label:#152006}
.top{display:flex;justify-content:space-between;background:#101012;color:white;padding:9px 5vw}
header{padding:14px 5vw;min-height:82px;background:white}.brand{letter-spacing:-.065em;display:flex;align-items:center;gap:10px}.brand:before{content:'';width:34px;height:34px;border-radius:7px;background:conic-gradient(#9aec36 0 25%,#19191b 0 50%,#ef238e 0 75%,#19191b 0);transform:rotate(-5deg)}
.pill,.button,.hero .call{display:inline-flex;align-items:center;justify-content:center;padding:13px 20px;border:0;border-radius:50px;font-weight:700}.lime,.button{background:#97ef2f;color:#152006}.pink,.hero .call{background:#ac0061;color:white}header nav{gap:16px}.hero{display:grid;min-height:clamp(450px,65vh,650px);align-items:center;text-align:center;background:#202022}.hero img{object-position:50% 56%}.hero:after{background:linear-gradient(0deg,#17141bd6,#14121591 70%,#12131670)}.intro{padding:60px 5vw}.intro h1{margin:0 auto;max-width:23ch;font-size:clamp(40px,5.2vw,76px);font-weight:700;letter-spacing:-.045em}.intro p{margin:24px auto}.actions{justify-content:center;gap:12px}.hero .actions a{min-height:54px;padding-inline:30px}.services{background:#171719;color:white;text-align:center;gap:0}.services a+a{border-left:1px solid #555}.services a:hover{color:#9aec36}.card{border-radius:9px}.card img{border-radius:5px}.person{background:#f3f4ef}
@media(max-width:850px){header nav a:not(.pill){display:none}}
@media(max-width:700px){.top{padding:6px 4vw}.top a{display:none}header{min-height:64px;padding:9px 4vw}.brand{font-size:22px}.brand:before{width:24px;height:24px}header nav a.lime{display:none}.pill{padding:9px 13px}.hero{min-height:420px}.hero img{position:absolute;height:100%;max-height:none;object-fit:cover}.hero:after{display:block}.intro{padding:32px 4vw}.intro h1{font-size:clamp(32px,8.8vw,42px);font-weight:600}.intro p{margin:17px auto;max-width:29ch}.hero .actions a{padding:10px 16px;min-height:44px}.services a+a{border-left:0;border-top:1px solid #555}.services{padding-block:8px}.person{padding-inline:5vw}}

.hero{overflow:hidden;padding-bottom:36px}
.hero img{transform-origin:64% 56%;animation:hero-drift 14s ease-in-out infinite alternate}
@keyframes hero-drift{from{transform:scale(1.015) translateX(0)}to{transform:scale(1.11) translateX(-1.1%)}}
.hero-wave{position:absolute;bottom:-1px;left:0;width:100%;height:clamp(32px,5vw,76px);pointer-events:none;fill:#171719}
.motion{position:absolute;bottom:clamp(29px,4vw,60px);right:4vw;border:1px solid #fff9;background:#191919b8;color:white;border-radius:50%;width:44px;height:44px;font:inherit;cursor:pointer}
.hero.paused img{animation-play-state:paused}
#tood{padding-block:clamp(36px,5vw,74px)}
#tood .head{margin-bottom:20px;align-items:center}
#tood h2{margin:0}
#tood .head a{border-bottom:1px solid currentColor}
#tood .grid{gap:clamp(8px,1.1vw,20px)}
#tood .card{position:relative;display:block;padding:0;overflow:hidden;border:0;border-radius:10px;background:#eee}
#tood .card img{display:block;width:100%;height:100%;aspect-ratio:1.22;object-fit:cover;border-radius:0;transition:transform .3s}
#tood .card:hover img,#tood .card:focus-visible img{transform:scale(1.035)}
#tood .card::after{content:'↗';position:absolute;bottom:12px;right:12px;border-radius:50%;width:34px;height:34px;display:grid;place-items:center;background:#fff;color:#161616}
@media(max-width:700px){#tood .grid{grid-template-columns:1fr 1fr}#tood .card:first-child{grid-column:1/-1}#tood .card:first-child img{aspect-ratio:1.85}.motion{right:12px;bottom:14px}}
@media(prefers-reduced-motion:reduce){.hero img{animation:none}.motion{display:none}#tood .card img{transition:none}#tood .card:hover img{transform:none}}
header .brand:before{content:none}header .original-logo{display:block;width:160px;height:auto}@media(max-width:700px){header .original-logo{width:125px}}
a .avatar,.hero a .avatar{position:static;inset:auto;z-index:auto;display:block;width:36px;height:36px;border-radius:50%;object-fit:cover;animation:none;transform:none;flex:none}
a:has(>.avatar){gap:10px}header .lime:has(.avatar),.hero .call:has(.avatar){padding-left:8px}
.meeting{background:#141416;color:white;display:grid;grid-template-columns:minmax(0,0.86fr) minmax(0,1fr);gap:clamp(28px,7vw,100px);align-items:center;padding:clamp(36px,6vw,90px) 7vw}
.meeting figure{margin:0}.meeting figure img{display:block;width:100%;height:clamp(300px,32vw,490px);object-fit:cover;border-radius:8px}.meeting h2{font-weight:600;line-height:1.1;text-wrap:balance}.meeting .signature{color:#a4ef4c;margin:0 0 10px}.meeting p{max-width:46ch;line-height:1.65}.dial{display:inline-flex;align-items:center;background:#97ef2f;color:#152006;border-radius:99px;padding:7px 18px 7px 7px;margin-top:10px}
@media(max-width:700px){.meeting{grid-template-columns:1fr;padding:30px 6vw;gap:24px}.meeting figure img{height:220px}.hero a .avatar{width:29px;height:29px}.hero .call:has(.avatar){gap:6px}}

.meeting{background:#070808;grid-template-columns:minmax(0,0.82fr) minmax(0,1.18fr);padding-inline:9vw;gap:6vw}
.meeting figure{position:relative}
.meeting figure>img{border-radius:0;height:clamp(350px,35vw,510px)}
.meeting .seal{position:absolute;top:-22px;left:-30px;width:clamp(86px,9vw,135px);aspect-ratio:1;border-radius:50%;display:grid;place-items:center;background:#fff;box-shadow:0 0 0 4px #111,0 0 0 6px #9aed31}
.meeting .seal img{width:85%;height:auto;border-radius:0;object-fit:contain}
.meeting h2{font-size:clamp(38px,4.8vw,70px);max-width:15ch;line-height:1.02;letter-spacing:-.05em;margin:0 0 26px}
.meeting p{color:#e6e6e6;max-width:48ch}
@media(max-width:700px){.meeting{grid-template-columns:1fr;padding:42px 7vw 32px;gap:25px}.meeting figure>img{height:240px}.meeting .seal{left:-8px;top:-15px;width:72px}.meeting h2{font-size:36px;margin-bottom:16px}}

.intro p{max-width:55ch}.intro h1{max-width:20ch}.tv-section,.tv-end{padding:clamp(30px,5vw,70px) 6vw}.tv-services,.tv-faq{background:#f3f3f1}.tv-split,.tv-maker,.tv-end{display:grid;grid-template-columns:.85fr 1.15fr;gap:5vw;align-items:start}.tv-list a,.tv-faq details{display:flex;justify-content:space-between;border-bottom:1px solid #c8c8c4;padding:16px 0}.tv-faq details{display:block}.tv-faq summary{cursor:pointer}.tv-list h3,.tv-list p{margin:0}.tv-maker{align-items:center}.tv-maker video{width:100%;max-height:440px;object-fit:cover}.tv-button{display:inline-flex;background:#97ef2f;color:#111;border-radius:50px;padding:12px 22px;text-decoration:none}.tv-end{background:#181819;color:white;align-items:center}.tv-end .tv-button{justify-self:end}.tv-textlink{text-decoration:underline}.tv-person h2{margin:0}.tv-list h3{font-size:1.35em}.tv-end p{margin:0}
@media(max-width:700px){.tv-split,.tv-maker,.tv-end{grid-template-columns:1fr}.tv-end .tv-button{justify-self:start}header nav a:not(.pill){display:inline-flex}header{flex-wrap:wrap;gap:6px}header nav{width:100%;flex-wrap:wrap;gap:8px 14px}header nav .lime{display:none}}
.site-footer{padding:36px 6vw;background:#f4f4f1}.footer-main,.footer-bottom{display:flex;gap:24px;justify-content:space-between;flex-wrap:wrap}.footer-bottom{border-top:1px solid #ccc;margin-top:24px;padding-top:16px}.footer-brand img{width:140px;height:auto}.footer-links,.footer-contact{display:grid;gap:4px}

/* Homepage sections below the project gallery */
.tv-services { background:#171719; color:white }
.tv-services .tv-split { display:block }
.tv-section h2,.tv-end h2 { font-size:clamp(24px,2.3vw,34px); margin:0 0 22px; line-height:1.12 }
.tv-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px }
.tv-list a { background:#29292c; color:white; border:1px solid #414145; border-radius:14px;
  padding:24px; align-items:flex-start; gap:16px }
.tv-list a:hover { background:#333336; text-decoration:none; border-color:#97ef2f }
.tv-list h3 { line-height:1.2; margin-bottom:12px }
.tv-list p { color:#e2e2e4 }
.tv-list a>span { flex:none; display:grid; place-items:center; border-radius:50%; width:34px;height:34px; background:#97ef2f;color:#131313 }
.tv-maker { grid-template-columns:1.15fr .85fr; gap:clamp(26px,5vw,80px) }
.tv-maker video { display:block; aspect-ratio:4/3; border-radius:14px; background:#171719 }
.tv-maker .tv-person { gap:12px!important }
.tv-maker .tv-person img { width:clamp(88px,9vw,128px)!important }
.tv-maker .tv-person h2 { margin:0 }
.tv-maker p { max-width:44ch }
.tv-maker .tv-textlink,.tv-end .tv-button { display:inline-flex; align-items:center; min-height:46px; padding:11px 22px; border-radius:32px; font-weight:600; text-decoration:none }
.tv-maker .tv-textlink { background:#ac0061; color:white }
.tv-faq { background:#f5f5f4 }
.tv-faq details { border:1px solid #dcdcdc; border-radius:12px; background:white; padding:0; margin:0 0 9px }
.tv-faq summary { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px 20px; list-style:none }
.tv-faq summary::-webkit-details-marker { display:none }
.tv-faq summary:after { content:'+'; color:#ac0061; font-size:24px; line-height:1 }
.tv-faq details[open] summary:after { content:'−' }
.tv-faq details p { padding:0 20px 18px; margin:0; max-width:66ch }
.tv-end { background:#97ef2f; color:#151517; grid-template-columns:1fr auto }
.tv-end h2 { margin-bottom:8px }
.tv-end .tv-button { background:#171719; color:white }
.site-footer { background:#171719; color:#fafafa }
.footer-main { align-items:start }
.footer-brand { display:inline-flex; align-items:center; border-radius:10px; padding:10px 14px; background:white }
.footer-links,.footer-contact { gap:8px }
.footer-bottom { border-color:#505054; color:#d4d4d7 }
@media(max-width:700px){
 .tv-list,.tv-maker,.tv-end {grid-template-columns:1fr}
 .tv-list {gap:9px}.tv-list a {padding:16px 18px}.tv-list h3{margin-bottom:5px}
 .tv-maker video {aspect-ratio:16/10}.tv-end{gap:16px}
 .footer-main {display:grid;grid-template-columns:1fr 1fr;gap:20px}.footer-brand{justify-self:start;grid-column:1/-1}
 .footer-contact,.footer-links{min-width:0;overflow-wrap:anywhere}
}

/* Original Tartu Vannitoad palette */
body { --ink:#223b34; --paper:#faf9f6; --panel:#e9ede3; --action:#223b34; --label:#fff; color:var(--ink); background:var(--paper) }
.top,.services,.site-footer { background:#223b34; color:#faf9f6 }
header,#tood { background:#faf9f6 }
.hero { background:#223b34 }
.hero:after { background:linear-gradient(0deg,#192c26d6,#192c2699 70%,#192c2678) }
.hero-wave { fill:#223b34 }
.pink,.button,.tv-maker .tv-textlink,.tv-end .tv-button { background:#223b34; color:white }
.lime,.hero .call { background:#e9ede3; color:#223b34 }
.motion { background:#223b34cf }
.services a+a,.footer-bottom { border-color:#62766c }
.services a:hover,.footer-bottom { color:#ebf0e8 }
#tood .card::after { background:#faf9f6; color:#223b34 }
.tv-services,.tv-end { background:#e9ede3; color:#223b34 }
.tv-list a,.tv-faq details { background:#faf9f6; color:#223b34; border-color:#d4dbcf }
.tv-list a:hover { background:#edf0e6; border-color:#b6c4b6 }
.tv-list p,.tv-maker p { color:#50645b }
.tv-list a>span { background:#223b34; color:white }
.tv-faq { background:#faf9f6 }
.tv-faq summary:after { color:#223b34 }
.tv-maker video { background:#223b34 }

.hero .actions .hero-phone {
  color: #fff;
  background: transparent;
  border: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 1.25rem;
  font-weight: 600;
  white-space: nowrap;
}
.hero .actions .hero-phone:hover { text-decoration: underline; }

.top .top-phone,.hero .hero-phone {display:inline-flex;align-items:center;gap:.4em}
.phone-icon {height:1em;width:1em;flex:none}
.hero .actions .hero-phone {font-size:1.375rem}

.services a { display:flex; align-items:center; justify-content:center; gap:12px }
.service-arrow { width:34px; height:34px; flex:none; display:grid; place-items:center; border-radius:50%; background:#e9ede3; color:#223b34 }
