:root {
  --ink: #101411;
  --muted: #5b625c;
  --line: rgba(16, 20, 17, 0.13);
  --paper: #f7f8f4;
  --white: #ffffff;
  --teal: #0d766e;
  --leaf: #a7c957;
  --coral: #e76f51;
  --gold: #f4b942;
  --shadow: 0 24px 70px rgba(14, 24, 22, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(247, 248, 244, 0.94);
  box-shadow: 0 12px 36px rgba(16, 20, 17, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a {
  position: relative;
}

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

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  color: inherit;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 160ms ease, width 180ms ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.52);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 10px 24px rgba(16, 20, 17, 0.08);
}

.site-header.is-scrolled .nav-toggle,
.site-header.is-open .nav-toggle {
  border-color: rgba(16, 20, 17, 0.12);
  background: rgba(16, 20, 17, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.nav-toggle span:nth-child(2) {
  width: 18px;
}

.nav-toggle span:nth-child(3) {
  width: 14px;
  margin-left: 4px;
}

.nav-toggle span:nth-child(4) {
  width: 10px;
  margin-left: 8px;
}

.site-header.is-open .nav-toggle span:nth-child(2),
.site-header.is-open .nav-toggle span:nth-child(3),
.site-header.is-open .nav-toggle span:nth-child(4) {
  width: 18px;
  margin-left: 0;
}

.site-header.is-open .nav-toggle span:nth-child(2) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .nav-toggle span:nth-child(3) {
  opacity: 0;
}

.site-header.is-open .nav-toggle span:nth-child(4) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  padding: 130px clamp(18px, 5vw, 72px) 34px;
  color: var(--white);
  overflow: hidden;
}

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

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(12, 18, 15, 0.9), rgba(12, 18, 15, 0.56) 48%, rgba(12, 18, 15, 0.23)),
    linear-gradient(0deg, rgba(12, 18, 15, 0.42), rgba(12, 18, 15, 0.05));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(850px, 100%);
  padding-bottom: clamp(34px, 7vw, 82px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
  white-space: nowrap;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(4rem, 11vw, 9.5rem);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 4.3rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.12;
}

.hero-copy {
  width: min(650px, 100%);
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 13px 18px;
  font-weight: 850;
  line-height: 1.1;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  color: var(--ink);
  background: var(--leaf);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.08);
}

.hero-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(1040px, 100%);
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  overflow: hidden;
}

.hero-strip span {
  min-height: 64px;
  display: grid;
  place-items: center;
  padding: 14px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(16, 20, 17, 0.34);
  font-weight: 750;
  text-align: center;
}

.intro-section,
.services-section,
.results-section,
.contact-section {
  padding: clamp(70px, 10vw, 132px) clamp(18px, 5vw, 72px);
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: end;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 850px;
}

.section-heading.compact {
  max-width: 760px;
}

.intro-copy,
.feature-content p,
.results-copy p,
.contact-section p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 44px;
}

.service-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(16, 20, 17, 0.06);
}

.service-card:nth-child(2) {
  border-top: 5px solid var(--teal);
}

.service-card:nth-child(3) {
  border-top: 5px solid var(--coral);
}

.service-card:nth-child(4) {
  border-top: 5px solid var(--gold);
}

.service-number {
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

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

.feature-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.82fr);
  gap: clamp(30px, 6vw, 86px);
  align-items: center;
  padding: 0 clamp(18px, 5vw, 72px) clamp(70px, 10vw, 132px);
}

.feature-media {
  min-height: 520px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.feature-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.feature-content {
  display: grid;
  gap: 26px;
}

.approach-list {
  display: grid;
  gap: 12px;
}

.approach-list div {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.approach-list strong {
  color: var(--teal);
}

.approach-list span {
  color: var(--muted);
}

.results-section {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 0.85fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
  color: var(--white);
  background: #17211d;
}

.results-section .eyebrow {
  color: var(--leaf);
}

.results-copy p {
  color: rgba(255, 255, 255, 0.72);
  margin-top: 24px;
}

.metric-grid {
  display: grid;
  gap: 14px;
}

.metric {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 132px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.metric strong {
  color: var(--gold);
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 0.9;
}

.metric span {
  color: rgba(255, 255, 255, 0.78);
}

.showcase-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.showcase-panel {
  display: grid;
  grid-template-rows: 360px minmax(260px, auto);
  background: var(--white);
}

.showcase-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-panel div {
  padding: clamp(26px, 5vw, 56px);
}

.showcase-panel p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 0.55fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
}

.contact-section h2 {
  max-width: 760px;
}

.contact-section p {
  max-width: 640px;
  margin-top: 24px;
}

.contact-panel {
  display: grid;
  gap: 12px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-panel span {
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-panel a {
  color: var(--ink);
  font-size: clamp(1.1rem, 2.5vw, 1.85rem);
  font-weight: 900;
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-panel p {
  margin: 6px 0 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.76);
  background: var(--ink);
}

.site-footer span {
  color: var(--white);
  font-weight: 850;
}

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

  .intro-section,
  .feature-section,
  .results-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .feature-section {
    padding-top: 0;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand-mark {
    display: none;
  }

  .brand {
    gap: 0;
    font-size: 0.94rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 18px;
    right: 18px;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a {
    padding: 14px;
  }

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

  .hero {
    min-height: 86vh;
    padding: 112px 18px 18px;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.2rem, 8vw, 3.6rem);
    white-space: nowrap;
  }

  .hero-copy {
    font-size: clamp(0.98rem, 3.4vw, 1.15rem);
  }

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

  .service-grid,
  .showcase-section {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 240px;
  }

  .feature-media,
  .feature-media img {
    min-height: 360px;
  }

  .metric {
    grid-template-columns: 1fr;
  }

  .showcase-panel {
    grid-template-rows: 260px auto;
  }

  .approach-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 430px) {
  .brand span:last-child {
    max-width: 150px;
    line-height: 1.05;
  }

  .button {
    width: 100%;
  }

  .contact-panel a {
    font-size: clamp(0.9rem, 3.5vw, 1.08rem);
  }
}
