:root {
  --accent: #0DC342;
  --accent-deep: #087126;
  --ink: #21281F;
  --ink-dark: #0B2413;
  --cream: #FAF7F1;
  --cream-2: #F2EFE7;
  --forest: #17301F;
  --hairline: rgba(33, 40, 31, 0.14);
  --rule: rgba(33, 40, 31, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main { flex: 1; animation: hm-fade 0.5s ease both; }

::selection { background: #0DC342; color: #0B2413; }

@keyframes hm-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hm-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes hm-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes hm-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

/* ---------- layout ---------- */

/* content-box so the 1200px cap is the content width and padding sits outside it,
   matching the original design's container (1200px usable + 40px gutters). */
.wrap { box-sizing: content-box; max-width: 1200px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }

.section { border-bottom: 1px solid var(--rule); }

.pad-hero { padding-top: 130px; padding-bottom: 110px; }
.pad-lg { padding-top: 110px; padding-bottom: 110px; }
.pad-md { padding-top: 100px; padding-bottom: 100px; }
.pad-sm { padding-top: 90px; padding-bottom: 90px; }
.pad-abhero { padding-top: 110px; padding-bottom: 90px; }

.split { display: grid; grid-template-columns: minmax(200px, 1fr) 2.2fr; gap: 60px; align-items: start; }
.sticky-label { position: sticky; top: 116px; }

.stack-24 { display: flex; flex-direction: column; gap: 24px; }
.stack-32 { display: flex; flex-direction: column; gap: 32px; }

/* ---------- type ---------- */

.eyebrow {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 400;
}
/* the section labels (What we do, Who we serve, Our values, …) are h2s at weight 500;
   the small accent intros (hero / About / Contact) stay at the body weight of 400. */
h2.eyebrow { font-weight: 500; }
.eyebrow--accent { color: var(--accent-deep); }
.eyebrow--muted { color: rgba(33, 40, 31, 0.55); }

.hero-title {
  margin: 0;
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 500;
  font-size: clamp(52px, 6.5vw, 84px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  max-width: 15ch;
  text-wrap: balance;
}

.hero-sub {
  margin: 36px 0 0;
  font-size: 19px;
  line-height: 1.65;
  color: rgba(33, 40, 31, 0.72);
  max-width: 58ch;
  text-wrap: pretty;
}

.page-title {
  margin: 0;
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 500;
  font-size: clamp(44px, 5.5vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  max-width: 18ch;
  text-wrap: balance;
}

.section-title {
  margin: 0 0 64px;
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 500;
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 24ch;
  text-wrap: balance;
}

.cta-title {
  margin: 0;
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 500;
  font-size: clamp(30px, 3.2vw, 42px);
  letter-spacing: -0.01em;
}

.lede {
  margin: 0;
  font-family: 'Newsreader', Georgia, serif;
  font-size: 27px;
  line-height: 1.45;
  letter-spacing: -0.005em;
  text-wrap: pretty;
}

.body-copy {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.7;
  color: rgba(33, 40, 31, 0.72);
  max-width: 62ch;
  text-wrap: pretty;
}

.rise { animation: hm-rise 0.7s cubic-bezier(0.2, 0.6, 0.2, 1) both; }
.rise-1 { animation-delay: 0.08s; }
.rise-2 { animation-delay: 0.16s; }
.rise-3 { animation-delay: 0.24s; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 241, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-link { display: flex; align-items: center; gap: 12px; }
.logo-img { height: 36px; display: block; animation: hm-bounce 3s ease-in-out infinite; }

.site-nav { display: flex; align-items: center; gap: 36px; }

.nav-link {
  text-decoration: none;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  color: rgba(33, 40, 31, 0.55);
  transition: color 0.25s ease;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: #21281F; }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  border: none;
  border-radius: 2px;
  font-family: inherit;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn-accent { background: var(--accent); color: var(--ink-dark); }
.btn-accent:hover { background: #21281F; color: #FAF7F1; }
.btn-outline { background: none; color: #21281F; border: 1px solid rgba(33, 40, 31, 0.35); }
.btn-outline:hover { border-color: #21281F; }
.btn-nav { padding: 11px 22px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 15px; }
.btn-xl { padding: 17px 36px; font-size: 15px; }

/* ---------- hero / bands ---------- */

.hero { position: relative; overflow: hidden; }
.hero-body { position: relative; }

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-copy { min-width: 0; }
.hero-media {
  margin: 0;
  min-width: 0;
}
.hero-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 24px 60px -28px rgba(11, 36, 19, 0.4);
}

.hero-sun {
  position: absolute;
  right: -130px;
  top: 70px;
  width: 540px;
  height: 540px;
  opacity: 0.07;
  animation: hm-spin 90s linear infinite;
  pointer-events: none;
}

.hero-actions { display: flex; gap: 16px; margin-top: 44px; flex-wrap: wrap; }

.band { background: var(--accent); position: relative; overflow: hidden; }

.band-sun {
  position: absolute;
  right: -110px;
  top: -130px;
  width: 480px;
  height: 480px;
  opacity: 0.15;
  animation: hm-spin 110s linear infinite;
  pointer-events: none;
}

.band-quote {
  margin: 0;
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink-dark);
  max-width: 30ch;
  text-wrap: balance;
}

.cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

/* ---------- list rows ---------- */

.list { display: flex; flex-direction: column; }

.list-row {
  display: grid;
  gap: 28px;
  padding: 34px 0 34px 12px;
  margin-left: -12px;
  border-top: 1px solid var(--hairline);
  align-items: baseline;
  transition: transform 0.3s cubic-bezier(0.2, 0.6, 0.2, 1), background 0.3s ease;
}
.list-row:last-child { border-bottom: 1px solid var(--hairline); }
.list-row:hover { transform: translateX(-10px); background: rgba(13, 195, 66, 0.06); }

.row-svc { grid-template-columns: 72px 260px 1fr; }
.row-val { grid-template-columns: 220px 1fr; padding-top: 28px; padding-bottom: 28px; }
.row-ct { grid-template-columns: 130px 1fr; padding-top: 20px; padding-bottom: 20px; gap: 20px; }

.row-num { font-family: 'Newsreader', Georgia, serif; font-size: 20px; color: var(--accent-deep); }
.row-svc h3 { margin: 0; font-size: 19px; font-weight: 500; letter-spacing: -0.005em; }
.row-val h3 { margin: 0; font-family: 'Newsreader', Georgia, serif; font-size: 23px; font-weight: 500; }
.list-row p { margin: 0; font-size: 15.5px; line-height: 1.65; color: rgba(33, 40, 31, 0.68); text-wrap: pretty; }

.ct-label { font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(33, 40, 31, 0.5); }
.ct-value { font-size: 17px; }

/* ---------- who we serve ---------- */

.serve-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }

.serve-card {
  border-top: 2px solid var(--accent);
  padding-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.3s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.serve-card:hover { transform: translateY(-6px); }
.serve-card h3 { margin: 0; font-size: 18px; font-weight: 500; }
.serve-card p { margin: 0; font-size: 15.5px; line-height: 1.65; color: rgba(33, 40, 31, 0.68); text-wrap: pretty; }

/* ---------- team ---------- */

.team-card {
  display: flex;
  align-items: center;
  gap: 28px;
  border: 1px solid var(--hairline);
  border-radius: 3px;
  padding: 32px;
  background: #FFFFFF;
  transition: transform 0.3s cubic-bezier(0.2, 0.6, 0.2, 1), box-shadow 0.3s ease;
}
.team-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(23, 48, 31, 0.10); }

.avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Newsreader', Georgia, serif;
  font-size: 30px;
  flex: none;
}
.team-card h3 { margin: 0; font-size: 20px; font-weight: 500; }
.team-card .role { margin: 0; font-size: 15px; color: rgba(33, 40, 31, 0.6); }

/* ---------- contact ---------- */

.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 90px; align-items: start; }

.contact-card {
  background: #FFFFFF;
  border: 1px solid var(--hairline);
  border-radius: 3px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; letter-spacing: 0.06em; color: rgba(33, 40, 31, 0.65); }
.field input,
.field textarea {
  border: 1px solid rgba(33, 40, 31, 0.2);
  border-radius: 2px;
  padding: 13px 14px;
  font-family: inherit;
  font-size: 15px;
  background: var(--cream);
  color: var(--ink);
  outline: none;
  transition: border-color 0.25s ease;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--accent); }

/* ---------- footer ---------- */

.site-footer { background: var(--accent); color: var(--ink-dark); }

.footer-inner { padding-top: 70px; padding-bottom: 50px; display: flex; flex-direction: column; gap: 48px; }

.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; flex-wrap: wrap; }

.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand p { margin: 0; font-size: 14px; line-height: 1.6; color: rgba(11, 36, 19, 0.75); max-width: 34ch; }

.footer-nav { display: flex; gap: 36px; }
.footer-nav a { text-decoration: none; font-size: 14px; color: rgba(11, 36, 19, 0.75); transition: color 0.25s ease; }
.footer-nav a:hover { color: var(--ink-dark); }

.footer-bottom {
  border-top: 1px solid rgba(11, 36, 19, 0.25);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-bottom p { margin: 0; font-size: 13px; color: rgba(11, 36, 19, 0.65); }

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
  .serve-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-split { grid-template-columns: 1fr; gap: 44px; }
  .hero-media { order: 2; max-width: 560px; }
}

@media (max-width: 780px) {
  .wrap { padding-left: 24px; padding-right: 24px; }

  .header-inner { height: auto; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; row-gap: 12px; }
  .site-nav { gap: 20px; flex-wrap: wrap; }

  .pad-hero { padding-top: 80px; padding-bottom: 70px; }
  .pad-lg, .pad-md, .pad-sm, .pad-abhero { padding-top: 64px; padding-bottom: 64px; }

  .split { grid-template-columns: 1fr; gap: 28px; }
  .sticky-label { position: static; }

  .row-svc, .row-val, .row-ct { grid-template-columns: 1fr; gap: 10px; }
  .serve-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }

  .hero-sun { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
