/* ════════════════════════════════════════════════════════════
   Thorne & Skinner — style.css
   Law firm website, Grand Prairie TX
   ════════════════════════════════════════════════════════════ */

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  --navy:        #1c3a20;
  --navy-dark:   #132018;
  --navy-light:  #264e2a;
  --gold:        #b09040;
  --gold-light:  #c9a84c;
  --gold-hover:  #bda045;
  --white:       #ffffff;
  --off-white:   #f5f7f4;
  --gray-50:     #f8f9fa;
  --gray-100:    #f1f3f5;
  --gray-200:    #e9ecef;
  --gray-400:    #adb5bd;
  --gray-600:    #6c757d;
  --gray-700:    #495057;
  --gray-800:    #343a40;
  --text:        #1a2419;
  --text-light:  #5a6a58;
  --radius:      6px;
  --radius-lg:   12px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.08);
  --shadow:      0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:   0 8px 32px rgba(0,0,0,0.14);
  --transition:  0.22s ease;
  --max-width:   1180px;
  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;
}

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

/* ── Container ────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--gold);
  color: var(--navy-dark);
}
.btn--primary:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(176,144,64,0.35);
}
.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}
.btn--outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn--outline-light:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}
.btn--lg {
  padding: 0.9rem 2.1rem;
  font-size: 1.05rem;
}
.btn--full { width: 100%; justify-content: center; }

/* ── Section helpers ──────────────────────────────────────── */
.section { padding: 5rem 0; }
.section--alt { background: var(--off-white); }
.section__header { text-align: center; margin-bottom: 3rem; }
.section__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.section__title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 0.9rem;
}
.section__desc {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ── Top Bar ──────────────────────────────────────────────── */
.topbar {
  background: var(--navy-dark);
  color: var(--gray-400);
  font-size: 0.82rem;
  padding: 0.45rem 0;
}
.topbar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.topbar__phone {
  color: var(--gold-light);
  font-weight: 600;
  letter-spacing: 0.03em;
}
.topbar__phone:hover { color: var(--white); }

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 68px;
}
.nav__logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  line-height: 1.1;
}
.nav__logo-img {
  height: 52px;
  width: auto;
  display: block;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.4));
}
.nav__logo-text {
  display: flex;
  flex-direction: column;
}
.nav__logo-main {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--white);
  font-weight: 700;
}
.nav__logo-sub {
  font-size: 0.68rem;
  color: var(--gold-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  justify-content: center;
}
.nav__links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.nav__links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.3rem;
  background: var(--gold);
  color: var(--navy-dark);
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background var(--transition), transform var(--transition);
}
.nav__cta:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
}
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  margin-left: auto;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-light) 100%);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: -30% 0;
  background-image: url('https://images.unsplash.com/photo-1636652966850-5ac4d02370e9?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center top;
  will-change: transform;
  z-index: 0;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to right, rgba(19,32,24,0.95) 0%, rgba(19,32,24,0.7) 60%, rgba(19,32,24,0.4) 100%);
}
.hero__content {
  position: relative;
  z-index: 3;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem 1.5rem;
  max-width: 720px;
  margin-left: max(1.5rem, calc((100vw - var(--max-width)) / 2));
}
.hero__badge {
  display: inline-block;
  background: rgba(176,144,64,0.2);
  border: 1px solid rgba(176,144,64,0.5);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero__sub {
  color: rgba(255,255,255,0.82);
  font-size: 1.15rem;
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 540px;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.hero__free {
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
}

/* ── Trust Bar ────────────────────────────────────────────── */
.trust {
  background: var(--gold);
  padding: 1.5rem 0;
}
.trust__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.trust__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 2.5rem;
  text-align: center;
}
.trust__num {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1;
}
.trust__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 0.2rem;
}
.trust__divider {
  width: 1px;
  height: 40px;
  background: rgba(19,32,24,0.2);
}

/* ── About ────────────────────────────────────────────────── */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 4rem;
  align-items: start;
}
.about__text p {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 1.02rem;
}
.about__awards {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.about__award {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--gray-700);
}
.about__award-icon { font-size: 1.1rem; }

/* ── About: Courthouse Photo Background ──────────────────── */
.about--photo-bg {
  position: relative;
  background-image: url('../images/courthouse-bg.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}
.about--photo-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 20, 40, 0.82) 0%,
    rgba(10, 20, 40, 0.72) 50%,
    rgba(10, 20, 40, 0.60) 100%
  );
  pointer-events: none;
}
.about--photo-bg .container { position: relative; z-index: 1; }
.about--photo-bg .section__eyebrow { color: var(--gold); }
.about--photo-bg .section__title { color: var(--white); }
.about--photo-bg .about__text p { color: rgba(255,255,255,0.88); }
.about--photo-bg .about__awards--light .about__award { color: rgba(255,255,255,0.80); }

/* ── Allegiance Title Logo ────────────────────────────────── */
.title-co__logo-wrap {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
}
.title-co__logo {
  display: block;
  max-width: 190px;
  height: auto;
  opacity: 0.82;
}

