/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #080f1c;
  --navy-2:    #0e1e35;
  --navy-3:    #162b4a;
  --navy-4:    #1e3a60;
  --blue:      #1d5fa6;
  --gold:      #c9a84c;
  --gold-2:    #ddb96b;
  --gold-3:    #e8cc8a;
  --gold-dim:  rgba(201,168,76,0.12);
  --gold-line: rgba(201,168,76,0.2);
  --cream:     #faf8f4;
  --light:     #f0f4f9;
  --white:     #ffffff;
  --gray:      #cdd5e0;
  --gray-2:    #e4eaf3;
  --text:      #0c1625;
  --text-2:    #4a5568;
  --text-3:    #94a3b8;
  --radius:    4px;
  --radius-lg: 10px;
  --shadow-sm: 0 2px 8px rgba(8,15,28,0.10);
  --shadow:    0 4px 24px rgba(8,15,28,0.14);
  --shadow-md: 0 10px 40px rgba(8,15,28,0.18);
  --shadow-lg: 0 24px 64px rgba(8,15,28,0.24);
  --ease:      0.25s ease;
}

html { scroll-behavior: smooth; }

/* ===== Scroll Progress Bar ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-2) 60%, var(--gold-3) 100%);
  box-shadow: 0 0 10px rgba(201, 168, 76, 0.55);
  z-index: 10001;
  pointer-events: none;
  transition: width 0.08s linear;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.12; }
h1 { font-size: clamp(3rem, 5.5vw, 4.8rem); font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 600; letter-spacing: -0.015em; }
h3 { font-size: 1.18rem; font-weight: 600; }
a { text-decoration: none; color: inherit; transition: color var(--ease); }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== Layout ===== */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 110px 48px;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: center;
}

/* ===== Eyebrow / Labels ===== */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.9s cubic-bezier(.2,.9,.2,1) 0.1s;
}
.section-eyebrow.revealed::before { transform: scaleX(1); }
/* Hero eyebrow + any eyebrow without scroll reveal keeps the line */
#hero .section-eyebrow::before,
.section-header.light .section-eyebrow::before { transform: scaleX(1); }
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 72px;
}
.section-header .section-eyebrow { justify-content: center; }
.section-header .section-eyebrow::before { display: none; }
.section-header h2 { margin-bottom: 18px; }
.section-desc { color: var(--text-2); font-size: 1.05rem; line-height: 1.85; font-weight: 300; }
.section-header.light h2 { color: var(--white); }
.section-header.light .section-desc { color: rgba(255,255,255,0.5); }
.section-header.light .section-eyebrow { color: var(--gold-2); }
.section-header.light .section-eyebrow::before { background: var(--gold-2); display: none; }

/* ===== Buttons ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: var(--radius);
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
  box-shadow: 0 4px 20px rgba(201,168,76,0.35);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.55) 50%, transparent 100%);
  transform: skewX(-22deg);
  transition: left 0.7s cubic-bezier(.2,.9,.2,1);
  pointer-events: none;
}
.btn-primary:hover::before { left: 140%; }
.btn-primary:hover {
  background: var(--gold-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201,168,76,0.5);
}
.btn-primary.full-width { width: 100%; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.82);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 15px 32px;
  border-radius: var(--radius);
  transition: all var(--ease);
}
.btn-ghost:hover {
  border-color: rgba(201,168,76,0.55);
  color: var(--gold-2);
  background: rgba(201,168,76,0.06);
}

/* ===== Navbar ===== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
#navbar::before {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 30%, var(--gold-2) 70%, transparent 100%);
  opacity: 0.7;
}
#navbar.scrolled {
  background: var(--navy);
  box-shadow: 0 1px 0 rgba(201,168,76,0.08), 0 12px 40px rgba(0,0,0,0.5);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ===== Logo: Navbar Emblem ===== */
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform var(--ease);
}
.nav-logo:hover { transform: scale(1.04); }
.nav-logo-img {
  display: block;
  height: 48px;
  width: auto;
}

