:root {
  --ink: #101820;
  --muted: #52616b;
  --line: #d9e0e5;
  --paper: #f7f9f9;
  --white: #ffffff;
  --teal: #0f9f96;
  --cobalt: #254f9b;
  --amber: #d58a2a;
  --charcoal: #172027;
  --shadow: 0 18px 45px rgba(16, 24, 32, 0.12);
}

* {
  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(--ink);
  background: var(--paper);
  line-height: 1.5;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 0 clamp(18px, 4vw, 54px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 28px rgba(16, 24, 32, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  position: relative;
  width: 184px;
  min-width: 184px;
  height: 44px;
}

.brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  transition: opacity 180ms ease;
}

.brand .logo-light {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.site-header.is-scrolled .brand .logo-dark {
  opacity: 0;
}

.site-header.is-scrolled .brand .logo-light {
  opacity: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  font-size: 0.95rem;
  font-weight: 650;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  padding: 9px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  padding: 122px clamp(20px, 6vw, 80px) 84px;
}

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

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 17, 24, 0.92) 0%, rgba(10, 17, 24, 0.72) 42%, rgba(10, 17, 24, 0.22) 100%),
    linear-gradient(180deg, rgba(10, 17, 24, 0.2), rgba(10, 17, 24, 0.74));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

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

.hero .eyebrow {
  color: #72ddd5;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.03;
  letter-spacing: 0;
}

h1 {
  max-width: 790px;
  font-size: clamp(3.1rem, 7vw, 6.8rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 4.25rem);
}

h3 {
  font-size: 1.25rem;
}

.hero-copy {
  max-width: 650px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  font-weight: 800;
}

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

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

.section-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section-band {
  background: var(--white);
}

.intro,
.services,
.approach,
.outcomes,
.contact {
  padding: clamp(70px, 10vw, 124px) 0;
}

.intro-grid,
.approach-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: start;
}

.intro p:not(.eyebrow),
.contact p {
  margin: 0;
  color: var(--muted);
  font-size: 1.16rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 260px;
  padding: 28px;
  background: var(--white);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-icon {
  display: inline-flex;
  margin-bottom: 54px;
  color: var(--cobalt);
  font-weight: 900;
  font-size: 0.82rem;
}

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

.sticky-heading {
  position: sticky;
  top: 110px;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  padding: 28px;
  background: var(--paper);
  border-left: 4px solid var(--teal);
}

.timeline-item span {
  display: block;
  margin-bottom: 8px;
  font-weight: 900;
  color: var(--charcoal);
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
}

.outcome-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(34px, 6vw, 72px);
  align-items: center;
  padding: clamp(34px, 6vw, 64px);
  color: var(--white);
  background: var(--charcoal);
  box-shadow: var(--shadow);
}

.outcome-panel .eyebrow {
  color: #72ddd5;
}

.metrics {
  display: grid;
  gap: 18px;
  margin: 0;
}

.metrics div {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.metrics dt {
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  font-weight: 900;
}

.metrics dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 30px;
  background: var(--paper);
  border-top: 4px solid var(--amber);
}

.form-row {
  display: grid;
  gap: 7px;
}

.form-row label {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  padding: 13px 14px;
  outline: none;
}

.form-row textarea {
  resize: vertical;
  min-height: 138px;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 159, 150, 0.14);
}

.website-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.turnstile-row {
  min-height: 65px;
  display: flex;
  align-items: center;
}

.form-submit {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  border: 0;
  background: var(--ink);
  color: var(--white);
  font: inherit;
  font-weight: 900;
  padding: 13px 18px;
  cursor: pointer;
}

.form-submit:hover,
.form-submit:focus {
  background: var(--cobalt);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 60px);
  color: rgba(255, 255, 255, 0.7);
  background: #0d1217;
  font-size: 0.92rem;
}

.site-footer a {
  color: var(--white);
  font-weight: 800;
}

.thanks-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  background: var(--paper);
}

.thanks-panel {
  width: min(720px, 100%);
  padding: clamp(32px, 6vw, 64px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.thanks-panel img {
  width: min(260px, 100%);
  height: auto;
  margin-bottom: 32px;
}

.thanks-panel h1 {
  font-size: clamp(2rem, 5vw, 4rem);
}

.thanks-panel p {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.1rem;
}

.thanks-button {
  margin-top: 16px;
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

@media (max-width: 940px) {
  .nav-toggle {
    display: block;
    position: relative;
    z-index: 22;
  }

  .site-nav {
    position: fixed;
    inset: 74px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 14px 12px;
    border-bottom: 1px solid var(--line);
  }

  .intro-grid,
  .approach-grid,
  .contact-grid,
  .outcome-panel {
    grid-template-columns: 1fr;
  }

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

  .sticky-heading {
    position: static;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 88vh;
    padding-top: 112px;
  }

  h1 {
    font-size: clamp(2.55rem, 15vw, 4.6rem);
  }

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

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

  .service-card {
    min-height: auto;
  }

  .service-icon {
    margin-bottom: 34px;
  }

  .site-footer {
    flex-direction: column;
  }
}
