:root {
  --ink: #24332e;
  --accent: #38644f;
  --paper: #fafbf9;
  --border: #e2e7e2;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.65;
}

a { color: var(--accent); }
a:hover { color: #244333; }
a:focus-visible, button:focus-visible {
  outline: 3px solid #67a884;
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 1100;
  padding: .6rem 1rem;
  background: white;
}
.skip-link:focus { top: .5rem; }
.site-header { background: #fff; border-bottom: 1px solid var(--border); }
.header-layout { display: flex; flex-wrap: wrap; align-items: center; min-height: 88px; }
.header-brand { display: inline-flex; align-items: center; }
.header-navigation { flex: 1; min-width: 0; padding: 0; }
.brand-logo { display: block; width: 180px; max-width: 100%; height: auto; }
.navbar-light .navbar-nav .nav-link { color: #52625a; padding: .6rem 1rem; }
.navbar-light .navbar-nav .nav-link:hover { color: var(--accent); }

.hero-section { padding-top: 2rem; }
.carousel-inner { border-radius: 12px; background: #253e32; }
.hero-image { height: 530px; object-fit: cover; }
.carousel-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 25, 18, .78), rgba(10, 25, 18, .3));
}
.carousel-caption {
  left: 12%;
  right: 12%;
  bottom: 16%;
  text-align: left;
  z-index: 2;
}
.eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.carousel-caption h1, .carousel-caption h2 {
  max-width: 650px;
  margin-bottom: 1rem;
  font-size: 3.5rem;
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1.1;
}
.carousel-caption > p:not(.eyebrow) { max-width: 480px; margin-bottom: 1.5rem; }
.carousel-caption .btn { padding: .75rem 1.25rem; border-radius: 6px; font-weight: 600; }
.carousel-control-prev, .carousel-control-next { width: 9%; opacity: .85; z-index: 3; }
.carousel-indicators { z-index: 3; }

.features-section { padding-top: 4.5rem; padding-bottom: 3rem; }
.section-heading { margin-bottom: 2rem; }
.section-heading .eyebrow { color: var(--accent); }
.section-heading h2 { font-size: 2rem; font-weight: 600; letter-spacing: -.035em; }
.feature-card { border: 1px solid var(--border); border-radius: 10px; background: #fff; }
.feature-card .card-body { padding: 2rem; }
.feature-number { display: block; margin-bottom: 1.6rem; color: var(--accent); font-size: .85rem; font-weight: 600; }
.feature-card h3 { font-size: 1.25rem; font-weight: 600; }
.feature-card p { color: #637168; margin-bottom: 0; }
.site-footer { padding: 3rem 0 1.5rem; border-top: 1px solid var(--border); font-size: .875rem; color: #637168; }
.footer-heading { margin-bottom: 1rem; color: var(--ink); font-size: 1rem; font-weight: 600; }
.site-footer address { font-style: normal; }
.footer-contact-list li, .footer-social-list li { margin-bottom: .5rem; }
.footer-contact-list span { display: block; font-size: .75rem; font-weight: 600; }
.site-footer a { overflow-wrap: anywhere; }
.footer-bottom { padding-top: 1.25rem; border-top: 1px solid var(--border); }

@media (max-width: 767.98px) {
  .header-layout { min-height: 72px; padding-top: .5rem; padding-bottom: .5rem; }
  .header-navigation { display: contents; }
  .header-navigation .navbar-toggler { margin-left: auto; }
  .header-navigation .navbar-collapse { flex-basis: 100%; width: 100%; }
  .brand-logo { width: 150px; }
  .navbar-collapse { padding-bottom: 1rem; }
  .navbar-light .navbar-nav .nav-link { padding-left: 0; }
  .hero-section { padding-top: 1rem; }
  .hero-image { height: 440px; }
  .carousel-caption { bottom: 13%; }
  .carousel-caption h1, .carousel-caption h2 { font-size: 2.5rem; }
  .features-section { padding-top: 3rem; padding-bottom: 1.5rem; }
  .section-heading h2 { font-size: 1.75rem; }
}

@media (max-width: 375px) {
  .carousel-caption h1, .carousel-caption h2 { font-size: 2rem; }
  .carousel-caption .eyebrow { font-size: .65rem; letter-spacing: .1em; }
}

@media (prefers-reduced-motion: reduce) {
  .carousel-item { transition: none; }
}
