/* ===== DESIGN TOKENS ===== */
:root {
  --purple:        #5B2D8E;
  --purple-deep:   #3A1A5C;
  --purple-mid:    #7B4DB5;
  --purple-light:  #C4A8E8;
  --purple-pale:   #F0E9FA;
  --black:         #0D0D0D;
  --charcoal:      #1C1C1C;
  --white:         #FFFFFF;
  --off-white:     #FAF9FC;
  --muted:         #888;
  --serif:         'Cormorant Garamond', Georgia, serif;
  --sans:          'DM Sans', sans-serif;
  --transition:    cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
html, body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--black);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.law-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(91,45,142,0.1);
  transition: padding 0.3s var(--transition), box-shadow 0.3s;
}
.law-nav.scrolled {
  padding: 0.75rem 0;
  box-shadow: 0 4px 30px rgba(91,45,142,0.1);
}
.navbar-brand-logo {
  width: 250px;
  height: 150px;
}
.nav-link-custom {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--charcoal) !important;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s;
  text-decoration: none;
}
.nav-link-custom:hover { color: var(--purple) !important; }
.nav-cta {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: var(--purple);
  color: var(--white) !important;
  padding: 0.65rem 1.5rem;
  text-decoration: none;
  transition: background 0.25s, transform 0.2s;
  display: inline-block;
}
.nav-cta:hover {
  background: var(--purple-deep);
  transform: translateY(-1px);
  color: var(--white) !important;
}

/* ===== HERO ===== */
.law-hero {
  min-height: 100vh;
  background: var(--black);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(91,45,142,0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91,45,142,0.18) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}
.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(91,45,142,0.4) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 6rem;
}
.hero-eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px; height: 1px;
  background: var(--purple-light);
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero-title em {
  font-style: italic;
  color: var(--purple-light);
}
.hero-sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  max-width: 500px;
  margin-bottom: 3rem;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary-law {
  background: var(--purple);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.25s, transform 0.2s;
}
.btn-primary-law:hover {
  background: var(--purple-mid) !important;
  color: var(--white);
  transform: translateY(-2px);
}
.btn-ghost-law {
  background: transparent;
  color: rgba(255,255,255,0.7);
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border: 1px solid rgba(255,255,255,0.2);
  text-decoration: none;
  transition: border-color 0.25s, color 0.25s;
}
.btn-ghost-law:hover {
  border-color: var(--purple-light);
  color: var(--purple-light);
}
.hero-stats {
  display: flex;
  gap: 3rem;
  margin: 2rem 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.stat-num {
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1;
}
.stat-label {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 4px;
}
.hero-side {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-top: 6rem;
}
.hero-accent-box {
  width: 300px;
  border: 1px solid rgba(91,45,142,0.5);
  padding: 2.5rem;
  position: relative;
}
.hero-accent-box::before {
  content: '';
  position: absolute;
  top: -1px; right: -1px;
  width: 60px; height: 60px;
  border-top: 3px solid var(--purple);
  border-right: 3px solid var(--purple);
}
.hero-accent-box::after {
  content: '';
  position: absolute;
  bottom: -1px; left: -1px;
  width: 60px; height: 60px;
  border-bottom: 3px solid var(--purple);
  border-left: 3px solid var(--purple);
}
.accent-label {
  font-size: 0.68rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 1rem;
}
.accent-items { list-style: none; }
.accent-items li {
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 10px;
}
.accent-items li::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--purple-mid);
  border-radius: 50%;
  flex-shrink: 0;
}
.accent-items li:last-child { border-bottom: none; }

/* ===== SECTION COMMON ===== */
.section-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-eyebrow::before {
  content: '';
  width: 30px; height: 1px;
  background: var(--purple);
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.15;
}

/* ===== ABOUT ===== */
.about-section {
  padding: 5rem 0;
  background: var(--white);
}
.about-img-wrapper {
  position: relative;
}
.about-img-wrapper img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}
.about-img-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px; height: 120px;
  background: var(--purple);
  z-index: -1;
}
.about-img-label {
  position: absolute;
  bottom: 20px; left: -1px;
  background: var(--black);
  color: var(--white);
  padding: 1rem 1.5rem;
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.about-content { padding-left: 3rem; }
.about-list { list-style: none; margin-top: 2rem; }
.about-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
}
.about-list li i {
  color: var(--purple);
  font-size: 0.75rem;
  width: 20px;
}

/* ===== SERVICES ===== */
.services-section {
  padding: 5rem 0;
  background: var(--charcoal);
}
.services-section .section-eyebrow { color: var(--purple-light); }
.services-section .section-eyebrow::before { background: var(--purple-light); }
.services-section .section-title { color: var(--white); }
.service-card {
  border: 1px solid rgba(255,255,255,0.07);
  padding: 2.5rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--purple-mid));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--transition);
}
.service-card:hover { border-color: rgba(91,45,142,0.4); transform: translateY(-4px); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 52px; height: 52px;
  border: 1px solid rgba(91,45,142,0.4);
  display: flex;
  align-items: center; justify-content: center;
  margin-bottom: 1.75rem;
  color: var(--purple-light);
  font-size: 1.1rem;
  transition: background 0.3s;
}
.service-card:hover .service-icon {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--white);
}
.service-title {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.service-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
}
.service-num {
  position: absolute;
  top: 1.5rem; right: 1.75rem;
  font-family: var(--serif);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  padding: 5rem 0;
  background: var(--purple-pale);
}
.testimonial-card {
  background: var(--white);
  padding: 2.5rem;
  height: 100%;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: var(--serif);
  font-size: 5rem;
  color: var(--purple);
  line-height: 0.8;
  display: block;
  margin-bottom: 1rem;
  opacity: 0.3;
}
.testimonial-text {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.7;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}
.testimonial-author {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--purple);
  font-weight: 500;
}
.testimonial-stars { color: var(--purple); font-size: 0.8rem; margin-bottom: 0.75rem; }

/* ===== CONTACT ===== */
.contact-section {
  padding: 0;
  background: var(--black);
  position: relative;
  overflow: hidden;
}
.contact-left {
  padding: 7rem 5rem 7rem 0;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.contact-right {
  padding: 7rem 0 7rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.contact-icon {
  width: 40px; height: 40px;
  border: 1px solid rgba(91,45,142,0.5);
  display: flex;
  align-items: center; justify-content: center;
  color: var(--purple-light);
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-label {
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 4px;
}
.contact-value {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
}
.contact-value a { color: inherit; text-decoration: none; }
.contact-value a:hover { color: var(--purple-light); }
.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--purple);
  color: var(--white);
  padding: 1.1rem 2rem;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s;
  margin-right: 1rem;
  margin-bottom: 1rem;
}
.btn-contact:hover { background: var(--purple-mid); color: var(--white); }
.btn-contact-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: rgba(255,255,255,0.6);
  padding: 1.1rem 2rem;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.15);
  transition: border-color 0.25s, color 0.25s;
  margin-bottom: 1rem;
}
.btn-contact-outline:hover { border-color: var(--purple-light); color: var(--purple-light); }

