/* ============================================================
   Tianni Law Firm — Design System
   Brand: black + gold · serif display + sans body
   ============================================================ */

:root {
  /* Brand palette — black & gold */
  --ink-950: #0a0a0c;
  --ink-900: #101014;
  --ink-800: #1a1a20;
  --ink-700: #2b2b33;
  --ink-100: #e9e9ee;

  --gold: #b1976b;
  --gold-600: #9c8356;
  --gold-300: #d6c3a3;
  --gold-100: #efe7d8;
  --gold-50: #f7f2e9;

  --cream: #f7f5f1;
  --paper: #ffffff;

  --ink: #16161a;
  --muted: #5f6066;
  --line: #e6e3dc;

  /* Type */
  --serif: "Playfair Display", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Spacing / shape */
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.05);
  --shadow-md: 0 8px 30px rgba(0,0,0,.12);
  --shadow-lg: 0 24px 60px rgba(0,0,0,.20);

  --maxw: 1200px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-600); text-decoration: none; }
a:hover { color: var(--gold); }
h1, h2, h3, h4, h5 { font-family: var(--serif); color: var(--ink-900); line-height: 1.18; margin: 0 0 .5em; font-weight: 600; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; margin: 0 0 1.1em; }
::selection { background: var(--gold-300); color: var(--ink-900); }

