@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}

:root {
  --teal: #0f6b6d;
  --teal-dark: #0a5557;
  --teal-light: #e3f0f0;
  --brand-teal: #00b4b4;
  --graphite: #252a2d;
  --body: #4a5358;
  --muted: #7a858a;
  --border: #dde2e4;
  --off-white: #f6f8f8;
  --white: #ffffff;
  --radius: 8px;
  --container: 1240px;
  --text-width: 800px;
  --section-space: clamp(4.5rem, 8vw, 6.25rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  margin: 0;
  color: var(--body);
  background: var(--white);
  font-family: "Inter", Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1 0 auto;
}

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

a {
  color: var(--teal);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--teal-dark);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 1rem;
  color: var(--graphite);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.75rem, 4vw, 3.125rem);
}

h2 {
  font-size: clamp(1.75rem, 2.6vw, 2rem);
}

h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.375rem);
}

h4 {
  font-size: 1.125rem;
}

p {
  margin: 0 0 1.25rem;
}

ul {
  margin: 0;
  padding-left: 1.2rem;
}

li + li {
  margin-top: 0.55rem;
}

.container {
  width: min(calc(100% - 3rem), var(--container));
  margin-inline: auto;
}

.narrow {
  max-width: var(--text-width);
}

.section {
  padding-block: var(--section-space);
}

.section--muted {
  background: var(--off-white);
}

.section--compact {
  padding-block: clamp(3.5rem, 6vw, 4.75rem);
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.eyebrow {
  margin-bottom: 0.75rem;
  color: var(--teal);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--graphite);
  border-radius: var(--radius);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.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: relative;
  z-index: 20;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  min-height: 104px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.site-logo {
  width: 96px;
  height: auto;
}

.nav-toggle {
  display: none;
  padding: 0.7rem 0.85rem;
  color: var(--graphite);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
}

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

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 3vw, 2.5rem);
  padding: 0;
  list-style: none;
}

.primary-nav li + li {
  margin-top: 0;
}

.primary-nav a {
  position: relative;
  display: block;
  padding-block: 0.7rem;
  color: var(--graphite);
  font-size: 1.125rem;
  font-weight: 500;
  text-decoration: none;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.3rem;
  left: 0;
  height: 2px;
  content: "";
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 160ms ease;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--teal);
}

.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  color: var(--white);
  background: var(--teal);
  border: 1px solid var(--teal);
  border-radius: var(--radius);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

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

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

.button--secondary:hover {
  color: var(--white);
  background: var(--teal-dark);
}

.button--text {
  min-height: auto;
  justify-content: flex-start;
  padding: 0;
  color: var(--teal);
  background: transparent;
  border: 0;
}

.button--text::after {
  margin-left: 0.4rem;
  content: "→";
}

.button--text:hover {
  color: var(--teal-dark);
  background: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(15, 107, 109, 0.32);
  outline-offset: 3px;
}

.hero {
  background: var(--white);
}

.hero-shell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 3rem clamp(5rem, 7vw, 6.25rem);
  background: var(--off-white);
}

.hero-shell::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 255, 255, 0.94) 34%,
    rgba(246, 248, 248, 0.78) 52%,
    rgba(246, 248, 248, 0.34) 70%,
    rgba(246, 248, 248, 0) 88%
  );
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-intro {
  margin-top: 1.6rem;
  font-size: 1.125rem;
}

.hero-media {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  background: var(--off-white);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.split {
  display: grid;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.feature-image,
.service-image {
  position: relative;
  isolation: isolate;
  display: block;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--off-white);
}

.feature-image img,
.service-image img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-media::after,
.feature-image::after,
.service-image::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(246, 248, 248, 0.13) 0 1px,
      rgba(37, 42, 45, 0.09) 1px 2px,
      transparent 2px 5px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(246, 248, 248, 0.12) 0 1px,
      rgba(37, 42, 45, 0.085) 1px 2px,
      transparent 2px 5px
    );
  opacity: 0.92;
}

.focus-list {
  margin: 1.5rem 0;
  color: var(--graphite);
  font-weight: 500;
}

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

.service-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.service-card h3 {
  margin-bottom: 1.75rem;
}

.service-card h4 {
  margin-bottom: 0.55rem;
}

.service-card .button {
  align-self: flex-start;
  margin-top: auto;
}

.audience-list {
  display: grid;
  gap: 1rem 2.5rem;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.audience-list li {
  position: relative;
  margin: 0;
  padding-left: 1.15rem;
}

.audience-list li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  content: "";
  background: var(--brand-teal);
  border-radius: 50%;
}

.credibility-section {
  padding-top: 1.5rem;
  border-top: 3px solid var(--teal);
}

.cta-section {
  color: var(--body);
  background: var(--teal-light);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}

.cta-inner p {
  max-width: 820px;
  margin-bottom: 0;
  color: var(--graphite);
  font-size: clamp(1.12rem, 2vw, 1.25rem);
}

.page-header {
  padding-block: clamp(3.75rem, 7vw, 5.5rem);
  background: var(--off-white);
}

.page-header p {
  font-size: 1.125rem;
}

.jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.service-section {
  scroll-margin-top: 2rem;
}

.service-image {
  margin: 2.5rem 0 clamp(3rem, 5vw, 4rem);
}

