/* TBA Legal (Tesserae Buró de Abogados) – Exact approved design */

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

:root {
  --cream: #EDE9E0;
  --cream-light: #F5F2EC;
  --cream-dark: #D9D3C4;
  --charcoal: #2C2B28;
  --charcoal-mid: #4A4843;
  --gold: #B8965A;
  --gold-light: #CBA96B;
  --gold-dark: #8C6E3F;
  --white: #FAFAF7;
  --serif: 'Cormorant Garamond', 'Palatino Linotype', 'Book Antiqua', Palatino, 'Times New Roman', serif;
  --sans: 'Jost', 'Gill Sans', 'Optima', Candara, 'Trebuchet MS', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream-light);
  color: var(--charcoal);
  font-family: var(--sans);
  font-weight: 300;
  overflow-x: hidden;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── TEXT JUSTIFICATION ── */
.hero-sub,
.pillar-text,
.area-desc,
.about-intro-text p,
.dark-section > p,
.value-text,
.probono-text p,
.cause-text,
.team-card-bio,
.pa-lead,
.post-body p,
.sidebar-widget p {
  text-align: justify;
  hyphens: auto;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 4vw;
  background: rgba(237, 233, 224, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184, 150, 90, 0.18);
  transition: background 0.3s;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.nav-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav-wordmark {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--charcoal);
}

.nav-wordmark span {
  font-size: 0.6rem;
  font-family: var(--sans);
  letter-spacing: 0.22em;
  font-weight: 300;
  display: block;
  color: var(--charcoal-mid);
  text-transform: uppercase;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-links > li { position: relative; }

.nav-links a {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--charcoal-mid);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--gold); }

/* Dropdown */
.nav-links .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: rgba(245, 242, 236, 0.98);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(184, 150, 90, 0.2);
  list-style: none;
  padding: 0.5rem 0;
  z-index: 200;
}

/* Transparent bridge fills the gap so mouse can reach the dropdown */
.nav-links .menu-item-has-children {
  padding-bottom: 1.2rem;
  margin-bottom: -1.2rem;
}

.nav-links li:hover > .sub-menu { display: block; }

.nav-links .sub-menu li a {
  display: block;
  padding: 0.65rem 1.4rem;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  white-space: nowrap;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-lang {
  display: flex;
  gap: 0.4rem;
  list-style: none;
}

.nav-lang a {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--charcoal-mid);
  padding: 0.2rem 0.45rem;
  border: 1px solid transparent;
  transition: all 0.2s;
}

.nav-lang a.active,
.nav-lang a[aria-current] { color: var(--gold); border-color: rgba(184,150,90,0.3); }

.nav-lang a:hover { color: var(--gold); }

.nav-cta {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--charcoal);
  border: 1px solid var(--gold);
  padding: 0.55rem 1.4rem;
  transition: background 0.25s, color 0.25s;
}

.nav-cta:hover { background: var(--gold); color: var(--white); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-hamburger span { display: block; width: 24px; height: 1px; background: var(--charcoal); transition: all 0.3s; }

/* ── HERO ── */
.hero {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10rem 6vw 6rem 8vw;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 5.5vw, 6.2rem);
  font-weight: 300;
  line-height: 1.0;
  color: var(--charcoal);
  letter-spacing: -0.01em;
  margin-bottom: 2.2rem;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-dark);
  font-weight: 300;
}

.hero-sub {
  font-size: 1rem;
  line-height: 1.85;
  letter-spacing: 0.02em;
  color: var(--charcoal-mid);
  max-width: 44ch;
  margin-bottom: 3rem;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  background: var(--charcoal);
  padding: 1rem 2.2rem;
  transition: background 0.25s;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.btn-primary:hover { background: var(--gold-dark); color: var(--white); }

.btn-ghost {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--charcoal-mid);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
}

.btn-ghost:hover { color: var(--gold); }
.btn-ghost::after { content: '\2192'; transition: transform 0.2s; }
.btn-ghost:hover::after { transform: translateX(4px); }

