/* ========================================
   Gitlen Law Firm - Static Site Stylesheet
   Design tokens preserved from original
   Gold: #D4AF37   Gold-hover: #C5A028
======================================== */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #000;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

:root {
  --gold: #D4AF37;
  --gold-hover: #C5A028;
  --black: #000;
  --white: #fff;
}

/* ---------- Layout ---------- */
.container-7xl { width: 100%; max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
.container-4xl { width: 100%; max-width: 56rem; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #000;
  border-bottom: 1px solid #1f2937;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,.1);
}
.site-header .nav-wrap { max-width: 80rem; margin: 0 auto; padding: 1rem 1.5rem; }
.site-header nav { display: flex; align-items: center; justify-content: space-between; }
.site-header .logo { display: flex; align-items: center; gap: .5rem; transition: transform .2s; }
.site-header .logo:hover { transform: scale(1.02); }
.site-header .logo svg { color: var(--gold); width: 2rem; height: 2rem; }
.site-header .logo-text { color: #fff; font-weight: 700; font-size: 1.25rem; letter-spacing: -0.025em; }

.site-header .desktop-menu { display: none; align-items: center; gap: 2rem; }
.site-header .desktop-menu a, .site-header .desktop-menu .dropdown-trigger {
  color: #fff; font-weight: 500; transition: color .3s;
  background: none; padding: 0; display: inline-flex; align-items: center; gap: .25rem;
}
.site-header .desktop-menu a:hover, .site-header .desktop-menu .dropdown-trigger:hover { color: var(--gold); }
.site-header .desktop-actions { display: none; }

.btn-gold {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--gold); color: #000; font-weight: 600;
  padding: .5rem 1.5rem; border-radius: .5rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,.1);
  transition: all .3s; cursor: pointer; border: none;
  text-decoration: none;
}
.btn-gold:hover { background: var(--gold-hover); box-shadow: 0 20px 25px -5px rgba(0,0,0,.15); }
.btn-gold.lg { padding: 1.25rem 2rem; font-size: 1.125rem; }
.btn-gold.md { padding: .75rem 1.5rem; }
.btn-gold.full { width: 100%; }
.btn-gold:hover { transform: translateY(-1px); }

