.section { padding: var(--section-pad) 0; }
.section-tint { background: var(--cream-tint); }
.section-navy { background: var(--navy); color: color-mix(in srgb, var(--cream) 92%, transparent); }
.section-navy h1, .section-navy h2, .section-navy h3 { color: var(--cream); }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-eyebrow {
  display: inline-block;
  color: var(--navy-mid);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-navy .section-eyebrow { color: var(--sky); }

/* ---- Hero ---- */
.hero { padding: clamp(56px, 10vw, 120px) 0 var(--section-pad); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-eyebrow { font-family: var(--font-display); font-style: italic; color: var(--navy-mid); font-size: 1.15rem; margin-bottom: 16px; }
.hero h1 { margin-bottom: 22px; }
.hero-sub { font-size: 1.1rem; color: var(--charcoal-soft); max-width: 46ch; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-visual {
  position: relative;
  background: var(--navy);
  border-radius: var(--radius);
  /* hero.jpg is 1030x686 (3:2). The old 4/5 frame cropped ~47% of the width,
     which cut the office sign on the left clean in half. 4/3 crops ~11% and
     leaves the whole sign inside the frame. */
  aspect-ratio: 4 / 3;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 42% center; }
/* 3:2 source, 3:2 frame — used where the photo must not be cropped at all. */
.hero-visual-wide { aspect-ratio: 3 / 2; }
.hero-visual-wide img { object-position: center; }
.hero-visual-caption {
  position: absolute;
  inset: auto 0 0 0;
  /* The bottom of hero.jpg is bright concrete — the old single-stop gradient
     left brass italic text sitting on near-white. Deeper scrim, cream text. */
  padding: 64px 28px 24px;
  background: linear-gradient(
    to top,
    color-mix(in srgb, var(--navy-deep) 94%, transparent) 0%,
    color-mix(in srgb, var(--navy-deep) 78%, transparent) 48%,
    transparent 100%
  );
  color: var(--cream);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.4;
}

/* ---- Editorial figure + text/image split (About, Locations) ---- */
.figure { margin: 0; }
.figure img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.figure figcaption {
  margin-top: 12px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--charcoal-soft);
  border-left: 2px solid var(--navy-mid);
  padding-left: 12px;
}
.split {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.split > :first-child { min-width: 0; }
.split-reverse > .figure { order: -1; }
.split-body > :first-child { margin-top: 0; }
.split-body p { color: var(--charcoal); }
.split-body p + p { margin-top: 1em; }
.split + .split { margin-top: clamp(48px, 7vw, 88px); }

@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split-reverse > .figure { order: 0; }
}

/* ---- Stat strip ---- */
.stat-strip { display: flex; flex-wrap: wrap; gap: 40px; }
.stat-strip .stat-num { font-family: var(--font-display); font-size: 2.4rem; color: var(--navy); }
.section-navy .stat-strip .stat-num { color: var(--cream); }
.stat-strip .stat-label { font-size: 0.88rem; color: var(--charcoal-soft); }
.section-navy .stat-strip .stat-label { color: color-mix(in srgb, var(--cream) 70%, transparent); }

/* ---- CTA banner ---- */
.cta-banner {
  background: var(--navy);
  color: var(--cream);
  border-radius: var(--radius);
  padding: clamp(36px, 6vw, 64px);
  text-align: center;
}
.cta-banner h2 { color: var(--cream); margin-bottom: 14px; }
.cta-banner p { color: color-mix(in srgb, var(--cream) 82%, transparent); margin-bottom: 26px; max-width: 56ch; margin-inline: auto; }

/* ---- Practice-area hub page sub-sections ---- */
.subtopic { padding: 36px 0; border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.subtopic:first-of-type { border-top: none; }
.subtopic h3 { margin-bottom: 10px; }
.subtopic p { color: var(--charcoal-soft); max-width: 70ch; }

/* ---- Article prose ---- */
.prose { max-width: 68ch; margin-inline: auto; }
.prose h2 { margin: 1.6em 0 0.6em; }
.prose h3 { margin: 1.4em 0 0.5em; }
.prose p { margin-bottom: 1em; color: var(--charcoal); }
.prose ul, .prose ol { margin: 0 0 1em 1.4em; }
.prose li { margin-bottom: 0.5em; }
.article-meta { color: var(--charcoal-soft); font-size: 0.88rem; margin-bottom: 8px; }

/* ---- Reveal (IntersectionObserver-driven, see js/motion.js) ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js-ready .reveal.is-revealed,
html:not(.js-ready) .reveal { opacity: 1; transform: none; } /* no-JS fallback: never hide content */

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; aspect-ratio: 16/9; }
}