.hero-right {
  position: relative;
  background: var(--cream-dark);
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
  mix-blend-mode: multiply;
}

.hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(184,150,90,0.15) 0%, rgba(44,43,40,0.35) 100%);
}

.hero-badge {
  position: absolute;
  bottom: 3rem;
  left: 3rem;
  background: rgba(237,233,224,0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(184,150,90,0.3);
  padding: 1.4rem 1.8rem;
  max-width: 280px;
}

.hero-badge-quote {
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.5;
  margin-bottom: 0.6rem;
}

.hero-badge-attr {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── MARQUEE ── */
.marquee-wrap {
  overflow: hidden;
  background: var(--gold);
  padding: 1rem 0;
}

.marquee-track {
  display: flex;
  gap: 4rem;
  animation: marquee 22s linear infinite;
  white-space: nowrap;
}

.marquee-item {
  font-family: var(--serif);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  color: var(--charcoal);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.marquee-item::after {
  content: '\2726';
  font-size: 0.6rem;
  opacity: 0.5;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── PILLARS ── */
.pillars {
  padding: 4rem 8vw 6rem;
  background: var(--charcoal);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.pillar {
  padding: 3.5rem 3rem;
  border-right: 1px solid rgba(184,150,90,0.15);
  transition: background 0.3s;
}

.pillar:last-child { border-right: none; }
.pillar:hover { background: rgba(184,150,90,0.06); }

.pillar-num {
  font-family: var(--serif);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 1.4rem;
}

.pillar-title {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--cream-light);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.pillar-text {
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(237,233,224,0.65);
  letter-spacing: 0.01em;
  margin-bottom: 1.8rem;
}

.pillar-link {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.2s;
}

.pillar-link:hover { gap: 0.9rem; color: var(--gold-light); }

/* ── SECTION LABELS ── */
.section-label {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3.8rem);
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1.1;
  margin-bottom: 4rem;
  max-width: 20ch;
}

.section-title em { font-style: italic; color: var(--gold-dark); }

/* ── PHILOSOPHY ── */
.philosophy {
  padding: 7rem 8vw;
  background: var(--cream-light);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3px;
}

.phil-card {
  background: var(--cream);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s;
}

.phil-card:hover { transform: translateY(-4px); }

.phil-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.phil-card:hover::before { transform: scaleX(1); }

.phil-quote {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.8;
  color: var(--charcoal);
  margin-bottom: 2rem;
  position: relative;
}

.phil-quote::before {
  content: '\201C';
  font-family: var(--serif);
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.25;
  position: absolute;
  top: -1.5rem;
  left: -0.5rem;
  line-height: 1;
  pointer-events: none;
}

.phil-photo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  margin-bottom: 0.75rem;
}

.phil-photo-placeholder {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.25;
  margin-bottom: 0.75rem;
}

.phil-name {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
}

.phil-role {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── PRACTICE AREAS ── */
.practice {
  padding: 7rem 8vw;
  background: var(--cream);
}

.practice-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.practice-grid .area-card:last-child { grid-column: auto; }
.area-card--wide,
.practice-grid .area-card.area-card--wide { grid-column: 1 / -1; }
.area-card--wide .area-desc { max-width: 70ch; }

.area-card {
  background: var(--cream-light);
  padding: 2.8rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition: background 0.3s;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.area-card:hover { background: var(--charcoal); }

.area-card:hover .area-num,
.area-card:hover .area-title,
.area-card:hover .area-desc { color: var(--cream-light); }

.area-card:hover .area-num { color: var(--gold); }

.area-num {
  font-family: var(--serif);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  transition: color 0.3s;
}

.area-title {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.25;
  transition: color 0.3s;
}

.area-desc {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--charcoal-mid);
  transition: color 0.3s;
}

/* ── BLOG SECTION (homepage) ── */
.blog {
  padding: 7rem 8vw;
  background: var(--charcoal);
}

.blog .section-label { color: var(--gold); }
.blog .section-label::before { background: var(--gold); }
.blog .section-title { color: var(--cream-light); }

.blog-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3px;
  margin-top: 3rem;
}

.blog-featured {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--cream-dark);
}

.blog-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  filter: sepia(0.45) saturate(0.75);
  transition: opacity 0.4s;
}

.blog-featured:hover img { opacity: 0.45; }

.blog-featured-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2.5rem;
  background: linear-gradient(to top, rgba(44,43,40,0.95) 0%, transparent 100%);
}

