:root {
  color-scheme: light;
  --ink: #14201d;
  --muted: #53625e;
  --line: #dbe4e0;
  --paper: #f9f5ee;
  --card: #f4ecdf;
  --card-line: #d8cabc;
  --teal: #0f766e;
  --teal-dark: #0b4e49;
  --amber: #c77c20;
  --shadow: 0 24px 70px rgba(20, 32, 29, 0.12);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  min-height: 72px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(249, 245, 238, 0.92);
  border-bottom: 1px solid rgba(219, 228, 224, 0.78);
  backdrop-filter: blur(18px);
}

.header-inner,
.section-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.nav-links,
.hero-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: max-content;
  font-weight: 750;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(15, 118, 110, 0.28);
  border-radius: 50%;
  background: #eef7f4;
  color: var(--teal-dark);
  font-size: 12px;
  letter-spacing: 0;
}

.nav-links {
  gap: clamp(14px, 3vw, 30px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.nav-links a {
  padding: 8px 0;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: center;
  gap: clamp(32px, 5vw, 58px);
  max-width: 1180px;
  min-height: calc(100svh - 140px);
  margin: 0 auto;
  padding: clamp(34px, 5vw, 70px) clamp(20px, 5vw, 72px) clamp(24px, 4vw, 42px);
}

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

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

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

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

h1 {
  max-width: 720px;
  font-size: 76px;
  line-height: 0.98;
}

h2 {
  max-width: 760px;
  font-size: 48px;
  line-height: 1.05;
}

h3 {
  font-size: 22px;
  line-height: 1.14;
}

.hero-text {
  max-width: 600px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.52;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 760;
  line-height: 1;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

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

.button.primary {
  background: var(--teal-dark);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(11, 78, 73, 0.22);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #073d39;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--line);
  color: var(--ink);
}

.hero-media {
  justify-self: center;
  width: min(100%, 360px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(219, 228, 224, 0.9);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: contain;
}

.section {
  padding: clamp(56px, 7vw, 96px) clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 32px;
}

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

.service-card {
  min-height: 260px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--card-line);
  border-radius: var(--radius);
  background: var(--card);
}

.service-number {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 850;
}

.service-card p,
.process-list p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.58;
}

.process {
  background: var(--paper);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.process-list article {
  min-height: 210px;
  padding: clamp(22px, 3vw, 32px);
  background: var(--paper);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin: clamp(20px, 5vw, 72px) auto;
  padding: clamp(32px, 5vw, 54px);
  border-radius: var(--radius);
  background: #12211e;
  color: #ffffff;
}

.contact .eyebrow {
  color: #7fd0c5;
}

.contact h2 {
  max-width: 780px;
}

@media (max-width: 900px) {
  h1 {
    font-size: 58px;
  }

  h2 {
    font-size: 40px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-media {
    order: -1;
    width: min(100%, 230px);
  }

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

@media (max-width: 720px) {
  .site-header {
    position: static;
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    min-height: 0;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    gap: 18px;
    padding-top: 20px;
    padding-bottom: 24px;
  }

  h1 {
    font-size: 40px;
    line-height: 1.02;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 20px;
  }

  .hero-text {
    margin-top: 18px;
    font-size: 17px;
  }

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

  .hero-media img {
    aspect-ratio: 2 / 3;
  }

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

  .service-card,
  .process-list article {
    min-height: auto;
  }

  .contact {
    margin: 20px;
  }

  .button {
    width: 100%;
  }

  .hero-actions .button {
    flex: 1 1 150px;
    width: auto;
  }
}
