@font-face {
  font-family: "WunderlichLocal";
  src: url("assets/fonts/site-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "WunderlichLocal";
  src: url("assets/fonts/site-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #03283d;
  --green: #68af23;
  --ink: #102232;
  --muted: #5d6c77;
  --line: #dce6e2;
  --paper: #ffffff;
  --soft: #f4f8f5;
  --max: 1180px;
  --header-height: 146px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--green) var(--blue);
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--blue);
}

::-webkit-scrollbar-thumb {
  background: var(--green);
  border: 3px solid var(--blue);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #7bcf2b;
}

::selection {
  background: var(--green);
  color: #fff;
}

::-moz-selection {
  background: var(--green);
  color: #fff;
}

body {
  margin: 0;
  font-family: "WunderlichLocal", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

a:hover {
  color: var(--green);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--blue);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  background: var(--paper);
  box-shadow: 0 18px 38px rgba(3, 40, 61, 0.12);
  transform: translateY(0);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.site-header.is-hidden {
  transform: translateY(-100%);
  box-shadow: none;
}

.brand-strip {
  height: 14px;
  background: var(--green);
}

.brand-base {
  height: 18px;
  background: var(--blue);
}

.header-inner,
.footer-inner {
  width: min(var(--max), calc(100% - 48px));
  min-height: 114px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
}

.brand img,
.footer-inner img {
  width: min(462px, 45vw);
}

.header-contact,
.footer-inner address {
  margin: 0;
  display: flex;
  gap: 34px;
  align-items: center;
  color: var(--blue);
  font-style: normal;
  font-size: 15px;
  line-height: 1.35;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 190px;
}

.contact-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--blue);
  font-size: 30px;
  line-height: 1;
  flex: 0 0 auto;
}

.mobile-actions,
.mobile-menu,
.mobile-menu-toggle {
  display: none;
}

.mobile-action {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(3, 40, 61, 0.18);
  border-radius: 4px;
  color: var(--blue);
  background: #fff;
  text-decoration: none;
  cursor: pointer;
}

.mobile-menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  border: 1px solid rgba(3, 40, 61, 0.18);
  border-radius: 4px;
  color: var(--blue);
  background: #fff;
  padding: 0;
  appearance: none;
  cursor: pointer;
  font: inherit;
}

.mobile-menu-toggle span {
  width: 20px;
  height: 2px;
  display: block;
  margin: 3px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-header.is-menu-open .mobile-menu-toggle span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.site-header.is-menu-open .mobile-menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-menu-open .mobile-menu-toggle span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.mobile-action svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

main {
  overflow: hidden;
}

main [id] {
  scroll-margin-top: calc(var(--header-height) + 34px);
}

.hero {
  min-height: calc(100svh - var(--header-height));
  position: relative;
  display: grid;
  align-items: end;
  margin-top: var(--header-height);
  padding: 80px 24px 84px;
  isolation: isolate;
  max-width: 100vw;
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  z-index: -2;
  overflow: hidden;
  background: var(--blue);
}

.hero-media img {
  object-fit: cover;
  object-position: 58% 36%;
  animation: kenburns 18s ease-out both;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 40, 61, 0.9) 0%, rgba(3, 40, 61, 0.62) 42%, rgba(3, 40, 61, 0.12) 100%),
    linear-gradient(0deg, rgba(3, 40, 61, 0.48), rgba(3, 40, 61, 0.06) 45%);
}

.hero-badge {
  position: absolute;
  top: clamp(96px, 12vh, 132px);
  right: max(4px, calc((100vw - var(--max)) / 2 - 188px));
  z-index: 1;
  width: min(258px, 18vw);
  height: auto;
  filter: drop-shadow(0 20px 32px rgba(3, 40, 61, 0.22));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), 100%);
  margin: 0 auto;
  color: #fff;
  min-width: 0;
}

