/* =============================================================================
   Data Group Management, Inc.
   Aesthetic: Archival Warmth — watercolor accents, ivory ground, serif/sans pair
   ============================================================================= */

:root {
  /* Colors */
  --c-bg: #F5F0E8;
  --c-surface: #EDEDEA;
  --c-surface-2: #E5DFD2;
  --c-border: #D6CFC3;
  --c-border-strong: #B8AF9F;

  --c-primary: #3A6E30;
  --c-primary-dark: #2B531F;
  --c-primary-light: #DCF0D6;
  --c-secondary: #2D6385;
  --c-secondary-dark: #1F4A66;
  --c-accent: #5A3D26;
  --c-accent-warm: #7A5C3F;

  --c-text: #2C2C2A;
  --c-text-2: #4A4845;
  --c-text-muted: #6B6460;
  --c-text-on-dark: #F5F0E8;
  --c-text-on-dark-2: rgba(245, 240, 232, 0.78);
  --c-text-on-dark-muted: rgba(245, 240, 232, 0.55);

  --c-success: #3A6E30;
  --c-warning: #7A5C3F;
  --c-error: #8B2E2E;

  /* Typography */
  --f-display: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --f-body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --w-light: 300;
  --w-regular: 400;
  --w-medium: 500;
  --w-semibold: 600;
  --w-bold: 700;

  --lh-display: 1.15;
  --lh-body: 1.65;
  --lh-ui: 1.4;

  --tr-display: -0.01em;
  --tr-eyebrow: 0.14em;

  /* Spacing scale */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 128px;

  /* Layout */
  --max-w: 1200px;
  --max-w-narrow: 760px;
  --nav-h: 80px;
  --gutter: 32px;

  /* Borders */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 6px;
  --radius-full: 9999px;
  --bw: 1px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(44, 44, 42, 0.06);
  --shadow-md: 0 3px 8px rgba(44, 44, 42, 0.08);
  --shadow-lg: 0 8px 24px rgba(44, 44, 42, 0.10);
  --shadow-glow: 0 0 0 3px rgba(58, 110, 48, 0.18);

  /* Section padding (vertical) */
  --section-py: 96px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: var(--lh-body);
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--c-primary);
  text-decoration: none;
  transition: color 160ms ease;
}

a:hover {
  color: var(--c-primary-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 2px;
}

p {
  margin: 0 0 var(--sp-4);
}

ul,
ol {
  margin: 0 0 var(--sp-4);
  padding-left: var(--sp-5);
}

li + li {
  margin-top: var(--sp-2);
}

hr {
  border: 0;
  border-top: 1px solid var(--c-border);
  margin: var(--sp-7) 0;
}

/* Typography */
h1, h2, h3 {
  font-family: var(--f-display);
  color: var(--c-text);
  margin: 0 0 var(--sp-4);
  line-height: var(--lh-display);
  letter-spacing: var(--tr-display);
  font-weight: var(--w-semibold);
}

h4, h5, h6 {
  font-family: var(--f-body);
  color: var(--c-text);
  margin: 0 0 var(--sp-3);
  line-height: var(--lh-ui);
  font-weight: var(--w-semibold);
}

h1 { font-size: clamp(2.25rem, 4.2vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem; }
h6 {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: var(--tr-eyebrow);
  color: var(--c-text-muted);
  font-weight: var(--w-semibold);
}

.text-eyebrow {
  display: inline-block;
  font-family: var(--f-body);
  font-size: 0.75rem;
  font-weight: var(--w-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tr-eyebrow);
  color: var(--c-primary);
  margin-bottom: var(--sp-3);
}

.text-eyebrow--muted {
  color: var(--c-text-muted);
}

.text-eyebrow--on-dark {
  color: var(--c-primary-light);
}

.text-lead {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--c-text-2);
}

.text-small {
  font-size: 0.8125rem;
  color: var(--c-text-muted);
}

blockquote {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--c-text-2);
  border-left: 3px solid var(--c-accent);
  margin: var(--sp-6) 0;
  padding: 0 0 0 var(--sp-5);
}

/* Layout / containers */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}

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

.section {
  padding-block: var(--section-py);
  background: var(--c-bg);
}