/* ===== FOOTER ===== */
.law-footer {
  background: var(--charcoal);
  padding: 5rem 0 2rem;
  color: rgba(255,255,255,0.55);
}
.footer-brand {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.25rem;
}
.footer-brand .brand-mark {
  width: 28px; height: 28px;
  background: var(--purple);
  display: inline-flex;
  align-items: center; justify-content: center;
  color: white;
  font-size: 0.6rem;
}
.footer-about {
  font-size: 0.88rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.4);
  max-width: 300px;
}
.footer-heading {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(91,45,142,0.4);
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.65rem; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-links a::before {
  content: '';
  width: 12px; height: 1px;
  background: var(--purple-mid);
  transition: width 0.2s;
  flex-shrink: 0;
}
.footer-links a:hover { color: rgba(255,255,255,0.8); }
.footer-links a:hover::before { width: 20px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}
.footer-contact-item i { color: var(--purple-mid); margin-top: 3px; font-size: 0.8rem; }
.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin: 3rem 0 1.5rem;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.5px;
}
.footer-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--purple);
}
.footer-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--purple);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ===== DIVIDER ORNAMENT ===== */
.ornament {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0 2.5rem;
}
.ornament::before, .ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(0,0,0,0.1);
}
.ornament-diamond {
  width: 8px; height: 8px;
  background: var(--purple);
  transform: rotate(45deg);
}

/* ===== SCROLL ANIMATION ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }

/* ===========================
   INNER PAGES
   =========================== */

/* ===== PAGE HERO ===== */
.page-hero {
  min-height: 52vh;
  background: var(--black);
  position: relative;
  display: flex;
  align-items: center;
  padding: 5rem 0 5rem;
  overflow: hidden;
}
.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(91,45,142,0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91,45,142,0.15) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}
.page-hero-glow {
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(91,45,142,0.35) 0%, transparent 70%);
  top: 50%; left: 35%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.page-hero-title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--white);
  margin: 0.6rem 0 1.1rem;
  padding:15px 0;
}
.page-hero-title em {
  font-style: italic;
  color: var(--purple-light);
}
.page-hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.85;
  max-width: 520px;
  margin: 0;
}
.page-hero-breadcrumb {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1320px;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  z-index: 2;
}
.page-hero-breadcrumb a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.2s;
}
.page-hero-breadcrumb a:hover { color: var(--purple-light); }
.page-hero-breadcrumb span:last-child { color: var(--purple-light); }

/* ===== TEAM CARDS ===== */
.team-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  overflow: hidden;
  transition: transform 0.3s var(--transition), box-shadow 0.3s;
}
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(91,45,142,0.12);
}
.team-img-wrap {
  background: var(--purple-pale);
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.team-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.team-img-placeholder {
  width: 80px; height: 80px;
  background: var(--purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
}
.team-info { padding: 1.75rem; }
.team-name {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}
.team-role {
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 1rem;
}
.team-bio {
  font-size: 0.88rem;
  color: #777;
  line-height: 1.8;
  margin: 0;
}

/* ===== VALUE CARDS ===== */
.value-card {
  padding: 2rem;
  border: 1px solid rgba(0,0,0,0.07);
  height: 100%;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  background: var(--white);
}
.value-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--purple-mid));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--transition);
}
.value-card:hover {
  border-color: rgba(91,45,142,0.2);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(91,45,142,0.08);
}
.value-card:hover::after { transform: scaleX(1); }
.value-icon {
  width: 46px; height: 46px;
  background: var(--purple-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  font-size: 1rem;
  margin-bottom: 1.1rem;
  transition: background 0.3s, color 0.3s;
}
.value-card:hover .value-icon {
  background: var(--purple);
  color: var(--white);
}
.value-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 0.5rem;
}
.value-desc {
  font-size: 0.85rem;
  color: #777;
  line-height: 1.8;
  margin: 0;
}

/* ===== SERVICE PAGE CARDS ===== */
.service-page-card {
  border: 1px solid rgba(0,0,0,0.08);
  padding: 2.25rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: var(--white);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.service-page-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--purple-mid));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--transition);
}
.service-page-card:hover {
  border-color: rgba(91,45,142,0.25);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(91,45,142,0.1);
}
.service-page-card:hover::after { transform: scaleX(1); }
.spc-number {
  position: absolute;
  top: 1.25rem; right: 1.5rem;
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--purple);
  line-height: 1;
  transition: color 0.3s;
}
.service-page-card:hover .spc-number { color: rgba(91,45,142,0.12); }
.spc-icon {
  width: 48px; height: 48px;
  border: 1px solid rgba(91,45,142,0.2);
  display: flex;
  align-items: center; justify-content: center;
  color: var(--purple);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.service-page-card:hover .spc-icon {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}
.spc-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 0.65rem;
  line-height: 1.35;
}
.spc-desc {
  font-size: 0.85rem;
  color: #777;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.spc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.spc-list li {
  font-size: 0.82rem;
  color: #888;
  padding: 0.4rem 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.spc-list li::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--purple-mid);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===== CONTACT FORM ===== */
.contact-form-wrap {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 3rem;
  height: 100%;
}
.cf-header { margin-bottom: 2rem; }
.cf-label {
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 0.5rem;
}
.cf-note {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.3);
  margin: 0;
}
.cf-label-field {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.5rem;
}
.cf-req { color: var(--purple-light); }
.cf-input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  padding: 0.85rem 1rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}
.cf-input:focus {
  border-color: var(--purple-mid);
  background: rgba(91,45,142,0.08);
}
.cf-input::placeholder { color: rgba(255,255,255,0.2); }
.cf-select { cursor: pointer; }
.cf-select option { background: var(--charcoal); color: var(--white); }
.cf-textarea { resize: vertical; min-height: 130px; }
.cf-disclaimer {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.2);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  font-style: italic;
}
.cf-success {
  background: rgba(91,45,142,0.2);
  border: 1px solid var(--purple-mid);
  color: var(--purple-light);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cf-error {
  background: rgba(180,40,40,0.2);
  border: 1px solid rgba(180,40,40,0.5);
  color: #f08080;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ===== DISCLAIMER ===== */
#lo-disclaimer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 12, 0.88);
  backdrop-filter: blur(6px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  animation: fadeIn 0.6s ease 0.3s forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

#lo-disclaimer-box {
  background: #faf8f4;
  border: 1px solid #fff;
  max-width: 680px;
  width: 100%;
  padding: 0;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(200,184,154,0.3);
  transform: translateY(20px);
  animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

@keyframes slideUp {
  to { transform: translateY(0); }
}

#lo-disclaimer-header {
  background: var(--purple);
  padding: 28px 40px 24px;
  border-bottom: 2px solid #fff;
  flex-shrink: 0;
}

#lo-disclaimer-header .firm-name {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 8px;
}

#lo-disclaimer-header h2 {
  font-size: 28px;
  font-weight: 300;
  color: #faf8f4;
  margin: 0;
  letter-spacing: 1px;
  padding-top: 15px;
}

#lo-disclaimer-body {
  padding: 32px 40px;
  overflow-y: auto;
  flex: 1;
}

