/* ============================================================
   武婕律师 · Wu Jie Law — v4
   Style: Professional · Readable · Language-switchable
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --blue:        #1A56DB;
  --blue-dark:   #0C1835;
  --blue-mid:    #1E3A6B;
  --blue-light:  #EEF2FB;
  --gold:        #B8830A;
  --gold-light:  #D4A020;
  --gold-pale:   #FEF3C7;
  --white:       #FFFFFF;
  --bg:          #F7F9FC;
  --bg-alt:      #F0F4F9;
  --text:        #0F172A;
  --text-mid:    #2D3748;
  --text-muted:  #64748B;
  --border:      #DDE3EC;
  --border-dark: #C5CEDB;
  --green:       #16A34A;

  --font-serif: 'Noto Serif SC', 'Songti SC', Georgia, serif;
  --font-sans:  'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;

  --max-w:      1140px;
  --header-h:   72px;
  --radius:     6px;
  --radius-lg:  10px;
  --shadow-sm:  0 1px 4px rgba(15,23,42,.07), 0 1px 2px rgba(15,23,42,.05);
  --shadow:     0 4px 20px rgba(15,23,42,.09);
  --shadow-lg:  0 12px 40px rgba(15,23,42,.13);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 17px; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Scroll animations ──────────────────────────────────────── */
[data-anim] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
[data-anim="left"]  { transform: translateX(-36px); }
[data-anim="right"] { transform: translateX(36px); }
[data-anim="scale"] { transform: scale(0.95) translateY(20px); }
[data-anim].in-view { opacity: 1; transform: none; }

[data-delay="1"] { transition-delay: 0.08s; }
[data-delay="2"] { transition-delay: 0.16s; }
[data-delay="3"] { transition-delay: 0.24s; }
[data-delay="4"] { transition-delay: 0.32s; }
[data-delay="5"] { transition-delay: 0.40s; }

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  [data-anim], [data-anim].in-view {
    opacity: 1; transform: none; transition: none;
  }
}

/* ── Dark section variant (practice areas) ──────────────────── */
.section--dark {
  background: var(--blue-dark);
}
.section--dark .practice-card {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.09);
  box-shadow: none;
}
.section--dark .practice-card:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.18);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,.3);
}
.section--dark .pc-num,
.section--dark .pc-badge { color: rgba(255,255,255,.3); }
.section--dark .pc-title { color: var(--white); }
.section--dark .pc-desc  { color: rgba(255,255,255,.48); }
.section--dark .pc-arrow { color: var(--gold-light); }
.section--dark h2         { color: var(--white); }
.section--dark p          { color: rgba(255,255,255,.55); }
.section--dark .section-label { color: rgba(255,255,255,.38); }
.section--dark .divider   { background: rgba(255,255,255,.15); }

/* Diagonal cut between hero and trust bar */
.hero-cut {
  position: relative;
}
.hero-cut::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 64px;
  background: var(--white);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
  pointer-events: none;
}

/* ── Language switching ─────────────────────────────────────── */
/* The <html> element always carries either .lang-zh or .lang-en.
   Each mode simply hides the other language. No global defaults needed. */
.lang-zh .en-text { display: none !important; }
.lang-en .zh-text { display: none !important; }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.28rem); }
h4 { font-size: 1.05rem; }
p  { color: var(--text-mid); line-height: 1.95; font-size: 1rem; }

/* Chinese readability tweaks */
.lang-zh p, .lang-zh li, .lang-zh td, .lang-zh dd {
  letter-spacing: 0.03em;
}
.lang-zh h1, .lang-zh h2, .lang-zh h3 {
  letter-spacing: 0.02em;
}

