/* ═══════════════════════════════════════════════════════════════════
   Domestic Violence Attorney San Diego — "Ink & Brass"
   Single stylesheet · tokens → base → layout → components
   Mobile switch: 768px · zero overrides · no inline styles
   ═══════════════════════════════════════════════════════════════════ */

/* ── Tokens ─────────────────────────────────────────────────────── */
:root {
  --ink-950: #080d17;
  --ink-900: #0d1524;
  --ink-800: #142038;
  --ink-700: #1d2e4d;
  --paper: #fbf8f2;
  --parchment: #f3ede0;
  --line: #e2d9c8;
  --line-dark: rgba(255, 255, 255, 0.12);
  --brass-300: #e3c58b;
  --brass-400: #d3ae6c;
  --brass-500: #c29a52;
  --brass-700: #7d5f25;
  --text: #19243a;
  --muted: #4b586b;
  --on-ink: #ece7da;
  --on-ink-muted: #b8c0cd;

  --font-display: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);
  --radius: 4px;
  --radius-lg: 14px;
  --shadow-soft: 0 1px 2px rgba(13, 21, 36, 0.06), 0 12px 32px -12px rgba(13, 21, 36, 0.18);
  --shadow-lift: 0 2px 4px rgba(13, 21, 36, 0.08), 0 24px 48px -16px rgba(13, 21, 36, 0.35);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --nav-h: 72px;
  --z-nav: 50;
  --z-callbar: 60;
}

