/* =========================================================
   Aryan Sharma and Associates
   Single stylesheet, mobile first, app like on phones.
   Color scheme: deep navy + warm gold + ivory paper.
   ========================================================= */

:root {
  /* Black coat palette. The "navy" names are kept for compatibility,
     but every value is now a black or near black tone. Contrast on
     light surfaces meets WCAG AA for normal text.                    */
  --navy-900: #050505;   /* deep black, used for buttons and hero gradient */
  --navy-800: #0d0d0d;   /* near black for surfaces                       */
  --navy-700: #1a1a1a;   /* charcoal for hover and accents                */
  --navy-50:  #f5f1e8;   /* warm cream surface for alternating sections   */

  --gold-600: #a17a26;   /* deeper gold, AA on white                      */
  --gold-500: #c9a961;   /* primary gold, AA on black                     */
  --gold-100: #f7efdb;   /* tint for icon chips and highlights            */

  --ink-900: #0a0a0a;    /* main body text on light                       */
  --ink-700: #2a2a2a;    /* secondary body text                           */
  --ink-500: #595959;    /* muted text, ratio 7.0+ on paper               */
  --ink-300: #b8b8b8;    /* borders, dividers                             */
  --ink-100: #f0f0f0;    /* very light divider                            */

  --paper:   #fbfaf6;    /* page background                               */
  --white:   #ffffff;
  --line:    #e6e2d6;

  --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.05);
  --shadow-md: 0 6px 18px rgba(15,23,42,.08), 0 2px 6px rgba(15,23,42,.05);
  --shadow-lg: 0 18px 40px rgba(15,23,42,.14), 0 6px 14px rgba(15,23,42,.06);

  --radius-sm: 2px;
  --radius:    2px;
  --radius-lg: 2px;

  --surface:     #ffffff;   /* crisp primary section surface   */
  --surface-alt: #f5f1e8;   /* warm cream alternating section  */

  --maxw: 1180px;

  --font-heading: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans:    "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --header-h: 72px;
  --tab-h:    68px;
}



* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-900);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
img { height: auto; }
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  vertical-align: middle;
}
a { color: var(--navy-700); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold-600); }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--navy-900);
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.12;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.4rem; font-weight: 600; }

p  { margin: 0 0 1rem; color: var(--ink-700); }
.muted { color: var(--ink-500); }
.small { font-size: .85rem; }

.container { width: min(100% - 2rem, var(--maxw)); margin-inline: auto; }

.skip-link {
  position: absolute; top: -100px; left: 1rem; background: var(--navy-900); color: #fff;
  padding: .5rem 1rem; border-radius: var(--radius-sm); z-index: 200;
}
.skip-link:focus { top: 1rem; }

/* =====================  HEADER  ===================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex; align-items: center; gap: 1rem;
  height: var(--header-h);
}
.brand {
  display: inline-flex; align-items: center; gap: .65rem;
  color: var(--navy-900);
}
.brand-mark {
  height: 48px; width: auto; border-radius: 2px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #0a0a0a;   /* matches the logo's black background */
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.brand-mark img {
  height: 100%; width: auto;
  object-fit: contain;   /* full TBC logo, black letterbox blends into chip */
  display: block;
}
.brand-logo { height: 54px; width: auto; display: block; }
@media (max-width: 640px) {
  .brand-logo { height: 44px; }
}
.brand-text { display: flex; flex-direction: column; gap: 3px; line-height: 1.1; }
.brand-name { font-family: var(--font-heading); font-size: 1.18rem; font-weight: 600; letter-spacing: -0.01em; }
.brand-tag { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-500); }

.primary-nav { margin-left: auto; }
.primary-nav ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 1.4rem; }
.primary-nav a {
  position: relative;
  color: var(--ink-700);
  font-weight: 500;
  padding: .35rem 0;
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%;
  bottom: -2px; height: 2px; background: var(--gold-500);
  transition: right .25s ease;
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--navy-900); }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { right: 0; }

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1.8rem;
  border-radius: 2px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.cta-btn:hover {
  transform: translateY(-2px);
}

.cta-btn:active {
  transform: translateY(0);
}

.cta-btn.gold {
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-600) 100%);
  color: #000;
  box-shadow: 0 10px 20px rgba(201, 169, 97, 0.2);
}

.cta-btn.gold:hover {
  background: linear-gradient(135deg, var(--gold-400, #d4b87a) 0%, var(--gold-500) 100%);
  box-shadow: 0 15px 25px rgba(201, 169, 97, 0.4);
}

/* Default ghost: dark outline, for light sections */
.cta-btn.ghost {
  background: transparent;
  color: var(--navy-900);
  border: 1px solid var(--ink-300);
}

.cta-btn.ghost:hover {
  background: var(--surface-alt);
  border-color: var(--gold-600);
  color: var(--navy-900);
}

/* Ghost on dark surfaces (hero, cta strip, court band): light outline */
.hero .cta-btn.ghost,
.cta-strip .cta-btn.ghost,
.court-band .cta-btn.ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.hero .cta-btn.ghost:hover,
.cta-strip .cta-btn.ghost:hover,
.court-band .cta-btn.ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--gold-500);
  color: var(--gold-500);
}

/* Header Specific Button */
.header-cta {
  background: #000;
  color: #fff;
  border: 1px solid #fff;
  padding: 0.6rem 1.5rem;
  font-size: 0.88rem;
  box-shadow: none;
}

.header-cta:hover {
  background: #111;
  color: var(--gold-500);
  border-color: var(--gold-500);
  transform: translateY(-2px);
  box-shadow: none;
}


.header-cta .icon {
  color: var(--gold-500);
}



.menu-toggle, .menu-close {
  display: none; background: transparent; border: 0; padding: .5rem;
  border-radius: 2px; color: var(--navy-900); cursor: pointer;
}
.menu-toggle:hover, .menu-close:hover { background: var(--navy-50); }

/* =====================  MOBILE DRAWER  ===================== */
.mobile-drawer {
  position: fixed; inset: 0;
  z-index: 100;
  height: 100vh;
  height: 100dvh;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.mobile-drawer[hidden] { display: none; }
/* Head mirrors the real site header exactly, so the close button lands
   right where the hamburger was — no jump when the drawer opens. */
.mobile-drawer .drawer-head {
  flex-shrink: 0;
  display: flex; align-items: center; gap: 1rem;
  height: var(--header-h);
  padding: 0 1rem;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.mobile-drawer .drawer-head .brand { margin-right: auto; }
.mobile-drawer .menu-close { display: inline-flex; margin-left: auto; }
.mobile-drawer .drawer-list {
  list-style: none; margin: 0;
  padding: .5rem 0 2rem;
  flex: 1;
  overflow-y: auto;
  background: #fff;
}
.mobile-drawer .drawer-list li a {
  display: flex; align-items: center; gap: .9rem;
  padding: 1rem 1.25rem; color: var(--ink-700); font-weight: 500;
  border-bottom: 1px solid var(--ink-100);
}
.mobile-drawer .drawer-list li a[aria-current="page"] { color: var(--navy-900); background: var(--navy-50); }
.drawer-cta { color: var(--navy-900) !important; }

/* =====================  HERO  ===================== */
.hero {
  position: relative;
  background: #050505;
  color: #fff;
  overflow: hidden;
  padding: 5rem 0 6rem;
}


.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Strong dark gradient over the photo keeps text crisp — no washed-out blend */
  background:
    linear-gradient(180deg, rgba(5,5,5,0.72) 0%, rgba(5,5,5,0.92) 100%),
    url('../images/hero-bg.png') center/cover no-repeat;
  z-index: 0;
}

.hero-bg-glow {
  position: absolute;
  top: 50%;
  left: 70%;
  transform: translate(-50%, -50%);
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, rgba(201,169,97,0.14), transparent 70%);
  filter: blur(70px);
  z-index: 1;
  animation: glowPulse 10s ease-in-out infinite;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-center .hero-inner {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-center .hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-center .hero-actions {
  justify-content: center;
}

/* ---- Left-aligned inner-page hero (single column) ---- */
/* Keeps the normal centered container gutter (same left inset as the
   home/about pages); only the copy width is constrained for readability. */
.hero-left .hero-inner {
  grid-template-columns: 1fr;
  text-align: left;
}
.hero-left .hero-copy { align-items: flex-start; max-width: 720px; }
.hero-left .hero-actions { justify-content: flex-start; }

/* ---- Split hero: left copy, right circular stat graphics ---- */
.hero-split { padding: 5.5rem 0 6rem; }
.hero-split .hero-inner {
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
  text-align: left;
}
.hero-split .hero-copy { max-width: 620px; }
.hero-split .lead { max-width: 54ch; font-size: 1.2rem; }
.hero-split .hero-actions { justify-content: flex-start; margin-bottom: 0; }

/* About hero: credential stats as cards in the right column (like home) */
.hero-about .about-stats {
  margin: 0;
  gap: 1rem;
}
.hero-about .about-stats li {
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.3rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.98rem;
}
.hero-about .about-stats .cred-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 169, 97, 0.4);
  color: var(--gold-500);
}
.hero-about .about-stats .cred-icon .icon { margin-top: 0; }

