:root {
  --ink: #071107;
  --muted: #475641;
  --line: #d2dccb;
  --paper: #f1f5eb;
  --soft: #e4ecdc;
  --green: #173506;
  --green-2: #466d22;
  --green-3: #90ab65;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(17, 37, 11, 0.18);
  --photo-hero: url("./assets/system.jpg");
  --photo-mini-one: url("./assets/mini-storage.jpg");
  --photo-mini-two: url("./assets/mini-dispatch.jpg");
  --photo-managed: url("./assets/service-managed.jpg");
  --photo-inventory: url("./assets/service-inventory.jpg");
  --photo-dispatch: url("./assets/service-dispatch.jpg");
  --photo-system: url("./assets/system.jpg");
  --photo-context: url("./assets/approach-context.jpg");
  --photo-structure: url("./assets/approach-structure.jpg");
  --photo-care: url("./assets/approach-care.jpg");
  --photo-wide: url("./assets/wide.jpg");
  --photo-feature: url("./assets/feature.jpg");
  --photo-closing: url("./assets/closing.jpg");
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(90deg, #d9e1d4 0, #eef3ea 10%, #eef3ea 90%, #d9e1d4 100%);
  color: var(--ink);
}

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

.site-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 28px auto;
  background: var(--paper);
  border: 1px solid rgba(22, 44, 16, 0.08);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 18px 26px;
  background: rgba(251, 252, 248, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(231, 236, 228, 0.78);
}

.brand,
.nav-links,
.footer-links,
.hero-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
}

.nav-links {
  gap: 22px;
  font-size: 13px;
  color: #263324;
}

.nav-links a,
.footer-links a {
  transition: color 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--green-2);
  transform: translateY(-1px);
}

.nav-cta {
  justify-self: end;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  background: var(--white);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  background: var(--ink);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: 650px;
  margin: 0 18px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: #dce9d3;
}

.hero-photo,
.closing-photo,
.wide-landscape,
.large-photo,
.feature-image {
  position: relative;
  overflow: hidden;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-photo {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.22) 44%, rgba(0, 0, 0, 0.12)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.34)),
    var(--photo-hero);
  filter: saturate(0.88) contrast(1.02);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding: 80px 28px;
  text-align: center;
  color: var(--white);
  text-shadow: 0 2px 24px rgba(17, 33, 11, 0.3);
}

.hero-content .eyebrow {
  color: #ffffff;
  background: rgba(7, 17, 7, 0.34);
  border-color: rgba(255, 255, 255, 0.28);
}

.hero-content h1 {
  color: #ffffff;
}

.eyebrow,
.label {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 6px 10px;
  border: 1px solid rgba(14, 23, 13, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  color: #30432b;
  font-size: 12px;
  font-weight: 700;
}

.hero h1 {
  max-width: 950px;
  margin: 0 auto 22px;
  font-size: clamp(56px, 11vw, 132px);
  line-height: 0.88;
  letter-spacing: 0;
  font-weight: 800;
}

.hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.6;
  color: #ffffff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.38);
}

.hero-actions {
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  border: 1px solid rgba(14, 23, 13, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.button.primary {
  background: #d9f6a5;
  color: #071107;
  border: 2px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34), inset 0 0 0 1px rgba(7, 17, 7, 0.12);
}

.hero .button.primary {
  background: #ffffff;
  color: #071107;
  border-color: rgba(255, 255, 255, 0.96);
}

.hero .button.ghost {
  background: rgba(255, 255, 255, 0.9);
  color: #071107;
  border: 2px solid rgba(7, 17, 7, 0.22);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.26);
}

.button.primary:hover,
.hero .button.primary:hover {
  background: #d8f0b8;
  color: #071107;
}

.button.ghost {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(17, 34, 12, 0.18);
}

section {
  padding: 84px 34px;
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 58px;
  align-items: center;
}

h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.intro-copy p {
  max-width: 590px;
  margin-top: 0;
}

.mini-panels {
  display: flex;
  gap: 14px;
  margin-top: 38px;
}

.mini-panels span {
  width: 154px;
  height: 116px;
  border-radius: 5px;
  background-position: center;
  background-size: cover;
  box-shadow: 0 18px 36px rgba(19, 39, 12, 0.16);
  transition: transform 180ms ease;
}

.mini-panels span:first-child {
  background-image: var(--photo-mini-one);
}

.mini-panels span:last-child {
  background-image: var(--photo-mini-two);
}

.mini-panels span:hover {
  transform: translateY(-5px) scale(1.03);
}

.service-band {
  background: #f6f8f1;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading.split {
  max-width: none;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 54px;
}

#approach .section-heading h2 {
  font-size: clamp(30px, 4.1vw, 50px);
}