/* Section label */
.section-label {
  display: block;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

/* Divider — very subtle, just a breath of space */
.divider { width: 28px; height: 1px; background: var(--border-dark); margin: 1.4rem 0; }
.divider--center { margin: 1.4rem auto; }
.divider--gold { background: var(--border-dark); }

/* ── Layout ─────────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.section     { padding: 96px 0; }
.section--sm { padding: 56px 0; }
.section--white  { background: var(--white); }
.section--bg     { background: var(--bg); }
.section--alt    { background: var(--bg-alt); }
.section--blue   { background: var(--blue-dark); }
.section--bluemd { background: var(--blue-mid); }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.8rem 1.9rem;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
  letter-spacing: 0.02em;
}
.btn-primary { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-primary:hover { background: #1541B8; border-color: #1541B8; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(26,86,219,.3); }
.btn-gold { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.8); }
.btn-outline-blue { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline-blue:hover { background: var(--blue); color: var(--white); }
.btn-sm { padding: 0.52rem 1.1rem; font-size: 0.82rem; }

/* ════════════════════════════════════════════════════════════
   HEADER
   ════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  height: var(--header-h);
  background: var(--blue-dark);
  border-bottom: 1px solid rgba(255,255,255,.07);
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
}
.header-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 2rem;
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}

.logo { display: flex; flex-direction: column; line-height: 1; gap: 3px; }
.logo-name { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 700; color: var(--white); letter-spacing: 0.05em; }

/* Nav */
.site-nav { display: flex; align-items: stretch; }
.nav-item { position: relative; }
.nav-item > a {
  display: flex; align-items: center;
  padding: 0 1.05rem; height: var(--header-h);
  font-size: 0.86rem; font-weight: 500;
  color: rgba(255,255,255,.78);
  transition: color 0.15s, background 0.15s;
}
.nav-item > a:hover { color: var(--white); background: rgba(255,255,255,.05); }
.nav-item > a.active {
  color: var(--white);
  border-bottom: 2px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.05);
}

/* Dropdown */
.nav-item.has-dropdown > a::after { content: ' ▾'; font-size: 0.6rem; opacity: 0.55; margin-left: 2px; }
.dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  min-width: 160px; background: var(--blue-dark);
  border: 1px solid rgba(255,255,255,.1); border-top: 1px solid rgba(255,255,255,.15);
  box-shadow: var(--shadow-lg); border-radius: 0 0 var(--radius) var(--radius);
}
.dropdown.open { display: block; }
.nav-item.has-dropdown:hover .dropdown { display: block; }
.dropdown a {
  display: block; padding: 0.85rem 1.2rem;
  font-size: 0.84rem; color: rgba(255,255,255,.72);
  border-bottom: 1px solid rgba(255,255,255,.06); transition: all 0.15s;
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { background: rgba(255,255,255,.07); color: var(--white); padding-left: 1.5rem; }

/* Language toggle */
.lang-toggle {
  background: transparent;
  border: 1px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.7);
  padding: 0.32rem 0.85rem;
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all 0.2s;
  letter-spacing: 0.04em;
}
.lang-toggle:hover { background: rgba(255,255,255,.1); color: var(--white); border-color: rgba(255,255,255,.6); }

.header-cta { display: flex; align-items: center; gap: 0.7rem; flex-shrink: 0; }
.header-phone { font-size: 0.78rem; color: rgba(255,255,255,.5); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.4rem; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--white); transition: all 0.3s; }

/* Mobile nav */
.mobile-nav {
  display: none; position: fixed; inset: 0;
  background: var(--blue-dark); z-index: 999;
  flex-direction: column; align-items: center; justify-content: center; gap: 0;
}
.mobile-nav.open { display: flex; }
.mobile-nav-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: none; border: none; color: rgba(255,255,255,.5);
  font-size: 1.6rem; cursor: pointer; font-family: var(--font-sans);
}
.mobile-nav a {
  padding: 1rem 2rem; width: 100%; text-align: center;
  font-family: var(--font-serif); font-size: 1.3rem; color: rgba(255,255,255,.85);
  transition: all 0.15s; border-bottom: 1px solid rgba(255,255,255,.06);
}
.mobile-nav a:hover { background: rgba(255,255,255,.05); color: var(--white); }
.mobile-nav-sep { width: 40px; height: 1px; background: rgba(255,255,255,.1); margin: 0.4rem 0; }
.mobile-lang-toggle {
  margin-top: 1.5rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.8);
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-sans);
}