#lo-disclaimer-body::-webkit-scrollbar { width: 4px; }
#lo-disclaimer-body::-webkit-scrollbar-track { background: #f0ebe3; }
#lo-disclaimer-body::-webkit-scrollbar-thumb { background: #c8b89a; }

.lo-section-title {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--charcoal);
  margin: 0 0 10px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid #e8e0d4;
}

.lo-section-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: #212529;
  margin: 0 0 28px 0;
}

#lo-disclaimer-footer {
  padding: 20px 40px 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid #e8e0d4;
  background: #fff;
  flex-shrink: 0;
}

#lo-agree-btn {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: var(--purple);
  color: #fff;
  border: none;
  padding: 14px 32px;
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

#lo-agree-btn:hover {
  background: var(--purple-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

#lo-agree-btn:active { transform: translateY(0); }

.lo-footer-note {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  color: var(--charcoal);
  line-height: 1.5;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .page-hero-glow { left: 50%; }
	.navbar-brand-logo {
    height: 100px;
}
	.hero-content {
    padding-top: 0rem;
}
}

@media (max-width: 768px) {
  /* Homepage */
  .about-content { padding-left: 0; padding-top: 2.5rem; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .hero-side { display: none; }
  .contact-left {
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding-bottom: 3rem;
  }
  .contact-right { padding-left: 0; padding-top: 3rem; }

  /* Inner pages */
  .page-hero { padding: 7rem 0 4rem; min-height: 40vh; }
  .page-hero-breadcrumb {
    position: static;
    transform: none;
    margin-top: 2rem;
    padding: 0;
  }
  .service-page-card { padding: 1.75rem; }
  .contact-form-wrap { padding: 2rem 1.5rem; }
  .value-card { padding: 1.5rem; }

  /* Disclaimer */
  #lo-disclaimer-header,
  #lo-disclaimer-body,
  #lo-disclaimer-footer {
    padding-left: 24px;
    padding-right: 24px;
  }
  #lo-disclaimer-header h2 { font-size: 22px; }
  #lo-disclaimer-footer { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .page-hero-title { font-size: 2.2rem; }
  .spc-title { font-size: 1.1rem; }
  .team-name { font-size: 1.1rem; }
}

/* ===================================================
   LAWVENDOR — BLOG STYLES
   Append to your main style.css
   =================================================== */

/* ===== BLOG SECTION WRAPPER ===== */
.blog-section {
  padding: 5rem 0 7rem;
  background: var(--off-white);
}

/* ===== BLOG GRID ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Featured card spans full width */
.blog-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* ===== BLOG CARD BASE ===== */
.blog-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--transition), box-shadow 0.3s, border-color 0.3s;
  position: relative;
}
.blog-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--purple-mid));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--transition);
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(91,45,142,0.1);
  border-color: rgba(91,45,142,0.18);
}
.blog-card:hover::after { transform: scaleX(1); }

/* ===== THUMBNAIL ===== */
.blog-card__thumb {
  display: block;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  background: var(--charcoal);
}
.blog-card__thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--transition), opacity 0.4s;
}
.blog-card--featured .blog-card__thumb img {
  height: 100%;
  min-height: 340px;
}
.blog-card:hover .blog-card__thumb img {
  transform: scale(1.04);
  opacity: 0.88;
}
.blog-card__thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,5,20,0.45) 0%, transparent 60%);
  pointer-events: none;
}

/* Placeholder (no featured image) */
.blog-card__thumb--placeholder {
  height: 220px;
  background: var(--purple-pale);
}
.blog-card--featured .blog-card__thumb--placeholder {
  height: 100%;
  min-height: 340px;
}
.blog-card__placeholder-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  font-size: 3rem;
  opacity: 0.25;
}

/* ===== CARD BODY ===== */
.blog-card__body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card--featured .blog-card__body {
  padding: 2.5rem;
  justify-content: center;
}

/* ===== META ===== */
.blog-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.blog-card__cat {
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: var(--purple-pale);
  color: var(--purple);
  padding: 0.3rem 0.75rem;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.blog-card__cat:hover {
  background: var(--purple);
  color: var(--white);
}
.blog-card__date,
.blog-card__read {
  font-size: 0.75rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ===== TITLE ===== */
.blog-card__title {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 0.85rem;
}
.blog-card--featured .blog-card__title {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.blog-card__title a {
  color: var(--black);
  text-decoration: none;
  transition: color 0.2s;
}
.blog-card__title a:hover { color: var(--purple); }

/* ===== EXCERPT ===== */
.blog-card__excerpt {
  font-size: 0.88rem;
  color: #777;
  line-height: 1.8;
  flex: 1;
  margin-bottom: 1.5rem;
}
.blog-card--featured .blog-card__excerpt {
  font-size: 0.95rem;
  max-width: 420px;
}

/* ===== CARD FOOTER ===== */
.blog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0,0,0,0.06);
  margin-top: auto;
}
.blog-card__read-more {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--purple);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  transition: gap 0.2s, color 0.2s;
}
.blog-card__read-more:hover {
  color: var(--purple-deep);
  gap: 12px;
}
.blog-card__arrow {
  width: 24px; height: 24px;
  border: 1px solid var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  transition: background 0.2s, color 0.2s;
}
.blog-card__read-more:hover .blog-card__arrow {
  background: var(--purple);
  color: var(--white);
}
.blog-card__author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--muted);
}
.blog-card__avatar {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(91,45,142,0.2);
}

/* ===== PAGINATION ===== */
.blog-pagination {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
}
.blog-pagination .nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.blog-pagination .page-numbers {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 1px;
  width: 42px; height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0,0,0,0.1);
  color: var(--charcoal);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--white);
}
.blog-pagination .page-numbers.dots {
  border-color: transparent;
  background: transparent;
  cursor: default;
}
.blog-pagination .prev,
.blog-pagination .next {
  width: auto;
  padding: 0 1.25rem;
  gap: 8px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ===== EMPTY STATE ===== */
.blog-empty {
  text-align: center;
  padding: 6rem 1rem;
  max-width: 480px;
  margin: 0 auto;
}
.blog-empty__icon {
  width: 72px; height: 72px;
  background: var(--purple-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  font-size: 1.75rem;
  margin: 0 auto 1.5rem;
}
.blog-empty__title {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 0.75rem;
}
.blog-empty__text {
  font-size: 0.92rem;
  color: #777;
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-card--featured {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
  }
  .blog-card--featured .blog-card__thumb img,
  .blog-card--featured .blog-card__thumb--placeholder {
    height: 280px;
    min-height: unset;
  }
  .blog-card--featured .blog-card__title { font-size: 1.6rem; }
}

@media (max-width: 640px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .blog-section { padding: 3rem 0 5rem; }
  .blog-card--featured .blog-card__body { padding: 1.75rem; }
  .blog-card--featured .blog-card__title { font-size: 1.35rem; }
  .blog-pagination .page-numbers { width: 36px; height: 36px; }
}

/* ===================================================
   LAWVENDOR — SINGLE POST STYLES
   Append to your main style.css
   =================================================== */

/* ===== POST HERO ===== */
.post-hero {
  min-height: 58vh;
  background: var(--black);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 4rem 0 4rem;
  overflow: hidden;
}
.post-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(91,45,142,0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91,45,142,0.14) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
  z-index: 1;
}
.post-hero__glow {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(91,45,142,0.3) 0%, transparent 70%);
  top: 50%; left: 40%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
}
.post-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.post-hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.2;
}
.post-hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--black) 30%, rgba(13,13,13,0.6) 100%);
}
.post-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
}
.post-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 1.5rem;
}
.post-hero__breadcrumb a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.2s;
}
.post-hero__breadcrumb a:hover,
.post-hero__breadcrumb span:last-child { color: var(--purple-light); }
.post-hero__cat {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  background: var(--purple);
  color: var(--white);
  padding: 0.3rem 0.85rem;
  text-decoration: none;
  margin-bottom: 1.25rem;
  transition: background 0.2s;
}
.post-hero__cat:hover { background: var(--purple-mid); color: var(--white); }
.post-hero__title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 2rem;
  padding:30px 0;
}
.post-hero__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.post-hero__author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.post-hero__avatar {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  border: 2px solid rgba(91,45,142,0.6);
  object-fit: cover;
}
.post-hero__author-name {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}
.post-hero__author-role {
  font-size: 0.72rem;
  letter-spacing: 1px;
  color: var(--purple-light);
  text-transform: uppercase;
}
.post-hero__divider {
  width: 1px; height: 28px;
  background: rgba(255,255,255,0.15);
}
.post-hero__info {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ===== POST LAYOUT ===== */
.post-layout {
  background: var(--off-white);
  padding: 5rem 0 7rem;
}
.post-layout__inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 4rem;
  align-items: start;
}

