:root {
  color-scheme: light;
  --orange: #f27a12;
  --sun: #f7b71d;
  --green: #168866;
  --green-dark: #073f31;
  --blue: #0798c7;
  --sky: #e8f7fb;
  --cream: #fffaf0;
  --paper: #fbfdf9;
  --white: #ffffff;
  --ink: #17221e;
  --muted: #64736d;
  --line: #dce8df;
  --shadow: 0 20px 54px rgba(23, 34, 30, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 860px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.98;
}

h2 {
  font-size: clamp(32px, 4.8vw, 58px);
  line-height: 1.05;
}

h3 {
  font-size: 21px;
  line-height: 1.2;
}

p {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  min-height: 82px;
  padding: 0 clamp(18px, 5vw, 76px);
  border-bottom: 1px solid rgba(220, 232, 223, 0.92);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.brand img {
  width: clamp(168px, 18vw, 252px);
  height: 62px;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  color: var(--green);
  font-size: 15px;
  font-weight: 850;
}

.site-nav a {
  padding: 28px 0;
}

.site-nav a:hover,
.site-nav a.current {
  color: var(--orange);
}

.menu-button {
  display: none;
  justify-self: end;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 10px;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--green);
}

.hero {
  position: relative;
  min-height: clamp(650px, 82vh, 820px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--green-dark);
}

.page-hero {
  min-height: clamp(440px, 58vh, 620px);
}

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

.hero-slide {
  object-fit: cover;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 900ms ease, transform 5600ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 39, 31, 0.86) 0%, rgba(4, 39, 31, 0.6) 43%, rgba(4, 39, 31, 0.1) 78%),
    linear-gradient(0deg, rgba(4, 39, 31, 0.32), rgba(4, 39, 31, 0));
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(850px, calc(100% - 40px));
  margin-left: clamp(20px, 6vw, 86px);
  padding: 92px 0 132px;
  color: var(--white);
}

.page-hero .hero-copy {
  padding: 78px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #bff0d2;
}

.hero-copy p:not(.eyebrow) {
  max-width: 700px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

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

.button,
.project-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  padding: 0 20px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.button.primary,
.project-form button {
  background: var(--orange);
  color: var(--white);
}

.button.green {
  background: var(--green);
  color: var(--white);
}

.button.ghost {
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.button.light {
  background: var(--white);
  color: var(--green-dark);
  box-shadow: inset 0 0 0 1px var(--line);
}

.intro-band {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1160px, calc(100% - 40px));
  margin: -56px auto 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.intro-band div {
  min-height: 112px;
  padding: 24px;
  background: var(--white);
  border-right: 1px solid var(--line);
}

.intro-band div:last-child {
  border-right: 0;
}

.intro-band strong {
  display: block;
  color: var(--green);
  font-size: 27px;
  line-height: 1.1;
}

.intro-band span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0;
}

.section.compact {
  padding: 64px 0;
}

.section-title {
  max-width: 820px;
  margin-bottom: 36px;
}

.section-title.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-title p:not(.eyebrow),
.lead,
.split-copy p,
.cta-panel p {
  color: var(--muted);
  font-size: 17px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.82fr);
  gap: 44px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.05fr);
}

.split-media,
.image-stack img,
.wide-image {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.split-media {
  aspect-ratio: 1.48;
}

.image-stack {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 14px;
  align-items: end;
}

.image-stack img {
  aspect-ratio: 1.1;
}

.image-stack img:first-child {
  aspect-ratio: 1.35;
}

.split-copy {
  display: grid;
  gap: 18px;
}

.feature-grid,
.solution-grid,
.series-grid,
.case-grid,
.product-grid,
.process-grid,
.value-grid,
.project-grid {
  display: grid;
  gap: 20px;
}

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

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

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

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

.feature-card,
.solution-card,
.case-card,
.product-card,
.process-card,
.value-card,
.project-card,
.info-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.feature-card,
.process-card,
.value-card,
.info-panel {
  padding: 24px;
}

.feature-card strong,
.process-card strong {
  display: inline-grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 8px;
  background: var(--cream);
  color: var(--orange);
  font-size: 17px;
  font-weight: 950;
}

.feature-card p,
.solution-card p,
.case-card p,
.product-card p,
.process-card p,
.value-card p,
.project-card p,
.info-panel p {
  color: var(--muted);
}

.solution-card,
.case-card,
.product-card,
.project-card {
  overflow: hidden;
}

.solution-card img,
.case-card img,
.product-card img,
.project-card img {
  width: 100%;
  aspect-ratio: 1.32;
  object-fit: cover;
}

.solution-card .card-body,
.case-card .card-body,
.product-card .card-body,
.project-card .card-body {
  display: grid;
  gap: 9px;
  padding: 20px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.tag-row span,
.mini-tag {
  border-radius: 8px;
  padding: 7px 10px;
  background: var(--sky);
  color: #056b88;
  font-size: 12px;
  font-weight: 850;
}

.band {
  background: var(--white);
}

.band.green {
  background: linear-gradient(135deg, #f3fbf5 0%, #e9f8fb 100%);
}

.band.orange {
  background: linear-gradient(135deg, #fff6df 0%, #eff9f5 100%);
}

.highlight-panel {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--green-dark);
  color: var(--white);
}

.highlight-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.44;
}

.highlight-panel .panel-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: clamp(34px, 6vw, 72px);
}

.highlight-panel p {
  color: rgba(255, 255, 255, 0.88);
}

.area-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.area-list a {
  display: grid;
  min-height: 82px;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--white);
  color: var(--green-dark);
  font-weight: 900;
}