.section--alt {
  background: var(--c-surface);
}

.section--surface-2 {
  background: var(--c-surface-2);
}

.section--dark {
  background: var(--c-text);
  color: var(--c-text-on-dark);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--c-text-on-dark);
}

.section__head {
  text-align: center;
  margin-bottom: var(--sp-8);
}

.section__head--left {
  text-align: left;
  margin-bottom: var(--sp-7);
}

.section__title {
  margin-bottom: var(--sp-3);
}

.section__lead {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--c-text-2);
  max-width: 700px;
  margin-inline: auto;
}

.section__head--left .section__lead {
  margin-inline: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--f-body);
  font-size: 0.875rem;
  font-weight: var(--w-medium);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: var(--lh-ui);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
}

.btn--primary {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
}

.btn--primary:hover {
  background: var(--c-primary-dark);
  border-color: var(--c-primary-dark);
  color: #fff;
}

.btn--secondary {
  background: transparent;
  color: var(--c-primary);
  border-color: var(--c-primary);
}

.btn--secondary:hover {
  background: var(--c-primary-light);
  color: var(--c-primary-dark);
}

.btn--ghost {
  background: transparent;
  color: var(--c-primary);
  border: none;
  padding: 6px 0;
  text-transform: none;
  letter-spacing: 0;
  font-weight: var(--w-semibold);
  font-size: 0.9375rem;
}

.btn--ghost:hover {
  color: var(--c-primary-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btn--on-dark {
  background: var(--c-bg);
  color: var(--c-primary-dark);
  border-color: var(--c-bg);
}

.btn--on-dark:hover {
  background: #fff;
  color: var(--c-primary-dark);
  border-color: #fff;
}

.btn--ghost-on-dark {
  background: transparent;
  color: var(--c-text-on-dark);
  border: 1px solid rgba(245, 240, 232, 0.6);
}

.btn--ghost-on-dark:hover {
  background: rgba(245, 240, 232, 0.1);
  color: #fff;
  border-color: #fff;
}

.btn--wide {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-border);
  height: var(--nav-h);
}

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  color: var(--c-text);
}

.nav__brand:hover {
  text-decoration: none;
  color: var(--c-text);
}

.nav__logo {
  height: 52px;
  width: auto;
  display: block;
}

.nav__brand-text {
  display: block;
  font-family: var(--f-display);
  font-size: 1rem;
  line-height: 1.15;
  font-weight: var(--w-semibold);
  letter-spacing: var(--tr-display);
}

.nav__brand-tagline {
  display: none;
  font-family: var(--f-body);
  font-size: 0.7rem;
  font-weight: var(--w-regular);
  color: var(--c-text-muted);
  letter-spacing: 0.04em;
  text-transform: none;
}

.nav__menu {
  display: none;
  align-items: center;
  gap: var(--sp-6);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__item {
  margin: 0;
}

.nav__link {
  font-family: var(--f-body);
  font-size: 0.875rem;
  font-weight: var(--w-medium);
  color: var(--c-text-2);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}

.nav__link:hover {
  color: var(--c-text);
  text-decoration: none;
  border-bottom-color: var(--c-border-strong);
}

.nav__link[aria-current="page"] {
  color: var(--c-text);
  border-bottom-color: var(--c-primary);
}

.nav__cta {
  display: none;
}

.nav__toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--c-text);
}

.nav__toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-text);
  transition: transform 200ms ease, opacity 200ms ease;
}

.nav__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--c-bg);
  z-index: 100;
  padding: var(--sp-7) var(--sp-5);
  flex-direction: column;
}

.nav__overlay[data-open="true"] {
  display: flex;
}

.nav__overlay-head {
  display: flex;
  justify-content: flex-end;
  margin-bottom: var(--sp-7);
}

.nav__overlay-close {
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--c-text);
}

.nav__overlay-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-5);
}

.nav__overlay-link {
  font-family: var(--f-display);
  font-size: 1.75rem;
  font-weight: var(--w-semibold);
  color: var(--c-text);
  text-decoration: none;
}

.nav__overlay-link[aria-current="page"] {
  color: var(--c-primary);
}

