/*
Theme Name: Vesa Painilainen
Version: 1.0.0
Author: Tuuma Digital
Text Domain: painilainen
*/
@import url('fonts.css');
:root{--ink:#153d58;--blue:#286b94;--pale:#eaf2f6;--paper:#fbfcfd;--muted:#536873;--line:#cbdbe4;--nav:100px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;background:var(--paper);color:var(--ink);font-family:'Source Sans 3',sans-serif;font-size:19px;line-height:1.6}a{color:inherit;text-underline-offset:5px}button,input,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}img{max-width:100%;display:block}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:Newsreader,Georgia,serif;font-weight:400;line-height:1.08;letter-spacing:-.035em}h1{font-size:clamp(44px,5.1vw,80px);margin-bottom:24px}h2{font-size:clamp(36px,3.5vw,56px);margin-bottom:24px}h3{font-size:32px;margin-bottom:16px}p{margin-bottom:22px}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #b17925;outline-offset:5px}.skip{position:absolute;top:-100px;left:20px;z-index:100;background:white;padding:12px}.skip:focus{top:10px}.wrap{width:min(1280px,88%);margin:auto}.header{height:var(--nav);position:sticky;top:0;z-index:20;background:rgba(251,252,253,.98);border-bottom:1px solid var(--line)}.header .wrap{display:flex;height:100%;align-items:center;justify-content:space-between;gap:30px}.brand{text-decoration:none;line-height:1.1;white-space:nowrap}.brand span{display:block;font-size:14px;letter-spacing:.035em;margin-bottom:7px}.brand strong{font-family:Newsreader,Georgia,serif;font-size:30px;font-weight:500;letter-spacing:-.02em}.nav{display:flex;align-items:center;gap:32px;font-size:14px;letter-spacing:.065em;font-weight:600}.nav a,.nav button{text-decoration:none;position:relative}.nav a:not(.nav-phone):after{content:'';position:absolute;left:0;right:0;bottom:-7px;height:2px;background:var(--blue);transform:scaleX(0);transform-origin:left;transition:transform .2s}.nav a:hover:after,.nav a[aria-current=page]:after{transform:scaleX(1)}.nav-phone{border:1px solid var(--ink);padding:12px 20px;border-radius:4px;letter-spacing:0;font-size:17px}.nav-phone:hover{background:var(--pale)}.nav-toggle{display:none}.drop{position:relative}.drop button{background:none;border:0;padding:12px 0;color:var(--ink);font:inherit;letter-spacing:inherit}.dropdown{position:absolute;top:48px;left:-22px;width:280px;padding:18px 24px;background:var(--paper);box-shadow:0 12px 28px #153d5812;border:1px solid var(--line);border-radius:5px;opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .18s,transform .18s,visibility .18s}.dropdown a{display:block;padding:12px 0;letter-spacing:.02em}.drop.open .dropdown{opacity:1;visibility:visible;transform:none}.hero{position:relative;min-height:calc(100svh - var(--nav));display:flex;flex-direction:column;background:#e9f2f6;isolation:isolate}.hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:30% center;z-index:-2}.hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,transparent 31%,#eaf3f8bb 51%,#edf5f9f2 74%);z-index:-1}.hero-main{width:44%;margin-left:auto;padding:clamp(40px,6vh,80px) 0;flex:1;display:flex;flex-direction:column;justify-content:center}.eyebrow{font-size:18px;margin-bottom:20px;display:flex;align-items:center;gap:12px}.eyebrow:before{content:'';width:30px;height:2px;background:var(--blue)}.hero-main p.lead{max-width:470px;font-size:21px;line-height:1.55}.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:15px 26px;border-radius:4px;background:var(--ink);border:1px solid var(--ink);color:#fff;text-decoration:none;font-size:18px;font-weight:600;transition:background .2s,box-shadow .2s;width:fit-content}.button:hover{background:var(--blue);box-shadow:0 4px 16px #153d581a}.button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7}.hero-note{font-size:15px;margin:15px 0 0;color:var(--muted)}.hero-bottom{margin-top:auto;background:#fbfcfdf2;border-top:1px solid #fff}.hero-bottom .wrap{display:flex;justify-content:space-between;gap:24px;padding:23px 0;font-size:16px}.hero-bottom strong{font-weight:600;margin-right:8px}.hero-title{animation:reveal-title .55s cubic-bezier(.2,.7,.2,1) both}@keyframes reveal-title{from{clip-path:inset(0 0 100%);transform:translateY(8px)}to{clip-path:inset(0);transform:none}}.section{padding:90px 0}.section.soft{background:var(--pale)}.intro-grid{display:grid;grid-template-columns:1fr 1fr;gap:10%;align-items:start}.intro-grid p:last-child{margin-bottom:0}.section-label{font-size:17px;color:var(--blue);margin-bottom:18px}.text-link{font-weight:600;text-decoration-thickness:1px}.service-list{margin-top:48px}.service-row{display:grid;grid-template-columns:1fr 1.1fr auto;gap:40px;padding:32px 0;border-top:1px solid var(--line);align-items:center;text-decoration:none}.service-row:last-child{border-bottom:1px solid var(--line)}.service-row h3,.service-row p{margin:0}.service-row p{color:var(--muted);max-width:530px}.round-icon{width:48px;height:48px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;transition:background .2s,transform .2s}.round-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5}.service-row:hover .round-icon{background:#fff;transform:translateX(4px)}.photo-story{display:grid;grid-template-columns:1fr 1fr;min-height:500px;background:var(--ink);color:white}.photo-story img{width:100%;height:100%;object-fit:cover;min-height:460px}.story-copy{padding:65px clamp(30px,5vw,90px);display:flex;flex-direction:column;justify-content:center}.story-copy .section-label{color:#c9e4f3}.story-copy p{color:#e2ecf1}.story-copy a{color:white}.checks{list-style:none;padding:0;margin:25px 0}.checks li{padding:10px 0 10px 25px;position:relative;border-bottom:1px solid var(--line)}.checks li:before{content:'';position:absolute;left:0;top:23px;width:7px;height:7px;background:var(--blue);border-radius:50%}.visit{display:grid;grid-template-columns:1fr 1fr;gap:12%}.visit-details{display:grid;gap:24px}.visit-details h3{font-size:26px;margin-bottom:8px}.visit-details p{margin:0}.callout{padding:70px 0;background:var(--pale)}.callout .wrap{display:flex;justify-content:space-between;gap:40px;align-items:center}.callout h2{max-width:700px;margin-bottom:14px}.callout p{margin:0}.footer{padding:60px 0 26px;background:#fff}.footer-grid{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:60px}.footer-logo{width:285px;margin-bottom:24px}.footer h3{font-family:'Source Sans 3',sans-serif;font-size:18px;font-weight:600;letter-spacing:0}.footer p,.footer a{font-size:16px}.footer-links{display:grid;align-content:start;gap:8px}.footer-bottom{border-top:1px solid var(--line);margin-top:44px;padding-top:24px;display:flex;justify-content:space-between;gap:20px;font-size:14px}.footer-bottom a,.footer-bottom button{font-size:14px}.plain-button{border:0;background:none;color:inherit;padding:0;text-decoration:underline;text-underline-offset:4px}.subhero{padding:66px 0;background:var(--pale)}.subhero .wrap{max-width:1100px}.subhero h1{max-width:850px;font-size:clamp(42px,5vw,70px)}.subhero p{max-width:700px;font-size:22px;margin:0}.breadcrumb{font-size:15px;margin-bottom:25px;color:var(--muted)}.product{display:grid;grid-template-columns:1fr 1fr;gap:8%;align-items:center;margin-bottom:80px}.product:last-child{margin-bottom:0}.product:nth-child(even) .product-photo{order:2}.product-photo{background:#edf0f2;border-radius:6px;overflow:hidden}.product-photo img{width:100%;height:480px;object-fit:contain}.product-copy p{max-width:540px}.detail-photo{width:100%;height:420px;object-fit:cover;border-radius:5px}.prose{max-width:850px;margin:auto}.prose h2{font-size:34px;margin-top:40px}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:8%}.contact-phone{font-size:42px;font-family:Newsreader,serif;white-space:nowrap}.contact-email{overflow-wrap:anywhere}.contact-form{padding:30px;background:var(--pale);border-radius:6px}.contact-form h2{font-size:34px;margin-bottom:14px}.form-note{font-size:16px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:15px}.field{display:flex;flex-direction:column;gap:5px;font-size:16px;font-weight:600}.field.full{grid-column:1/-1}.field input,.field textarea{width:100%;border:1px solid #9eb6c5;background:white;color:var(--ink);border-radius:3px;padding:10px 12px;font-size:18px;font-weight:400}.field textarea{min-height:100px;resize:vertical}.consent{display:flex;align-items:flex-start;gap:10px;font-size:15px;margin:18px 0}.consent input{margin-top:6px;width:18px;height:18px;flex:none}.form-status{margin-top:16px;font-size:17px;color:#793f25}.trap{position:absolute;left:-9999px}.cookie-dialog{border:1px solid var(--line);border-radius:8px;color:var(--ink);max-width:560px;padding:36px;width:calc(100% - 32px)}.cookie-dialog::backdrop{background:#153d5880}.cookie-dialog h2{font-size:32px}.cookie-dialog p{font-size:18px}.cookie-dialog button{margin-top:10px}.not-found{min-height:60vh;padding:100px 0}@view-transition{navigation:auto}::view-transition-old(root),::view-transition-new(root){animation-duration:.18s}
@media(min-width:1100px) and (max-height:750px){:root{--nav:84px}.hero-main{padding:28px 0}h1{font-size:58px}.hero-main p.lead{font-size:19px;margin-bottom:18px}.eyebrow{margin-bottom:15px}.hero-bottom .wrap{padding:17px 0}.section{padding:64px 0}}
@media(max-width:1099px){:root{--nav:88px}.nav{gap:20px}.nav-phone{padding:10px 14px}.wrap{width:90%}.brand strong{font-size:26px}.hero-main{width:49%}.hero:before{background:linear-gradient(90deg,transparent 20%,#eaf3f8dd 53%,#edf5f9 85%)}.hero-bottom .wrap{font-size:15px;gap:15px}.footer-grid{gap:30px}.product-photo img{height:400px}}
@media(max-width:800px){:root{--nav:80px}body{font-size:18px}.nav-toggle{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:4px;padding:10px 12px;color:var(--ink);background:none;font-size:14px}.nav-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6}.nav{display:none;position:absolute;top:79px;left:0;right:0;background:var(--paper);padding:24px 5%;box-shadow:0 14px 20px #153d5812;align-items:stretch;gap:8px;font-size:15px}.nav.open{display:flex;flex-direction:column}.nav>a{padding:13px 0}.nav a.nav-phone{padding:12px 18px;width:fit-content;margin-top:8px}.dropdown{position:static;width:100%;box-shadow:none;border:0;border-left:2px solid var(--line);margin:4px 0 8px;padding:0 20px;display:none}.drop.open .dropdown{display:block}.dropdown a{padding:12px 0}.brand span{font-size:12px}.brand strong{font-size:25px}.hero{min-height:calc(100svh - var(--nav))}.hero-photo{object-position:24% center;height:43%;position:absolute}.hero:before{background:linear-gradient(0deg,#eaf2f6 56%,#eaf2f600 77%)}.hero-main{width:100%;margin:0;padding:260px 0 36px;display:block}.hero-main h1{font-size:46px;max-width:600px}.hero-main .eyebrow{font-size:16px}.hero-main p.lead{font-size:20px;max-width:560px}.hero-bottom .wrap{display:grid;gap:9px;padding:18px 0}.hero-note{font-size:14px}.section{padding:56px 0}.intro-grid,.visit,.contact-grid{grid-template-columns:1fr;gap:30px}.service-list{margin-top:30px}.service-row{grid-template-columns:1fr auto;gap:12px 20px;padding:24px 0}.service-row p{grid-column:1;grid-row:2;font-size:17px}.service-row .round-icon{grid-column:2;grid-row:1/3}.service-row h3{font-size:30px}.photo-story{grid-template-columns:1fr}.photo-story img{min-height:0;height:320px}.story-copy{padding:40px 5%}.callout{padding:48px 0}.callout .wrap{display:block}.callout .button{margin-top:24px}.footer-grid{grid-template-columns:1fr 1fr;gap:32px}.footer-grid>div:first-child{grid-column:1/-1}.footer-bottom{flex-wrap:wrap;font-size:13px;gap:14px}.subhero{padding:40px 0}.subhero p{font-size:20px}.product{grid-template-columns:1fr;gap:26px;margin-bottom:60px}.product:nth-child(even) .product-photo{order:0}.product-photo img{height:430px}.contact-form{padding:24px}.contact-phone{font-size:36px}}
@media(max-width:400px){.brand strong{font-size:22px}.brand span{font-size:11px}.hero-main h1{font-size:40px}.hero-main{padding-top:235px}.nav-toggle{padding:9px}.fields{grid-template-columns:1fr}.product-photo img{height:350px}.footer-grid{grid-template-columns:1fr}.footer-grid>div:first-child{grid-column:auto}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}@view-transition{navigation:none}}

/* Responsive refinement */
.intro-grid>*,.visit>*,.contact-grid>*,.product>*{min-width:0}h1,h2,h3{overflow-wrap:break-word;hyphens:auto}.hero>.wrap{flex:1;display:flex;align-items:center}.hero-main{flex:none}@media(min-width:1100px) and (max-height:650px){.hero-main{padding:22px 0}.hero-main h1{font-size:54px;margin-bottom:18px}.hero-note{margin-top:12px}.hero-bottom .wrap{padding:15px 0}}

.footer-logo{height:auto}
@media(min-width:801px){.contact-grid{align-items:start}.contact-form{padding:24px}.contact-form h2{font-size:30px;margin-bottom:10px}.contact-form .form-note{font-size:15px;line-height:1.35;margin-bottom:12px}.fields{gap:10px 14px}.field{gap:3px;font-size:15px}.field input,.field textarea{padding:7px 10px;font-size:17px}.field textarea{min-height:70px;height:70px}.consent{font-size:14px;line-height:1.35;margin:12px 0}.contact-form .button{padding:10px 24px}.contact-form .form-status:empty{display:none}.contact-form .form-status{margin-bottom:0}.section:has(.contact-grid){padding:28px 0}}

@media(min-width:801px){.contact-form{padding:20px}.contact-form .field{line-height:1.25}.contact-form input{line-height:1.3}.contact-form h2{margin-bottom:8px}.contact-form .form-note{margin-bottom:8px}.contact-form .fields{gap:8px 14px}.section:has(.contact-grid){padding:16px 0;min-height:calc(100svh - var(--nav));display:flex;align-items:center;width:100%}}
