/* ─────────────────────────────────────────────────────────────
   Clermont Law Office — design system
   warm family-firm aesthetic · cream + olive + clay
   ───────────────────────────────────────────────────────────── */

:root {
  /* palette — defaults; overridden by tweak themes via data-palette */
  --ink:        #1c1a16;
  --ink-2:      #3a352c;
  --ink-soft:   #6b6358;
  --paper:      #f4ede1;
  --paper-2:    #ece2cf;
  --paper-3:    #e0d3b9;
  --olive:      #3d4a35;
  --olive-2:    #5a6b4f;
  --clay:       #b85c38;
  --clay-soft:  #e2b59a;
  --line:       rgba(28, 26, 22, 0.12);
  --line-soft:  rgba(28, 26, 22, 0.06);

  /* density */
  --pad-section: clamp(80px, 10vw, 140px);
  --pad-gutter:  clamp(20px, 4vw, 56px);

  /* type */
  --serif: "Newsreader", "Source Serif 4", Georgia, serif;
  --sans:  "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono:  "Geist Mono", ui-monospace, monospace;

  --radius-sm: 4px;
  --radius:    10px;
  --radius-lg: 18px;
}

/* warmer alt palette */
[data-palette="navy"] {
  --olive: #1f3144;
  --olive-2: #3a526c;
  --clay: #c8843a;
  --clay-soft: #ecd3a7;
  --paper: #f4ede1;
}
[data-palette="burgundy"] {
  --olive: #5c2a2a;
  --olive-2: #7d4444;
  --clay: #c47a3a;
  --clay-soft: #e8c39a;
  --paper: #f6efe5;
}
[data-palette="forest"] {
  --olive: #2a3d35;
  --olive-2: #4a6a5c;
  --clay: #c47a3a;
  --clay-soft: #e2c79f;
  --paper: #f1ece1;
}

[data-density="compact"]  { --pad-section: clamp(56px, 7vw, 96px); }
[data-density="spacious"] { --pad-section: clamp(112px, 14vw, 200px); }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ── typography ─────────────────────────────────────────────── */

.serif { font-family: var(--serif); }
.mono  { font-family: var(--mono); font-feature-settings: "ss01"; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 420;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: clamp(48px, 7vw, 96px); line-height: 0.98; letter-spacing: -0.025em; }
h2 { font-size: clamp(36px, 4.5vw, 64px); line-height: 1.02; letter-spacing: -0.02em; }
h3 { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.15; }
h4 { font-size: 20px; line-height: 1.25; }
p  { margin: 0; text-wrap: pretty; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--clay);
}
.eyebrow.no-rule::before { display: none; }

.lede {
  font-family: var(--serif);
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.4;
  color: var(--ink-2);
  font-weight: 380;
  font-style: italic;
}

.muted { color: var(--ink-soft); }
.fineprint { font-size: 13px; color: var(--ink-soft); }

/* ── layout ─────────────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: var(--pad-gutter);
  padding-right: var(--pad-gutter);
}
.container-narrow { max-width: 920px; }

.section { padding: var(--pad-section) 0; }
.section--paper-2 { background: var(--paper-2); }
.section--olive   { background: var(--olive); color: var(--paper); }
.section--olive .muted { color: rgba(244,237,225,0.65); }
.section--olive .eyebrow { color: rgba(244,237,225,0.72); }
.section--olive .eyebrow::before { background: var(--clay-soft); }

.grid { display: grid; gap: 24px; }

/* ── buttons ────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.005em;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--olive);
  color: var(--paper);
}
.btn--primary:hover { background: var(--ink); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--ink); }
.btn--clay {
  background: var(--clay);
  color: var(--paper);
}
.btn--clay:hover { background: #9a4a2c; }
.btn .arrow {
  width: 14px; height: 14px;
  transition: transform .2s ease;
}
.btn:hover .arrow { transform: translateX(3px); }

/* link with arrow */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  transition: border-color .2s, gap .2s;
}
.tlink:hover { border-color: var(--clay); gap: 14px; }
.tlink .arrow { width: 11px; height: 11px; }

