/*
 * SUNAV RASTOGI — ADVOCATE
 * Website Stylesheet
 * Design: Professional Law — Delhi High Court & Supreme Court AOR
 */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

/* ── Design Tokens ─────────────────────────────────────── */
:root {
  --navy:         #0C1F3E;
  --navy-mid:     #152D54;
  --navy-light:   #1E4080;
  --gold:         #C9A84C;
  --gold-bright:  #DEC06A;
  --cream:        #F5F1E9;
  --cream-light:  #FAF8F4;
  --white:        #FFFFFF;
  --text:         #181818;
  --text-body:    #3C3C3C;
  --text-muted:   #6B6B6B;
  --border:       #DDD8CE;
  --border-mid:   #C8C0B3;

  --serif:   'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-w:      1120px;
  --nav-h:      82px;
  --section-v:  96px;
  --radius:     2px;
  --t:          0.25s ease;
}

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

/* ── Layout ─────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(40px, 5.5vw, 80px); letter-spacing: -0.5px; }
h2 { font-size: clamp(28px, 3.5vw, 48px); }
h3 { font-size: clamp(20px, 2.5vw, 30px); }
h4 { font-size: 20px; }
p  { font-size: 15px; color: var(--text-body); line-height: 1.85; }

.section-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 16px;
}
.divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 24px 0;
}
.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 34px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--t);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--gold-bright);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(201,168,76,0.35);
}
.btn-outline {
  border: 1px solid rgba(255,255,255,0.5);
  color: var(--white);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn-dark {
  background: var(--navy);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--navy-mid);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(12,31,62,0.25);
}
.btn-outline-dark {
  border: 1px solid var(--border-mid);
  color: var(--text-body);
}
.btn-outline-dark:hover {
  border-color: var(--navy);
  color: var(--navy);
}

/* ── Fade-in animation ──────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════
   DISCLAIMER MODAL
   ═══════════════════════════════════════════════════════════ */

.disclaimer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 31, 62, 0.88);
  backdrop-filter: blur(5px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: opacity 0.4s ease;
}
.disclaimer-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}
/* Already agreed this session → hidden before paint (no flash) */
html.sr-disclaimer-agreed .disclaimer-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.disclaimer-box {
  background: var(--white);
  max-width: 580px;
  width: 100%;
  padding: 56px 48px 48px;
  position: relative;
}
.disclaimer-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
}
.disclaimer-sub {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 14px;
}
.disclaimer-box h3 {
  font-size: 26px;
  margin-bottom: 24px;
}
.disclaimer-box p {
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 16px;
}
.disclaimer-actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

/* ═══════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════ */

.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.site-nav.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 28px rgba(12,31,62,0.35);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; flex-direction: column; line-height: 1; }
.nav-logo-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.3px;
}
.nav-logo-title {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 5px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color var(--t);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--t);
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  padding: 9px 22px !important;
  border: 1px solid rgba(201,168,76,0.55) !important;
  color: var(--gold) !important;
  letter-spacing: 2px !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--navy) !important;
  border-color: var(--gold) !important;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--white);
  transition: all 0.3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--navy);
  padding: 16px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transform: translateY(-110%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  z-index: 999;
  box-shadow: 0 12px 40px rgba(12,31,62,0.5);
}
.nav-mobile.open { transform: translateY(0); }
.nav-mobile a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color var(--t);
}
.nav-mobile a:hover { color: var(--gold); }
.nav-mobile a:last-child { border-bottom: none; color: var(--gold); }

/* ═══════════════════════════════════════════════════════════
   HERO — HOME PAGE
   ═══════════════════════════════════════════════════════════ */

.hero {
  min-height: 100vh;
  background-color: var(--navy);
  background-image:
    linear-gradient(155deg, rgba(30,64,122,0.45) 0%, transparent 55%),
    repeating-linear-gradient(
      -48deg,
      transparent,
      transparent 60px,
      rgba(255,255,255,0.012) 60px,
      rgba(255,255,255,0.012) 61px
    );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: calc(var(--nav-h) + 60px) 48px 120px;
  text-align: center;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 130px;
  background: linear-gradient(to bottom, transparent, var(--white));
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  display: block;
}
.hero-name {
  font-family: var(--serif);
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 400;
  color: var(--white);
  letter-spacing: 1px;
  line-height: 1.0;
  margin-bottom: 0;
}
.hero-name-suffix {
  font-family: var(--serif);
  font-size: clamp(16px, 1.8vw, 24px);
  color: rgba(255,255,255,0.4);
  font-weight: 300;
  font-style: italic;
  display: block;
  margin: 6px 0 28px;
  letter-spacing: 2px;
}
.hero-rule {
  width: 56px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 28px;
}
.hero-designation {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  line-height: 2.2;
  margin-bottom: 52px;
}
.hero-courts {
  display: flex;
  align-items: stretch;
  justify-content: center;
  margin-bottom: 60px;
}
.hero-court-item {
  text-align: center;
  padding: 0 40px;
}
.hero-court-item + .hero-court-item {
  border-left: 1px solid rgba(255,255,255,0.15);
}
.hero-court-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}
.hero-court-name {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--white);
  font-weight: 400;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.35);
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  z-index: 1;
}
.hero-scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 0.8; }
}