.nav-links { display: flex; align-items: center; gap: 38px; }
.nav-links li > a {
  color: rgba(255,255,255,0.65);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--ease);
  position: relative;
}
.nav-links li > a:hover { color: var(--gold-2); }
.nav-links li > a.active { color: var(--gold-2); }
.nav-links li > a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: navActiveSlide 0.45s cubic-bezier(.2,.9,.2,1);
}
.nav-links li > a.nav-cta.active::after { display: none; }
@keyframes navActiveSlide {
  from { opacity: 0; transform: scaleX(0.3); }
  to   { opacity: 1; transform: scaleX(1); }
}
.nav-cta {
  background: transparent !important;
  color: var(--gold) !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  border: 1px solid rgba(201,168,76,0.45) !important;
  padding: 9px 24px !important;
  border-radius: var(--radius) !important;
  text-transform: uppercase !important;
  font-size: 0.72rem !important;
  transition: all var(--ease) !important;
}
.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--navy) !important;
  border-color: var(--gold) !important;
}

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: rgba(255,255,255,0.8); border-radius: 2px; transition: all var(--ease); }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu { display: none; background: var(--navy); padding: 16px 48px 32px; border-top: 1px solid rgba(201,168,76,0.08); }
.mobile-menu.open { display: block; }
.mobile-menu ul { display: flex; flex-direction: column; }
.mobile-menu a { display: block; color: rgba(255,255,255,0.7); font-size: 0.88rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.mobile-cta { margin-top: 16px !important; background: var(--gold) !important; color: var(--navy) !important; font-weight: 700 !important; padding: 14px 24px !important; border-radius: var(--radius); text-align: center; border-bottom: none !important; display: block; }

/* ===== Hero — muted navy + warm white glow around statue ===== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    /* Subtle cool-cream halo behind the photo, much deeper than before */
    radial-gradient(ellipse 60% 75% at 82% 50%, rgba(80, 105, 145, 0.16) 0%, transparent 65%),
    /* Slight top-left lift */
    radial-gradient(ellipse 45% 55% at 5% 0%, rgba(255,255,255,0.04) 0%, transparent 55%),
    /* Deepening shadow at bottom-left */
    radial-gradient(ellipse 60% 70% at 0% 100%, rgba(0,0,0,0.45) 0%, transparent 60%),
    /* Base navy — significantly darker, more serious */
    linear-gradient(135deg, #07101f 0%, #0d1a30 50%, #14253f 100%);
  overflow: hidden;
}
/* Animated 1px grid overlay — barely-there architecture lines that drift slowly.
   Masked to fade at edges so it never feels boxed-in. */
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.07) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 60%, #000 20%, rgba(0,0,0,0.45) 55%, transparent 90%);
  mask-image: radial-gradient(ellipse 80% 70% at 30% 60%, #000 20%, rgba(0,0,0,0.45) 55%, transparent 90%);
  animation: heroGridDrift 40s linear infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes heroGridDrift {
  from { background-position: 0 0; }
  to   { background-position: 72px 72px; }
}
@media (prefers-reduced-motion: reduce) {
  #hero::after { animation: none; }
}

/* Cursor spotlight removed per user request. */

/* Attorney portrait — studio headshot on a dark backdrop.
   The photo's own dark navy background blends with the hero gradient.
   A soft radial mask dissolves all four edges so there's no visible rectangle. */
.attorney-hero {
  position: absolute;
  /* Anchor the figure to the bottom of the hero — its bottom always lines up
     with the top of the marquee strip below. Larger height = taller, fuller
     presence; the top of the figure may extend behind the fixed navbar
     (overflow:hidden on the hero clips anything above the viewport). */
  bottom: 0;
  top: auto;
  right: max(3%, calc((100vw - 1440px) / 2 + 40px));
  /* Bigger overall: height scales the figure proportionally (width:auto). */
  height: clamp(750px, 108vh, 1180px);
  width: auto;
  max-width: 65vw;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
  /* The PNG has a true transparent background — no mask trickery needed.
     Just enrich the figure with shadows + a subtle gold halo behind. */
  filter:
    contrast(1.04)
    saturate(1.04)
    brightness(1.02)
    drop-shadow(0 10px 22px rgba(0, 0, 0, 0.42))
    drop-shadow(0 32px 60px rgba(0, 0, 0, 0.28))
    drop-shadow(0 0 90px rgba(201, 168, 76, 0.10));
}
/* Warm ambient halo behind the figure — sets the luxury tone and helps the silhouette blend */
#hero::before {
  content: '';
  position: absolute;
  top: 60px;
  right: 0;
  width: clamp(520px, 50vw, 720px);
  aspect-ratio: 3 / 4;
  background:
    radial-gradient(ellipse 60% 55% at 55% 45%, rgba(201,168,76,0.18) 0%, rgba(201,168,76,0.07) 40%, transparent 72%),
    radial-gradient(ellipse 80% 70% at 55% 50%, rgba(20,38,68,0.55) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.hero-container {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 160px 48px 140px;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
}
#hero h1 {
  color: #f5f1e8;
  margin-bottom: 28px;
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.6rem, 7.2vw, 6.6rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 0 2px 30px rgba(0,0,0,0.25);
}
#hero h1 em {
  font-style: normal;
  font-weight: 900;
  background: linear-gradient(120deg,
    #8c6e2d 0%,
    #c9a84c 18%,
    #e8cc8a 38%,
    #fff4d4 48%,
    #ffe9b3 52%,
    #e8cc8a 62%,
    #c9a84c 82%,
    #8c6e2d 100%);
  background-size: 220% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #c9a84c;
  display: inline-block;
  animation: justiceShimmer 6.5s ease-in-out 1.2s infinite;
}
@keyframes justiceShimmer {
  0%   { background-position: 100% 0; }
  40%  { background-position: -120% 0; }
  100% { background-position: -120% 0; }
}

/* Hero headline stagger — lines reveal sequentially on load */
#hero .h1-line {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px);
}
body.loaded #hero .h1-line-1 { animation: heroLineIn 1s cubic-bezier(.2,.9,.2,1) 0.15s forwards; }
body.loaded #hero .h1-line-2 { animation: heroLineIn 1s cubic-bezier(.2,.9,.2,1) 0.38s forwards; }
body.loaded #hero .h1-line-3 { animation: heroLineIn 1s cubic-bezier(.2,.9,.2,1) 0.62s forwards; }
#hero .hero-sub, #hero .hero-actions { opacity: 0; transform: translateY(20px); }
body.loaded #hero .hero-sub   { animation: heroLineIn 0.9s cubic-bezier(.2,.9,.2,1) 0.9s forwards; }
body.loaded #hero .hero-actions { animation: heroLineIn 0.9s cubic-bezier(.2,.9,.2,1) 1.1s forwards; }
#hero .attorney-hero { opacity: 0; }
body.loaded #hero .attorney-hero { animation: heroStatueIn 1.4s cubic-bezier(.2,.9,.2,1) 0.3s forwards, heroFloat 10s ease-in-out 1.7s infinite; }
@keyframes heroLineIn {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroStatueIn {
  from { opacity: 0; transform: translateY(30px) scale(1.02); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.hero-sub {
  color: rgba(245, 241, 232, 0.75);
  font-size: 1rem;
  max-width: 460px;
  margin-bottom: 40px;
  line-height: 1.65;
  font-weight: 400;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* Primary button — warm white pill with dark text (contrasts with navy bg) */
#hero .btn-primary {
  border-radius: 999px;
  padding: 16px 32px;
  background: #f5f1e8;
  color: #1f3254;
  box-shadow: 0 8px 24px rgba(0,0,0,0.22);
}
#hero .btn-primary:hover {
  background: #ffffff;
  color: var(--navy);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

/* Ghost = outlined light pill */
#hero .btn-ghost {
  border-radius: 999px;
  padding: 16px 32px;
  border: 1px solid rgba(245,241,232,0.35);
  background: rgba(245,241,232,0.06);
  color: #f5f1e8;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
#hero .btn-ghost:hover {
  background: rgba(245,241,232,0.14);
  border-color: rgba(245,241,232,0.6);
  color: #ffffff;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: max(48px, calc((100vw - 1400px) / 2 + 48px));
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(245,241,232,0.45);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  z-index: 4;
}
.scroll-line {
  width: 44px;
  height: 1px;
  background: linear-gradient(to right, rgba(201,168,76,0.7), transparent);
  animation: lineAnim 2.5s ease infinite;
}
@keyframes lineAnim {
  0%, 100% { width: 32px; opacity: 0.45; }
  50% { width: 56px; opacity: 0.9; }
}

/* Hidden backdrop text from earlier versions */
.hero-grid, .hero-glow-1, .hero-glow-2, .hero-backdrop-text, .hero-image-glow, .hero-eyebrow, .hero-trust { display: none; }

/* Hero responsive */
@media (max-width: 900px) {
  .attorney-hero {
    position: relative;
    display: block;
    right: auto;
    top: auto;
    margin: 0 auto -20px;
    width: 78%;
    max-width: 420px;
  }
  #hero::before { display: none; }
  .hero-container {
    padding: 120px 28px 80px;
    text-align: center;
  }
  .hero-content { max-width: 100%; margin: 0 auto; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-scroll-hint { display: none; }
  #hero h1 { font-size: clamp(2.4rem, 10vw, 3.6rem); }
}

/* ===== Stats ===== */
#stats {
  background: var(--navy-2);
  border-top: 1px solid rgba(201,168,76,0.08);
  border-bottom: 1px solid rgba(201,168,76,0.08);
}
.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: stretch;
}
.stat { padding: 56px 40px; text-align: center; flex: 1; }
.stat-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.stat-label {
  display: block;
  font-size: 0.64rem;
  font-weight: 600;
  color: rgba(255,255,255,0.32);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.stat-divider { width: 1px; background: rgba(201,168,76,0.08); margin: 30px 0; }

/* ===== About ===== */
#about { background: var(--white); }

.about-image { position: relative; }
/* Top-align the about columns so the photo aligns to the heading,
   then offset by the eyebrow's height + margin so the photo top lines up
   with "Antonelly Vargas" instead of starting above "Meet the Attorney". */
#about .two-col { align-items: start; }
#about .about-image { padding-top: 38px; }
.image-block {
  position: relative;
  display: inline-block;
  width: 100%;
  padding: 18px;
}
/* Top-left offset gold border — gives the "framed art" depth */
.image-accent {
  position: absolute;
  top: -8px; left: -8px;
  width: calc(100% + 16px); height: calc(100% + 16px);
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  opacity: 0.45;
  pointer-events: none;
}
/* Two corner brackets — top-left + bottom-right — sit on the photo edge for "framed" feel */
.image-block::before,
.image-block::after {
  content: '';
  position: absolute;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(201, 168, 76, 0.7);
  pointer-events: none;
  z-index: 2;
}
.image-block::before {
  top: 0; left: 0;
  border-right: none;
  border-bottom: none;
}
.image-block::after {
  bottom: 0; right: 0;
  border-left: none;
  border-top: none;
}
.image-placeholder {
  position: relative;
  border-radius: var(--radius-md, 4px);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(170deg, #d4e1f0 0%, #b8cfe8 100%);
  aspect-ratio: 4/5;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.image-placeholder svg { width: 65%; height: auto; }
.attorney-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.3s cubic-bezier(.2,.9,.2,1);
}
.about-image.visible .attorney-photo,
.about-image.fade-up.visible .attorney-photo { clip-path: inset(0 0 0 0); }

.about-text { padding-left: 8px; }
.about-text h2 { color: var(--navy); margin-bottom: 10px; }
.about-text > p { color: var(--text-2); margin-bottom: 18px; font-size: 1rem; line-height: 1.9; font-weight: 300; }

.about-title {
  color: var(--gold);
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  margin-bottom: 32px !important;
  line-height: 1.4 !important;
}

/* Credentials grid */
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 28px;
  margin: 34px 0 40px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(201,168,76,0.04) 0%, rgba(201,168,76,0) 100%);
  border: 1px solid rgba(201,168,76,0.18);
  border-radius: var(--radius-lg);
}
.credential {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.credential-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.25);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.credential-label {
  font-size: 0.6rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: var(--gold) !important;
  margin-bottom: 5px !important;
  line-height: 1.2 !important;
}
.credential-value {
  font-size: 0.82rem !important;
  color: var(--text) !important;
  line-height: 1.5 !important;
  font-weight: 500 !important;
  margin: 0 !important;
}

/* About image badge overlay */
.about-image-badge {
  position: absolute;
  bottom: -24px;
  right: -20px;
  background: var(--navy);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 16px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 128px;
  box-shadow: 0 18px 40px rgba(8,15,28,0.25);
  z-index: 2;
}
.badge-years {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
}
.badge-label {
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: 6px;
  text-align: center;
  line-height: 1.35;
}

/* ===== Practice Areas ===== */
#practice-areas { background: var(--navy); }
#practice-areas .section-header h2 { color: var(--white); }
#practice-areas .section-desc { color: rgba(255,255,255,0.42); }

.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.areas-3 {
  max-width: 960px;
  margin: 0 auto;
}
.area-card {
  background: var(--navy-2);
  padding: 48px 36px;
  transition: background var(--ease);
  position: relative;
  overflow: hidden;
}
.area-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 36px; right: 36px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.2), transparent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.area-card:hover { background: var(--navy-3); }
.area-card:hover::before { transform: scaleX(1); }