.blog-date {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 0.7rem;
  text-transform: uppercase;
}

.blog-title-link {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--cream-light);
  line-height: 1.3;
  margin-bottom: 0.8rem;
  text-decoration: none;
  display: block;
}

.blog-title-link:hover { color: var(--gold-light); }

.blog-excerpt {
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(237,233,224,0.6);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-side {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.blog-mini {
  background: rgba(237,233,224,0.06);
  padding: 2rem;
  border-left: 2px solid rgba(184,150,90,0.3);
  transition: border-color 0.3s, background 0.3s;
}

.blog-mini:hover { border-color: var(--gold); background: rgba(184,150,90,0.08); }

.blog-mini-title {
  font-family: var(--serif);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--cream-light);
  line-height: 1.5;
  margin-bottom: 0.6rem;
  padding-top: 0.3rem;
  text-decoration: none;
  display: block;
}

.blog-mini-title:hover { color: var(--gold-light); }

/* ── CONTACT ── */
.contact {
  padding: 7rem 8vw;
  background: var(--cream-light);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vw;
  align-items: start;
}

.contact-info p {
  font-size: 0.88rem;
  line-height: 1.9;
  color: var(--charcoal-mid);
  margin-bottom: 2rem;
  max-width: 42ch;
}

.contact-details {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--charcoal-mid);
  letter-spacing: 0.03em;
}

.contact-detail strong {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  min-width: 80px;
  flex-shrink: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  padding: 0.85rem 1rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--gold); }

.form-group textarea { resize: vertical; min-height: 120px; }

.btn-submit {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--charcoal);
  border: none;
  padding: 1.1rem 2.5rem;
  cursor: pointer;
  transition: background 0.25s;
  align-self: flex-start;
}

.btn-submit:hover { background: var(--gold-dark); }

/* ── FOOTER ── */
footer {
  background: var(--charcoal);
  padding: 4rem 8vw;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 3rem;
  border-top: 1px solid rgba(184,150,90,0.2);
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.footer-logo img { height: 72px; width: auto; object-fit: contain; filter: brightness(1.8); }

.footer-logo-text {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--cream-light);
}

.footer-tagline {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: rgba(237,233,224,0.35);
  line-height: 1.7;
  max-width: 24ch;
}

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

.footer-nav-group h4 {
  font-family: var(--sans);
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-nav-group ul { list-style: none; }
.footer-nav-group li { margin-bottom: 0.6rem; }

.footer-nav-group a {
  font-size: 0.72rem;
  color: rgba(237,233,224,0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav-group a:hover { color: var(--gold-light); }

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.2rem;
}

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

.social-link {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(184,150,90,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
  color: rgba(237,233,224,0.5);
  text-decoration: none;
  font-size: 0.7rem;
}

.social-link:hover { border-color: var(--gold); background: rgba(184,150,90,0.12); color: var(--gold); }

.footer-copy {
  grid-column: 1/-1;
  border-top: 1px solid rgba(184,150,90,0.12);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-copy p { font-size: 0.62rem; letter-spacing: 0.1em; color: rgba(237,233,224,0.3); }
.footer-copy a { color: var(--gold); text-decoration: none; }

/* ── INNER PAGE HERO ── */
.page-hero {
  min-height: 44dvh;
  padding: 9rem 8vw 4.5rem;
  background: var(--charcoal);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(184,150,90,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero-title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 5.5rem);
  font-weight: 300;
  color: var(--cream-light);
  line-height: 1.05;
  position: relative;
  z-index: 1;
  max-width: 22ch;
}

.page-hero-title em { font-style: italic; color: var(--gold-light); }
.page-hero .section-label { position: relative; z-index: 1; }

/* ── BLOG ARCHIVE PAGE ── */
.blog-archive {
  padding: 6rem 8vw 7rem;
  background: var(--cream-light);
}

.blog-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-top: 3rem;
}

.archive-card { background: var(--cream); overflow: hidden; transition: transform 0.3s; }
.archive-card:hover { transform: translateY(-4px); }

.archive-card-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--cream-dark);
}

.archive-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s;
}

