/* Base typography and layout */
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--charcoal);
  background: var(--white);
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); color: var(--navy); }

h1 { font-size: var(--text-hero); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: var(--text-4xl); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: var(--text-xl); font-weight: 600; }
h4 { font-size: var(--text-lg); font-weight: 600; }

p { color: var(--slate); line-height: 1.75; }

a { text-decoration: none; transition: color var(--transition); }

strong { font-weight: 600; color: var(--charcoal); }

/* Layout helpers */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding-top: var(--section-v); padding-bottom: var(--section-v); }
.section--offwhite { background: var(--offwhite); }
.section--navy-light { background: var(--navy-light); }
.section--coral-light { background: var(--coral-light); }
.section--navy { background: var(--navy); }
.section--charcoal { background: var(--charcoal); }

.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section-head p { margin-top: 1rem; font-size: var(--text-lg); }
.section-head--left { margin-left: 0; text-align: left; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  background: var(--navy-light);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.text-coral { color: var(--coral); }
.text-center { text-align: center; }

/* Skip link (accessibility) */
.skip-link {
  position: absolute;
  left: 0; top: -100px;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  z-index: 200;
  border-radius: 0 0 6px 0;
  font-family: var(--font-display);
  font-weight: 600;
}
.skip-link:focus { top: 0; }

main { padding-top: 72px; }

/* Page hero (interior pages) */
.page-hero { padding: 4rem 0 3.5rem; background: var(--offwhite); }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p { font-size: var(--text-lg); max-width: 640px; }

/* Two-column hero for service pages */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; gap: 2rem; }
}

/* Generic grids */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin: 2.5rem 0 1rem; }
.prose h3 { margin: 2rem 0 0.75rem; }
.prose p { margin-bottom: 1.25rem; }
.prose ul { margin: 0 0 1.25rem 1.25rem; }
.prose ul li { list-style: disc; margin-bottom: 0.5rem; color: var(--slate); line-height: 1.7; }
.prose a { color: var(--coral-dark); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--coral-darker); }