.area-icon {
  width: 52px;
  height: 52px;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 28px;
  transition: background 0.45s cubic-bezier(.2,.9,.2,1),
              border-color 0.45s cubic-bezier(.2,.9,.2,1),
              transform 0.5s cubic-bezier(.34,1.4,.64,1),
              box-shadow 0.45s ease;
}
.area-icon svg { transition: transform 0.5s cubic-bezier(.2,.9,.2,1); }
.area-card:hover .area-icon {
  background: rgba(201,168,76,0.18);
  border-color: rgba(201,168,76,0.45);
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 0 0 6px rgba(201,168,76,0.06), 0 8px 22px rgba(201,168,76,0.18);
}
.area-card:hover .area-icon svg { transform: scale(1.08); }
.area-card h3 { color: var(--white); margin-bottom: 14px; font-size: 1.12rem; font-weight: 600; }
.area-card p { color: rgba(255,255,255,0.45); font-size: 0.88rem; margin-bottom: 28px; line-height: 1.8; }
.area-link {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color var(--ease), letter-spacing var(--ease);
}
.area-link:hover { color: var(--gold-2); letter-spacing: 0.2em; }

/* ===== Why Us ===== */
#why-us {
  background: var(--cream);
  position: relative;
}
#why-us .section-header h2 { color: var(--navy); }
#why-us .section-desc { color: var(--text-2); }
#why-us .section-eyebrow { color: var(--gold); }

.why-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  position: relative;
  z-index: 1;
}
.why-card {
  background: var(--white);
  border: 1px solid var(--gray-2);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  transition: all var(--ease);
  position: relative;
  overflow: hidden;
  flex: 0 1 calc((100% - 48px) / 3);
  min-width: 260px;
}
.why-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 30%, var(--gold-2) 70%, transparent 100%);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.5s cubic-bezier(.2,.9,.2,1);
}
.why-card:hover { border-color: transparent; box-shadow: var(--shadow-md); transform: translateY(-4px); }
.why-card:hover::after { transform: scaleX(1); }
.why-card .why-num { transition: transform 0.45s cubic-bezier(.34,1.4,.64,1); }
.why-card:hover .why-num { transform: translateY(-2px); letter-spacing: -0.04em; }
.why-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 1;
  line-height: 1;
  margin-bottom: 16px;
  user-select: none;
  letter-spacing: -0.02em;
  display: inline-block;
  position: relative;
}
.why-num::after {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: var(--gold);
  margin-top: 10px;
  opacity: 0.6;
}
.why-card h3 { color: var(--navy); margin-bottom: 14px; font-size: 1.12rem; }
.why-card p { color: var(--text-2); font-size: 0.91rem; line-height: 1.82; font-weight: 300; }

/* ===== Testimonials ===== */
#testimonials { background: var(--navy-2); }

.testimonials-carousel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}
.carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.06);
}
.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.22, 0.9, 0.3, 1);
  will-change: transform;
}
.carousel-track .testimonial-card {
  flex: 0 0 calc((100% - 2px) / 3);
  border-right: 1px solid rgba(255,255,255,0.05);
  border-radius: 0;
}
.carousel-track .testimonial-card:last-child { border-right: none; }

.testimonial-card {
  background: var(--navy);
  padding: 44px 36px;
  transition: background var(--ease);
  position: relative;
  display: flex;
  flex-direction: column;
}
.testimonial-card:hover { background: rgba(22,43,74,0.8); }

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy);
  border: 1px solid rgba(201,168,76,0.35);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--ease);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.carousel-arrow:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  transform: translateY(-50%) scale(1.06);
}
.carousel-arrow:disabled {
  opacity: 0.25;
  cursor: not-allowed;
  transform: translateY(-50%);
}
.carousel-arrow:disabled:hover { background: var(--navy); color: var(--gold); border-color: rgba(201,168,76,0.35); transform: translateY(-50%); }
.carousel-prev { left: -26px; }
.carousel-next { right: -26px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}
.carousel-dot {
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.12);
  border: none;
  cursor: pointer;
  transition: all var(--ease);
  padding: 0;
}
.carousel-dot:hover { background: rgba(201,168,76,0.4); }
.carousel-dot.active {
  background: var(--gold);
  width: 44px;
}

.quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 4.5rem;
  color: var(--gold);
  opacity: 0.25;
  line-height: 0.7;
  display: block;
  margin-bottom: 18px;
  transform: scale(0.2) rotate(-8deg);
  transform-origin: top left;
  transition: transform 0.8s cubic-bezier(.34,1.56,.64,1), opacity 0.6s ease;
}
.testimonial-card.visible .quote-mark,
.testimonial-card.fade-up.visible .quote-mark { transform: scale(1) rotate(0); opacity: 0.35; }
.testimonial-card:hover .quote-mark { opacity: 0.55; color: var(--gold-2); }
.stars { color: var(--gold); font-size: 0.78rem; letter-spacing: 4px; margin-bottom: 18px; }
.testimonial-card p {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  line-height: 1.88;
  margin-bottom: 32px;
  font-style: italic;
  font-weight: 300;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.2);
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 0.85rem; color: var(--white); margin-bottom: 3px; font-weight: 600; }
.testimonial-author span { font-size: 0.72rem; color: rgba(255,255,255,0.35); letter-spacing: 0.04em; }

/* ===== Contact ===== */
#contact { overflow: hidden; }
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 740px;
}

