:root {
  color-scheme: light;
  --ink: #17201d;
  --muted: #5d6b66;
  --line: #d9e2de;
  --paper: #ffffff;
  --mist: #eef4f1;
  --deep: #0e6259;
  --deep-2: #104a43;
  --aqua: #e4f5f1;
  --gold: #d99b2b;
  --coral: #cb604b;
  --blue: #2f6f9f;
  --shadow: 0 20px 60px rgba(15, 34, 29, 0.13);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

main {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

main::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    repeating-linear-gradient(135deg, rgba(14, 98, 89, 0.04) 0 1px, transparent 1px 72px),
    linear-gradient(118deg, transparent 0 10%, rgba(47, 111, 159, 0.08) 10% 18%, transparent 18% 100%),
    linear-gradient(64deg, transparent 0 68%, rgba(217, 155, 43, 0.1) 68% 75%, transparent 75% 100%);
}

main > * {
  position: relative;
  z-index: 1;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.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: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  min-height: 78px;
  padding: 0 clamp(18px, 5vw, 58px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(217, 226, 222, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 196px;
  min-width: 0;
}

.brand-logo {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 650;
}

.site-nav a,
.contact-methods a {
  transition: color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.contact-methods a:hover {
  color: var(--deep);
}

.header-cta,
.button,
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  border: 0;
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
}

.header-cta {
  padding: 0 16px;
  color: #ffffff;
  background: var(--deep);
  box-shadow: 0 12px 24px rgba(14, 98, 89, 0.2);
}

.nav-toggle {
  display: none;
  width: 44px;
  color: var(--deep);
  background: var(--aqua);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(320px, 1.07fr);
  align-items: center;
  gap: clamp(34px, 5vw, 78px);
  width: min(var(--max), calc(100% - 36px));
  min-height: calc(100svh - 248px);
  margin: 0 auto;
  padding: clamp(36px, 6vw, 64px) 0 clamp(24px, 4vw, 42px);
}

.hero-copy,
.section-heading,
.contact-copy {
  min-width: 0;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  overflow-wrap: break-word;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 6.3vw, 5.3rem);
  letter-spacing: 0;
}

p {
  overflow-wrap: break-word;
}

h2 {
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.45rem);
  letter-spacing: 0;
}

h3 {
  font-size: 1.22rem;
}

.hero-lede {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

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

.button {
  min-width: 174px;
  padding: 13px 18px;
  border: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

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

.button-primary {
  color: #ffffff;
  background: var(--deep);
  box-shadow: 0 16px 30px rgba(14, 98, 89, 0.22);
}

.button-secondary {
  color: var(--deep-2);
  background: var(--aqua);
  border-color: #c9e5de;
}

.hero-media {
  position: relative;
  align-self: center;
  display: grid;
  place-items: center;
  min-height: 470px;
}

.hero-media::before {
  position: absolute;
  inset: -22px -18px 42px 34px;
  content: "";
  background:
    repeating-linear-gradient(90deg, rgba(14, 98, 89, 0.08) 0 1px, transparent 1px 58px),
    linear-gradient(135deg, var(--mist), #ffffff);
  border-radius: 8px;
  transform: rotate(-2deg);
}

.hero-media img {
  position: relative;
  width: 100%;
  height: clamp(360px, 37vw, 500px);
  object-fit: cover;
  object-position: 62% center;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.media-caption {
  position: absolute;
  right: 26px;
  bottom: 28px;
  display: grid;
  gap: 4px;
  max-width: min(320px, calc(100% - 52px));
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 42px rgba(15, 34, 29, 0.14);
  backdrop-filter: blur(14px);
}

.media-caption span {
  color: var(--deep);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.media-caption strong {
  line-height: 1.2;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto clamp(70px, 10vw, 120px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.proof-strip div {
  padding: 24px;
  background: #fbfdfc;
}

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

.proof-strip strong {
  margin-bottom: 6px;
  font-size: 1.02rem;
}

.proof-strip span {
  color: var(--muted);
}

.section,
.split-section,
.contact-section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.section {
  padding: 0 0 clamp(76px, 11vw, 128px);
}

.section.compact {
  padding-bottom: clamp(70px, 10vw, 112px);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading.align-left {
  max-width: 520px;
  margin: 0;
  text-align: left;
}

.section-heading p:not(.eyebrow),
.contact-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

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

.service-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(21, 39, 35, 0.06);
}

.card-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 22px;
  color: var(--deep);
  background: var(--aqua);
  border-radius: 8px;
}

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

.split-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(320px, 1.22fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: start;
  padding: clamp(54px, 8vw, 82px) clamp(20px, 4vw, 52px);
  margin-bottom: clamp(76px, 11vw, 128px);
  color: #ffffff;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(16, 74, 67, 0.98), rgba(14, 98, 89, 0.94)),
    var(--deep-2);
  border-radius: 8px;
}

.split-section::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(112deg, transparent 0 48%, rgba(255, 255, 255, 0.08) 48% 56%, transparent 56% 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 64px);
}

.split-section > * {
  position: relative;
  z-index: 1;
}

.split-section .eyebrow,
.split-section h2 {
  color: #ffffff;
}

.split-section .section-heading p {
  color: rgba(255, 255, 255, 0.76);
}

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

.approach-stack {
  display: grid;
  gap: 16px;
}

.approach-photo {
  width: 100%;
  height: clamp(210px, 23vw, 285px);
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.22);
}

.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.process-step span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--ink);
  font-weight: 900;
  background: var(--gold);
  border-radius: 8px;
}

.process-step p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.75);
}

.client-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.client-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 76px;
  padding: 16px;
  color: var(--deep-2);
  font-weight: 850;
  text-align: center;
  border: 1px solid #cfe6df;
  border-radius: 8px;
  background: var(--aqua);
}