/* Three stat badges arranged ON a circular ring line */
.hero-stats-circles {
  position: relative;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  width: clamp(280px, 26vw, 340px);
  aspect-ratio: 1;
}
/* The ring line the badges sit on */
.hero-stats-circles::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 66.6%;
  height: 66.6%;
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(201, 169, 97, 0.35);
  border-radius: 50%;
  animation: spin 45s linear infinite;
}
.stat-circle {
  position: absolute;
  width: 31%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(circle at 50% 30%, rgba(201, 169, 97, 0.2), rgba(13, 13, 13, 0.72) 72%);
  border: 1px solid rgba(201, 169, 97, 0.4);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.45);
}
/* Centres sit on the ring: radius = 33.3% of the wrapper, 120deg apart */
.stat-circle:nth-child(1) { left: 50%;    top: 16.7%; }  /* top          */
.stat-circle:nth-child(2) { left: 78.9%;  top: 66.7%; }  /* lower right  */
.stat-circle:nth-child(3) { left: 21.1%;  top: 66.7%; }  /* lower left   */
.stat-circle strong {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 1.8vw, 1.75rem);
  font-weight: 600;
  color: var(--gold-500);
  line-height: 1;
}
.stat-circle span {
  margin-top: 0.35rem;
  max-width: 82%;
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
  line-height: 1.25;
}

@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* Tablet and down: copy on top (left), ring centred below */
@media (max-width: 1024px) {
  .hero-split .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; text-align: left; }
  .hero-split .hero-copy { order: 0; max-width: none; }
}

@media (max-width: 720px) {
  .hero-split { padding: 2.5rem 0 3rem; }
  .hero-stats-circles { width: clamp(240px, 74vw, 300px); }
}

/* Eyebrow labels removed site-wide per request */
.eyebrow { display: none !important; }



.hero-copy {
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero h1 {
  color: #fff;
  font-size: clamp(3rem, 6.5vw, 4.4rem);
  line-height: 1.08;
  margin-bottom: 1.2rem;
  font-weight: 600;
}


.hero h1 .accent {
  color: var(--gold-500);
  background: linear-gradient(135deg, var(--gold-500) 0%, #f7efdb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  font-weight: 500;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 2rem;
  padding: 0.5rem 1.2rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 2px;
}

.hero .lead {
  color: rgba(255,255,255,0.9);
  font-size: 1.15rem;
  max-width: 46ch;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
}


.hero .cta-btn {
  padding: 1.1rem 2.4rem;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.hero .cta-btn.gold {
  background: linear-gradient(135deg, var(--gold-500) 0%, #f7efdb 100%);
  box-shadow: 0 15px 35px rgba(201, 169, 97, 0.35);
}

.hero .cta-btn.gold:hover {
  box-shadow: 0 20px 45px rgba(201, 169, 97, 0.5);
  transform: translateY(-3px) scale(1.02);
}

.hero .cta-btn .icon {
  transition: transform 0.3s ease;
}

.hero .cta-btn:hover .icon {
  transform: translateX(3px);
}



/* Individual Floating Stat Cards */
.stat-card {
  position: absolute;
  background: rgba(13, 13, 13, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(201, 169, 97, 0.22);
  padding: 1.25rem 1.75rem;
  border-radius: 2px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 15;
  text-align: center;
  animation: float 8s ease-in-out infinite;
  min-width: 150px;
}

.stat-card strong {
  display: block;
  font-size: 2.2rem;
  color: var(--gold-500);
  line-height: 1;
  margin-bottom: 0.25rem;
  font-family: var(--font-heading);
  font-weight: 600;
}

.stat-card span {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.stat-experience { 
  bottom: 12%; 
  left: -20%; 
  animation-delay: 0s; 
}

.stat-cases { 
  bottom: 40%; 
  right: -12%; 
  animation-delay: -2.5s; 
}

.stat-locations { 
  top: 12%; 
  right: -22%; 
  animation-delay: -5s; 
}



/* Hero Card (Contact Page) */
.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 3rem;
  border-radius: 2px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
  opacity: 0;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.hero-card h2 {
  color: #fff;
  font-size: 1.5rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-card h2::before {
  content: "";
  width: 4px;
  height: 1.5rem;
  background: var(--gold-500);
  border-radius: 2px;
}

.hero-card .row {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  transition: transform 0.3s ease;
}

.hero-card .row:hover {
  transform: translateX(5px);
}

.hero-card .row .icon {
  color: var(--gold-500);
  background: rgba(255, 255, 255, 0.05);
  width: 54px;
  height: 54px;
  border-radius: 2px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-card .row .content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hero-card .row strong {
  display: block;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
}

.hero-card .row span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}

.hero-card .row a {
  color: inherit;
  text-decoration: none;
}

.hero-card .row a:hover strong {
  color: var(--gold-500);
}



/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.1); }
}


/* =====================  HERO PORTRAIT  ===================== */
.hero-portrait-wrap {
  position: relative;
  margin-top: -6rem;
  animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
  opacity: 0;
}


.portrait-frame {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 0.85;
  z-index: 1;
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 20px 50px rgba(0,0,0,0.5));
  position: relative;
  z-index: 2;
}

.portrait-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 90%;
  background: radial-gradient(circle, rgba(201,169,97,0.15) 0%, transparent 70%);
  border: 1px solid rgba(201,169,97,0.2);
  border-radius: 50%;
  z-index: 1;
}

.portrait-ring::after {
  content: "";
  position: absolute;
  inset: -20px;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 50%;
}

.portrait-badge {
  position: absolute;
  top: 10%;
  left: -5%;
  background: rgba(13,13,13,0.7);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 1.5rem;
  border-radius: 2px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  z-index: 5;
  animation: float 6s ease-in-out infinite;
}

.portrait-badge .icon {
  color: var(--gold-500);
  margin-bottom: 0.5rem;
}

.portrait-badge strong {
  display: block;
  font-size: 1.8rem;
  color: #fff;
  line-height: 1;
}

.portrait-badge span {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.1em;
}

.floating-info {
  position: absolute;
  bottom: 15%;
  right: -5%;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: #000;
  padding: 1rem 1.5rem;
  border-radius: 2px;
  box-shadow: 0 15px 30px rgba(201,169,97,0.3);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 600;
  font-size: 0.9rem;
  animation: float 6s ease-in-out infinite reverse;
}

.floating-info .dot {
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 10px #fff;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}


/* Credential strip on About hero */
.cred-strip {
  list-style: none; padding: 0; margin: 1.6rem 0 0;
  display: flex; flex-direction: column; gap: .55rem;
}
.cred-strip li {
  display: flex; align-items: flex-start; gap: .65rem;
  color: #d4d4d4; font-size: .95rem;
}
.cred-strip li .icon { color: var(--gold-500); flex: 0 0 auto; margin-top: 3px; }

/* Quick contact strip below hero */
.quick-contact-section { padding: 1.5rem 0 0; margin-top: -3rem; position: relative; z-index: 5; }
.quick-contact-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.qc-card {
  display: flex; align-items: center; gap: .9rem;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: var(--shadow-sm);
  color: var(--ink-900);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.qc-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold-500);
  box-shadow: var(--shadow-md);
  color: var(--ink-900);
}
.qc-icon {
  width: 42px; height: 42px; flex: 0 0 auto;
  border-radius: 2px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gold-100); color: var(--gold-600);
}
.qc-icon.qc-whatsapp { background: rgba(37,211,102,.12); color: #1ea552; }
.qc-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.qc-text strong { color: var(--ink-900); font-size: .98rem; word-break: break-word; }
.qc-text span { color: var(--ink-500); font-size: .82rem; }

/* =====================  SECTIONS  ===================== */
section { padding: 4.5rem 0; background: var(--surface); }
/* Alternating section colour so adjacent blocks never share a background */
.section-alt { background: var(--surface-alt); }
.quick-contact-section { background: transparent; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.4rem; }
.section-head .eyebrow {
  display: inline-block; color: var(--gold-600); font-size: .78rem;
  letter-spacing: .18em; text-transform: uppercase; margin-bottom: .6rem;
}
.section-head p { color: var(--ink-500); }

.grid { display: grid; gap: 1.2rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--gold-500); }
.card .icon-wrap {
  width: 48px; height: 48px; border-radius: 2px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gold-100); color: var(--gold-600);
  margin-bottom: .9rem;
}
.card h3 { color: var(--navy-900); margin-bottom: .35rem; }
.card .lead-link {
  display: inline-flex; align-items: center; gap: .35rem;
  margin-top: .6rem; color: var(--navy-700); font-weight: 600; font-size: .92rem;
}
.card .lead-link:hover { color: var(--gold-600); }

