:root {
  --green: #5D9732;
  --green-dark: #3f6f20;
  --green-soft: #edf5e8;
  --charcoal: #172019;
  --ink: #263126;
  --muted: #687568;
  --line: #dfe7dd;
  --paper: #ffffff;
  --off-white: #f7faf5;
  --gold: #b79b55;
  --shadow: 0 18px 45px rgba(23, 32, 25, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1rem;
}

.topbar {
  background: var(--charcoal);
  color: #eaf1e6;
  font-size: 0.9rem;
}

.topbar__inner,
.container {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 700;
  color: var(--charcoal);
}

.brand img {
  width: 116px;
  height: 84px;
  object-fit: contain;
}

.brand span {
  display: block;
  letter-spacing: 0;
  line-height: 1.15;
}

.brand small {
  display: block;
  color: var(--green);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius);
  color: var(--charcoal);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav a {
  padding: 0.75rem 0.85rem;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.94rem;
  border-radius: var(--radius);
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--green-dark);
  background: var(--green-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--green);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: var(--green-dark);
  box-shadow: 0 12px 24px rgba(93, 151, 50, 0.22);
}

.btn--light {
  background: #fff;
  color: var(--green-dark);
}

.btn--outline {
  background: transparent;
  color: var(--green-dark);
  border-color: rgba(93, 151, 50, 0.45);
}

.hero-slider {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: var(--charcoal);
  color: #fff;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 800ms ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23, 32, 25, 0.9), rgba(23, 32, 25, 0.54), rgba(23, 32, 25, 0.2));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 32px), var(--max));
  min-height: 650px;
  margin: 0 auto;
  display: grid;
  align-content: center;
  max-width: var(--max);
}

.eyebrow {
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--charcoal);
  line-height: 1.16;
  font-family: Georgia, 'Times New Roman', serif;
}

.hero-content h1 {
  max-width: 850px;
  color: #fff;
  font-size: clamp(2.35rem, 5vw, 5rem);
}

.hero-content p {
  max-width: 680px;
  margin: 1.2rem 0 1.6rem;
  color: #edf5e8;
  font-size: 1.16rem;
}

.hero-content .btn {
  justify-self: start;
  min-width: 138px;
  padding-inline: 1.35rem;
}

.slider-dots {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 28px;
  display: flex;
  gap: 0.5rem;
  transform: translateX(-50%);
}

.slider-dots button {
  width: 34px;
  height: 4px;
  border: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.slider-dots button.is-active {
  background: var(--green);
}

.section {
  padding: 86px 0;
}

.section--soft {
  background: var(--off-white);
}

.section--green {
  background: var(--green-soft);
}

.section-head {
  max-width: 820px;
  margin-bottom: 2.3rem;
}

.section-head h2,
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.split {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 3rem;
  align-items: center;
}

.framed-image {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.framed-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.partner-logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 86px;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(93, 151, 50, 0.22);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 24px rgba(23, 32, 25, 0.06);
}

.partner-logos img {
  max-width: 190px;
  max-height: 72px;
  object-fit: contain;
}

.sustainability-visuals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.sustainability-visuals figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(93, 151, 50, 0.2);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 32px rgba(23, 32, 25, 0.08);
}

.sustainability-visuals img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.45rem;
  box-shadow: 0 10px 26px rgba(23, 32, 25, 0.06);
}

.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.card h3 {
  margin-bottom: 0.65rem;
  font-size: 1.25rem;
}

.card p,
.card li {
  color: var(--muted);
}

.card ul,
.text-block ul {
  margin: 0.7rem 0 0;
  padding-left: 1.1rem;
}

.tech-focus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.tech-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(190px, 0.42fr) minmax(0, 0.58fr);
  min-height: 360px;
  padding: 0;
  overflow: hidden;
  border-color: rgba(93, 151, 50, 0.24);
}

.tech-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--green);
}