.contact-navy {
  background: var(--navy);
  padding: 96px 72px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-right: 1px solid rgba(201,168,76,0.08);
}
.contact-navy::before {
  content: '';
  position: absolute;
  width: 560px; height: 560px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.05);
  bottom: -180px; right: -180px;
  pointer-events: none;
}
.contact-navy::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29,95,166,0.1) 0%, transparent 70%);
  top: -60px; left: -60px;
  pointer-events: none;
}
.contact-navy-inner { max-width: 420px; position: relative; z-index: 1; }
.contact-navy .section-eyebrow { color: var(--gold-2); }
.contact-navy h2 { color: var(--white); font-size: clamp(1.9rem, 2.8vw, 2.6rem); margin-bottom: 18px; }
.contact-navy > div > p { color: rgba(255,255,255,0.45); margin-bottom: 48px; line-height: 1.88; font-size: 0.95rem; font-weight: 300; }

.contact-details { display: flex; flex-direction: column; gap: 26px; }
.contact-item { display: flex; align-items: flex-start; gap: 18px; }
.contact-icon-wrap {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.contact-item strong {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 5px;
}
.contact-item a, .contact-item span {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  line-height: 1.65;
}
.contact-item a:hover { color: var(--gold-2); }

.contact-white {
  background: var(--white);
  padding: 96px 72px;
  display: flex;
  align-items: center;
}
.contact-form-inner { width: 100%; max-width: 480px; }
.contact-form-inner h3 { font-size: 1.8rem; color: var(--navy); margin-bottom: 8px; }
.contact-form-inner > p { color: var(--text-2); font-size: 0.88rem; margin-bottom: 36px; font-weight: 300; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.form-group label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  padding: 13px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--ease), box-shadow var(--ease);
  outline: none;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-3); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.form-group textarea { resize: vertical; min-height: 108px; }
.form-disclaimer { font-size: 0.7rem; color: var(--text-3); margin-bottom: 20px; line-height: 1.7; }
.form-success {
  margin-top: 14px;
  padding: 14px 18px;
  background: rgba(22,163,74,0.06);
  border: 1px solid rgba(22,163,74,0.2);
  border-radius: var(--radius);
  color: #166534;
  font-size: 0.88rem;
  font-weight: 600;
}
.hidden { display: none !important; }

/* ===== Footer ===== */
#footer { background: var(--navy); border-top: 1px solid rgba(201,168,76,0.08); }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 80px 48px 40px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 80px;
  padding-bottom: 40px;
  margin-bottom: 20px;
}
.footer-logo {
  margin: 0 0 22px 0;
  display: block;
}
.footer-logo-img {
  display: block;
  height: 70px;
  width: auto;
  margin-bottom: 14px;
}
.footer-brand p { font-size: 0.84rem; line-height: 1.78; max-width: 240px; color: rgba(255,255,255,0.28); font-weight: 300; }

/* Centered social row */
.footer-social-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 18px 0 42px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 28px;
}
.footer-social-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.footer-social {
  display: flex;
  gap: 16px;
}
.footer-social a {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(201, 168, 76, 0.4);
  background: rgba(201, 168, 76, 0.04);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(.16,1,.3,1);
}
.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(201, 168, 76, 0.28);
}
.footer-social svg {
  width: 20px;
  height: 20px;
  display: block;
}
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 22px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col li { font-size: 0.84rem; color: rgba(255,255,255,0.32); transition: color var(--ease); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { display: flex; flex-direction: column; gap: 8px; }
.footer-bottom p { font-size: 0.76rem; color: rgba(255,255,255,0.2); }
.footer-disclaimer { font-size: 0.68rem !important; line-height: 1.7; }

/* ===== Our Process ===== */
#process { background: var(--cream); position: relative; }
#process .section-header h2 { color: var(--navy); }
#process .section-desc { color: var(--text-2); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.process-step {
  padding: 0 24px 0 0;
  position: relative;
}
.process-step:last-child { padding-right: 0; }
.process-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
  display: inline-block;
  position: relative;
  z-index: 1;
  background: var(--cream);
  padding-right: 16px;
}
.process-line {
  position: absolute;
  top: 18px;
  left: 68px;
  right: -8px;
  height: 1px;
  background: linear-gradient(90deg, rgba(201,168,76,0.5) 0%, rgba(201,168,76,0.08) 100%);
  z-index: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1s cubic-bezier(.2,.9,.2,1) 0.25s;
}
.process-step.visible .process-line { transform: scaleX(1); }
.process-step .process-num { transition: transform 0.5s cubic-bezier(.34,1.4,.64,1), color 0.3s ease; }
.process-step.visible .process-num { animation: numPop 0.7s cubic-bezier(.34,1.56,.64,1) 0.1s both; }
@keyframes numPop {
  0%   { transform: scale(0.7); opacity: 0; }
  60%  { transform: scale(1.06); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.process-step h3 {
  color: var(--navy);
  margin-bottom: 12px;
  font-size: 1.05rem;
  letter-spacing: -0.005em;
}
.process-step p {
  color: var(--text-2);
  font-size: 0.86rem;
  line-height: 1.72;
  font-weight: 300;
}

/* ===== Case Results ===== */
#results { background: var(--white); }

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.result-card {
  background: var(--white);
  border: 1px solid var(--gray-2);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  position: relative;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.result-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--gold-2);
}
.result-headline {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.result-detail {
  color: var(--text-2);
  font-size: 0.88rem;
  line-height: 1.75;
  margin-bottom: 20px;
  font-weight: 300;
}
.result-type {
  font-size: 0.6rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: var(--gold) !important;
  padding-top: 14px;
  border-top: 1px solid rgba(201,168,76,0.2);
  display: block;
  margin: 0 !important;
}
.results-disclaimer {
  font-size: 0.75rem;
  color: var(--text-3);
  text-align: center;
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto;
  font-style: italic;
}

/* ===== Emergency Strip ===== */
#emergency-strip {
  background: linear-gradient(135deg, var(--navy-3) 0%, var(--navy) 65%, var(--navy-2) 100%);
  border-top: 1px solid rgba(201,168,76,0.22);
  border-bottom: 1px solid rgba(201,168,76,0.22);
  position: relative;
  overflow: hidden;
}
#emergency-strip::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.6), transparent);
}
#emergency-strip::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.4), transparent);
}
.emergency-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 38px 48px;
  display: flex;
  align-items: center;
  gap: 28px;
  position: relative;
  z-index: 1;
}
.emergency-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.emergency-icon::before,
.emergency-icon::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.55);
  pointer-events: none;
  animation: emergencyPulse 2.4s cubic-bezier(.2,.7,.4,1) infinite;
}
.emergency-icon::after { animation-delay: 1.2s; }
@keyframes emergencyPulse {
  0%   { transform: scale(1); opacity: 0.85; }
  80%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}