.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.feature-row.flip { grid-template-columns: 1fr 1fr; }
.feature-row .visual {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--gold-500);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  position: relative; overflow: hidden;
}
.feature-row .visual::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(201,169,97,.18), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(201,169,97,.12), transparent 40%);
}
.feature-row ul { padding: 0; margin: 1rem 0 0; list-style: none; }
.feature-row li { display: flex; gap: .65rem; padding: .4rem 0; color: var(--ink-700); }
.feature-row li .icon { color: var(--gold-600); flex: 0 0 auto; margin-top: 3px; }

/* =====================  PRACTICE FEATURE (home)  ===================== */
.practice-feature { background: var(--surface); }
.pf-content { min-width: 0; }
.pf-head { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; }
.pf-head h2 { margin: 0 0 1rem; }
.pf-head h2::after {
  content: "";
  display: block;
  width: 90px;
  height: 2px;
  margin: 1rem auto 0;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}
.pf-head p { color: var(--ink-500); margin: 0; }

.pf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.pf-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.4rem 1.4rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.pf-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--gold-500); }
.pf-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}
.pf-icon { color: var(--gold-600); }
.pf-num {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold-600);
  opacity: 0.7;
}
.pf-card h3 { font-size: 1.15rem; margin: 0 0 0.5rem; }
.pf-card p {
  font-size: 0.9rem;
  color: var(--ink-700);
  line-height: 1.6;
  margin: 0 0 1.1rem;
  flex: 1;
}
.pf-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--gold-600);
  font-weight: 600;
  font-size: 0.85rem;
}
.pf-link .icon { transition: transform .2s ease; }
.pf-card:hover .pf-link { color: var(--gold-500); }
.pf-card:hover .pf-link .icon { transform: translateX(4px); }

@media (max-width: 1024px) {
  .pf-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .pf-grid { grid-template-columns: 1fr; }
}

/* =====================  ABOUT THE FIRM (home)  ===================== */
.firm-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Left: framed image */
.firm-visual { position: relative; }
.firm-frame {
  position: relative;
  z-index: 1;
  margin: 0;
  background: #0d0d0d;
  overflow: hidden;
}
.firm-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Thin inset gold rule, echoing the reference frame */
.firm-frame::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(201, 169, 97, 0.4);
  pointer-events: none;
  z-index: 2;
}
.firm-overlay {
  position: absolute;
  left: 0; right: 0;
  bottom: 20%;
  z-index: 3;
  text-align: center;
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.firm-overlay::after {
  content: "";
  display: block;
  width: 46px;
  height: 1px;
  margin: 0.9rem auto 0;
  background: var(--gold-500);
}

/* Right: content */
.firm-content .eyebrow { margin-bottom: 1rem; }
.firm-content h2 { margin-bottom: 1.2rem; }
.firm-content > p { color: var(--ink-700); max-width: 52ch; }

.firm-checks {
  list-style: none;
  margin: 2rem 0 2.2rem;
  padding: 0;
}
.firm-checks li {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 0.55rem 0;
}
.firm-check {
  width: 34px; height: 34px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold-500);
  color: var(--gold-600);
}
.firm-check-text {
  padding-left: 1.1rem;
  border-left: 1px solid var(--line);
  color: var(--ink-900);
  font-size: 1rem;
}

.firm-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  min-width: 320px;
  padding: 1rem 1.4rem;
  border: 1px solid var(--ink-300);
  color: var(--navy-900);
  font-family: var(--font-heading);
  font-weight: 600;
  transition: border-color .2s ease, background .2s ease;
}
.firm-cta:hover { border-color: var(--gold-500); background: #fff; color: var(--navy-900); }
.firm-cta-arrow {
  display: inline-flex;
  align-items: center;
  padding-left: 1.4rem;
  border-left: 1px solid var(--line);
  color: var(--gold-600);
}
.firm-cta .icon { transition: transform .2s ease; }
.firm-cta:hover .icon { transform: translateX(4px); }

@media (max-width: 900px) {
  .firm-inner { grid-template-columns: 1fr; gap: 3rem; }
  .firm-visual { max-width: 520px; }
}

/* Shared "see all" footer link under a grid section */
.section-foot { text-align: center; margin-top: 2.6rem; }

/* =====================  TEAM (about)  ===================== */
.team-card {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.team-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--gold-500); }
.team-avatar {
  width: 74px;
  height: 74px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #141414, #050505);
  border: 1px solid rgba(201, 169, 97, 0.4);
  color: var(--gold-500);
  overflow: hidden;
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-initials {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.55rem;
  letter-spacing: 0.02em;
}
.team-info h3 { margin: 0 0 0.15rem; font-size: 1.2rem; }
.team-role {
  display: block;
  color: var(--gold-600);
  font-weight: 600;
  font-size: 0.9rem;
}
.team-focus {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink-500);
  font-size: 0.85rem;
  margin: 0.7rem 0 0.85rem;
}
.team-focus .icon { color: var(--gold-600); flex: 0 0 auto; }
.team-bio {
  color: var(--ink-700);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}
.team-locations {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink-500);
  font-size: 0.85rem;
  margin: 0.6rem 0 0;
}
.team-locations .icon { color: var(--gold-600); flex: 0 0 auto; }

/* Grouped team sections (Leadership, Professionals, etc.) */
.team-group { margin-bottom: 3rem; }
.team-group:last-child { margin-bottom: 0; }
.team-group-title {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-600);
  margin: 0 0 1.3rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
}
/* Leadership cards: full-width photo header, no small black square */
.team-lead {
  padding: 0;
  gap: 0;
  overflow: hidden;
}
.team-lead .team-avatar {
  width: 100%;
  height: 240px;
  border: none;
  background: var(--navy-50);
}
.team-lead .team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.team-lead .team-info { padding: 1.5rem 1.5rem 1.6rem; }