/* ── Base ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--nav-h, 80px) + 1rem); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, picture, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--brass-500); text-underline-offset: 0.2em; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 450; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 0.6em; color: inherit; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--brass-500); outline-offset: 3px; border-radius: 2px; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: 0.75rem 1rem; background: var(--brass-400); color: var(--ink-950); font-weight: 700; }
.skip-link:focus { top: 1rem; }
.u-visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ── Buttons & links ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 48px; padding: 0.85rem 1.6rem;
  font-family: var(--font-body); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.01em; line-height: 1.2;
  text-decoration: none; border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: transform 0.25s var(--ease), background-color 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s;
}
.btn--lg { min-height: 56px; padding: 1rem 1.9rem; font-size: 1.02rem; }
.btn--block { display: flex; width: 100%; }
.btn--brass { background: var(--brass-400); color: var(--ink-950); box-shadow: 0 8px 24px -10px rgba(211, 174, 108, 0.65); }
.btn--brass:hover { background: var(--brass-300); transform: translateY(-2px); }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.38); background: transparent; }
.btn--ghost:hover { border-color: var(--brass-400); color: var(--brass-300); }
.btn--ghost-dark { color: var(--ink-900); border-color: var(--ink-900); background: transparent; }
.btn--ghost-dark:hover { background: var(--ink-900); color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; text-decoration: none; color: var(--ink-900); border-bottom: 1px solid var(--brass-500); padding-bottom: 0.2rem; transition: gap 0.25s var(--ease), color 0.25s; }
.link-arrow:hover { gap: 0.85rem; color: var(--brass-700); }
.section--ink .link-arrow { color: var(--on-ink); }

/* ── Type helpers ──────────────────────────────────────────────── */
.eyebrow { display: inline-flex; align-items: center; gap: 0.75rem; margin: 0 0 1.1rem; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass-700); }
.eyebrow::before { content: ''; width: 2rem; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--brass-400); }
.section { padding-block: var(--section-y); }
.section--ink { background: var(--ink-900); color: var(--on-ink); }
.section--paper { background: var(--parchment); }
.section__head { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section__head--split { max-width: none; display: flex; flex-direction: column; gap: 1.5rem; }
.section__title { font-size: clamp(2rem, 4.4vw, 3.4rem); letter-spacing: -0.025em; margin-bottom: 0; }
.section__title--xl { font-size: clamp(2.3rem, 5vw, 4rem); }
.section__title--light { color: #fff; }
.section__title em, .page-hero__title em, .hero__title em, .cta__title em { color: var(--brass-700); font-weight: 400; }
.section__title--light em, .hero__title em, .cta__title em, .section--ink .section__title em { color: var(--brass-400); }
.section__sub { max-width: 28rem; color: var(--muted); margin: 0; }
.section__sub--light { color: var(--on-ink-muted); }

/* ── Top bar + navigation ──────────────────────────────────────── */
.topbar { display: none; background: var(--ink-950); color: var(--on-ink-muted); font-size: 0.82rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; }
.topbar__note, .topbar__phone { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0; }
.topbar .icon { width: 0.95em; height: 0.95em; color: var(--brass-400); }
.topbar__phone { color: var(--on-ink); font-weight: 700; text-decoration: none; letter-spacing: 0.02em; }
.topbar__phone:hover { color: var(--brass-300); }

.nav { position: sticky; top: 0; z-index: var(--z-nav); background: var(--ink-900); border-bottom: 1px solid var(--line-dark); transition: box-shadow 0.3s; }
.nav--scrolled { box-shadow: 0 10px 30px -14px rgba(0, 0, 0, 0.6); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; color: #fff; text-decoration: none; }
.emblem { width: 2.4rem; height: 2.4rem; color: var(--brass-400); flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-body); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-ink-muted); }
.brand__city { font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; letter-spacing: -0.01em; color: #fff; }

.nav__toggle { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-width: 44px; min-height: 44px; padding: 0.75rem; background: none; border: 1px solid var(--line-dark); border-radius: var(--radius); cursor: pointer; }
.nav__toggle-line { width: 22px; height: 2px; background: #fff; transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav--open .nav__toggle-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav--open .nav__toggle-line:nth-child(2) { opacity: 0; }
.nav--open .nav__toggle-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile drawer */
.nav__panel { display: none; }
.nav--open .nav__panel {
  display: block; position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--ink-900); overflow-y: auto; overflow-x: hidden; max-width: 100vw; padding: 0.5rem 0 7rem;
}
.nav__menu { display: flex; flex-direction: column; align-items: stretch; }
.nav__item { border-bottom: 1px solid var(--line-dark); }
.nav__link { display: flex; align-items: center; min-height: 56px; padding: 1rem var(--gutter); font-size: 1.05rem; font-weight: 600; color: var(--on-ink); text-decoration: none; width: 100%; }
.nav__link--active, .nav__link:hover { color: var(--brass-300); background: rgba(255, 255, 255, 0.04); }
.nav__sub { padding: 0 0 0.75rem; }
.nav__sublink { display: block; min-height: 44px; padding: 0.65rem var(--gutter) 0.65rem calc(var(--gutter) + 1rem); color: var(--on-ink-muted); text-decoration: none; font-size: 0.95rem; }
.nav__sublink:hover, .nav__sublink.is-active { color: var(--brass-300); }
.nav__item--cta { border-bottom: 0; padding: 1.25rem var(--gutter); }
.nav__cta { width: 100%; }

@media (min-width: 768px) {
  .topbar { display: block; }
  .nav__toggle { display: none; }
  .nav__panel, .nav--open .nav__panel { display: block; position: static; padding: 0; overflow: visible; background: none; max-width: none; }
  .nav__menu { flex-direction: row; align-items: center; gap: clamp(0.5rem, 1.4vw, 1.5rem); }
  .nav__item { position: relative; border: 0; }
  .nav__link { min-height: var(--nav-h); padding: 0 0.15rem; font-size: 0.9rem; width: auto; position: relative; background: none; }
  .nav__link:hover { background: none; }
  .nav__link::after { content: ''; position: absolute; left: 0.15rem; right: 0.15rem; bottom: 1.35rem; height: 1px; background: var(--brass-400); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
  .nav__link:hover::after, .nav__link--active::after { transform: scaleX(1); }
  .nav__item--cta { padding: 0; }
  .nav__cta { width: auto; min-height: 44px; padding: 0.6rem 1.15rem; font-size: 0.88rem; }
  .nav__link, .nav__cta, .brand__city { white-space: nowrap; }
  .nav__sub {
    position: absolute; left: -1rem; top: 100%; min-width: 20.5rem; padding: 0.6rem 0;
    background: var(--ink-800); border: 1px solid var(--line-dark); border-top: 2px solid var(--brass-400);
    box-shadow: var(--shadow-lift); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0.2s;
  }
  .nav__item--sub:hover .nav__sub, .nav__item--sub:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
  .nav__sublink { padding: 0.55rem 1.25rem; min-height: 0; white-space: nowrap; }
}

@media (min-width: 768px) and (max-width: 1099px) {
  .brand__name { display: none; }
  .nav__inner { gap: 0.75rem; }
  .nav__menu { gap: 0.7rem; }
  .nav__link { font-size: 0.82rem; }
  .nav__cta { padding: 0.55rem 0.8rem; font-size: 0.82rem; }
}
@media (min-width: 768px) and (max-width: 899px) {
  .nav__menu { gap: 0.5rem; }
  .nav__link { font-size: 0.78rem; }
  .nav__cta .icon { display: none; }
  .emblem { width: 2rem; height: 2rem; }
  .brand__city { font-size: 1.25rem; }
}

/* ── Hero ──────────────────────────────────────────────────────── */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink-900); color: var(--on-ink); padding-block: clamp(3rem, 7vw, 6.5rem) clamp(4rem, 8vw, 7rem); }
.hero__bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(60% 70% at 85% 20%, rgba(211, 174, 108, 0.22), transparent 62%),
  radial-gradient(70% 80% at 0% 100%, rgba(40, 70, 130, 0.5), transparent 60%),
  linear-gradient(180deg, var(--ink-900), var(--ink-950)); }