.emergency-text { flex: 1; }
.emergency-eyebrow {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.emergency-headline {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.28;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.emergency-sub {
  color: rgba(255,255,255,0.58);
  font-size: 0.84rem;
  font-weight: 300;
  line-height: 1.55;
}
.emergency-cta {
  background: var(--gold);
  color: var(--navy);
  padding: 16px 30px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all var(--ease);
  flex-shrink: 0;
  box-shadow: 0 8px 28px rgba(201,168,76,0.3);
}
.emergency-cta:hover {
  background: var(--gold-2);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(201,168,76,0.45);
}
.emergency-cta-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.78;
  margin-bottom: 3px;
}
.emergency-cta-number {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.005em;
}

/* ===== FAQ ===== */
#faq { background: var(--cream); }
#faq .section-header h2 { color: var(--navy); }
#faq .section-desc { color: var(--text-2); }

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.faq-item.open {
  border-color: rgba(201,168,76,0.4);
  box-shadow: var(--shadow-sm);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
  line-height: 1.4;
  transition: color var(--ease);
  background: transparent;
}
.faq-question:hover { color: var(--blue); }
.faq-item.open .faq-question { color: var(--navy); }
.faq-icon {
  position: relative;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.faq-icon::before {
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  transform: translateY(-50%);
}
.faq-icon::after {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
}
.faq-item.open .faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}
.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(.2,.9,.2,1), opacity 0.35s ease 0.05s;
}
.faq-item.open .faq-answer {
  max-height: 600px;
  opacity: 1;
  transition: max-height 0.55s cubic-bezier(.2,.9,.2,1), opacity 0.4s ease 0.1s;
}
.faq-answer p {
  padding: 0 28px 26px;
  color: var(--text-2);
  font-size: 0.92rem;
  line-height: 1.88;
  font-weight: 300;
  transform: translateY(-8px);
  transition: transform 0.45s cubic-bezier(.2,.9,.2,1);
}
.faq-item.open .faq-answer p {
  transform: translateY(0);
  transition: transform 0.5s cubic-bezier(.2,.9,.2,1) 0.1s;
}
.faq-question { transition: color var(--ease), background var(--ease); }
.faq-item.open .faq-question { background: linear-gradient(180deg, rgba(201,168,76,0.04) 0%, transparent 100%); }

/* ===== Scroll Animations ===== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(.2,.9,.2,1), transform 0.8s cubic-bezier(.2,.9,.2,1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Result cards use nth-child delay for wave effect (override inline) */
.result-card.fade-up { transition-delay: 0ms; }
.results-grid .result-card:nth-child(1) { transition-delay: 0ms !important; }
.results-grid .result-card:nth-child(2) { transition-delay: 90ms !important; }
.results-grid .result-card:nth-child(3) { transition-delay: 180ms !important; }
.results-grid .result-card:nth-child(4) { transition-delay: 270ms !important; }
.results-grid .result-card:nth-child(5) { transition-delay: 360ms !important; }
.results-grid .result-card:nth-child(6) { transition-delay: 450ms !important; }

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-up { opacity: 1 !important; transform: none !important; }
  .attorney-photo { clip-path: none !important; }
  .quote-mark { transform: none !important; opacity: 0.25 !important; }
  #hero .h1-line, #hero .hero-sub, #hero .hero-actions, #hero .attorney-hero {
    opacity: 1 !important; transform: none !important; animation: none !important;
  }
  #hero h1 em { animation: none !important; }
  .emergency-icon::before, .emergency-icon::after { animation: none !important; display: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1060px) {
  .section-container { padding: 88px 36px; }
  .contact-navy, .contact-white { padding: 80px 52px; }
  .why-card { padding: 40px 32px; flex: 0 1 calc((100% - 48px) / 2); }
  .process-grid { grid-template-columns: repeat(3, 1fr); gap: 40px 0; }
  .process-step:nth-child(3) .process-line { display: none; }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .credentials-grid { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 72px; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .carousel-track .testimonial-card { flex: 0 0 calc((100% - 1px) / 2); }
  .carousel-prev { left: -18px; }
  .carousel-next { right: -18px; }
  .why-grid { gap: 20px; }
  .why-card { flex: 1 1 100%; min-width: 0; }
  .footer-top { grid-template-columns: 1fr; gap: 48px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .about-image { order: -1; max-width: 400px; }
  .contact-split { grid-template-columns: 1fr; }
  .contact-navy, .contact-white { padding: 72px 44px; }
  .contact-navy-inner { max-width: 100%; }
  .nav-container { padding: 0 36px; height: 80px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
  .process-line { display: none; }
  .emergency-inner { flex-wrap: wrap; padding: 32px 36px; }
  .emergency-text { flex: 1 1 auto; min-width: 240px; }
  .emergency-cta { flex: 1 1 100%; flex-direction: row; justify-content: center; gap: 14px; padding: 16px 24px; }
  .emergency-cta-label { margin-bottom: 0; }
}
@media (max-width: 680px) {
  .section-container { padding: 72px 24px; }
  .nav-container { padding: 0 24px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .areas-grid { grid-template-columns: 1fr; }
  .carousel-track .testimonial-card { flex: 0 0 100%; padding: 36px 28px; }
  .carousel-prev { left: 8px; }
  .carousel-next { right: 8px; }
  .carousel-arrow { width: 44px; height: 44px; }
  .hero-content { padding: 130px 24px 88px; margin-left: 0; max-width: 100%; }
  .hero-scroll-hint { left: 24px; }
  .stats-container { flex-wrap: wrap; padding: 0 24px; }
  .stat-divider { display: none; }
  .stat { flex: 1 1 50%; padding: 36px 16px; }
  .footer-links { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-navy, .contact-white { padding: 60px 24px; }
  .mobile-menu { padding: 12px 24px 28px; }
  .footer-container { padding: 64px 24px 36px; }
  .why-card { padding: 36px 28px; }
  .why-num { font-size: 2.6rem; }
  .nav-logo-img { height: 40px; }
  .process-grid { grid-template-columns: 1fr; gap: 34px 0; }
  .results-grid { grid-template-columns: 1fr; }
  .about-image-badge { bottom: -18px; right: 12px; padding: 14px 18px; min-width: 110px; }
  .badge-years { font-size: 1.8rem; }
  .badge-label { font-size: 0.5rem; }
  .emergency-inner { padding: 28px 24px; gap: 20px; }
  .emergency-icon { width: 52px; height: 52px; }
  .emergency-headline { font-size: 1.2rem; }
  .faq-question { padding: 20px 22px; font-size: 0.98rem; gap: 16px; }
  .faq-answer p { padding: 0 22px 22px; font-size: 0.88rem; }
  .contact-split { min-height: auto; }
}

/* ===== Language Picker Modal ===== */
.lang-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(8, 15, 28, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 1;
  animation: modalBackdropIn 1.1s cubic-bezier(.2,.9,.2,1) both;
  transition: opacity 0.7s ease;
}
@keyframes modalBackdropIn {
  0%   { opacity: 0; backdrop-filter: blur(0); -webkit-backdrop-filter: blur(0); background: rgba(8, 15, 28, 0); }
  100% { opacity: 1; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(8, 15, 28, 0.88); }
}
.lang-modal.hidden {
  opacity: 0;
  pointer-events: none;
}
.lang-modal-inner {
  max-width: 460px;
  width: 100%;
  background: linear-gradient(180deg, rgba(14, 30, 53, 0.95) 0%, rgba(8, 15, 28, 0.98) 100%);
  border: 1px solid rgba(201, 168, 76, 0.22);
  border-radius: 10px;
  padding: 56px 44px 40px;
  text-align: center;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  animation: lang-modal-in 1.2s cubic-bezier(.16,1,.3,1) 0.35s both;
}
@keyframes lang-modal-in {
  from { opacity: 0; transform: translateY(24px) scale(0.94); filter: blur(4px); }
  to   { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
.lang-modal-mark {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  line-height: 1;
}
.lang-modal-inner h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.lang-modal-slash {
  color: var(--gold);
  font-weight: 400;
  opacity: 0.7;
  margin: 0 6px;
}
.lang-modal-inner > p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.68);
  margin: 0 0 32px;
  line-height: 1.55;
}
.lang-modal-inner > p span {
  color: rgba(255, 255, 255, 0.42);
  font-style: italic;
  font-size: 0.84rem;
}
.lang-modal-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 28px;
}
.lang-modal-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.35);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 24px 16px 20px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.lang-modal-btn .lang-code {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold);
  border: 1px solid rgba(201, 168, 76, 0.5);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 0.14em;
  transition: all 0.25s ease;
}
.lang-modal-btn:hover {
  background: rgba(201, 168, 76, 0.12);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}
.lang-modal-btn:hover .lang-code {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.lang-modal-note {
  font-size: 0.72rem !important;
  color: rgba(255, 255, 255, 0.35) !important;
  margin: 0 !important;
  line-height: 1.5;
}
.lang-modal-note span {
  font-style: italic;
  opacity: 0.7;
}
@media (max-width: 480px) {
  .lang-modal-inner { padding: 44px 28px 32px; }
  .lang-modal-inner h2 { font-size: 1.5rem; }
  .lang-modal-mark { font-size: 2.2rem; }
  .lang-modal-buttons { grid-template-columns: 1fr; }
}

/* ===== Nav Language Toggle ===== */
.nav-lang {
  display: flex !important;
  align-items: center;
  gap: 2px;
  padding: 0 6px;
}
.lang-opt {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.42);
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  padding: 6px 4px;
  cursor: pointer;
  transition: color 0.2s ease;
}
.lang-opt:hover {
  color: rgba(255, 255, 255, 0.85);
}
.lang-opt.active {
  color: var(--gold);
}
.nav-lang .lang-sep {
  color: rgba(255, 255, 255, 0.18);
  font-size: 0.7rem;
  font-weight: 300;
}
#navbar.scrolled .lang-opt { color: rgba(8, 15, 28, 0.5); }
#navbar.scrolled .lang-opt:hover { color: rgba(8, 15, 28, 0.9); }
#navbar.scrolled .lang-opt.active { color: var(--gold); }
#navbar.scrolled .nav-lang .lang-sep { color: rgba(8, 15, 28, 0.22); }

.mobile-lang {
  display: flex !important;
  justify-content: center;
  gap: 6px;
  padding: 12px 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 8px;
}
.mobile-lang .lang-opt {
  font-size: 0.85rem;
  padding: 8px 12px;
}

/* ===================================================================
   Practice Detail Pages (criminal-defense.html, immigration.html, personal-injury.html)
   =================================================================== */

/* Make the practice area cards on the landing page fully clickable */
.area-card-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.area-card-link:hover .area-link {
  color: var(--gold-2);
}

/* ===== Practice Area Tiles (home page) ===== */
.areas-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.area-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  min-height: 460px;
  padding: 56px 40px 44px;
  text-decoration: none;
  color: inherit;
  background-color: var(--navy);
  border: 1px solid rgba(201, 168, 76, 0.16);
  transition: transform 0.7s cubic-bezier(.16,1,.3,1),
              border-color 0.7s ease,
              box-shadow 0.7s ease;
}

/* Photo background layer */
.area-tile-art {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.78) brightness(0.6) contrast(1.05);
  transition: transform 1.2s cubic-bezier(.16,1,.3,1), filter 0.8s ease;
  z-index: 0;
}