/* ═══════════════════════════════════════════════════════════
   INTRO (Home — below hero)
   ═══════════════════════════════════════════════════════════ */

.intro-section {
  padding: 96px 0;
  background: var(--white);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: center;
}
.intro-text h2 { margin-bottom: 0; }
.intro-text p  { margin-bottom: 18px; }
.intro-photo  { position: relative; }
.intro-photo-frame {
  aspect-ratio: 3 / 4;
  max-height: 480px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
  gap: 14px;
  text-align: center;
  padding: 32px;
}
.photo-placeholder svg { opacity: 0.25; }
.intro-photo-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.photo-accent {
  position: absolute;
  bottom: -16px; right: -16px;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  border: 1px solid var(--gold);
  pointer-events: none;
  z-index: -1;
}

/* ═══════════════════════════════════════════════════════════
   PRACTICE AREAS (Home section + standalone page)
   ═══════════════════════════════════════════════════════════ */

.practice-section {
  padding: var(--section-v) 0;
  background: var(--cream-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.practice-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}
.practice-header .divider { margin: 20px auto; }
.practice-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.practice-card {
  background: var(--white);
  padding: 44px 28px;
  transition: background var(--t), box-shadow var(--t);
  cursor: default;
  position: relative;
  overflow: hidden;
}
.practice-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.practice-card:hover { background: var(--navy); box-shadow: 0 8px 40px rgba(12,31,62,0.25); }
.practice-card:hover::before { transform: scaleX(1); }
.practice-icon {
  font-size: 28px;
  margin-bottom: 20px;
  line-height: 1;
  display: block;
  transition: transform 0.3s ease;
}
.practice-card:hover .practice-icon { transform: scale(1.1); }
.practice-name {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 12px;
  transition: color var(--t);
}
.practice-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  transition: color var(--t);
}
.practice-card:hover .practice-name,
.practice-card:hover .practice-desc { color: rgba(255,255,255,0.85); }
.practice-card:hover .practice-name { color: var(--white); }

/* ═══════════════════════════════════════════════════════════
   COURTS STRIP
   ═══════════════════════════════════════════════════════════ */

.courts-strip {
  background: var(--navy);
  padding: 64px 0;
}
.courts-inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.court-stat {
  text-align: center;
  padding: 0 60px;
  flex: 1;
  max-width: 320px;
}
.court-stat + .court-stat { border-left: 1px solid rgba(255,255,255,0.1); }
.court-icon {
  font-size: 26px;
  margin-bottom: 16px;
  color: var(--gold);
}
.court-name {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--white);
  font-weight: 400;
  margin-bottom: 8px;
}
.court-role {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════
   PAGE HERO (inner pages)
   ═══════════════════════════════════════════════════════════ */

.page-hero {
  background-color: var(--navy);
  background-image: repeating-linear-gradient(
    -48deg,
    transparent,
    transparent 60px,
    rgba(255,255,255,0.012) 60px,
    rgba(255,255,255,0.012) 61px
  );
  padding: calc(var(--nav-h) + 80px) 0 88px;
  text-align: center;
}
.page-hero .section-label { justify-content: center; display: flex; }
.page-hero h1 { color: var(--white); font-size: clamp(36px, 5vw, 64px); }
.page-hero p  { color: rgba(255,255,255,0.6); max-width: 560px; margin: 0 auto; }
.page-hero .divider { margin: 20px auto; }

/* ═══════════════════════════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════════════════════════ */

.about-section { padding: var(--section-v) 0; }
.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
}
.about-sidebar { position: sticky; top: calc(var(--nav-h) + 32px); }
.about-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--cream);
  overflow: hidden;
  margin-bottom: 28px;
  position: relative;
}
.about-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.sidebar-info { border-top: 1px solid var(--border); padding-top: 20px; }
.sidebar-info dt {
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 4px;
  margin-top: 20px;
}
.sidebar-info dt:first-child { margin-top: 0; }
.sidebar-info dd { font-size: 14px; color: var(--text-body); line-height: 1.65; }
.sidebar-info dd a { color: var(--gold); }
.sidebar-info dd a:hover { text-decoration: underline; }