/* Reusable square-checkbox list, consistent across pages */
.check-list { list-style: none; padding: 0; margin: 1.1rem 0 0; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.5rem 0;
  color: var(--ink-700);
}
.check-list li > .icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold-500);
  color: var(--gold-600);
  margin-top: 1px;
}

/* Allow the practice-feature cards to be whole-card links */
a.pf-card { color: inherit; text-decoration: none; }

/* =====================  SUPREME COURT BAND (home)  ===================== */
.court-band {
  position: relative;
  padding: 6rem 0;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(5,5,5,0.80) 0%, rgba(5,5,5,0.9) 100%),
    url('../images/supreme-court.png') center/cover no-repeat fixed,
    #050505;
}
.court-band-inner { max-width: 820px; margin: 0 auto; }
.court-band h2 { color: #fff; margin-bottom: 1.2rem; }
.court-band h2 .accent { color: var(--gold-500); }
.court-band p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 62ch;
  margin: 0 auto 2.2rem;
}
.court-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

@media (max-width: 720px) {
  .court-band { padding: 4rem 0; background-attachment: scroll; }
}

/* =====================  TESTIMONIALS  ===================== */
.testimonials { background: var(--navy-50); }
.quote-card {
  margin: 0;
  background: #fff; border-radius: var(--radius);
  padding: 1.6rem 1.5rem; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.quote-card .stars { color: var(--gold-500); display: flex; gap: 2px; margin-bottom: .75rem; }
.quote-card blockquote {
  margin: 0 0 1.1rem; padding: 0;
  font-size: .98rem; color: var(--ink-700); line-height: 1.6;
  flex: 1;
}
.quote-card cite {
  font-style: normal; font-weight: 600; color: var(--navy-900); font-size: .95rem;
  padding-top: .9rem; border-top: 1px solid var(--line);
}
.quote-card cite span { display: block; font-weight: 400; color: var(--ink-500); font-size: .82rem; margin-top: .1rem; }

/* Horizontal-scroll review carousel with YouTube-style arrow nav */
.reviews-carousel { position: relative; }
.reviews-track {
  display: flex;
  gap: .8rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: .5rem .25rem 1rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.reviews-track::-webkit-scrollbar { display: none; }
.reviews-track .quote-card {
  flex: 0 0 clamp(260px, 31.5%, 360px);
  scroll-snap-align: start;
}
.rev-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  color: var(--navy-900);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 4;
  transition: background .2s ease, color .2s ease, opacity .2s ease, transform .2s ease;
}
.rev-nav:hover { background: var(--navy-900); color: #fff; }
.rev-prev { left: -14px; }
.rev-prev .icon { transform: rotate(180deg); }
.rev-next { right: -14px; }
.rev-nav:disabled { opacity: 0; pointer-events: none; }

/* =====================  CTA STRIP  ===================== */
/* Give any CTA-strip section generous, even white space top and bottom */
section:has(> .container > .cta-strip) { padding: 5.5rem 0; }
.cta-strip {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: #fff; border-radius: var(--radius-lg);
  padding: 2.6rem 2.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  box-shadow: var(--shadow-md);
}
.cta-strip h2 { color: #fff; margin: 0; }
.cta-strip p { color: #d4d4d4; margin: .35rem 0 0; }
.cta-strip .actions { display: flex; gap: .7rem; flex-wrap: wrap; }

/* =====================  BLOG  ===================== */
.blog-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; color: var(--ink-900);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--gold-500); color: var(--ink-900); }
.blog-thumb {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 16 / 8;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--gold-500);
  position: relative; overflow: hidden;
}
.blog-thumb::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 25% 25%, rgba(201,169,97,.22), transparent 48%);
}
.blog-body { display: flex; flex-direction: column; gap: .5rem; padding: 1.4rem 1.5rem 1.6rem; }
.blog-meta { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; font-size: .78rem; color: var(--ink-500); }
.blog-tag {
  display: inline-block; padding: .2rem .6rem; border-radius: 2px;
  background: var(--gold-100); color: var(--gold-600);
  font-weight: 600; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase;
}
.blog-card h3 { font-size: 1.15rem; margin: .1rem 0; line-height: 1.3; }
.blog-card p { color: var(--ink-700); font-size: .95rem; margin: 0 0 .4rem; }
.blog-card .lead-link {
  margin-top: auto; display: inline-flex; align-items: center; gap: .35rem;
  color: var(--navy-700); font-weight: 600; font-size: .9rem;
}
.blog-card:hover .lead-link { color: var(--gold-600); }

/* Blog detail */
.post-hero { padding-bottom: 4rem; }
/* Title spans the full container width; only the lead is line-limited */
.post-hero .hero-copy { max-width: 100%; }
.post-hero h1 { max-width: 100%; margin-bottom: 1.4rem; }
.post-hero .lead { max-width: 66ch; margin-bottom: 1.6rem; }
.post-hero-meta {
  display: inline-flex; align-items: center; gap: .7rem; flex-wrap: wrap;
  margin-bottom: 1.4rem; color: rgba(255,255,255,.75); font-size: .85rem;
}
.post-byline {
  display: inline-flex; align-items: center; gap: .6rem;
  color: rgba(255,255,255,.82); font-size: .9rem; margin-top: 1.6rem;
  padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.12);
}
.post-byline .icon {
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(201,169,97,.5);
  color: var(--gold-500);
}

.post-body { max-width: 760px; margin: 0 auto; font-size: 1.06rem; line-height: 1.85; color: var(--ink-700); }
/* Lead-in first paragraph for a more editorial feel */
.post-body > p:first-of-type { font-size: 1.2rem; line-height: 1.7; color: var(--ink-900); }

/* In-article table of contents */
.post-toc {
  margin: 2rem 0 2.5rem;
  padding: 1.4rem 1.6rem;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold-500);
  font-size: 0.98rem;
}
.post-toc strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 0.8rem;
}
.post-toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.post-toc a { color: var(--navy-700); font-weight: 500; }
.post-toc a:hover { color: var(--gold-600); }
/* Offset anchor targets so headings clear the sticky header when jumped to */
.post-body h2[id] { scroll-margin-top: 90px; }
.post-body h2 { font-size: 1.5rem; margin: 2.4rem 0 .9rem; color: var(--navy-900); }
.post-body p { margin: 0 0 1.3rem; }
.post-body p:last-of-type { margin-bottom: 0; }
.post-back { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }

@media (max-width: 720px) {
  .rev-nav { width: 40px; height: 40px; }
  .rev-prev { left: 2px; }
  .rev-next { right: 2px; }
  .reviews-track .quote-card { flex-basis: 82%; }
  .post-body { font-size: 1rem; }
}

/* =====================  FORMS  ===================== */
.form-grid { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: .9rem; color: var(--ink-700); margin-bottom: .35rem; font-weight: 500; }
.input, textarea, select {
  width: 100%; padding: .8rem 1rem;
  border: 1px solid var(--ink-300); border-radius: 2px;
  background: #fff; color: var(--ink-900); font: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.input:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--navy-700);
  box-shadow: 0 0 0 4px rgba(26,71,115,.12);
}
textarea { min-height: 140px; resize: vertical; }
.form-note { color: var(--ink-500); font-size: .85rem; }