/* ════════════════════════════════════════════════════════════
   PAGE HERO
   ════════════════════════════════════════════════════════════ */
.page-hero {
  background: var(--blue-dark);
  padding: 64px 2rem 56px;
  position: relative;
}
.page-hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px; background: rgba(255,255,255,.08);
}
.page-hero-inner { max-width: var(--max-w); margin: 0 auto; }
.page-hero h1 { color: var(--white); }
.page-hero-desc { color: rgba(255,255,255,.5); font-size: 0.95rem; margin-top: 0.6rem; line-height: 1.6; }
.breadcrumb { display: flex; gap: 0.5rem; align-items: center; margin-bottom: 1.3rem; font-size: 0.74rem; color: rgba(255,255,255,.3); }
.breadcrumb a { color: rgba(255,255,255,.55); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,.2); }

/* ════════════════════════════════════════════════════════════
   HOME HERO
   ════════════════════════════════════════════════════════════ */
.hero {
  background: var(--blue-dark);
  min-height: calc(100vh - var(--header-h));
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero-bg-accent {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 70% at 80% 40%, rgba(26,86,219,.12) 0%, transparent 65%);
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: var(--max-w); margin: 0 auto;
  padding: 6rem 2rem; max-width: 820px;
}
/* Hero hierarchy */
.hero-overline {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,.42);
  margin-bottom: 1.2rem;
}
.hero-name {
  font-family: var(--font-serif); font-weight: 700; color: var(--white);
  font-size: clamp(3.8rem, 8.5vw, 6.5rem); line-height: 1; letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}
/* English-only subtitle under the name */
.hero-name-title {
  display: block;
  font-family: var(--font-sans);
  font-size: clamp(0.75rem, 1.4vw, 0.95rem);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.38);
  margin-top: 0.7rem;
  margin-bottom: 1.6rem;
}
/* zh mode: name has its own spacing */
.lang-zh .hero-name { margin-bottom: 1.6rem; }
.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
  color: rgba(255,255,255,.82); line-height: 1.5;
  margin-bottom: 0.6rem; max-width: 620px;
  font-weight: 400;
}
.hero-sub {
  font-size: 0.78rem; color: rgba(255,255,255,.3);
  letter-spacing: 0.05em; margin-bottom: 2.8rem; line-height: 1.7;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Trust bar — white, flows into content below */
.trust-bar { background: var(--white); border-bottom: 1px solid var(--border); }
.trust-bar-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 2rem;
  display: grid; grid-template-columns: repeat(4,1fr);
}
.trust-item { padding: 2rem 1.3rem; text-align: center; border-right: 1px solid var(--border); }
.trust-item:last-child { border-right: none; }
.trust-num { display: block; font-family: var(--font-serif); font-size: 2.2rem; font-weight: 700; color: var(--text); line-height: 1; margin-bottom: 0.4rem; }
.trust-label { display: block; font-size: 0.78rem; color: var(--text-muted); line-height: 1.5; }

/* Value grid */
.value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.value-aside {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
}
.value-aside h3 { font-size: 1rem; color: var(--text); margin-bottom: 1.2rem; }
.value-aside li {
  display: flex; gap: 0.7rem; padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem; color: var(--text-mid); line-height: 1.6;
}
.value-aside li:last-child { border-bottom: none; }
.value-aside li::before { content: '—'; color: var(--blue); font-weight: 700; flex-shrink: 0; }

/* Practice grid */
.practice-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 1.5rem;
}
.practice-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  display: flex; flex-direction: column; gap: 0.7rem;
  transition: all 0.2s; box-shadow: var(--shadow-sm);
}
.practice-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--border-dark); }
.pc-num {
  font-family: var(--font-sans); font-size: 0.68rem; font-weight: 700;
  color: var(--text-muted); letter-spacing: 0.1em; line-height: 1; margin-bottom: 0.4rem;
}
.pc-badge { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.pc-title { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 700; color: var(--text); line-height: 1.35; }
.pc-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; flex: 1; }
.pc-arrow { font-size: 0.82rem; color: var(--blue); font-weight: 600; margin-top: auto; }