.about-body h3 { margin: 40px 0 16px; font-size: 26px; }
.about-body p  { margin-bottom: 18px; font-size: 15px; line-height: 1.85; }
.about-body .divider { margin: 40px 0; }
.quals-list li {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
}
.quals-list li::before {
  content: '—';
  color: var(--gold);
  flex-shrink: 0;
  font-family: var(--serif);
}

/* ═══════════════════════════════════════════════════════════
   PRACTICE AREAS — FULL PAGE
   ═══════════════════════════════════════════════════════════ */

.practice-page { padding: var(--section-v) 0; }
.practice-area-block {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 56px;
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.practice-area-block:first-child { padding-top: 8px; }
.area-num {
  font-family: var(--serif);
  font-size: 72px;
  font-weight: 300;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 12px;
}
.area-icon-lg { font-size: 32px; color: var(--gold); margin-bottom: 16px; display: block; }
.area-title  { font-size: clamp(22px, 2.5vw, 34px); margin-bottom: 6px; }
.area-courts {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}
.area-body p { margin-bottom: 16px; font-size: 15px; line-height: 1.85; }
.topic-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.topic-tag {
  padding: 5px 14px;
  background: var(--cream-light);
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-body);
  font-weight: 500;
  border-radius: 1px;
}

/* ═══════════════════════════════════════════════════════════
   CREDENTIALS PAGE
   ═══════════════════════════════════════════════════════════ */

.credentials-page { padding: var(--section-v) 0; }
.cred-group { margin-bottom: 64px; }
.cred-group-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.cred-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.cred-label { font-family: var(--serif); font-size: 19px; color: var(--navy); font-weight: 500; }
.cred-detail { font-size: 14px; color: var(--text-body); line-height: 1.7; }
.cred-detail strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 4px; }

/* ═══════════════════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════════════════ */

.contact-section { padding: var(--section-v) 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 88px;
  align-items: start;
}
.info-block { margin-bottom: 36px; }
.info-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}
.info-val { font-size: 15px; color: var(--text-body); line-height: 1.7; }
.info-val a:hover { color: var(--navy); }
.info-note {
  padding: 20px 20px 20px 24px;
  background: var(--cream-light);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  margin-top: 36px;
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.7;
}
.info-note strong { display: block; margin-bottom: 6px; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-body); }

/* Contact form */
.form-group { margin-bottom: 22px; }
.form-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  background: var(--white);
  font-family: var(--sans);
  font-size: 14px;
  color: var(--text);
  border-radius: var(--radius);
  transition: border-color var(--t);
  outline: none;
  -webkit-appearance: none;
}
.form-control:focus { border-color: var(--navy); }
.form-control::placeholder { color: #ADADAD; }
textarea.form-control { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-msg {
  display: none;
  padding: 16px 20px;
  font-size: 13.5px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  line-height: 1.6;
}
.form-msg.success { background: #EBF7EF; border: 1px solid #A8D5B0; color: #1A5C2A; display: block; }
.form-msg.error   { background: #FDF0ED; border: 1px solid #D5A8A0; color: #5C1A1A; display: block; }

/* ═══════════════════════════════════════════════════════════
   CTA STRIP
   ═══════════════════════════════════════════════════════════ */

.cta-strip {
  background: var(--cream);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 88px 0;
  text-align: center;
}
.cta-strip h2 { margin-bottom: 14px; }
.cta-strip p  { color: var(--text-muted); max-width: 480px; margin: 0 auto 40px; }

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */

.site-footer { background: var(--navy); padding: 80px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 64px;
}
.footer-name {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--white);
  font-weight: 400;
  margin-bottom: 6px;
}
.footer-title {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 20px;
}
.footer-about {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  line-height: 1.75;
  max-width: 290px;
}
.footer-col h5 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color var(--t);
}
.footer-col ul li a:hover { color: var(--white); }
.footer-contact p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
  margin-bottom: 6px;
}
.footer-contact a { transition: color var(--t); }
.footer-contact a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.28); }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.28);
  transition: color var(--t);
}
.footer-links a:hover { color: rgba(255,255,255,0.6); }

