:root {
  --bg: #f5f5f1;
  --panel: rgba(255, 255, 255, 0.88);
  --panel-strong: #ffffff;
  --ink: #17312b;
  --muted: #59706a;
  --line: rgba(17, 40, 35, 0.1);
  --accent: #18b45f;
  --accent-strong: #10934c;
  --deep: #0e2320;
  --deep-2: #122d29;
  --shadow: 0 22px 60px rgba(18, 34, 29, 0.12);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 999px;
  --container: min(1180px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(24, 180, 95, 0.08), transparent 28%),
    radial-gradient(circle at 85% 20%, rgba(24, 180, 95, 0.06), transparent 20%),
    linear-gradient(180deg, #eff1ea 0%, #f8f7f2 100%);
  color: var(--ink);
}

img {
  display: block;
  max-width: 100%;
}

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

.page-shell {
  position: relative;
  overflow: hidden;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.45;
  pointer-events: none;
  z-index: -1;
}

.page-shell::before {
  top: -120px;
  right: -100px;
  background: rgba(24, 180, 95, 0.18);
}

.page-shell::after {
  bottom: -140px;
  left: -100px;
  background: rgba(20, 36, 31, 0.12);
}

.site-header {
  width: var(--container);
  margin: 22px auto 0;
  padding: 16px 18px;
  position: sticky;
  top: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(11, 26, 23, 0.72);
  backdrop-filter: blur(18px);
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(10, 19, 16, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
}

.brand-mark {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(24, 180, 95, 0.28), rgba(14, 35, 32, 0.65));
  border: 1px solid rgba(255, 255, 255, 0.12);
  flex: 0 0 auto;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-mark img.is-hidden {
  display: none;
}

.brand-mark-fallback {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  transition: opacity 180ms ease;
}

.brand-mark.has-logo .brand-mark-fallback {
  opacity: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.brand-text strong,
.brand-text small {
  white-space: nowrap;
}

.brand-text strong {
  color: #fff;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.brand-text small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.95rem;
}

.site-nav a {
  position: relative;
  transition: color 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--accent);
  transition: transform 200ms ease;
}

.site-nav a:hover {
  color: #fff;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 600;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(17, 40, 35, 0.16);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
}

.button-primary:hover {
  background: linear-gradient(135deg, #1cc767 0%, #0f8b47 100%);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(255, 255, 255, 0.5);
}

.button-secondary:hover {
  background: #fff;
}

main {
  width: var(--container);
  margin: 18px auto 0;
}

.section-card,
.section,
.site-footer {
  margin-bottom: 32px;
}

.hero {
  position: relative;
  min-height: 760px;
  border-radius: 42px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  box-shadow: var(--shadow);
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(11, 23, 20, 0.84) 0%, rgba(11, 23, 20, 0.46) 40%, rgba(11, 23, 20, 0.28) 100%),
    linear-gradient(180deg, rgba(8, 17, 16, 0.12) 0%, rgba(8, 17, 16, 0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  padding: 124px 52px 52px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1,
.section-heading h2,
.story-copy h2,
.standards-copy h2 {
  margin: 0;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  max-width: 10ch;
}

.hero-lead {
  margin: 22px 0 0;
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-metrics {
  margin: 46px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hero-metrics li {
  padding: 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  transition: transform 180ms ease, background-color 180ms ease;
}

.hero-metrics li:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.16);
}

.hero-metrics strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.hero-metrics span,
.section-heading p,
.info-card p,
.service-copy p,
.story-copy p,
.stat-card span,
.step-card p,
.check-list li,
.panel-card p,
.site-footer p {
  line-height: 1.7;
}

.section {
  position: relative;
  padding: 64px 44px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.section-light {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
}

.section-muted {
  background:
    linear-gradient(180deg, rgba(239, 241, 234, 0.9), rgba(248, 248, 244, 0.96)),
    #f3f3ee;
  border: 1px solid rgba(23, 49, 43, 0.07);
  box-shadow: var(--shadow);
}

.section-dark {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 28px;
  background:
    radial-gradient(circle at top right, rgba(24, 180, 95, 0.18), transparent 28%),
    linear-gradient(135deg, var(--deep) 0%, var(--deep-2) 100%);
  color: #f3f7f4;
  box-shadow: var(--shadow);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 32px;
}

.section-heading h2,
.story-copy h2,
.standards-copy h2 {
  font-size: clamp(2rem, 4.4vw, 3.5rem);
}

.section-heading h2 {
  max-width: 22ch;
}

.story-copy h2,
.standards-copy h2 {
  max-width: 14ch;
}

.section-heading p:last-child {
  margin-top: 18px;
  color: var(--muted);
  max-width: 58ch;
}

.about-grid,
.service-grid,
.steps-grid {
  display: grid;
  gap: 22px;
}

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

.info-card,
.service-card,
.stat-card,
.step-card,
.panel-card {
  position: relative;
  overflow: hidden;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.info-card:hover,
.service-card:hover,
.step-card:hover,
.panel-card:hover,
.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 34px rgba(17, 40, 35, 0.12);
}

.info-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--panel-strong);
  border: 1px solid rgba(17, 40, 35, 0.08);
}

.icon-badge,
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(24, 180, 95, 0.12);
  color: var(--accent-strong);
  font-weight: 800;
}

.info-card h3,
.service-copy h3,
.step-card h3,
.panel-card h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.info-card p,
.service-copy p,
.step-card p {
  margin: 0;
  color: var(--muted);
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(17, 40, 35, 0.07);
  border-radius: 28px;
  box-shadow: 0 10px 30px rgba(17, 40, 35, 0.08);
}

.service-card:hover img {
  transform: scale(1.04);
}

.service-card img {
  width: 100%;
  aspect-ratio: 1.02 / 1;
  object-fit: cover;
  transition: transform 260ms ease;
}

.service-copy {
  padding: 22px;
}

.story-section {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr;
  align-items: center;
  gap: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(246, 247, 242, 0.92)),
    #fff;
  border: 1px solid rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow);
}

.story-copy p:nth-of-type(2) {
  margin: 18px 0 0;
  max-width: 58ch;
  color: var(--muted);
}

.story-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.stat-card {
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(17, 40, 35, 0.08);
}

.stat-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.96rem;
}