.nav__overlay-cta {
  margin-top: var(--sp-7);
  align-self: center;
}

@media (min-width: 768px) {
  .nav__brand-tagline {
    display: block;
  }
}

@media (min-width: 960px) {
  .nav__menu {
    display: flex;
  }
  .nav__cta {
    display: inline-flex;
  }
  .nav__toggle {
    display: none;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background: var(--c-text);
  color: var(--c-text-on-dark);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg picture,
.page-header__bg picture,
.stats-band__bg picture,
.cta-band__bg picture {
  height: 100%;
}

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

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(44, 44, 42, 0.42) 0%,
    rgba(44, 44, 42, 0.72) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: var(--sp-9) var(--sp-5);
}

.hero__content {
  max-width: 640px;
  text-align: center;
  margin-inline: auto;
}

.hero__title {
  font-family: var(--f-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: var(--tr-display);
  font-weight: var(--w-semibold);
  color: var(--c-text-on-dark);
  margin: 0 0 var(--sp-5);
}

.hero__subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--c-text-on-dark-2);
  margin: 0 auto var(--sp-6);
  max-width: 540px;
}

.hero .btn-row {
  justify-content: center;
}

/* Page header (interior) */
.page-header {
  position: relative;
  background: var(--c-surface);
  padding: var(--sp-9) 0 var(--sp-8);
  border-bottom: 1px solid var(--c-border);
  overflow: hidden;
}

.page-header__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.18;
}

.page-header__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-header__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}

.page-header__title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin: 0 0 var(--sp-3);
}

.page-header__subtitle {
  font-size: 1.0625rem;
  color: var(--c-text-2);
  max-width: 720px;
  margin: 0;
}

/* Card grids */
.card-grid {
  display: grid;
  gap: var(--sp-6);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .card-grid--2,
  .card-grid--3,
  .card-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .card-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .card-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Card */
.card {
  display: flex;
  flex-direction: column;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 200ms ease, border-color 200ms ease, transform 200ms ease;
  box-shadow: var(--shadow-sm);
}

.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--c-border-strong);
}

.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--c-surface-2);
  overflow: hidden;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card__body {
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card__eyebrow {
  font-family: var(--f-body);
  font-size: 0.6875rem;
  font-weight: var(--w-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tr-eyebrow);
  color: var(--c-text-muted);
  margin-bottom: var(--sp-2);
}

.card__title {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: var(--w-semibold);
  color: var(--c-text);
  margin: 0 0 var(--sp-3);
  line-height: 1.25;
}

.card__text {
  font-size: 0.9375rem;
  color: var(--c-text-2);
  line-height: 1.65;
  margin: 0 0 var(--sp-5);
  flex: 1;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-weight: var(--w-semibold);
  color: var(--c-primary);
  text-decoration: none;
  font-size: 0.9375rem;
  margin-top: auto;
}

.card__link:hover {
  color: var(--c-primary-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.card__link-arrow {
  display: inline-block;
  transition: transform 200ms ease;
}

.card:hover .card__link-arrow {
  transform: translateX(3px);
}

/* Card variants */
.card--feature {
  border: none;
  background: var(--c-surface);
  box-shadow: var(--shadow-sm);
  padding: 0;
}

.card--feature .card__body {
  padding: var(--sp-6);
}

.card--feature .card__title {
  font-family: var(--f-body);
  font-size: 1.0625rem;
  margin-bottom: var(--sp-3);
}

.card--feature .card__text {
  margin: 0;
}

.card--feature .card__icon {
  width: 36px;
  height: 36px;
  margin-bottom: var(--sp-4);
  color: var(--c-primary);
}

.card--principle {
  position: relative;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-top: 4px solid var(--c-primary);
}

.card--principle .card__body {
  padding: var(--sp-6) var(--sp-5);
}

.card--principle--blue { border-top-color: var(--c-secondary); }
.card--principle--brown { border-top-color: var(--c-accent-warm); }
.card--principle--charcoal { border-top-color: var(--c-text); }

.approach-grid {
  margin-top: var(--sp-8);
}

.card--contact-info {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: var(--sp-6);
}

/* Two-column layout */
.two-col {
  display: grid;
  gap: var(--sp-7);
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 860px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-8);
  }
  .two-col--reverse > .two-col__media {
    order: 2;
  }
}

.two-col__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--c-surface-2);
}