.card-grid,
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card,
.approach-grid article {
  min-height: 270px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #edf4e8;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.service-card:hover,
.approach-grid article:hover {
  box-shadow: var(--shadow);
  background: var(--white);
}

.service-card:hover {
  transform: translateY(-5px);
}

.approach-grid article:hover {
  transform: none;
  box-shadow: none;
  background-color: transparent;
}

.approach-grid article.approach-context:hover {
  background: linear-gradient(180deg, rgba(15, 28, 11, 0.1), rgba(15, 28, 11, 0.76)), var(--photo-context) center / cover;
}

.approach-grid article.approach-structure:hover {
  background: linear-gradient(180deg, rgba(15, 28, 11, 0.1), rgba(15, 28, 11, 0.76)), var(--photo-structure) center / cover;
}

.approach-grid article.approach-care:hover {
  background: linear-gradient(180deg, rgba(15, 28, 11, 0.1), rgba(15, 28, 11, 0.76)), var(--photo-care) center / cover;
}

.service-card.dark {
  background: var(--green);
  color: var(--white);
}

.service-card.dark p {
  color: rgba(255, 255, 255, 0.72);
}

.card-photo {
  width: 100%;
  height: 118px;
  margin-bottom: 28px;
  border-radius: 5px;
  background-position: center;
  background-size: cover;
  overflow: hidden;
  transition: transform 200ms ease, filter 200ms ease;
}

.service-card:hover .card-photo {
  transform: scale(1.02);
  filter: saturate(1.06);
}

.photo-managed { background-image: var(--photo-managed); }
.photo-inventory { background-image: var(--photo-inventory); }
.photo-dispatch { background-image: var(--photo-dispatch); }

.systems {
  background: #e4ecdc;
}

.large-photo {
  min-height: 540px;
  border-radius: 5px;
  background-image: var(--photo-system);
}

.large-photo::before {
  content: none;
}

.systems-copy p {
  max-width: 560px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 34px;
}

.stat-row div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.72);
}

.stat-row strong {
  display: block;
  font-size: 34px;
  line-height: 1;
}

.stat-row span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.approach-grid article {
  min-height: 330px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(15, 28, 11, 0.08), rgba(15, 28, 11, 0.82)),
    var(--photo-context);
  background-position: center;
  background-size: cover;
}

.approach-context {
  background: linear-gradient(180deg, rgba(15, 28, 11, 0.1), rgba(15, 28, 11, 0.76)), var(--photo-context) center / cover !important;
}

.approach-structure {
  background: linear-gradient(180deg, rgba(15, 28, 11, 0.1), rgba(15, 28, 11, 0.76)), var(--photo-structure) center / cover !important;
}

.approach-care {
  background: linear-gradient(180deg, rgba(15, 28, 11, 0.1), rgba(15, 28, 11, 0.76)), var(--photo-care) center / cover !important;
}

.approach-grid span {
  display: inline-block;
  margin-bottom: 120px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.approach-grid p {
  color: rgba(255, 255, 255, 0.78);
}

.wide-landscape {
  min-height: 520px;
  margin: 0 34px 70px;
  padding: 0;
  border-radius: 8px;
  background-image: linear-gradient(180deg, rgba(255,255,255,0.42), rgba(15, 31, 9, 0.14)), var(--photo-wide);
  background-position: center;
  background-size: cover;
}

.feature {
  padding-top: 20px;
}

.feature > h2 {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.feature .label {
  display: flex;
  width: max-content;
  margin-inline: auto;
}

.feature-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: center;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}

.feature-image {
  height: 240px;
  border-radius: 5px;
  background-image: var(--photo-feature);
}

.feature-row p {
  max-width: 620px;
}

.closing {
  position: relative;
  min-height: 420px;
  margin: 20px 18px 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  text-align: center;
}

.closing-photo {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), var(--photo-closing);
}

.closing-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  color: var(--white);
  text-shadow: 0 2px 20px rgba(13, 26, 9, 0.3);
}

.closing-content h2 {
  margin-bottom: 26px;
}

#contact .button.primary {
  background: #ffffff;
  color: #071107;
  border: 2px solid rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
}

#contact .button.primary:hover {
  background: #d8f0b8;
  color: #071107;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 34px;
  background: rgba(31, 58, 16, 0.94);
  color: rgba(255,255,255,0.82);
  font-size: 13px;
}

.footer-links {
  gap: 22px;
}

@media (max-width: 860px) {
  .site-shell {
    width: min(100% - 20px, 1120px);
    margin: 10px auto;
  }

  .topbar {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 560px;
  }

  .section-grid,
  .section-heading.split,
  .card-grid,
  .approach-grid,
  .feature-row {
    grid-template-columns: 1fr;
  }

  section {
    padding: 64px 20px;
  }

  .wide-landscape {
    margin-inline: 20px;
    min-height: 380px;
  }

  .feature-row {
    gap: 28px;
  }

  .footer {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .topbar {
    padding: 14px;
  }

  .brand span {
    display: none;
  }

  .hero {
    margin: 0 10px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-actions,
  .stat-row {
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .closing {
    margin-inline: 10px;
  }
}