/* ── header ─────────────────────────────────────────────────── */

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 237, 225, 0.78);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, padding .3s;
}
.header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(244, 237, 225, 0.92);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px var(--pad-gutter);
  transition: padding .3s;
  max-width: 1440px; margin: 0 auto;
}
.header.is-scrolled .header-inner { padding-top: 14px; padding-bottom: 14px; }

.brand {
  display: flex; align-items: center; gap: 12px;
}
.brand-logo {
  display: block;
  height: 42px;
  width: auto;
  transition: height .25s ease;
}
.header.is-scrolled .brand-logo { height: 34px; }
.sitefoot-brand .brand-logo { height: 44px; }

/* legacy mark/text — kept for fallback */
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--olive);
  color: var(--paper);
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  letter-spacing: -0.02em;
}
.brand-name {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand-sub {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: block;
  margin-top: 2px;
}

.nav {
  display: flex; align-items: center; gap: 28px;
  white-space: nowrap;
}
.nav a {
  font-size: 14.5px;
  color: var(--ink-2);
  position: relative;
  padding: 4px 0;
  transition: color .2s;
}
.nav a:hover { color: var(--ink); }
.nav a.active { color: var(--ink); }
.nav a.active::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--clay);
}

.header-cta {
  display: flex; align-items: center; gap: 14px;
  white-space: nowrap;
}
.phone-line {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-2);
  display: flex; align-items: center; gap: 8px;
}

/* condense at medium widths so the header doesn't crowd */
@media (max-width: 1180px) {
  .header-inner { padding-left: 24px; padding-right: 24px; }
  .nav { gap: 22px; }
  .brand-sub { display: none; }
  .phone-line span { display: none; }
  .brand-logo { height: 38px; }
  .header.is-scrolled .brand-logo { height: 32px; }
}
@media (max-width: 1020px) {
  .nav { display: none; }
}
@media (max-width: 560px) {
  .brand-logo { height: 32px; }
  .header.is-scrolled .brand-logo { height: 28px; }
  .header-cta .btn--primary span,
  .header-cta .btn--primary { font-size: 13.5px; padding: 12px 16px; }
}

/* ── hero ───────────────────────────────────────────────────── */

.hero {
  padding: clamp(40px, 6vw, 80px) 0 var(--pad-section);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.hero-eyebrow { margin-bottom: 28px; }
.hero h1 { margin-bottom: 28px; }
.hero h1 em {
  font-style: italic;
  color: var(--olive);
}
.hero-lede { margin-bottom: 40px; max-width: 32ch; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 280px 280px 12px 12px;
  overflow: hidden;
  background: var(--paper-2);
  box-shadow: 0 20px 60px -30px rgba(28,26,22,0.4);
}
.hero-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
}
.hero-portrait::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(244,237,225,0) 60%, rgba(28,26,22,0.18) 100%);
  pointer-events: none;
}
.hero-tag {
  position: absolute;
  bottom: 20px; left: 20px; right: 20px;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: flex; justify-content: space-between;
}

.hero-meta {
  margin-top: clamp(48px, 8vw, 80px);
  padding-top: 36px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}
