:root {
  --bg: #f1ece2;
  --surface: rgba(255, 252, 247, 0.9);
  --surface-strong: #fff8ec;
  --text: #1b2620;
  --muted: #566358;
  --line: rgba(27, 38, 32, 0.12);
  --primary: #1d4f43;
  --primary-strong: #14392f;
  --accent: #d4a24c;
  --shadow: 0 20px 50px rgba(20, 57, 47, 0.12);
  --radius: 22px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(212, 162, 76, 0.22), transparent 28%),
    linear-gradient(180deg, #f6f1e8 0%, #f1ece2 50%, #e8e1d4 100%);
  line-height: 1.6;
}

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

img {
  max-width: 100%;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.narrow {
  width: min(calc(100% - 2rem), 760px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(241, 236, 226, 0.82);
  border-bottom: 1px solid rgba(27, 38, 32, 0.08);
}

.nav-shell,
.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-shell {
  min-height: 76px;
}

.brand,
h1,
h2,
h3 {
  font-family: "Barlow", sans-serif;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  display: block;
  width: 156px;
  height: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.site-nav a {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  color: var(--muted);
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(29, 79, 67, 0.1);
  color: var(--primary-strong);
  transform: translateY(-1px);
}

.hero,
.page-hero {
  padding: 5rem 0 3rem;
}

.hero-carousel {
  padding-top: 4.5rem;
}

.carousel-shell,
.card,
.prose {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.carousel-shell {
  position: relative;
  overflow: hidden;
  min-height: 640px;
}

.carousel-image,
.carousel-overlay,
.overlay-copy {
  position: absolute;
  inset: 0;
}

.carousel-image {
  background-image: url('truck-home.jpg');
  background-size: cover;
  background-position: center;
  filter: saturate(0.72) brightness(1.06) contrast(0.96);
  transform: scale(1.02);
}

.carousel-overlay {
  background:
    linear-gradient(90deg, rgba(255, 250, 242, 0.22) 0%, rgba(255, 250, 242, 0.12) 22%, rgba(255, 250, 242, 0.04) 46%, rgba(255, 250, 242, 0.01) 100%),
    linear-gradient(90deg, rgba(24, 28, 24, 0.32) 0%, rgba(24, 28, 24, 0.18) 24%, rgba(24, 28, 24, 0.06) 48%, rgba(24, 28, 24, 0.02) 100%),
    linear-gradient(180deg, rgba(212, 162, 76, 0.10), rgba(212, 162, 76, 0.03));
}

.overlay-copy {
  z-index: 1;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}

.carousel-copy {
  max-width: 620px;
}

.card,
.prose {
  padding: 2rem;
}

.about-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.equal-card {
  display: flex;
  flex-direction: column;
  min-height: 460px;
}

.map-frame {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  flex: 1;
  min-height: 320px;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

.eyebrow {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
}

.eyebrow-light {
  color: #f1cf95;
}

h1 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  line-height: 0.95;
  max-width: 9.5ch;
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.05;
}

.intro {
  margin: 1.2rem 0 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-statement {
  margin: 0;
  max-width: 62ch;
  color: var(--text);
  font-size: clamp(1.05rem, 1.45vw, 1.22rem);
  line-height: 1.72;
  font-weight: 500;
}

.carousel-title {
  max-width: 8.5ch;
  color: #fff7ea;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
}

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

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.66);
}

.section {
  padding: 1.5rem 0 4rem;
}

.home-message-section {
  padding-top: 1.25rem;
}

.home-message-card {
  padding: 1.75rem 2rem;
}

.contact-list p {
  margin: 0 0 1.25rem;
}

.prose h2:not(:first-child) {
  margin-top: 2rem;
}

.policy-list {
  padding-left: 1.25rem;
}

.policy-list li + li {
  margin-top: 0.75rem;
}

.site-footer {
  padding: 1.5rem 0 2.5rem;
}

.footer-shell {
  align-items: flex-start;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(27, 38, 32, 0.12);
  color: var(--muted);
}

.footer-meta a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.policy-heading,
.about-heading {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.policy-heading .intro {
  margin-bottom: 0;
}

.home-callout {
  padding: 2rem;
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(135deg, rgba(29, 79, 67, 0.94), rgba(20, 57, 47, 0.96)),
    var(--surface-strong);
  color: #f9f6ef;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.callout-eyebrow {
  color: #f1bf76;
}

.home-callout h2 {
  color: #fff9ef;
}

.home-callout-text {
  margin: 0;
  max-width: 62ch;
  color: rgba(249, 246, 239, 0.9);
  font-size: 1.06rem;
}

.policy-heading h1 {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
}

@media (max-width: 1024px) {
  .hero,
  .page-hero {
    padding: 4rem 0 2.5rem;
  }

  .carousel-shell {
    min-height: 560px;
  }

  .carousel-copy {
    max-width: 540px;
  }
}

@media (max-width: 900px) {
  .about-layout,
  .footer-shell {
    display: grid;
    grid-template-columns: 1fr;
  }

  .site-header {
    position: static;
  }

  .nav-shell {
    min-height: auto;
    padding: 1rem 0;
    flex-direction: column;
    align-items: stretch;
  }

  .brand {
    justify-content: center;
  }

  .site-nav {
    justify-content: center;
  }

  h1 {
    max-width: none;
  }

  .carousel-shell {
    min-height: 500px;
  }

  .overlay-copy {
    align-items: flex-end;
    padding: 1.5rem;
  }

  .equal-card {
    min-height: 0;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 300px;
  }
}

@media (max-width: 680px) {
  .container,
  .policy-heading,
  .about-heading {
    width: min(calc(100% - 1.25rem), var(--container));
  }

  .hero,
  .page-hero {
    padding-top: 2.5rem;
  }

  h1,
  .policy-heading h1 {
    font-size: clamp(2.2rem, 9vw, 3rem);
    line-height: 1;
  }

  h2 {
    font-size: clamp(1.6rem, 6vw, 2.1rem);
  }

  .intro,
  .home-callout-text,
  .hero-statement,
  .prose,
  .contact-list {
    font-size: 1rem;
  }

  .carousel-shell {
    min-height: 420px;
  }

  .carousel-image {
    background-position: 58% center;
  }

  .carousel-overlay {
    background:
      linear-gradient(180deg, rgba(24, 28, 24, 0.2) 0%, rgba(24, 28, 24, 0.3) 100%),
      linear-gradient(90deg, rgba(255, 250, 242, 0.08) 0%, rgba(255, 250, 242, 0.02) 100%),
      linear-gradient(180deg, rgba(212, 162, 76, 0.08), rgba(212, 162, 76, 0.03));
  }

  .overlay-copy,
  .card,
  .prose,
  .home-callout {
    padding: 1.5rem;
  }

  .carousel-title {
    max-width: 9ch;
  }

  .site-footer {
    padding-top: 1rem;
  }

  .footer-shell {
    gap: 0.35rem;
  }
}

@media (max-width: 560px) {
  .brand img {
    width: 124px;
  }

  .site-nav {
    width: 100%;
    gap: 0.4rem;
  }

  .site-nav a {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    padding: 0.7rem 0.6rem;
    font-size: 0.96rem;
  }

  .carousel-shell {
    min-height: 360px;
  }

  .overlay-copy {
    padding: 1.15rem;
  }

  .carousel-title {
    max-width: 8.5ch;
    font-size: clamp(2rem, 10vw, 2.5rem);
  }

  .map-frame,
  .map-frame iframe {
    min-height: 260px;
  }

  .policy-list {
    padding-left: 1rem;
  }

  .home-callout,
  .card,
  .prose {
    border-radius: 18px;
  }
}

@media (max-width: 380px) {
  .container,
  .policy-heading,
  .about-heading {
    width: min(calc(100% - 1rem), var(--container));
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-nav a {
    padding: 0.68rem 0.35rem;
    font-size: 0.9rem;
  }

  h1,
  .policy-heading h1,
  .carousel-title {
    font-size: clamp(1.8rem, 10.5vw, 2.2rem);
  }

  .carousel-shell {
    min-height: 320px;
  }

  .overlay-copy,
  .card,
  .prose,
  .home-callout {
    padding: 1rem;
  }
}