.tech-card__media {
  min-height: 100%;
  background: linear-gradient(145deg, var(--green-soft), #fff);
}

.tech-card__media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
}

.tech-card__body {
  padding: 1.55rem 1.55rem 1.45rem;
}

.tech-card__label {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--green-dark);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.tech-card h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.tech-card p {
  color: #516052;
}

.tech-card__intro {
  margin-top: 0.8rem;
  margin-bottom: 0.45rem;
  color: var(--charcoal);
  font-weight: 700;
}

.tech-card ul {
  display: grid;
  gap: 0.42rem;
  margin-top: 0.65rem;
  padding-left: 0;
  list-style: none;
}

.tech-card li {
  position: relative;
  padding-left: 1.35rem;
  color: #516052;
  line-height: 1.45;
}

.tech-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.stats-band {
  background: var(--charcoal);
  color: #fff;
  padding: 52px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat {
  border-left: 3px solid var(--green);
  padding-left: 1rem;
}

.stat strong {
  display: block;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2rem;
}

.page-hero {
  min-height: 360px;
  display: grid;
  align-items: end;
  color: #fff;
  background: linear-gradient(90deg, rgba(23, 32, 25, 0.88), rgba(23, 32, 25, 0.46)), var(--hero-image) center/cover;
  padding: 5rem 0;
}

.page-hero h1 {
  color: #fff;
}

.page-hero p {
  max-width: 760px;
  color: #edf5e8;
  font-size: 1.08rem;
}

.profile {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 1.5rem;
  align-items: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.profile img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  background: var(--green-soft);
}

.profile h2 {
  margin-bottom: 0.8rem;
  font-size: 1.45rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: start;
}

.form-panel,
.info-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--charcoal);
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.8rem;
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(93, 151, 50, 0.25);
  border-color: var(--green);
}

.notice {
  display: none;
  margin-bottom: 1rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius);
}

.notice.is-visible {
  display: block;
}

.notice--success {
  background: var(--green-soft);
  color: var(--green-dark);
}

.notice--error {
  background: #fff1ef;
  color: #9f2f1f;
}

.site-footer {
  background: var(--charcoal);
  color: #dfe8dc;
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
  gap: 2rem;
}

.site-footer h2,
.site-footer h3 {
  color: #fff;
  font-size: 1.15rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin: 0.45rem 0;
}

.site-footer p {
  color: #d7e1d3;
}

.site-footer form {
  display: grid;
  gap: 0.85rem;
}

.site-footer input {
  background: #fff;
}

.site-footer .btn {
  justify-self: start;
  min-height: 42px;
  padding: 0.62rem 1.05rem;
}

.hours-list {
  display: grid;
  gap: 0.45rem;
  margin: 0;
}

.hours-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hours-list span:first-child {
  color: #fff;
  font-weight: 700;
}

.hours-list span:last-child {
  color: #d7e1d3;
}

.footer-logo {
  width: 92px;
  margin-bottom: 1rem;
}

.copyright {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #aebbac;
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 1px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .split,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid--4,
  .grid--3,
  .tech-focus-grid,
  .sustainability-visuals,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tech-card {
    grid-template-columns: 1fr;
  }

  .tech-card__media img {
    min-height: 240px;
    max-height: 280px;
  }
}

@media (max-width: 640px) {
  .topbar__inner,
  .form-row,
  .grid--4,
  .grid--3,
  .tech-focus-grid,
  .sustainability-visuals,
  .stats-grid,
  .profile {
    grid-template-columns: 1fr;
  }

  .sustainability-visuals img {
    min-height: 320px;
  }

  .topbar__inner {
    display: grid;
  }

  .brand img {
    width: 96px;
    height: 72px;
  }

  .hero-slider,
  .hero-content {
    min-height: 560px;
  }

  .section {
    padding: 62px 0;
  }

  .framed-image img {
    height: 300px;
  }
}