/* ===== POST CONTENT ===== */
.post-content-wrap {
  min-width: 0;
}
.post-featured-img {
  margin-bottom: 2.5rem;
  border: 1px solid rgba(0,0,0,0.07);
  overflow: hidden;
}
.post-featured-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

/* ===== POST BODY TYPOGRAPHY ===== */
.post-body {
  background: var(--white);
  padding: 3rem 3.5rem;
  border: 1px solid rgba(0,0,0,0.07);
  margin-bottom: 2rem;
}
.post-body p {
  font-size: 1rem;
  line-height: 1.9;
  color: #3a3a3a;
  margin-bottom: 1.5rem;
}
.post-body h2 {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 400;
  color: var(--black);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--purple-pale);
  line-height: 1.25;
}
.post-body h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--black);
  margin: 2rem 0 0.85rem;
  line-height: 1.3;
}
.post-body h4 {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--purple);
  margin: 1.75rem 0 0.75rem;
}
.post-body ul,
.post-body ol {
  margin: 0 0 1.5rem 1.5rem;
}
.post-body ul li,
.post-body ol li {
  font-size: 0.97rem;
  line-height: 1.85;
  color: #3a3a3a;
  margin-bottom: 0.4rem;
  padding-left: 0.25rem;
}
.post-body ul li::marker { color: var(--purple); }
.post-body ol li::marker {
  color: var(--purple);
  font-weight: 600;
  font-family: var(--sans);
}
.post-body blockquote {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  border-left: 4px solid var(--purple);
  background: var(--purple-pale);
  position: relative;
}
.post-body blockquote p {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--charcoal);
  margin: 0;
  line-height: 1.75;
}
.post-body blockquote::before {
  content: '\201C';
  font-family: var(--serif);
  font-size: 4rem;
  color: var(--purple);
  opacity: 0.25;
  position: absolute;
  top: 0.25rem;
  left: 1rem;
  line-height: 1;
}
.post-body a {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.post-body a:hover { color: var(--purple-deep); }
.post-body strong { color: var(--black); font-weight: 600; }
.post-body em { font-style: italic; }
.post-body code {
  font-family: 'Courier New', monospace;
  font-size: 0.88rem;
  background: var(--purple-pale);
  color: var(--purple-deep);
  padding: 0.15rem 0.45rem;
  border-radius: 2px;
}
.post-body pre {
  background: var(--charcoal);
  color: rgba(255,255,255,0.85);
  padding: 1.5rem;
  overflow-x: auto;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  line-height: 1.7;
}
.post-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5rem 0;
}
.post-body hr {
  border: none;
  border-top: 1px solid rgba(0,0,0,0.1);
  margin: 2.5rem 0;
}
.post-body table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}
.post-body table th {
  background: var(--purple);
  color: var(--white);
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 500;
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.post-body table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  color: #3a3a3a;
  line-height: 1.6;
}
.post-body table tr:nth-child(even) td { background: var(--purple-pale); }

/* ===== TAGS ===== */
.post-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  margin-bottom: 1.5rem;
}
.post-tags__label {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 0.5rem;
}
.post-tags__item {
  font-size: 0.75rem;
  color: var(--purple);
  background: var(--purple-pale);
  padding: 0.3rem 0.85rem;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: background 0.2s, color 0.2s;
}
.post-tags__item:hover {
  background: var(--purple);
  color: var(--white);
}