.alert {
  padding: 1rem 1.2rem; border-radius: 2px;
  background: var(--gold-100); border: 1px solid var(--gold-500);
  color: var(--navy-900); margin-bottom: 1rem;
}
.alert.error { background: #fdecec; border-color: #e26a6a; color: #7a1f1f; }
.alert.success { background: #e8f4ec; border-color: #4f9d6e; color: #1d4e2f; }

/* =====================  CONTACT  ===================== */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.4rem; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.info-card h3 { display: flex; align-items: center; gap: .55rem; }
.info-card .icon { color: var(--gold-600); }
.info-card a { display: inline-flex; align-items: center; gap: .4rem; color: var(--navy-700); }
.branch-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; transition: border-color .2s ease, box-shadow .2s ease; }
.branch-card:hover { border-color: var(--gold-500); box-shadow: var(--shadow-md); }
.branch-card h3 { font-size: 1.1rem; }
.branch-card .meta { display: flex; flex-direction: column; gap: .25rem; font-size: .92rem; color: var(--ink-700); margin: .6rem 0 .9rem; }
.branch-card .meta span { display: inline-flex; gap: .45rem; align-items: flex-start; }
.branch-card .meta .icon { color: var(--gold-600); flex: 0 0 auto; margin-top: 3px; }

/* =====================  FOOTER  ===================== */
.site-footer {
  background: #050505;
  color: rgba(255, 255, 255, 0.82);
  padding: 6rem 0 4rem;
  margin-top: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-brand .brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.footer-logo {
  height: 132px;
  width: auto;
  display: block;
  align-self: flex-start;
  margin-bottom: 0.25rem;
}

.footer-brand .brand-name {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 600;
}

.footer-brand .brand-tag {
  color: var(--ink-500);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}


.footer-brand .brand-name {
  color: #fff;
  font-size: 1.6rem;
}

.footer-brand .brand-tag {
  color: var(--gold-500);
  font-size: 0.8rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  max-width: 32ch;
}

.footer-title {
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-title::after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-list li {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-list strong {
  color: #fff;
  font-size: 1rem;
}

.footer-address {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  line-height: 1.5;
}

.footer-list a {
  color: rgba(255, 255, 255, 0.82);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.2s ease;
}

.footer-list a:hover {
  color: var(--gold-500);
  transform: translateX(4px);
}

/* Boxed square icons — consistent with the site's checkbox styling */
.footer-list .icon {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 169, 97, 0.4);
  color: var(--gold-500);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.footer-list a:hover .icon {
  background: var(--gold-500);
  color: #050505;
  border-color: var(--gold-500);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.social-link {
  width: 42px;
  height: 42px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
  background: var(--gold-500);
  color: #000;
  border-color: var(--gold-500);
  transform: translateY(-4px);
}

.social-link .icon {
  color: inherit;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

/* Footer Bottom Links */
.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: var(--gold-500);
}

/* FAQ Page */
.faq-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 5rem;
}

.faq-item {
  border: 1px solid var(--line);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  background: var(--white);
}

.faq-item[open] {
  border-color: var(--gold-500);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.faq-question {
  padding: 1.75rem 2.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--navy-900);
  list-style: none;
  font-family: var(--font-heading);
  font-size: 1.15rem;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold-500);
  color: var(--gold-600);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.2s ease, color 0.2s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
  background: var(--gold-500);
  color: #fff;
}

.faq-answer {
  padding: 0 2.5rem 2rem;
  color: var(--navy-700);
  line-height: 1.8;
  font-size: 1.05rem;
}

.faq-answer p {
  margin: 0;
}



/* =====================  WHATSAPP FLOAT  ===================== */
.whatsapp-float {
  position: fixed; right: 24px; bottom: 24px;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px rgba(37,211,102,.4);
  z-index: 100;
  transition: transform 0.3s ease;
}


.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  z-index: -1;
  animation: auraPulse 2s infinite;
}

@keyframes auraPulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.8); opacity: 0; }
}

.whatsapp-float:hover { color: #fff; transform: scale(1.1); }


/* =====================  MOBILE TABS  ===================== */
.bottom-tabs {
  display: none;
  position: fixed; left: 0; right: 0;
  bottom: 0;
  height: calc(var(--tab-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  z-index: 1000;
  justify-content: space-around;
  align-items: stretch;
}
.bottom-tabs a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; color: var(--ink-500); font-size: .72rem; font-weight: 500;
}
.bottom-tabs a.is-active { color: var(--navy-900); }
.bottom-tabs a.is-active .icon { color: var(--gold-600); }
.bottom-tabs a:active { background: var(--ink-100); }

/* =====================  RESPONSIVE  ===================== */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 4rem; padding: 4rem 0 6rem; text-align: center; }
  .hero-copy { order: 2; }
  .hero-portrait-wrap { order: 1; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .portrait-frame { margin-inline: auto; }
  .feature-row { grid-template-columns: 1fr; gap: 1.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .quick-contact-grid { grid-template-columns: repeat(2, 1fr); }
}


@media (max-width: 720px) {
  :root { --header-h: 60px; }
  .primary-nav, .header-cta { display: none; }
  .menu-toggle, .menu-close { display: inline-flex; }
  .menu-toggle { margin-left: auto; }

  /* Compact Mobile Hero */
  .hero-inner { padding: 1.5rem 0 3rem; gap: 1.5rem; }
  .hero h1 { font-size: 1.6rem; line-height: 1.2; margin-bottom: 0.6rem; }
  .hero p.lead { font-size: 0.88rem; line-height: 1.5; margin-bottom: 1.25rem; margin-inline: auto; }
  
  .hero-actions { 
    flex-direction: column; 
    align-items: stretch;
    width: 100%;
    max-width: 300px;
    margin-inline: auto;
    gap: 0.6rem;
  }
  .hero-actions .cta-btn { width: 100%; padding: 0.85rem; font-size: 0.9rem; }

  .hero-portrait-wrap { 
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .portrait-frame { 
    width: 240px; height: 280px;
    border-radius: 2px;
    margin: 0 auto 0.75rem;
    order: 2;
  }

  .portrait-badge { display: none; } /* Simplify for mobile */

  /* Compact Mobile Stats Row Above Image */
  .hero-stats {
    order: 1;
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
    width: 100%;
    max-width: 360px;
    padding: 0;
  }
  .stat-card {
    position: static !important;
    padding: 0.75rem 0.4rem;
    border-radius: 2px;
    animation: none !important;
    flex: 1;
    min-width: 0;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
  }
  .stat-card strong { font-size: 1.4rem; margin-bottom: 0.1rem; }
  .stat-card span { font-size: 0.5rem; white-space: nowrap; opacity: 0.8; }




  body { padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom)); }
  .bottom-tabs { display: flex; }
  .whatsapp-float { 
    right: 18px;
    left: auto;
    bottom: calc(var(--tab-h) + 18px + env(safe-area-inset-bottom)); 
  }


  .site-footer { padding-bottom: 7rem; padding-top: 4rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-bottom { 
    flex-direction: column; 
    align-items: center; 
    text-align: center;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }
  .footer-bottom-links { justify-content: center; flex-wrap: wrap; gap: 1rem; }

  .grid-3, .grid-2, .form-grid { grid-template-columns: 1fr; }
  section { padding: 3rem 0; }
  .cta-strip { flex-direction: column; align-items: center; text-align: center; gap: 1.5rem; }
  .brand-tag { display: none; }

  .quick-contact-section { padding-top: 1rem; margin-top: -2.5rem; }
  .quick-contact-grid { grid-template-columns: 1fr; gap: .7rem; }
  .qc-card { padding: .85rem 1rem; }
  .qc-icon { width: 38px; height: 38px; }

  /* Mobile Modal UI */
  .modal-overlay { padding: 1rem; align-items: flex-end; }
  .modal-content { 
    padding: 1.75rem 1.5rem; 
    width: 100%; 
    max-width: none;
    border-radius: 2px 2px 0 0; /* "BottomSheet" style for mobile */
    margin: 0;
  }
  .modal-actions { flex-direction: column; gap: 0.75rem; width: 100%; }
  .modal-actions .cta-btn { width: 100%; flex: none; }
}




/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Focus outlines */
:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 2px;
  border-radius: 6px;
}

/* =====================  MODALS & DEMO  ===================== */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px); z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  width: 100%; max-width: 500px;
  background: #fff; padding: 2.5rem;
  border-radius: 2px; border: 1px solid var(--line);
  box-shadow: 0 40px 100px rgba(0,0,0,0.25);
  animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1.5rem;
}