.hero__bg::before { content: ''; position: absolute; right: -12%; top: 50%; width: min(70vw, 780px); aspect-ratio: 1; transform: translateY(-50%); border-radius: 50%;
  background: repeating-radial-gradient(circle at 50% 50%, transparent 0 34px, rgba(211, 174, 108, 0.09) 34px 35px);
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%); mask-image: radial-gradient(circle, #000 30%, transparent 70%); }
.hero__grid { display: grid; gap: 3rem; align-items: center; }
.hero__badge { display: inline-flex; align-items: baseline; gap: 0.6rem; margin: 0 0 1.5rem; padding: 0.45rem 1rem; border: 1px solid rgba(211, 174, 108, 0.45); border-radius: 999px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brass-300); }
.hero__badge-num { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: 0; color: #fff; }
.hero__title { font-size: clamp(2.7rem, 7.2vw, 5.6rem); line-height: 1; letter-spacing: -0.035em; font-weight: 400; color: #fff; margin-bottom: 1.5rem; }
.hero__title em { display: block; }
.hero__lead { max-width: 36rem; font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--on-ink-muted); margin-bottom: 2.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.4rem; }
.hero__assure { display: flex; flex-wrap: wrap; gap: 0.75rem 1.75rem; font-size: 0.9rem; color: var(--on-ink-muted); }
.hero__assure li { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero__assure .icon { color: var(--brass-400); }
.hero__figure { position: relative; margin: 0 auto; width: min(78%, 420px); padding-bottom: 1.5rem; }
.hero__figure::before { content: ''; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid rgba(211, 174, 108, 0.55); border-radius: 999px 999px 0 0; }
.arch { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 999px 999px 0 0; background: var(--ink-700); box-shadow: var(--shadow-lift); }
.arch__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero__caption { position: absolute; left: -1.25rem; bottom: 0; display: flex; flex-direction: column; padding: 0.9rem 1.25rem; background: var(--paper); color: var(--ink-900); border-left: 3px solid var(--brass-500); box-shadow: var(--shadow-soft); }
.hero__caption-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; }
.hero__caption-role { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass-700); }
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.25fr 0.75fr; gap: 4rem; }
  .hero__figure { width: 100%; max-width: 440px; margin-right: 0; }
}

/* ── Credentials strip ─────────────────────────────────────────── */
.creds { background: var(--parchment); border-block: 1px solid var(--line); padding-block: 1.75rem; }
.creds__inner { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; text-align: center; }
.creds__label { margin: 0; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass-700); line-height: 1.5; }
.badges { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.25rem 2.5rem; }
.badges__item img { width: auto; max-height: 64px; mix-blend-mode: multiply; filter: grayscale(1); opacity: 0.8; transition: filter 0.3s, opacity 0.3s; }
.badges__item:hover img { filter: none; opacity: 1; }
.badges--side { justify-content: flex-start; gap: 1rem 1.5rem; }
.badges--side .badges__item img { max-height: 48px; width: auto; }
@media (min-width: 768px) {
  .creds__inner { flex-direction: row; justify-content: space-between; text-align: left; gap: 3rem; }
  .creds__label { flex-shrink: 0; padding-right: 2rem; border-right: 1px solid var(--line); }
}