.hero-meta .stat-n {
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1;
  color: var(--olive);
  display: block;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.hero-meta .stat-l {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-portrait { max-width: 420px; }
  .hero-meta { grid-template-columns: repeat(2, 1fr); }
}

/* ── practice cards ─────────────────────────────────────────── */

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (max-width: 1180px) {
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
}
.practice-card {
  background: var(--paper);
  padding: 36px 28px 32px;
  display: flex; flex-direction: column;
  min-height: 380px;
  position: relative;
  transition: background .3s;
  cursor: default;
}
.practice-card:hover { background: var(--paper-2); }
.practice-card .pc-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  margin-bottom: 64px;
}
.practice-card h3 {
  margin-bottom: 16px;
  transition: color .2s;
}
.practice-card:hover h3 { color: var(--olive); }
.practice-card p {
  color: var(--ink-2);
  margin-bottom: 28px;
  font-size: 15.5px;
}
.practice-card .pc-bullets {
  list-style: none; padding: 0; margin: 0 0 32px;
  display: flex; flex-direction: column; gap: 6px;
  font-size: 14px;
  color: var(--ink-2);
}
.practice-card .pc-bullets li {
  display: flex; align-items: center; gap: 10px;
}
.practice-card .pc-bullets li::before {
  content: "";
  width: 16px; height: 1px;
  background: var(--clay);
  flex: none;
}
.practice-card .pc-foot { margin-top: auto; }
.practice-card .pc-glyph {
  position: absolute;
  top: 32px; right: 28px;
  width: 38px; height: 38px;
  color: var(--clay);
  opacity: .8;
}

.practice-card--cta {
  background: var(--olive);
  color: var(--paper);
}
.practice-card--cta:hover { background: var(--olive); }
.practice-card--cta h3 { color: var(--paper); }
.practice-card--cta .pc-glyph--cta {
  color: var(--clay-soft);
  opacity: .9;
}
.practice-card--cta .pc-num { color: rgba(244,237,225,0.5); }
.practice-card-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244,237,225,0.75);
  transition: color .2s, gap .2s;
}
.practice-card-call:hover { color: var(--paper); gap: 12px; }
.practice-card-call .arrow { width: 11px; height: 11px; }
@media (max-width: 880px) {
  .practice-grid { grid-template-columns: 1fr; }
}

/* ── values ─────────────────────────────────────────────────── */

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}
.value h4 {
  font-family: var(--serif);
  font-style: italic;
  margin-bottom: 14px;
  font-size: 26px;
}
.value p { color: var(--ink-2); }
.value .value-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--clay);
  margin-bottom: 18px;
  display: block;
}
@media (max-width: 880px) {
  .values-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ── testimonial ────────────────────────────────────────────── */

.quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.18;
  text-wrap: balance;
  letter-spacing: -0.01em;
}
.quote-cite {
  margin-top: 32px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  display: flex; align-items: center; gap: 12px;
}
.quote-cite::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--clay);
}

/* ── attorney teaser ────────────────────────────────────────── */

.attorney-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.attorney-photo {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper-2);
}
.attorney-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
}
@media (max-width: 880px) {
  .attorney-grid { grid-template-columns: 1fr; }
  .attorney-photo { max-width: 380px; }
}

/* ── footer CTA ─────────────────────────────────────────────── */

.footcta {
  position: relative;
  overflow: hidden;
}
.footcta-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: end;
}
.footcta h2 { color: var(--paper); }
.footcta h2 em { font-style: italic; color: var(--clay-soft); }
.footcta-info {
  display: flex; flex-direction: column; gap: 18px;
}
.footcta-info .row {
  display: flex; flex-direction: column; gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(244,237,225,0.18);
}
.footcta-info .row .l {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244,237,225,0.55);
}
.footcta-info .row .v {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--paper);
}
@media (max-width: 880px) {
  .footcta-inner { grid-template-columns: 1fr; }
}

/* ── site footer ────────────────────────────────────────────── */

.sitefoot {
  background: var(--ink);
  color: rgba(244,237,225,0.72);
  padding: 64px 0 32px;
  font-size: 14px;
}
.sitefoot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.sitefoot h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244,237,225,0.5);
  margin: 0 0 16px;
  font-weight: 500;
}
.sitefoot .brand-name { color: var(--paper); }
.sitefoot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.sitefoot a:hover { color: var(--paper); }
.sitefoot-bot {
  padding-top: 24px;
  border-top: 1px solid rgba(244,237,225,0.12);
  display: flex; justify-content: space-between;
  font-size: 12px;
  color: rgba(244,237,225,0.45);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}
@media (max-width: 880px) {
  .sitefoot-grid { grid-template-columns: 1fr 1fr; }
}

/* ── reveal animation ───────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s ease-out, transform .9s ease-out;
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ── page header (non-home) ─────────────────────────────────── */