/* ── Callout Box ──────────────────────────────────────────── */
.callout__box {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: sticky;
  top: 90px;
}
.callout__box h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--white);
}
.callout__box p {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}
.callout__note {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
}
.callout__box--dark {
  background: var(--navy-dark);
}

/* ── Practice Areas ───────────────────────────────────────── */
.practice__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.practice__card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.practice__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}
.practice__card--featured {
  grid-column: span 2;
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.practice__card.practice__card--featured h3 { color: var(--white); }
.practice__card.practice__card--featured p { color: rgba(255,255,255,0.85); }
.practice__card--featured ul {
  color: rgba(255,255,255,0.75);
  columns: 2;
  gap: 0.25rem;
  margin-top: 0.75rem;
}
.practice__card--featured ul li {
  padding: 0.15rem 0;
  padding-left: 1.1rem;
  position: relative;
  font-size: 0.92rem;
}
.practice__card--featured ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold-light);
  font-size: 0.8rem;
}
.practice__card--featured:hover { border-color: var(--gold); }
.practice__icon {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}
.practice__card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.practice__card p {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ── Attorneys ────────────────────────────────────────────── */
.attorneys__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(440px, 1fr));
  gap: 2rem;
}
.attorney__card {
  display: flex;
  gap: 1.5rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  align-items: flex-start;
  transition: box-shadow var(--transition);
}
.attorney__card:hover { box-shadow: var(--shadow); }
.attorney__photo {
  width: 140px;
  height: 175px;
  border-radius: var(--radius);
  flex-shrink: 0;
  overflow: hidden;
}
.attorney__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.attorney__info h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 0.2rem;
}
.attorney__title {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.attorney__rating {
  font-size: 0.82rem;
  color: var(--gray-600);
  margin-bottom: 0.9rem;
}
.attorney__info p {
  font-size: 0.93rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
  line-height: 1.65;
}
.attorney__email {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}
.attorney__email:hover { border-bottom-color: var(--gold); }

/* ── Title Company ────────────────────────────────────────── */
.title-co__grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  align-items: start;
}
.title-co__text p {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 1.02rem;
}
.title-co__team h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--navy);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.title-co__members { display: flex; flex-direction: column; gap: 0.75rem; }
.title__member {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.75rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
}
.title__member strong { font-size: 0.95rem; color: var(--navy); }
.title__member span { font-size: 0.82rem; color: var(--text-light); }
.title__member a {
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 500;
  margin-top: 0.1rem;
}
.title__member a:hover { text-decoration: underline; }

/* ── Reviews ──────────────────────────────────────────────── */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.review__card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
}
.review__card::before {
  content: '"';
  position: absolute;
  top: 0.5rem;
  left: 1.25rem;
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.25;
  line-height: 1;
}
.review__stars {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.review__card p {
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 0.75rem;
}
.review__source {
  font-size: 0.82rem;
  color: var(--gray-400);
  font-weight: 500;
}
.reviews__cta { text-align: center; }

/* ── Contact ──────────────────────────────────────────────── */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contact__icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 0.1rem; }
.contact__item strong { display: block; color: var(--navy); margin-bottom: 0.25rem; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; }
.contact__item p { color: var(--text-light); font-size: 0.95rem; margin: 0; line-height: 1.5; }
.contact__item a { color: var(--gold); }
.contact__item a:hover { text-decoration: underline; }
.contact__map iframe { width: 100%; border-radius: var(--radius-lg); }

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--navy-dark);
  color: var(--gray-400);
}
.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__logo {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--white);
  margin-bottom: 0.3rem;
}
.footer__tagline { font-size: 0.82rem; color: var(--gold-light); margin-bottom: 0.5rem; }
.footer__addr { font-size: 0.85rem; margin-bottom: 0.5rem; line-height: 1.5; }
.footer__phone { font-size: 1rem; color: var(--gold-light); font-weight: 600; }
.footer__phone:hover { color: var(--white); }
.footer__links h4 {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer__links a {
  display: block;
  color: var(--gray-400);
  font-size: 0.88rem;
  padding: 0.25rem 0;
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--gold-light); }
.footer__bottom {
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer__bottom p { font-size: 0.82rem; }
.footer__disclaimer {
  color: rgba(255,255,255,0.3);
  font-size: 0.75rem !important;
  line-height: 1.5;
  max-width: 800px;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about__grid { grid-template-columns: 1fr; }
  .callout__box { position: static; }
  .title-co__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
}

@media (max-width: 768px) {
  .topbar__addr { display: none; }
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .nav__inner { gap: 1rem; }
  .nav__cta { padding: 0.45rem 1rem; font-size: 0.82rem; }

  /* Mobile nav open state */
  .nav__links.nav__links--open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    padding: 1rem;
    gap: 0.25rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }
  .nav__links.nav__links--open a {
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }

  .hero__content { padding: 3.5rem 1.5rem; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  .trust__inner { gap: 0.5rem; }
  .trust__item { padding: 0.5rem 1.25rem; }
  .trust__divider { display: none; }

  .practice__card--featured { grid-column: span 1; }
  .practice__card--featured ul { columns: 1; }

  .attorneys__grid { grid-template-columns: 1fr; }
  .attorney__card { flex-direction: column; }
  .attorney__photo { width: 100px; height: 125px; }

  .contact__grid { grid-template-columns: 1fr; }

  .footer__top { grid-template-columns: 1fr; }
  .footer__brand { grid-column: 1; }

  .section { padding: 3.5rem 0; }
}

@media (max-width: 480px) {
  .trust__item { padding: 0.4rem 0.75rem; }
  .trust__num { font-size: 1.5rem; }
}


/* ════════════════════════════════════════════════════════════
   ANIMATIONS & DYNAMIC EFFECTS
   ════════════════════════════════════════════════════════════ */

/* ── Hero Entrance (staggered load animation) ───────────── */
.hero__badge,
.hero__title,
.hero__sub,
.hero__actions,
.hero__free {
  animation: heroFadeUp 0.72s ease both;
}
.hero__badge   { animation-delay: 0.06s; }
.hero__title   { animation-delay: 0.20s; }
.hero__sub     { animation-delay: 0.33s; }
.hero__actions { animation-delay: 0.46s; }
.hero__free    { animation-delay: 0.56s; }

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Scroll Reveal System ────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  will-change: opacity, transform;
}
.reveal.reveal--left  { transform: translateX(-36px); }
.reveal.reveal--right { transform: translateX(36px);  }
.reveal.is-visible    { opacity: 1; transform: none;  }

