:root {
  --forest: #173d2b;
  --forest-deep: #0e291e;
  --moss: #68815d;
  --sage: #d8e0d2;
  --cream: #f3f0e8;
  --paper: #fbfaf6;
  --ink: #192019;
  --muted: #657067;
  --line: rgba(25, 32, 25, .16);
  --gold: #d9b566;
  --shell: min(1180px, calc(100% - 48px));
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.6; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 10px 16px; color: #fff; background: var(--forest-deep); transform: translateY(-140%); }
.skip-link:focus { transform: none; }

.site-header { position: fixed; z-index: 50; inset: 0 0 auto; color: #fff; border-bottom: 1px solid rgba(255,255,255,.18); transition: background .3s, box-shadow .3s, color .3s; }
.site-header.scrolled { color: var(--ink); background: rgba(251,250,246,.96); border-color: var(--line); box-shadow: 0 10px 32px rgba(18,34,25,.08); backdrop-filter: blur(14px); }
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; }
.brand img { width: 174px; height: 66px; object-fit: contain; filter: none; }
.site-nav { display: flex; align-items: center; gap: 29px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.site-nav a { position: relative; text-decoration: none; }
.site-nav > a:not(.nav-cta)::after { content: ""; position: absolute; right: 0; bottom: -7px; left: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .25s; }
.site-nav > a:hover::after, .site-nav > a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 12px 18px; color: var(--ink); background: var(--gold); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: currentColor; transition: transform .25s, opacity .25s; }

.hero { position: relative; min-height: 100svh; display: grid; align-items: center; color: #fff; overflow: hidden; background: var(--forest-deep); }
.hero-image, .hero-shade { position: absolute; inset: 0; }
.hero-image { background: url("assets/S1_1-scaled.jpg") center 58% / cover no-repeat; transform: scale(1.02); animation: settle 1.6s ease-out both; }
.hero-shade { background: linear-gradient(90deg, rgba(7,25,17,.88) 0%, rgba(11,35,24,.65) 48%, rgba(7,25,17,.12) 76%), linear-gradient(0deg, rgba(7,24,16,.63), transparent 42%); }
.hero-inner { position: relative; z-index: 1; padding-block: 160px 190px; }
.eyebrow { margin: 0 0 20px; color: var(--moss); font-size: .73rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.hero-eyebrow { color: var(--gold); }
.hero h1 { max-width: 900px; margin: 0; font-family: var(--serif); font-size: clamp(4rem, 8.2vw, 8rem); font-weight: 400; line-height: .9; letter-spacing: -.055em; }
.hero h1 em { color: var(--gold); font-weight: 400; }
.hero-copy { max-width: 620px; margin: 30px 0 0; color: rgba(255,255,255,.86); font-size: clamp(1rem, 1.6vw, 1.2rem); }
.hero-actions { display: flex; align-items: center; gap: 32px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; min-height: 54px; padding: 14px 22px; border: 1px solid transparent; text-decoration: none; font-size: .82rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; cursor: pointer; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button-light { color: var(--ink); background: var(--gold); }
.button-dark { color: #fff; background: var(--forest); }
.button-dark:hover { background: var(--forest-deep); }
.button-outline-light { color: #fff; border-color: rgba(255,255,255,.6); }
.button-outline-light:hover { color: var(--forest-deep); background: #fff; }
.text-link { display: inline-flex; align-items: center; gap: 12px; width: fit-content; color: var(--forest); text-decoration: none; font-size: .76rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }
.text-link-light { color: #fff; }
.hero-facts { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; border-top: 1px solid rgba(255,255,255,.25); background: rgba(9,31,21,.44); backdrop-filter: blur(8px); }
.facts-inner { display: grid; grid-template-columns: .6fr .6fr 1.8fr; }
.facts-inner > div { min-height: 116px; padding: 24px 38px; border-left: 1px solid rgba(255,255,255,.19); display: flex; flex-direction: column; justify-content: center; }
.facts-inner > div:last-child { border-right: 1px solid rgba(255,255,255,.19); }
.facts-inner strong { font-family: var(--serif); font-size: 1.8rem; font-weight: 400; line-height: 1.1; }
.facts-inner span { margin-top: 7px; color: rgba(255,255,255,.66); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.section { padding-block: 120px; }
.section-heading { display: grid; grid-template-columns: 1.3fr .7fr; align-items: end; gap: 60px; margin-bottom: 62px; }
.section-heading h2, .about h2, .quote-section h2, .contact-strip h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.7rem, 5vw, 5rem); font-weight: 400; line-height: 1; letter-spacing: -.045em; }
.section-heading > p { max-width: 490px; margin: 0 0 7px; color: var(--muted); }
.service-list { border-top: 1px solid var(--line); }
.service-card { display: grid; grid-template-columns: minmax(260px, .7fr) 1.3fr; gap: 64px; padding-block: 34px; border-bottom: 1px solid var(--line); }
.service-photo { position: relative; height: 260px; overflow: hidden; background: var(--sage); }
.service-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s; }
.service-card:hover .service-photo img { transform: scale(1.035); }
.service-photo span { position: absolute; top: 0; right: 0; padding: 10px 13px; color: #fff; background: var(--forest); font-family: var(--serif); }
.service-content { align-self: center; display: grid; grid-template-columns: 1fr minmax(240px, .9fr); gap: 24px 50px; }
.service-content h3 { margin: 0; font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 3.6rem); font-weight: 400; letter-spacing: -.035em; }
.service-content p { margin: 0; color: var(--muted); }
.service-content .text-link { grid-column: 2; }
.region-note { width: fit-content; margin: 42px auto 0; padding: 11px 18px; color: var(--forest); border: 1px solid rgba(23,61,43,.28); font-size: .8rem; font-weight: 700; letter-spacing: .04em; }

.products { position: relative; color: #fff; background: var(--forest-deep); overflow: hidden; }
.products-banner { position: absolute; inset: 0 0 auto; height: 400px; background: linear-gradient(rgba(9,32,21,.42), rgba(14,41,30,.98)), url("assets/tooted_taustapilt-scaled.jpg") center / cover no-repeat; opacity: .8; }
.products .shell { position: relative; }
.section-heading-light .eyebrow { color: var(--gold); }
.section-heading-light > p { color: rgba(255,255,255,.7); }
.product-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 28px; }
.product-card { grid-column: span 4; }
.product-card:nth-child(4), .product-card:nth-child(5) { grid-column: span 6; }
.product-image { position: relative; width: 100%; height: 390px; padding: 0; border: 0; overflow: hidden; background: #29493a; cursor: zoom-in; }
.product-image > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: translateX(0); opacity: 1; transition: transform .62s cubic-bezier(.68, 0, .2, 1), opacity .62s ease, filter .35s; }
.product-image > img.is-leaving { transform: translateX(-32%); opacity: 0; }
.product-image > img.carousel-incoming { z-index: 1; transform: translateX(100%); opacity: .28; }
.product-image > img.carousel-incoming.is-active { transform: translateX(0); opacity: 1; }
.product-image > img.no-transition { transition: none; }
.product-image > .image-zoom { position: absolute; z-index: 3; right: 16px; bottom: 16px; display: grid; place-items: center; width: 42px; height: 42px; color: var(--ink); background: var(--gold); font-size: 1.5rem; transition: transform .25s; }
.carousel-dots { position: absolute; z-index: 3; right: 68px; bottom: 16px; left: 16px; min-height: 42px; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 12px; background: rgba(8,27,18,.7); backdrop-filter: blur(6px); pointer-events: none; }
.carousel-dot { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: rgba(255,255,255,.42); transition: width .25s, background .25s, border-radius .25s; }
.carousel-dot.active { width: 20px; flex-basis: 20px; border-radius: 10px; background: var(--gold); }
.product-image:hover > img:not(.is-leaving):not(.carousel-incoming) { transform: scale(1.025); filter: brightness(.86); }
.product-image:hover > .image-zoom { transform: rotate(90deg); }
.product-card > div { min-height: 105px; padding: 22px 4px; border-bottom: 1px solid rgba(255,255,255,.22); }
.product-number { float: right; margin: 7px 0 0; color: var(--gold); font-family: var(--serif); }
.product-card h3 { margin: 0; font-family: var(--serif); font-size: 2rem; font-weight: 400; }
.product-card > div > p:last-child:not(.product-number) { margin: 4px 0 0; color: rgba(255,255,255,.62); font-size: .86rem; }
.product-card .gallery-count { letter-spacing: .025em; }
.products-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 55px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.2); }
.products-cta p { margin: 0; font-family: var(--serif); font-size: 1.6rem; }

.about { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 10vw; align-items: center; }
.about-copy .lead { margin: 36px 0 22px; color: var(--forest); font-family: var(--serif); font-size: 1.45rem; line-height: 1.45; }
.about-copy > p:not(.eyebrow):not(.lead) { color: var(--muted); }
.about-image { position: relative; margin: 0; }
.about-image img { width: 100%; min-height: 600px; object-fit: cover; }
.about-image figcaption { position: absolute; right: -28px; bottom: -30px; width: 220px; min-height: 160px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; background: var(--forest); }
.about-image figcaption strong { color: var(--gold); font-family: var(--serif); font-size: 3rem; font-weight: 400; line-height: 1; }
.about-image figcaption span { font-size: .75rem; line-height: 1.4; }

.faq { background: #eef2eb; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.faq-card { padding: 30px; border: 1px solid rgba(23,61,43,.13); background: var(--paper); }
.faq-card h3 { margin-bottom: 12px; color: var(--forest); font-size: clamp(1.25rem, 2vw, 1.65rem); }
.faq-card p { margin: 0; color: #4d5d50; }

.quote-section { padding-block: 120px; background: var(--sage); }
.quote-grid { display: grid; grid-template-columns: .76fr 1.24fr; gap: 9vw; }
.quote-intro > p:not(.eyebrow) { max-width: 470px; color: #4d5d50; }
.quote-intro h2 { margin-bottom: 28px; }
.direct-contact { display: grid; gap: 4px; margin-top: 42px; }
.direct-contact span { margin-bottom: 7px; color: var(--muted); font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.direct-contact a { width: fit-content; color: var(--forest); font-family: var(--serif); font-size: 1.22rem; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.quote-form { padding: 46px; background: var(--paper); box-shadow: 0 25px 75px rgba(23,61,43,.11); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.quote-form label { display: block; margin-bottom: 22px; color: #3c483e; font-size: .74rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.quote-form label > span { color: #a25038; }
.quote-form input, .quote-form textarea, .quote-form select { width: 100%; margin-top: 8px; padding: 13px 0; color: var(--ink); border: 0; border-bottom: 1px solid #aab3aa; border-radius: 0; outline: 0; background: transparent; font-size: 1rem; font-weight: 400; letter-spacing: 0; text-transform: none; transition: border .2s; }
.quote-form input:focus, .quote-form textarea:focus, .quote-form select:focus { border-bottom-color: var(--forest); box-shadow: 0 1px 0 var(--forest); }
.quote-form textarea { resize: vertical; }
.quote-form .button { width: 100%; margin-top: 6px; }
.quote-form .button:disabled { cursor: wait; opacity: .72; }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-note { margin: 15px 0 0; color: var(--muted); font-size: .72rem; text-align: center; }
.form-status { min-height: 1.4em; margin: 6px 0 0; color: var(--forest); font-size: .8rem; text-align: center; }
.form-status.is-success { color: #27643e; }
.form-status.is-error { color: #9c392d; }

.contact-strip { padding-block: 74px; color: #fff; background: var(--forest); }
.contact-strip .eyebrow { color: var(--gold); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 70px; }
.contact-strip h2 { font-size: clamp(2.5rem, 4vw, 4.2rem); }
.contact-links { display: grid; grid-template-columns: 1fr; gap: 34px; }
.contact-links a { padding-block: 18px; border-top: 1px solid rgba(255,255,255,.25); text-decoration: none; }
.contact-links span { display: block; margin-bottom: 6px; color: rgba(255,255,255,.58); font-size: .69rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contact-links strong { font-family: var(--serif); font-size: 1.12rem; font-weight: 400; }
.site-footer { padding-block: 30px; color: #667068; border-top: 1px solid var(--line); background: #d8e0d2; font-size: .73rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand-footer img { width: 130px; height: 48px; filter: none; opacity: 1; }
.footer-inner p { margin: 0; }
.footer-inner > a:last-child { color: var(--forest); font-weight: 700; text-decoration-color: rgba(23,61,43,.35); text-underline-offset: 4px; }

.lightbox { width: min(1080px, calc(100% - 32px)); max-height: 92vh; padding: 0; border: 0; overflow: visible; background: transparent; }
.lightbox[open] { display: grid; grid-template-columns: 54px minmax(0, 1fr) 54px; align-items: center; gap: 16px; }
.lightbox::backdrop { background: rgba(4,13,8,.88); backdrop-filter: blur(4px); }
.lightbox img { grid-column: 2; max-width: 100%; max-height: 82vh; margin: auto; object-fit: contain; box-shadow: 0 20px 80px #000; }
.lightbox button { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.6); color: #fff; background: rgba(0,0,0,.3); font-size: 1.6rem; cursor: pointer; transition: background .2s, border-color .2s; }
.lightbox button:hover { border-color: #fff; background: var(--forest); }
.lightbox-close { position: fixed; top: 20px; right: 24px; }
.lightbox-nav { position: relative; z-index: 2; }
.lightbox-prev { grid-column: 1; grid-row: 1; }
.lightbox-next { grid-column: 3; grid-row: 1; }
.lightbox-counter { grid-column: 2; margin: 10px 0 0; color: #fff; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-align: center; text-transform: uppercase; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes settle { from { transform: scale(1.08); opacity: .55; } to { transform: scale(1.02); opacity: 1; } }

@media (max-width: 900px) {
  :root { --shell: min(100% - 36px, 720px); }
  .menu-toggle { position: relative; z-index: 2; display: block; }
  .site-nav { position: fixed; inset: 0; padding: 110px 30px 45px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 26px; color: #fff; background: var(--forest-deep); font-family: var(--serif); font-size: 2rem; font-weight: 400; letter-spacing: -.02em; text-transform: none; transform: translateX(100%); transition: transform .3s; }
  .site-nav.open { transform: none; }
  .site-nav .nav-cta { color: var(--ink); font-family: var(--sans); font-size: .82rem; text-transform: uppercase; }
  .menu-toggle[aria-expanded="true"] { color: #fff; }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
  .section { padding-block: 90px; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; margin-bottom: 44px; }
  .service-card { grid-template-columns: 1fr; gap: 25px; }
  .service-content { grid-template-columns: 1fr; }
  .service-content .text-link { grid-column: auto; }
  .product-card, .product-card:nth-child(4), .product-card:nth-child(5) { grid-column: span 6; }
  .about-grid, .quote-grid, .contact-inner { grid-template-columns: 1fr; gap: 65px; }
  .about-copy { max-width: 650px; }
  .about-image figcaption { right: 18px; }
  .contact-links { max-width: 650px; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100% - 28px); }
  html { scroll-padding-top: 74px; }
  .header-inner { min-height: 72px; }
  .brand img { width: 145px; height: 54px; }
  .hero-inner { padding-block: 130px 250px; }
  .hero h1 { font-size: clamp(3.45rem, 17vw, 5.5rem); }
  .hero-copy { margin-top: 24px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .facts-inner { grid-template-columns: 1fr 1fr; }
  .facts-inner > div { min-height: 96px; padding: 18px 15px; border-left: 0; }
  .facts-inner > div:nth-child(2) { border-left: 1px solid rgba(255,255,255,.19); }
  .facts-inner > div:last-child { grid-column: 1 / -1; min-height: 80px; border-top: 1px solid rgba(255,255,255,.19); border-right: 0; }
  .section { padding-block: 72px; }
  .section-heading h2, .about h2, .quote-section h2 { font-size: clamp(2.55rem, 13vw, 4rem); }
  .service-photo { height: 235px; }
  .service-content h3 { font-size: 2.3rem; }
  .product-grid { gap: 36px; }
  .product-card, .product-card:nth-child(4), .product-card:nth-child(5) { grid-column: 1 / -1; }
  .product-image { height: 370px; }
  .products-cta { align-items: flex-start; flex-direction: column; }
  .about-grid { gap: 45px; }
  .about-image img { min-height: 430px; }
  .about-image figcaption { right: 12px; bottom: -24px; width: 190px; min-height: 140px; }
  .faq-grid { grid-template-columns: 1fr; }
  .quote-section { padding-block: 72px; }
  .quote-grid { gap: 42px; }
  .quote-form { padding: 30px 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-strip { padding-block: 60px; }
  .contact-inner { gap: 38px; }
  .contact-links { grid-template-columns: 1fr; gap: 10px; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 12px; }
  .brand-footer img { width: 110px; height: 44px; }
  .lightbox[open] { grid-template-columns: 1fr 1fr; gap: 12px; }
  .lightbox img { grid-column: 1 / -1; grid-row: 1; }
  .lightbox-prev, .lightbox-next { grid-row: 2; }
  .lightbox-prev { grid-column: 1; justify-self: end; }
  .lightbox-next { grid-column: 2; justify-self: start; }
  .lightbox-counter { grid-column: 1 / -1; grid-row: 3; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