.modal-content h3 { margin-top: 0; font-size: 1.5rem; color: var(--navy-900); }
.modal-content p { color: var(--ink-700); line-height: 1.6; margin-bottom: 2rem; }

.modal-actions { display: flex; gap: 1rem; margin-top: 2rem; }
.modal-actions .cta-btn { flex: 1; }

/* Modal specific ghost button visibility fix */
.modal-actions .cta-btn.ghost {
  background: var(--ink-100, #f1f3f5);
  color: var(--navy-900, #050505);
  border: 1px solid var(--line, #e9ecef);
  backdrop-filter: none;
}

.modal-actions .cta-btn.ghost:hover {
  background: var(--ink-200, #e9ecef);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}


.close-modal {
  background: var(--ink-100); border: 0; width: 40px; height: 40px;
  border-radius: 2px; color: var(--ink-700); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s ease;
}
.close-modal:hover { background: var(--navy-900); color: #fff; }

.demo-form .form-group { margin-bottom: 1.25rem; text-align: left; }
.demo-form label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy-900); margin-bottom: 0.5rem; }
.demo-form input[type="text"],
.demo-form input[type="file"] {
  width: 100%; padding: 0.8rem 1rem; border: 1px solid var(--line);
  border-radius: 2px; font-family: inherit; font-size: 0.95rem;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }


/* =========================================================
   LANDING PAGE v2 — "The Chamber"
   Editorial ivory / ink / brass. Hairlines, serif plates,
   roman numerals, ledger rows. Scoped with .lp- prefix.
   ========================================================= */

/* ---- shared plate pieces ---- */
.lp-kicker {
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin: 0 0 1.6rem;
}
.lp-kicker-light { color: var(--gold-500); }

.lp-numeral {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold-600);
  border: 1px solid var(--gold-600);
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  flex: 0 0 auto;
}
.lp-sec-head {
  display: flex; align-items: center; gap: 1.1rem;
  margin-bottom: 3rem;
}
.lp-sec-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
}
.lp-sec-head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
  margin-left: 1rem;
}
.lp-sec-head-light h2 { color: #f5f1e8; }
.lp-sec-head-light::after { background: rgba(245,241,232,.18); }
.lp-sec-head-light .lp-numeral { color: var(--gold-500); border-color: var(--gold-500); }

.lp-sec { padding: 6rem 0; }
.lp-sec-rule { border-top: 1px solid var(--line); }
.lp-narrow { max-width: 860px; }
.lp-sec-foot { margin-top: 3rem; display: inline-flex; }

/* ---- buttons & line links ---- */
.lp-btn {
  display: inline-flex; align-items: center; gap: .7rem;
  background: var(--navy-900);
  color: #f5f1e8;
  font-family: var(--font-sans);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 1.05rem 1.9rem;
  border: 1px solid var(--navy-900);
  transition: background .25s ease, color .25s ease;
}
.lp-btn:hover { background: transparent; color: var(--navy-900); }
.lp-btn-gold {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: #0a0a0a;
}
.lp-btn-gold:hover { background: transparent; color: var(--gold-500); }

.lp-line-link {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-sans);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-900);
  border-bottom: 1px solid var(--gold-600);
  padding-bottom: .35rem;
  transition: color .2s ease, border-color .2s ease;
}
.lp-line-link:hover { color: var(--gold-600); }
.lp-line-link .icon { color: var(--gold-600); }
.lp-line-link-light { color: #f5f1e8; }
.lp-line-link-light:hover { color: var(--gold-500); }

/* ---- HERO ---- */
.lp-hero {
  position: relative;
  padding: clamp(5rem, 12vh, 9rem) 0 4.5rem;
  background:
    linear-gradient(180deg, rgba(201,169,97,.05), rgba(201,169,97,0) 40%),
    var(--paper);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.lp-hero-mark {
  position: absolute;
  right: -1rem; top: 45%;
  transform: translateY(-50%);
  font-family: var(--font-heading);
  font-size: clamp(20rem, 38vw, 34rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(10,10,10,.07);
  user-select: none;
  pointer-events: none;
}
.lp-title {
  font-size: clamp(3rem, 8vw, 5.8rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0 0 1.8rem;
  max-width: 18ch;
}
.lp-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold-600);
}
.lp-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.75;
  color: var(--ink-700);
  max-width: 54ch;
  margin-bottom: 2.6rem;
}
.lp-hero-actions {
  display: flex; align-items: center; gap: 2.2rem; flex-wrap: wrap;
  margin-bottom: 4.5rem;
}
.lp-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}
.lp-stat { padding: 1.4rem 1.5rem 0 0; }
.lp-stat + .lp-stat { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.lp-stat dt {
  font-family: var(--font-sans);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: .35rem;
}
.lp-stat dd {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--navy-900);
  line-height: 1;
}

/* ---- MARQUEE ---- */
.lp-marquee {
  background: var(--navy-900);
  border-block: 1px solid #0d0d0d;
  overflow: hidden;
  padding: 1.05rem 0;
}
.lp-marquee-track {
  display: flex;
  width: max-content;
  animation: lp-scroll 55s linear infinite;
}
.lp-marquee-run {
  display: flex; align-items: center;
  flex: 0 0 auto;
}
.lp-marquee-run span {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  font-style: italic;
  color: #f5f1e8;
  white-space: nowrap;
  padding: 0 1.6rem;
}
.lp-marquee-run i {
  font-style: normal;
  color: var(--gold-500);
  font-size: .85rem;
}
@keyframes lp-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---- I: FIRM ---- */
.lp-firm-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 4.5rem;
}
.lp-dropcap::first-letter {
  font-family: var(--font-heading);
  font-size: 4.4rem;
  font-weight: 600;
  float: left;
  line-height: .82;
  padding: .08em .12em 0 0;
  color: var(--gold-600);
}
.lp-firm-copy p { font-size: 1.06rem; line-height: 1.85; }
.lp-motto {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--navy-900);
  margin-top: 2.2rem;
}
.lp-firm-tenets {
  list-style: none; margin: 0; padding: 0;
  align-self: start;
}
.lp-firm-tenets li {
  padding: 1.3rem 0;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: .2rem;
}
.lp-firm-tenets li:last-child { border-bottom: 1px solid var(--line); }
.lp-firm-tenets strong {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy-900);
}
.lp-firm-tenets span { color: var(--ink-500); font-size: .95rem; }

/* ---- II: PRACTICE LEDGER ---- */
.lp-ledger { border-top: 1px solid var(--line); }
.lp-row {
  display: grid;
  grid-template-columns: 90px 1.1fr 1.6fr 60px;
  align-items: center;
  gap: 2rem;
  padding: 2.1rem 1rem;
  border-bottom: 1px solid var(--line);
  transition: background .3s ease;
}
.lp-row-num {
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--gold-600);
}
.lp-row-title {
  margin: 0;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 600;
  transition: color .3s ease;
}
.lp-row-lead {
  margin: 0;
  font-size: .95rem;
  color: var(--ink-500);
  transition: color .3s ease;
}
.lp-row-arrow {
  color: var(--gold-600);
  justify-self: end;
  transition: transform .3s ease, color .3s ease;
}
.lp-row:hover { background: var(--navy-900); }
.lp-row:hover .lp-row-title { color: #f5f1e8; }
.lp-row:hover .lp-row-lead { color: rgba(245,241,232,.72); }
.lp-row:hover .lp-row-arrow { color: var(--gold-500); transform: translateX(6px); }

/* ---- DIRECT LINE ---- */
.lp-direct {
  border-block: 1px solid var(--line);
  background: var(--surface-alt);
}
.lp-direct-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.lp-direct-grid a { min-width: 0; }
.lp-direct-v { overflow-wrap: anywhere; }
.lp-direct-grid a {
  display: flex; flex-direction: column; gap: .3rem;
  padding: 1.7rem 1.6rem;
  border-left: 1px solid var(--line);
  transition: background .25s ease;
}
.lp-direct-grid a:first-child { border-left: none; }
.lp-direct-grid a:hover { background: rgba(201,169,97,.09); }
.lp-direct-k {
  font-family: var(--font-sans);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-600);
}
.lp-direct-v {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--navy-900);
}