.eyebrow,
.section-label {
  margin: 0 0 16px;
  color: var(--green);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

.hero h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(2.65rem, 6.6vw, 6.25rem);
  line-height: 0.95;
  letter-spacing: 0;
  overflow-wrap: break-word;
  hyphens: auto;
}

.hero-copy {
  max-width: 650px;
  margin: 38px 0 0;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
  transform: translateY(0);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    color 220ms ease,
    background 220ms ease,
    transform 220ms ease;
  will-change: transform;
}

.button::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -70% auto -70% -65%;
  width: 58%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0));
  transform: skewX(-18deg) translateX(0);
  transition: transform 540ms ease;
  pointer-events: none;
}

.button:hover,
.button:focus-visible {
  color: #fff;
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.24);
  transform: translateY(-5px);
}

.button:hover::before,
.button:focus-visible::before {
  transform: skewX(-18deg) translateX(330%);
}

.button:focus-visible {
  outline: 3px solid rgba(104, 175, 35, 0.55);
  outline-offset: 4px;
}

.button.primary {
  background: var(--green);
  color: #fff;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.12);
}

.section {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 96px 0;
  scroll-margin-top: 170px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 70px;
  align-items: start;
}

h2 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 1.08rem;
}

p {
  margin: 0 0 18px;
}

h2 + p {
  margin-top: 34px;
}

.intro p,
.plant-copy p,
.team-copy p,
.cta p {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  color: var(--muted);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 74px;
  align-items: center;
}

.content-grid.reverse {
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
}

.service-band,
.machine {
  width: 100%;
  max-width: none;
  padding: 106px max(24px, calc((100vw - var(--max)) / 2));
}

.service-band {
  background: var(--soft);
}

.machine {
  background: #fff;
}

.text-panel {
  max-width: 660px;
}

.check-list {
  margin: 50px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: #263b49;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--green);
  border-bottom: 3px solid var(--green);
  transform: rotate(-45deg);
}

.image-panel {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 24px 60px rgba(3, 40, 61, 0.16);
  transform: translateY(0);
  transition:
    box-shadow 260ms ease,
    transform 260ms ease;
}

.image-panel::before,
.team-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(104, 175, 35, 0.26), rgba(104, 175, 35, 0) 32%),
    linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
  opacity: 0;
  transform: translateX(-28%) skewX(-14deg);
  transition:
    opacity 260ms ease,
    transform 560ms ease;
}

.image-panel::after,
.team-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 0 rgba(104, 175, 35, 0);
  transition: box-shadow 260ms ease;
}

.image-panel img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transform: scale(1);
  transition:
    filter 360ms ease,
    transform 520ms ease;
  will-change: transform;
}

.image-panel.wide img {
  aspect-ratio: 4 / 5;
  object-position: center;
}

@media (hover: hover) and (pointer: fine) {
  .image-panel:hover,
  .team-photo:hover {
    box-shadow: 0 30px 68px rgba(3, 40, 61, 0.22);
    transform: translateY(-5px);
  }

  .image-panel:hover::before,
  .team-photo:hover::before {
    opacity: 1;
    transform: translateX(46%) skewX(-14deg);
  }

  .image-panel:hover::after,
  .team-photo:hover::after {
    box-shadow: inset 0 0 0 2px rgba(104, 175, 35, 0.52);
  }

  .image-panel:hover img,
  .team-photo:hover img {
    filter: saturate(1.06) contrast(1.03);
    transform: scale(1.045);
  }
}

.plant {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 70px;
  align-items: center;
}

.note {
  color: var(--blue) !important;
  font-weight: 700;
}

.facts {
  display: grid;
  gap: 14px;
}

.facts div {
  position: relative;
  border-left: 6px solid var(--green);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(104, 175, 35, 0.18), rgba(104, 175, 35, 0) 34%),
    var(--blue);
  color: #fff;
  padding: 24px 26px;
  border-radius: 6px;
  box-shadow: 0 16px 34px rgba(3, 40, 61, 0.16);
  transform: translateY(0);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease,
    background 220ms ease;
  will-change: transform;
}

