/* ============================================================
   CV Business Law — site styles
   Typography: Libre Caslon Text (headings) + Inter (body)
   Palette: Charcoal #1A1A1A, Cream #FAF7F2, Rust #C8392E
   ============================================================ */

/* Fonts loaded via Google Fonts in the HTML head */

:root {
  /* Colors */
  --color-charcoal: #1A1A1A;
  --color-cream: #FAF7F2;
  --color-rust: #C8392E;
  --color-rust-dark: #A52F26;
  --color-dark-bg: #14110D;
  --color-muted: #5F5E5A;
  --color-rule: #E5E3DC;
  --color-cream-tint: #F3EFE7;

  /* Typography */
  --font-serif: 'Libre Caslon Text', 'Libre Caslon', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing scale */
  --space-2xs: 0.5rem;
  --space-xs: 1rem;
  --space-sm: 1.5rem;
  --space-md: 2.5rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 9rem;
  --space-3xl: 12rem;

  /* Strict section vertical rhythm — every section uses the SAME top + bottom padding.
     This is what makes the page feel consistent. Override only with very specific intent. */
  --section-y: clamp(3rem, 6vw, 5rem);
  --section-y-hero: clamp(3rem, 5vw, 4rem);   /* slightly smaller because masthead sits above */
  --section-y-tight: clamp(2rem, 4vw, 3rem);  /* for "after-hero" sections only */

  /* Layout */
  --max-width: 1280px;
  --content-width: 768px;
  --narrow-width: 640px;
}

/* ============================================================
   Reset and base
   ============================================================ */

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

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

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-charcoal);
  background: var(--color-cream);
  font-feature-settings: "ss01", "cv11", "kern";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ============================================================
   Typography
   ============================================================ */

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.005em;
  color: var(--color-charcoal);
}

h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
}

h2 {
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.3;
  font-weight: 400;
}

p {
  max-width: 60ch;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.lead {
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  line-height: 1.5;
  color: var(--color-charcoal);
  max-width: 56ch;
}

.muted { color: var(--color-muted); }

/* ============================================================
   Layout primitives
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.container-narrow {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.section {
  padding: var(--section-y) 0;
}

.section-tight {
  padding: var(--section-y) 0;  /* same as .section — consistent rhythm */
}

.section-after-hero {
  /* Tight top to match hero's tight bottom — these two pair into a smaller,
     deliberate beat. Bottom is standard so the rhythm resumes. */
  padding-top: var(--section-y-tight);
  padding-bottom: var(--section-y);
}

.section-dark {
  background: var(--color-dark-bg);
  color: var(--color-cream);
}

.section-dark h1, .section-dark h2, .section-dark h3 {
  color: var(--color-cream);
}

.section-dark .muted { color: rgba(245, 242, 236, 0.65); }
.section-dark .eyebrow { color: rgba(245, 242, 236, 0.55); }

.divider-rule {
  width: 64px;
  height: 1.5px;
  background: var(--color-rust);
  margin: var(--space-md) 0;
  border: none;
}

/* ============================================================
   Header / nav
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 0.5px solid var(--color-rule);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 1.25rem clamp(1.5rem, 4vw, 3rem);
  max-width: var(--max-width);
  margin: 0 auto;
}

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

@media (max-width: 640px) {
  .site-logo {
    height: 32px;
  }
}

.site-home-link {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  letter-spacing: -0.005em;
  color: var(--color-charcoal);
  text-decoration: none;
  transition: color 200ms ease;
}

.site-home-link:hover { color: var(--color-rust); }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.site-nav a {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--color-charcoal);
  position: relative;
  padding: 0.25rem 0;
  transition: color 200ms ease;
}

.site-nav a:hover { color: var(--color-rust); }

.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--color-rust);
}

.nav-cta {
  background: var(--color-charcoal);
  color: var(--color-cream) !important;
  padding: 0.625rem 1.125rem !important;
  border-radius: 2px;
  transition: background 200ms ease;
}

.nav-cta:hover {
  background: var(--color-rust) !important;
  color: var(--color-cream) !important;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-charcoal);
  position: relative;
  transition: all 200ms ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 1.5px;
  background: var(--color-charcoal);
  left: 0;
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-cream);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem clamp(1.5rem, 4vw, 3rem) 2rem;
    border-bottom: 0.5px solid var(--color-rule);
    gap: 0;
  }
  .site-nav.open { display: flex; }
  .site-nav a {
    padding: 1rem 0;
    border-bottom: 0.5px solid var(--color-rule);
  }
  .site-nav a:last-child { border-bottom: none; }
  .nav-cta {
    margin-top: 1rem;
    text-align: center;
  }
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0.875rem 1.625rem;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: all 200ms ease;
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: var(--color-rust);
  color: var(--color-cream);
}

.btn-primary:hover {
  background: var(--color-rust-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--color-charcoal);
  border: 0.5px solid var(--color-charcoal);
}

.btn-secondary:hover {
  background: var(--color-charcoal);
  color: var(--color-cream);
}

.section-dark .btn-secondary {
  color: var(--color-cream);
  border-color: var(--color-cream);
}

.section-dark .btn-secondary:hover {
  background: var(--color-cream);
  color: var(--color-charcoal);
}

.btn-link {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-charcoal);
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 0.5px solid var(--color-charcoal);
  padding-bottom: 0.25rem;
  transition: gap 200ms ease, border-color 200ms ease;
}

.btn-link:hover {
  gap: 0.75rem;
  border-bottom-color: var(--color-rust);
}

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

.btn-link:hover .arrow { transform: translateX(2px); }

/* ============================================================
   Masthead — large wordmark above hero
   ============================================================ */