.reveal.reveal--delay-1 { transition-delay: 0.07s; }
.reveal.reveal--delay-2 { transition-delay: 0.14s; }
.reveal.reveal--delay-3 { transition-delay: 0.21s; }
.reveal.reveal--delay-4 { transition-delay: 0.28s; }
.reveal.reveal--delay-5 { transition-delay: 0.35s; }
.reveal.reveal--delay-6 { transition-delay: 0.42s; }
.reveal.reveal--delay-7 { transition-delay: 0.49s; }
.reveal.reveal--delay-8 { transition-delay: 0.56s; }

/* ── Trust Bar Pop + Counter ─────────────────────────────── */
.trust__num { display: inline-block; }
.trust--pop .trust__item:nth-child(1) .trust__num { animation: trustPop 0.5s cubic-bezier(0.34,1.56,0.64,1) 0.00s both; }
.trust--pop .trust__item:nth-child(3) .trust__num { animation: trustPop 0.5s cubic-bezier(0.34,1.56,0.64,1) 0.10s both; }
.trust--pop .trust__item:nth-child(5) .trust__num { animation: trustPop 0.5s cubic-bezier(0.34,1.56,0.64,1) 0.20s both; }
.trust--pop .trust__item:nth-child(7) .trust__num { animation: trustPop 0.5s cubic-bezier(0.34,1.56,0.64,1) 0.30s both; }

@keyframes trustPop {
  from { transform: scale(0.55); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

/* ── Nav Frosted Glass on Scroll ─────────────────────────── */
.nav--scrolled {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(19,32,24,0.90) !important;
}

/* ── Enhanced Practice Card Hover ────────────────────────── */
/* (transition already defined, just upgrade the hover lift) */
.practice__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(19,32,24,0.16);
  border-color: var(--gold);
}

/* ── Review Card Hover ───────────────────────────────────── */
.review__card {
  transition: transform var(--transition), box-shadow var(--transition);
}
.review__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

/* ── Attorney Card Enhanced Hover ────────────────────────── */
.attorney__card {
  transition: transform var(--transition), box-shadow var(--transition);
}
.attorney__card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* ── Callout Box Hover Glow ──────────────────────────────── */
.callout__box {
  transition: box-shadow 0.3s ease;
}
.callout__box:hover {
  box-shadow: 0 10px 36px rgba(19,32,24,0.20);
}

/* ── CTA Button Pulse ────────────────────────────────────── */
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 4px 14px rgba(176,144,64,0.30); }
  50%       { box-shadow: 0 4px 22px rgba(176,144,64,0.55); }
}
.btn--primary.btn--full {
  animation: ctaPulse 3.2s ease-in-out 1.5s infinite;
}

/* ── Attorney Photo Placeholder ──────────────────────────── */
.attorney__photo {
  position: relative;
  background: linear-gradient(145deg, var(--navy-dark) 0%, var(--navy-light) 100%);
}
.attorney__photo[data-initials]::after {
  content: attr(data-initials);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.attorney__photo--fallback[data-initials]::after {
  opacity: 1;
}
.attorney__photo--fallback img {
  opacity: 0;
}
/* ── Accessibility: Respect prefers-reduced-motion ──────── */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .reveal.reveal--left,
  .reveal.reveal--right {
    transform: none;
  }
  .hero__badge, .hero__title, .hero__sub,
  .hero__actions, .hero__free {
    animation: none;
    opacity: 1;
  }
  .btn--primary.btn--full {
    animation: none;
  }
  .trust--pop .trust__item .trust__num {
    animation: none;
  }
}