.archive-card:hover .archive-card-thumb img { opacity: 0.8; }

.archive-card-body { padding: 2rem; }

.archive-card-title {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--charcoal);
  line-height: 1.3;
  margin: 0.5rem 0 0.8rem;
  text-decoration: none;
  display: block;
  transition: color 0.2s;
}

.archive-card-title:hover { color: var(--gold-dark); }

.archive-card-excerpt {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--charcoal-mid);
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.archive-pagination {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.archive-pagination a,
.archive-pagination span {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--charcoal-mid);
  text-decoration: none;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--cream-dark);
  transition: all 0.2s;
}

.archive-pagination a:hover,
.archive-pagination .current { background: var(--gold); color: var(--white); border-color: var(--gold); }

/* ── SINGLE BLOG POST ── */
.post-wrapper {
  padding: 6rem 8vw 7rem;
  background: var(--cream-light);
  max-width: 1400px;
  margin: 0 auto;
}

.post-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 6vw;
  align-items: start;
}

.post-featured-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  margin-bottom: 3rem;
}

.post-body {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--charcoal);
}

.post-body p { margin-bottom: 1.5rem; }

.post-body h2 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--charcoal);
  margin: 3rem 0 1rem;
  line-height: 1.2;
}

.post-body h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--charcoal);
  margin: 2rem 0 0.8rem;
}

.post-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 1rem 2rem;
  margin: 2rem 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--charcoal-mid);
}

.post-body ul, .post-body ol { padding-left: 1.5rem; margin-bottom: 1.5rem; }
.post-body li { margin-bottom: 0.5rem; }
.post-body a { color: var(--gold-dark); }

.post-disclaimer {
  font-size: 0.78rem;
  font-style: italic;
  color: var(--charcoal-mid);
  border-top: 1px solid var(--cream-dark);
  padding-top: 1.5rem;
  margin-top: 3rem;
  line-height: 1.7;
}

.post-byline {
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--gold-dark);
  margin-top: 0.8rem;
}

.post-nav {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--cream-dark);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.post-nav-item p {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.post-nav-item a {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--charcoal);
  text-decoration: none;
  line-height: 1.3;
  transition: color 0.2s;
}

.post-nav-item a:hover { color: var(--gold-dark); }

/* ── POST SIDEBAR ── */
.post-sidebar { position: sticky; top: 7rem; }

.sidebar-widget {
  background: var(--cream);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.sidebar-widget h4 {
  font-family: var(--sans);
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.sidebar-widget p { font-size: 0.86rem; line-height: 1.8; color: var(--charcoal-mid); margin-bottom: 1.2rem; }

.sidebar-post {
  border-top: 1px solid var(--cream-dark);
  padding-top: 1rem;
  margin-top: 1rem;
}

.sidebar-post:first-child { border-top: none; padding-top: 0; margin-top: 0; }

.sidebar-post a {
  font-family: var(--serif);
  font-size: 0.9rem;
  color: var(--charcoal);
  text-decoration: none;
  line-height: 1.3;
  display: block;
  transition: color 0.2s;
}

.sidebar-post a:hover { color: var(--gold-dark); }

/* ── TEAM CARDS ── */
.team-section { padding: 7rem 8vw; background: var(--cream-light); }

.team-grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-top: 3rem;
}

.team-card { background: var(--cream); overflow: hidden; transition: transform 0.3s; }
.team-card:hover { transform: translateY(-4px); }

.team-card-photo {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--cream-dark);
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: opacity 0.4s;
}

.team-card:hover .team-card-photo img { opacity: 0.85; }

.team-card-body { padding: 2rem 2rem 2.5rem; }