.masthead {
  padding: clamp(2.5rem, 4vw, 4rem) 0 0;
  text-align: center;
}

.masthead-mark {
  height: clamp(56px, 8vw, 96px);
  width: auto;
  margin: 0 auto;
  display: block;
}

.masthead-tagline {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin: 0.625rem auto 0;
  text-align: center;
  max-width: none;
}

/* ============================================================
   Section subhead — smaller paragraph beneath section heading
   ============================================================ */

.section-subhead {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-muted);
  max-width: 58ch;
  margin-top: clamp(1.25rem, 2vw, 1.75rem);
}

.cta-band-body {
  margin-top: clamp(1.25rem, 2vw, 1.75rem);
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  padding: var(--section-y-tight) 0;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.85fr;
    gap: clamp(3rem, 6vw, 5rem);
    align-items: start;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-text {
  margin-bottom: 2.5rem;
}

.hero-content h1 { margin-bottom: 1.75rem; }
.hero-content .lead { margin-bottom: 0; }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero-visual {
  position: relative;
  background: var(--color-cream-tint);
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4/5;
}

@media (max-width: 959px) {
  .hero-visual {
    aspect-ratio: 16/10;
    max-width: 480px;
    margin: 0 auto;
  }
}

/* On desktop, image height matches the height of hero-text only,
   so its bottom edge lines up with the bottom of the lead paragraph.
   The CTAs sit below the image, in their own row.
   We force the visual cell to NOT contribute to row sizing by using
   min-height: 0 and an absolutely-positioned image inside. */
@media (min-width: 960px) {
  .hero-grid {
    grid-template-rows: auto auto;
    grid-template-areas:
      "text  visual"
      "ctas  .";
    row-gap: 2.5rem;
  }
  .hero-text { grid-area: text; }
  .hero-ctas { grid-area: ctas; }
  .hero-visual {
    grid-area: visual;
    aspect-ratio: auto;
    align-self: stretch;
    height: auto;
    min-height: 0;
    width: 100%;
    position: relative;
  }
  .hero-visual img,
  .hero-visual svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .hero-content {
    display: contents;
  }
  .hero-text {
    margin-bottom: 0;
  }
}

.hero-visual svg,
.hero-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* ============================================================
   Three-column "What we do"
   ============================================================ */

.cols-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

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

.cols-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

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

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

.col-item {
  padding-top: 1.5rem;
  border-top: 0.5px solid var(--color-rule);
}

.col-item .col-num {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-rust);
  margin-bottom: 1rem;
  display: block;
}

.col-item h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.col-item p {
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.65;
  max-width: 38ch;
}

/* ============================================================
   Section headers and principles list
   ============================================================ */

/* Section grid — fills both sides of the page so there's no empty right column.
   Eyebrow + heading on the left, subhead paragraph on the right.
   Stacks vertically below 768px. */
.section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

@media (min-width: 768px) {
  .section-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
  }
}

.section-grid-left .eyebrow {
  margin-bottom: 1rem;
  display: block;
}

.section-grid-left h2 {
  max-width: 14ch;
  margin: 0;
}

.section-grid-right .section-subhead,
.section-grid-right .section-subhead-dark {
  margin-top: 0;
  max-width: 60ch;
}

.section-grid-right .section-subhead + .section-subhead {
  margin-top: 1.5rem;
}

.section-subhead-dark {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(245, 242, 236, 0.78);
}

/* Legacy section-header — keep so other pages don't break */
.section-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-header-tight {
  margin-bottom: clamp(1.5rem, 2.5vw, 2.25rem);
}

@media (min-width: 768px) {
  .section-header { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: end; }
}

.section-header .eyebrow { margin-bottom: 1rem; display: block; }
.section-header h2 { max-width: 18ch; }

/* Who we work with paragraph */
.who-body {
  max-width: 64ch;
}

