/* Approved homepage layout. Webflow classes, data-w-id targets and shared
   styles remain in place; the existing arrow motion is still run by Webflow. */
.home-page {--home-blue:#146fb8;--home-ink:#152332;--home-muted:#4b5563;}
.home-page .header-wrapper {background:#f3f6fa;}
.home-page .section-header-large {display:block;max-width:none;padding:56px 5% 64px;}
.home-page .section-header-large .container-2 {max-width:1200px;}
.home-page .header-grid {grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px;align-items:center;}
.home-page .header-block {min-width:0;max-width:100%;text-align:left;}
.home-page .hero-heading {color:var(--home-ink);font-size:clamp(40px,4.2vw,64px);line-height:1.1;letter-spacing:-.035em;margin-bottom:24px;}
.home-page .span-primary {color:var(--home-blue);}
.home-page .header-block > .paragraph-regular-4 {font-size:18px;line-height:1.6;}
.home-page .home-hero-actions {display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin-top:24px;}
.home-page .home-hero-actions .gradient-arrow-button {display:inline-flex;}
.home-page .home-hero-actions .hero-contact-button {margin-top:0;}
.home-page .hero-phone-button strong {font-weight:700;white-space:nowrap;}
/* Service area uses the site's existing type and construction-sign rhythm. */
.home-page .home-service-area {position:relative;margin:24px 0;padding-top:16px;text-align:left;}
.home-page .home-service-area::before {content:'';position:absolute;top:0;left:0;width:40px;height:3px;background:var(--home-blue);}
.home-page .home-area-label {margin:0 0 8px;color:var(--home-muted);font-family:'Barlow',Arial,sans-serif;font-size:15px;font-weight:400;line-height:1.5;letter-spacing:0;}
.home-page .home-area-locations {display:flex;flex-wrap:wrap;gap:0 10px;margin:0;color:var(--home-ink);font-family:'Teko','Arial Narrow',Arial,sans-serif;font-size:28px;font-weight:600;line-height:1.2;letter-spacing:0;text-transform:uppercase;}
.home-page .home-area-place {white-space:nowrap;}
.home-page .home-area-separator {color:var(--home-blue);}
.home-page .header-tall-image {position:relative;inset:auto;width:100%;height:auto;aspect-ratio:4/5;overflow:hidden;border-radius:var(--site-radius,12px);}
.home-page .header-image-tall {display:block;width:100%;height:100%;object-fit:cover;object-position:center;}
.home-page .home-services {padding:56px 5% 64px;}
.home-page .home-service-group {min-width:0;}
.home-page .home-service-group + .home-service-group {margin-top:56px;padding-top:48px;}
.home-page .home-service-group-heading {margin:0 0 24px;color:var(--home-ink);font-family:'Teko','Arial Narrow',Arial,sans-serif;font-size:36px;font-weight:600;line-height:1.1;letter-spacing:0;scroll-margin-top:24px;}
.home-page #main-content .home-services-grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch;}
.home-page .home-services-grid > a {display:block;min-width:0;width:100%;height:100%;color:inherit;text-decoration:none;border-radius:12px;}
.home-page .home-services-grid > a > .content-card {display:flex;flex-direction:column;justify-content:flex-start;gap:0;width:100%;height:100%;min-width:0;padding:0;background:#fff;border:1px solid #e4e9ef;border-radius:12px;overflow:hidden;box-shadow:0 3px 14px #1523320a;transition:border-color var(--site-hover-duration) var(--site-hover-easing),box-shadow var(--site-hover-duration) var(--site-hover-easing);}
.home-page .home-service-media {aspect-ratio:4/3;width:100%;overflow:hidden;background:#eef2f6;}
.home-page .home-service-image {display:block;width:100%;height:100%;object-fit:cover;transition:transform var(--site-hover-duration) var(--site-hover-easing);}
.home-page .home-services-grid .wrap-h-justify {align-items:flex-start;gap:16px;padding:24px 24px 10px;border-radius:0;background:none;}
.home-page .home-services-grid .wrap-h-x-small.align-center {height:auto;min-width:0;padding:0;}
.home-page .home-service-title {margin:0;color:var(--home-ink);font-size:22px;font-weight:600;line-height:1.25;letter-spacing:-.025em;overflow-wrap:break-word;}
.home-page .home-services-grid .nuoli-wrapper {flex-shrink:0;width:24px;min-width:24px;height:28px;min-height:28px;margin:0;padding:0;background:none;border-radius:0;display:flex;align-items:center;}
.home-page .home-services-grid .icon-small-2 {width:24px;height:24px;max-width:none;border-radius:0;}
.home-page .home-service-description {margin:0;padding:0 24px 24px;color:var(--home-muted);font-size:16px;line-height:1.6;}
.home-page .home-services-grid > a:hover > .content-card,
.home-page .home-services-grid > a:focus-visible > .content-card {border-color:var(--home-blue);box-shadow:0 8px 26px #15233212;}
.home-page .home-services-grid > a:hover .home-service-image,
.home-page .home-services-grid > a:focus-visible .home-service-image {transform:scale(1.045);}
/* Focus motion belongs to the wrapper; .icon-small-2 keeps its Webflow transform. */
.home-page .home-services-grid > a:focus-visible .nuoli-wrapper {transform:translate(3px,-3px);}
/* Three short, ordered steps reuse the homepage card and type system. */
.home-page .home-process {padding:0 5%;}
.home-page .home-process-container {max-width:1200px;margin:0 auto;}
.home-page .home-process-heading {margin:0 0 32px;color:var(--home-ink);font-size:clamp(36px,3.5vw,48px);line-height:1.1;scroll-margin-top:24px;}
.home-page .home-process-steps {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:0;padding:0;list-style:none;}
.home-page .home-process-step {display:flex;flex-direction:column;align-items:flex-start;gap:18px;min-width:0;padding:24px;background:#fff;border:1px solid var(--site-border,#e4e9ef);border-radius:12px;}
.home-page .home-process-number {display:flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;border-radius:50%;background:#e7f0f8;color:var(--home-blue);font:600 20px/1 'Barlow',Arial,sans-serif;}
.home-page .home-process-copy {min-width:0;}
.home-page .home-process-copy h3 {margin:0 0 10px;color:var(--home-ink);font:600 22px/1.3 'Barlow',Arial,sans-serif;letter-spacing:0;overflow-wrap:break-word;}
.home-page .home-process-copy p {margin:0;color:var(--home-muted);font:400 16px/1.6 'Barlow',Arial,sans-serif;}
.home-page .home-process-actions {display:flex;flex-wrap:wrap;margin-top:24px;}
.home-page .home-company {padding:80px 5%;background:#f3f6fa;}
.home-page .home-company .container-large-2 {max-width:1200px;}
.home-page .home-company .bento-wrapper {padding:0;background:none;}
.home-page .home-company .content-bento-a {grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px;align-items:center;}
.home-page .home-company .content-bento-cell {padding:0;background:none;border:0;border-radius:0;box-shadow:none;}
.home-page .home-company .wrap-v-medium {gap:24px;}
.home-page .home-company h2.h6-heading {margin:0;color:var(--home-ink);font-size:clamp(32px,3.2vw,44px);line-height:1.15;letter-spacing:-.025em;}
.home-page .home-company .alaotsikko {margin:0;color:var(--home-blue);font-size:18px;font-weight:600;line-height:1.5;}
.home-page .home-company .paragraph-large {margin:0;color:var(--home-muted);font-size:17px;line-height:1.75;}
.home-page .home-company .button-ghost {align-self:flex-start;width:fit-content;max-width:100%;color:var(--home-blue);}
.home-page .home-company-media {width:100%;aspect-ratio:4/5;border-radius:var(--site-radius,12px);overflow:hidden;}
.home-page .home-company-image {display:block;width:100%;height:100%;object-fit:cover;object-position:60% center;}
.home-page .home-trust {padding:48px 5% 56px;background:#f3f6fa;}
.home-page .home-trust .container-regular {max-width:1200px;}
/* Approved tax reminder: heading/copy and one grouped authority/link column. */
.home-page .home-tax-note {position:relative;isolation:isolate;overflow:hidden;margin-top:0;padding:42px 48px;background:#fff;border:1px solid var(--site-border);border-radius:12px;box-shadow:none;}
.home-page .home-tax-note .wrap-v-medium {position:relative;z-index:1;display:grid;width:100%;grid-template-columns:minmax(0,1fr) 240px;gap:48px;align-items:center;}
.home-page .home-tax-note .tax-copy {display:grid;gap:16px;min-width:0;}
.home-page .home-tax-note .tax-description,
.home-page .home-tax-note .tax-amounts {max-width:58ch;margin:0;color:var(--home-muted);font:400 17px/1.65 'Barlow',Arial,sans-serif;text-align:left;}
.home-page .home-tax-note .h6-heading {margin:0;color:var(--home-ink);line-height:1.1;text-align:left;}
.home-page .home-tax-note .tax-reminder {display:block;margin-bottom:8px;color:var(--home-blue);font:600 18px/1.4 'Barlow',Arial,sans-serif;}
.home-page .home-tax-note .tax-title {display:block;color:var(--home-ink);font:600 52px/1.04 'Teko','Arial Narrow',Arial,sans-serif;letter-spacing:0;}
.home-page .home-tax-note .tax-authority {display:flex;flex-direction:column;align-items:center;gap:10px;}
/* Crop only transparent canvas; the original green mark keeps its proportions. */
.home-page .home-tax-note .tax-logo-canvas {position:relative;width:240px;height:88px;overflow:hidden;}
.home-page .home-tax-note .bento-image-asset {position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:276px;max-width:none;height:auto;margin:0;}
.home-page .home-tax-note .button-ghost {grid-column:auto;align-self:center;display:inline-flex;justify-content:center;gap:10px;min-height:44px;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:var(--home-blue);font:600 18px/1.4 'Barlow',Arial,sans-serif;text-decoration:none;white-space:nowrap;}
.home-page .home-tax-note .button-ghost .text-block {text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px;}
.home-page .home-tax-note .button-ghost .icon-regular {width:22px;height:22px;flex:none;}
.home-page .home-tax-note .tax-calculator-link {max-width:100%;white-space:normal;text-align:center;}
.home-page .home-tax-note .tax-calculator-link .text-block {min-width:0;overflow-wrap:break-word;}
/* Match the adjacent Webflow arrow and the shared hover timing in both directions. */
.home-page .home-tax-note .tax-calculator-link .icon-regular {transition:transform var(--site-hover-duration) var(--site-hover-easing);}
.home-page .home-tax-note .tax-calculator-link:hover .icon-regular,
.home-page .home-tax-note .tax-calculator-link:focus-visible .icon-regular {transform:translateX(3px);}
/* Six half-width tracks preserve three original-size cards per row while
   centering the final pair. Keep placement off the Webflow transform targets. */
@media (min-width:992px) {
 .home-page #main-content .home-services-grid {grid-template-columns:repeat(6,minmax(0,1fr));}
 .home-page #main-content .home-services-grid > a {grid-column:span 2;}
 .home-page #main-content .home-services-grid > a:nth-child(4) {grid-column:2 / span 2;}
 .home-page #main-content .home-services-grid > a:nth-child(5) {grid-column:4 / span 2;}
}
@media (max-width:991px) {
 .home-page .section-header-large {padding-top:32px;padding-bottom:48px;}
 .home-page .header-grid,.home-page .home-company .content-bento-a {grid-template-columns:minmax(0,1fr);gap:36px;}
 .home-page .hero-heading {max-width:760px;font-size:clamp(40px,6.5vw,60px);}
 .home-page .header-tall-image,.home-page .home-company-media {aspect-ratio:4/3;}
 .home-page #main-content .home-services-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
 .home-page .home-services {padding-top:64px;padding-bottom:64px;}
 .home-page .home-company {padding-top:56px;padding-bottom:56px;}
}
@media (max-width:767px) {
 .home-page .home-process-heading {margin-bottom:24px;}
 .home-page .home-process-steps {grid-template-columns:minmax(0,1fr);gap:16px;}
 .home-page .home-process-step {flex-direction:row;gap:16px;}
 .home-page .home-trust {padding:28px 5% 36px;}
 .home-page .home-tax-note {padding:28px 24px;}
 .home-page .home-tax-note .wrap-v-medium {grid-template-columns:minmax(0,1fr);gap:24px;}
 .home-page .home-tax-note .tax-title {font-size:40px;}
 .home-page .home-tax-note .tax-reminder {font-size:17px;}
 .home-page .home-tax-note .tax-authority {align-items:flex-start;gap:6px;}
 .home-page .home-tax-note .tax-logo-canvas {width:206px;height:72px;margin-left:-22px;}
 .home-page .home-tax-note .bento-image-asset {width:236px;}
 .home-page .home-tax-note .button-ghost {align-self:flex-start;font-size:17px;}
 .home-page .home-tax-note .tax-calculator-link {text-align:left;}
}
@media (max-width:599px) {
 .home-page .home-process-step {padding:20px;gap:14px;}
 .home-page .home-process-copy h3 {font-size:20px;}
 .home-page .home-process-actions .content-button-primary {width:100%;}
 .home-page .home-hero-actions .gradient-arrow-button {width:100%;}
 .home-page #main-content .home-services-grid {grid-template-columns:minmax(0,1fr);}
 .home-page .hero-heading {font-size:clamp(38px,9.5vw,48px);line-height:1.13;}
 .home-page .header-block > .paragraph-regular-4 {font-size:17px;}
 .home-page .home-service-group + .home-service-group {margin-top:40px;padding-top:32px;}
 .home-page .home-service-group-heading {font-size:32px;margin-bottom:20px;}
 .home-page .home-service-title {font-size:23px;}
}
@media (max-width:359px) {
 .home-page .home-tax-note .tax-title {font-size:36px;}
}
@media (prefers-reduced-motion:reduce) {
 .home-page .home-service-image,.home-page .home-services-grid > a > .content-card {transition:none;}
 .home-page .home-tax-note .tax-calculator-link .icon-regular {transition:none;}
 .home-page .home-tax-note .tax-calculator-link:hover .icon-regular,
 .home-page .home-tax-note .tax-calculator-link:focus-visible .icon-regular {transform:none;}
}