.facts div::before {
  content: "";
  position: absolute;
  inset: -40% auto -40% -60%;
  width: 54%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
  transform: skewX(-18deg) translateX(0);
  transition: transform 520ms ease;
  pointer-events: none;
}

.facts div::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.facts div:hover {
  border-left-color: #7bcf2b;
  box-shadow: 0 24px 50px rgba(3, 40, 61, 0.26);
  transform: translateY(-6px);
}

.facts div:hover::before {
  transform: skewX(-18deg) translateX(320%);
}

.facts strong {
  display: block;
  font-size: 2.35rem;
  line-height: 1;
  position: relative;
  transition: color 220ms ease, transform 220ms ease;
}

.facts span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
  position: relative;
  transition: color 220ms ease, transform 220ms ease;
}

.facts div:hover strong {
  color: #8ee63c;
  transform: translateX(4px);
}

.facts div:hover span {
  color: #fff;
  transform: translateX(4px);
}

.feature-list {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.feature-list article {
  padding-top: 18px;
  border-top: 3px solid var(--green);
}

.feature-list p {
  color: var(--muted);
  margin: 0;
}

.team {
  width: min(1380px, calc(100% - 32px));
  display: grid;
  grid-template-columns: minmax(340px, 0.95fr) minmax(420px, 1.05fr) minmax(340px, 0.95fr);
  gap: clamp(28px, 3vw, 44px);
  align-items: stretch;
  padding-top: 30px;
}

.team-copy {
  min-width: 0;
  max-width: 620px;
  margin: 0 auto;
}

.team-copy h2 {
  max-width: 12.8em;
  font-size: clamp(2.65rem, 4vw, 3.45rem);
  line-height: 1.05;
}

.team-copy p {
  max-width: 47em;
  font-size: clamp(0.98rem, 1vw, 1.06rem);
  line-height: 1.58;
  color: var(--ink);
  overflow-wrap: break-word;
}

.team-copy p + p {
  margin-top: 22px;
}

.team-photo {
  display: block;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 6px;
  box-shadow: 0 24px 60px rgba(3, 40, 61, 0.14);
  transform: translateY(0);
  transition:
    box-shadow 260ms ease,
    transform 260ms ease;
}

.team-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  background: var(--soft);
  transform: scale(1);
  transition:
    filter 360ms ease,
    transform 520ms ease;
  will-change: transform;
}

.team-photo-left img {
  object-fit: cover;
  object-position: 55% 22%;
}

.team-photo-right img {
  object-position: 53% 18%;
}

.team-photo-left {
  align-self: stretch;
}

.team-photo-right {
  align-self: stretch;
}

.cta {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 64px;
  align-items: center;
  padding: 92px max(24px, calc((100vw - var(--max)) / 2));
  background: var(--blue);
  color: #fff;
}

.cta h2 {
  color: #fff;
}

.cta p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 720px;
}

.contact-card {
  display: grid;
  gap: 10px;
  padding: 28px;
  border-radius: 6px;
  background: #fff;
  color: var(--blue);
}

.contact-card a {
  color: var(--blue);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 62px;
  padding-bottom: 84px;
}

.legal article {
  border-top: 4px solid var(--green);
  padding-top: 24px;
}

.legal h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.6rem);
  margin-bottom: 34px;
}

.legal p {
  color: #405360;
}

.site-footer {
  background: var(--paper);
}

.footer-inner address {
  align-items: flex-start;
}

.footer-inner address span {
  min-width: 180px;
}