/* Per-tile image */
.area-tile--criminal .area-tile-art {
  background-image: url('criminal-bg.jpg');
}
.area-tile--immigration .area-tile-art {
  background-image: url('immigration-bg.jpg');
}
.area-tile--injury .area-tile-art {
  background-image: url('injury-bg.jpg');
  background-position: center 35%;
}

/* Heavy navy gradient overlay for text legibility */
.area-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 15, 28, 0.35) 0%,
    rgba(8, 15, 28, 0.55) 35%,
    rgba(8, 15, 28, 0.88) 75%,
    rgba(8, 15, 28, 0.96) 100%
  );
  z-index: 1;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

/* Gold underline accent on hover */
.area-tile::after {
  content: '';
  position: absolute;
  left: 40px;
  right: 40px;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.8s cubic-bezier(.16,1,.3,1);
  z-index: 2;
}

.area-tile:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 168, 76, 0.45);
  box-shadow: 0 30px 60px -30px rgba(201, 168, 76, 0.35);
}
.area-tile:hover .area-tile-art {
  transform: scale(1.08);
  filter: saturate(0.95) brightness(0.7) contrast(1.05);
}
.area-tile:hover::after { transform: scaleX(1); }

.area-tile-body {
  position: relative;
  z-index: 3;
}

.area-tile-kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  opacity: 0.85;
}

.area-tile h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.95rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.area-tile-sub {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 22ch;
}

.area-tile-cta {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  transition: letter-spacing 0.5s ease, color 0.5s ease;
}

.area-tile:hover .area-tile-cta {
  letter-spacing: 0.26em;
  color: var(--gold-2);
}

@media (max-width: 900px) {
  .areas-tiles {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 540px;
  }
  .area-tile {
    min-height: 300px;
    padding: 44px 32px 36px;
  }
  .area-tile-art svg {
    width: 220px;
    height: 220px;
  }
  .area-tile h3 { font-size: 1.7rem; }
}

/* ===== Practice Detail Hero ===== */
.practice-hero {
  position: relative;
  padding: 168px 0 96px;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}
.practice-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(201, 168, 76, 0.12), transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(201, 168, 76, 0.06), transparent 60%);
  pointer-events: none;
}
.practice-hero-inner {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 48px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.75;
  margin-bottom: 36px;
  transition: opacity var(--ease), transform var(--ease);
  text-decoration: none;
}
.back-link:hover {
  opacity: 1;
  transform: translateX(-4px);
  color: var(--gold-2);
}
.practice-hero .section-eyebrow {
  color: var(--gold);
  margin-bottom: 18px;
}
.practice-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.12;
  font-weight: 700;
  margin: 0 0 24px;
  color: var(--white);
  letter-spacing: -0.01em;
}
.practice-hero h1 em {
  font-style: italic;
  background: linear-gradient(120deg, #c9a84c 0%, #e8cc8a 50%, #c9a84c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.practice-hero-sub {
  font-size: 1.05rem;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.72);
  max-width: 680px;
  margin: 0 0 38px;
}
.practice-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ===== Practice Section Variants ===== */
.practice-section {
  padding: 104px 0;
  background: var(--white);
}
.practice-section-cream {
  background: var(--cream);
}
.practice-section-dark {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
}
.practice-section-dark .section-header h2 {
  color: var(--white);
}
.practice-section-dark .section-desc {
  color: rgba(255, 255, 255, 0.62);
}
.practice-section .section-container,
.practice-section-cream .section-container,
.practice-section-dark .section-container {
  padding-top: 0;
  padding-bottom: 0;
}