/* ---- III: COURTS (dark) ---- */
.lp-courts {
  background: var(--navy-900);
  padding: 6rem 0;
}
.lp-courts-statement {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4.4vw, 3.2rem);
  font-weight: 500;
  line-height: 1.25;
  color: #f5f1e8;
  max-width: 24ch;
  margin: 0 0 3.5rem;
}
.lp-courts-statement em {
  font-style: italic;
  color: var(--gold-500);
}
.lp-courts-list {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(245,241,232,.15);
}
.lp-courts-list li {
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(245,241,232,.8);
  padding: 1.3rem 1.2rem 1.3rem 0;
  border-bottom: 1px solid rgba(245,241,232,.15);
  position: relative;
}
.lp-courts-list li::before {
  content: "\00a7";
  color: var(--gold-500);
  margin-right: .6rem;
  font-family: var(--font-heading);
}

/* ---- IV: INSIGHTS ---- */
.lp-articles { border-top: 1px solid var(--line); }
.lp-article {
  display: grid;
  grid-template-columns: 220px 1fr 60px;
  align-items: center;
  gap: 2rem;
  padding: 1.9rem 1rem;
  border-bottom: 1px solid var(--line);
  transition: background .3s ease;
}
.lp-article-meta {
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.lp-article-title {
  margin: 0;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 600;
  line-height: 1.3;
  transition: color .3s ease;
}
.lp-article:hover { background: var(--surface-alt); }
.lp-article:hover .lp-article-title { color: var(--gold-600); }
.lp-article:hover .lp-row-arrow { transform: translateX(6px); }

/* ---- V: QUOTES ---- */
.lp-quotes {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  border-left: 1px solid var(--line);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.lp-quote {
  flex: 0 0 min(420px, 82vw);
  scroll-snap-align: start;
  margin: 0;
  padding: 2.2rem 2.4rem 2.4rem;
  border-right: 1px solid var(--line);
  position: relative;
}
.lp-quote::before {
  content: "\201C";
  font-family: var(--font-heading);
  font-size: 4rem;
  line-height: 1;
  color: var(--gold-500);
  display: block;
  margin-bottom: .6rem;
}
.lp-quote blockquote {
  margin: 0 0 1.4rem;
  font-family: var(--font-heading);
  font-size: 1.28rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.55;
  color: var(--ink-900);
}
.lp-quote figcaption {
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-500);
}

/* ---- VI: FAQ ---- */
.lp-faq { border-top: 1px solid var(--line); }
.lp-faq-item { border-bottom: 1px solid var(--line); }
.lp-faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: baseline; justify-content: space-between; gap: 2rem;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--navy-900);
  padding: 1.6rem .2rem;
  transition: color .2s ease;
}
.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-item summary::after {
  content: "+";
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--gold-600);
  flex: 0 0 auto;
  transition: transform .25s ease;
}
.lp-faq-item[open] summary::after { content: "\2212"; }
.lp-faq-item summary:hover { color: var(--gold-600); }
.lp-faq-item > p {
  margin: 0;
  padding: 0 .2rem 1.8rem;
  max-width: 62ch;
  color: var(--ink-700);
  line-height: 1.8;
}

/* ---- FINAL PLATE ---- */
.lp-final {
  position: relative;
  background:
    linear-gradient(rgba(6,6,6,.62), rgba(6,6,6,.74)),
    url('../images/bg-reception.jpg') center/cover no-repeat;
  padding: 7rem 0;
  text-align: center;
  border-top: 3px solid var(--gold-500);
}
.lp-final > .container { position: relative; z-index: 1; }

/* Reusable classy photo band: image behind, dark overlay, light text */
.photo-statement {
  position: relative;
  padding: 7rem 0;
  text-align: center;
  color: #f5f1e8;
  background:
    linear-gradient(rgba(6,6,6,.58), rgba(8,8,8,.72)),
    url('../images/bg-library.jpg') center/cover no-repeat;
  background-attachment: scroll;
}
.photo-statement .container { position: relative; z-index: 1; max-width: 820px; }
.photo-statement .lp-kicker { color: var(--gold-500); }
.photo-statement h2 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 500;
  color: #f5f1e8;
  line-height: 1.18;
  margin: 0 0 1.4rem;
}
.photo-statement h2 em { font-style: italic; color: var(--gold-500); }
.photo-statement p {
  color: rgba(245,241,232,.82);
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 60ch;
  margin: 0 auto;
}
.lp-final .lp-kicker { margin-bottom: 2rem; }
.lp-final-title {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 500;
  color: #f5f1e8;
  line-height: 1.12;
  margin: 0 0 3rem;
}
.lp-final-title em { font-style: italic; color: var(--gold-500); }
.lp-final-actions {
  display: flex; align-items: center; justify-content: center;
  gap: 2.4rem; flex-wrap: wrap;
}

/* ---- responsive ---- */
@media (max-width: 900px) {
  .lp-firm-grid { grid-template-columns: 1fr; gap: 3rem; }
  .lp-hero-stats { grid-template-columns: repeat(2, 1fr); border-top: none; }
  .lp-stat { border-top: 1px solid var(--line); }
  .lp-stat + .lp-stat { padding-left: 0; border-left: none; }
  .lp-stat:nth-child(even) { padding-left: 1.5rem; border-left: 1px solid var(--line); }
  .lp-courts-list { grid-template-columns: repeat(2, 1fr); }
  .lp-direct-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-direct-grid a { border-left: none; border-top: 1px solid var(--line); }
  .lp-direct-grid a:nth-child(even) { border-left: 1px solid var(--line); }
  .lp-direct-grid a:nth-child(-n+2) { border-top: none; }
}
@media (max-width: 700px) {
  .lp-sec { padding: 4rem 0; }
  .lp-row {
    grid-template-columns: 1fr 40px;
    grid-template-areas: "num arrow" "title arrow" "lead arrow";
    gap: .4rem 1rem;
    padding: 1.6rem .4rem;
  }
  .lp-row-num { grid-area: num; }
  .lp-row-title { grid-area: title; }
  .lp-row-lead { grid-area: lead; }
  .lp-row-arrow { grid-area: arrow; }
  .lp-article { grid-template-columns: 1fr 40px; grid-template-areas: "meta arrow" "title arrow"; gap: .4rem 1rem; }
  .lp-article-meta { grid-area: meta; }
  .lp-article-title { grid-area: title; }
  .lp-article .lp-row-arrow { grid-area: arrow; }
  .lp-courts-list { grid-template-columns: 1fr; }
  .lp-hero-mark { display: none; }
  .lp-faq-item summary { font-size: 1.2rem; }
}

/* =========================================================
   INNER PAGES — Chamber skin
   Re-skins the shared components (heroes, buttons, cards,
   FAQ, forms, blog cards) to match the landing page:
   ivory paper, ink, brass, hairlines, editorial serif.
   Appended last so it wins the cascade at equal specificity.
   ========================================================= */

/* ---- heroes: dark photo plates -> ivory editorial plates ---- */
.hero {
  background:
    linear-gradient(180deg, rgba(201,169,97,.05), rgba(201,169,97,0) 40%),
    var(--paper);
  color: var(--ink-900);
  padding: clamp(4rem, 9vh, 6.5rem) 0 4.5rem;
  border-bottom: 1px solid var(--line);
}
.hero::before { display: none; }
.hero-bg-glow { display: none; }