.two-col__media img {
  width: 100%;
  height: auto;
  display: block;
}

.two-col__body > :last-child {
  margin-bottom: 0;
}

/* Stats / credibility band */
.stats-band {
  position: relative;
  padding-block: var(--section-py);
  color: var(--c-text-on-dark);
  overflow: hidden;
  background: var(--c-text);
}

.stats-band__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.stats-band__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.stats-band__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(44, 44, 42, 0.55) 0%,
    rgba(44, 44, 42, 0.78) 100%
  );
}

.stats-band__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}

.stats {
  display: grid;
  gap: var(--sp-6);
  grid-template-columns: 1fr;
  text-align: center;
}

@media (min-width: 600px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stats__item {
  padding: var(--sp-4);
  border-top: 1px solid rgba(245, 240, 232, 0.2);
}

@media (min-width: 600px) {
  .stats__item {
    border-top: none;
    border-left: 1px solid rgba(245, 240, 232, 0.18);
  }
  .stats__item:nth-child(2n+1) {
    border-left: none;
  }
}

@media (min-width: 960px) {
  .stats__item {
    border-left: 1px solid rgba(245, 240, 232, 0.18);
  }
  .stats__item:first-child {
    border-left: none;
  }
  .stats__item:nth-child(2n+1) {
    border-left: 1px solid rgba(245, 240, 232, 0.18);
  }
  .stats__item:first-child {
    border-left: none;
  }
}

.stats__label {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: var(--w-semibold);
  color: var(--c-text-on-dark);
  display: block;
  margin-bottom: var(--sp-3);
  line-height: 1.15;
}

.stats__detail {
  font-size: 0.875rem;
  color: var(--c-text-on-dark-2);
  line-height: 1.5;
}

/* Process steps */
.process {
  display: grid;
  gap: var(--sp-7);
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .process {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-7) var(--sp-6);
  }
}

@media (min-width: 1024px) {
  .process {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process__step {
  position: relative;
  padding-top: var(--sp-2);
}

.process__step::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 0;
  width: 48px;
  height: 1px;
  background: var(--c-primary);
}

.process__num {
  font-family: var(--f-display);
  font-size: 2.75rem;
  font-weight: var(--w-light);
  color: var(--c-primary);
  line-height: 1;
  display: block;
  margin-bottom: var(--sp-4);
}

.process__title {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: var(--w-semibold);
  margin: 0 0 var(--sp-3);
  color: var(--c-text);
}

.process__text {
  font-size: 0.9375rem;
  color: var(--c-text-2);
  line-height: 1.65;
  margin: 0;
}

/* Lists */
.list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--sp-5);
}

.list > li + li {
  margin-top: var(--sp-3);
}

.list--bullet > li {
  position: relative;
  padding-left: var(--sp-5);
  color: var(--c-text-2);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.list--bullet > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  background: var(--c-primary);
  border-radius: var(--radius-full);
}

.list--check > li {
  position: relative;
  padding-left: 28px;
  color: var(--c-text);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.list--check > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%233A6E30'><path d='M16.7 5.3a1 1 0 0 1 0 1.4l-7.5 7.5a1 1 0 0 1-1.4 0L3.3 9.7a1 1 0 1 1 1.4-1.4L8.5 12 15.3 5.3a1 1 0 0 1 1.4 0z'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
}

.list--numbered {
  counter-reset: numlist;
}

.list--numbered > li {
  counter-increment: numlist;
  position: relative;
  padding-left: 36px;
  color: var(--c-text-2);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.list--numbered > li::before {
  content: counter(numlist) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--f-display);
  font-weight: var(--w-semibold);
  color: var(--c-primary);
  font-size: 1rem;
}

.list--expertise {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .list--expertise {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-4) var(--sp-6);
  }
}