/* ===== Practice Explainer — "What is this practice area?" educational block ===== */
.practice-explainer {
  position: relative;
  padding: 110px 0;
  background: #fff;
  overflow: hidden;
}
.practice-explainer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.4), transparent);
}
.practice-explainer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
}
.practice-explainer-text { min-width: 0; }
.practice-explainer-text .section-eyebrow { color: var(--gold, #c9a84c); margin-bottom: 16px; }
.practice-explainer-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  line-height: 1.14;
  font-weight: 700;
  color: var(--navy, #080f1c);
  margin: 0 0 24px;
  letter-spacing: -0.014em;
}
.practice-explainer-text h2 em {
  font-style: italic;
  background: linear-gradient(120deg, #c9a84c 0%, #e8cc8a 50%, #c9a84c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.practice-explainer-lead {
  font-family: 'Inter', sans-serif;
  font-size: 1.16rem;
  line-height: 1.6;
  color: var(--navy, #080f1c);
  font-weight: 500;
  margin: 0 0 22px;
  letter-spacing: -0.005em;
}
.practice-explainer-text > p:not(.section-eyebrow):not(.practice-explainer-lead) {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.78;
  color: var(--text-2, #4a5468);
  margin: 0 0 16px;
}

/* Three "what's at stake" callouts beneath the prose */
.practice-explainer-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(8,15,28,0.10);
}
.practice-explainer-point {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.practice-explainer-point-num {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--gold, #c9a84c);
}
.practice-explainer-point h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy, #080f1c);
  margin: 0 0 4px;
  letter-spacing: -0.005em;
}
.practice-explainer-point p {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-2, #4a5468);
  margin: 0;
}

/* Photo column — subtle gold-accent frame + soft mask + warm halo + layered shadows */
.practice-explainer-photo {
  position: relative;
  isolation: isolate;
  padding: 14px;
}
/* Thin double-line gold frame, slightly inset from the photo edge.
   Two corner accents (top-left + bottom-right) give it the "framed art" feel
   without being heavy or boxing the photo in completely. */
.practice-explainer-photo::before,
.practice-explainer-photo::after {
  content: '';
  position: absolute;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(201, 168, 76, 0.55);
  pointer-events: none;
  z-index: 2;
}
.practice-explainer-photo::before {
  top: 0; left: 0;
  border-right: none;
  border-bottom: none;
}
.practice-explainer-photo::after {
  bottom: 0; right: 0;
  border-left: none;
  border-top: none;
}
.practice-explainer-photo-glow {
  position: absolute;
  inset: -8%;
  background:
    radial-gradient(ellipse 55% 55% at 50% 50%, rgba(201,168,76,0.22) 0%, rgba(201,168,76,0.08) 40%, transparent 72%);
  filter: blur(50px);
  z-index: -1;
  pointer-events: none;
}
.practice-explainer-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  /* Soft feathered edges so the photo dissolves into the page background */
  -webkit-mask-image: radial-gradient(ellipse 96% 96% at 50% 52%, #000 60%, rgba(0,0,0,0.55) 84%, rgba(0,0,0,0.15) 95%, transparent 100%);
  mask-image: radial-gradient(ellipse 96% 96% at 50% 52%, #000 60%, rgba(0,0,0,0.55) 84%, rgba(0,0,0,0.15) 95%, transparent 100%);
  filter:
    contrast(1.05)
    saturate(1.02)
    brightness(0.98)
    drop-shadow(0 18px 40px rgba(8, 15, 28, 0.22))
    drop-shadow(0 40px 70px rgba(8, 15, 28, 0.12))
    drop-shadow(0 0 80px rgba(201, 168, 76, 0.10));
}

@media (max-width: 980px) {
  .practice-explainer { padding: 80px 0; }
  .practice-explainer-inner { grid-template-columns: 1fr; gap: 56px; }
  .practice-explainer-photo { max-width: 520px; margin: 0 auto; }
}
@media (max-width: 680px) {
  .practice-explainer { padding: 64px 0; }
  .practice-explainer-inner { padding: 0 24px; gap: 44px; }
  .practice-explainer-points { grid-template-columns: 1fr; gap: 18px; }
}

/* ===== Case Types Grid ===== */
.case-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 56px;
}
.case-type-card {
  background: var(--white);
  border: 1px solid rgba(8, 15, 28, 0.08);
  border-radius: 8px;
  padding: 28px 26px;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.case-type-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(8, 15, 28, 0.08);
  border-color: rgba(201, 168, 76, 0.4);
}
.practice-section-cream .case-type-card {
  background: var(--white);
}
.case-type-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 10px;
}
.case-type-card p {
  font-size: 0.88rem;
  line-height: 1.62;
  color: rgba(8, 15, 28, 0.65);
  margin: 0;
}

/* ===== Approach Cards (dark background) ===== */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 56px;
}
.approach-card {
  padding: 32px 4px 4px;
  border-top: 2px solid rgba(201, 168, 76, 0.35);
}
.approach-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.approach-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 12px;
}
.approach-card p {
  font-size: 0.9rem;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.62);
  margin: 0;
}

/* ===== Scenarios List ("Call us immediately if...") ===== */
.scenarios-list {
  list-style: none;
  padding: 0;
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2px 40px;
  max-width: 1040px;
}
.scenarios-list li {
  position: relative;
  padding: 18px 0 18px 44px;
  font-size: 0.96rem;
  line-height: 1.56;
  color: rgba(8, 15, 28, 0.82);
  border-bottom: 1px solid rgba(8, 15, 28, 0.08);
}
.scenarios-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  box-shadow: 0 2px 8px rgba(201, 168, 76, 0.35);
}
.scenarios-list li::after {
  content: '!';
  position: absolute;
  left: 9px;
  top: 18px;
  font-family: 'Playfair Display', serif;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

/* ===== Do's & Don'ts Cards ===== */
.dos-donts-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 52px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.dos-card,
.donts-card {
  padding: 36px 34px;
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 6px 28px rgba(8, 15, 28, 0.06);
}
.dos-card {
  border-top: 3px solid #2b9e6e;
}
.donts-card {
  border-top: 3px solid #c24c4c;
}
.dos-card h3,
.donts-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 22px;
}
.dos-card h3 {
  color: #2b9e6e;
}
.donts-card h3 {
  color: #c24c4c;
}
.dos-card ul,
.donts-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.dos-card li,
.donts-card li {
  padding: 12px 0 12px 30px;
  font-size: 0.92rem;
  line-height: 1.58;
  color: rgba(8, 15, 28, 0.78);
  position: relative;
  border-bottom: 1px solid rgba(8, 15, 28, 0.05);
}
.dos-card li:last-child,
.donts-card li:last-child {
  border-bottom: 0;
}
.dos-card li::before {
  content: '✓';
  position: absolute;
  left: 2px;
  top: 11px;
  color: #2b9e6e;
  font-weight: 700;
  font-size: 1.05rem;
}
.donts-card li::before {
  content: '✕';
  position: absolute;
  left: 3px;
  top: 11px;
  color: #c24c4c;
  font-weight: 700;
  font-size: 1.02rem;
}
@media (max-width: 780px) {
  .dos-donts-wrap {
    grid-template-columns: 1fr;
  }
}

/* ===== Detail-Page FAQ wrapper ===== */
.detail-faq {
  max-width: 860px;
  margin: 52px auto 0;
}

/* ===== Related Practice Areas ===== */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 52px;
}
.related-card {
  display: flex;
  flex-direction: column;
  padding: 34px 30px;
  background: var(--navy);
  color: var(--white);
  border-radius: 10px;
  text-decoration: none;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
  border: 1px solid rgba(201, 168, 76, 0.14);
}
.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(8, 15, 28, 0.24);
  border-color: rgba(201, 168, 76, 0.48);
}
.related-card .section-eyebrow {
  color: var(--gold);
  margin: 0 0 12px;
}
.related-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.32rem;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--white);
}
.related-card p {
  font-size: 0.88rem;
  line-height: 1.64;
  color: rgba(255, 255, 255, 0.62);
  margin: 0 0 18px;
  flex: 1;
}
.related-arrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  transition: transform var(--ease), color var(--ease);
}
.related-card:hover .related-arrow {
  color: var(--gold-2);
  transform: translateX(3px);
}

/* ===== Final Practice CTA ===== */
.practice-cta {
  background: linear-gradient(180deg, var(--navy) 0%, #0b1527 100%);
  padding: 110px 0 130px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.practice-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201, 168, 76, 0.14), transparent 60%);
  pointer-events: none;
}
.practice-cta-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 48px;
}
.practice-cta .section-eyebrow {
  color: var(--gold);
  margin-bottom: 16px;
  display: inline-block;
}
.practice-cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin: 0 0 18px;
  color: var(--white);
  letter-spacing: -0.01em;
}
.practice-cta p {
  font-size: 1.02rem;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 36px;
}
.practice-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Privacy Policy — Pill Nav + Card Grid ===== */