/* ===== SHARE BAR ===== */
.post-share {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  margin-bottom: 2rem;
}
.post-share__label {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 0.25rem;
}
.post-share__links {
  display: flex;
  gap: 0.5rem;
}
.post-share__btn {
  width: 38px; height: 38px;
  border: 1px solid rgba(0,0,0,0.1);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  color: var(--charcoal);
}
.post-share__btn--linkedin:hover { background: #0077b5; border-color: #0077b5; color: var(--white); }
.post-share__btn--twitter:hover  { background: #000; border-color: #000; color: var(--white); }
.post-share__btn--whatsapp:hover { background: #25d366; border-color: #25d366; color: var(--white); }
.post-share__btn--copy:hover     { background: var(--purple); border-color: var(--purple); color: var(--white); }

/* ===== AUTHOR BOX ===== */
.post-author-box {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
  padding: 2rem;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  border-left: 4px solid var(--purple);
  margin-bottom: 2rem;
}
.post-author-box__avatar {
  width: 80px !important;
  height: 80px !important;
  border-radius: 50% !important;
  border: 3px solid var(--purple-pale);
  flex-shrink: 0;
  object-fit: cover;
}
.post-author-box__label {
  font-size: 0.68rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 0.3rem;
}
.post-author-box__name {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 0.5rem;
}
.post-author-box__bio {
  font-size: 0.88rem;
  color: #777;
  line-height: 1.8;
  margin: 0;
}

/* ===== POST NAVIGATION ===== */
.post-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  margin-bottom: 2.5rem;
  overflow: hidden;
}
.post-nav__item { padding: 1.75rem 2rem; }
.post-nav__item--next { text-align: right; }
.post-nav__divider {
  width: 1px;
  background: rgba(0,0,0,0.07);
  align-self: stretch;
}
.post-nav__link {
  text-decoration: none;
  display: block;
  height: 100%;
  transition: background 0.2s;
}
.post-nav__link:hover { background: var(--purple-pale); }
.post-nav__dir {
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.post-nav__item--next .post-nav__dir { justify-content: flex-end; }
.post-nav__ptitle {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--black);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== COMMENTS ===== */
.post-comments {
  background: var(--white);
  padding: 2.5rem;
  border: 1px solid rgba(0,0,0,0.07);
}
.post-comments .comments-title,
.post-comments .comment-reply-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.post-comments .comment-body {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.post-comments .comment-author .fn {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--black);
}
.post-comments .comment-meta {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.post-comments .comment-content p {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.8;
  margin: 0;
}
.post-comments .comment-form input[type="text"],
.post-comments .comment-form input[type="email"],
.post-comments .comment-form input[type="url"],
.post-comments .comment-form textarea {
  width: 100%;
  border: 1px solid rgba(0,0,0,0.12);
  padding: 0.75rem 1rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--black);
  background: var(--off-white);
  outline: none;
  border-radius: 0;
  transition: border-color 0.2s;
}
.post-comments .comment-form input:focus,
.post-comments .comment-form textarea:focus { border-color: var(--purple); }
.post-comments .comment-form .submit {
  background: var(--purple);
  color: var(--white);
  border: none;
  padding: 0.85rem 2rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s;
  border-radius: 0;
}
.post-comments .comment-form .submit:hover { background: var(--purple-mid); }

/* ===== SIDEBAR ===== */
.post-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.sidebar-widget {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  padding: 1.75rem;
  overflow: hidden;
}
.sidebar-widget--contact {
  background: var(--purple-deep);
  border-color: var(--purple-deep);
}
.sidebar-widget__heading {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(91,45,142,0.15);
}
.sidebar-widget--contact .sidebar-widget__heading {
  border-bottom-color: rgba(255,255,255,0.15);
}

/* TOC */
.toc-nav {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.toc-nav__link {
  font-size: 0.83rem;
  color: #666;
  text-decoration: none;
  padding: 0.45rem 0.75rem;
  border-left: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  line-height: 1.45;
}
.toc-nav__link--h3 {
  padding-left: 1.5rem;
  font-size: 0.78rem;
}
.toc-nav__link:hover { color: var(--purple); background: var(--purple-pale); }
.toc-nav__link--active {
  color: var(--purple);
  border-left-color: var(--purple);
  background: var(--purple-pale);
  font-weight: 500;
}

/* Related posts */
.related-post {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  text-decoration: none;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: background 0.2s;
}
.related-post:last-child { border-bottom: none; padding-bottom: 0; }
.related-post:hover .related-post__title { color: var(--purple); }
.related-post__thumb {
  width: 64px; height: 64px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--purple-pale);
}
.related-post__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.related-post:hover .related-post__thumb img { transform: scale(1.08); }
.related-post__thumb--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  font-size: 1.25rem;
  opacity: 0.4;
}
.related-post__title {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--black);
  line-height: 1.4;
  margin-bottom: 0.3rem;
  transition: color 0.2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-post__date {
  font-size: 0.72rem;
  color: var(--muted);
}

/* Sidebar CTA button */
.sidebar-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--purple);
  text-decoration: none;
  border: 1px solid var(--purple);
  padding: 0.75rem 1.25rem;
  transition: background 0.2s, color 0.2s;
  width: 100%;
  justify-content: center;
}
.sidebar-cta-btn:hover {
  background: var(--purple);
  color: var(--white);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .post-layout__inner {
    grid-template-columns: 1fr 280px;
    gap: 2.5rem;
  }
  .post-body { padding: 2rem; }
}

@media (max-width: 768px) {
  .post-layout__inner {
    grid-template-columns: 1fr;
  }
  .post-sidebar {
    position: static;
    order: -1;
  }
  .sidebar-widget--toc { display: none; }
  .post-hero { padding: 7rem 0 3rem; min-height: unset; }
  .post-hero__title { font-size: 1.9rem; }
  .post-hero__divider { display: none; }
  .post-body { padding: 1.5rem; }
  .post-author-box { flex-direction: column; gap: 1rem; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav__divider { width: auto; height: 1px; }
  .post-nav__item--next { text-align: left; }
  .post-nav__item--next .post-nav__dir { justify-content: flex-start; }
  .post-featured-img { display: none; }
}

/* ===================================================
   LAWVENDOR — DOCUMENT LIBRARY STYLES
   Append to your main style.css
   =================================================== */

/* ===== SECTION ===== */
.doc-library-section {
  padding: 5rem 0 7rem;
  background: var(--off-white);
  min-height: 60vh;
}

/* ===== TOP BAR ===== */
.doc-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.doc-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.1);
  padding: 0 1rem;
  flex: 1;
  max-width: 360px;
  transition: border-color 0.2s;
}
.doc-search:focus-within { border-color: var(--purple); }
.doc-search i { color: var(--purple); font-size: 0.85rem; flex-shrink: 0; }
.doc-search input {
  border: none;
  outline: none;
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--black);
  background: transparent;
  padding: 0.75rem 0;
  width: 100%;
}
.doc-search input::placeholder { color: rgba(0,0,0,0.3); }

.doc-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.doc-filter-btn {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #777;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(0,0,0,0.1);
  background: var(--white);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.doc-filter-btn:hover,
.doc-filter-btn.active {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--white);
}
.doc-filter-count {
  background: rgba(0,0,0,0.08);
  padding: 0.1rem 0.45rem;
  font-size: 0.65rem;
  border-radius: 20px;
}
.doc-filter-btn.active .doc-filter-count,
.doc-filter-btn:hover .doc-filter-count {
  background: rgba(255,255,255,0.2);
}

/* ===== DOC COUNT ===== */
.doc-count {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}
.doc-count strong { color: var(--purple); }

/* ===== DOC GRID ===== */
.doc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ===== DOC CARD ===== */
.doc-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s var(--transition), box-shadow 0.3s, border-color 0.3s;
  position: relative;
}
.doc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--purple-mid));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--transition);
}
.doc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(91,45,142,0.1);
  border-color: rgba(91,45,142,0.18);
}
.doc-card:hover::before { transform: scaleX(1); }

/* Icon strip */
.doc-card__icon {
  background: color-mix(in srgb, var(--doc-color) 10%, white);
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.doc-card__icon i {
  font-size: 2rem;
  color: var(--doc-color);
  flex-shrink: 0;
}
.doc-card__type {
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--doc-color);
  font-weight: 600;
  background: color-mix(in srgb, var(--doc-color) 15%, white);
  padding: 0.25rem 0.6rem;
  border: 1px solid color-mix(in srgb, var(--doc-color) 30%, white);
}

/* Body */
.doc-card__body {
  padding: 1.5rem 1.75rem;
  flex: 1;
}
.doc-card__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}
.doc-card__cat {
  font-size: 0.62rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--purple);
  background: var(--purple-pale);
  padding: 0.2rem 0.6rem;
}
.doc-card__title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--black);
  line-height: 1.4;
  margin-bottom: 0.6rem;
}
.doc-card__desc {
  font-size: 0.83rem;
  color: #888;
  line-height: 1.7;
  margin-bottom: 0.85rem;
}
.doc-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--muted);
}
.doc-card__meta i { color: var(--purple-mid); }