/* ── Intro + stats ─────────────────────────────────────────────── */
.intro__grid { display: grid; gap: 3.5rem; align-items: center; }
.intro__text { max-width: 36rem; font-size: 1.15rem; color: var(--muted); margin: 1.5rem 0 2rem; }
.stats { display: grid; gap: 0; border-top: 1px solid var(--line); }
.stats__item { display: flex; flex-direction: column-reverse; padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.stats__num { margin: 0; font-family: var(--font-display); font-size: clamp(3.4rem, 8vw, 5.5rem); line-height: 1; font-weight: 350; letter-spacing: -0.04em; color: var(--ink-900); }
.stats__num span { color: var(--brass-500); }
.stats__label { max-width: 20rem; font-size: 0.92rem; font-weight: 600; color: var(--muted); margin-top: 0.4rem; }
@media (min-width: 960px) { .intro__grid { grid-template-columns: 1.1fr 0.9fr; gap: 6rem; } }

/* ── Practice areas ────────────────────────────────────────────── */
.section--ink.areas { background: radial-gradient(70% 60% at 100% 0%, rgba(211, 174, 108, 0.1), transparent 60%), var(--ink-900); }
.areas__grid { display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.area { background: var(--ink-900); }
.area__link { position: relative; display: flex; flex-direction: column; height: 100%; padding: 2rem 1.75rem 1.75rem; color: var(--on-ink); text-decoration: none; overflow: hidden; transition: background-color 0.35s; }
.area__link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--brass-400); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease); }
.area__link:hover, .area__link:focus-visible { background: var(--ink-800); }
.area__link:hover::after, .area__link:focus-visible::after { transform: scaleX(1); }
.area__num { position: absolute; top: 0.9rem; right: 1.25rem; font-family: var(--font-display); font-size: 3.6rem; line-height: 1; font-weight: 300; color: transparent; -webkit-text-stroke: 1px rgba(211, 174, 108, 0.35); }
.area__icon { display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 1.5rem; border: 1px solid rgba(211, 174, 108, 0.5); border-radius: 50% 50% 0 0; color: var(--brass-400); }
.area__icon .icon { width: 1.4rem; height: 1.4rem; }
.area__title { font-size: 1.4rem; letter-spacing: -0.015em; color: #fff; margin-bottom: 0.7rem; }
.area__blurb { flex: 1; font-size: 0.95rem; line-height: 1.6; color: var(--on-ink-muted); margin-bottom: 1.4rem; }
.area__more { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brass-400); }
.area__link:hover .area__more { gap: 0.9rem; }
@media (min-width: 768px) { .areas__grid { grid-template-columns: repeat(2, 1fr); } .section__head--split { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
@media (min-width: 1100px) { .areas__grid { grid-template-columns: repeat(4, 1fr); } }

/* ── Guide (home long-form) ────────────────────────────────────── */
.guide__grid { display: grid; gap: 2.5rem; }
.guide__note { color: var(--muted); max-width: 22rem; margin-top: 1.25rem; }
.guide__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.guide__free { margin: 0.9rem 0 0; font-size: 0.9rem; font-weight: 600; color: var(--brass-700); }
@media (min-width: 1000px) {
  .guide__grid { grid-template-columns: 0.8fr 1.4fr; gap: 5rem; align-items: start; }
  .guide__side { position: sticky; top: calc(var(--nav-h) + 2rem); }
}

/* ── Attorneys ─────────────────────────────────────────────────── */
.team__grid { display: grid; gap: 2.5rem; }
.attorney { display: flex; flex-direction: column; gap: 1.75rem; }
.attorney__photo { width: min(100%, 320px); aspect-ratio: 6 / 7; overflow: hidden; border-radius: 999px 999px 0 0; background: var(--ink-800); box-shadow: var(--shadow-soft); }
.attorney__body { flex: 1; min-width: 0; }
.team__grid--solo { max-width: 56rem; }
@media (min-width: 768px) { .team__grid.team__grid--solo { grid-template-columns: minmax(0, 1fr); } .team__grid--solo .attorney { flex-direction: row; align-items: center; gap: 3rem; } .team__grid--solo .attorney__photo { flex: 0 0 300px; width: 300px; } }
.attorney__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.attorney__name { font-size: 1.9rem; margin-bottom: 0.3rem; }
.attorney__role { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-700); margin-bottom: 1rem; }
.attorney__bio { color: var(--muted); margin-bottom: 1.25rem; max-width: 30rem; }
@media (min-width: 768px) { .team__grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; } .attorney { flex-direction: row; align-items: flex-end; } .attorney__photo { flex: 0 0 44%; width: 44%; } }
@media (min-width: 1000px) { .attorney { flex-direction: column; align-items: flex-start; } .attorney__photo { flex: none; width: min(100%, 300px); } .team__grid { gap: 5rem; } .attorney--lead { grid-column: auto; } }