.list--expertise > li {
  border-left: 3px solid var(--c-primary);
  padding: var(--sp-3) var(--sp-4);
  background: var(--c-surface);
  margin: 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.list--expertise > li + li {
  margin-top: 0;
}

.list--expertise .term {
  display: block;
  font-weight: var(--w-semibold);
  color: var(--c-text);
  font-size: 0.9375rem;
  margin-bottom: var(--sp-1);
}

.list--expertise .desc {
  display: block;
  font-size: 0.875rem;
  color: var(--c-text-2);
  line-height: 1.55;
}

/* "Why" feature list */
.feature-list {
  display: grid;
  gap: var(--sp-6);
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .feature-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature {
  padding: var(--sp-6);
  background: var(--c-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--c-primary-light);
  color: var(--c-primary-dark);
  border-radius: var(--radius-md);
  margin-bottom: var(--sp-4);
}

.feature__icon svg {
  width: 22px;
  height: 22px;
}

.feature__title {
  font-family: var(--f-body);
  font-size: 1.0625rem;
  font-weight: var(--w-semibold);
  color: var(--c-text);
  margin: 0 0 var(--sp-3);
}

.feature__text {
  font-size: 0.9375rem;
  color: var(--c-text-2);
  line-height: 1.65;
  margin: 0;
}

/* CTA band */
.cta-band {
  position: relative;
  padding-block: var(--section-py);
  background: var(--c-secondary-dark);
  color: var(--c-text-on-dark);
  overflow: hidden;
  text-align: center;
}

.cta-band__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-band__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.cta-band__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(31, 74, 102, 0.55) 0%,
    rgba(31, 74, 102, 0.78) 100%
  );
}

.cta-band__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w-narrow);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}

.cta-band__title {
  font-family: var(--f-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--c-text-on-dark);
  margin: 0 0 var(--sp-4);
  line-height: 1.2;
}

.cta-band__text {
  font-size: 1.0625rem;
  color: var(--c-text-on-dark-2);
  margin: 0 0 var(--sp-6);
}

.cta-band .btn-row {
  justify-content: center;
}

/* Form */
.form {
  display: grid;
  gap: var(--sp-5);
}

.form__row {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .form__row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form__label {
  font-size: 0.8125rem;
  font-weight: var(--w-medium);
  color: var(--c-text-2);
  letter-spacing: 0.02em;
}

.form__label .req {
  color: var(--c-primary);
  margin-left: 2px;
}

.form__control {
  font-family: var(--f-body);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--c-text);
  background: #FFFCF6;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
  width: 100%;
  box-shadow: inset 0 1px 2px rgba(44, 44, 42, 0.04);
}

.form__control::placeholder {
  color: var(--c-text-muted);
}

.form__control:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: var(--shadow-glow);
}

textarea.form__control {
  min-height: 140px;
  resize: vertical;
}

select.form__control {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236B6460'><path d='M5.3 7.3a1 1 0 0 1 1.4 0L10 10.6l3.3-3.3a1 1 0 0 1 1.4 1.4l-4 4a1 1 0 0 1-1.4 0l-4-4a1 1 0 0 1 0-1.4z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px 18px;
  padding-right: 40px;
}

.form__note {
  font-size: 0.8125rem;
  color: var(--c-text-muted);
  margin: 0;
}

.form__actions {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  align-items: flex-start;
}

@media (min-width: 640px) {
  .form__actions {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* Contact two-column layout */
.contact-grid {
  display: grid;
  gap: var(--sp-7);
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1.4fr 1fr;
    gap: var(--sp-8);
    align-items: start;
  }
}

.contact-info__item + .contact-info__item {
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--c-border);
}

.contact-info__label {
  font-family: var(--f-body);
  font-size: 0.6875rem;
  font-weight: var(--w-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tr-eyebrow);
  color: var(--c-text-muted);
  margin-bottom: var(--sp-2);
}

.contact-info__value {
  font-family: var(--f-body);
  font-size: 1rem;
  color: var(--c-text);
  line-height: 1.5;
  margin: 0;
}

.contact-info__value a {
  color: var(--c-primary);
}

.contact-info__accent {
  width: 64px;
  height: 64px;
  margin: var(--sp-5) auto 0;
  display: block;
  border-radius: var(--radius-full);
  overflow: hidden;
  opacity: 0.85;
}