.team-card-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 0.3rem;
}

.team-card-role {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.team-card-areas {
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--charcoal-mid);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.team-card-bio {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--charcoal-mid);
  margin-bottom: 1rem;
}

.team-card-email {
  font-size: 0.7rem;
  color: var(--gold-dark);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.team-card-email:hover { color: var(--gold); }

.team-card-linkedin {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  text-decoration: none;
  transition: color 0.2s;
}
.team-card-linkedin:hover { color: var(--gold); }

/* ── ABOUT PAGE ── */
.about-intro {
  padding: 7rem 8vw;
  background: var(--cream-light);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  align-items: center;
}

.about-intro-text .section-title { margin-bottom: 2rem; }

.about-intro-text p {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--charcoal-mid);
  margin-bottom: 1.5rem;
}

.about-img { position: relative; }

.about-img img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  object-position: center top;
}

.about-img-caption {
  position: absolute;
  bottom: 2rem;
  right: -2rem;
  background: var(--gold);
  color: var(--charcoal);
  padding: 1.5rem;
  max-width: 200px;
  font-family: var(--serif);
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.5;
}

.dark-section {
  padding: 7rem 8vw;
  background: var(--charcoal);
}

.dark-section .section-label { color: var(--gold); }
.dark-section .section-label::before { background: var(--gold); }
.dark-section .section-title { color: var(--cream-light); }

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

.value-item {
  background: rgba(237,233,224,0.04);
  padding: 3rem 2.5rem;
  border-left: 2px solid rgba(184,150,90,0.2);
  transition: border-color 0.3s, background 0.3s;
}

.value-item:hover { border-color: var(--gold); background: rgba(184,150,90,0.06); }

.value-num { font-family: var(--serif); font-size: 0.65rem; letter-spacing: 0.3em; color: var(--gold); margin-bottom: 1rem; }
.value-title { font-family: var(--serif); font-size: 1.5rem; color: var(--cream-light); margin-bottom: 0.8rem; font-weight: 400; }
.value-text { font-size: 1rem; line-height: 1.9; color: rgba(237,233,224,0.55); }

/* ── PRACTICE AREAS PAGE ── */
.practice-areas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}

.pa-card {
  background: var(--cream);
  padding: 3rem 2.5rem;
  border-top: 2px solid transparent;
  transition: border-color 0.3s;
}

.pa-card:hover,
.pa-card.open { border-color: var(--gold); }

.pa-card--full { grid-column: 1 / -1; }
.pa-list--cols { columns: 2; gap: 2rem; }
.pa-list--cols li { break-inside: avoid; }

.pa-num { font-size: 0.62rem; letter-spacing: 0.3em; color: var(--gold); margin-bottom: 0.8rem; text-transform: uppercase; }
.pa-title { font-family: var(--serif); font-size: 1.5rem; color: var(--charcoal); margin-bottom: 0.8rem; font-weight: 400; line-height: 1.2; }
.pa-lead { font-size: 1rem; color: var(--charcoal-mid); margin-bottom: 1.5rem; line-height: 1.7; }

/* accordion body */
.pa-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s ease;
  overflow: hidden;
}
.pa-body-inner { overflow: hidden; }
.pa-card.open .pa-body { grid-template-rows: 1fr; }

.pa-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-bottom: 1.8rem;
}

.pa-list li {
  font-size: 0.95rem;
  color: var(--charcoal-mid);
  line-height: 1.65;
  padding-left: 1.2rem;
  position: relative;
}

.pa-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 1px;
  background: var(--gold);
}

/* toggle button */
.pa-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
  margin-top: 0.2rem;
}
.pa-toggle:hover { color: var(--gold); }
.pa-toggle-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 1px solid currentColor;
  border-radius: 50%;
  line-height: 14px;
  text-align: center;
  font-size: 0.8rem;
  transition: transform 0.3s;
}
.pa-card.open .pa-toggle-icon { transform: rotate(45deg); }

