:root {
  --green: #7bd650;
  --green-dark: #54a535;
  --green-soft: #eef9e9;
  --charcoal: #343638;
  --graphite: #66686a;
  --muted: #7c8287;
  --line: #e4e8e4;
  --surface: #f7f9f6;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(27, 37, 33, 0.10);
  --radius-large: 28px;
  --radius-medium: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section-pad {
  padding: 112px 0;
}

.section-pad.compact {
  padding: 76px 0;
}

.surface {
  background: var(--surface);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  padding: 16px clamp(24px, 4vw, 64px);
  border-bottom: 1px solid rgba(228, 232, 228, 0.75);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 210px;
}

.brand img {
  width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: var(--graphite);
  font-size: 0.95rem;
  font-weight: 600;
}

.main-nav a {
  position: relative;
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.main-nav a:hover {
  color: var(--charcoal);
}

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

.main-nav .nav-cta {
  padding: 12px 18px;
  color: var(--charcoal);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}

.main-nav .nav-cta::after {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--charcoal);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 88px);
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  right: -260px;
  top: -260px;
  background: radial-gradient(circle, rgba(123, 214, 80, 0.24), rgba(123, 214, 80, 0) 65%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 36px;
  height: 2px;
  background: var(--green);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 26px;
  color: var(--charcoal);
  font-size: clamp(3.6rem, 8vw, 7.7rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

h2 {
  margin-bottom: 24px;
  color: var(--charcoal);
  font-size: clamp(2.2rem, 4.3vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 12px;
  color: var(--charcoal);
  font-size: 1.2rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  color: var(--muted);
}

.lead {
  max-width: 700px;
  margin-bottom: 34px;
  color: var(--graphite);
  font-size: clamp(1.15rem, 2vw, 1.38rem);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--charcoal);
  box-shadow: 0 14px 34px rgba(52, 54, 56, 0.18);
}

.button-primary:hover {
  background: #202223;
}

.button-secondary {
  color: var(--charcoal);
  background: var(--green-soft);
  border: 1px solid rgba(123, 214, 80, 0.32);
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.value-orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 55% 43%, rgba(123, 214, 80, 0.18), transparent 28%),
    radial-gradient(circle at 50% 50%, rgba(123, 214, 80, 0.08), transparent 58%);
}

.value-orbit::before,
.value-orbit::after {
  content: "";
  position: absolute;
  inset: 60px;
  border: 1px solid rgba(123, 214, 80, 0.22);
  border-radius: 50%;
  transform: rotate(-18deg) scaleX(0.74);
}

.value-orbit::after {
  inset: 104px;
  transform: rotate(24deg) scaleX(0.62);
  border-color: rgba(102, 104, 106, 0.16);
}

.dot {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 14px 35px rgba(123, 214, 80, 0.22);
}

.d1 { width: 88px; height: 88px; left: 45%; top: 35%; }
.d2 { width: 72px; height: 72px; left: 28%; top: 45%; }
.d3 { width: 64px; height: 64px; left: 62%; top: 43%; }
.d4 { width: 50px; height: 50px; left: 42%; top: 66%; }
.d5 { width: 48px; height: 48px; left: 22%; top: 29%; }
.d6 { width: 44px; height: 44px; left: 63%; top: 22%; }
.d7 { width: 42px; height: 42px; left: 70%; top: 58%; }
.d8 { width: 38px; height: 38px; left: 38%; top: 18%; }
.d9 { width: 34px; height: 34px; left: 52%; top: 16%; }
.d10 { width: 28px; height: 28px; left: 75%; top: 30%; }
.d11 { width: 26px; height: 26px; left: 57%; top: 10%; }
.d12 { width: 24px; height: 24px; left: 33%; top: 10%; }
.d13 { width: 20px; height: 20px; left: 68%; top: 12%; }
.d14 { width: 16px; height: 16px; left: 78%; top: 20%; }
.d15 { width: 16px; height: 16px; left: 25%; top: 15%; }

.hero-card {
  position: absolute;
  right: 0;
  bottom: 40px;
  width: min(350px, 82%);
  padding: 28px;
  border: 1px solid rgba(228, 232, 228, 0.9);
  border-radius: var(--radius-large);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-card p {
  margin-bottom: 4px;
  color: var(--green-dark);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--charcoal);
  font-size: 1.65rem;
  letter-spacing: -0.04em;
}

.hero-card span {
  color: var(--muted);
}

.intro-strip {
  border-block: 1px solid var(--line);
  background: var(--white);
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.strip-grid div {
  padding: 34px 36px;
  border-right: 1px solid var(--line);
}

.strip-grid div:first-child {
  border-left: 1px solid var(--line);
}

.strip-grid strong,
.strip-grid span {
  display: block;
}

.strip-grid strong {
  margin-bottom: 6px;
  color: var(--charcoal);
  font-size: 1.05rem;
}

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

.split-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}

.section-label {
  position: relative;
  padding-left: 46px;
  color: var(--green-dark);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 32px;
  height: 2px;
  background: var(--green);
}

.split-grid p {
  max-width: 780px;
  font-size: 1.13rem;
}

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

.section-heading.wide {
  max-width: 940px;
}

.section-heading p:not(.eyebrow) {
  max-width: 720px;
  font-size: 1.1rem;
}

.card-grid {
  display: grid;
  gap: 20px;
}

.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.info-card,
.criteria-card,
.industry-card,
.portfolio-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  background: var(--white);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.info-card:hover,
.criteria-card:hover,
.industry-card:hover,
.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: rgba(123, 214, 80, 0.5);
  box-shadow: var(--shadow);
}

.info-card::before,
.criteria-card::before,
.industry-card::before,
.portfolio-card::before {
  content: "";
  position: absolute;
  right: -50px;
  top: -50px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(123, 214, 80, 0.11);
}

.card-number {
  display: inline-flex;
  margin-bottom: 58px;
  color: var(--green-dark);
  font-size: 0.84rem;
  font-weight: 900;
}

.metrics {
  color: var(--white);
  background: var(--charcoal);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius-large);
  background: rgba(255, 255, 255, 0.12);
}