/* ═══════════════════════════════════════════════════════════
   TEAM PAGE
   ═══════════════════════════════════════════════════════════ */

.team-section { padding: var(--section-v) 0; }
.team-member {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 72px;
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.team-member:first-child { padding-top: 0; }
.team-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 380px;
  background: var(--cream);
  overflow: hidden;
  position: relative;
}
.team-photo img { width:100%; height:100%; object-fit:cover; object-position:center top; }
.team-role {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  display: block;
}
.team-name { font-size: clamp(28px, 3vw, 44px); margin-bottom: 4px; }
.team-courts {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  font-style: italic;
  font-family: var(--serif);
  font-size: 17px;
}
.team-body p { font-size: 15px; line-height: 1.85; margin-bottom: 16px; }
.team-body .divider { margin: 28px 0; }
.team-quals { margin-top: 4px; }
.team-quals li {
  display: flex;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.6;
}
.team-quals li::before { content: '—'; color: var(--gold); flex-shrink: 0; font-family: var(--serif); }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .intro-grid { grid-template-columns: 1fr; gap: 48px; }
  .intro-photo { max-width: 360px; }
  .practice-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-sidebar { position: static; }
  .about-photo { max-width: 260px; }
  .team-member { grid-template-columns: 1fr; gap: 36px; }
  .team-photo { max-width: 260px; }
  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .cred-row { grid-template-columns: 1fr; gap: 8px; }
  .practice-area-block { grid-template-columns: 1fr; gap: 28px; }
  .area-num { font-size: 48px; }
}

@media (max-width: 768px) {
  :root { --section-v: 64px; --nav-h: 70px; }
  .container { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-inner { padding: 0 24px; }
  .hero { padding: calc(var(--nav-h) + 48px) 24px 120px; }
  .hero-courts { flex-direction: column; gap: 0; }
  .hero-court-item { padding: 20px 0; }
  .hero-court-item + .hero-court-item { border-left: none; border-top: 1px solid rgba(255,255,255,0.12); }
  .courts-inner { flex-direction: column; }
  .court-stat { padding: 32px 0; max-width: none; }
  .court-stat + .court-stat { border-left: none; border-top: 1px solid rgba(255,255,255,0.1); }
  .practice-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .disclaimer-box { padding: 40px 28px 36px; }
  .disclaimer-actions { flex-direction: column; }
  .disclaimer-actions .btn { width: 100%; }
  .page-hero { padding: calc(var(--nav-h) + 56px) 0 64px; }
}

@media (max-width: 480px) {
  .practice-grid { grid-template-columns: 1fr; }
  .hero-name { font-size: 46px; }
  h2 { font-size: 28px; }
}

/* ═══════════════════════════════════════════════════════════
   WORDPRESS EDITOR CONTENT  (entry-content)
   Applied on About, Practice Areas, Credentials, Contact
   — edit these pages directly in the WordPress dashboard —
   ═══════════════════════════════════════════════════════════ */

/* ── Base ───────────────────────────────────────────────── */
.entry-content > *:first-child { margin-top: 0 !important; }
.entry-content > *:last-child  { margin-bottom: 0 !important; }

.entry-content p {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-body);
  margin: 0 0 20px;
}

.entry-content strong {
  font-weight: 600;
  color: var(--navy);
}

.entry-content em { font-style: italic; }

.entry-content a {
  color: var(--gold);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t);
}
.entry-content a:hover { border-bottom-color: var(--gold); }

/* HR → thin divider */
.entry-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}

/* Lists */
.entry-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.entry-content ul li {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
  padding: 12px 0 12px 22px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.entry-content ul > li:first-child { border-top: 1px solid var(--border); }

.entry-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
}

/* Base H2 */
.entry-content h2 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.2;
  margin: 48px 0 16px;
}

/* Base H3 — used as sub-section headings on About */
.entry-content h3 {
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  color: var(--navy);
  margin: 40px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

/* H4 → section-label style anywhere */
.entry-content h4 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 8px;
}

/* Blockquote → styled note/disclaimer box */
.entry-content blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  background: var(--cream-light);
  border-left: 3px solid var(--border);
}
.entry-content blockquote p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

