:root {
  --graphite: #2b2d2f;
  --water: #2a5c70;
  --water-dark: #174154;
  --olive: #3b4a3a;
  --olive-soft: #6e7c64;
  --bone: #f7f9f6;
  --mist: #edf2ec;
  --line: rgba(43, 45, 47, 0.13);
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(31, 48, 42, 0.12);
  --radius: 8px;
  font-family: "Source Sans Pro", "Segoe UI", Arial, sans-serif;
  color: var(--graphite);
  background: var(--bone);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(247, 249, 246, 0.95), rgba(237, 242, 236, 0.68)),
    var(--bone);
  color: var(--graphite);
}

body.nav-open {
  overflow: hidden;
}

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;
  min-height: 78px;
  padding: 14px clamp(20px, 4vw, 64px);
  border-bottom: 1px solid transparent;
  background: rgba(247, 249, 246, 0.78);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 34px rgba(42, 92, 112, 0.08);
}

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

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.brand-copy {
  display: grid;
  gap: 1px;
  line-height: 1;
}

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-line {
  color: var(--olive);
  font-size: 0.78rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 34px);
  color: rgba(43, 45, 47, 0.76);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  transition: color 160ms ease;
}

.site-nav a:hover {
  color: var(--water);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px 0;
  background: var(--graphite);
  transition: transform 180ms ease;
}

.nav-open .nav-toggle span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-open .nav-toggle span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

section {
  padding: clamp(72px, 9vw, 124px) clamp(20px, 5vw, 72px);
}

.hero {
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  padding-top: clamp(48px, 7vw, 92px);
  overflow: hidden;
}

.hero-inner,
.section-grid,
.technical-panel,
.contact {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  align-items: center;
  gap: clamp(44px, 8vw, 104px);
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  color: var(--graphite);
  font-size: clamp(3.2rem, 8vw, 7rem);
  line-height: 0.94;
}

h2 {
  margin-bottom: 20px;
  color: var(--graphite);
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1.02;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.45rem;
  line-height: 1.16;
}

.hero-text {
  max-width: 620px;
  color: rgba(43, 45, 47, 0.72);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.68;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

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

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

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

.hero-visual {
  position: relative;
  min-height: 470px;
}

.hero-card {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: min(440px, 100%);
  aspect-ratio: 1;
  margin-left: auto;
  border: 1px solid rgba(42, 92, 112, 0.12);
  border-radius: 50%;
  background: radial-gradient(circle at 42% 35%, #ffffff 0%, #f6f9f4 62%, #e8eee5 100%);
  box-shadow: var(--shadow);
}

.hero-card img {
  width: 82%;
  height: 82%;
  border-radius: 50%;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.terrain-lines {
  position: absolute;
  right: -8%;
  bottom: 5%;
  z-index: 1;
  display: grid;
  gap: 20px;
  width: min(430px, 90%);
  transform: rotate(-8deg);
}

.terrain-lines span {
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(59, 74, 58, 0.32), transparent);
}

.band {
  background: linear-gradient(135deg, rgba(237, 242, 236, 0.94), rgba(255, 255, 255, 0.52));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: start;
}

.intro-copy {
  color: rgba(43, 45, 47, 0.74);
  font-size: 1.08rem;
  line-height: 1.74;
}

.intro-copy p:last-child,
.contact-copy p:last-child {
  margin-bottom: 0;
}

.section-heading {
  width: min(880px, 100%);
  margin: 0 auto 42px;
  text-align: center;
}

.service-grid,
.process-grid {
  display: grid;
  width: min(1160px, 100%);
  margin: 0 auto;
  gap: 18px;
}

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

.service-card,
.process-step {
  min-height: 285px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 16px 46px rgba(31, 48, 42, 0.06);
}

.service-card.featured {
  background: var(--olive);
  color: var(--white);
}

.service-card p,
.process-step p {
  color: rgba(43, 45, 47, 0.68);
  line-height: 1.65;
}

.service-card.featured p {
  color: rgba(255, 255, 255, 0.78);
}

.service-number {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--water);
  font-weight: 900;
}

.service-card.featured .service-number {
  color: #bdd7d6;
}

.technical-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 88px);
  align-items: center;
  padding: clamp(34px, 5vw, 58px);
  border: 1px solid rgba(42, 92, 112, 0.14);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.technical-list {
  display: grid;
  gap: 18px;
}

.technical-list div {
  display: grid;
  gap: 6px;
  padding-left: 20px;
  border-left: 3px solid var(--water);
}

.technical-list strong {
  color: var(--olive);
  font-size: 1.05rem;
}

.technical-list span {
  color: rgba(43, 45, 47, 0.66);
  line-height: 1.55;
}

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

.process-step {
  min-height: 260px;
}

.process-step span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: rgba(42, 92, 112, 0.1);
  color: var(--water);
  font-weight: 900;
}

.audience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.audience-tags span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 16px;
  border: 1px solid rgba(59, 74, 58, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--olive);
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: minmax(260px, 0.84fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 84px);
  align-items: start;
}

.contact-copy p {
  color: rgba(43, 45, 47, 0.7);
  font-size: 1.08rem;
  line-height: 1.7;
}

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

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

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(43, 45, 47, 0.16);
  border-radius: 6px;
  background: #fbfcfa;
  color: var(--graphite);
  font: inherit;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

input,
select {
  height: 48px;
  padding: 0 14px;
}

textarea {
  resize: vertical;
  min-height: 118px;
  padding: 14px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(42, 92, 112, 0.52);
  box-shadow: 0 0 0 4px rgba(42, 92, 112, 0.09);
}

.contact-form .button {
  width: fit-content;
  cursor: pointer;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--water);
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #ffffff;
  color: rgba(43, 45, 47, 0.64);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--graphite);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .hero-inner,
  .section-grid,
  .technical-panel,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 360px;
  }

  .hero-card {
    margin: 0 auto;
    width: min(360px, 86vw);
  }

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

@media (max-width: 720px) {
  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    inset: 78px 14px auto;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .site-nav a {
    padding: 16px;
    border-radius: 6px;
  }

  .site-nav a:hover {
    background: var(--mist);
  }

  .nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .brand-line {
    display: none;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.8rem);
  }

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

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

  .site-footer {
    display: grid;
    justify-items: start;
  }
}

@media (max-width: 460px) {
  .site-header {
    min-height: 70px;
  }

  .site-nav {
    top: 70px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

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

  .button {
    width: 100%;
  }
}
