:root {
  --ink: #18212f;
  --muted: #5b6678;
  --line: #dce3e9;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --teal: #147d75;
  --teal-dark: #0e5d58;
  --coral: #db6b57;
  --gold: #d99b3d;
  --green-soft: #e4f2ef;
  --rose-soft: #fae9e4;
  --shadow: 0 18px 45px rgba(24, 33, 47, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(251, 250, 247, 0.92);
  border-bottom: 1px solid rgba(220, 227, 233, 0.78);
  backdrop-filter: blur(14px);
}

.brand,
.nav-links,
.hero-actions,
.trust-strip,
.footer-links,
.contact-points {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark,
.service-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  background: var(--teal);
  font-weight: 800;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
}

.nav-links {
  gap: 26px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--teal);
}

.nav-cta {
  padding: 11px 16px;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.78fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(44px, 7vw, 86px) clamp(20px, 5vw, 72px);
}

.hero-content {
  max-width: 760px;
}

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

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  max-width: 820px;
  font-size: clamp(3rem, 8vw, 5.7rem);
  letter-spacing: 0;
}

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

h3 {
  font-size: 1.08rem;
}

.hero-copy,
.intro-copy,
.contact-content p,
.mission-band p {
  color: var(--muted);
  font-size: 1.06rem;
}

.hero-copy {
  max-width: 660px;
  margin: 24px 0 0;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--teal);
}

.button.primary:hover {
  background: var(--teal-dark);
}

.button.secondary {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}

.button.secondary:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.trust-strip {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-strip span,
.contact-points span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-media {
  position: relative;
  min-height: 620px;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--green-soft), var(--rose-soft));
  box-shadow: var(--shadow);
  overflow: hidden;
}

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

.hero-media img {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero-media img.is-missing,
.proof-image img.is-missing {
  display: none;
}

.portrait-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(24, 33, 47, 0.74);
  font-size: 6rem;
  font-weight: 800;
}

.hero-note {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 3;
  max-width: 270px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(24, 33, 47, 0.13);
}

.hero-note strong,
.hero-note span {
  display: block;
}

.hero-note span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

.section,
.mission-band,
.site-footer {
  padding: clamp(64px, 8vw, 110px) clamp(20px, 5vw, 72px);
}

.intro-section,
.contact-section,
.proof-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

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

.section-heading.wide {
  max-width: 870px;
  margin-bottom: 34px;
}

.intro-copy p:first-child,
.contact-content p {
  margin-top: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card,
.step,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 24px rgba(24, 33, 47, 0.06);
}

.service-card {
  min-height: 252px;
  padding: 24px;
}

.service-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border-radius: 8px;
  background: var(--coral);
  font-size: 0.78rem;
}

.service-card:nth-child(2n) .service-icon {
  background: var(--teal);
}

.service-card:nth-child(3n) .service-icon {
  background: var(--gold);
}

.service-card p,
.step p,
.proof-list p,
.site-footer p {
  color: var(--muted);
}

.proof-section {
  align-items: center;
  background: #eef5f2;
}

.proof-image {
  min-height: 500px;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--rose-soft), var(--green-soft));
  overflow: hidden;
}

.proof-list {
  display: grid;
  gap: 18px;
  margin: 28px 0;
}

.proof-list article {
  padding: 0 0 0 18px;
  border-left: 4px solid var(--teal);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.step {
  padding: 26px;
}

.step span {
  display: inline-block;
  margin-bottom: 52px;
  color: var(--coral);
  font-weight: 800;
}

.mission-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  color: #fff;
  background: var(--ink);
}

.mission-band .eyebrow,
.mission-band p {
  color: #d7e7e3;
}

.contact-section {
  align-items: start;
}

.contact-points {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form .full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(20, 125, 117, 0.16);
}

.form-status {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: var(--teal);
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 26px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.site-footer p {
  margin: 4px 0 0;
}

.footer-links {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero,
  .intro-section,
  .proof-section,
  .mission-band,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media,
  .proof-image {
    min-height: 520px;
  }

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

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-cta {
    display: none;
  }

  h1 {
    font-size: 2.78rem;
  }

  .hero-media,
  .proof-image {
    min-height: 430px;
  }

  .hero-note {
    right: 14px;
    bottom: 14px;
    left: 14px;
    max-width: none;
  }

  .services-grid,
  .steps,
  .contact-form {
    grid-template-columns: 1fr;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

/* ==========================================================================
   HERO SCROLL SEQUENCE ANIMATION
   ========================================================================== */
.hero-scroll-container {
  position: relative;
  height: 220vh; /* Scroll range for the sequence */
  width: 100%;
}

.hero-scroll-container .hero {
  position: sticky;
  top: 72px; /* Header height offset */
  height: calc(100vh - 72px);
  min-height: auto;
  padding: 0 clamp(20px, 5vw, 72px);
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  pointer-events: none;
  border-radius: 8px;
}

@media (max-width: 980px) {
  .hero-scroll-container {
    height: auto;
  }

  .hero-scroll-container .hero {
    position: relative;
    top: auto;
    height: auto;
    padding: clamp(44px, 7vw, 86px) clamp(20px, 5vw, 72px);
  }
}


