@import url("https://fonts.googleapis.com/css2?family=Karla:wght@400;700&family=Work+Sans:wght@400;500&display=swap");

:root {
  --green: #41632d;
  --green-dark: #355125;
  --green-link: #517b38;
  --gold: #e3a525;
  --text: #464646;
  --body: #727272;
  --muted: #f9f9f9;
  --taupe: #7a766d;
  --header-h: 100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; font: 400 18.5px/1.7 Karla, sans-serif; color: var(--body); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-link); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
h1, h2, h3 { font-family: "Work Sans", sans-serif; font-weight: 500; color: var(--text); margin: 0 0 20px; }
p { margin: 0 0 20px; }
ul { margin: 0 0 20px; padding-left: 1.2em; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 0; top: -100px; z-index: 100; background: var(--gold); color: #fff; padding: 10px 16px; }
.skip-link:focus { top: 0; }
.container { max-width: 1400px; margin: 0 auto; padding: 0 40px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: #fff; box-shadow: 0 1px 6px rgba(0, 0, 0, .12); }
.navbar { max-width: 1425px; margin: 0 auto; height: 100%; display: flex; align-items: stretch; justify-content: space-between; }
.logo { display: flex; align-items: center; padding: 0 20px; }
.logo img { width: 157px; }
.nav-links { display: flex; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav-links li { position: relative; display: flex; }
.nav-links a { display: flex; align-items: center; padding: 0 20px; font: 400 15px "Work Sans", sans-serif; letter-spacing: -.6px; text-transform: uppercase; text-decoration: none; color: var(--green-link); transition: color .2s, background-color .2s; }
.nav-links a:hover { color: var(--gold); }
.nav-links > li > a[aria-current="page"],
.nav-links > li:has(> .sub a[aria-current="page"]) > a { background: var(--gold); color: #fff; }
.nav-links .sub { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; margin: 0; padding: 10px 0; list-style: none; background: #fff; box-shadow: 0 5px 12px rgba(0, 0, 0, .15); }
.nav-links .has-sub:hover .sub, .nav-links .has-sub:focus-within .sub { display: block; }
.nav-links .sub a { padding: 10px 25px; white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; padding: 0 20px; cursor: pointer; color: var(--text); }
.nav-toggle svg { width: 26px; height: 26px; }

/* hero carousel */
.hero { position: relative; height: 620px; overflow: hidden; background: #222; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s, visibility .7s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(0, 0, 0, .35)); }
.slide-title { position: absolute; z-index: 1; left: 50%; top: 56%; transform: translate(-50%, -50%); width: min(1285px, 92%); margin: 0; text-align: center; font-size: 44px; line-height: 1.2; letter-spacing: -1.5px; color: #fff; text-shadow: 1px 2px 8px rgba(0, 0, 0, .35); }
.hero-arrow { position: absolute; top: 50%; z-index: 2; width: 26px; height: 48px; margin-top: -48px; border: 0; background: #000; color: #fff; cursor: pointer; font-size: 18px; line-height: 1; }
.hero-arrow.prev { left: 0; }
.hero-arrow.next { right: 0; }
.hero-dots { position: absolute; top: 20px; right: 30px; z-index: 2; display: flex; gap: 8px; }
.hero-dots button { width: 22px; height: 4px; padding: 0; border: 0; cursor: pointer; background: rgba(255, 255, 255, .6); }
.hero-dots button[aria-selected="true"] { background: var(--gold); }

/* home panels */
.panels { position: relative; z-index: 2; margin: -110px 0 -80px; padding: 0 40px; background: linear-gradient(transparent 110px, var(--gold) 110px, var(--gold) 390px, transparent 390px); }
.panels-grid { max-width: 1345px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.panel { display: flex; flex-direction: column; background: var(--green); color: rgba(255, 255, 255, .7); text-align: center; text-decoration: none; box-shadow: 0 5px 15px rgba(0, 0, 0, .3); }
.panel h3 { margin: 30px 30px 0; padding-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, .3); font-size: 24px; letter-spacing: -1px; text-transform: uppercase; color: #fff; }
.panel ul { list-style: none; margin: 0; padding: 20px 20px 25px; font: 500 15px/1.9 "Work Sans", sans-serif; }
.panel img { margin-top: auto; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.panel:hover { background: var(--green-dark); }

/* sections */
.section { padding: 70px 0; }
.section.muted { background: var(--muted); }
.section.large { padding: 160px 0 140px; }
.intro { max-width: 750px; margin: 0 auto; text-align: center; }
.intro h2 { font-size: 44px; line-height: 1.2; letter-spacing: -1.5px; }
.page-banner { display: flex; align-items: center; justify-content: center; height: 442px; padding: 0 20px; background: linear-gradient(rgba(112, 89, 37, .6), rgba(112, 89, 37, .6)), var(--banner, url("assets/images/hero03.jpg")) center / cover; }
.page-banner h1 { margin: 0; font-size: 52px; line-height: 1.2; letter-spacing: -2px; color: #fff; text-shadow: 1px 2px 8px rgba(0, 0, 0, .35); }
h2.lead { text-align: center; font-size: 38px; line-height: 1.3; letter-spacing: -1px; }
.heading-line { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; font-size: 30px; letter-spacing: -.75px; color: var(--green-link); }
.heading-line::before, .heading-line::after { content: ""; flex: 1; border-bottom: 2px solid var(--text); }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: start; }
.split.reverse { grid-template-columns: 7fr 5fr; }
.split.reverse > :first-child { order: 2; }
.split.center { align-items: center; }
.button { display: inline-block; padding: 0 35px; background: var(--green); color: #fff; font: 400 17.5px/46px "Work Sans", sans-serif; letter-spacing: -.5px; text-decoration: none; }
.button:hover { background: var(--green-dark); color: #fff; }
.checklist { columns: 2; list-style: none; padding: 0; }
.checklist li { padding: 2px 0 2px 28px; position: relative; break-inside: avoid; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.features > div { padding: 30px 25px; background: rgba(65, 100, 46, .75); box-shadow: 0 5px 15px rgba(0, 0, 0, .3); }
.features h4 { margin: 0 0 12px; font: 500 28px/1.2 "Work Sans", sans-serif; letter-spacing: -1px; color: var(--gold); }
.features h4 span { display: block; font-size: 38px; }
.features p { margin: 0; }
.parallax { background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .6)), url("assets/images/shipping-yard.jpg") center / cover fixed; color: #fff; }
.parallax .heading-line { color: #fff; }
.parallax .heading-line::before, .parallax .heading-line::after { border-color: #fff; }
.map-frame { width: 100%; height: 400px; border: 0; }

/* leadership */
.person { margin-bottom: 60px; }
.person:last-child { margin-bottom: 0; }
.person .role { font: 400 24px/1.3 "Work Sans", sans-serif; letter-spacing: -.5px; color: var(--text); margin-bottom: 20px; text-align: center; }
.person.has-photo { display: grid; grid-template-columns: 260px 1fr; column-gap: 40px; align-items: start; }
.person.has-photo > .heading-line, .person.has-photo > .role { grid-column: 1 / -1; }

/* footer */
.site-footer { border-top: 6px solid var(--gold); background: var(--taupe); color: rgba(255, 255, 255, .7); font-size: 15px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 60px 40px 30px; max-width: 1400px; margin: 0 auto; }
.footer-top img { width: 130px; margin-bottom: 20px; }
.footer-top p { margin: 0 0 12px; }
.footer-col { border-left: 1px solid rgba(255, 255, 255, .3); padding-left: 30px; font-style: normal; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; list-style: none; margin: 0; padding: 20px 40px 50px; font: 500 15px "Work Sans", sans-serif; }
.footer-nav li + li { border-left: 1px solid rgba(255, 255, 255, .3); }
.footer-nav a { padding: 0 14px; }

@media (max-width: 959px) {
  :root { --header-h: 80px; }
  .nav-toggle { display: block; order: -1; }
  .navbar { justify-content: flex-start; }
  .logo { margin: 0 auto; transform: translateX(-33px); }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; flex-direction: column; background: #fff; box-shadow: 0 5px 12px rgba(0, 0, 0, .15); }
  .nav-links.is-open { display: flex; }
  .nav-links li { flex-direction: column; }
  .nav-links a { padding: 14px 25px; }
  .nav-links .sub { display: block; position: static; box-shadow: none; padding: 0 0 0 20px; }
  .nav-links .sub a { padding: 10px 25px; }
  .hero { height: 520px; }
  .slide-title { top: 62%; font-size: 36px; }
  .panels { margin: 0; padding: 0 15px 15px; background: var(--gold); }
  .panels-grid { grid-template-columns: 1fr; gap: 20px; }
  .section.large { padding: 70px 0; }
  .page-banner { height: 300px; }
  .page-banner h1 { font-size: 40px; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 25px; }
  .split.reverse > :first-child { order: 0; }
  .features { grid-template-columns: 1fr 1fr; }
  .parallax { background-attachment: scroll; }
  .footer-top { grid-template-columns: 1fr; padding: 40px 25px 20px; }
  .footer-col { border-left: 0; padding-left: 0; }
}

@media (max-width: 639px) {
  body { font-size: 17px; }
  .container { padding: 0 20px; }
  .slide-title { font-size: 30px; }
  .intro h2 { font-size: 32px; }
  h2.lead { font-size: 28px; }
  .heading-line { font-size: 24px; gap: 12px; }
  .checklist { columns: 1; }
  .features { grid-template-columns: 1fr; }
  .person.has-photo { grid-template-columns: 1fr; }
  .person.has-photo img { max-width: 260px; margin-bottom: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide { transition: none; }
}
