@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap");

:root {
  --purple: #39265c;
  --teal: #42b6a9;
  --ink: #2d2926;
  --cloud: #f1f1f1;
  --paper: #fbfaf7;
  --white: #ffffff;
  --line: rgba(45, 41, 38, 0.14);
  --muted: rgba(45, 41, 38, 0.68);
  --soft-purple: rgba(57, 38, 92, 0.08);
  --soft-teal: rgba(66, 182, 169, 0.14);
  --shadow: 0 18px 54px rgba(45, 41, 38, 0.12);
  --anchor-offset: 112px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--anchor-offset);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Montserrat, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 4px;
}

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

section[id],
article[id] {
  scroll-margin-top: var(--anchor-offset);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(251, 250, 247, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 118px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 2.4vw, 28px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.site-nav a {
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--purple);
  border-bottom-color: var(--teal);
}

.hero {
  min-height: clamp(480px, 76vh, 650px);
  display: flex;
  align-items: center;
  padding: clamp(54px, 7vw, 88px) clamp(22px, 6vw, 88px) clamp(38px, 5vw, 62px);
  background:
    linear-gradient(90deg, rgba(57, 38, 92, 0.08), transparent 42%),
    var(--white);
  border-bottom: 1px solid var(--line);
}

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

.eyebrow {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

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

h1 {
  max-width: 900px;
  margin-bottom: 22px;
  color: var(--purple);
  font-size: clamp(38px, 4.6vw, 58px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  color: var(--purple);
  font-size: clamp(28px, 3.5vw, 46px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--purple);
  font-size: 20px;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 860px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(17px, 1.35vw, 21px);
}

.hero-evidence {
  max-width: 760px;
  margin: 0;
  padding-left: 16px;
  color: var(--ink);
  border-left: 4px solid var(--teal);
  font-size: clamp(14px, 1vw, 16px);
  font-weight: 600;
}

.audience-routes {
  max-width: 820px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.audience-routes li + li {
  margin-top: 10px;
}

.audience-routes a {
  display: inline-block;
  padding-left: 16px;
  border-left: 4px solid var(--teal);
  color: var(--purple);
  font-size: clamp(14px, 1.05vw, 17px);
  font-weight: 600;
  text-decoration: none;
}

.audience-routes a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.service-list {
  margin: 0 0 18px;
  padding-left: 20px;
}

.service-list li + li {
  margin-top: 8px;
}

.service-list strong {
  color: var(--purple);
  font-weight: 700;
}

.hero-actions,
.contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--purple);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

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

.button.secondary {
  color: var(--purple);
  background: transparent;
}

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

.section {
  padding: clamp(42px, 5vw, 66px) clamp(22px, 6vw, 88px);
}

.band {
  background: var(--cloud);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(30px, 5vw, 58px);
  align-items: start;
}

.prose {
  color: var(--muted);
  font-size: clamp(16px, 1.25vw, 19px);
}

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

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.text-link {
  color: var(--purple);
  font-size: 14px;
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.card-grid article {
  display: flex;
  flex-direction: column;
  min-height: 150px;
  padding: 20px;
  background: var(--white);
  border-top: 4px solid transparent;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.card-grid article:nth-child(2),
.card-grid article:nth-child(4) {
  border-top-color: var(--teal);
}

.card-grid p {
  color: var(--muted);
}

.card-grid .text-link {
  align-self: flex-start;
  margin-top: auto;
}

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

.about-panel {
  min-height: 320px;
  padding: clamp(24px, 3vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
}

.about-panel h2 {
  margin-bottom: 24px;
}

.about-panel p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(16px, 1.2vw, 18px);
}

.about-panel p:last-child {
  margin-bottom: 0;
}

.contact-band {
  color: var(--white);
  background: var(--purple);
}

.contact-band .eyebrow,
.contact-band h2 {
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
}

.contact-band .button.primary {
  color: var(--purple);
  background: var(--white);
  border-color: var(--white);
}

.contact-band .button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px clamp(18px, 4vw, 56px);
  color: var(--muted);
  background: var(--paper);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

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

@media (max-width: 980px) {
  :root {
    --anchor-offset: 154px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

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

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

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

  .about-split {
    grid-template-columns: 1fr;
  }

  .about-panel {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  :root {
    --anchor-offset: 146px;
  }

  .brand img {
    width: 96px;
  }

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

  h1 {
    font-size: clamp(36px, 10vw, 52px);
  }

  h2 {
    font-size: clamp(26px, 7vw, 38px);
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .card-grid {
    display: block;
    border-left: 0;
  }

  .card-grid article {
    min-height: auto;
    border-left: 1px solid var(--line);
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