.hero h1 {
  color: var(--navy-900);
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
}
.hero h1 .accent {
  color: var(--gold-600);
  font-style: italic;
  font-weight: 500;
  background: none;
  -webkit-text-fill-color: currentColor;
}
.hero .lead { color: var(--ink-700); }
.hero .eyebrow { color: var(--gold-600); }

.hero .cta-btn.ghost {
  background: transparent;
  color: var(--navy-900);
  border: 1px solid var(--ink-300);
}
.hero .cta-btn.ghost:hover {
  background: transparent;
  border-color: var(--gold-600);
  color: var(--gold-600);
}

/* ---- buttons: engraved plates ---- */
.cta-btn {
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  border-radius: 0;
  padding: 1rem 1.8rem;
  border: 1px solid transparent;
}
.cta-btn:hover { transform: none; }
.cta-btn.gold {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: #0a0a0a;
  box-shadow: none;
}
.cta-btn.gold:hover {
  background: transparent;
  border-color: var(--gold-600);
  color: var(--gold-600);
  box-shadow: none;
}
.cta-strip .cta-btn.gold:hover,
.court-band .cta-btn.gold:hover {
  border-color: var(--gold-500);
  color: var(--gold-500);
}
.cta-btn.ghost { border-radius: 0; }
.lead-link {
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-900);
}
.lead-link:hover { color: var(--gold-600); }
.lead-link .icon { color: var(--gold-600); }

/* ---- stat circles -> engraved rings ---- */
.hero-stats-circles::before { display: none; }
.stat-circle {
  background: transparent;
  border: 1px solid var(--line);
  box-shadow: none;
  color: var(--ink-900);
}
.stat-circle strong {
  font-family: var(--font-heading);
  color: var(--navy-900);
  font-weight: 600;
}
.stat-circle span {
  font-family: var(--font-sans);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-500);
}

/* ---- about hero cred strip on ivory ---- */
.hero-about .about-stats li { color: var(--ink-700); background: transparent; border: 1px solid var(--line); box-shadow: none; }
.hero-about .about-stats .cred-icon { color: var(--gold-600); background: transparent; border: 1px solid var(--line); }

/* ---- cards: shadows -> hairlines ---- */
.card,
.blog-card,
.quote-card,
.team-card,
.pf-card,
.branch-card,
.info-card,
.content-block {
  border-radius: 0;
  box-shadow: none;
  border: 1px solid var(--line);
  background: var(--white);
}
.card:hover,
.team-card:hover,
.blog-card:hover,
.pf-card:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--gold-600);
}

.icon-wrap {
  background: transparent;
  border: 1px solid var(--gold-600);
  color: var(--gold-600);
  border-radius: 50%;
}

/* ---- blog cards: editorial ---- */
.blog-thumb {
  background: transparent;
  color: var(--gold-600);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}
.blog-tag {
  background: transparent;
  border: 1px solid var(--gold-600);
  color: var(--gold-600);
  border-radius: 0;
  font-family: var(--font-sans);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.blog-meta { font-family: var(--font-sans); letter-spacing: .04em; }

/* ---- practice-area cards ---- */
.pf-icon {
  background: transparent;
  border: 1px solid var(--gold-600);
  color: var(--gold-600);
  border-radius: 50%;
  box-shadow: none;
}
.pf-num {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 600;
  color: var(--gold-600);
  opacity: 1;
}
.pf-link {
  font-family: var(--font-sans);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* ---- team cards (about) ---- */
.team-avatar {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--gold-600);
  border-radius: 50%;
}

/* ---- FAQ: cards -> hairline ledger ---- */
.faq-container { border-top: 1px solid var(--line); }
.faq-item.card {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}
.faq-item.card:hover { border-color: var(--line); border-bottom-color: var(--gold-600); }
.faq-question {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy-900);
}
.faq-question:hover { color: var(--gold-600); }
.faq-icon { color: var(--gold-600); }

/* ---- CTA strip: black plate with brass rule ---- */
.cta-strip {
  background: var(--navy-900);
  border-radius: 0;
  border: none;
  border-top: 3px solid var(--gold-500);
  box-shadow: none;
}
.cta-strip h2 {
  color: #f5f1e8;
  font-weight: 500;
}
.cta-strip p { color: rgba(245,241,232,.72); }

/* ---- contact: hero card + forms ---- */
.hero-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  color: var(--ink-900);
}
.hero-card h2 { color: var(--navy-900); }
.hero-card .row { border-color: var(--line); }
.hero-card .row strong { color: var(--navy-900); }
.hero-card .row span { color: var(--ink-500); }
.hero-card .row .icon {
  color: var(--gold-600);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.hero-card .row a:hover strong { color: var(--gold-600); }

.input {
  border-radius: 0;
  border: 1px solid var(--ink-300);
  background: var(--white);
  font-family: var(--font-sans);
}
.input:focus {
  border-color: var(--gold-600);
  outline: none;
  box-shadow: 0 0 0 1px var(--gold-600);
}

/* ---- article page ---- */
.post-hero-meta { font-family: var(--font-sans); letter-spacing: .06em; }
.post-hero-meta, .post-hero-meta span { color: var(--ink-500); }
.post-body .post-toc {
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  background: var(--surface-alt);
}
.post-byline { color: var(--ink-500); }

/* ---- header: full logo lockup image ---- */
:root { --header-h: 96px; }
.brand-logo-img { height: 74px; width: auto; display: block; }
@media (max-width: 720px) {
  :root { --header-h: 72px; }
  .brand-logo-img { height: 52px; }
}

/* ---- mobile overflow fixes: bottom tabs + footer socials ---- */
.bottom-tabs a { flex: 1 1 0; min-width: 0; }
.bottom-tabs a span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.social-links { flex-wrap: wrap; }
.footer-brand, .footer-col { min-width: 0; }

/* The global reduced-motion rule freezes the marquee mid-word, which reads
   as broken. The band is decorative and slow; keep it moving regardless. */
@media (prefers-reduced-motion: reduce) {
  .lp-marquee-track { animation: lp-scroll 55s linear infinite !important; }
}

/* ---- theme-treated photography ---- */
.lp-figure {
  margin: 0 0 2.2rem;
  border: 1px solid var(--line);
  background: var(--white);
  padding: .55rem;
}
.lp-figure img { display: block; width: 100%; height: auto; }
.lp-figure figcaption {
  font-family: var(--font-sans);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-500);
  padding: .8rem .35rem .35rem;
}
.lp-courts {
  background:
    linear-gradient(rgba(5,5,5,.5), rgba(5,5,5,.72)),
    url('../images/photo-columns-dark.jpg') center/cover no-repeat,
    var(--navy-900);
}

/* ---- contact page: map + office details ---- */
.lp-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}
.lp-map {
  border: 1px solid var(--line);
  background: var(--white);
  padding: .55rem;
}
.lp-map iframe {
  display: block;
  width: 100%;
  border: 0;
  filter: grayscale(1) contrast(1.02);
}
@media (max-width: 900px) {
  .lp-contact-grid { grid-template-columns: 1fr; }
}

/* ---- blog article tables ---- */
.post-body .table-wrap { overflow-x: auto; margin: 2rem 0; border: 1px solid var(--line); }
.post-body table.post-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 640px; }
.post-body table.post-table th {
  text-align: left;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-600);
  background: var(--surface-alt);
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.post-body table.post-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  color: var(--ink-700);
  line-height: 1.55;
  vertical-align: top;
}
.post-body table.post-table td:last-child { border-right: none; }
.post-body table.post-table tr:last-child td { border-bottom: none; }
.post-body table.post-table td:first-child { color: var(--navy-900); font-weight: 600; font-family: var(--font-heading); font-size: 1.05rem; }