/* Attorney teaser */
.teaser-grid { display: grid; grid-template-columns: 1fr 1.8fr; gap: 4rem; align-items: start; }
.attorney-photo {
  width: 100%;
  border-radius: var(--radius-lg);
  display: block;
  object-fit: cover;
  object-position: top center;
}

/* About sidebar photo */
.about-sidebar-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-lg);
  margin-bottom: 1.2rem;
  display: block;
}

/* Experience inline photos */
.exp-photo-wrap { margin-top: 1rem; border-radius: var(--radius); overflow: hidden; }
.exp-photo-wrap img { width: 100%; display: block; object-fit: cover; max-height: 280px; }
.exp-photo-caption {
  font-size: 0.72rem; color: var(--text-muted); text-align: center;
  padding: 0.4rem 0.8rem 0; line-height: 1.45;
}

/* Media photo (CCTV etc.) */
.media-photo-wrap {
  margin-top: 1rem; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
}
.media-photo-wrap img { width: 100%; display: block; object-fit: cover; }
.media-photo-caption {
  font-size: 0.72rem; color: var(--text-muted); text-align: center;
  padding: 0.5rem 1rem; background: var(--bg); line-height: 1.45;
}

/* Contact page office photo */
.contact-photo { width: 100%; border-radius: var(--radius-lg); display: block; object-fit: cover; margin-bottom: 1.2rem; }
.teaser-content p { font-size: 1rem; margin-bottom: 1rem; color: var(--text-mid); line-height: 1.95; }
.teaser-content blockquote {
  padding: 1.2rem 1.5rem;
  margin: 2rem 0;
  background: var(--bg);
  border-radius: var(--radius);
}
.bq-text { font-family: var(--font-serif); font-size: 1.1rem; color: var(--text); line-height: 1.65; display: block; }
.bq-cite { display: block; font-size: 0.78rem; color: var(--text-muted); margin-top: 0.6rem; }

/* Quote block */
.quote-block {
  background: var(--blue-dark); padding: 88px 2rem; text-align: center;
  position: relative; overflow: hidden;
}
.quote-block::before {
  content: '\201C'; font-family: Georgia, serif; font-size: 18rem;
  color: rgba(255,255,255,.025); position: absolute; top: -3rem; left: 2rem;
  line-height: 1; pointer-events: none;
}
.quote-main {
  font-family: var(--font-serif); font-size: clamp(1.25rem,2.8vw,1.9rem);
  color: var(--white); max-width: 760px; margin: 0 auto 1rem;
  line-height: 1.65; position: relative;
}
.quote-main em { color: rgba(255,255,255,.7); font-style: normal; }
.quote-attr { font-size: 0.78rem; color: rgba(255,255,255,.35); letter-spacing: 0.1em; }

/* Content preview */
.content-preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.preview-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.8rem; display: flex; flex-direction: column; gap: 0.6rem;
  transition: all 0.2s; box-shadow: var(--shadow-sm);
}
.preview-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.preview-tag { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); }
.preview-title { font-family: var(--font-serif); font-size: 1rem; font-weight: 700; color: var(--text); line-height: 1.45; }
.preview-meta { font-size: 0.76rem; color: var(--text-muted); }
.preview-link { font-size: 0.8rem; color: var(--blue); font-weight: 600; margin-top: auto; }

