:root {
  --green-950: #082f25;
  --green-900: #0b3d2e;
  --green-800: #12553f;
  --green-700: #19704f;
  --green-100: #dfece5;
  --green-50: #f0f6f2;
  --yellow: #f1dc3d;
  --yellow-soft: #faf3b5;
  --ink: #17201c;
  --muted: #617069;
  --paper: #fbfaf5;
  --white: #fff;
  --line: #ccd8d0;
  --font: "Manrope", Arial, sans-serif;
  --container: 1180px;
  --header-height: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font); line-height: 1.55; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.section { padding: 120px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 10px 16px; color: var(--white); background: var(--green-950); transform: translateY(-160%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; height: var(--header-height); color: var(--white); background: transparent; border-bottom: 0; transition: height .25s, color .25s, background .25s, box-shadow .25s; }
.site-header.is-scrolled { height: 72px; color: var(--ink); border-color: var(--line); background: rgba(251,250,245,.96); box-shadow: 0 8px 30px rgba(8,47,37,.08); backdrop-filter: blur(14px); }
.header-inner { height: 100%; display: grid; grid-template-columns: 190px 1fr auto; gap: 36px; align-items: center; }
.logo { width: 154px; padding: 0; background: transparent; filter: drop-shadow(0 1px 8px rgba(0,0,0,.18)); }
.site-header.is-scrolled .logo { filter: none; }
.logo img { width: 100%; height: auto; }
.logo .logo-light { display: block; }
.logo .logo-scrolled { display: none; }
.site-header.is-scrolled .logo-light { display: none; }
.site-header.is-scrolled .logo-scrolled { display: block; }
.main-nav { display: flex; justify-content: center; gap: clamp(22px,3vw,44px); }
.main-nav a { position: relative; font-size: 14px; font-weight: 600; text-decoration: none; }
.main-nav a::after { content: ""; position: absolute; inset: auto 0 -8px; height: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: right; transition: transform .25s; }
.site-header.is-scrolled .main-nav a::after { background: var(--green-700); }
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 54px; padding: 0 25px; border: 1px solid var(--green-900); border-radius: 2px; color: var(--white); background: var(--green-900); font-weight: 700; text-decoration: none; cursor: pointer; transition: color .2s, background .2s, transform .2s; }
.button:hover, .button:focus-visible { color: var(--green-950); background: var(--yellow); transform: translateY(-2px); outline: none; }
.button-small { min-height: 44px; padding: 0 19px; font-size: 13px; }
.header-cta { color: var(--white); background: transparent; border-color: rgba(255,255,255,.82); transform-origin: center; }
.header-cta:hover, .header-cta:focus-visible { color: var(--green-950); background: var(--yellow); border-color: var(--yellow); transform: scale(1.08); }
.site-header.is-scrolled .header-cta { color: var(--green-900); border-color: var(--green-900); }
.site-header.is-scrolled .header-cta:hover, .site-header.is-scrolled .header-cta:focus-visible { color: var(--green-950); background: var(--yellow); border-color: var(--yellow); }
.button-yellow { color: var(--green-950); background: var(--yellow); border-color: var(--yellow); }
.button-yellow:hover, .button-yellow:focus-visible { background: var(--white); border-color: var(--white); }
.text-link { display: inline-flex; gap: 12px; align-items: center; padding-bottom: 3px; border-bottom: 1px solid currentColor; color: var(--green-900); font-size: 14px; font-weight: 700; text-decoration: none; }
.text-link span { transition: transform .2s; }
.text-link:hover span, .text-link:focus-visible span { transform: translateX(5px); }
.text-link-light { color: var(--white); }
.eyebrow, .section-index { margin: 0 0 22px; color: var(--green-700); font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow-light { color: var(--yellow); }

.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: calc(var(--header-height) + 70px) 0 12vh; overflow: hidden; color: var(--white); background: var(--green-950); }
.hero::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(5,32,24,.88) 0%, rgba(5,32,24,.68) 42%, rgba(5,32,24,.16) 76%, rgba(5,32,24,.28) 100%); }
.hero::after { content: ""; position: absolute; z-index: 1; inset: auto 0 0; height: 40%; background: linear-gradient(0deg, rgba(4,27,20,.55), transparent); }
.hero-grid { position: relative; z-index: 2; }
.hero-copy { max-width: 820px; }
.hero h1 { margin: 0; font-size: clamp(78px,10.5vw,154px); line-height: .82; letter-spacing: -.07em; text-shadow: 0 5px 30px rgba(0,0,0,.22); }
.hero h1 em { color: var(--yellow); font-style: normal; }
.hero-lead { max-width: 590px; margin: 38px 0 0; color: rgba(255,255,255,.88); font-size: clamp(19px,2vw,26px); line-height: 1.5; }
.hero-visual, .hero-photo { position: absolute; inset: 0; }
.hero-photo { overflow: hidden; background: var(--green-950); }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-slide { opacity: 0; animation: heroFade 18s infinite; }
.hero-slide-one { animation-delay: 0s; }
.hero-slide-two { animation-delay: 6s; }
.hero-slide-three { animation-delay: 12s; }
@keyframes heroFade {
  0%, 27% { opacity: 1; transform: scale(1.02); }
  33%, 94% { opacity: 0; transform: scale(1.055); }
  100% { opacity: 1; transform: scale(1.02); }
}
.hero-scroll { position: absolute; z-index: 3; right: max(24px, calc((100% - var(--container))/2)); bottom: 10vh; display: flex; gap: 14px; align-items: center; color: var(--white); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.hero-scroll i { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; font-style: normal; transition: color .2s, background .2s, transform .2s; }
.hero-scroll:hover i, .hero-scroll:focus-visible i { color: var(--green-950); background: var(--yellow); transform: translateY(4px); }

.intro-grid { display: grid; grid-template-columns: 1fr 3fr; gap: 40px; }
.intro-content { max-width: 900px; }
.intro-content h2, .section-heading h2, .history h2, .process h2, .contact h2 { margin: 0; font-size: clamp(48px,6vw,82px); line-height: 1.05; letter-spacing: -.05em; }
.intro-content > p { max-width: 820px; margin: 38px 0 0; color: var(--muted); font-size: clamp(19px,2.1vw,27px); line-height: 1.55; }

.services { color: var(--white); background: var(--green-950); }
.section-heading { display: grid; grid-template-columns: 2fr 1fr; gap: 70px; align-items: end; margin-bottom: 70px; }
.section-heading .eyebrow { color: var(--yellow); }
.section-heading > p { margin: 0 0 10px; color: #bfd0c8; font-size: 17px; }
.service-feature { display: grid; grid-template-columns: 1.45fr .75fr; min-height: 500px; }
.service-photo { min-height: 420px; overflow: hidden; }
.service-photo img { width: 100%; height: 100%; object-fit: cover; }
.service-primary { display: flex; flex-direction: column; justify-content: center; padding: clamp(38px,5vw,70px); color: var(--white); background: var(--green-700); }
.service-number { color: var(--yellow); font-size: 13px; font-weight: 800; letter-spacing: .12em; }
.service-primary h3 { margin: 28px 0 22px; font-size: clamp(29px,3vw,42px); line-height: 1.12; }
.service-primary p { margin: 0 0 32px; color: #d9e7df; }
.service-primary .text-link { align-self: flex-start; margin-top: auto; }
.service-list { border-top: 1px solid rgba(255,255,255,.22); }
.service-row { display: grid; grid-template-columns: 70px .8fr 1.2fr; gap: 30px; align-items: baseline; padding: 32px 0; border-bottom: 1px solid rgba(255,255,255,.22); }
.service-row h3, .service-row p { margin: 0; }
.service-row h3 { font-size: 20px; }
.service-row p { color: #afc2b9; }

.history { background: var(--yellow-soft); overflow: hidden; }
.history-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px,8vw,110px); align-items: center; }
.history-copy p:not(.eyebrow) { color: #48554f; font-size: 17px; }
.history-copy .text-link { margin-top: 20px; }
.history-gallery { position: relative; min-height: 350px; }
.history-main { display: block; width: 86%; height: auto; margin-left: auto; object-fit: contain; }
.history-detail-frame { position: absolute; bottom: 0; left: 0; width: 62%; height: auto; border: 12px solid var(--yellow-soft); background: #fff; }
.history-detail-frame img { display: block; width: 100%; height: auto; }

.process { background: var(--paper); }
.process-heading { display: grid; grid-template-columns: 1fr 2.2fr; gap: 40px; margin-bottom: 65px; }
.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process-list li { display: grid; grid-template-columns: 140px 1fr; gap: 35px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.process-list > li > span { color: var(--green-700); font-size: 48px; font-weight: 500; }
.process-list h3 { margin: 0 0 8px; font-size: clamp(24px,3vw,34px); }
.process-list p { max-width: 650px; margin: 0; color: var(--muted); }

.contact { color: var(--white); background: var(--green-800); }
.contact-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(55px,8vw,110px); }
.contact-copy > p:not(.eyebrow):not(.hours) { max-width: 590px; color: #d0dfd7; }
address { display: grid; gap: 9px; margin: 45px 0 22px; font-style: normal; }
address a { width: fit-content; font-size: 18px; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 4px; }
address span { margin-top: 12px; color: #d0dfd7; }
.hours { color: var(--yellow); font-size: 13px; font-weight: 700; }
.contact-form { padding: clamp(30px,5vw,58px); color: var(--ink); background: var(--white); }
.form-row { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.contact-form label { display: grid; gap: 9px; margin-bottom: 22px; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.contact-form input, .contact-form textarea { width: 100%; border: 0; border-bottom: 1px solid #aab8b0; border-radius: 0; padding: 10px 0 12px; color: var(--ink); background: transparent; resize: vertical; outline: none; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--green-700); box-shadow: 0 2px 0 var(--green-700); }
.contact-form .button { margin-top: 8px; }
.form-status { margin: 16px 0 0; color: var(--muted); font-size: 12px; }
.form-status.is-active { color: var(--green-700); font-weight: 700; }

.site-footer { padding: 72px 0 28px; color: #cad9d1; background: var(--green-950); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr; gap: 50px; }
.footer-grid img { width: 154px; height: auto; }
.footer-grid > div:first-child p { color: var(--yellow); font-size: 22px; font-weight: 700; }
.footer-grid nav, .footer-contact { display: grid; align-content: start; gap: 10px; }
.footer-grid a { width: fit-content; text-decoration: none; }
.footer-grid a:hover, .footer-grid a:focus-visible { color: var(--yellow); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 65px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.16); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal-right { transform: translateX(35px); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  :root { --header-height: 76px; }
  .header-inner { grid-template-columns: 1fr auto; }
  .header-cta { display: none; }
  .menu-toggle { position: relative; z-index: 3; display: grid; gap: 5px; width: 44px; height: 44px; place-content: center; border: 0; color: var(--ink); background: transparent; cursor: pointer; }
  .menu-toggle > span:not(.sr-only) { width: 24px; height: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .menu-toggle[aria-expanded="true"] { color: var(--white); }
  .main-nav { position: fixed; inset: 0; width: 100vw; height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; color: var(--white); background: var(--green-950); visibility: hidden; opacity: 0; transition: opacity .25s, visibility .25s; }
  .main-nav.is-open { visibility: visible; opacity: 1; }
  .main-nav a { font-size: 26px; }
  .hero-grid, .history-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero::before { background: linear-gradient(90deg, rgba(5,32,24,.84), rgba(5,32,24,.3)); }
  .intro-grid { grid-template-columns: 1fr; }
  .section-heading { grid-template-columns: 1fr; }
  .service-feature { grid-template-columns: 1fr; }
  .service-primary { min-height: 360px; }
  .history-gallery { min-height: 520px; }
  .process-heading { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 32px, var(--container)); }
  .section { padding: 80px 0; }
  .logo { width: 132px; }
  .hero { min-height: 100svh; padding: calc(var(--header-height) + 70px) 0 12vh; }
  .hero::before { background: linear-gradient(90deg, rgba(5,32,24,.9), rgba(5,32,24,.38)); }
  .hero h1 { font-size: clamp(64px,20vw,94px); }
  .hero-lead { max-width: 90%; margin-top: 30px; font-size: 18px; }
  .hero-photo img { object-position: 58% center; }
  .hero-scroll { right: 16px; bottom: 30px; }
  .hero-scroll span { display: none; }
  .intro-content h2, .section-heading h2, .history h2, .process h2, .contact h2 { font-size: clamp(43px,13vw,62px); }
  .intro-content > p { font-size: 18px; }
  .section-heading { gap: 28px; margin-bottom: 42px; }
  .service-photo { min-height: 290px; }
  .service-primary { min-height: 350px; }
  .service-row { grid-template-columns: 42px 1fr; gap: 12px 16px; }
  .service-row p { grid-column: 2; }
  .history-gallery { min-height: 205px; }
  .history-main { width: 92%; height: auto; }
  .history-detail-frame { width: 67%; border-width: 8px; }
  .process-list li { grid-template-columns: 52px 1fr; gap: 16px; }
  .process-list > li > span { font-size: 34px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .reveal-right { transform: translateY(26px); }
  .reveal-right.is-visible { transform: none; }
  .contact-form { margin-inline: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
}

@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; }
  .hero-slide { animation: none; opacity: 0; transform: none; }
  .hero-slide:first-child { opacity: 1; }
}