.service-detail {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-block + .detail-block {
  margin-top: 3rem;
}

.outcome-list {
  display: grid;
  gap: 1.25rem;
  padding: 0;
  list-style: none;
}

.outcome-list > li {
  margin: 0;
  padding: 1.25rem 1.4rem;
  background: var(--off-white);
  border-left: 3px solid var(--teal);
}

.outcome-list strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--graphite);
}

.contact-layout {
  display: grid;
  align-items: start;
  gap: clamp(3rem, 7vw, 6rem);
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
}

.form-grid {
  display: grid;
  gap: 1.25rem;
}

.form-field label,
.form-field legend {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--graphite);
  font-size: 0.98rem;
  font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  color: var(--graphite);
  background: var(--white);
  border: 1px solid #aeb7bb;
  border-radius: 6px;
  font: inherit;
  font-size: 1rem;
}

.form-field input,
.form-field select {
  height: 50px;
}

.form-field textarea {
  min-height: 180px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--teal);
}

.helper-text {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.privacy-note {
  margin: 0;
  font-size: 0.92rem;
}

.form-status {
  margin: 0;
  color: var(--body);
  font-size: 0.95rem;
}

.form-status--error {
  color: #9b2c2c;
}

.contact-details {
  padding: 1.75rem;
  background: var(--off-white);
  border-radius: var(--radius);
}

.contact-details dl {
  margin: 1.5rem 0 0;
}

.contact-details dt {
  margin-top: 1rem;
  color: var(--graphite);
  font-weight: 600;
}

.contact-details dd {
  margin: 0.2rem 0 0;
}

.legal-content h2 {
  margin-top: 3.5rem;
}

.legal-content h3 {
  margin-top: 2.2rem;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.last-updated {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.thank-you {
  display: grid;
  min-height: 48vh;
  align-items: center;
  padding-block: var(--section-space);
}

.thank-you-message {
  max-width: 740px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.35;
}

.site-footer {
  padding-block: 3rem 2rem;
  color: #dfe4e5;
  background: var(--graphite);
}

.footer-grid {
  display: grid;
  align-items: start;
  gap: 2.5rem;
  grid-template-columns: 100px minmax(0, 1.25fr) minmax(0, 1fr);
}

.footer-logo-wrap {
  display: inline-block;
  justify-self: start;
  padding: 0.35rem;
  background: var(--white);
  border-radius: 6px;
}

.footer-logo {
  width: 80px;
  height: auto;
}

.footer-description {
  max-width: 600px;
  margin: 0;
  font-size: 0.95rem;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  padding: 0;
  list-style: none;
}

.footer-links {
  margin-bottom: 1rem;
}

.footer-links li,
.footer-contact li {
  margin: 0;
}

.site-footer a {
  color: var(--white);
}

.site-footer a:hover {
  color: #9fe1e1;
}

.copyright {
  margin: 2.5rem 0 0;
  padding-top: 1.5rem;
  color: #bac3c6;
  border-top: 1px solid #465055;
  font-size: 0.88rem;
}

@media (max-width: 900px) {
  .split,
  .service-detail,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .split .feature-image {
    grid-row: 2;
  }

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

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 90px 1fr;
  }

  .footer-nav {
    grid-column: 2;
  }
}

@media (min-width: 721px) and (max-width: 1000px) {
  .hero-shell::before {
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.94) 52%,
      rgba(246, 248, 248, 0.72) 76%,
      rgba(246, 248, 248, 0.28) 100%
    );
  }
}

@media (max-width: 720px) {
  body {
    font-size: 1.03125rem;
  }

  h1 {
    font-size: clamp(2.375rem, 10vw, 2.625rem);
  }

  h2 {
    font-size: clamp(1.75rem, 7vw, 1.875rem);
  }

  h3 {
    font-size: clamp(1.25rem, 5vw, 1.375rem);
  }

  .container {
    width: min(calc(100% - 2rem), var(--container));
  }

  .header-inner {
    min-height: 80px;
  }

  .site-logo {
    width: 62px;
  }

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

  .primary-nav {
    position: absolute;
    top: 100%;
    right: 1rem;
    left: auto;
    display: none;
    width: min(210px, calc(100vw - 2rem));
    padding: 0.5rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: none;
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav ul {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .primary-nav a {
    padding: 0.75rem 0.5rem;
    font-size: 1rem;
  }

  .primary-nav a::after {
    right: auto;
    bottom: 0.35rem;
    left: 0.5rem;
    width: 2rem;
  }

  .hero-shell {
    overflow: visible;
    padding-top: 3.25rem;
    background: var(--white);
  }

  .hero-shell::before {
    display: none;
  }

  .hero-copy {
    z-index: auto;
  }

  .hero-intro {
    font-size: 1.03125rem;
  }

  .hero-media {
    position: relative;
    z-index: auto;
    inset: auto;
    margin-top: clamp(2.5rem, 8vw, 3.25rem);
    border-radius: var(--radius);
  }

  .hero-media img {
    width: 100%;
    height: auto;
    min-height: 220px;
    aspect-ratio: auto;
    object-position: 57% center;
  }

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

  .service-card {
    padding: 1.4rem;
  }

  .button-row,
  .button-row .button,
  .cta-inner .button {
    width: 100%;
  }

  .button,
  .jump-links .button {
    font-size: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