/* ---------- Layout ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--ink-900); color: #d5d5da; }
.section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold-600);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.section--dark .eyebrow { color: var(--gold-300); }

.lead { font-size: 19px; color: var(--muted); max-width: 640px; }
.section--dark .lead { color: #b0b0b8; }

.section-head { max-width: 700px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.01em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: .02em;
  padding: 15px 30px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: all .25s ease; white-space: nowrap; line-height: 1;
}
.btn svg { width: 16px; height: 16px; }
.btn--gold { background: var(--gold); color: #fff; box-shadow: 0 8px 20px rgba(177,151,107,.32); }
.btn--gold:hover { background: var(--gold-600); color: #fff; transform: translateY(-2px); }
.btn--dark { background: var(--ink-900); color: #fff; }
.btn--dark:hover { background: var(--ink-700); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink-900); border-color: var(--ink-900); }
.btn--ghost:hover { background: var(--ink-900); color: #fff; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--ghost-light:hover { background: #fff; color: var(--ink-900); border-color: #fff; }
.btn--lg { padding: 18px 38px; font-size: 15px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink-950); color: #b0b0b8; font-size: 13px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 9px; padding-bottom: 9px; }
.topbar a { color: #b0b0b8; }
.topbar a:hover { color: var(--gold-300); }
.topbar__links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar__links a { display: inline-flex; align-items: center; gap: 7px; }
.topbar__links svg { width: 14px; height: 14px; color: var(--gold); }
.topbar__note { color: #8a8a92; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 92px; gap: 24px; }
.brand { display: flex; align-items: center; }
.brand img { height: 60px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  font-family: var(--sans); font-size: 14.5px; font-weight: 500; color: var(--ink);
  padding: 10px 14px; border-radius: 8px; transition: all .2s ease;
}
.nav a:hover { color: var(--gold-600); background: var(--gold-50); }
.nav a.active { color: var(--gold-600); font-weight: 600; }
.header-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink-900); margin: 5px 0; transition: .25s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--ink-950); color: #fff; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(10, 10, 12, .78);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(720px 420px at 78% -8%, rgba(177,151,107,.22), transparent 62%),
    radial-gradient(520px 380px at 8% 108%, rgba(177,151,107,.08), transparent 60%);
}
.hero .container {
  position: relative; padding-top: 96px; padding-bottom: 104px;
}
.hero__content { position: relative; z-index: 2; max-width: 760px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold-300);
  border: 1px solid rgba(177,151,107,.4); padding: 8px 16px; border-radius: 999px; margin-bottom: 26px;
}
.hero h1 { font-size: clamp(40px, 5.4vw, 66px); color: #fff; letter-spacing: -.015em; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--gold-300); }
.hero__sub { font-size: 18.5px; color: #c2c2c8; max-width: 520px; margin-bottom: 34px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__trust { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.14); }
.hero__trust > div { display: flex; align-items: center; gap: 10px; color: #c8c8ce; font-size: 13.5px; }
.hero__trust svg { width: 18px; height: 18px; color: var(--gold-300); flex: none; }

/* ---------- Stats bar ---------- */
.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 40px 28px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat .num { font-family: var(--serif); font-size: 40px; font-weight: 700; color: var(--ink-900); line-height: 1; }
.stat .num span { color: var(--gold); }
.stat .lbl { margin-top: 10px; font-size: 13.5px; color: var(--muted); letter-spacing: .02em; }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split__media { position: relative; }
.split__media img { border-radius: 18px; box-shadow: var(--shadow-lg); width: 100%; height: 440px; object-fit: cover; }
.split__media::before { content: ""; position: absolute; top: -18px; left: -18px; width: 100%; height: 100%; border: 1px solid var(--gold-300); border-radius: 18px; z-index: -1; }
.split__badge { position: absolute; bottom: -22px; right: 22px; background: var(--ink-900); color: #fff; padding: 18px 24px; border-radius: 14px; box-shadow: var(--shadow-lg); }
.split__badge .num { font-family: var(--serif); font-size: 30px; font-weight: 700; color: var(--gold-300); line-height: 1; }
.split__badge .lbl { font-size: 12.5px; color: #c8c8ce; margin-top: 4px; }
.checklist { list-style: none; padding: 0; margin: 22px 0 28px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; font-size: 15.5px; }
.checklist svg { width: 20px; height: 20px; color: var(--gold-600); flex: none; margin-top: 2px; }

/* ---------- Practice cards ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; transition: all .28s ease; position: relative; overflow: hidden; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card__icon { width: 58px; height: 58px; border-radius: 14px; background: var(--gold-50); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--gold-600); }
.card__icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }
.card__link { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; font-size: 13.5px; font-weight: 600; color: var(--gold-600); }
.card__link svg { width: 15px; height: 15px; transition: transform .2s; }
.card:hover .card__link svg { transform: translateX(4px); }
.card--practice::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--gold); transition: width .3s; }
.card--practice:hover::after { width: 100%; }

/* ---------- Why choose us ---------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.why__item { padding: 40px 32px; border-left: 1px solid var(--line); }
.why__item:first-child { border-left: 0; }
.why__item .n { font-family: var(--serif); font-size: 44px; font-weight: 700; color: var(--gold-100); line-height: 1; margin-bottom: 14px; }
.why__item h3 { font-size: 18.5px; margin-bottom: 10px; }
.why__item p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ---------- Team ---------- */
.person { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .28s ease; }
.person:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.person__head { height: 260px; background: linear-gradient(150deg, var(--ink-800), var(--ink-900)); position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.person__head img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.person__monogram { font-family: var(--serif); font-size: 58px; font-weight: 600; color: var(--gold-300); letter-spacing: .02em; }
.person__body { padding: 24px; }
.person__body h3 { font-size: 19px; margin-bottom: 4px; }
.person__role { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-600); }
.person__area { margin-top: 12px; font-size: 14px; color: var(--muted); padding-top: 12px; border-top: 1px solid var(--line); }

/* ---------- Insights ---------- */
.post { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: all .28s ease; }
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.post__media { height: 200px; overflow: hidden; background: var(--ink-800); }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post:hover .post__media img { transform: scale(1.06); }
.post__body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.post__meta { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
.post__meta .tag { background: var(--gold-50); color: var(--gold-600); font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.post__body h3 { font-size: 20px; line-height: 1.3; margin-bottom: 10px; }
.post__body h3 a { color: var(--ink-900); }
.post__body h3 a:hover { color: var(--gold-600); }
.post__body p { font-size: 14.5px; color: var(--muted); margin-bottom: 16px; flex: 1; }

/* ---------- CTA band ---------- */
.cta { position: relative; background: var(--ink-900); color: #fff; overflow: hidden; }
.cta .container { position: relative; text-align: center; padding: 84px 24px; }
.cta h2 { color: #fff; font-size: clamp(30px, 4vw, 44px); margin-bottom: 16px; }
.cta p { color: #c2c2c8; max-width: 560px; margin: 0 auto 32px; }
.cta .cta__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 50% -10%, rgba(177,151,107,.25), transparent 60%); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-950); color: #b0b0b8; font-size: 14.5px; }
.site-footer .container { padding-top: 72px; padding-bottom: 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 44px; margin-bottom: 48px; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: #8e8e96; max-width: 320px; }
.footer h4 { color: #fff; font-family: var(--sans); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 11px; }
.footer ul a { color: #b0b0b8; }
.footer ul a:hover { color: var(--gold-300); }
.footer__contact li { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 14px; }
.footer__contact svg { width: 17px; height: 17px; color: var(--gold); flex: none; margin-top: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #8a8a92; }

/* ---------- Interior page hero ---------- */
.page-hero { background: var(--ink-900); color: #fff; position: relative; overflow: hidden; }
.page-hero .container { position: relative; padding-top: 72px; padding-bottom: 72px; }
.page-hero h1 { color: #fff; font-size: clamp(34px, 4.6vw, 52px); margin-bottom: 14px; }
.page-hero p { color: #c2c2c8; max-width: 620px; margin: 0; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 340px at 80% -10%, rgba(177,151,107,.22), transparent 60%); }
.breadcrumb { font-size: 13px; color: #8e8e96; margin-bottom: 18px; }
.breadcrumb a { color: var(--gold-300); }

/* ---------- Article ---------- */
.article { max-width: 780px; margin: 0 auto; }
.article__meta { display: flex; gap: 14px; align-items: center; margin-bottom: 26px; font-size: 13.5px; color: var(--muted); flex-wrap: wrap; }
.article__meta .tag { background: var(--gold-50); color: var(--gold-600); font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.prose { font-size: 17px; line-height: 1.85; color: #2a2a30; }
.prose h2 { font-size: 26px; margin: 42px 0 16px; }
.prose h3 { font-size: 21px; margin: 32px 0 12px; }
.prose p { margin-bottom: 20px; }
.prose ul, .prose ol { margin-bottom: 20px; }
.prose li { margin-bottom: 8px; }
.prose blockquote { margin: 28px 0; padding: 20px 26px; border-left: 3px solid var(--gold); background: var(--gold-50); border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; color: #3a3a40; }
.prose table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14.5px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
.prose th { background: var(--ink-900); color: #fff; font-weight: 600; }
.prose tr:nth-child(even) td { background: #fbfaf7; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-info { display: grid; gap: 18px; }
.contact-info__item { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.contact-info__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--gold-50); color: var(--gold-600); display: flex; align-items: center; justify-content: center; flex: none; }
.contact-info__icon svg { width: 22px; height: 22px; }
.contact-info__item h3 { font-size: 16px; margin-bottom: 4px; font-family: var(--sans); }
.contact-info__item p, .contact-info__item a { font-size: 15px; color: var(--muted); margin: 0; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 40px; box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-900); margin-bottom: 7px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; font-family: var(--sans); font-size: 15px; color: var(--ink);
  padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--cream); transition: border .2s, box-shadow .2s;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(177,151,107,.18); background: #fff; }
.form-field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; }
.faq__q { width: 100%; background: none; border: 0; text-align: left; padding: 22px 26px; font-family: var(--sans); font-size: 16.5px; font-weight: 600; color: var(--ink-900); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq__q .icon { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--gold-50); color: var(--gold-600); display: flex; align-items: center; justify-content: center; transition: transform .25s; }
.faq__item.open .faq__q .icon { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq__a-inner { padding: 0 26px 24px; color: var(--muted); font-size: 15.5px; }
.faq__item.open .faq__a { max-height: 600px; }

/* ---------- Awards / timeline ---------- */
.awards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.award { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; gap: 16px; align-items: flex-start; }
.award svg { width: 26px; height: 26px; color: var(--gold-600); flex: none; margin-top: 2px; }
.award h3 { font-size: 16.5px; margin-bottom: 6px; }
.award p { font-size: 13.5px; color: var(--muted); margin: 0; }
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 1px; background: var(--gold-300); }
.timeline__item { position: relative; padding-bottom: 30px; }
.timeline__item::before { content: ""; position: absolute; left: -28px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--gold-50); }
.timeline__item .year { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--gold-600); }
.timeline__item h3 { font-size: 17px; margin: 4px 0 6px; }
.timeline__item p { color: var(--muted); margin: 0; }

/* ---------- Practice detail ---------- */
.practice-layout { display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: start; }
.practice-side { position: sticky; top: 110px; }
.practice-side .card { margin-bottom: 20px; }
.practice-side h4 { font-family: var(--sans); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.side-list { list-style: none; padding: 0; margin: 0; }
.side-list li { margin-bottom: 10px; }
.side-list a { display: flex; justify-content: space-between; align-items: center; color: var(--ink); font-size: 14.5px; }
.side-list a:hover { color: var(--gold-600); }
.side-list a span { color: var(--gold-600); }
.rec-list { display: grid; gap: 20px; }
.rec-list--2 { grid-template-columns: repeat(2, 1fr); }
.rec-list--1 { max-width: 560px; }
.rec-lawyer { display: flex; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: all .25s ease; }
.rec-lawyer:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.rec-lawyer img { width: 88px; height: 88px; border-radius: 12px; object-fit: cover; object-position: center top; flex: none; }
.rec-lawyer h3 { font-size: 19px; margin-bottom: 2px; }
.rec-lawyer .rec-role { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 8px; }
.rec-lawyer p { font-size: 14px; color: var(--muted); margin: 0 0 12px; }
.rec-lawyer a { font-size: 13.5px; font-weight: 600; color: var(--gold-600); }

/* ---------- Lawyer profile ---------- */
.lawyer-head { display: flex; gap: 36px; align-items: center; margin-bottom: 44px; }
.lawyer-head img { width: 220px; height: 220px; border-radius: 16px; object-fit: cover; object-position: center top; flex: none; box-shadow: var(--shadow-md); }
.lawyer-head h1 { font-size: clamp(30px, 4vw, 40px); margin-bottom: 6px; }
.lawyer-head .role { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 12px; }
.lawyer-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.lawyer-facts li { font-size: 14px; color: var(--muted); }
.lawyer-facts strong { color: var(--ink); font-weight: 600; }
.lawyer-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 8px 0 40px; }
.lawyer-stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: center; }
.lawyer-stat .num { font-family: var(--serif); font-size: 30px; font-weight: 700; color: var(--ink-900); line-height: 1; }
.lawyer-stat .lbl { margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.lawyer-body h2 { font-size: 24px; margin: 36px 0 14px; }
.lawyer-body h3 { font-size: 19px; margin: 26px 0 10px; }
.lawyer-body p { color: #3a3a40; }
.lawyer-body ul { color: #3a3a40; }
.lawyer-body li { margin-bottom: 8px; }
.lawyer-tag { display: inline-block; background: var(--gold-50); color: var(--gold-600); font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; margin: 0 8px 8px 0; }

@media (max-width: 720px) {
  .lawyer-head { flex-direction: column; align-items: flex-start; }
  .lawyer-head img { width: 160px; height: 160px; }
  .lawyer-stats { grid-template-columns: 1fr; }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: repeat(2, 1fr); }
  .why__item:nth-child(3) { border-left: 0; }
  .why__item { border-top: 1px solid var(--line); }
  .why__item:nth-child(-n+2) { border-top: 0; }
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat { border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .awards { grid-template-columns: repeat(2, 1fr); }
  .practice-layout { grid-template-columns: 1fr; }
  .practice-side { position: static; }
  .rec-list--2 { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .section { padding: 68px 0; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; }
  .why__item { border-left: 0; border-top: 1px solid var(--line); }
  .why__item:first-child { border-top: 0; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .awards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .topbar__note { display: none; }
  .topbar .container { justify-content: center; }

  /* mobile nav */
  .nav {
    position: fixed; inset: 0; top: 92px; background: #fff; flex-direction: column;
    align-items: stretch; gap: 4px; padding: 24px; transform: translateX(100%);
    transition: transform .3s ease; overflow-y: auto;
  }
  .nav.open { transform: translateX(0); }
  .nav a { font-size: 17px; padding: 14px 10px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .header-cta .btn { display: none; }
  .nav-toggle { display: block; }
}

/* ============ Floating contact buttons ============ */
.float-contact { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 9999; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.float-link { display: flex; flex-direction: row; align-items: center; background: #000; color: #fff; border: 0; cursor: pointer; font-family: inherit; text-align: left; border-radius: 50px 0 0 50px; padding: 10px 12px; box-shadow: 0 4px 14px rgba(0,0,0,.25); transform: translateX(calc(100% - 40px)); transition: transform .3s ease; }
.float-link:hover { transform: translateX(0); }
.float-link__icon { width: 28px; height: 28px; flex: none; display: flex; align-items: center; justify-content: center; }
.float-link__icon svg { width: 28px; height: 28px; }
.float-link__title { padding-left: 10px; font-size: 13px; font-weight: 500; white-space: nowrap; }

/* ============ Article filter bar ============ */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-tag { border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 9px 20px; border-radius: 999px; cursor: pointer; font-size: 14px; font-weight: 500; line-height: 1; transition: all .2s ease; }
.filter-tag:hover { border-color: var(--gold); color: var(--gold-600); }
.filter-tag.active { background: var(--gold); color: #fff; border-color: var(--gold); }

/* ============ Consultation modal ============ */
.consult-modal { position: fixed; inset: 0; z-index: 10000; display: none; }
.consult-modal.is-open { display: block; }
.consult-modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.consult-modal__dialog { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 92%; max-width: 460px; max-height: 90vh; overflow-y: auto; background: #fff; border-radius: 16px; padding: 36px 30px; box-shadow: var(--shadow-lg); }
.consult-modal__close { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--gold-50); color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; }
.consult-modal h3 { font-size: 24px; margin-bottom: 8px; }
.consult-modal .consult-modal__dialog > p { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.consult-modal .form-field { margin-bottom: 14px; }
.consult-modal .form-field input, .consult-modal .form-field select, .consult-modal .form-field textarea { background: var(--cream); }
.consult-modal .form-field textarea { min-height: 100px; }

/* ============ Form success ============ */
.form-success { text-align: center; padding: 20px 0; }
.form-success svg { width: 48px; height: 48px; color: #2e7d32; margin-bottom: 14px; }
.form-success p { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0; }