.metrics-grid div {
  min-height: 170px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.04);
}

.metric-value,
.metric-label {
  display: block;
}

.metric-value {
  color: var(--green);
  font-size: clamp(2.2rem, 4vw, 4.3rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
}

.metric-label {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.criteria-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.criteria-card {
  min-height: 280px;
  background: linear-gradient(180deg, #ffffff, #fbfcfb);
}

.process-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 76px;
  align-items: start;
}

.sticky-heading {
  position: sticky;
  top: 128px;
  margin-bottom: 0;
}

.process-list {
  display: grid;
  gap: 16px;
}

.process-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  background: var(--white);
}

.process-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: var(--green-dark);
  background: var(--green-soft);
  font-weight: 900;
}

.industry-card {
  min-height: 250px;
}

.portfolio-header {
  display: grid;
  grid-template-columns: 0.95fr 0.65fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 48px;
}

.portfolio-header p:not(.eyebrow) {
  font-size: 1.05rem;
}

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

.portfolio-card {
  min-height: 340px;
}

.portfolio-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 104px;
  height: 54px;
  margin-bottom: 48px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--graphite);
  background: var(--surface);
  font-weight: 900;
}

.portfolio-card span:not(.card-number) {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.portfolio-card.placeholder .portfolio-logo {
  width: 54px;
  min-width: 54px;
  color: var(--white);
  background: var(--green);
  font-size: 1.4rem;
}

.contact {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--charcoal);
}

.contact::before {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  right: -280px;
  bottom: -300px;
  background: radial-gradient(circle, rgba(123, 214, 80, 0.26), rgba(123, 214, 80, 0) 64%);
}

.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.95fr 0.75fr;
  gap: 84px;
  align-items: start;
}

.contact h2,
.contact h3 {
  color: var(--white);
}

.contact p:not(.eyebrow) {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.12rem;
}

.contact-details {
  display: grid;
  gap: 10px;
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.contact-details a {
  color: var(--green);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-large);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 15px 16px;
  color: var(--white);
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--green);
  background: rgba(255, 255, 255, 0.12);
}

.contact-form ::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.contact-form .button {
  border: 0;
  cursor: pointer;
}

.site-footer {
  padding: 64px 0 26px;
  background: #f2f4f2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.4fr 0.4fr;
  gap: 64px;
}

.footer-grid img {
  width: 190px;
  margin-bottom: 20px;
}

.footer-grid p {
  max-width: 420px;
}

.footer-grid h3 {
  margin-bottom: 18px;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-grid a {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-weight: 700;
}

.footer-grid a:hover {
  color: var(--charcoal);
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.94rem;
}

.legal-page {
  padding: 96px 0;
}

.legal-content {
  max-width: 820px;
}

.legal-content h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
}

.legal-content h2 {
  margin-top: 42px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .process-grid,
  .contact-grid,
  .portfolio-header {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 460px;
  }

  .criteria-grid,
  .card-grid.four {
    grid-template-columns: repeat(2, 1fr);
  }

  .sticky-heading {
    position: static;
  }
}

@media (max-width: 860px) {
  .site-header {
    min-height: 76px;
  }

  .brand {
    width: 170px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 14px 12px;
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav .nav-cta {
    margin-top: 8px;
    text-align: center;
  }

  .section-pad {
    padding: 82px 0;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: clamp(3.2rem, 15vw, 5.6rem);
  }

  .strip-grid,
  .split-grid,
  .card-grid.three,
  .portfolio-grid,
  .metrics-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .strip-grid div,
  .strip-grid div:first-child {
    border-left: 1px solid var(--line);
  }

  .metrics-grid div {
    min-height: 135px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .site-header {
    padding-inline: 16px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .hero-card {
    bottom: 10px;
    padding: 22px;
  }

  .criteria-grid,
  .card-grid.four {
    grid-template-columns: 1fr;
  }

  .info-card,
  .criteria-card,
  .industry-card,
  .portfolio-card {
    min-height: auto;
  }

  .process-step {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 20px;
  }
}
