:root {
  color-scheme: light;
  --forest: #163020;
  --forest-light: #274c34;
  --gold: #c8a951;
  --ink: #1a1d1a;
  --muted: #5a625a;
  --paper: #f8f9f7;
  --line: #e2e6e1;
  --content: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid #8eaa8b; outline-offset: 4px; }
.skip-link { position: fixed; z-index: 20; top: 8px; left: 8px; padding: 10px 16px; background: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.falling-leaves { position: fixed; z-index: 12; inset: 0; overflow: hidden; pointer-events: none; }
.falling-leaf { position: absolute; top: -12vh; left: var(--leaf-left); width: var(--leaf-size); height: auto; overflow: visible; opacity: 0.74; fill: rgba(200, 169, 81, 0.2); stroke: rgba(218, 198, 137, 0.62); stroke-width: 1.5; filter: drop-shadow(0 2px 6px rgba(22, 48, 32, 0.08)); animation: leaf-fall var(--fall-time) linear var(--fall-delay) infinite; }
.falling-leaf .leaf-vein { fill: none; stroke: rgba(234, 224, 188, 0.68); stroke-width: 1.1; }
.falling-leaf:nth-child(1) { --leaf-left: 6%; --leaf-size: 25px; --fall-time: 18s; --scroll-fall-time: 8s; --fall-delay: -12s; --leaf-drift: 12vw; }
.falling-leaf:nth-child(2) { --leaf-left: 18%; --leaf-size: 32px; --fall-time: 23s; --scroll-fall-time: 10s; --fall-delay: -4s; --leaf-drift: -10vw; }
.falling-leaf:nth-child(3) { --leaf-left: 31%; --leaf-size: 22px; --fall-time: 15s; --scroll-fall-time: 7s; --fall-delay: -9s; --leaf-drift: 8vw; }
.falling-leaf:nth-child(4) { --leaf-left: 45%; --leaf-size: 29px; --fall-time: 21s; --scroll-fall-time: 9s; --fall-delay: -17s; --leaf-drift: -12vw; }
.falling-leaf:nth-child(5) { --leaf-left: 59%; --leaf-size: 24px; --fall-time: 17s; --scroll-fall-time: 8s; --fall-delay: -6s; --leaf-drift: 11vw; }
.falling-leaf:nth-child(6) { --leaf-left: 72%; --leaf-size: 34px; --fall-time: 24s; --scroll-fall-time: 11s; --fall-delay: -19s; --leaf-drift: -9vw; }
.falling-leaf:nth-child(7) { --leaf-left: 85%; --leaf-size: 25px; --fall-time: 16s; --scroll-fall-time: 7s; --fall-delay: -2s; --leaf-drift: -13vw; }
.falling-leaf:nth-child(8) { --leaf-left: 96%; --leaf-size: 30px; --fall-time: 22s; --scroll-fall-time: 10s; --fall-delay: -14s; --leaf-drift: -8vw; }
body.is-scrolling .falling-leaf { animation-duration: var(--scroll-fall-time); }
@keyframes leaf-fall {
  from { transform: translate3d(0, -12vh, 0) rotate(0deg); }
  to { transform: translate3d(var(--leaf-drift), 112vh, 0) rotate(420deg); }
}
@keyframes leaf-fall-gentle {
  from { transform: translate3d(0, -12vh, 0) rotate(0deg); }
  to { transform: translate3d(var(--leaf-drift), 112vh, 0) rotate(90deg); }
}
.section-wrap { width: min(var(--content), calc(100% - 80px)); margin-inline: auto; }
.section-block { padding-block: clamp(80px, 10vw, 150px); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.045em; overflow-wrap: anywhere; }
h1, h2 { font-weight: 700; }
h2 { font-size: clamp(2.5rem, 4.5vw, 4.5rem); }
h3 { font-size: 1.55rem; }
.eyebrow { color: var(--forest); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; line-height: 1.4; text-transform: uppercase; }

.site-header { position: sticky; z-index: 10; top: 0; background: rgba(255, 255, 255, 0.96); border-bottom: 2px solid rgba(200, 169, 81, 0.72); backdrop-filter: blur(14px); font-family: Inter, "Segoe UI Variable", "Segoe UI", sans-serif; }
.header-inner { width: min(1440px, calc(100% - 80px)); min-height: 88px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { flex: 0 0 auto; }
.brand img { width: 124px; height: 66px; object-fit: contain; }
.main-nav, .header-actions, .language-switch { display: flex; align-items: center; }
.main-nav { flex: 1 1 auto; justify-content: center; gap: clamp(20px, 2.5vw, 38px); }
.main-nav a { position: relative; font-size: 0.83rem; font-weight: 600; letter-spacing: -0.015em; text-decoration: none; }
.main-nav a::after { position: absolute; right: 0; bottom: -7px; left: 0; height: 2px; background: var(--gold); content: ""; transform: scaleX(0); transform-origin: left; transition: transform 180ms ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); }
.header-contact { display: flex; flex: 1 1 auto; align-items: center; justify-content: center; gap: 16px; }
.header-contact a { display: inline-flex; align-items: center; gap: 6px; color: var(--forest); font-size: 0.72rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.header-contact svg { width: 15px; height: 15px; flex: none; }
.header-contact a:hover, .header-contact a:focus-visible { color: var(--forest-light); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.card-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.header-actions { gap: 12px; margin-left: auto; }
.language-switch { gap: 2px; }
.language-switch button { padding: 7px 5px; border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 0.68rem; font-weight: 700; }
.language-switch button[aria-pressed="true"] { color: var(--forest); text-decoration: underline; text-underline-offset: 4px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 24px; padding: 13px 22px; border: 1px solid var(--forest); border-radius: 999px; cursor: pointer; font-size: 0.82rem; font-weight: 700; line-height: 1.3; text-align: center; text-decoration: none; transition: background-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease; }
.button-dark { background: var(--forest); color: #fff; }
.button-dark:hover { background: var(--forest-light); box-shadow: 0 8px 20px rgba(22, 48, 32, 0.16); transform: translateY(-2px); }
.button-outline { background: transparent; color: var(--forest); }
.button-outline:hover { background: #e9eee9; }
.header-cta { min-height: 44px; gap: 14px; padding: 8px 14px 8px 16px; border-color: #c0a038; border-radius: 4px; background: #c0a038; color: #fff; font-size: 0.76rem; font-weight: 650; letter-spacing: 0.01em; text-shadow: 0 1px 2px rgba(22, 48, 32, 0.8); white-space: nowrap; }
.header-cta:hover { border-color: #a98b30; background: #a98b30; box-shadow: 0 6px 16px rgba(22, 48, 32, 0.15); transform: translateY(-2px); }
.header-cta-icon { display: grid; width: 24px; height: 24px; flex: none; place-items: center; border-left: 1px solid rgba(255, 255, 255, 0.4); color: #fff; font-size: 1rem; transition: transform 180ms ease; }
.header-cta:hover .header-cta-icon { transform: translate(1px, -1px); }

.hero.section-wrap { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: none; min-height: min(760px, calc(100svh - 88px)); gap: clamp(48px, 7vw, 104px); overflow: hidden; margin: 0; padding: clamp(70px, 8vw, 112px) max(40px, calc((100vw - var(--content)) / 2)); background: radial-gradient(ellipse at 16% 28%, rgba(119, 154, 100, 0.2), transparent 34%), radial-gradient(ellipse at 76% 38%, rgba(200, 169, 81, 0.16), transparent 28%), radial-gradient(ellipse at 56% 100%, rgba(52, 91, 57, 0.32), transparent 44%), linear-gradient(125deg, #10271a 0%, var(--forest) 50%, #21462e 100%); color: #fff; }
.hero.section-wrap::before { position: absolute; z-index: -1; top: -34%; right: 1%; width: clamp(300px, 44vw, 660px); aspect-ratio: 1; border: 1px solid rgba(232, 220, 178, 0.24); border-radius: 50%; box-shadow: 0 0 0 20px rgba(232, 220, 178, 0.025), 0 0 0 54px rgba(232, 220, 178, 0.015); content: ""; }
.hero-forest { position: absolute; z-index: -1; right: 0; bottom: 0; left: 0; width: 100%; height: 40%; min-height: 210px; color: #b7c58d; opacity: 0.24; pointer-events: none; }
.hero-copy { flex: 0 1 46%; width: auto; max-width: 620px; min-width: 0; }
.hero-copy .eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 30px; color: #e2d095; }
.eyebrow-mark { width: 7px; height: 7px; flex: none; background: var(--gold); border-radius: 50%; }
.hero h1 { max-width: 680px; font-size: clamp(2.5rem, 3.4vw, 3.7rem); line-height: 0.99; overflow-wrap: normal; }
.hero-text { max-width: 470px; margin-top: 28px; color: #d3ded4; font-size: clamp(1rem, 1.2vw, 1.15rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero .button-dark { border-color: #fff; background: #fff; color: var(--forest); }
.hero .button-dark:hover { border-color: #f0e5c4; background: #f0e5c4; }
.hero .button-outline { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.hero .button-outline:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }
.hero-photos { position: relative; display: grid; flex: 0 1 51%; width: 100%; max-width: 650px; min-width: 0; align-self: center; aspect-ratio: 1.2 / 1; grid-template-columns: 1.25fr 0.75fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 16px; transform: rotate(1deg); }
.hero-photos img { width: 100%; height: 100%; object-fit: cover; border: 2px solid #fff; border-radius: 6px; box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24); transition: opacity 280ms ease, transform 280ms ease, box-shadow 280ms ease; }
.hero-photos img.is-changing { opacity: 0.55; }
.hero-photos img:hover { z-index: 1; box-shadow: 0 22px 44px rgba(0, 0, 0, 0.3); transform: scale(1.025); }
.hero-photo-main { grid-row: 1 / 3; aspect-ratio: 3 / 4; border-bottom-left-radius: 56px; }
.hero-photo-electric, .hero-photo-detail { aspect-ratio: 1 / 1; }

.services, .approach { background: #fff; }
.services { border-top: 2px solid rgba(200, 169, 81, 0.65); }
.projects { border-block: 2px solid rgba(200, 169, 81, 0.65); }
.approach { border-bottom: 2px solid rgba(200, 169, 81, 0.65); }
.section-heading { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; margin-bottom: 58px; }
.section-heading .eyebrow { padding-top: 12px; }
.section-heading p:not(.eyebrow) { max-width: 500px; margin-top: 22px; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.service-card { position: relative; display: flex; min-height: 310px; flex-direction: column; justify-content: space-between; gap: 42px; overflow: hidden; padding: clamp(28px, 3.2vw, 46px); border: 2px solid var(--gold); border-radius: 14px; background: #fbfcf9; transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease; }
.service-card::after { position: absolute; right: -44px; bottom: -78px; width: 190px; aspect-ratio: 1; border: 1px solid rgba(22, 48, 32, 0.08); border-radius: 50%; content: ""; pointer-events: none; }
.service-card:hover { box-shadow: 0 18px 40px rgba(22, 48, 32, 0.1); transform: translateY(-6px); }
.service-card:nth-child(2) { border-color: var(--gold); background: var(--forest); color: #fff; }
.service-card:nth-child(2)::after { border-color: rgba(255, 255, 255, 0.15); }
.service-number { display: inline-flex; width: fit-content; align-items: center; justify-content: center; min-width: 42px; min-height: 30px; padding-inline: 10px; border-radius: 999px; background: rgba(22, 48, 32, 0.07); color: var(--forest); font-size: 0.7rem; font-weight: 700; }
.service-card:nth-child(2) .service-number { background: rgba(255, 255, 255, 0.12); color: #e2d095; }
.service-card h3 { margin-bottom: 14px; }
.service-card p { max-width: 440px; color: var(--muted); }
.service-card:nth-child(2) p { color: #d3ded4; }
.card-link { position: relative; z-index: 1; width: fit-content; color: var(--forest); font-size: 0.8rem; font-weight: 700; text-decoration: none; }
.service-card:nth-child(2) .card-link { color: #e2d095; }
.card-link span { margin-left: 14px; }

.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.project-card { min-width: 0; overflow: hidden; border: 2px solid var(--gold); border-radius: 16px; background: #fff; box-shadow: 0 6px 18px rgba(22, 48, 32, 0.04); transition: transform 220ms ease, box-shadow 220ms ease; }
.project-card:hover { box-shadow: 0 18px 40px rgba(22, 48, 32, 0.12); transform: translateY(-5px); }
.project-card img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 450ms ease; }
.project-card:hover img { transform: scale(1.035); }
.project-card figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 17px 18px 20px; font-size: 0.85rem; font-weight: 700; }
.project-card figcaption span:last-child { color: var(--muted); font-size: 0.7rem; font-weight: 400; }
.comparison-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-top: clamp(80px, 9vw, 130px); margin-bottom: 28px; }
.comparison-heading h3 { margin-top: 15px; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.comparison-heading > p { max-width: 300px; color: var(--muted); }
.comparison-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.comparison-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border: 2px solid var(--gold); border-radius: 16px; transition: transform 350ms ease, box-shadow 350ms ease; }
.comparison-card:hover img { box-shadow: 0 18px 40px rgba(22, 48, 32, 0.14); transform: translateY(-4px); }
.comparison-card figcaption { padding-top: 14px; font-size: 0.83rem; font-weight: 700; }

.approach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(70px, 12vw, 180px); }
.approach h2 { margin-top: 25px; }
.approach-lead { max-width: 440px; margin-top: 25px; color: var(--muted); }
.business-card { width: 200px; height: 135px; margin-top: 40px; object-fit: cover; border: 2px solid var(--gold); border-radius: 8px; }
.approach-list { border-top: 2px solid rgba(200, 169, 81, 0.75); }
.approach-list > div { display: grid; grid-template-columns: 45px 1fr; gap: 20px; padding: 30px 0; border-bottom: 1px solid rgba(200, 169, 81, 0.6); }
.approach-list > div > span { padding-top: 5px; color: var(--muted); font-size: 0.75rem; }
.approach-list h3 { font-size: 1.25rem; }
.approach-list p { max-width: 430px; margin-top: 10px; color: var(--muted); }

.contact, .site-footer { background: var(--forest); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(60px, 10vw, 150px); }
.contact .eyebrow { color: #c1d0c0; }
.contact h2 { max-width: 570px; margin-top: 25px; }
.contact-copy > p:not(.eyebrow) { max-width: 410px; margin-top: 24px; color: #d2dcd2; }
.contact-links { display: grid; gap: 23px; margin-top: 50px; }
.contact-links div { display: grid; gap: 3px; }
.contact-links span { color: #c1d0c0; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.contact-links a { width: fit-content; font-size: 1.05rem; font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 5px; overflow-wrap: anywhere; }
.contact-form { display: grid; gap: 18px; align-content: start; padding: clamp(25px, 3.5vw, 46px); border: 2px solid var(--gold); border-radius: 8px; background: #fff; color: var(--ink); }
.contact-form h3 { margin-bottom: 6px; font-size: 1.5rem; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-field { display: grid; gap: 6px; }
.form-field label { font-size: 0.75rem; font-weight: 700; }
.form-field input, .form-field textarea { width: 100%; min-width: 0; padding: 11px 12px; border: 1px solid #cdd5cd; border-radius: 3px; background: #fff; color: var(--ink); }
.form-field textarea { resize: vertical; }
.button-light { width: fit-content; background: var(--forest); color: #fff; }
.button-light:hover { background: #274c34; }
.form-note, .form-status { color: var(--muted); font-size: 0.72rem; line-height: 1.5; }
.form-status:empty { display: none; }
.site-footer { border-top: 2px solid rgba(200, 169, 81, 0.75); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-block: 35px; font-size: 0.8rem; }
.footer-inner div { display: grid; }
.footer-inner span, .footer-inner p { color: #c1d0c0; }
.footer-inner a { text-underline-offset: 4px; }

@media (max-width: 1050px) {
  .header-inner { width: calc(100% - 40px); gap: 16px; }
  .header-actions { gap: 8px; }
  .main-nav { gap: 16px; }
  .header-contact { gap: 10px; }
  .header-contact a { font-size: 0.68rem; }
  .hero { gap: 40px; }
}
@media (max-width: 920px) and (min-width: 801px) {
  html { scroll-padding-top: 140px; }
  .header-inner { flex-wrap: wrap; padding-block: 8px 12px; }
  .brand img { width: 100px; height: 48px; }
  .header-contact { order: 3; flex: 0 0 100%; width: 100%; gap: 18px; }
  .main-nav { order: 4; flex: 0 0 100%; width: 100%; justify-content: space-between; gap: 12px; }
  .main-nav a { font-size: 0.75rem; }
}
@media (max-width: 800px) {
  html { scroll-padding-top: 140px; }
  .section-wrap { width: calc(100% - 40px); }
  .header-inner { flex-wrap: wrap; justify-content: space-between; padding-block: 8px 12px; }
  .brand img { width: 100px; height: 48px; }
  .header-contact { order: 3; flex: 0 0 100%; width: 100%; gap: 18px; }
  .main-nav { order: 4; flex: 0 0 100%; width: 100%; justify-content: space-between; gap: 12px; }
  .main-nav a { font-size: 0.75rem; }
  .hero.section-wrap { display: grid; min-height: 0; grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 64px 20px 72px; }
  .hero-copy, .hero-photos { width: 100%; }
  .hero-copy { max-width: 650px; }
  .hero-photos { max-width: 650px; }
  .section-heading, .approach-grid, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .section-heading .eyebrow { padding-top: 0; }
  .approach-grid, .contact-grid { gap: 50px; }
}
@media (max-width: 560px) {
  .section-wrap { width: calc(100% - 32px); }
  .header-inner { width: calc(100% - 32px); }
  .header-cta { min-height: 40px; gap: 8px; padding: 6px 8px 6px 12px; font-size: 0.68rem; }
  .header-cta-icon { width: 22px; height: 22px; font-size: 0.8rem; }
  .language-switch button { padding-inline: 3px; }
  .header-contact { gap: 12px; }
  .header-contact a { font-size: 0.66rem; }
  .hero h1 { font-size: clamp(2.1rem, 9vw, 3.2rem); }
  .hero-photos { gap: 12px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 260px; gap: 30px; }
  .project-grid { grid-template-columns: 1fr 1fr; gap: 26px 12px; }
  .project-card:first-child { grid-column: 1 / -1; }
  .project-card:first-child img { aspect-ratio: 4 / 3; }
  .comparison-heading { display: block; }
  .comparison-heading > p { margin-top: 15px; }
  .comparison-grid { gap: 12px; }
  .comparison-card img { aspect-ratio: 3 / 4; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: hero-rise 650ms both; }
  .hero-photo-main { animation: hero-rise 750ms 100ms both; }
  .hero-photo-electric { animation: hero-rise 750ms 180ms both; }
  .hero-photo-detail { animation: hero-rise 750ms 260ms both; }
}
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 360px) {
  .brand img { width: 68px; }
  .header-inner { gap: 8px; }
  .header-actions { gap: 4px; }
  .header-cta { gap: 8px; padding-inline: 8px; }
  .hero h1 { hyphens: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .falling-leaf { animation-name: leaf-fall-gentle; animation-duration: 36s !important; animation-iteration-count: infinite !important; }
  body.is-scrolling .falling-leaf { animation-duration: 18s !important; }
}