.pagehead {
  padding: clamp(80px, 10vw, 140px) 0 clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
}
.pagehead .pagehead-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: end;
}
.pagehead h1 { font-size: clamp(48px, 6vw, 84px); }
.pagehead .pagehead-meta {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  color: var(--ink-2);
}
.crumbs {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 28px;
  display: flex; gap: 10px;
}
.crumbs span { color: var(--clay); }
@media (max-width: 880px) {
  .pagehead .pagehead-grid { grid-template-columns: 1fr; }
}

/* ── about page ─────────────────────────────────────────────── */

.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.bio-sidecard {
  position: sticky;
  top: 100px;
}
.bio-photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper-2);
  margin-bottom: 28px;
}
.bio-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}
.bio-info {
  display: flex; flex-direction: column; gap: 14px;
  padding: 24px;
  background: var(--paper-2);
  border-radius: var(--radius);
}
.bio-info .row {
  display: flex; flex-direction: column; gap: 2px;
}
.bio-info .l {
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
}
.bio-info .v { font-size: 15px; color: var(--ink); }

.bio-prose p {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-2);
  margin-bottom: 24px;
  max-width: 56ch;
}
.bio-prose p:first-of-type::first-letter {
  font-family: var(--serif);
  float: left;
  font-size: 72px;
  line-height: 0.85;
  padding: 6px 12px 0 0;
  color: var(--olive);
  font-style: italic;
}

.bio-section h3 {
  margin: 56px 0 20px;
  font-style: italic;
  color: var(--olive);
}
.bio-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column;
}
.bio-list li {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  font-size: 15px;
}
.bio-list li:last-child { border-bottom: 1px solid var(--line); }
.bio-list .role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
  padding-top: 2px;
}

@media (max-width: 880px) {
  .bio-grid { grid-template-columns: 1fr; }
  .bio-photo { max-width: 360px; }
  .bio-sidecard { position: static; }
}

/* ── practices page ─────────────────────────────────────────── */

.practice-sect {
  padding: clamp(64px, 8vw, 120px) 0;
  border-top: 1px solid var(--line);
}
.practice-sect:first-of-type { border-top: 0; }
.practice-sect-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.practice-sect h2 {
  font-style: italic;
  color: var(--olive);
}
.practice-sect h2 em { font-style: normal; color: var(--ink); }
.practice-sect .lede { margin: 24px 0 32px; max-width: 28ch; }

.service-list {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.service-list li {
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: baseline; gap: 14px;
}
.service-list li:nth-child(odd) { padding-right: 24px; }
.service-list li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
.service-list .sv-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--clay);
  letter-spacing: 0.1em;
  flex: none;
}
.service-list .sv-t {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.service-list .sv-d {
  display: block;
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-top: 4px;
}

.practice-side {
  position: sticky;
  top: 100px;
}
.practice-jumpnav {
  display: flex; flex-direction: column; gap: 2px;
  margin-bottom: 32px;
}
.practice-jumpnav a {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--serif);
  font-size: 20px;
  transition: color .2s, padding-left .25s;
}
.practice-jumpnav a:last-child { border-bottom: 1px solid var(--line); }
.practice-jumpnav a:hover { color: var(--olive); padding-left: 10px; }
.practice-jumpnav a .num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.1em;
}
.practice-jumpnav a.is-active { color: var(--olive); padding-left: 10px; }
.practice-jumpnav a.is-active .num { color: var(--clay); }

@media (max-width: 880px) {
  .practice-sect-grid { grid-template-columns: 1fr; }
  .practice-side { position: static; }
  .service-list { grid-template-columns: 1fr; }
  .service-list li:nth-child(even) { padding-left: 4px; border-left: 0; }
  .service-list li:nth-child(odd) { padding-right: 4px; }
}