/* CTA section */
.cta-section { background: var(--blue-dark); padding: 88px 2rem; text-align: center; }
.cta-section h2 { color: var(--white); margin-bottom: 0.8rem; }
.cta-section p { color: rgba(255,255,255,.65); max-width: 540px; margin: 0 auto 2.2rem; font-size: 1.02rem; line-height: 1.8; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ════════════════════════════════════════════════════════════
   ABOUT — 5 sections
   ════════════════════════════════════════════════════════════ */
.about-layout { display: grid; grid-template-columns: 220px 1fr; gap: 4.5rem; align-items: start; }
.about-sidebar { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.about-photo-frame {
  aspect-ratio: 3/4;
  background: linear-gradient(155deg, var(--blue-mid), var(--blue-dark));
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: rgba(255,255,255,.2); font-size: 0.76rem; text-align: center;
  padding: 2rem; position: relative; overflow: hidden; margin-bottom: 1.2rem;
  border: 1px solid rgba(26,86,219,.25);
}
.about-photo-frame::before {
  content: '武'; font-family: var(--font-serif); font-size: 8rem; font-weight: 700;
  color: rgba(255,255,255,.05); position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.about-photo-frame span { position: relative; z-index: 1; }

/* Section nav */
.section-nav { display: flex; flex-direction: column; gap: 2px; margin-bottom: 1.2rem; }
.section-nav a {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.7rem 0.9rem; border-radius: var(--radius);
  border-left: 2px solid transparent; font-size: 0.88rem;
  color: var(--text-muted); transition: all 0.15s;
}
.section-nav a:hover { background: var(--bg); color: var(--text); }
.section-nav a.active { background: var(--blue-light); border-left-color: var(--blue); color: var(--blue); font-weight: 600; }
.section-nav-num { font-size: 0.65rem; color: var(--blue); font-weight: 700; min-width: 16px; }

.about-quick-info {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1.2rem;
}
.about-quick-info dl { display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 0.8rem; font-size: 0.76rem; }
.about-quick-info dt { color: var(--blue); font-weight: 700; padding: 0.2rem 0; white-space: nowrap; }
.about-quick-info dd { color: var(--text-mid); padding: 0.2rem 0; word-break: break-all; min-width: 0; }

/* About sections */
.about-content { max-width: 700px; }
.about-section-block {
  padding: 3.5rem 0; border-bottom: 1px solid var(--border);
  scroll-margin-top: calc(var(--header-h) + 2rem);
}
.about-section-block:first-child { padding-top: 0; }
.about-section-block:last-child { border-bottom: none; }
.section-heading { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.5rem; }
.section-heading h2 { font-size: 1.4rem; }
.section-num {
  width: 30px; height: 30px; background: var(--blue); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 700; flex-shrink: 0; font-family: var(--font-sans);
}

/* Achievements (no icon column — use left border) */
.achievement {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg); margin-bottom: 1rem;
  transition: box-shadow 0.2s;
}
.achievement:hover { box-shadow: var(--shadow-sm); }
.achievement h4 { color: var(--text); font-size: 0.98rem; margin-bottom: 0.5rem; line-height: 1.4; }
.achievement p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.8; }

.outcomes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; margin-top: 1rem; }
.outcome-pill {
  padding: 0.75rem 1.1rem; background: var(--blue); border-radius: var(--radius);
  color: var(--white); font-size: 0.88rem; text-align: center; font-weight: 500;
}