.btn-outline-white {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: transparent; color: #fff; font-weight: 600;
  padding: 1.25rem 2rem; font-size: 1.125rem;
  border: 2px solid #fff; border-radius: .5rem;
  transition: all .3s; cursor: pointer;
  text-decoration: none;
}
.btn-outline-white:hover { background: #fff; color: #000; transform: scale(1.05); }

.btn-outline-black {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: #fff; color: #000; font-weight: 600;
  padding: .5rem 1rem; border-radius: .5rem;
  border: 2px solid #000; transition: all .3s;
  text-decoration: none;
}
.btn-outline-black:hover { background: #000; color: #fff; }

.btn-black {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: #000; color: #fff; font-weight: 700;
  padding: .75rem 1.5rem; border-radius: .5rem;
  transition: all .3s; text-decoration: none;
}
.btn-black:hover { background: #1f2937; }
.btn-black.full { width: 100%; padding: .875rem 1.5rem; }

/* Mobile menu */
.mobile-toggle { color: #fff; padding: .5rem; border-radius: .5rem; transition: background .3s; }
.mobile-toggle:hover { background: #1f2937; }
.mobile-menu { display: none; padding-top: 1rem; padding-bottom: .5rem; flex-direction: column; gap: .5rem; }
.mobile-menu.open { display: flex; }
.mobile-menu a { color: #fff; padding: .5rem 0; transition: color .3s; }
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu .group-label { color: var(--gold); font-weight: 700; font-size: .875rem; padding: 0 .5rem; display: block; margin-bottom: .25rem; }
.mobile-menu .group { padding: .5rem 0; border-bottom: 1px solid #1f2937; margin-bottom: .5rem; }
.mobile-menu .group a { display: block; padding: .5rem 1rem; font-size: .875rem; }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-content {
  display: none; position: absolute; top: calc(100% + .5rem); left: 0;
  background: #fff; border-radius: .5rem; box-shadow: 0 20px 25px -5px rgba(0,0,0,.2);
  padding: .5rem; min-width: 220px; z-index: 60;
}
.dropdown:hover .dropdown-content, .dropdown:focus-within .dropdown-content { display: block; }
.dropdown-content a {
  display: block; padding: .5rem 1rem; font-size: .875rem;
  color: #000; border-radius: .375rem; transition: all .2s;
}
.dropdown-content a:hover { background: #f3f4f6; color: var(--gold); }
.dropdown-trigger .chevron { transition: transform .3s; }
.dropdown:hover .chevron { transform: rotate(180deg); }

@media (min-width: 1024px) {
  .site-header .desktop-menu { display: flex; }
  .site-header .desktop-actions { display: flex; align-items: center; gap: 1rem; }
  .mobile-toggle { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  background: #000;
  position: relative;
  overflow: hidden;
}
.hero .container-7xl { padding-top: 5rem; padding-bottom: 5rem; position: relative; z-index: 10; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.hero-text h1 {
  font-size: 3rem; line-height: 1.1; font-weight: 700; color: #fff; margin: 0 0 2rem;
}
.hero-text p { font-size: 1.25rem; color: #d1d5db; line-height: 1.6; margin-bottom: 2rem; }
.hero-buttons { display: flex; flex-direction: column; gap: 1rem; padding-top: 1rem; }
.hero-images { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.hero-image-wrap { position: relative; overflow: hidden; border-radius: .75rem; box-shadow: 0 25px 50px -12px rgba(0,0,0,.5); }
.hero-image-wrap.offset { margin-top: 2rem; }
.hero-image-wrap img { width: 100%; height: 20rem; object-fit: cover; transition: transform .5s; }
.hero-image-wrap:hover img { transform: scale(1.1); }
.hero-image-wrap::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.6), transparent);
}

@media (min-width: 640px) { .hero-buttons { flex-direction: row; } }
@media (min-width: 1024px) {
  .hero-text h1 { font-size: 4.5rem; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Section labels and headings ---------- */
.pill-gold {
  display: inline-block;
  background: var(--gold); color: #000;
  font-weight: 600; padding: .5rem 1.5rem;
  border-radius: 9999px; font-size: .875rem;
  margin-bottom: 1.5rem;
}
.section-title { font-size: 2.25rem; font-weight: 700; color: #000; margin: 0 0 1.5rem; line-height: 1.2; }
.section-title.lg { font-size: 3rem; }
.section-title.xl { font-size: 3rem; }
.section-title.white { color: #fff; }
.section-lead { font-size: 1.125rem; line-height: 1.7; color: #000; }
.section-lead.white { color: #d1d5db; font-size: 1.25rem; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-3xl { max-width: 48rem; }
.max-4xl { max-width: 56rem; }
.max-2xl { max-width: 42rem; }

@media (min-width: 768px) {
  .section-title { font-size: 3rem; }
  .section-title.lg { font-size: 3.75rem; }
  .section-title.xl { font-size: 4.5rem; }
}

/* ---------- About / Stats ---------- */
.about-section { background: #fff; padding: 6rem 0; }
.stats-grid {
  display: grid; grid-template-columns: 1fr; gap: 2rem; margin-top: 4rem;
}
.stat-card {
  background: #fff; border: 1px solid #000;
  border-radius: .75rem; padding: 2rem; text-align: center;
  transition: all .3s;
}
.stat-card:hover { box-shadow: 0 25px 50px -12px rgba(0,0,0,.25); transform: scale(1.05); }
.stat-card svg { color: var(--gold); width: 3rem; height: 3rem; margin: 0 auto 1rem; }
.stat-number { font-size: 2.25rem; font-weight: 700; color: #000; margin-bottom: .5rem; }
.stat-label { font-size: .875rem; font-weight: 600; color: #000; letter-spacing: .025em; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- What We Do ---------- */
.wwd-section { background: #fff; padding: 6rem 0; }
.wwd-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
.wwd-grid h2 { font-size: 2.25rem; font-weight: 700; color: #000; margin-bottom: 1.5rem; line-height: 1.2; }
.wwd-grid p.intro { font-size: 1.125rem; line-height: 1.7; color: #000; }
.wwd-cards { display: grid; gap: 1.5rem; }
.wwd-card {
  background: #fff; border: 1px solid #e5e7eb;
  border-radius: .75rem; padding: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,.1);
  transition: all .3s;
}
.wwd-card:hover { box-shadow: 0 25px 50px -12px rgba(0,0,0,.25); transform: scale(1.05); }
.wwd-card svg { color: var(--gold); width: 2.5rem; height: 2.5rem; margin-bottom: 1rem; }
.wwd-card h3 { font-size: 1.25rem; font-weight: 700; color: #000; margin: 0 0 .5rem; }
.wwd-card p { color: #000; margin: 0; }
@media (min-width: 768px) { .wwd-grid h2 { font-size: 3rem; } }
@media (min-width: 1024px) { .wwd-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Practice Areas (5 cards) ---------- */
.pa-grid {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
}
.pa-card {
  border-radius: .75rem; padding: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,.1);
  transition: all .3s;
  display: block; text-decoration: none;
}
.pa-card:hover { box-shadow: 0 25px 50px -12px rgba(0,0,0,.25); transform: scale(1.05); }
.pa-card.white-bg { background: #fff; border: 1px solid #000; }
.pa-card.gold-bg { background: var(--gold); }
.pa-card svg { width: 3rem; height: 3rem; margin-bottom: 1rem; }
.pa-card.white-bg svg { color: var(--gold); }
.pa-card.gold-bg svg { color: #000; }
.pa-card h3 { font-size: 1.5rem; font-weight: 700; color: #000; margin: 0 0 1rem; }
.pa-card p { color: #000; margin: 0; }
@media (min-width: 768px) { .pa-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pa-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Case Results ---------- */
.case-header { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 4rem; }
@media (min-width: 768px) {
  .case-header { flex-direction: row; justify-content: space-between; align-items: center; }
}
.case-scroll {
  display: flex; gap: 2rem; overflow-x: auto; padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none; scrollbar-width: none;
}
.case-scroll::-webkit-scrollbar { display: none; }
.case-card {
  flex-shrink: 0; width: 100%;
  background: #fff; border: 1px solid #000;
  border-radius: .75rem; overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,.1);
  transition: all .3s; scroll-snap-align: start;
}
.case-card:hover { box-shadow: 0 25px 50px -12px rgba(0,0,0,.25); }
.case-card .img-wrap { height: 16rem; overflow: hidden; }
.case-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.case-card .body { padding: 1.5rem; }
.case-card h3 { font-size: 1.5rem; font-weight: 700; color: #000; margin: 0 0 .75rem; }
.case-card .desc { color: #000; margin-bottom: 1.5rem; }
.case-card .outcomes-title { font-weight: 600; color: #000; margin-bottom: .75rem; }
.case-card .outcomes { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.case-card .outcomes li { display: flex; gap: .5rem; margin-bottom: .5rem; align-items: flex-start; }
.case-card .outcomes svg { color: var(--gold); width: 1.25rem; height: 1.25rem; flex-shrink: 0; margin-top: .125rem; }
.case-card .outcomes span { color: #000; }
.case-card .actions { display: flex; flex-direction: column; gap: .75rem; }
@media (min-width: 640px) { .case-card .actions { flex-direction: row; } }
@media (min-width: 768px) { .case-card { width: calc(33.333% - 1.333rem); } }

/* ---------- Team (Home) ---------- */
.team-section { background: #000; padding: 6rem 0; }
.team-card { max-width: 42rem; margin: 0 auto; background: #fff; border-radius: .75rem; overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0,0,0,.5); }
.team-card .img-wrap { height: 24rem; overflow: hidden; }
.team-card img { width: 100%; height: 100%; object-fit: cover; }
.team-card .body { padding: 2rem; }
.team-card h3 { font-size: 1.875rem; font-weight: 700; color: #000; margin: 0 0 .5rem; }
.team-card .role { font-size: 1.25rem; color: var(--gold); font-weight: 600; margin-bottom: 1.5rem; }
.team-card .bio { color: #000; line-height: 1.7; margin-bottom: 1.5rem; }
.team-card .socials { display: flex; gap: 1rem; padding-top: 1rem; border-top: 1px solid #e5e7eb; }
.team-card .socials a {
  padding: .75rem; background: var(--gold); border-radius: .5rem;
  display: inline-flex; transition: all .3s;
}
.team-card .socials a:hover { background: var(--gold-hover); transform: scale(1.1); }
.team-card .socials svg { color: #000; width: 1.5rem; height: 1.5rem; }

/* ---------- Testimonials ---------- */
.test-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.test-card {
  background: #fff; border: 1px solid #e5e7eb;
  border-radius: .75rem; padding: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,.1);
  transition: box-shadow .3s;
}
.test-card:hover { box-shadow: 0 25px 50px -12px rgba(0,0,0,.25); }
.test-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.test-head img { width: 4rem; height: 4rem; border-radius: 9999px; object-fit: cover; }
.test-head h4 { font-weight: 700; color: #000; margin: 0; }
.test-head p { font-size: .875rem; color: var(--gold); margin: 0; }
.test-card .quote { color: #000; font-style: italic; font-size: 1.125rem; line-height: 1.6; }
.test-nav { display: flex; justify-content: center; gap: 1rem; margin-top: 3rem; }
.test-nav button {
  padding: .75rem; background: var(--gold); color: #000;
  border-radius: 9999px; transition: all .3s;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,.1);
}
.test-nav button:hover { background: var(--gold-hover); transform: scale(1.1); box-shadow: 0 20px 25px -5px rgba(0,0,0,.15); }
.test-nav svg { width: 1.5rem; height: 1.5rem; }
@media (min-width: 768px) { .test-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Resources / Articles ---------- */
.res-header { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 4rem; }
@media (min-width: 768px) {
  .res-header { flex-direction: row; justify-content: space-between; align-items: center; }
}
.art-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.art-card {
  background: #fff; border: 1px solid #000;
  border-radius: .75rem; overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,.1);
  transition: all .3s; display: block; text-decoration: none;
}
.art-card:hover { box-shadow: 0 25px 50px -12px rgba(0,0,0,.25); }
.art-card .img-wrap { position: relative; height: 14rem; overflow: hidden; }
.art-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.art-card:hover .img-wrap img { transform: scale(1.1); }
.art-card .cat {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--gold); color: #000; font-weight: 600;
  padding: .25rem 1rem; border-radius: 9999px; font-size: .75rem;
}
.art-card .body { padding: 1.5rem; }
.art-card h3 { font-size: 1.25rem; font-weight: 700; color: #000; margin: 0 0 .75rem; transition: color .3s; }
.art-card:hover h3 { color: var(--gold); }
.art-card .meta { display: flex; gap: 1rem; font-size: .875rem; color: #000; align-items: center; }
@media (min-width: 768px) { .art-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- FAQ (Home) ---------- */
.faq-section { background: #000; padding: 6rem 0; }
.faq-list { max-width: 56rem; margin: 0 auto; padding: 0 1.5rem; }
.faq-item {
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: .75rem; overflow: hidden;
  margin-bottom: 1rem;
}
.faq-q {
  width: 100%; padding: 1.5rem; display: flex;
  align-items: center; justify-content: space-between;
  text-align: left; transition: background .3s;
  color: #fff;
}
.faq-q:hover { background: rgba(255,255,255,.05); }
.faq-q-content { display: flex; align-items: center; gap: 1rem; flex: 1; }
.faq-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; background: var(--gold); color: #000;
  font-weight: 700; border-radius: 9999px; flex-shrink: 0;
}
.faq-q span { font-weight: 600; font-size: 1.125rem; }
.faq-q .chevron { color: var(--gold); width: 1.5rem; height: 1.5rem; transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-q .chevron { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; }
.faq-item.open .faq-a { max-height: 500px; padding: 0 1.5rem 1.5rem 4.5rem; }
.faq-a-inner { color: #d1d5db; line-height: 1.7; }

/* ---------- Special Callout ---------- */
.callout-gold {
  background: var(--gold); padding: 2rem 1.5rem;
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; text-align: center;
}
.callout-gold svg { width: 2rem; height: 2rem; color: #000; flex-shrink: 0; }
.callout-gold p { color: #000; font-size: 1.125rem; font-weight: 600; margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 4rem; }
.contact-info-list { margin-top: 3rem; display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-info-item .icon-wrap { padding: .75rem; background: var(--gold); border-radius: .5rem; flex-shrink: 0; }
.contact-info-item .icon-wrap svg { width: 1.5rem; height: 1.5rem; color: #000; }
.contact-info-item h3 { font-weight: 600; color: #000; margin: 0 0 .25rem; }
.contact-info-item p, .contact-info-item a { color: #000; transition: color .3s; }
.contact-info-item a:hover { color: var(--gold); }

.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-form .row-2 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .contact-form .row-2 { grid-template-columns: 1fr 1fr; } }
.contact-form label { display: block; color: #000; font-weight: 600; margin-bottom: .5rem; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: .75rem 1rem; background: #fff;
  border: 1px solid #000; border-radius: .5rem;
  color: #000; outline: none;
  transition: box-shadow .2s;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #9ca3af; }
.contact-form input:focus, .contact-form textarea:focus { box-shadow: 0 0 0 2px var(--gold); }
.contact-form textarea { resize: none; }
.contact-form .small { font-size: .75rem; color: #6b7280; }
.contact-form .small a { text-decoration: underline; }
.contact-form .small a:hover { color: var(--gold); }
.form-msg { padding: .75rem 1rem; border-radius: .5rem; font-size: .875rem; display: none; }
.form-msg.success { display: block; background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.form-msg.error { display: block; background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }

@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- CTA Banner ---------- */
.cta-banner { background: #000; padding: 5rem 0; }
.cta-banner .row { display: flex; flex-direction: column; gap: 2rem; align-items: center; justify-content: space-between; }
@media (min-width: 768px) { .cta-banner .row { flex-direction: row; } }
.cta-banner .left { display: flex; align-items: center; gap: 1.5rem; }
.cta-banner .clip-icon {
  padding: 1rem; background: var(--gold);
  border-radius: 9999px; flex-shrink: 0;
  display: inline-flex;
}
.cta-banner .clip-icon svg { color: #000; width: 2.5rem; height: 2.5rem; }
.cta-banner h2 { font-size: 1.875rem; font-weight: 700; color: #fff; margin: 0 0 .5rem; }
.cta-banner p { font-size: 1.25rem; color: #d1d5db; margin: 0; }
@media (min-width: 768px) { .cta-banner h2 { font-size: 2.25rem; } }

/* ---------- Footer ---------- */
.site-footer { background: #000; color: #fff; }
.site-footer .container-7xl { padding-top: 4rem; padding-bottom: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-grid h3 { color: #fff; font-weight: 700; font-size: 1.125rem; margin: 0 0 1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .75rem; }
.footer-grid a { color: #9ca3af; transition: color .3s; }
.footer-grid a:hover { color: var(--gold); }
.footer-grid .col1 svg { color: var(--gold); width: 2rem; height: 2rem; }
.footer-grid .col1 .logo { display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; }
.footer-grid .col1 .desc { color: #9ca3af; line-height: 1.6; font-size: .875rem; }
.footer-grid .col1 .addr { margin-top: 1.5rem; font-size: .875rem; color: #9ca3af; }
.footer-grid .col1 .addr p { margin: 0; }
.footer-bottom {
  border-top: 1px solid #1f2937; padding-top: 2rem;
  display: flex; flex-direction: column; gap: 1.5rem;
  align-items: center; justify-content: space-between;
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; } }
.footer-bottom .copy { color: #9ca3af; font-size: .875rem; }
.footer-bottom .legal { display: flex; align-items: center; gap: 1.5rem; }
.footer-bottom .legal a { color: #9ca3af; font-size: .875rem; transition: color .3s; }
.footer-bottom .legal a:hover { color: var(--gold); }
.footer-bottom .legal .sep { color: #4b5563; }
.footer-bottom .actions { display: flex; align-items: center; gap: 1rem; }
.footer-bottom .actions a {
  padding: .5rem; color: var(--gold); transition: color .3s;
  display: inline-flex; align-items: center; justify-content: center;
}
.footer-bottom .actions a:hover { color: var(--gold-hover); }
.footer-bottom .actions svg { width: 1.25rem; height: 1.25rem; }
.back-to-top {
  padding: .5rem; background: var(--gold); color: #000;
  border-radius: 9999px; transition: all .3s; margin-left: .5rem;
  display: inline-flex; align-items: center; justify-content: center;
}
.back-to-top:hover { background: var(--gold-hover); transform: scale(1.1); }
.back-to-top svg { color: #000 !important; width: 1.25rem; height: 1.25rem; }

/* ---------- Inner page hero (Black banner) ---------- */
.page-hero {
  background: #000; color: #fff;
  padding-top: 6rem; padding-bottom: 3rem;
  position: relative; overflow: hidden;
}
.page-hero.tall { padding-top: 8rem; padding-bottom: 6rem; min-height: 60vh; display: flex; align-items: center; position: relative; overflow: hidden; }
.page-hero h1 { font-size: 3rem; font-weight: 700; margin: 0 0 1.5rem; line-height: 1.1; }
.page-hero p { font-size: 1.25rem; color: #d1d5db; max-width: 42rem; line-height: 1.6; }
.page-hero .accent { color: var(--gold); }
.page-hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.page-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, #000, rgba(0,0,0,.8), transparent);
}
.page-hero .container-7xl { position: relative; z-index: 10; }
.page-hero.center { text-align: center; }
.page-hero.center .page-hero-bg::after { background: linear-gradient(to top, #000, rgba(0,0,0,.5), transparent); }
.page-hero .pa-label { color: var(--gold); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; font-size: .875rem; display: block; margin-bottom: .5rem; }

@media (min-width: 768px) {
  .page-hero h1 { font-size: 4.5rem; }
  .page-hero.tall h1 { font-size: 4.5rem; }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  display: flex; align-items: center; flex-wrap: wrap;
  font-size: .875rem; color: #9ca3af; margin-bottom: 1.5rem;
}
.breadcrumbs a { color: #9ca3af; display: inline-flex; align-items: center; transition: color .3s; }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs svg { width: 1rem; height: 1rem; margin: 0 .5rem; color: #6b7280; }
.breadcrumbs .home-icon { width: 1rem; height: 1rem; margin-right: .5rem; }
.breadcrumbs .current { font-weight: 600; color: var(--gold); }
.breadcrumbs.dark { color: #6b7280; }
.breadcrumbs.dark a { color: #6b7280; }

/* ---------- About page ---------- */
.mvv-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 6rem; }
@media (min-width: 768px) { .mvv-grid { grid-template-columns: repeat(3, 1fr); } }
.mvv-card { background: #fff; padding: 2rem; border-radius: .75rem; box-shadow: 0 10px 15px -3px rgba(0,0,0,.1); border-top: 4px solid var(--gold); }
.mvv-card svg { color: var(--gold); width: 3rem; height: 3rem; margin-bottom: 1.5rem; }
.mvv-card h3 { font-size: 1.5rem; font-weight: 700; color: #000; margin: 0 0 1rem; }
.mvv-card p { color: #4b5563; line-height: 1.6; margin: 0; }

.history-grid { display: grid; grid-template-columns: 1fr; gap: 4rem; align-items: center; margin-bottom: 6rem; }
@media (min-width: 1024px) { .history-grid { grid-template-columns: 1fr 1fr; } }
.history-img-wrap { position: relative; }
.history-img-wrap::before {
  content: ''; position: absolute; inset: 0;
  background: var(--gold); border-radius: .75rem;
  transform: translate(1rem, 1rem); z-index: -1;
}
.history-img-wrap img { border-radius: .75rem; box-shadow: 0 25px 50px -12px rgba(0,0,0,.25); width: 100%; }
.history-section .small-label {
  color: var(--gold); font-weight: 700;
  letter-spacing: .1em; font-size: .875rem;
  text-transform: uppercase;
}
.history-section h2 { font-size: 2.25rem; font-weight: 700; color: #000; margin: .5rem 0 1.5rem; }
.timeline { border-left: 2px solid #e5e7eb; padding-left: 2rem; margin-left: 1rem; display: flex; flex-direction: column; gap: 2rem; }
.timeline .item { position: relative; }
.timeline .dot {
  position: absolute; left: calc(-2rem - 10px); top: .25rem;
  width: 1.25rem; height: 1.25rem; border-radius: 9999px;
  background: var(--gold); border: 4px solid #fff;
}
.timeline .year { font-size: .875rem; font-weight: 700; color: var(--gold); }
.timeline h4 { font-size: 1.25rem; font-weight: 700; color: #000; margin: .25rem 0 .5rem; }
.timeline p { color: #4b5563; margin: 0; }

.about-cta-box {
  background: #000; border-radius: 1rem; padding: 3rem;
  text-align: center; position: relative; overflow: hidden;
}
.about-cta-box h2 { font-size: 1.875rem; font-weight: 700; color: #fff; margin: 0 0 1.5rem; }
.about-cta-box p { color: #d1d5db; margin-bottom: 2rem; max-width: 42rem; margin-left: auto; margin-right: auto; }
@media (min-width: 768px) { .about-cta-box h2 { font-size: 2.25rem; } }

/* ---------- Team page ---------- */
.feat-team {
  background: #fff; border-radius: 1rem; box-shadow: 0 25px 50px -12px rgba(0,0,0,.25);
  overflow: hidden; margin-bottom: 6rem; border: 1px solid #e5e7eb;
  display: grid; grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .feat-team { grid-template-columns: 1fr 1fr; } }
.feat-team .img-wrap { min-height: 25rem; }
.feat-team img { width: 100%; height: 100%; object-fit: cover; }
.feat-team .body { padding: 3rem; display: flex; flex-direction: column; justify-content: center; }
.feat-team .role-label { color: var(--gold); font-weight: 700; letter-spacing: .05em; margin-bottom: .5rem; }
.feat-team h2 { font-size: 2.25rem; font-weight: 700; color: #000; margin: 0 0 1.5rem; }
.feat-team .bio { color: #4b5563; font-size: 1.125rem; line-height: 1.7; margin-bottom: 2rem; }
.feat-team .actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.feat-team .actions a {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.5rem; border-radius: .5rem; font-weight: 600;
  transition: all .3s;
}
.feat-team .actions a.dark { background: #000; color: #fff; }
.feat-team .actions a.dark:hover { background: var(--gold); color: #000; }
.feat-team .actions a.outlined { border: 2px solid #000; color: #000; }
.feat-team .actions a.outlined:hover { background: #000; color: #fff; }

.team-h3 { font-size: 1.875rem; font-weight: 700; color: #000; margin-bottom: 3rem; text-align: center; }
.team-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.team-member {
  background: #fff; border-radius: .75rem; box-shadow: 0 10px 15px -3px rgba(0,0,0,.1);
  overflow: hidden; border: 1px solid #f3f4f6; transition: all .3s;
}
.team-member:hover { box-shadow: 0 25px 50px -12px rgba(0,0,0,.25); }
.team-member .img-wrap { height: 16rem; overflow: hidden; }
.team-member img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.team-member:hover img { transform: scale(1.1); }
.team-member .body { padding: 1.5rem; }
.team-member h4 { font-size: 1.25rem; font-weight: 700; color: #000; margin: 0 0 .25rem; }
.team-member .role { color: var(--gold); font-weight: 500; font-size: .875rem; margin-bottom: 1rem; }
.team-member .bio { color: #4b5563; font-size: .875rem; margin-bottom: 1.5rem; }
.team-member .icons { display: flex; gap: .75rem; padding-top: 1rem; border-top: 1px solid #f3f4f6; }
.team-member .icons a { display: inline-flex; }
.team-member .icons svg { width: 1.25rem; height: 1.25rem; color: #9ca3af; transition: color .3s; cursor: pointer; }
.team-member .icons a:hover svg { color: var(--gold); }

/* ---------- Resources page ---------- */
.res-page-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .res-page-grid { grid-template-columns: 2fr 1fr; } }
.res-section { margin-bottom: 4rem; }
.res-section .head { display: flex; align-items: center; gap: .75rem; margin-bottom: 2rem; }
.res-section .head svg { width: 2rem; height: 2rem; color: var(--gold); }
.res-section .head h2 { font-size: 1.875rem; font-weight: 700; color: #000; margin: 0; }
.guides-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .guides-grid { grid-template-columns: 1fr 1fr; } }
.guide-card { border: 1px solid #e5e7eb; padding: 1.5rem; border-radius: .75rem; background: #fff; transition: box-shadow .3s; }
.guide-card:hover { box-shadow: 0 10px 15px -3px rgba(0,0,0,.1); }
.guide-card h3 { font-weight: 700; font-size: 1.125rem; margin: 0 0 .5rem; color: #000; }
.guide-card .meta { display: flex; justify-content: space-between; font-size: .875rem; color: #6b7280; margin-bottom: 1rem; }
.guide-card .dl {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; width: 100%;
  padding: .75rem; border: 1px solid var(--gold); border-radius: .5rem;
  color: #000; background: #fff; font-weight: 600; transition: all .3s;
  text-decoration: none;
}
.guide-card .dl:hover { background: var(--gold); color: #fff; }
.guide-card .dl svg { width: 1rem; height: 1rem; }

.states-wrap { background: #f9fafb; padding: 2rem; border-radius: .75rem; border: 1px solid #e5e7eb; }
.states-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; text-align: center; }
@media (min-width: 768px) { .states-grid { grid-template-columns: repeat(3, 1fr); } }
.state-card { padding: 1rem; background: #fff; border-radius: .5rem; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.state-card h3 { font-weight: 700; font-size: 1.25rem; margin: 0 0 1rem; }
.state-card ul { list-style: none; padding: 0; margin: 0; font-size: .875rem; color: #4b5563; text-align: left; }
.state-card ul li { margin-bottom: .5rem; }
.state-card a:hover { color: var(--gold); }

.sidebar-card.gold {
  background: var(--gold); padding: 2rem; border-radius: .75rem; color: #000;
}
.sidebar-card.gold svg { width: 2.5rem; height: 2.5rem; margin-bottom: 1rem; }
.sidebar-card.gold h3 { font-size: 1.5rem; font-weight: 700; margin: 0 0 1rem; }
.sidebar-card.gold p { margin-bottom: 1.5rem; font-weight: 500; }
.sidebar-card.gold .btn-black { width: 100%; }

.sidebar-card.white {
  background: #fff; border: 1px solid #e5e7eb; padding: 2rem; border-radius: .75rem;
}
.sidebar-card.white svg { width: 2rem; height: 2rem; color: var(--gold); margin-bottom: 1rem; }
.sidebar-card.white h3 { font-size: 1.25rem; font-weight: 700; margin: 0 0 1rem; color: #000; }
.sidebar-card.white p { color: #4b5563; font-size: .875rem; margin-bottom: 1rem; }
.sidebar-card.white input { width: 100%; padding: .75rem; border: 1px solid #d1d5db; border-radius: .5rem; font-size: .875rem; outline: none; }

/* ---------- Contact page office cards ---------- */
.offices-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 4rem; }
@media (min-width: 1024px) { .offices-grid { grid-template-columns: repeat(3, 1fr); } }
.office-card { background: #fff; border: 1px solid #e5e7eb; padding: 2rem; border-radius: .75rem; transition: box-shadow .3s; }
.office-card:hover { box-shadow: 0 20px 25px -5px rgba(0,0,0,.15); }
.office-card .head { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.office-card .head svg { color: var(--gold); width: 1.5rem; height: 1.5rem; }
.office-card .head h3 { font-size: 1.25rem; font-weight: 700; color: #000; margin: 0; }
.office-card .addr { color: #4b5563; margin-bottom: 1rem; }
.office-card .phone { display: inline-flex; align-items: center; gap: .5rem; color: #000; font-weight: 600; transition: color .3s; }
.office-card .phone:hover { color: var(--gold); }
.office-card .phone svg { width: 1rem; height: 1rem; }

.map-wrap { margin-top: 4rem; background: #e5e7eb; border-radius: .75rem; height: 24rem; overflow: hidden; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Practice Area inner page ---------- */
.pa-page-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .pa-page-grid { grid-template-columns: 2fr 1fr; } }

.pa-section { margin-bottom: 4rem; }
.pa-section h2 { font-size: 1.875rem; font-weight: 700; color: #000; margin: 0 0 1.5rem; }
.pa-section .head { display: flex; align-items: center; gap: .75rem; margin-bottom: 2rem; }
.pa-section .head svg { width: 2rem; height: 2rem; color: var(--gold); flex-shrink: 0; }
.pa-section .head h2 { margin: 0; }

.handle-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .handle-grid { grid-template-columns: 1fr 1fr; } }
.handle-item {
  display: flex; align-items: center; gap: .75rem; padding: 1rem;
  background: #fff; border: 1px solid #e5e7eb; border-radius: .5rem;
  box-shadow: 0 1px 2px rgba(0,0,0,.05); transition: box-shadow .3s;
}
.handle-item:hover { box-shadow: 0 4px 6px -1px rgba(0,0,0,.1); }
.handle-item svg { color: var(--gold); width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.handle-item span { font-weight: 500; color: #1f2937; }

.approach-box {
  background: #000; color: #fff; padding: 2rem; border-radius: 1rem;
  position: relative; overflow: hidden;
}
.approach-box p {
  color: #d1d5db; font-size: 1.125rem; line-height: 1.7;
  border-left: 4px solid var(--gold); padding-left: 1rem; margin: 0 0 2rem;
}
.approach-points { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .approach-points { grid-template-columns: 1fr 1fr; } }
.approach-point { display: flex; align-items: center; gap: .75rem; font-weight: 600; }
.approach-point .dot { width: .5rem; height: .5rem; background: var(--gold); border-radius: 9999px; flex-shrink: 0; }

.results-list { display: grid; gap: 1.5rem; }
.result-card {
  background: #fff; border-left: 4px solid var(--gold); padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,.1); border-radius: 0 .5rem .5rem 0;
}
.result-card h3 { font-size: 1.25rem; font-weight: 700; color: #000; margin: 0 0 .5rem; }
.result-card p { color: #4b5563; margin: 0; }

.pa-stories { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .pa-stories { grid-template-columns: repeat(3, 1fr); } }
.story { background: #f9fafb; padding: 1.5rem; border-radius: .75rem; position: relative; }
.story .quote-icon { position: absolute; top: 1rem; right: 1rem; color: #e5e7eb; width: 2rem; height: 2rem; }
.story p.q { color: #374151; font-style: italic; font-size: .875rem; line-height: 1.7; margin: 0 0 1rem; }
.story p.a { font-weight: 700; color: var(--gold); font-size: .875rem; margin: 0; }

.pa-faq-card { background: #f9fafb; padding: 4rem 2rem; border-radius: 1rem; border: 1px solid #f3f4f6; }
.pa-faq-card .head { display: flex; align-items: center; gap: .75rem; margin-bottom: 2rem; }
.pa-faq-card .head svg { color: var(--gold); width: 2rem; height: 2rem; }
.pa-faq-card .head h2 { font-size: 1.875rem; font-weight: 700; color: #000; margin: 0; }
.pa-faq-list { display: flex; flex-direction: column; gap: 1rem; }
.pa-faq-item { background: #fff; border: 1px solid #e5e7eb; border-radius: .5rem; overflow: hidden; transition: box-shadow .3s; }
.pa-faq-item:hover { box-shadow: 0 4px 6px -1px rgba(0,0,0,.1); }
.pa-faq-q {
  width: 100%; padding: 1.25rem; display: flex; align-items: center; justify-content: space-between;
  text-align: left; cursor: pointer;
}
.pa-faq-q span { font-weight: 700; font-size: 1.125rem; color: #000; transition: color .3s; }
.pa-faq-item.open .pa-faq-q span { color: var(--gold); }
.pa-faq-q .plus-icon { width: 1.25rem; height: 1.25rem; color: #9ca3af; transition: all .3s; flex-shrink: 0; }
.pa-faq-item.open .pa-faq-q .plus-icon { color: var(--gold); transform: rotate(45deg); }
.pa-faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.pa-faq-item.open .pa-faq-a { max-height: 500px; }
.pa-faq-a-inner { padding: 0 1.25rem 1.25rem; color: #4b5563; line-height: 1.7; border-top: 1px solid #f3f4f6; margin-top: .5rem; padding-top: 1rem; }

.related-pa { padding: 4rem 0 0; border-top: 1px solid #e5e7eb; margin-top: 4rem; }
.related-pa h3 { font-size: 1.5rem; font-weight: 700; color: #000; margin-bottom: 2rem; }
.related-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }
.related-card {
  display: block; background: #fff; border: 1px solid #e5e7eb;
  padding: 1.5rem; border-radius: .75rem; transition: all .3s;
  text-decoration: none;
}
.related-card:hover { box-shadow: 0 10px 15px -3px rgba(0,0,0,.1); border-color: var(--gold); }
.related-card .row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.related-card .icon-wrap { padding: .75rem; background: #f3f4f6; border-radius: .5rem; transition: background .3s; }
.related-card:hover .icon-wrap { background: #000; }
.related-card .icon-wrap svg { width: 1.5rem; height: 1.5rem; color: #000; transition: color .3s; }
.related-card:hover .icon-wrap svg { color: var(--gold); }
.related-card h4 { font-weight: 700; font-size: 1.125rem; color: #000; margin: 0; transition: color .3s; }
.related-card:hover h4 { color: var(--gold); }
.related-card .desc { color: #6b7280; font-size: .875rem; margin: 0 0 1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related-card .learn { display: inline-flex; align-items: center; gap: .25rem; font-size: .875rem; font-weight: 600; color: var(--gold); transition: transform .3s; }
.related-card:hover .learn { transform: translateX(.5rem); }
.related-card .learn svg { width: 1rem; height: 1rem; }

.sidebar-cta.gold {
  background: var(--gold); padding: 2rem; border-radius: 1rem;
  color: #000; text-align: center; margin-top: 2rem;
}
.sidebar-cta.gold h3 { font-size: 1.5rem; font-weight: 700; margin: 0 0 1rem; }
.sidebar-cta.gold p { margin-bottom: 1.5rem; font-weight: 500; }

/* ---------- Privacy / Terms ---------- */
.legal-back {
  display: inline-flex; align-items: center; color: #6b7280;
  margin-bottom: 2rem; transition: color .3s;
}
.legal-back:hover { color: var(--gold); }
.legal-back svg { width: 1rem; height: 1rem; margin-right: .5rem; }

.legal-sections { display: flex; flex-direction: column; gap: 3rem; }
.legal-section-privacy {
  border-left: 4px solid var(--gold); padding: .5rem 0 .5rem 1.5rem;
}
.legal-section-privacy .head { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.legal-section-privacy .head svg { width: 1.5rem; height: 1.5rem; color: var(--gold); }
.legal-section-privacy h2 { font-size: 1.5rem; font-weight: 700; color: #000; margin: 0; }
.legal-section-privacy .content { color: #374151; line-height: 1.7; font-size: 1.125rem; }
.legal-section-privacy ul { padding-left: 1.5rem; margin-top: .5rem; }
.legal-section-privacy ul li { margin-bottom: .5rem; }

.legal-section-terms {
  background: #fff; padding: 2rem; border-radius: .75rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,.1); border-top: 4px solid var(--gold);
}
.legal-section-terms .head { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.legal-section-terms .head svg { width: 1.5rem; height: 1.5rem; color: var(--gold); }
.legal-section-terms h2 { font-size: 1.5rem; font-weight: 700; color: #000; margin: 0; }
.legal-section-terms .content { color: #374151; line-height: 1.7; font-size: 1.125rem; }
.legal-section-terms ul { padding-left: 1.5rem; margin-top: .5rem; }
.legal-section-terms ul li { margin-bottom: .5rem; }

.legal-contact-box {
  background: #f9fafb; border-radius: .75rem; padding: 2rem;
  border: 1px solid #e5e7eb; margin-top: 3rem;
}
.legal-contact-box h2 { font-size: 1.5rem; font-weight: 700; color: #000; margin: 0 0 1.5rem; }
.legal-contact-box p { color: #4b5563; margin-bottom: 1.5rem; }
.legal-contact-box .items { display: flex; flex-direction: column; gap: 1rem; }
.legal-contact-box .item { display: flex; align-items: center; gap: .75rem; color: #374151; }
.legal-contact-box .item svg { width: 1.25rem; height: 1.25rem; color: var(--gold); }
.legal-contact-box .item a:hover { color: var(--gold); }

.legal-foot {
  margin-top: 3rem; padding: 1.5rem; background: #f9fafb;
  border-radius: .5rem; font-size: .875rem; color: #6b7280; text-align: center;
}
.legal-foot a { color: var(--gold); }
.legal-foot a:hover { text-decoration: underline; }

/* ---------- Blog Index ---------- */
.blog-hero { padding: 6rem 0; min-height: 40vh; display: flex; align-items: center; justify-content: center; }
.blog-hero .blog-search {
  max-width: 36rem; margin: 0 auto; position: relative;
}
.blog-hero .blog-search input {
  width: 100%; padding: 1rem 1rem 1rem 3rem;
  border-radius: 9999px;
  background: rgba(255,255,255,.1); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff; outline: none;
  font-size: 1rem;
}
.blog-hero .blog-search input::placeholder { color: #d1d5db; }
.blog-hero .blog-search input:focus { box-shadow: 0 0 0 2px var(--gold); }
.blog-hero .blog-search svg {
  position: absolute; left: 1rem; top: 50%;
  transform: translateY(-50%); color: var(--gold);
  width: 1.25rem; height: 1.25rem;
}

.blog-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-bottom: 3rem; }
.blog-cat {
  padding: .5rem 1.5rem; border-radius: 9999px;
  font-size: .875rem; font-weight: 700; transition: all .3s;
  background: #fff; border: 1px solid #e5e7eb; color: #4b5563; cursor: pointer;
}
.blog-cat:hover { background: #f9fafb; }
.blog-cat.active { background: var(--gold); color: #000; box-shadow: 0 10px 15px -3px rgba(0,0,0,.1); transform: scale(1.05); border-color: transparent; }

.blog-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 4rem; }
@media (min-width: 768px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card {
  background: #fff; border-radius: .75rem; box-shadow: 0 10px 15px -3px rgba(0,0,0,.1);
  overflow: hidden; border: 1px solid #f3f4f6;
  transition: all .3s; display: flex; flex-direction: column; height: 100%;
  text-decoration: none;
}
.blog-card:hover { box-shadow: 0 20px 25px -5px rgba(0,0,0,.15); }
.blog-card .img-wrap { position: relative; height: 14rem; overflow: hidden; }
.blog-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.blog-card:hover .img-wrap img { transform: scale(1.05); }
.blog-card .cat-tag {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--gold); color: #000;
  padding: .25rem .75rem; border-radius: .25rem;
  font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em;
}
.blog-card .cat-tag.inline {
  position: static; display: inline-block;
  margin-bottom: 1rem; align-self: flex-start;
}
.blog-card.no-img { border-top: 4px solid var(--gold); }
.blog-card.no-img .body { padding: 1.75rem 1.5rem 1.5rem; }
.blog-card .body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.blog-card .date { display: flex; align-items: center; gap: .5rem; color: #9ca3af; font-size: .75rem; margin-bottom: .75rem; }
.blog-card .date svg { width: .75rem; height: .75rem; }
.blog-card h3 { font-size: 1.25rem; font-weight: 700; color: #000; margin: 0 0 .75rem; transition: color .3s; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card:hover h3 { color: var(--gold); }
.blog-card .excerpt { color: #4b5563; font-size: .875rem; line-height: 1.6; margin-bottom: 1rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.blog-card .foot { padding-top: 1rem; margin-top: auto; border-top: 1px solid #f3f4f6; display: flex; align-items: center; justify-content: space-between; }
.blog-card .author { font-size: .75rem; font-weight: 600; color: #6b7280; }
.blog-card .read { color: var(--gold); font-weight: 700; font-size: .875rem; display: inline-flex; align-items: center; gap: .25rem; transition: gap .3s; }
.blog-card:hover .read { gap: .5rem; }

.blog-empty {
  text-align: center; padding: 5rem 2rem;
  background: #f9fafb; border-radius: 1rem;
  border: 2px dashed #d1d5db;
}
.blog-empty svg { width: 3rem; height: 3rem; color: #9ca3af; margin: 0 auto 1rem; }
.blog-empty h3 { font-size: 1.25rem; font-weight: 700; color: #374151; margin-bottom: .5rem; }
.blog-empty p { color: #6b7280; }

/* ---------- Single Blog Post ---------- */
.post-hero { background: #f9fafb; padding-top: 6rem; padding-bottom: 3rem; }
.post-hero .container-4xl { max-width: 56rem; }
.post-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.post-cat-tag {
  background: var(--gold); color: #000;
  padding: .25rem .75rem; border-radius: .25rem;
  font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em;
}
.post-meta-item { color: #6b7280; font-size: .875rem; display: inline-flex; align-items: center; gap: .25rem; }
.post-meta-item svg { width: .75rem; height: .75rem; }
.post-title { font-size: 2.25rem; font-weight: 700; color: #111827; margin: 0 0 2rem; line-height: 1.2; }
@media (min-width: 768px) { .post-title { font-size: 3rem; } }
.post-feat-img { border-radius: 1rem; overflow: hidden; box-shadow: 0 20px 25px -5px rgba(0,0,0,.15); margin-bottom: 3rem; }
.post-feat-img img { width: 100%; height: auto; object-fit: cover; max-height: 31.25rem; }

.post-page-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; padding: 3rem 0; }
@media (min-width: 1024px) { .post-page-grid { grid-template-columns: 2fr 1fr; } }

.prose { color: #1f2937; font-size: 1.0625rem; line-height: 1.7; }
.prose h2 { font-size: 2rem; margin: 2rem 0 .75rem; font-weight: 700; color: #111827; }
.prose h3 { font-size: 1.5rem; margin: 1.25rem 0 .5rem; font-weight: 700; color: #111827; }
.prose h4 { font-size: 1.25rem; margin: 1rem 0 .5rem; font-weight: 700; color: #111827; }
.prose p { margin: 0 0 1rem; }
.prose ul { margin: 0 0 1rem; padding-left: 2rem; list-style: disc; line-height: 1.8; }
.prose ol { margin: 0 0 1rem; padding-left: 2rem; list-style: decimal; line-height: 1.8; }
.prose li { margin-bottom: .25rem; }
.prose strong { font-weight: 700; }
.prose em { font-style: italic; }
.prose blockquote {
  border-left: 4px solid var(--gold); padding: 1rem;
  margin: 1.5rem 0; font-style: italic; color: #555;
  background: #fafafa;
}
.prose a { color: #0066cc; text-decoration: underline; }
.prose a:hover { color: #004499; }

.share-section { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #e5e7eb; }
.share-section h3 { font-size: 1.125rem; font-weight: 700; color: #000; margin-bottom: 1rem; display: flex; align-items: center; gap: .5rem; }
.share-section h3 svg { width: 1.25rem; height: 1.25rem; color: var(--gold); }
.share-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.share-buttons a { padding: .75rem; border-radius: 9999px; transition: opacity .3s; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.share-buttons a:hover { opacity: .9; }
.share-buttons a svg { width: 1.25rem; height: 1.25rem; color: #fff; }
.share-buttons a.fb { background: #1877f2; }
.share-buttons a.tw { background: #000; }
.share-buttons a.li { background: #0a66c2; }
.share-buttons a.em { background: #4b5563; }

.author-box {
  background: #fff; border: 1px solid #e5e7eb; border-radius: .75rem;
  padding: 1.5rem; box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.author-box .row { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.author-box .av-wrap { padding: .75rem; background: #f3f4f6; border-radius: 9999px; }
.author-box .av-wrap svg { width: 1.5rem; height: 1.5rem; color: var(--gold); }
.author-box .label { font-size: .75rem; color: #6b7280; text-transform: uppercase; font-weight: 700; }
.author-box .name { font-weight: 700; font-size: 1.125rem; color: #000; }
.author-box p { color: #4b5563; font-size: .875rem; margin: 0; }

.post-cta-box {
  background: #000; color: #fff; border-radius: .75rem;
  padding: 2rem; text-align: center; position: relative; overflow: hidden;
  margin-top: 2rem;
}
.post-cta-box h3 { font-size: 1.5rem; font-weight: 700; margin: 0 0 1rem; }
.post-cta-box p { color: #d1d5db; margin-bottom: 1.5rem; }
.post-cta-box .btn {
  display: inline-block; width: 100%; background: var(--gold); color: #000;
  font-weight: 700; padding: .75rem 1rem; border-radius: .5rem;
  transition: background .3s; text-decoration: none;
}
.post-cta-box .btn:hover { background: #fff; }

.related-posts { background: #f9fafb; padding: 4rem 0; }
.related-posts h2 { font-size: 1.875rem; font-weight: 700; color: #000; margin: 0 0 2rem; }
.related-posts .grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .related-posts .grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Misc ---------- */
.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.flex-row { display: flex; flex-direction: row; gap: 1rem; }
.gap-3 { gap: .75rem; }
.mt-2 { margin-top: .5rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.icon-w-5 { width: 1.25rem; height: 1.25rem; }
.icon-w-6 { width: 1.5rem; height: 1.5rem; }
.icon-w-8 { width: 2rem; height: 2rem; }

/* Accessible focus */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Scrollbar styling for code/cleanliness */
.snap-x { scroll-snap-type: x mandatory; }