@keyframes kenburns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.09);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 112px;
  }

  .header-inner,
  .footer-inner {
    width: min(var(--max), calc(100% - 32px));
    min-height: 84px;
    gap: 20px;
  }

  .header-inner {
    position: relative;
    padding-right: 132px;
  }

  .brand img,
  .footer-inner img {
    width: min(300px, 42vw);
  }

  .header-contact {
    display: none;
  }

  .mobile-actions {
    position: fixed;
    left: calc(100vw - 134px) !important;
    right: auto !important;
    top: 56px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 25;
  }

  .mobile-menu-toggle {
    display: grid;
  }

  .mobile-menu:not([hidden]) {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    padding: 10px 16px 16px;
    background: #fff;
    border-top: 4px solid var(--green);
    box-shadow: 0 18px 34px rgba(3, 40, 61, 0.16);
  }

  .mobile-menu a {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    background: rgba(104, 175, 35, 0.08);
    color: var(--blue);
    font-weight: 700;
    text-align: center;
    text-decoration: none;
  }

  .hero {
    min-height: calc(92svh - var(--header-height));
    padding-top: 56px;
  }

  .intro-grid,
  .content-grid,
  .content-grid.reverse,
  .plant,
  .team,
  .cta,
  .legal {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .section {
    width: min(var(--max), calc(100% - 32px));
    padding: 54px 0;
  }

  .team {
    width: min(var(--max), calc(100% - 32px));
  }

  .service-band,
  .machine,
  .cta {
    padding-left: 16px;
    padding-right: 16px;
  }

  .text-panel {
    max-width: none;
  }

  .team-copy {
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .team-copy h2 {
    max-width: 11em;
  }

  .team-photo {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .team-photo-right {
    aspect-ratio: 1 / 1;
  }

  .team-photo img {
    min-height: 0;
  }

  .team-photo-left img {
    object-position: 50% 22%;
  }

  .team-photo-right img {
    object-position: 52% 17%;
  }
}

@media (max-width: 620px) {
  .brand-strip {
    height: 10px;
  }

  .brand-base {
    height: 14px;
  }

  .header-inner {
    position: relative;
    gap: 6px;
  }

  .brand img {
    width: min(178px, 42vw);
  }

  .mobile-actions {
    right: 0;
  }

  .mobile-action,
  .mobile-menu-toggle {
    width: 38px;
    height: 38px;
  }

  .mobile-actions {
    gap: 5px;
  }

  .hero {
    min-height: auto;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 0;
    padding-bottom: 38px;
    align-items: start;
    background: var(--blue);
  }

  .hero-media,
  .hero-media img,
  .hero-shade {
    inset: 0 0 auto;
    height: min(62svh, 520px);
  }

  .hero-media img {
    object-position: 64% 18%;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(3, 40, 61, 0.42), rgba(3, 40, 61, 0.02) 72%),
      linear-gradient(0deg, rgba(3, 40, 61, 0.5), rgba(3, 40, 61, 0.04) 45%);
  }

  .hero-badge {
    top: min(40svh, 320px);
    right: auto;
    left: 16px;
    width: min(218px, 56vw);
    filter: drop-shadow(0 14px 24px rgba(3, 40, 61, 0.22));
  }

  .hero-content {
    margin-top: min(62svh, 520px);
    padding-top: 28px;
  }

  .hero h1 {
    max-width: 10.25em;
    font-size: clamp(1.56rem, 6.25vw, 1.9rem);
    line-height: 1.02;
    word-break: normal;
  }

  .hero-media img {
    object-position: 68% 34%;
  }

  .hero-copy {
    max-width: 21.5em;
    margin-top: 30px;
    font-size: 0.94rem;
  }

  .hero-actions {
    display: grid;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .team-photo-left {
    aspect-ratio: 1 / 1;
  }

  .team-photo-left img {
    object-position: 55% 22%;
  }

  .intro-grid,
  .content-grid,
  .content-grid.reverse,
  .plant,
  .team,
  .cta,
  .legal {
    gap: 28px;
  }

  .section {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .service-band,
  .machine,
  .cta {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .legal {
    padding-bottom: 48px;
  }

  .team-copy h2 {
    max-width: 9.6em;
    font-size: clamp(2.1rem, 10vw, 2.55rem);
  }

  .team-copy p {
    max-width: 100%;
    font-size: 1rem;
    overflow-wrap: break-word;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 0;
  }

  .footer-inner address {
    display: grid;
    gap: 14px;
    font-size: 14px;
  }
}