/* ── Results + quotes ──────────────────────────────────────────── */
.results__grid { display: grid; gap: 3rem; align-items: start; }
.results__lead .section__title { margin-bottom: 2rem; }
.results__quotes { display: grid; gap: 1.25rem; }
.quote { position: relative; padding: 2rem 1.75rem; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); }
.quote__mark { display: block; margin-bottom: 1rem; color: var(--brass-400); }
.quote__mark .icon { width: 2rem; height: 2rem; }
.quote__text { margin: 0 0 1.25rem; font-family: var(--font-display); font-size: 1.2rem; line-height: 1.5; font-style: italic; color: #fff; }
.quote__by { margin: 0; font-size: 0.88rem; color: var(--on-ink-muted); }
.quote__by strong { color: var(--brass-300); }
@media (min-width: 1000px) { .results__grid { grid-template-columns: 0.9fr 1.1fr; gap: 5rem; } }

/* ── Cities ────────────────────────────────────────────────────── */
.cities { background: var(--paper); }
.cities__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.cities__link { display: flex; align-items: center; gap: 0.6rem; min-height: 56px; padding: 0.75rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s; }
.cities__link .icon { color: var(--brass-500); }
.cities__link:hover { border-color: var(--brass-500); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
@media (min-width: 768px) { .cities__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .cities__grid { grid-template-columns: repeat(5, 1fr); } }

/* ── Cards (blog) ──────────────────────────────────────────────── */
.cards { display: grid; gap: 1.75rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.card__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-800); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__ph { display: grid; place-items: center; width: 100%; height: 100%; color: var(--brass-400); }
.card__ph .emblem { width: 4rem; height: 4rem; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem 1.5rem 1.75rem; }
.card__date { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass-700); margin-bottom: 0.6rem; }
.card__title { font-size: 1.3rem; line-height: 1.2; margin-bottom: 0.7rem; }
.card__excerpt { flex: 1; font-size: 0.95rem; color: var(--muted); }
.card__more { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; font-weight: 700; color: var(--ink-900); }
@media (min-width: 768px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }

/* ── Areas served page ─────────────────────────────────────────── */
.office-cards { display: grid; gap: 1.5rem; }
.office-card { position: relative; padding: 2rem 1.75rem; background: linear-gradient(160deg, var(--ink-800), var(--ink-950)); color: var(--on-ink); border: 1px solid var(--ink-700); border-top: 3px solid var(--brass-400); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.office-card__icon { display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 1.25rem; border: 1px solid rgba(211, 174, 108, 0.5); border-radius: 50% 50% 0 0; color: var(--brass-400); }
.office-card__icon .icon { width: 1.35rem; height: 1.35rem; }
.office-card__name { font-size: 1.6rem; color: #fff; margin-bottom: 0.5rem; }
.office-card__addr { font-style: normal; color: var(--on-ink-muted); margin-bottom: 1.5rem; line-height: 1.6; }
.areas-intro.prose { max-width: 40rem; margin-top: 1.25rem; color: var(--muted); }
.areas-intro.prose p, .areas-intro.prose p:first-of-type { font-size: 1.05rem; line-height: 1.7; color: var(--muted); margin: 0; }
.region { margin-top: clamp(2rem, 4vw, 3rem); }
.region__title { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; font-family: var(--font-body); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass-700); }
.region__title::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.city-cards { display: grid; gap: 1rem; }
.city-card__link { position: relative; display: flex; align-items: center; gap: 1rem; min-height: 88px; padding: 1.25rem 1.25rem 1.25rem 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; overflow: hidden; transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.25s; }
.city-card__link::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--brass-400); transform: scaleY(0); transform-origin: top; transition: transform 0.4s var(--ease); }
.city-card__link:hover, .city-card__link:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--brass-400); }
.city-card__link:hover::before, .city-card__link:focus-visible::before { transform: scaleY(1); }
.city-card__icon { display: grid; place-items: center; flex-shrink: 0; width: 2.75rem; height: 2.75rem; border: 1px solid var(--line); border-radius: 50% 50% 0 0; background: var(--parchment); color: var(--brass-700); transition: background-color 0.3s, color 0.3s; }
.city-card__link:hover .city-card__icon { background: var(--ink-900); color: var(--brass-400); }
.city-card__body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.city-card__name { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.2; color: var(--ink-900); }
.city-card__sub { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; color: var(--muted); }
.city-card__arrow { color: var(--brass-700); transition: transform 0.3s var(--ease); }
.city-card__link:hover .city-card__arrow { transform: translateX(4px); }
@media (min-width: 768px) { .office-cards { grid-template-columns: repeat(2, 1fr); gap: 2rem; } .city-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .city-cards { grid-template-columns: repeat(3, 1fr); } }