/* Actions */
.doc-card__actions {
  padding: 1rem 1.75rem 1.5rem;
  display: flex;
  gap: 0.5rem;
  border-top: 1px solid rgba(0,0,0,0.05);
}
.doc-card__btn {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.6rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  flex: 1;
  justify-content: center;
}
.doc-card__btn--view {
  background: var(--purple-pale);
  color: var(--purple);
  border: 1px solid rgba(91,45,142,0.2);
}
.doc-card__btn--view:hover {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}
.doc-card__btn--download {
  background: var(--purple);
  color: var(--white);
  border: 1px solid var(--purple);
}
.doc-card__btn--download:hover {
  background: var(--purple-deep);
  border-color: var(--purple-deep);
  color: var(--white);
}
.doc-card__unavailable {
  font-size: 0.75rem;
  color: var(--muted);
  font-style: italic;
}

/* ===== EMPTY STATE ===== */
.doc-empty {
  text-align: center;
  padding: 5rem 1rem;
  max-width: 440px;
  margin: 0 auto;
}
.doc-empty__icon {
  width: 72px; height: 72px;
  background: var(--purple-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  font-size: 1.75rem;
  margin: 0 auto 1.5rem;
}
.doc-empty__title {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 0.75rem;
}
.doc-empty__text {
  font-size: 0.9rem;
  color: #777;
  line-height: 1.8;
}
.doc-empty__text a { color: var(--purple); }

/* ===== LOGIN GATE ===== */
.doc-gate {
  max-width: 580px;
  margin: 3rem auto;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  padding: 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.doc-gate::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--purple), var(--purple-mid));
}
.doc-gate__icon {
  width: 72px; height: 72px;
  background: var(--purple-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  font-size: 1.75rem;
  margin: 0 auto 1.5rem;
}
.doc-gate__title {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 1rem;
}
.doc-gate__text {
  font-size: 0.92rem;
  color: #666;
  line-height: 1.85;
  margin-bottom: 2rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.doc-gate__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.doc-gate__features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.07);
}
.doc-gate__feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #777;
}
.doc-gate__feature i { color: var(--purple); font-size: 0.9rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .doc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .doc-grid { grid-template-columns: 1fr; }
  .doc-topbar { flex-direction: column; align-items: stretch; }
  .doc-search { max-width: 100%; }
  .doc-gate { padding: 2.5rem 1.5rem; }
  .doc-gate__actions { flex-direction: column; }
  .doc-gate__features { flex-direction: column; align-items: center; }
}

/* ===================================================
   LAWVENDOR — AUTH PAGES (Login & Register)
   Append to your main style.css
   =================================================== */

/* ===== HIDE DEFAULT WP ADMIN BAR FOR SUBSCRIBERS ===== */
.logged-in.subscriber-role .wpadminbar { display: none !important; }

/* ===== AUTH SECTION ===== */
.auth-section {
  min-height: 100vh;
  display: flex;
}

/* Override default padding from theme on auth pages */
/* .auth-section ~ * { display: none; } */

.auth-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  min-height: 100vh;
}

/* ===== LEFT PANEL ===== */
.auth-left {
  background: var(--black);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.auth-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(91,45,142,0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91,45,142,0.2) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 80% 80% at 30% 50%, black, transparent);
}
.auth-left::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(91,45,142,0.35) 0%, transparent 70%);
  top: 50%; left: 30%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.auth-left__inner {
  position: relative;
  z-index: 2;
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  height: 100%;
  justify-content: space-between;
}

/* Logo */
.auth-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.auth-logo__mark {
  width: 36px; height: 36px;
  background: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.9rem;
}
.auth-logo__text {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Tagline */
.auth-left__tagline h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.auth-left__tagline h2 em {
  font-style: italic;
  color: var(--purple-light);
}
.auth-left__tagline p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.85;
  max-width: 340px;
}

/* Features list */
.auth-left__features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.auth-left__feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.auth-left__feature-icon {
  width: 38px; height: 38px;
  border: 1px solid rgba(91,45,142,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-light);
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.auth-left__feature-title {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  margin-bottom: 2px;
}
.auth-left__feature-desc {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.5;
}

.auth-left__footer {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.5px;
}

/* ===== RIGHT PANEL ===== */
.auth-right {
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  overflow-y: auto;
}
.auth-form-wrap {
  width: 100%;
  max-width: 440px;
}

/* Form header */
.auth-form-header { margin-bottom: 2rem; }
.auth-form-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.auth-form-eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--purple);
}
.auth-form-title {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--black);
  margin-bottom: 0.5rem;
  line-height: 1.15;
}
.auth-form-sub {
  font-size: 0.88rem;
  color: #888;
  margin: 0;
}

/* Alerts */
.auth-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.9rem 1.1rem;
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
  border-left: 3px solid;
}
.auth-alert--error   { background: #fdf2f2; color: #c0392b; border-color: #e74c3c; }
.auth-alert--success { background: #f0fdf4; color: #1a7a3c; border-color: #2ecc71; }
.auth-alert--info    { background: #f0f4ff; color: #2c5282; border-color: #4a90e2; }

/* Form */
.auth-form { display: flex; flex-direction: column; gap: 1.1rem; }

.auth-field { display: flex; flex-direction: column; gap: 0.4rem; }
.auth-label {
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #666;
  font-weight: 500;
}
.auth-input-wrap {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.12);
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
}
.auth-input-wrap:focus-within {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(91,45,142,0.08);
}
.auth-input-wrap > i {
  padding: 0 0.85rem;
  color: rgba(0,0,0,0.25);
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: color 0.2s;
}
.auth-input-wrap:focus-within > i { color: var(--purple); }
.auth-input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--black);
  background: transparent;
  padding: 0.85rem 0.75rem 0.85rem 0;
}
.auth-input::placeholder { color: rgba(0,0,0,0.25); }
.auth-toggle-pw {
  background: none;
  border: none;
  padding: 0 0.85rem;
  color: rgba(0,0,0,0.3);
  cursor: pointer;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.auth-toggle-pw:hover { color: var(--purple); }

/* Row layouts */
.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.auth-row--cols {
  align-items: flex-start;
}
.auth-row--cols .auth-field { flex: 1; }

/* Checkbox */
.auth-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: #666;
  cursor: pointer;
  user-select: none;
}
.auth-checkbox--block { align-items: flex-start; }
.auth-checkbox input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--purple);
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}
.auth-checkbox a { color: var(--purple); }