/* ── contact page ───────────────────────────────────────────── */

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact-form {
  display: flex; flex-direction: column; gap: 18px;
}
.field {
  display: flex; flex-direction: column; gap: 6px;
}
.field label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
}
.field input, .field textarea, .field select {
  font-family: var(--sans);
  font-size: 15px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius-sm);
  color: var(--ink);
  transition: border-color .2s, background .2s;
  resize: vertical;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 0;
  border-color: var(--olive);
  background: #fff;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.contact-info {
  background: var(--paper-2);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex; flex-direction: column; gap: 24px;
}
.contact-info .row {
  display: flex; flex-direction: column; gap: 4px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.contact-info .row:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-info .row .l {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.contact-info .row .v {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
  line-height: 1.3;
}
.contact-info .row.sm .v { font-size: 17px; line-height: 1.4; }

.contact-map {
  margin-top: 24px;
  aspect-ratio: 5 / 3;
  border-radius: var(--radius);
  background: var(--olive);
  position: relative;
  overflow: hidden;
  display: block;
  cursor: pointer;
  box-shadow: 0 2px 12px -8px rgba(28,26,22,0.3);
  transition: transform .25s ease, box-shadow .25s ease;
}
.contact-map:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px -10px rgba(28,26,22,0.35);
}
.contact-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(.92) contrast(.96);
}
.contact-map-overlay {
  position: absolute;
  bottom: 14px; right: 14px;
  pointer-events: none;
  z-index: 2;
}
.contact-map-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  box-shadow: 0 4px 16px -4px rgba(0,0,0,0.3);
}
.contact-map svg { width: auto; height: auto; }

/* address link styling */
.address-link {
  color: inherit;
  display: inline-block;
  border-bottom: 1px solid transparent;
  transition: border-color .2s, color .2s;
}
.address-link:hover {
  border-bottom-color: var(--clay);
  color: var(--olive);
}
.dir-cue {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity .2s, transform .2s;
}
.address-link:hover .dir-cue,
.contact-info .address-link .dir-cue { opacity: 1; transform: none; }
.contact-info .address-link .dir-cue { display: flex; }
.sitefoot .address-link:hover { color: var(--paper); }

@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

/* ── testimonials page ──────────────────────────────────────── */

.testimonial-featured {
  max-width: 56ch;
  margin: 0 auto;
  text-align: center;
  padding: 0 0 clamp(56px, 7vw, 88px);
}
.testimonial-featured .eyebrow { justify-content: center; margin-bottom: 28px; }
.testimonial-featured .quote { margin-top: 12px; }
.testimonial-featured .quote-cite { justify-content: center; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}
.testimonial-card {
  background: var(--paper-2);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 240px;
}
.testimonial-stars {
  display: inline-flex;
  gap: 3px;
  color: var(--clay);
  font-size: 16px;
  letter-spacing: 1px;
  line-height: 1;
}
.testimonial-card .testimonial-text {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-2);
  font-style: italic;
  margin: 0;
}
.testimonial-card cite {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  font-style: normal;
  margin-top: auto;
}
.testimonial-card--cta {
  background: var(--olive);
  color: var(--paper);
}
.testimonial-card--cta .testimonial-text { color: var(--paper); }
.testimonial-card--cta cite { color: rgba(244, 237, 225, 0.55); }
.testimonial-card--cta .eyebrow { color: rgba(244, 237, 225, 0.72); }
.testimonial-card--cta .eyebrow::before { background: var(--clay-soft); }

.testimonials-cta {
  margin-top: clamp(56px, 7vw, 88px);
  padding: clamp(48px, 6vw, 72px) clamp(28px, 4vw, 48px);
  background: var(--paper-2);
  border-radius: var(--radius-lg);
  text-align: center;
}
.testimonials-cta h3 {
  font-style: italic;
  color: var(--olive);
  margin-bottom: 18px;
}
.testimonials-cta p {
  color: var(--ink-2);
  max-width: 48ch;
  margin: 0 auto 28px;
  font-size: 16px;
}
@media (max-width: 880px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* ── arrows / icons ─────────────────────────────────────────── */
.arrow-tr { display: inline-block; }