/* ── CTA band ──────────────────────────────────────────────────── */
.cta { position: relative; overflow: hidden; background: radial-gradient(60% 120% at 100% 100%, rgba(211, 174, 108, 0.25), transparent 60%), linear-gradient(135deg, var(--ink-800), var(--ink-950)); color: var(--on-ink); padding-block: clamp(4rem, 8vw, 6.5rem); border-top: 2px solid var(--brass-500); }
.cta__inner { display: grid; gap: 2.5rem; align-items: center; }
.cta__title { font-size: clamp(2.2rem, 5vw, 3.8rem); color: #fff; margin-bottom: 1rem; }
.cta__text { max-width: 34rem; color: var(--on-ink-muted); margin: 0; }
.cta__actions { display: flex; flex-direction: column; gap: 0.9rem; }
.cta__alt { text-align: center; font-size: 0.92rem; color: var(--on-ink-muted); }
.cta__alt:hover { color: var(--brass-300); }
@media (min-width: 900px) { .cta__inner { grid-template-columns: 1.3fr 0.7fr; gap: 4rem; } }

/* ── Inner page hero ───────────────────────────────────────────── */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink-900); color: #fff; padding-block: clamp(2.75rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem); }
.page-hero__bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(50% 90% at 92% 0%, rgba(211, 174, 108, 0.2), transparent 65%),
  linear-gradient(180deg, var(--ink-900), var(--ink-950)); }
.page-hero__bg::before { content: ''; position: absolute; right: -8%; top: -30%; width: 520px; aspect-ratio: 1; border-radius: 50%;
  background: repeating-radial-gradient(circle at 50% 50%, transparent 0 30px, rgba(211, 174, 108, 0.08) 30px 31px);
  -webkit-mask-image: radial-gradient(circle, #000 25%, transparent 70%); mask-image: radial-gradient(circle, #000 25%, transparent 70%); }
.page-hero__title { max-width: 22ch; font-size: clamp(2.1rem, 5.2vw, 3.9rem); line-height: 1.05; letter-spacing: -0.03em; font-weight: 400; color: #fff; margin-bottom: 0; text-wrap: balance; }
.page-hero__lead, .page-hero__meta { max-width: 36rem; margin: 1.25rem 0 0; color: var(--on-ink-muted); }
.page-hero__meta { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass-300); }
.crumbs { margin-bottom: 1.75rem; font-size: 0.82rem; color: var(--on-ink-muted); }
.crumbs__list { display: flex; flex-wrap: wrap; gap: 0.4rem 0.6rem; }
.crumbs__list li { display: inline-flex; align-items: center; gap: 0.6rem; max-width: 100%; }
.crumbs__list li + li::before { content: '/'; color: var(--brass-500); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--brass-300); }
.crumbs [aria-current] { color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── Page layout + sidebar ─────────────────────────────────────── */
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; padding-block: clamp(2.5rem, 6vw, 5rem); }
.sidebar { display: grid; gap: 1.5rem; align-content: start; }
.side-card { padding: 1.75rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.side-card--call { background: linear-gradient(160deg, var(--ink-800), var(--ink-950)); border-color: var(--ink-700); color: var(--on-ink); }
.side-card__title { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2; color: #fff; margin-bottom: 1.25rem; }
.side-card__free { margin: 1rem 0 0; text-align: center; font-size: 0.88rem; color: var(--on-ink-muted); }
.side-card__heading { margin: 0 0 1rem; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass-700); }
.side-list a { display: block; padding: 0.55rem 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 0.95rem; font-weight: 600; transition: color 0.2s, padding-left 0.25s var(--ease); }
.side-list li:last-child a { border-bottom: 0; }
.side-list a:hover, .side-list a[aria-current] { color: var(--brass-700); padding-left: 0.4rem; }
@media (min-width: 1024px) {
  .page-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 4.5rem; }
  .sidebar { position: sticky; top: calc(var(--nav-h) + 1.5rem); align-self: start; }
  .page-layout--attorneys, .page-layout--testimonial, .page-layout--see-more-cities, .page-layout--privacy-policy, .page-layout--accessibility, .page-layout--thanks { grid-template-columns: minmax(0, 1fr); }
  .page-layout--attorneys .sidebar, .page-layout--testimonial .sidebar, .page-layout--see-more-cities .sidebar, .page-layout--privacy-policy .sidebar, .page-layout--accessibility .sidebar, .page-layout--thanks .sidebar { display: none; }
}

/* ── Prose (markdown content) ──────────────────────────────────── */
.prose { overflow-wrap: break-word; max-width: 46rem; font-size: 1.075rem; line-height: 1.78; color: #243047; }
.prose > :first-child { margin-top: 0; }
.prose p:first-of-type { font-size: 1.2rem; line-height: 1.7; color: var(--text); }
.prose--guide { max-width: none; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); margin: 2.6em 0 0.7em; padding-top: 1.1em; border-top: 1px solid var(--line); text-wrap: balance; }
.prose > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 1.45rem; margin: 2em 0 0.55em; }
.prose h4 { font-size: 1.15rem; margin: 1.6em 0 0.4em; font-family: var(--font-body); font-weight: 800; letter-spacing: 0; }
.prose a { color: var(--ink-800); font-weight: 600; text-decoration-thickness: 1px; text-decoration-color: var(--brass-500); }
.prose a:hover { color: var(--brass-700); }
.prose ul, .prose ol { margin: 0 0 1.4em; padding-left: 0; }
.prose li { position: relative; padding-left: 1.6rem; margin-bottom: 0.55em; }
.prose ul > li::before { content: ''; position: absolute; left: 0.1rem; top: 0.78em; width: 0.5rem; height: 0.5rem; border: 1px solid var(--brass-500); border-radius: 50% 50% 0 0; background: var(--parchment); }
.prose ol { counter-reset: li; }
.prose ol > li { counter-increment: li; }
.prose ol > li::before { content: counter(li); position: absolute; left: 0; top: 0.05em; font-family: var(--font-display); font-weight: 600; color: var(--brass-700); }
.prose blockquote { margin: 2rem 0; padding: 1.5rem 1.75rem; background: var(--parchment); border-left: 3px solid var(--brass-500); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; font-family: var(--font-display); font-size: 1.25rem; font-style: italic; line-height: 1.55; color: var(--ink-900); }
.prose blockquote p { margin: 0 0 0.8em; font-size: inherit; }
.prose blockquote p:last-child { margin: 0; font-family: var(--font-body); font-size: 0.95rem; font-style: normal; color: var(--muted); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.95rem; }
.prose th, .prose td { padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass-700); }
.prose-img, .prose img { border-radius: var(--radius-lg); }
.prose picture { margin: 1.75rem 0; }
.post-cover { margin: 0 0 2.25rem; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); }
.post-cover img { width: 100%; height: auto; }