/* ── CONTACT PAGE ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 8vw;
  align-items: start;
}

.contact-form-col h2,
.contact-info-col h2 { margin-bottom: 0; }

.office-block {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(44,43,40,0.08);
}

.office-block:last-child { border-bottom: none; }

/* ── TEAM NAV GRID ── */
.team-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}

.team-nav-card {
  display: block;
  background: var(--cream);
  padding: 3rem 2.5rem;
  text-decoration: none;
  border-top: 2px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

.team-nav-card:hover { border-color: var(--gold); background: rgba(184,150,90,0.04); }

.team-nav-num { font-size: 0.62rem; letter-spacing: 0.3em; color: var(--gold); margin-bottom: 0.8rem; text-transform: uppercase; }
.team-nav-title { font-family: var(--serif); font-size: 1.6rem; color: var(--charcoal); margin-bottom: 0.8rem; font-weight: 400; line-height: 1.2; }
.team-nav-desc { font-size: 1rem; color: var(--charcoal-mid); line-height: 1.7; margin-bottom: 1.5rem; }
.team-nav-link { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }

/* ── PRO BONO ── */
.probono-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  align-items: start;
  margin-top: 3rem;
}

.probono-text p { font-size: 1rem; line-height: 1.9; color: var(--charcoal-mid); margin-bottom: 1.5rem; }

.probono-causes { display: flex; flex-direction: column; gap: 3px; }

.cause-item {
  background: var(--cream);
  padding: 2rem 2.5rem;
  border-left: 2px solid rgba(184,150,90,0.25);
  transition: border-color 0.3s;
}

.cause-item:hover { border-color: var(--gold); }

.cause-num { font-size: 0.62rem; letter-spacing: 0.25em; color: var(--gold); margin-bottom: 0.6rem; text-transform: uppercase; }
.cause-title { font-family: var(--serif); font-size: 1.2rem; color: var(--charcoal); margin-bottom: 0.5rem; }
.cause-text { font-size: 0.88rem; line-height: 1.7; color: var(--charcoal-mid); }

/* ── SCROLL ANIMATIONS ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].visible { opacity: 1; transform: none; }

[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: none; border-bottom: 1px solid rgba(184,150,90,0.15); }
  .philosophy-grid { grid-template-columns: 1fr; }
  .practice-grid { grid-template-columns: 1fr 1fr; }
  .practice-grid .area-card:last-child { grid-column: auto; }
  .practice-grid .area-card.area-card--wide { grid-column: 1 / -1; }
  .blog-grid { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; }
  .footer-nav-grid { grid-template-columns: 1fr 1fr; }
  .footer-social { align-items: flex-start; }
  .about-intro { grid-template-columns: 1fr; }
  .team-grid-cards { grid-template-columns: 1fr 1fr; }
  .post-layout { grid-template-columns: 1fr; }
  .blog-archive-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .probono-content { grid-template-columns: 1fr; }
  .practice-areas-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .team-nav-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  nav { padding: 1rem 4vw; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  /* Mobile menu open state */
  body.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--cream-light);
    padding: 6rem 8vw 3rem;
    z-index: 150;
    gap: 0;
    overflow-y: auto;
  }
  body.nav-open .nav-links > li > a {
    display: block;
    font-size: 1.1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(44,43,40,0.08);
    letter-spacing: 0.05em;
  }
  body.nav-open .nav-links .sub-menu {
    display: block;
    position: static;
    box-shadow: none;
    border: none;
    background: none;
    padding: 0 0 0 1rem;
  }
  body.nav-open .nav-links .sub-menu li a {
    font-size: 0.78rem;
    padding: 0.5rem 0;
    border-bottom: none;
  }
  body.nav-open .nav-hamburger { z-index: 160; }
  body.nav-open .nav-right { display: none; }
}

@media (max-width: 600px) {
  .practice-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-left { padding: 8rem 6vw 4rem; }
  .team-grid-cards { grid-template-columns: 1fr; }
  .blog-archive-grid { grid-template-columns: 1fr; }
  .footer-nav-grid { grid-template-columns: 1fr; }
  .about-img-caption { position: static; margin-top: -1rem; max-width: 100%; }
}
