:root {
  --bg: #f7f8f4;
  --surface: #ffffff;
  --surface-soft: #eef3ee;
  --ink: #162323;
  --muted: #566667;
  --line: #dbe2dc;
  --accent: #1f6f68;
  --accent-dark: #164f4b;
  --blue: #24405a;
  --shadow: 0 24px 70px rgba(22, 35, 35, 0.09);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 248, 244, 0.98)),
    radial-gradient(circle at 20% 0%, rgba(31, 111, 104, 0.12), transparent 32%),
    var(--bg);
  font-family: Avenir, "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(31, 111, 104, 0.28);
  border-radius: var(--radius);
  background: #f4faf7;
  color: var(--accent-dark);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.site-nav a,
.header-cta,
.button {
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

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

.header-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-weight: 750;
}

.header-cta {
  padding: 0 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent-dark);
  font-size: 14px;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.8fr);
  gap: clamp(36px, 6vw, 86px);
  width: min(100% - 40px, var(--max));
  min-height: calc(100vh - 82px);
  margin: 0 auto;
  padding: clamp(56px, 9vw, 118px) 0 72px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

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

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(56px, 8vw, 104px);
  font-weight: 500;
}

h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.6vw, 62px);
  font-weight: 500;
}

h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.hero-lead {
  margin-bottom: 18px;
  color: var(--blue);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 750;
  line-height: 1.15;
}

.hero-text {
  max-width: 660px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 18px;
}

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

.button {
  padding: 0 22px;
  border: 1px solid transparent;
}

.button.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 30px rgba(31, 111, 104, 0.18);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--accent-dark);
}

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

.hero-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.workflow-visual {
  width: 100%;
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.proof-grid div {
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.proof-grid div:last-child {
  border-bottom: 0;
}

.proof-grid strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.proof-grid span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: clamp(70px, 9vw, 116px) 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 86px);
  border-top: 1px solid var(--line);
}

.body-copy {
  color: var(--muted);
  font-size: 18px;
}

.body-copy p:last-child {
  margin-bottom: 0;
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 38px;
}

.section-heading.compact {
  margin-bottom: 26px;
}

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

.expertise-card {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
}

.card-index {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
}

.expertise-card p,
.method-list p,
.contact-section p {
  color: var(--muted);
}

.method-section {
  border-top: 1px solid var(--line);
}

.method-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.method-list li {
  display: grid;
  gap: 28px;
  align-content: space-between;
  min-height: 300px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
}

.method-list li:nth-child(even) {
  background: var(--blue);
}

.method-list span {
  color: rgba(255, 255, 255, 0.58);
  font-weight: 850;
}

.method-list p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.audience-section {
  border-top: 1px solid var(--line);
}

.audience-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.audience-grid span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--blue);
  font-weight: 700;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.64fr);
  gap: clamp(28px, 5vw, 70px);
  width: min(100% - 40px, var(--max));
  margin: 0 auto 40px;
  padding: clamp(42px, 7vw, 78px);
  border: 1px solid rgba(31, 111, 104, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(31, 111, 104, 0.1), transparent 48%),
    #ffffff;
  box-shadow: var(--shadow);
}

.contact-section h2 {
  margin-bottom: 18px;
}

.contact-section p {
  max-width: 650px;
  margin-bottom: 0;
  font-size: 18px;
}

.contact-card {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  color: var(--blue);
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 800;
}

.contact-card a {
  overflow-wrap: anywhere;
}

.contact-card a:hover,
.contact-card a:focus-visible {
  color: var(--accent-dark);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 26px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 800;
}

:focus-visible {
  outline: 3px solid rgba(31, 111, 104, 0.32);
  outline-offset: 3px;
}

@media (max-width: 920px) {
  .site-header {
    flex-wrap: wrap;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    overflow-x: auto;
    padding-top: 4px;
  }

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

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

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

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

@media (max-width: 640px) {
  .site-header,
  .hero,
  .section,
  .contact-section,
  .site-footer {
    width: min(100% - 28px, var(--max));
  }

  .header-cta {
    display: none;
  }

  .brand {
    font-size: 15px;
  }

  .site-nav {
    font-size: 13px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .expertise-grid,
  .method-list {
    grid-template-columns: 1fr;
  }

  .expertise-card,
  .method-list li {
    min-height: auto;
  }

  .contact-section {
    padding: 28px;
  }

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