.who-body p {
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  line-height: 1.65;
  color: rgba(245, 242, 236, 0.85);
  max-width: 64ch;
}

.principles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.principle {
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-top: 0.5px solid var(--color-rule);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.principle:last-child { border-bottom: 0.5px solid var(--color-rule); }

@media (min-width: 768px) {
  .principle { grid-template-columns: auto 1fr; gap: 3rem; }
}

.principle .num {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--color-rust);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.01em;
  min-width: 3rem;
}

.principle h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  margin-bottom: 0.75rem;
  font-weight: 400;
  line-height: 1.25;
}

.principle p {
  font-size: 1rem;
  color: var(--color-muted);
  max-width: 56ch;
}

/* ============================================================
   Who we work with — big quote block
   ============================================================ */

.statement {
  font-family: var(--font-serif);
  font-size: clamp(1.375rem, 2.4vw, 1.875rem);
  line-height: 1.4;
  letter-spacing: -0.005em;
  max-width: 32ch;
  color: var(--color-cream);
}

.section-dark .statement-eyebrow {
  color: rgba(245, 242, 236, 0.55);
  margin-bottom: 1.5rem;
  display: block;
}

/* ============================================================
   Closing CTA band
   ============================================================ */

.cta-band {
  background: var(--color-dark-bg);
  color: var(--color-cream);
  padding: var(--section-y) 0;
  position: relative;
  overflow: hidden;
}

/* ============================================================
   Founding principle band — centered statement, restrained
   ============================================================ */

.principle-band {
  text-align: center;
}

.principle-inner {
  max-width: 48ch;
  margin: 0 auto;
}

.principle-inner .eyebrow {
  margin-bottom: 1.25rem;
  display: block;
}

.principle-statement {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.8vw, 2.125rem);
  line-height: 1.3;
  color: var(--color-charcoal);
  letter-spacing: -0.005em;
  max-width: none;
  margin: 0 auto;
}

.cta-band::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--color-rust);
}

.cta-band-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: end;
}

@media (min-width: 768px) {
  .cta-band-inner { grid-template-columns: 1.4fr 1fr; gap: 4rem; }
}

.cta-band h2 {
  color: var(--color-cream);
  max-width: 14ch;
}

.cta-band p {
  color: rgba(245, 242, 236, 0.75);
  max-width: 42ch;
  margin-bottom: 2rem;
}

.cta-band-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .cta-band-right { align-items: flex-end; }
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  background: var(--color-cream);
  border-top: 0.5px solid var(--color-rule);
  padding: clamp(3rem, 5vw, 5rem) 0 clamp(2rem, 3vw, 3rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
  }
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
  white-space: nowrap;
}

.footer-contact {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.footer-contact a {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--color-charcoal);
  transition: color 200ms ease;
}

.footer-contact a:hover { color: var(--color-rust); }

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-nav a {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--color-charcoal);
  transition: color 200ms ease;
}

.footer-nav a:hover { color: var(--color-rust); }

.footer-disclaimer {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: var(--color-muted);
  line-height: 1.6;
  max-width: 48ch;
}

.footer-disclosure {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: var(--color-charcoal);
  line-height: 1.65;
  max-width: 48ch;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 0.5px solid var(--color-rule);
}

.footer-disclosure strong {
  font-weight: 600;
}

/* CTA band contact details — keeps the band feeling like the "real" contact page */
.cta-contact-details {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: auto auto;
  gap: 2rem;
  align-items: start;
}

.cta-contact-details > div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cta-contact-label {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.55);
}

.cta-contact-details a {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--color-cream);
  border-bottom: 0.5px solid rgba(245, 242, 236, 0.3);
  padding-bottom: 0.125rem;
  transition: border-color 200ms ease;
}

.cta-contact-details a:hover {
  border-bottom-color: var(--color-rust);
}

.footer-legal {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.75rem;
}

.footer-legal a {
  color: var(--color-muted);
  border-bottom: 0.5px solid transparent;
  transition: border-color 200ms ease, color 200ms ease;
}

.footer-legal a:hover {
  color: var(--color-charcoal);
  border-bottom-color: var(--color-charcoal);
}

.footer-legal .sep { color: var(--color-rule); }

.footer-bottom {
  margin-top: clamp(3rem, 5vw, 4rem);
  padding-top: 1.5rem;
  border-top: 0.5px solid var(--color-rule);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--color-muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ============================================================
   Inner pages — services, about, contact
   ============================================================ */

.page-header {
  padding: var(--section-y) 0;
  border-bottom: 0.5px solid var(--color-rule);
}

.page-header .eyebrow { margin-bottom: 1.5rem; display: block; }
.page-header h1 { margin-bottom: 1.75rem; max-width: 18ch; }
.page-header .lead { max-width: 56ch; }

/* Services list */
.services-list {
  padding: var(--section-y) 0;
}

.service {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-bottom: 0.5px solid var(--color-rule);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .service {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: clamp(2rem, 5vw, 5rem);
  }
}

.service-num {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-rust);
  margin-bottom: 0.75rem;
}