.insight-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(280px, 1fr);
  gap: clamp(22px, 4vw, 46px);
  align-items: center;
  margin-top: 18px;
  padding: clamp(18px, 3vw, 28px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 48px rgba(21, 39, 35, 0.08);
}

.insight-panel::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(116deg, transparent 0 58%, rgba(203, 96, 75, 0.1) 58% 64%, transparent 64% 100%),
    repeating-linear-gradient(90deg, rgba(14, 98, 89, 0.04) 0 1px, transparent 1px 54px);
}

.insight-panel > * {
  position: relative;
  z-index: 1;
}

.insight-panel img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
}

.insight-panel h3 {
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
}

.insight-panel p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(320px, 1.14fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
  padding: clamp(52px, 8vw, 84px) 0;
  border-top: 1px solid var(--line);
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-methods a {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 12px;
  color: var(--muted);
}

.contact-methods i {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--deep);
  background: var(--aqua);
  border-radius: 8px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
  box-shadow: var(--shadow);
}

.contact-form label,
.contact-form span {
  display: grid;
  gap: 7px;
}

.contact-form label span {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 850;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  color: var(--ink);
  border: 1px solid #cad8d4;
  border-radius: 8px;
  background: #ffffff;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact-form input {
  min-height: 46px;
  padding: 0 13px;
}

.contact-form textarea {
  min-height: 140px;
  padding: 12px 13px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--deep);
  box-shadow: 0 0 0 4px rgba(14, 98, 89, 0.13);
}

.form-submit {
  width: 100%;
  margin-top: 4px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

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

.footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: 150px;
  height: auto;
}

.footer-brand span {
  color: #ffffff;
  font-weight: 850;
}

svg.lucide {
  width: 19px;
  height: 19px;
  stroke-width: 2.2;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

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

  .site-nav,
  .header-cta {
    display: none;
  }

  .site-header.nav-open .site-nav {
    position: absolute;
    top: 78px;
    right: 18px;
    left: 18px;
    display: grid;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .site-header.nav-open .site-nav a {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
  }

  .site-header.nav-open .site-nav a:last-child {
    border-bottom: 0;
  }

  .hero,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    max-width: 12ch;
  }

  .hero-media {
    min-height: auto;
  }

  .hero-media img {
    height: min(54vw, 430px);
  }

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

  .insight-panel {
    grid-template-columns: 1fr;
  }

  .client-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .site-header {
    min-height: 70px;
    padding: 0 16px;
  }

  .site-header.nav-open .site-nav {
    top: 70px;
    right: 14px;
    left: 14px;
  }

  .brand {
    width: 158px;
  }

  .hero {
    width: min(var(--max), calc(100% - 28px));
    gap: 18px;
    padding-top: 28px;
    padding-bottom: 8px;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 3.65rem);
  }

  h2 {
    font-size: clamp(1.9rem, 10vw, 2.7rem);
  }

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

  .hero-actions {
    margin-top: 24px;
  }

  .hero-media img {
    width: 100%;
    height: 236px;
    object-position: 64% center;
  }

  .media-caption {
    right: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
    padding: 12px 13px;
  }

  .media-caption strong {
    font-size: 0.96rem;
  }

  .proof-strip,
  .section,
  .split-section,
  .contact-section {
    width: min(var(--max), calc(100% - 28px));
  }

  .split-section {
    padding: 34px 18px;
  }

  .approach-photo,
  .insight-panel img {
    height: 220px;
  }

  .client-row {
    grid-template-columns: 1fr;
  }

  .contact-methods a {
    grid-template-columns: 38px 1fr;
  }
}