/* Tables */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; border-radius: var(--radius-lg); overflow: hidden; }
.data-table th { background: var(--blue-dark); color: var(--white); padding: 0.85rem 1.2rem; text-align: left; font-weight: 600; font-size: 0.8rem; letter-spacing: 0.04em; }
.data-table td { padding: 1rem 1.2rem; border-bottom: 1px solid var(--border); color: var(--text-mid); vertical-align: top; line-height: 1.65; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:nth-child(even) td { background: var(--bg); }
.data-table td:first-child { font-weight: 600; color: var(--text); white-space: nowrap; }

/* Credentials */
.cred-list { display: flex; flex-direction: column; gap: 0.5rem; }
.cred-item {
  display: flex; align-items: flex-start; gap: 0.8rem;
  padding: 0.85rem 1.1rem; background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 0.9rem; color: var(--text-mid); line-height: 1.6;
}
.cred-item.highlight { background: var(--blue-light); border-color: rgba(26,86,219,.25); }
.cred-bullet { color: var(--blue); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ════════════════════════════════════════════════════════════
   PRACTICE AREAS
   ════════════════════════════════════════════════════════════ */
.pa-section { scroll-margin-top: calc(var(--header-h) + 0.5rem); padding: 64px 0; border-bottom: 1px solid var(--border); }
.pa-section:last-of-type { border-bottom: none; }
.pa-section:nth-child(odd) { background: var(--bg); }
.pa-inner { display: grid; grid-template-columns: 200px 1fr; gap: 4rem; align-items: start; }
.pa-label {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
  /* Clip the element so the number can't bleed above the sticky point */
  max-height: calc(100vh - var(--header-h) - 4rem);
  overflow: hidden;
}
.pa-num {
  font-family: var(--font-sans); font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.12em; color: var(--text-muted); margin-bottom: 0.5rem;
}
.pa-label h2 { font-size: 1.25rem; margin-bottom: 0.5rem; line-height: 1.3; }
.pa-en { font-size: 0.78rem; color: var(--text-muted); display: block; margin-bottom: 0.8rem; line-height: 1.4; }
.pa-badge { display: inline-block; padding: 0.3rem 0.7rem; background: var(--blue); color: var(--white); font-size: 0.66rem; border-radius: var(--radius); font-weight: 600; letter-spacing: 0.04em; }

.pa-body > p { font-size: 0.97rem; color: var(--text-mid); line-height: 1.9; margin-bottom: 1.2rem; }
.pa-body h3 { font-size: 1rem; color: var(--text); margin: 1.6rem 0 0.6rem; }
.pa-body h3:first-child { margin-top: 0; }

/* Case results */
.case-results { margin-top: 2rem; }
.case-results-title {
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 1rem;
}
.case-results-title::after { display: none; }
.case-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.3rem 1.5rem;
  margin-bottom: 0.9rem; box-shadow: var(--shadow-sm);
}
.case-card:last-child { margin-bottom: 0; }
.case-card-type { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); margin-bottom: 0.4rem; }
.case-card-text { font-size: 0.9rem; color: var(--text-mid); line-height: 1.8; }
.case-outcome { display: inline-block; margin-top: 0.7rem; padding: 0.25rem 0.75rem; background: var(--blue); color: var(--white); font-size: 0.74rem; border-radius: 3px; font-weight: 600; }

/* ════════════════════════════════════════════════════════════
   PUBLICATIONS
   ════════════════════════════════════════════════════════════ */
.tab-bar { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 3rem; }
.tab-btn {
  padding: 0.9rem 1.8rem; font-family: var(--font-sans); font-size: 0.9rem; font-weight: 600;
  background: none; border: none; cursor: pointer; border-bottom: 2px solid transparent;
  margin-bottom: -2px; color: var(--text-muted); transition: all 0.2s;
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: var(--blue); border-bottom-color: var(--blue); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.pub-list { display: flex; flex-direction: column; gap: 1px; background: var(--border); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.pub-item {
  background: var(--white); padding: 1.5rem 1.8rem;
  display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center;
  transition: background 0.15s;
}
.pub-item:hover { background: var(--bg); }
.pub-tag { font-size: 0.67rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); margin-bottom: 0.4rem; }
.pub-title { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 700; color: var(--text); line-height: 1.4; margin-bottom: 0.4rem; }
.pub-meta { font-size: 0.8rem; color: var(--text-muted); }
.pub-link { font-size: 0.82rem; color: var(--blue); font-weight: 600; white-space: nowrap; }

.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px,1fr)); gap: 1.4rem; }
.article-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.6rem; display: flex; flex-direction: column; gap: 0.7rem;
  transition: all 0.2s; box-shadow: var(--shadow-sm);
}
.article-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.article-platform {
  display: inline-block; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em;
  color: var(--white); background: var(--blue-mid); padding: 0.24rem 0.65rem; border-radius: 3px; width: fit-content;
}
.article-title { font-family: var(--font-serif); font-size: 1rem; font-weight: 700; color: var(--text); line-height: 1.45; flex: 1; }
.article-date { font-size: 0.76rem; color: var(--text-muted); }
.article-link { font-size: 0.8rem; color: var(--blue); font-weight: 600; margin-top: auto; }

/* ════════════════════════════════════════════════════════════
   NEWS / VIDEO
   ════════════════════════════════════════════════════════════ */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 1.5rem; }