/* attorneys page: portrait beside each bio */
.page-layout--attorneys .prose { max-width: 56rem; }
.page-layout--attorneys .prose h2 { clear: both; border-top: 1px solid var(--line); padding-top: 2.5rem; margin-top: 3rem; }
.page-layout--attorneys .prose > h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.page-layout--attorneys .prose p:has(> picture) { float: left; width: min(46%, 260px); margin: 0.4rem 2rem 1rem 0; }
.page-layout--attorneys .prose p:has(> picture) picture { margin: 0; }
.page-layout--attorneys .prose p:has(> picture) img { border-radius: 999px 999px 0 0; aspect-ratio: 6 / 7; object-fit: cover; object-position: 50% 15%; width: 100%; height: auto; }
.page-layout--attorneys .prose p:first-of-type { font-size: inherit; line-height: inherit; color: inherit; }
.page-layout--attorneys .prose::after { content: ''; display: block; clear: both; }

/* testimonials page */
.page-layout--testimonial .prose { max-width: 52rem; }
.page-layout--testimonial .prose blockquote { padding: 2.25rem 2.25rem 2rem; font-size: clamp(1.15rem, 2.2vw, 1.4rem); }

/* offices (contact page + footer) */
.offices { display: grid; gap: 1.25rem; }
.offices__name { font-family: var(--font-body); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-400); margin-bottom: 0.35rem; }
.offices__addr { font-style: normal; font-size: 0.93rem; line-height: 1.55; color: var(--on-ink-muted); }
.offices__tel { display: inline-block; margin-top: 0.3rem; font-weight: 700; color: var(--on-ink); text-decoration: none; }
.offices__tel:hover { color: var(--brass-300); }

.offices-wrap { margin: 2rem 0 0; }
.offices-wrap .offices { grid-template-columns: 1fr; }
.offices-wrap .offices__item { padding: 1.5rem; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--brass-500); border-radius: var(--radius-lg); }
.offices-wrap .offices__name { color: var(--brass-700); }
.offices-wrap .offices__addr { color: var(--muted); }
.offices-wrap .offices__tel { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink-900); }
@media (min-width: 768px) { .offices-wrap .offices { grid-template-columns: 1fr 1fr; } }