.area-list a span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.gallery-strip {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr;
  gap: 16px;
}

.gallery-strip img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  border-radius: 8px;
  object-fit: cover;
}

.gallery-strip img:first-child {
  min-height: 390px;
  grid-row: span 2;
}

.series-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border-radius: 8px;
  background: var(--green-dark);
}

.series-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.series-card:hover img {
  transform: scale(1.045);
}

.series-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(3, 31, 24, 0.82), rgba(3, 31, 24, 0.12));
}

.series-card .card-body {
  position: absolute;
  z-index: 1;
  left: 22px;
  right: 22px;
  bottom: 24px;
  color: var(--white);
}

.series-card p {
  color: rgba(255, 255, 255, 0.84);
}

.product-card img.contain {
  object-fit: contain;
  padding: 18px;
  background: var(--white);
}

.process-card {
  min-height: 210px;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border-radius: 8px;
  padding: clamp(28px, 5vw, 54px);
  background: var(--green-dark);
  color: var(--white);
}

.cta-panel p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.78fr);
  gap: 54px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-list a,
.contact-list span {
  display: flex;
  align-items: center;
  min-height: 46px;
  border-bottom: 1px solid var(--line);
  color: var(--green);
  font-weight: 900;
}

.project-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.project-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

.project-form input,
.project-form select,
.project-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  background: #fbfdfb;
  color: var(--ink);
  font: inherit;
}

.project-form textarea {
  resize: vertical;
}

.floating-contact {
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 35;
  display: grid;
  gap: 8px;
}

.floating-contact a {
  display: grid;
  min-width: 96px;
  min-height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(22, 136, 102, 0.26);
}

.site-footer {
  background: #092c25;
  color: rgba(255, 255, 255, 0.78);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 52px 0;
}

.footer-inner img {
  width: 180px;
  height: 76px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 12px;
}

.footer-inner h3 {
  margin-bottom: 14px;
  color: var(--white);
  font-size: 17px;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 9px;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--sun);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px clamp(20px, 5vw, 76px);
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 8px 20px 18px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  .site-header.nav-open .site-nav {
    display: grid;
  }

  .site-nav a {
    padding: 12px 0;
  }

  .feature-grid,
  .intro-band,
  .solution-grid,
  .series-grid,
  .case-grid,
  .product-grid,
  .value-grid,
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .cta-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 70px;
    padding: 0 16px;
  }

  .brand img {
    width: 142px;
    height: 50px;
  }

  .site-nav {
    top: 70px;
  }

  .hero,
  .page-hero {
    min-height: 650px;
  }

  .hero::after {
    background: linear-gradient(0deg, rgba(4, 39, 31, 0.88), rgba(4, 39, 31, 0.22));
  }

  .hero-copy,
  .page-hero .hero-copy {
    width: min(350px, calc(100% - 32px));
    margin-left: 16px;
    padding: 180px 0 56px;
  }

  h1 {
    font-size: 34px;
    line-height: 1.04;
  }

  h2 {
    font-size: 31px;
  }

  .hero-copy p:not(.eyebrow),
  .section-title p:not(.eyebrow),
  .lead,
  .split-copy p,
  .cta-panel p {
    font-size: 16px;
  }

  .intro-band,
  .feature-grid,
  .solution-grid,
  .series-grid,
  .case-grid,
  .product-grid,
  .process-grid,
  .value-grid,
  .project-grid,
  .area-list,
  .gallery-strip {
    grid-template-columns: 1fr;
  }

  .intro-band {
    margin-top: 18px;
  }

  .intro-band div {
    min-height: 88px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 70px 0;
  }

  .series-card {
    min-height: 330px;
  }

  .gallery-strip img,
  .gallery-strip img:first-child {
    min-height: 230px;
    grid-row: auto;
  }

  .floating-contact {
    right: 12px;
    bottom: 12px;
  }

  .floating-contact a {
    min-width: 82px;
  }
}