.service h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.2;
}

.service p {
  font-size: 1rem;
  color: var(--color-muted);
  line-height: 1.7;
  max-width: 64ch;
}

/* About page */
.about-body {
  padding: var(--section-y) 0;
}

.about-body p {
  font-size: 1.0625rem;
  line-height: 1.75;
  max-width: 60ch;
  margin-bottom: 1.5rem;
  color: var(--color-charcoal);
}

.about-body p:first-child {
  font-family: var(--font-serif);
  font-size: clamp(1.375rem, 2vw, 1.625rem);
  line-height: 1.4;
  color: var(--color-charcoal);
  margin-bottom: 2.5rem;
}

/* Bio section on About page */
.bio-section {
  padding: var(--section-y) 0;
  border-top: 0.5px solid var(--color-rule);
  background: var(--color-cream-tint);
}

.bio-body {
  margin-top: clamp(2rem, 4vw, 3rem);
  max-width: 64ch;
}

.bio-body p {
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
  color: var(--color-charcoal);
}

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

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(3rem, 5vw, 5rem);
  padding: var(--section-y) 0;
}

@media (min-width: 960px) {
  .contact-grid {
    grid-template-columns: 1.3fr 1fr;
    gap: clamp(4rem, 8vw, 7rem);
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.field-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.field input,
.field textarea {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-charcoal);
  padding: 0.875rem 1rem;
  background: transparent;
  border: 0.5px solid var(--color-charcoal);
  border-radius: 2px;
  outline: none;
  transition: border-color 200ms ease;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--color-rust);
  border-width: 1px;
  padding: calc(0.875rem - 0.5px) calc(1rem - 0.5px);
}

.field textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.contact-form .btn-primary {
  align-self: flex-start;
  margin-top: 0.5rem;
}

.form-note {
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin-top: 0.75rem;
}

.contact-direct {
  padding-top: 1.5rem;
}

.contact-direct h3 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
}

.contact-direct dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.contact-direct dt {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 0.25rem;
}

.contact-direct dd {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.4;
}

.contact-direct dd a {
  border-bottom: 0.5px solid var(--color-rule);
  transition: border-color 200ms ease;
}

.contact-direct dd a:hover { border-color: var(--color-rust); }

/* Inner CTA block at page bottom */
.inner-cta {
  background: var(--color-cream-tint);
  padding: var(--section-y) 0;
}

.inner-cta-inner {
  text-align: left;
  max-width: 56ch;
}

.inner-cta h2 {
  margin-bottom: 1.25rem;
  max-width: 16ch;
}

.inner-cta p {
  color: var(--color-muted);
  margin-bottom: 2rem;
  font-size: 1.0625rem;
}

/* ============================================================
   Page-load animation
   ============================================================ */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(12px);
    animation: reveal 700ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  .reveal-1 { animation-delay: 80ms; }
  .reveal-2 { animation-delay: 200ms; }
  .reveal-3 { animation-delay: 340ms; }
  .reveal-4 { animation-delay: 480ms; }

  @keyframes reveal {
    to { opacity: 1; transform: translateY(0); }
  }
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-charcoal);
  color: var(--color-cream);
  padding: 0.75rem 1rem;
  z-index: 100;
  font-size: 0.875rem;
}

.skip-link:focus { top: 0; }

/* Privacy / terms / attorney-advertising legal-page typography */
.legal-page {
  padding: var(--section-y) 0;
}

.legal-page h1 { margin-bottom: 1rem; }
.legal-page .eyebrow { margin-bottom: 1.5rem; display: block; }
.legal-page h2 {
  font-size: 1.25rem;
  font-family: var(--font-sans);
  font-weight: 500;
  margin: 2.5rem 0 0.75rem;
  letter-spacing: 0.005em;
}
.legal-page p {
  font-size: 1rem;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
  max-width: 70ch;
}
.legal-page hr {
  border: none;
  border-top: 0.5px solid var(--color-rule);
  margin: 3rem 0;
}

/* ============================================================
   About section portrait — circular, sits above the heading
   Approachable / warm — different treatment from DH Brumer PC
   ============================================================ */

.about-portrait {
  width: clamp(140px, 18vw, 200px);
  height: clamp(140px, 18vw, 200px);
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-cream-tint, #F3EFE7);
  margin-bottom: 1.75rem;
  border: 0.5px solid rgba(26, 26, 26, 0.06);
}

.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