/* contact form */
.contact-form { margin-top: 3rem; padding: clamp(1.5rem, 4vw, 2.5rem); background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--brass-500); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.contact-form h2 { margin-top: 0; padding-top: 0; border-top: 0; font-size: 1.8rem; }
.contact-form__note { font-size: 0.95rem; color: var(--muted); }
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; }
.form__field { display: grid; gap: 0.4rem; }
.form__label { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; color: var(--ink-800); }
.form__input { width: 100%; min-height: 50px; padding: 0.8rem 1rem; font: inherit; color: var(--text); background: var(--paper); border: 1px solid #cfc4af; border-radius: var(--radius); transition: border-color 0.2s, box-shadow 0.2s; }
.form__input:focus { outline: none; border-color: var(--brass-500); box-shadow: 0 0 0 3px rgba(194, 154, 82, 0.28); }
.form__input--area { min-height: 140px; resize: vertical; }
.prose .form p.form__consent, .prose .form p.form__legal { margin: 0; font-size: 0.82rem; line-height: 1.55; color: var(--muted); }
.prose .form p.form__consent a, .prose .form p.form__legal a { font-weight: 600; text-decoration: underline; }
.grecaptcha-badge { visibility: hidden; }
.form__status { min-height: 1.5em; margin: 0; font-weight: 600; font-size: 0.95rem; }
.form__status--ok { color: #1d6b43; }
.form__status--err { color: #a3261d; }
@media (min-width: 768px) { .form__row { grid-template-columns: 1fr 1fr; } }

/* ── Footer ────────────────────────────────────────────────────── */
.site-footer { background: var(--ink-950); color: var(--on-ink-muted); padding-top: clamp(3.5rem, 7vw, 5.5rem); }
.footer__grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
.brand--light { margin-bottom: 1.25rem; }
.footer__tagline { max-width: 22rem; font-size: 0.95rem; }
.footer__phone { display: inline-block; font-family: var(--font-display); font-size: 1.7rem; color: #fff; text-decoration: none; }
.footer__phone:hover { color: var(--brass-300); }
.footer__title { margin: 0 0 1rem; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass-400); }
.footer__list li { margin-bottom: 0.5rem; }
.footer__list a { text-decoration: none; font-size: 0.93rem; }
.footer__list a:hover { color: var(--brass-300); }
.footer__legal { border-top: 1px solid var(--line-dark); padding-block: 1.75rem; font-size: 0.8rem; line-height: 1.65; }
.footer__disclaimer { max-width: 62rem; margin-bottom: 1rem; color: #99a3b3; }
.footer__social { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.footer__social a { font-weight: 700; text-decoration: none; color: var(--on-ink); }
.footer__social a:hover { color: var(--brass-300); }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-block: 1.25rem 5.5rem; }
@media (min-width: 768px) { .footer-bottom { padding-bottom: 1.5rem; } }
.footer-bottom__copy { margin: 0; font-size: 0.8rem; color: #99a3b3; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.3fr 1.2fr 0.9fr 1fr; gap: 3rem; } }


/* ── Sticky mobile call bar ────────────────────────────────────── */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-callbar); display: grid; grid-template-columns: 1fr; gap: 0.6rem; padding: 0.65rem 0.75rem calc(0.65rem + env(safe-area-inset-bottom)); background: var(--ink-950); border-top: 1px solid var(--line-dark); box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, 0.5); }
.callbar__call, .callbar__form { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 50px; border-radius: var(--radius); font-weight: 800; font-size: 0.95rem; text-decoration: none; }
.callbar__call { background: var(--brass-400); color: var(--ink-950); }
.callbar__form { border: 1px solid rgba(255, 255, 255, 0.35); color: #fff; }
@media (min-width: 768px) { .callbar { display: none; } }

/* ── 404 ───────────────────────────────────────────────────────── */
.error-404 { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; background: var(--paper); }
.error-404__inner { max-width: 600px; padding-block: 4rem; }
.error-404__code { font-family: var(--font-display); font-size: clamp(6rem, 20vw, 12rem); line-height: 1; font-weight: 300; color: var(--brass-500); margin: 0 0 1rem; letter-spacing: -0.04em; }
.error-404__title { font-size: clamp(1.6rem, 4vw, 2.5rem); margin-bottom: 1rem; }
.error-404__message { color: var(--muted); margin-bottom: 2rem; }
.error-404__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; }

/* ── Motion ────────────────────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms; transition-duration: 0.01ms; scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}