.contact-info__accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Watercolor divider */
.divider {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin: var(--sp-7) auto;
  max-width: 280px;
  color: var(--c-primary);
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--c-border-strong);
}

.divider__mark {
  width: 14px;
  height: 14px;
  border-radius: 50% 35% 50% 65% / 50% 50% 50% 50%;
  background: var(--c-primary);
  opacity: 0.7;
  transform: rotate(8deg);
  flex-shrink: 0;
}

/* Footer */
.footer {
  background: var(--c-text);
  color: var(--c-text-on-dark);
  padding: var(--sp-9) 0 var(--sp-6);
  position: relative;
  overflow: hidden;
}

.footer__watermark {
  position: absolute;
  right: -2%;
  bottom: -10%;
  width: 40%;
  max-width: 500px;
  min-width: 220px;
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
  filter: brightness(0) invert(1);
}

.footer__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}

.footer__cols {
  display: grid;
  gap: var(--sp-7);
  grid-template-columns: 1fr;
  margin-bottom: var(--sp-7);
}

@media (min-width: 640px) {
  .footer__cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .footer__cols {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: var(--sp-8);
  }
}

.footer__brand-block {
  max-width: 360px;
}


.footer__brand-name {
  font-family: var(--f-display);
  font-size: 1.0625rem;
  font-weight: var(--w-semibold);
  color: var(--c-text-on-dark);
  margin: 0 0 var(--sp-2);
}

.footer__tagline {
  font-size: 0.875rem;
  color: var(--c-text-on-dark-2);
  line-height: 1.5;
  margin: 0 0 var(--sp-4);
}

.footer__contact-line {
  font-size: 0.875rem;
  color: var(--c-text-on-dark-2);
  margin: 0 0 var(--sp-2);
}

.footer__contact-line a {
  color: var(--c-text-on-dark);
  border-bottom: 1px solid rgba(245, 240, 232, 0.3);
}

.footer__contact-line a:hover {
  color: var(--c-primary-light);
  border-bottom-color: var(--c-primary-light);
  text-decoration: none;
}

.footer__col-title {
  font-family: var(--f-body);
  font-size: 0.6875rem;
  font-weight: var(--w-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tr-eyebrow);
  color: var(--c-text-on-dark-muted);
  margin: 0 0 var(--sp-4);
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__list > li + li {
  margin-top: var(--sp-3);
}

.footer__link {
  font-size: 0.9375rem;
  color: var(--c-text-on-dark-2);
  text-decoration: none;
  transition: color 160ms ease;
}

.footer__link:hover {
  color: var(--c-text-on-dark);
  text-decoration: none;
}

.footer__bottom {
  border-top: 1px solid rgba(245, 240, 232, 0.15);
  padding-top: var(--sp-5);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
}

.footer__copy {
  font-size: 0.8125rem;
  color: var(--c-text-on-dark-muted);
  margin: 0;
}

.footer__legal {
  font-size: 0.8125rem;
  color: var(--c-text-on-dark-muted);
  margin: 0;
}

/* Sub-section label inside prose blocks */
.prose__sublabel {
  font-family: var(--f-body);
  font-size: 0.75rem;
  font-weight: var(--w-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tr-eyebrow);
  color: var(--c-text-muted);
  margin: var(--sp-6) 0 var(--sp-3);
  display: block;
}

/* Prose helpers (used inside service detail blocks etc.) */
.prose > h2:not(:first-child),
.prose > h3:not(:first-child) {
  margin-top: var(--sp-7);
}

.prose p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--c-text);
}

.prose .text-lead {
  font-size: 1.125rem;
  color: var(--c-text-2);
  font-weight: var(--w-regular);
}

.prose strong {
  color: var(--c-text);
  font-weight: var(--w-semibold);
}

.prose ul {
  padding-left: 0;
  list-style: none;
}

.prose ul li {
  position: relative;
  padding-left: 24px;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  background: var(--c-primary);
  border-radius: var(--radius-full);
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 8px;
  background: var(--c-primary);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  z-index: 200;
  font-size: 0.875rem;
}

.skip-link:focus {
  top: 8px;
}

/* Utility: visually hidden */
.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;
}