.video-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: all 0.2s; box-shadow: var(--shadow-sm);
}
.video-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.video-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-dark));
  display: flex; align-items: center; justify-content: center; position: relative;
}
.video-thumb-text { font-family: var(--font-serif); font-size: 0.9rem; color: rgba(255,255,255,.42); text-align: center; padding: 1rem; position: relative; z-index: 1; line-height: 1.55; }
/* CSS play button — no emoji */
.video-play {
  position: absolute; width: 50px; height: 50px;
  background: rgba(184,131,10,.88); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.video-play::after {
  content: ''; border-style: solid;
  border-width: 9px 0 9px 17px;
  border-color: transparent transparent transparent rgba(255,255,255,.95);
  margin-left: 3px;
}
.video-card-body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; gap: 0.6rem; }
.video-platform { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); }
.video-title { font-family: var(--font-serif); font-size: 1rem; font-weight: 700; color: var(--text); line-height: 1.45; flex: 1; }
.video-desc { font-size: 0.86rem; color: var(--text-muted); line-height: 1.7; }
.video-card-footer {
  padding: 1rem 1.4rem; border-top: 1px solid var(--border);
  background: var(--bg); display: flex; align-items: center; justify-content: space-between;
}
.video-date { font-size: 0.74rem; color: var(--text-muted); }
.video-link { font-size: 0.8rem; color: var(--blue); font-weight: 600; }

.info-notice {
  background: var(--blue-light); border: 1px solid rgba(26,86,219,.2);
  border-radius: var(--radius); padding: 1rem 1.4rem;
  font-size: 0.88rem; color: var(--text-mid); margin-bottom: 2.5rem;
  line-height: 1.7;
}

/* ════════════════════════════════════════════════════════════
   Q&A
   ════════════════════════════════════════════════════════════ */
.qa-layout { display: grid; grid-template-columns: 1fr 370px; gap: 3.5rem; align-items: start; }
.qa-disclaimer {
  background: var(--gold-pale); border: 1px solid rgba(184,131,10,.3);
  border-radius: var(--radius); padding: 1.1rem 1.4rem; margin-bottom: 2.5rem;
  font-size: 0.9rem; color: var(--text-mid); line-height: 1.75;
}
.qa-item {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  margin-bottom: 1.4rem; overflow: hidden; box-shadow: var(--shadow-sm);
}
.qa-item:last-child { margin-bottom: 0; }
.qa-question {
  padding: 1.4rem 1.6rem; background: var(--bg);
  border-bottom: 1px solid var(--border); display: flex; gap: 1.1rem; align-items: flex-start;
}
.qa-q-badge {
  width: 30px; height: 30px; background: var(--text); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.74rem; font-weight: 700; flex-shrink: 0; font-family: var(--font-sans); margin-top: 2px;
}
.qa-question-text { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 700; color: var(--text); line-height: 1.45; }
.qa-meta { font-size: 0.74rem; color: var(--text-muted); margin-top: 0.4rem; }
.qa-answer { padding: 1.4rem 1.6rem; display: flex; gap: 1.1rem; align-items: flex-start; }
.qa-a-badge {
  width: 30px; height: 30px; background: var(--blue); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.74rem; font-weight: 700; flex-shrink: 0; font-family: var(--font-sans); margin-top: 2px;
}
.qa-answer-text { font-size: 0.95rem; color: var(--text-mid); line-height: 1.9; }
.qa-answer-text p { margin-bottom: 0.7rem; }
.qa-answer-text p:last-child { margin-bottom: 0; }

.qa-form-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 2rem; box-shadow: var(--shadow);
  position: sticky; top: calc(var(--header-h) + 1.5rem);
}
.qa-form-card h3 { margin-bottom: 0.3rem; font-size: 1.2rem; }

/* ════════════════════════════════════════════════════════════
   CONTACT
   ════════════════════════════════════════════════════════════ */