/* Hero: keep the subtle animated grid + clean "Last Updated" line */
.privacy-hero-v2 { padding-bottom: 100px; }
.privacy-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 75%);
  animation: privacyGridDrift 40s linear infinite;
  pointer-events: none;
}
@keyframes privacyGridDrift {
  from { background-position: 0 0; }
  to   { background-position: 64px 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .privacy-hero-grid { animation: none; }
}
.privacy-meta {
  margin: 30px 0 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* Document section */
.privacy-doc {
  position: relative;
  background: #fff;
}
.privacy-doc::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.4), transparent);
}

/* Sticky pill navigation — sits below the global nav */
.privacy-pillnav {
  position: sticky;
  top: 80px;
  z-index: 30;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(8,15,28,0.06);
  padding: 18px 0;
}
.privacy-pillnav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.privacy-pill {
  position: relative;
  padding: 10px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(8,15,28,0.6);
  text-decoration: none;
  border: 1px solid rgba(8,15,28,0.10);
  border-radius: 999px;
  background: #fff;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}
.privacy-pill:hover {
  color: var(--navy, #080f1c);
  border-color: rgba(201,168,76,0.5);
  background: rgba(201,168,76,0.04);
  transform: translateY(-1px);
}
.privacy-pill.active {
  color: #fff;
  background: var(--navy, #080f1c);
  border-color: var(--navy, #080f1c);
}
/* Treat all pills uniformly — no special gold variant for "Contact" */
.privacy-pill--accent {
  color: rgba(8,15,28,0.6);
  border-color: rgba(8,15,28,0.10);
  background: #fff;
}
.privacy-pill--accent:hover {
  color: var(--navy, #080f1c);
  border-color: rgba(8,15,28,0.25);
  background: #fff;
}
.privacy-pill--accent.active {
  color: #fff;
  background: var(--navy, #080f1c);
  border-color: var(--navy, #080f1c);
}

/* Doc inner container */
.privacy-doc-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 48px 120px;
}

/* 2-column card grid */
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

/* Card — uniform template for all 6 policy sections */
.privacy-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(8,15,28,0.10);
  border-radius: 6px;
  padding: 36px 36px 32px;
  scroll-margin-top: 160px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.privacy-card:hover {
  border-color: rgba(8,15,28,0.22);
  box-shadow: 0 12px 28px -16px rgba(8,15,28,0.10);
}
.privacy-card-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gold, #c9a84c);
  margin: 0 0 10px;
}
.privacy-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.32rem;
  line-height: 1.22;
  font-weight: 700;
  color: var(--navy, #080f1c);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.privacy-card > p {
  font-family: 'Inter', sans-serif;
  font-size: 0.96rem;
  line-height: 1.72;
  color: var(--text-2, #4a5468);
  margin: 0 0 12px;
}
.privacy-card > p:last-child { margin-bottom: 0; }
.privacy-card ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}
.privacy-card ul li {
  position: relative;
  padding-left: 22px;
  font-family: 'Inter', sans-serif;
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--text-2, #4a5468);
  margin-bottom: 10px;
}
.privacy-card ul li:last-child { margin-bottom: 0; }
.privacy-card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 12px;
  width: 10px; height: 1.5px;
  background: var(--gold, #c9a84c);
  border-radius: 1px;
}

/* Full-width contact band — distinct treatment so it stands apart from the grid */
.privacy-contact-band {
  margin-top: 36px;
  padding: 56px 56px;
  border-radius: 8px;
  scroll-margin-top: 160px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  background: var(--navy, #080f1c);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}
.privacy-contact-band::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(201,168,76,0.35);
}
.privacy-contact-band-text .privacy-card-num {
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.privacy-contact-band h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  line-height: 1.2;
  font-weight: 700;
  color: #fff;
  margin: 0 0 14px;
  letter-spacing: -0.012em;
}
.privacy-contact-band > .privacy-contact-band-text > p {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.72;
  color: rgba(255,255,255,0.7);
  margin: 0;
  max-width: 480px;
}
.privacy-contact-band-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.privacy-contact-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 24px;
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 8px;
  text-decoration: none;
  background: rgba(255,255,255,0.04);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
  min-width: 240px;
}
.privacy-contact-link:hover {
  border-color: var(--gold, #c9a84c);
  background: rgba(201,168,76,0.08);
  transform: translateY(-1px);
}
.privacy-contact-link-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold, #c9a84c);
}
.privacy-contact-link-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.08rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.005em;
}

@media (max-width: 880px) {
  .privacy-pillnav { padding: 14px 0; }
  .privacy-pillnav-inner { padding: 0 16px; gap: 6px; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .privacy-pillnav-inner::-webkit-scrollbar { display: none; }
  .privacy-pill { padding: 9px 16px; font-size: 0.72rem; }
  .privacy-grid { grid-template-columns: 1fr; gap: 18px; }
  .privacy-card { padding: 28px 26px; }
  .privacy-doc-inner { padding: 56px 24px 88px; }
  .privacy-contact-band { padding: 36px 28px; grid-template-columns: 1fr; gap: 28px; margin-top: 24px; }
  .privacy-contact-link { min-width: 0; }
}

/* ===== Marquee strip — value props scrolling tape ===== */
.marquee {
  position: relative;
  background: linear-gradient(180deg, #060c1a 0%, #0a1325 100%);
  overflow: hidden;
  border-top: 1px solid rgba(201, 168, 76, 0.18);
  border-bottom: 1px solid rgba(201, 168, 76, 0.18);
  padding: 22px 0;
  z-index: 2;
}
.marquee::before, .marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before {
  left: 0;
  background: linear-gradient(90deg, #060c1a 0%, transparent 100%);
}
.marquee::after {
  right: 0;
  background: linear-gradient(270deg, #0a1325 0%, transparent 100%);
}
.marquee-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  width: max-content;
  animation: marqueeRoll 38s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 0 28px;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}
.marquee-item .marquee-star {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--gold, #c9a84c);
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(201,168,76,0.6);
  flex-shrink: 0;
}
.marquee-item--accent { color: var(--gold-2, #ddb96b); }
@keyframes marqueeRoll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ===== Detail Page Responsive ===== */
@media (max-width: 880px) {
  .practice-hero {
    padding: 138px 0 72px;
  }
  .practice-hero-inner {
    padding: 0 24px;
  }
  .practice-section {
    padding: 72px 0;
  }
  .practice-cta {
    padding: 88px 0 100px;
  }
  .practice-cta-inner {
    padding: 0 24px;
  }
  .scenarios-list {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .approach-grid {
    gap: 28px;
  }
}

/* ===================================================================== */
/* JUSTIFIED BODY COPY                                                    */
/* Long-form paragraphs inside cards and content sections are justified   */
/* (aligned to both edges). Headings, eyebrows, hero copy, buttons, nav,  */
/* form fields, and footer remain left-aligned.                           */
/* ===================================================================== */

/* Home page: bio, practice tiles, process, why-us, testimonials, FAQ */
.about-text > p:not(.about-title),
.area-tile-sub,
.process-step p,
.why-card p,
.testimonial-card > p,
.faq-answer p,
.area-card p,

/* Detail pages: practice explainer, case types, approach cards, scenarios, do/don't */
.practice-explainer-text > p:not(.section-eyebrow),
.practice-explainer-lead,
.practice-explainer-point p,
.case-type p,
.approach-card p,
.scenarios-list li,
.do-card p,
.dont-card p,
.related-card p,
.practice-cta p,

/* Privacy policy */
.privacy-card > p,
.privacy-card ul li,
.privacy-contact-band-text > p {
  text-align: justify;
  text-justify: inter-word;
  /* Keep last line of paragraph left-aligned (avoid super-stretched short final line) */
  text-align-last: left;
}