.story-photo-wrap {
  min-height: 540px;
  border-radius: 30px;
  overflow: hidden;
}

.story-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.steps-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step-card {
  padding: 28px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(17, 40, 35, 0.08);
}

.standards-copy {
  align-self: center;
}

.standards-copy .eyebrow,
.standards-copy h2,
.check-list li {
  color: #f5fbf7;
}

.check-list {
  margin: 22px 0 30px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 16px;
  color: rgba(243, 247, 244, 0.82);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(24, 180, 95, 0.14);
}

.standards-panel {
  display: grid;
  gap: 18px;
}

.panel-card {
  padding: 28px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.panel-card p {
  margin: 0;
  color: rgba(243, 247, 244, 0.76);
}

.panel-card.accent {
  background: linear-gradient(135deg, rgba(24, 180, 95, 0.22), rgba(16, 147, 76, 0.18));
  border-color: rgba(24, 180, 95, 0.28);
}

.site-footer {
  width: var(--container);
  margin: 0 auto 42px;
  padding: 20px 0 12px;
  text-align: center;
}

.site-footer p {
  margin: 0;
  color: rgba(23, 49, 43, 0.7);
  font-size: 0.94rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .service-grid,
  .steps-grid,
  .about-grid,
  .story-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-section,
  .section-dark {
    grid-template-columns: 1fr;
  }

  .story-photo-wrap {
    min-height: 420px;
  }

  .hero {
    min-height: 680px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  :root {
    --container: min(100vw - 24px, 1000px);
  }

  .site-header {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 28px;
  }

  .site-nav {
    order: 3;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
  }

  .hero-content,
  .section {
    padding: 38px 22px;
  }

  .hero {
    min-height: 620px;
  }

  .hero-content {
    padding-top: 96px;
  }

  .brand {
    min-width: 0;
    width: 100%;
    justify-content: center;
  }

  .brand-text strong,
  .brand-text small {
    white-space: normal;
    text-align: center;
  }

  .service-grid,
  .steps-grid,
  .about-grid,
  .story-stats {
    grid-template-columns: 1fr;
  }

  .section-heading h2,
  .story-copy h2,
  .standards-copy h2 {
    max-width: none;
  }

  .hero h1 {
    max-width: 8ch;
    font-size: clamp(2.8rem, 15vw, 4.6rem);
  }

  .hero-lead {
    max-width: 30ch;
    font-size: 1rem;
  }

  .hero-actions {
    gap: 12px;
  }

  .hero-actions .button {
    width: 100%;
  }
}