.contact-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 4rem; align-items: start; }
.contact-info-card { background: var(--blue-dark); border-radius: var(--radius-lg); padding: 2.2rem; }
.contact-info-card h2 { color: var(--white); margin-bottom: 1.5rem; font-size: 1.4rem; }
.contact-urgency {
  background: rgba(26,86,219,.18); border: 1px solid rgba(26,86,219,.3);
  border-radius: var(--radius); padding: 1.1rem 1.3rem; margin-bottom: 1.8rem;
  font-size: 0.9rem; color: rgba(255,255,255,.78); line-height: 1.75;
}
.contact-detail {
  display: flex; gap: 1.1rem; align-items: flex-start;
  padding: 1.1rem 0; border-bottom: 1px solid rgba(255,255,255,.07);
}
.contact-detail:last-child { border-bottom: none; }
.contact-detail-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(255,255,255,.08); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.66rem; font-weight: 700; color: rgba(255,255,255,.5);
  letter-spacing: 0.05em; line-height: 1.2; text-align: center;
}
.contact-detail-label { display: block; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,.38); margin-bottom: 0.25rem; }
.contact-detail-value { font-size: 0.92rem; color: rgba(255,255,255,.8); line-height: 1.55; }
.contact-detail-value a { color: rgba(255,255,255,.85); }

.contact-form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.4rem; box-shadow: var(--shadow); }
.contact-form-card h2 { margin-bottom: 0.4rem; }

/* Forms (shared) */
.form-group { margin-bottom: 1.3rem; }
.form-group label { display: block; font-size: 0.86rem; font-weight: 600; color: var(--text); margin-bottom: 0.45rem; }
.form-group label .req { color: var(--blue); }
.form-control {
  width: 100%; padding: 0.8rem 1.1rem;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-family: var(--font-sans); font-size: 0.92rem; color: var(--text);
  background: var(--bg); transition: border-color 0.2s, box-shadow 0.2s; outline: none;
  line-height: 1.6;
}
.form-control:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,86,219,.11); background: var(--white); }
textarea.form-control { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.86rem; color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.7; }
.form-disclaimer { font-size: 0.76rem; color: var(--text-muted); line-height: 1.6; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.form-success { display: none; margin-top: 0.9rem; padding: 0.9rem 1.1rem; background: #DCFCE7; border: 1px solid #16A34A; border-radius: var(--radius); font-size: 0.88rem; color: #15803D; line-height: 1.55; }

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
.site-footer { background: var(--blue-dark); border-top: 1px solid rgba(255,255,255,.06); padding: 56px 2rem 32px; }
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem;
}
.footer-brand p { font-size: 0.84rem; color: rgba(255,255,255,.35); margin-top: 0.8rem; line-height: 1.75; max-width: 250px; }
.footer-col h4 { font-family: var(--font-sans); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,.38); margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { font-size: 0.86rem; color: rgba(255,255,255,.52); transition: color 0.15s; line-height: 1.5; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  max-width: var(--max-w); margin: 0 auto; padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; flex-wrap: wrap;
}
.footer-disclaimer { font-size: 0.74rem; color: rgba(255,255,255,.26); line-height: 1.7; max-width: 660px; }
.footer-copy { font-size: 0.74rem; color: rgba(255,255,255,.26); white-space: nowrap; }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-phone { display: none; }
  .value-grid, .teaser-grid, .about-layout, .contact-layout, .qa-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-sidebar { position: static; }
  .pa-inner { grid-template-columns: 1fr; }
  .pa-label { position: static; }
  .trust-bar-inner { grid-template-columns: repeat(2,1fr); }
  .trust-item:nth-child(2) { border-right: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
}
@media (max-width: 640px) {
  html { font-size: 16px; }
  .section { padding: 60px 0; }
  .container { padding: 0 1.25rem; }
  .hero-inner { padding: 4rem 1.25rem; }
  .practice-grid { grid-template-columns: 1fr; }
  .content-preview-grid { grid-template-columns: 1fr; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .hero-actions, .cta-actions { flex-direction: column; align-items: flex-start; }
  .cta-actions { align-items: center; }
  .article-grid, .video-grid { grid-template-columns: 1fr; }
  .pub-item { grid-template-columns: 1fr; }
  .tab-btn { padding: 0.75rem 1rem; font-size: 0.84rem; }
  .trust-bar-inner { grid-template-columns: 1fr 1fr; }
}