/* ── About page: H3 as serif section dividers ───────────── */
.about-body .entry-content h3 {
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  color: var(--navy);
  margin: 40px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

/* ── Practice Areas: auto-numbered H2 with gold counter ─── */
.practice-areas-page .entry-content {
  counter-reset: practice-num;
  padding: var(--section-v) 0;
}

.practice-areas-page .entry-content h2 {
  counter-increment: practice-num;
  font-family: var(--serif);
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 500;
  color: var(--navy);
  margin: 72px 0 6px;
  padding: 0 0 0 72px;
  position: relative;
  line-height: 1.15;
}

.practice-areas-page .entry-content h2:first-of-type { margin-top: 0; }

/* Gold auto-number prefix */
.practice-areas-page .entry-content h2::before {
  content: counter(practice-num, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-58%);
  font-family: var(--serif);
  font-size: 60px;
  font-weight: 400;
  color: var(--gold);
  opacity: 1;
  line-height: 1;
}

/* H3 under each practice area = courts label */
.practice-areas-page .entry-content h3 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 24px 72px;
  padding: 0;
  border: none;
}

/* Paragraphs indented under the number */
.practice-areas-page .entry-content p {
  padding-left: 72px;
  margin-bottom: 14px;
}

.practice-areas-page .entry-content hr { margin: 56px 0; }

/* ── Credentials: structured section headings ───────────── */
.credentials-page .entry-content {
  padding: var(--section-v) 0;
}

/* H2 = gold uppercase group title */
.credentials-page .entry-content h2 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 56px 0 0;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--border);
}

.credentials-page .entry-content h2:first-child { margin-top: 0; }

/* H3 = credential name */
.credentials-page .entry-content h3 {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin: 28px 0 4px;
  padding: 0;
  border: none;
}

.credentials-page .entry-content p {
  color: var(--text-body);
  margin-bottom: 0;
}

.credentials-page .entry-content ul { margin-bottom: 0; }

.credentials-page .entry-content hr { margin: 48px 0; }

/* ── Contact: left column info block ───────────────────── */
.contact-info-content h3 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 28px 0 6px;
  padding: 0;
  border: none;
}

.contact-info-content h3:first-child { margin-top: 0; }

.contact-info-content p {
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 0;
}

.contact-info-content a { color: var(--gold); }

.contact-info-content blockquote {
  margin-top: 32px;
}

/* ── Responsive adjustments for entry-content ───────────── */
@media (max-width: 768px) {
  .practice-areas-page .entry-content h2 {
    padding-left: 0;
    margin-top: 56px;
  }
  .practice-areas-page .entry-content h2::before {
    display: block;
    position: static;
    transform: none;
    font-size: 40px;
    margin-bottom: 4px;
  }
  .practice-areas-page .entry-content h3 {
    margin-left: 0;
  }
  .practice-areas-page .entry-content p {
    padding-left: 0;
  }
}

/* ── Home page intro entry-content ─────────────────────── */
.home-intro-content h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 16px;
}

.home-intro-content p {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-body);
  margin-bottom: 18px;
}

/* ── Team page entry-content ────────────────────────────── */
.team-section .entry-content {
  padding: var(--section-v) 0;
}

/* Bio text inside the [sr_team] card */
.team-bio p {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-body);
  margin: 0 0 18px;
}
.team-bio p:last-child { margin-bottom: 0; }
.team-bio ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}
.team-bio ul li {
  position: relative;
  padding: 8px 0 8px 22px;
  font-size: 14px;
  color: var(--text-body);
  border-bottom: 1px solid var(--border);
}
.team-bio ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
}

/* ── Disclaimer modal content from WordPress ────────────── */
.disclaimer-content p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 14px;
}

.disclaimer-content p:last-child { margin-bottom: 0; }

/* ═══════════════════════════════════════════════════════════
   SHORTCODE COMPONENTS
   [sr_office]  [sr_note]  [sr_cta]
   ═══════════════════════════════════════════════════════════ */

/* ── [sr_office] address card ───────────────────────────── */
.sr-office-card {
  padding: 28px;
  border: 1px solid var(--border);
  margin-bottom: 20px;
  position: relative;
}
.sr-office-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.sr-office-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.sr-office-address {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-body);
  margin: 0;
}

/* ── [sr_note] callout box ──────────────────────────────── */
.sr-note {
  margin: 28px 0;
  padding: 20px 24px;
  background: var(--cream-light);
  border-left: 3px solid var(--gold);
}
.sr-note-title {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.sr-note-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

/* ── [sr_cta] call-to-action box ────────────────────────── */
.sr-cta-box {
  margin: 36px 0;
  padding: 40px;
  background: var(--cream-light);
  border: 1px solid var(--border);
  text-align: center;
}
.sr-cta-title {
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 10px;
  padding: 0;
  border: none;
}
.sr-cta-text {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
  margin: 0 0 24px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