.auth-forgot {
  font-size: 0.8rem;
  color: var(--purple);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
.auth-forgot:hover { color: var(--purple-deep); }

/* Submit */
.auth-submit {
  width: 100%;
  background: var(--purple);
  color: var(--white);
  border: none;
  padding: 1rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.25s, transform 0.2s;
  margin-top: 0.5rem;
}
.auth-submit:hover {
  background: var(--purple-deep);
  transform: translateY(-1px);
}

/* Switch link */
.auth-switch {
  text-align: center;
  font-size: 0.85rem;
  color: #888;
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.auth-switch a {
  color: var(--purple);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.auth-switch a:hover { color: var(--purple-deep); }

/* Password strength */
.pw-strength {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: -0.25rem;
}
.pw-strength__bar {
  flex: 1;
  height: 3px;
  background: rgba(0,0,0,0.08);
  overflow: hidden;
}
.pw-strength__fill {
  height: 100%;
  width: 0;
  transition: width 0.3s, background 0.3s;
}
.pw-strength__label {
  font-size: 0.72rem;
  color: #aaa;
  white-space: nowrap;
  min-width: 48px;
  transition: color 0.3s;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .auth-split { grid-template-columns: 1fr; }
  .auth-left { display: none; }
  .auth-right { min-height: 100vh; padding: 5rem 1.5rem 3rem; }
}
@media (max-width: 480px) {
  .auth-row--cols { flex-direction: column; }
  .auth-form-title { font-size: 1.8rem; }
}


/* ===== USER WELCOME BAR ===== */
.user-welcome {
  width: 100%;
  background: var(--off-white);
  border-bottom: 1px solid rgba(91,45,142,0.08);
  
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;

  color: var(--muted);
  
  padding: 8px 0;
  
  display: flex;
  justify-content: flex-start; /* LEFT aligned */
  align-items: center;
}

/* Inner spacing aligned with container */
.user-welcome {
  padding-left: 5%;
}

/* Highlight username */
.user-welcome span {
  color: var(--purple);
  font-weight: 500;
  margin-left: 6px;
}

/* Optional icon */
.user-welcome::before {
  content: "\f007"; /* user icon */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 8px;
  color: var(--purple-mid);
  font-size: 0.75rem;
}

@media (max-width: 768px) {
  .user-welcome {
    font-size: 0.7rem;
    padding: 6px 12px;
  }
}
.login-error {
    color: #fff;
    background: #e74c3c;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
}
.doc-upload-btn {
    background: var(--purple);
    color: var(--white);
    border: 1px solid var(--purple);
	  font-family: var(--sans);
    font-size: 0.68rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.6rem 1rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    flex: 1;
    justify-content: center;
}
.doc-upload-btn:hover {
    background: var(--purple-deep);
    border-color: var(--purple-deep);
    color: var(--white);
}


/* Css for teams page */

 /* ===== TOKENS (matches main site) ===== */
  :root {
    --purple:       #5B2D8E;
    --purple-deep:  #3A1A5C;
    --purple-mid:   #7B4DB5;
    --purple-light: #C4A8E8;
    --purple-pale:  #F0E9FA;
    --black:        #0D0D0D;
    --charcoal:     #1C1C1C;
    --white:        #FFFFFF;
    --off-white:    #FAF9FC;
    --muted:        #888;
    --serif:        'Cormorant Garamond', Georgia, serif;
    --sans:         'DM Sans', sans-serif;
    --ease:         cubic-bezier(0.4, 0, 0.2, 1);
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }

  body {
    font-family: var(--sans);
    background: var(--off-white);
    color: var(--black);
    font-weight: 300;
    line-height: 1.7;
    overflow-x: hidden;
  }

  /* ===== NAVBAR ===== */
  .law-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(91,45,142,0.1);
    transition: padding 0.3s var(--ease), box-shadow 0.3s;
  }
  .law-nav.scrolled { padding: 0.75rem 0; box-shadow: 0 4px 30px rgba(91,45,142,0.1); }
  .navbar-brand-text {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--black) !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .brand-mark {
    width: 32px; height: 32px;
    background: var(--purple);
    display: inline-flex;
    align-items: center; justify-content: center;
    color: white;
    font-size: 0.7rem;
  }
  .nav-link-custom {
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--charcoal) !important;
    padding: 0.5rem 1rem !important;
    text-decoration: none;
    transition: color 0.2s;
  }
  .nav-link-custom:hover, .nav-link-custom.active { color: var(--purple) !important; }
  .nav-cta {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: var(--purple);
    color: var(--white) !important;
    padding: 0.65rem 1.5rem;
    text-decoration: none;
    transition: background 0.25s, transform 0.2s;
    display: inline-block;
  }
  .nav-cta:hover { background: var(--purple-deep); transform: translateY(-1px); color: white !important; }

  /* ===== PAGE HERO ===== */
  .page-hero {
    padding: 9rem 0 5rem;
    background: var(--black);
    position: relative;
    overflow: hidden;
  }
  .page-hero-grid {
    position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(91,45,142,0.15) 1px, transparent 1px),
      linear-gradient(90deg, rgba(91,45,142,0.15) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
  }
  .page-hero-glow {
    position: absolute;
    width: 500px; height: 300px;
    background: radial-gradient(ellipse, rgba(91,45,142,0.35) 0%, transparent 70%);
    top: 50%; left: 40%; transform: translate(-50%, -50%);
    pointer-events: none;
  }
  .page-hero-content { position: relative; z-index: 2; }
  .page-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--purple-light);
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 1.25rem;
  }
  .page-eyebrow::before { content: ''; width: 40px; height: 1px; background: var(--purple-light); }
  .page-title {
    font-family: var(--serif);
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 300;
    color: var(--white);
    line-height: 1.05;
    margin-bottom: 1.25rem;
  }
  .page-title em { font-style: italic; color: var(--purple-light); }
  .page-sub {
    font-size: 1rem;
    color: rgba(255,255,255,0.45);
    max-width: 520px;
    line-height: 1.9;
  }
  /* Breadcrumb */
  .team-breadcrumb {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.72rem; letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin-bottom: 2rem;
  }
  .team-breadcrumb a { color: rgba(255,255,255,0.3); text-decoration: none; transition: color 0.2s; }
  .team-breadcrumb a:hover { color: var(--purple-light); }
  .team-breadcrumb .sep { color: rgba(255,255,255,0.15); }
  .team-breadcrumb .current { color: var(--purple-light); }

  /* ===== FILTER BAR ===== */
  .filter-bar {
    background: var(--white);
    border-bottom: 1px solid rgba(0,0,0,0.07);
    padding: 0;
    position: sticky;
    top: 72px;
    z-index: 100;
  }
  .filter-inner {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .filter-inner::-webkit-scrollbar { display: none; }
  .filter-btn {
    flex-shrink: 0;
    font-family: var(--sans);
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    background: none;
    border: none;
    padding: 1.1rem 1.75rem;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
  }
  .filter-btn:hover { color: var(--black); }
  .filter-btn.active {
    color: var(--purple);
    border-bottom-color: var(--purple);
  }

  /* ===== MAIN CONTENT ===== */
  .team-page { padding: 5rem 0 7rem; }

  /* ===== CATEGORY SECTION ===== */
  .team-category {
    margin-bottom: 6rem;
  }
  .category-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    gap: 1rem;
    flex-wrap: wrap;
  }
  .category-left {}
  .category-label {
    font-size: 0.68rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--purple);
    margin-bottom: 0.4rem;
    display: flex; align-items: center; gap: 8px;
  }
  .category-label::before {
    content: ''; width: 20px; height: 2px; background: var(--purple);
  }
  .category-title {
    font-family: var(--serif);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--black);
  }
  .category-count {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    align-self: flex-end;
    padding-bottom: 4px;
  }

  /* ===== PARTNER CARD (large) ===== */
  .partner-card {
    background: var(--white);
    position: relative;
    overflow: hidden;
    transition: transform 0.35s var(--ease), box-shadow 0.35s;
  }
  .partner-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(91,45,142,0.12);
  }
  .partner-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: var(--purple-pale);
  }
  .partner-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.6s var(--ease), filter 0.4s;
    filter: grayscale(20%);
  }
  .partner-card:hover .partner-img-wrap img {
    transform: scale(1.05);
    filter: grayscale(0%);
  }
  .partner-img-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(58,26,92,0.85) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
    display: flex;
    align-items: flex-end;
    padding: 1.75rem;
  }
  .partner-card:hover .partner-img-overlay { opacity: 1; }
  .partner-social {
    display: flex; gap: 10px;
  }
  .partner-social a {
    width: 34px; height: 34px;
    border: 1px solid rgba(255,255,255,0.4);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.8);
    font-size: 0.75rem;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
  }
  .partner-social a:hover { background: var(--purple); border-color: var(--purple); color: white; }
  .partner-num {
    position: absolute;
    top: 1rem; left: 1rem;
    font-family: var(--serif);
    font-size: 0.85rem;
    color: var(--white);
    background: var(--purple);
    padding: 0.2rem 0.6rem;
    letter-spacing: 1px;
    z-index: 2;
  }
  .partner-body {
    padding: 1.5rem 1.5rem 1.75rem;
    border-top: 2px solid var(--purple);
  }
  .partner-name {
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--black);
    margin-bottom: 0.2rem;
    line-height: 1.2;
  }
  .partner-role {
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--purple);
    margin-bottom: 0.75rem;
  }
  .partner-speciality {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 1rem;
  }
  .partner-tags {
    display: flex; flex-wrap: wrap; gap: 6px;
  }
  .partner-tag {
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: var(--purple-pale);
    color: var(--purple);
    padding: 0.25rem 0.6rem;
  }

  /* ===== ASSOCIATE CARD (medium, horizontal on md+) ===== */
  .associate-card {
    background: var(--white);
    display: flex;
    gap: 0;
    overflow: hidden;
    transition: transform 0.3s var(--ease), box-shadow 0.3s;
    border-left: 3px solid transparent;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  }
  .associate-card:hover {
    transform: translateX(4px);
    box-shadow: 0 10px 30px rgba(91,45,142,0.08);
    border-left-color: var(--purple);
  }
  .associate-img-wrap {
    width: 110px;
    flex-shrink: 0;
    background: var(--purple-pale);
    overflow: hidden;
  }
  .associate-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s var(--ease);
  }
  .associate-card:hover .associate-img-wrap img { transform: scale(1.08); }
  .associate-body {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
  }
  .associate-name {
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--black);
    margin-bottom: 0.15rem;
    line-height: 1.2;
  }
  .associate-role {
    font-size: 0.68rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--purple);
    margin-bottom: 0.5rem;
  }
  .associate-spec {
    font-size: 0.8rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 0.6rem;
  }
  .associate-tags { display: flex; flex-wrap: wrap; gap: 5px; }
  .associate-tag {
    font-size: 0.62rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: var(--purple-pale);
    color: var(--purple-mid);
    padding: 0.2rem 0.5rem;
  }

  /* ===== STAFF CARD (small, compact) ===== */
  .staff-card {
    background: var(--white);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: background 0.25s, transform 0.25s;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
  .staff-card:hover {
    background: var(--purple-pale);
    transform: translateX(4px);
  }
  .staff-avatar {
    width: 56px; height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--purple-pale);
    border: 2px solid rgba(91,45,142,0.15);
  }
  .staff-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
  .staff-initial {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple), var(--purple-mid));
    display: flex; align-items: center; justify-content: center;
    font-family: var(--serif);
    font-size: 1.4rem;
    color: white;
    font-weight: 300;
    flex-shrink: 0;
  }
  .staff-info { flex: 1; min-width: 0; }
  .staff-name {
    font-family: var(--serif);
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--black);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .staff-role {
    font-size: 0.68rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--purple);
    margin-top: 1px;
  }
  .staff-arrow {
    color: rgba(0,0,0,0.15);
    font-size: 0.7rem;
    transition: color 0.2s, transform 0.2s;
  }
  .staff-card:hover .staff-arrow { color: var(--purple); transform: translateX(3px); }

  /* ===== DIVIDER ===== */
  .ornament {
    display: flex; align-items: center; gap: 1rem;
  }
  .ornament::before, .ornament::after {
    content: ''; flex: 1; height: 1px; background: rgba(0,0,0,0.09);
  }
  .ornament-diamond {
    width: 8px; height: 8px;
    background: var(--purple);
    transform: rotate(45deg);
  }

  /* ===== SCROLL ANIMATION ===== */
  .fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  }
  .fade-up.visible { opacity: 1; transform: translateY(0); }
  .fade-up:nth-child(2) { transition-delay: 0.08s; }
  .fade-up:nth-child(3) { transition-delay: 0.16s; }
  .fade-up:nth-child(4) { transition-delay: 0.24s; }

  /* ===== FOOTER ===== */
  .law-footer {
    background: var(--charcoal);
    padding: 5rem 0 2rem;
    color: rgba(255,255,255,0.55);
  }
  .footer-brand {
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 1.25rem;
  }
  .footer-about { font-size: 0.88rem; line-height: 1.8; color: rgba(255,255,255,0.4); max-width: 300px; }
  .footer-heading {
    font-size: 0.7rem; letter-spacing: 3px; text-transform: uppercase;
    color: var(--white); margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(91,45,142,0.4);
  }
  .footer-links { list-style: none; }
  .footer-links li { margin-bottom: 0.65rem; }
  .footer-links a {
    font-size: 0.88rem; color: rgba(255,255,255,0.4);
    text-decoration: none; transition: color 0.2s;
    display: flex; align-items: center; gap: 8px;
  }
  .footer-links a::before { content: ''; width: 12px; height: 1px; background: var(--purple-mid); transition: width 0.2s; }
  .footer-links a:hover { color: rgba(255,255,255,0.8); }
  .footer-links a:hover::before { width: 20px; }
  .footer-contact-item {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 0.85rem; color: rgba(255,255,255,0.4); margin-bottom: 1rem;
  }
  .footer-contact-item i { color: var(--purple-mid); margin-top: 3px; font-size: 0.8rem; }
  .footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.06); margin: 3rem 0 1.5rem; }
  .footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
  .footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.25); }
  .footer-badge {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase;
    color: rgba(91,45,142,0.6);
  }
  .footer-badge::before {
    content: ''; width: 6px; height: 6px;
    background: var(--purple); border-radius: 50%;
    animation: pulse 2s infinite;
  }
  @keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }

  /* ===== HIDDEN (for filter) ===== */
  .team-category.hidden { display: none; }

  @media (max-width: 576px) {
    .associate-img-wrap { width: 85px; }
    .filter-btn { padding: 1rem 1.1rem; font-size: 0.65rem; }
  }