@font-face{font-family:Bricolage;src:url("?varma_asset=bricolage.woff2") format("woff2");font-weight:500 800;font-style:normal;font-display:swap}
@font-face{font-family:"DM Sans";src:url("?varma_asset=dm-sans.woff2") format("woff2");font-weight:400 700;font-style:normal;font-display:swap}
:root{--ink:#172b25;--dark:#142921;--forest:#214032;--muted:#52625a;--gold:#f0c44f;--gold-hover:#f8d674;--cream:#f9f7f1;--paper:#fffefb;--sage:#ebeee6;--line:#dcded3;--display:Bricolage,Arial,sans-serif;--body:"DM Sans",Arial,sans-serif}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--cream);font:16px/1.58 var(--body);color:var(--ink)}
h1,h2,h3,strong{font-family:var(--display);font-weight:750}
h1,h2,h3,p,figure{margin:0}
h1,h2,h3{line-height:1.06;letter-spacing:-.035em}
a{color:inherit;text-underline-offset:4px}
button,input,select,textarea{font:inherit;color:inherit}
button,select,label:has(input[type="checkbox"]),label:has(input[type="radio"]){cursor:pointer}
img{display:block;max-width:100%}
[hidden]{display:none!important}
:focus-visible{outline:3px solid #986300;outline-offset:4px}
.wrap{width:min(1250px,calc(100% - 112px));margin-inline:auto}
.skip-link{position:absolute;left:20px;top:10px;transform:translateY(-150%);background:var(--gold);padding:10px 16px;z-index:5}
.skip-link:focus{transform:none}
.top-strip{background:var(--dark);color:#f1f3ea;font-size:13px;font-weight:600}
.top-inner{min-height:36px;display:flex;align-items:center;justify-content:space-between;gap:8px}
.top-inner span,.top-inner a,.text-link{display:inline-flex;gap:8px;align-items:center}
.top-inner svg,.end-band .text-link svg{color:var(--gold);flex-shrink:0}
.top-inner a,.text-link{text-decoration:none}
.top-inner a:hover,.text-link:hover{text-decoration:underline}
.site-header{background:var(--paper);border-bottom:1px solid #ebe8df}
.nav-wrap{display:flex;justify-content:space-between;align-items:center;min-height:77px;gap:20px}
.brand{display:inline-flex;align-items:center;gap:12px;text-decoration:none;font:750 18px/1.1 var(--display);flex-shrink:0}
.brand small{display:block;font:600 11px/1.35 var(--body);margin-top:4px;color:var(--muted)}
.brand-mark{display:grid;place-items:center;width:49px;height:43px;overflow:hidden;flex-shrink:0;border-radius:4px;background:#fff}
.brand-mark img{width:49px;height:auto}
.site-header nav{display:flex;gap:clamp(15px,2.5vw,40px);align-items:center;font-size:14px;font-weight:700}
.site-header nav>a:not(.button){text-decoration:none;white-space:nowrap}
.site-header nav>a:not(.button):hover,.site-header nav>a[aria-current="page"]{text-decoration:underline;text-decoration-thickness:2px;text-decoration-color:#b27811}
.button{display:inline-flex;align-items:center;justify-content:center;gap:13px;min-height:52px;border:1px solid transparent;border-radius:7px;padding:10px 19px;font-size:14px;font-weight:700;text-decoration:none;line-height:1.25;transition:background .16s,border-color .16s;white-space:normal}
.button svg{flex:none}
.button.primary{background:var(--gold);color:#192a23}
.button.primary:hover{background:var(--gold-hover)}
.button.outline{background:transparent;border-color:#34604c;color:var(--ink)}
.button.outline:hover{background:#e7ede2}
.site-header .button{min-height:44px;padding-inline:15px}
.actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.menu-toggle{display:none;background:transparent;border:1px solid var(--line);padding:8px 11px;align-items:center;gap:8px;border-radius:6px;font-size:14px;font-weight:700}
.eyebrow{display:flex;gap:9px;align-items:center;font-size:12px;line-height:1.25;text-transform:uppercase;font-weight:700;letter-spacing:.105em}
.eyebrow span{width:21px;height:2px;background:#a97218;flex:none}
.hero{background:var(--cream);padding:37px 0 36px}
.hero-grid{display:grid;grid-template-columns:1fr 1.035fr;gap:clamp(27px,3.7vw,56px);align-items:center}
.hero-copy{padding:18px 0 24px}
.hero h1{font-size:clamp(53px,6.2vw,98px);letter-spacing:-.064em;margin:20px 0 19px;line-height:.97;font-variation-settings:"opsz" 90}
.hero h1 em{color:#38624c;font-style:normal}
.hero-copy>p:not(.eyebrow){max-width:470px;font-size:17px;color:#455850;line-height:1.62}
.hero .actions{margin-top:28px}
.hero-photo{display:grid;position:relative;min-width:0;overflow:hidden;border-radius:12px;background:#c0b5a0;height:clamp(395px,38.2vw,548px);isolation:isolate}
.hero-photo>img{width:100%;height:100%;object-fit:cover;object-position:51% 49%;filter:saturate(.78)}
.hero-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 54%,#16272045);pointer-events:none}
.hero-photo figcaption{z-index:1;position:absolute;bottom:19px;left:19px;display:flex;align-items:center;gap:11px;padding:10px 11px;background:#fffef8f5;border-radius:8px;box-shadow:0 3px 16px #14211d24}
.hero-photo figcaption small,.hero-photo figcaption strong{display:block}
.hero-photo figcaption small{font-size:11px;color:var(--muted);line-height:1.1}
.hero-photo figcaption strong{font-size:14px;line-height:1.18;margin-top:3px}
.hero-photo figcaption a{margin-left:5px;padding:6px;display:grid;place-items:center}
.caption-icon{display:grid;place-items:center;width:35px;height:35px;border-radius:6px;background:var(--sage);color:var(--forest)}
.audience{border-block:1px solid #e3e7dc;background:var(--sage)}
.audience-grid{display:grid;grid-template-columns:repeat(3,1fr)}
.audience-card{padding:24px clamp(11px,2vw,28px);display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:start;text-decoration:none}
.audience-card:first-child{padding-left:0}
.audience-card:last-child{padding-right:0}
.audience-card+.audience-card{border-left:1px solid #d8ded1}
.audience-card:hover strong{text-decoration:underline;text-decoration-color:#a97218}
.icon-tile{background:#e8eee3;color:#2e563f;border-radius:8px;width:45px;height:45px;display:grid;place-items:center;flex:none}
.audience .icon-tile{background:#dce6d9}
.audience-copy small,.audience-copy strong,.audience-copy>span{display:block}
.audience-copy small{font-size:12px;font-weight:600;color:var(--muted)}
.audience-copy strong{margin:3px 0 5px;font-size:19px;line-height:1.09;letter-spacing:-.026em}
.audience-copy>span{font-size:13px;line-height:1.45;color:#4c5e53}
.audience-arrow{margin-top:3px;color:#396048}
.section{padding:72px 0}
.section-heading{max-width:690px;margin-bottom:28px}
.section-heading .eyebrow{margin-bottom:12px}
.section h2,.end-band h2{font-size:clamp(32px,4.05vw,54px)}
.section-heading>p:not(.eyebrow),.end-band p:not(.eyebrow){margin-top:12px;color:var(--muted)}
.services{background:var(--paper)}
.service-grid{display:grid;gap:14px;grid-template-columns:repeat(3,1fr)}
.service-card{background:var(--paper);border:1px solid #e1e2d8;border-radius:9px;text-decoration:none;padding:23px;display:flex;flex-direction:column;align-items:flex-start}
.service-card:hover{border-color:#8da491;background:#f8faf5}
.service-card h3,.project h3,.task h3{font-size:24px;margin:16px 0 9px}
.service-card p,.project p,.task p{color:var(--muted);font-size:15px;line-height:1.55}
.card-link{display:inline-flex;align-items:center;gap:9px;color:#31593f;font-size:14px;font-weight:700;margin-top:auto;padding-top:18px}
.work{background:#f0f1e9}
.projects{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.project{min-width:0;background:var(--paper);border:1px solid var(--line);border-radius:10px;overflow:hidden}
.project-photo{position:relative;height:clamp(200px,27vw,340px);background:#c2b8a5}
.project-photo img{width:100%;height:100%;object-fit:cover;object-position:center 40%}
.project:has(img[src*="kaytava-valmis"]) .project-photo img{object-position:center 29%}
.image-tag{position:absolute;left:14px;top:14px;padding:5px 9px;background:var(--paper);border-radius:4px;font-size:12px;font-weight:700}
.project-body{padding:18px 21px 23px}
.project h3{margin-top:0}
.thumbs{margin-top:15px;display:flex;gap:8px}
.thumbs button{overflow:hidden;padding:0;border:1px solid #98a699;border-radius:5px;background:transparent;width:61px;height:46px}
.thumbs button:hover{border:2px solid #31593f}
.thumbs img{height:100%;width:100%;object-fit:cover}
.gallery-dialog{padding:0;border:0;border-radius:9px;background:var(--dark);color:#fff;width:min(760px,calc(100% - 28px));max-height:94dvh}
.gallery-dialog::backdrop{background:#101a16d9}
.gallery-shell{position:relative;padding:16px}
.gallery-shell img{max-height:69dvh;width:100%;object-fit:contain}
.gallery-shell figcaption{text-align:center;margin-top:8px;padding:0 10px}
.gallery-controls{display:flex;gap:15px;align-items:center;justify-content:center;padding-top:10px}
.gallery-controls button,.icon-button{background:#f9f7f1;border:1px solid #66786b;color:#172b25;border-radius:6px;min-width:40px;height:40px;font-weight:700;display:grid;place-items:center}
.close-photo{position:absolute;right:20px;top:20px;z-index:1}
.home-calc{background:var(--cream)}
.calculator{background:var(--paper);border:1px solid var(--line);border-radius:12px;overflow:hidden}
.calculator form{display:grid;grid-template-columns:1.35fr 1fr}
.calc-inputs,.calc-result{padding:clamp(22px,4vw,52px)}
.calc-switch{border:0;margin:0 0 22px;padding:0;display:flex;gap:7px;flex-wrap:wrap}
.calc-switch legend{font-size:14px;font-weight:700;margin-bottom:9px}
.calc-switch label{position:relative;display:flex;align-items:center;gap:8px;border:1px solid var(--line);padding:10px 12px;border-radius:6px;font-weight:700;font-size:14px;background:#f6f7f2}
.calc-switch label:has(input:checked){border-color:var(--forest);background:#dfe9db}
.calc-switch label:has(input:focus-visible){outline:3px solid #986300;outline-offset:3px}
.calc-switch input{width:15px;height:15px;margin:0;accent-color:#31593f}
.calc-options{display:grid;gap:7px}
.calc-options>label,.contact-fields>label,#request-preview>label{font-size:14px;font-weight:700}
.calc-options>label[for="bath-area"]{display:flex;justify-content:space-between;align-items:center;gap:8px}
#bath-area-value{background:#e1eadd;padding:2px 8px;border-radius:5px}
input[type="range"]{width:100%;margin:4px 0;accent-color:#31593f;cursor:pointer;min-height:24px}
.range-ends{display:flex;justify-content:space-between;font-size:13px;color:var(--muted);margin-top:-2px}
.calc-options select + label,.range-ends + label,.calc-options .field-hint + label{margin-top:8px}
select,input:not([type="range"],[type="radio"],[type="checkbox"]),textarea{display:block;width:100%;border:1px solid #bcc9bc;border-radius:5px;background:#fff;color:var(--ink);padding:9px 10px;min-height:44px}
textarea{resize:vertical}
.calc-result{background:var(--dark);color:#fffef8;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.result-icon{display:grid;place-items:center;color:var(--gold);background:#2d483a;border-radius:8px;width:47px;height:47px;margin-bottom:17px}
.result-label{font-weight:700;font-size:15px}
#estimate-value{font:750 clamp(29px,3.7vw,53px)/1.06 var(--display);color:var(--gold);letter-spacing:-.04em;margin:7px 0;display:block}
.vat{font-size:13px;color:#e2e9db;margin-bottom:13px}
#estimate-scope{font-size:14px;color:#f3f4e9}
.estimate-note{font-size:13px;color:#d1ddce;margin:9px 0 19px}
.field-hint{font-size:13px;color:var(--muted);line-height:1.5}
.check-field{display:flex;align-items:flex-start;gap:9px;padding:4px 0;line-height:1.4}
.check-field input{margin:2px 0 0;width:16px;height:16px;flex:none;accent-color:#31593f}
.end-band{background:var(--forest);color:#fffef8;padding:47px 0}
.end-inner{display:flex;gap:24px;align-items:center;justify-content:space-between}
.end-band h2{font-size:clamp(31px,3.6vw,46px);margin-top:11px}
.end-band .eyebrow span{background:var(--gold)}
.end-band p:not(.eyebrow){color:#e4ebe0}
.end-band .text-link{font-size:14px;font-weight:700;padding:10px 1px}
.footer{background:var(--dark);color:#e2eadf;padding:40px 0 19px}
.footer-content{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:24px;padding-bottom:24px}
.footer-content h2{color:#fffef8;font-size:17px;margin:0 0 9px}
.footer .brand{color:#fffef8}
.footer .brand small{color:#d5e0d3}
.footer p,.footer a:not(.brand){font-size:14px}
.footer-content p{margin-top:12px}
.footer-content a:not(.brand){display:block;width:fit-content;text-decoration:none;margin-top:5px}
.footer a:not(.brand):hover{text-decoration:underline}
.footer-bottom{border-top:1px solid #42564b;display:flex;flex-wrap:wrap;align-items:center;gap:17px;padding-top:15px}
.footer-bottom a:last-child{margin-left:auto}
.subhero{background:var(--sage);padding:25px 0 43px}
.breadcrumb{display:flex;gap:10px;flex-wrap:wrap;font-size:13px;color:#42564a;margin-bottom:27px}
.subhero h1{font-size:clamp(40px,6vw,75px);letter-spacing:-.05em;margin:10px 0 13px}
.subhero .wrap>p:not(.eyebrow){max-width:680px;font-size:17px;color:#44584c}
.detail-section{padding:55px 0}
.task-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:24px}
.task{border:1px solid var(--line);background:var(--paper);border-radius:8px;padding:20px}
.return-link{display:inline-block;margin-top:19px;font-size:14px;font-weight:700}
.standalone-calculator{padding-top:42px}
.contact-grid{display:grid;grid-template-columns:minmax(220px,.65fr) minmax(0,1.6fr);gap:24px;align-items:start}
.contact-side,.contact-panel{padding:clamp(20px,3.2vw,40px);border-radius:10px}
.contact-side{background:var(--sage)}
.contact-side h2,.contact-panel h2{font-size:29px;margin-bottom:14px}
.contact-side a,.contact-side>p{display:flex;align-items:center;gap:7px;margin:7px 0;overflow-wrap:anywhere}
.contact-side svg{flex:none;color:var(--forest)}
.contact-panel{background:var(--paper);border:1px solid var(--line)}
.contact-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.contact-fields :is(select,input,textarea){margin-top:4px}
.contact-fields label span{font-weight:400}
.field-wide{grid-column:1/-1}
.contact-panel .check-field{margin:11px 0 5px}
.contact-panel .button{margin-top:11px}
.prefill{background:#e7efe3;border:1px solid #c8d8c2;border-radius:7px;padding:11px 13px;margin:5px 0 14px;font-size:14px}
.prefill div{display:flex;gap:7px;align-items:center}
.prefill p{margin:6px 0 4px}
.inline-button{background:transparent;border:0;padding:0;text-decoration:underline;font-size:13px}
.request-preview{margin-top:24px;padding-top:19px;border-top:1px solid var(--line)}
.request-preview h3{font-size:23px;margin-bottom:10px}
#copy-status{margin-top:8px}
.notice{padding:12px 17px}
.legal{max-width:760px}
.legal h2{font-size:29px;margin:0 0 10px}
.legal p+h2{margin-top:22px}
@media(max-width:1100px){
  .wrap{width:calc(100% - 76px)}
  .site-header nav{gap:18px}
  .hero h1{font-size:clamp(49px,6.55vw,78px)}
}
@media(max-width:900px){
  .wrap{width:calc(100% - 48px)}
  .site-header nav{gap:13px;font-size:13px}
  .nav-wrap{gap:9px}
  .brand{font-size:16px;gap:8px}
  .site-header .button{padding-inline:11px;font-size:13px;gap:6px}
  .audience-card{grid-template-columns:auto 1fr;gap:8px}
  .audience-arrow{display:none}
  .audience-card .icon-tile{width:37px;height:37px}
  .audience-card .icon-tile svg{width:21px;height:21px}
}
@media(max-width:760px){
  .desktop-break{display:none}
  .top-strip{font-size:11px}
  .top-inner{min-height:32px}
  .nav-wrap{min-height:66px;flex-wrap:wrap;padding-block:8px}
  .menu-toggle:not([hidden]){display:inline-flex}
  .site-header nav{width:100%;flex-wrap:wrap;justify-content:space-between;padding:8px 0;font-size:14px}
  .site-header nav[data-collapsed="true"]{display:none}
  .hero{padding:25px 0}
  .hero-grid{grid-template-columns:1fr;gap:20px}
  .hero-copy{padding:8px 0 0}
  .hero h1{font-size:clamp(46px,9.8vw,72px);margin:15px 0}
  .hero-copy>p:not(.eyebrow){font-size:16px}
  .hero .actions{margin-top:20px}
  .hero-photo{height:clamp(260px,57vw,426px)}
  .audience-grid{grid-template-columns:1fr}
  .audience-card,.audience-card:first-child,.audience-card:last-child{padding:15px 0;grid-template-columns:auto 1fr auto;gap:12px}
  .audience-card+.audience-card{border-left:0;border-top:1px solid #d8ded1}
  .audience-arrow{display:block}
  .section{padding:43px 0}
  .service-grid,.task-grid{grid-template-columns:repeat(2,1fr)}
  .calculator form,.contact-grid{grid-template-columns:1fr}
  .end-inner{align-items:flex-start;flex-direction:column;gap:15px}
}
@media(max-width:480px){
  .wrap{width:calc(100% - 32px)}
  .brand-oy{display:none}
  .site-header nav{display:grid;grid-template-columns:1fr 1fr;gap:10px}
  .site-header nav .button{width:max-content;grid-column:1/-1}
  .hero h1{font-size:clamp(43px,11.1vw,55px)}
  .button{min-height:47px;padding-inline:12px;gap:8px;font-size:13px}
  .hero-photo figcaption{left:11px;bottom:11px}
  .projects,.task-grid,.contact-fields,.footer-content{grid-template-columns:1fr}
  .service-grid{gap:8px}
  .service-card{padding:13px}
  .service-card h3{font-size:19px;overflow-wrap:anywhere}
  .service-card p,.card-link{font-size:13px}
  .footer-content{gap:19px}
  .subhero h1{overflow-wrap:anywhere}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
.varma-trap{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#varma-status:empty{display:none}
#varma-status{margin-top:16px;padding:12px 14px;background:#e7efe3;border:1px solid #c8d8c2;border-radius:7px}

.project-sauna{grid-column:1/-1;display:grid;grid-template-columns:1.2fr 1fr;align-items:stretch}
.project-sauna .project-photo{height:100%;min-height:300px}
.project-sauna .project-photo img{position:absolute;inset:0;object-position:center 54%}
.project-sauna .project-body{align-self:center;padding:22px clamp(20px,3vw,36px)}
.project-sauna .thumbs{flex-wrap:wrap}
@media(max-width:760px){
  .project-sauna{grid-template-columns:1fr}
  .project-sauna .project-photo{min-height:0;height:clamp(220px,52vw,340px)}
}

:is(.project-huolto,.project-katto-uus){grid-column:1/-1;display:grid;grid-template-columns:1.2fr 1fr}
:is(.project-huolto,.project-katto-uus) .project-photo{height:100%;min-height:280px}
:is(.project-huolto,.project-katto-uus) .project-photo img{position:absolute;inset:0;object-position:center 67%}
:is(.project-huolto,.project-katto-uus) .project-body{align-self:center;padding:22px clamp(20px,3vw,36px)}
:is(.project-huolto,.project-katto-uus) .thumbs{flex-wrap:wrap}
:is(.project-huolto,.project-katto-uus) .thumbs button{width:106px;height:auto;padding:0;border:1px solid #98a699;background:var(--paper)}
:is(.project-huolto,.project-katto-uus) .thumbs button:hover{border-color:#31593f}
:is(.project-huolto,.project-katto-uus) .thumbs img{width:100%;height:62px;object-fit:cover}
:is(.project-huolto,.project-katto-uus) .thumbs span{display:block;padding:4px 1px;font-size:11px;font-weight:700}
@media(max-width:760px){
  :is(.project-huolto,.project-katto-uus){grid-template-columns:1fr}
  :is(.project-huolto,.project-katto-uus) .project-photo{min-height:0;height:clamp(220px,52vw,340px)}
}

.project-katto-uus .project-photo img{object-position:center 45%}
.project-katto-uus .thumbs button{min-width:92px;width:auto;flex:0 1 92px}
