/* ==================================================
   HIRO LAW - LUXURY BOUTIQUE INTERNATIONAL LAW FIRM
   Complete Responsive CSS Stylesheet
   ================================================== */

/* ==================================================
   1. CSS CUSTOM PROPERTIES & ROOT
   ================================================== */

:root {
  /* Color Palette */
  --bg-deep: #060911;
  --bg-primary: #0B0F1A;
  --bg-secondary: #0F1420;
  --bg-card: #141A28;
  --bg-card-hover: #1A2235;
  --accent: #B8945F;
  --accent-light: #D4B17A;
  --accent-muted: rgba(184, 148, 95, 0.12);
  --text-cream: #EDE8E0;
  --text-light: #C8C2B8;
  --text-muted: #7D7A74;
  --text-dim: #4A4844;
  --border: rgba(184, 148, 95, 0.08);
  --border-hover: rgba(184, 148, 95, 0.25);

  /* Fonts */
  --serif: 'Playfair Display', 'Georgia', serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --elegant: 'Cormorant Garamond', 'Georgia', serif;

  /* Transitions & Animation */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 0.6s;
  --duration-fast: 0.3s;

  /* Sizing */
  --max-width: 1280px;
  --max-width-nav: 1440px;
  --spacing-unit: 1rem;
}

/* ==================================================
   2. RESET & BASE STYLES
   ================================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-cream);
  background-color: var(--bg-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background-color: var(--accent);
  color: var(--bg-primary);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 5px;
  border: 3px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-light);
}

/* ==================================================
   3. TYPOGRAPHY
   ================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

h4 {
  font-size: 1.75rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1.5rem;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.3px;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease);
}

a:hover {
  color: var(--accent-light);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

strong {
  font-weight: 600;
  color: var(--text-cream);
}

em {
  font-style: italic;
}

ul,
ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

li {
  margin-bottom: 0.75rem;
  line-height: 1.8;
}

/* ==================================================
   4. NAVIGATION
   ================================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all var(--duration-fast) var(--ease);
}

.nav.scrolled {
  background: rgba(11, 15, 26, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  max-width: var(--max-width-nav);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: padding var(--duration-fast) var(--ease);
}

.nav.scrolled .nav-inner {
  padding: 0 2rem;
}

.nav-brand {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--accent);
  transition: color var(--duration-fast) var(--ease);
  display: flex;
  align-items: center;
}

.nav-brand:hover {
  color: var(--accent-light);
}

/* Logo image styles for navbar */
.nav-logo {
  height: 36px;
  width: auto;
  display: block;
}

/* Logo image styles for footer */
.footer-logo {
  height: 30px;
  width: auto;
  display: block;
  margin-bottom: 0.75rem;
}

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

.nav-links li a {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-light);
  position: relative;
  padding-bottom: 0.25rem;
  transition: color var(--duration-fast) var(--ease);
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--duration-fast) var(--ease);
}

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

.nav-links li a:hover::after {
  width: 100%;
}

.nav-cta {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  transition: all var(--duration-fast) var(--ease);
  cursor: pointer;
  background: transparent;
}

.nav-cta:hover {
  background: var(--accent);
  color: var(--bg-primary);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-cream);
  transition: all var(--duration-fast) var(--ease);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-primary);
  z-index: 1002;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-fast) var(--ease);
}

.mobile-menu.active {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-cream);
  margin: 1.5rem 0;
  text-align: center;
  transition: color var(--duration-fast) var(--ease);
}

.mobile-menu a:hover {
  color: var(--accent);
}

/* ==================================================
   5. HERO SECTION
   ================================================== */

.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

/* .hero::before and ::after disabled — index.html uses .hero-bg and .hero-overlay divs instead */
.hero::before,
.hero::after {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 0 2rem;
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero h1 {
  margin-bottom: 1.5rem;
  color: #FFFFFF;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 300;
  color: #EDE8E0;
  margin-bottom: 2rem;
  text-shadow: 0 1px 10px rgba(0,0,0,0.3);
}

.hero-description,
.hero-desc {
  font-size: 1rem;
  color: #D4CFC7;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

.hero-cta {
  font-family: var(--body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border-radius: 2px;
  transition: all var(--duration-fast) var(--ease);
  cursor: pointer;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  background: var(--accent);
  color: var(--bg-primary);
  border: 1px solid var(--accent);
}

.hero-cta:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  color: var(--bg-primary);
  box-shadow: 0 8px 24px rgba(184, 148, 95, 0.3);
}

.hero-cta-secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.5);
  color: #FFFFFF;
}

.hero-cta-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.8);
  color: #FFFFFF;
}

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

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

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.scroll-indicator-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-indicator-icon {
  width: 24px;
  height: 40px;
  border: 1px solid var(--accent);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  position: relative;
}

.scroll-indicator-icon::after {
  content: '';
  width: 2px;
  height: 6px;
  background: var(--accent);
  border-radius: 1px;
  position: absolute;
  top: 8px;
  animation: scroll-pulse 1.5s var(--ease) infinite;
}

@keyframes scroll-pulse {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(16px);
  }
}

/* ==================================================
   6. SECTIONS - BASE
   ================================================== */

.section {
  padding: 3.5rem 0;
  position: relative;
}

.section-dark {
  background-color: var(--bg-primary);
}

.section-darker {
  background-color: var(--bg-deep);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-cream);
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  line-height: 1.8;
  max-width: 700px;
}

.gold-divider {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 2rem;
}

.section-separator {
  width: calc(100% + 4rem);
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--border),
    transparent
  );
  margin: 0 -2rem;
}

/* ==================================================
   7. SCROLL REVEAL ANIMATION
   ================================================== */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--duration) var(--ease),
              transform var(--duration) var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.visible--delay-1 {
  transition-delay: 0.1s;
}

.reveal.visible--delay-2 {
  transition-delay: 0.2s;
}

.reveal.visible--delay-3 {
  transition-delay: 0.3s;
}

.reveal.visible--delay-4 {
  transition-delay: 0.4s;
}

.reveal.visible--delay-5 {
  transition-delay: 0.5s;
}

/* ==================================================
   8. ABOUT SECTION
   ================================================== */

.about-section {
  background-color: var(--bg-primary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-left h2 {
  margin-bottom: 2rem;
}

.about-left p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-right {
  position: relative;
}

.about-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 2px;
  filter: grayscale(20%);
}

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

.stat-item {
  background: var(--bg-card);
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  text-align: center;
  transition: all var(--duration-fast) var(--ease);
}

.stat-item:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.stat-number {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ==================================================
   9. PRACTICE AREAS SECTION
   ================================================== */

.practice-section {
  background-color: var(--bg-secondary);
}

.practice-header {
  text-align: left;
  margin-bottom: 4rem;
}

.practice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.practice-grid > :last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.practice-item {
  background: var(--bg-card);
  padding: 3rem;
  position: relative;
  overflow: hidden;
  transition: all var(--duration-fast) var(--ease);
  border-top: 4px solid transparent;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.practice-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-fast) var(--ease);
}

.practice-item:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.practice-item:hover::before {
  transform: scaleX(1);
}

.practice-num {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.practice-item h3 {
  font-family: var(--serif);
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--text-cream);
  transition: color var(--duration-fast) var(--ease);
}

.practice-item:hover h3 {
  color: var(--accent);
}

.practice-item p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* ==================================================
   10. PRACTICE AREA DETAIL PAGE
   ================================================== */

.practice-detail-hero {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  background: var(--bg-secondary);
  padding-top: 80px;
  margin-top: 0;
  overflow: hidden;
}

.practice-detail-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(184, 148, 95, 0.05), transparent);
  z-index: 1;
}

.practice-detail-hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.practice-detail-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.practice-detail-content h2 {
  margin-bottom: 2rem;
}

.practice-detail-content h3 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.practice-detail-content p {
  line-height: 1.9;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.practice-sidebar {
  position: relative;
  background: var(--bg-card);
  padding: 2rem;
  border-left: 1px solid var(--border);
  margin-left: 3rem;
}

.related-areas {
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid var(--border);
}

.related-areas h3 {
  margin-bottom: 2rem;
}

.related-areas-list {
  list-style: none;
}

.related-areas-list li {
  margin-bottom: 1rem;
}

.related-areas-list a {
  color: var(--accent);
  font-weight: 500;
  position: relative;
  padding-bottom: 0.25rem;
}

.related-areas-list a::after {
  content: '→';
  margin-left: 0.5rem;
  opacity: 0;
  transition: all var(--duration-fast) var(--ease);
}

.related-areas-list a:hover::after {
  opacity: 1;
  margin-left: 1rem;
}

/* ==================================================
   11. TEAM SECTION
   ================================================== */

.team-section {
  background-color: var(--bg-primary);
}

.team-header {
  text-align: center;
  margin-bottom: 4rem;
}

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

.team-card {
  background: var(--bg-card);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--duration-fast) var(--ease);
  cursor: pointer;
}

.team-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.team-photo {
  width: 100%;
  height: 280px;
  overflow: hidden;
  position: relative;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(100%);
  transition: filter var(--duration-fast) var(--ease),
              transform var(--duration-fast) var(--ease);
}

.team-card:hover .team-photo img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.team-photo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(184, 148, 95, 0.15) 100%);
  opacity: 0;
  transition: opacity var(--duration-fast) var(--ease);
}

.team-card:hover .team-photo-overlay {
  opacity: 1;
}

.team-photo-placeholder {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-hover) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-photo-placeholder::after {
  content: '';
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--border);
  opacity: 0.3;
}

.team-details {
  padding: 1.25rem 1.5rem;
}

.team-name {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--text-cream);
}

.team-role {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

.team-bio {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 0;
}

.associate-card {
  grid-template-columns: 1fr;
}

.associate-card .team-photo {
  height: 300px;
}

/* ==================================================
   12. TEAM DETAIL PAGE
   ================================================== */

.attorney-hero {
  background: var(--bg-secondary);
  padding: 4rem 2rem;
  padding-top: calc(80px + 4rem);
  margin-top: 0;
}

.attorney-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.attorney-photo {
  width: 100%;
  height: 380px;
  overflow: hidden;
  border-radius: 2px;
}

.attorney-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(20%);
}

.attorney-info {
  padding: 2rem;
}

.attorney-info h1 {
  margin-bottom: 0.5rem;
}

.attorney-info .team-role {
  margin-bottom: 2rem;
}

.attorney-bio-full {
  max-width: 900px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.attorney-credentials {
  background: var(--bg-card);
  padding: 2rem;
  border-left: 4px solid var(--accent);
  margin: 2rem 0;
}

.attorney-credentials h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.attorney-credentials ul {
  margin-left: 1.5rem;
}

.attorney-credentials li {
  margin-bottom: 0.75rem;
  color: var(--text-light);
}

.attorney-areas {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.attorney-areas h3 {
  margin-bottom: 1.5rem;
}

.attorney-areas-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.attorney-areas-list li {
  padding: 1rem;
  background: var(--accent-muted);
  border-left: 2px solid var(--accent);
  margin-bottom: 0;
}

/* ==================================================
   13. OFFICES SECTION
   ================================================== */

.offices-section {
  background-color: var(--bg-secondary);
}

.offices-header {
  text-align: left;
  margin-bottom: 2rem;
}

.offices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.office-card {
  background: var(--bg-card);
  padding: 1.25rem;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: all var(--duration-fast) var(--ease);
}

.office-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-fast) var(--ease);
}

.office-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

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

.office-card h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.office-card p {
  font-size: 0.85rem;
  margin-bottom: 0;
  line-height: 1.6;
}

.office-location-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
  display: block;
}

.office-phone,
.office-email {
  display: block;
  font-size: 0.9rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
  transition: color var(--duration-fast) var(--ease);
}

.office-phone:hover,
.office-email:hover {
  color: var(--accent-light);
}

/* ==================================================
   14. CONTACT SECTION
   ================================================== */

.contact-section {
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 148, 95, 0.08), transparent);
  pointer-events: none;
}

.contact-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.contact-inner h2 {
  margin-bottom: 1.5rem;
}

.contact-desc {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  line-height: 1.8;
}

.contact-email-link {
  font-family: var(--elegant);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--accent);
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
  transition: color var(--duration-fast) var(--ease);
}

.contact-email-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent);
  transition: all var(--duration-fast) var(--ease);
}

.contact-email-link:hover {
  color: var(--accent-light);
}

.contact-email-link:hover::after {
  background: var(--accent-light);
}

/* ==================================================
   15. BUTTONS
   ================================================== */

.btn {
  font-family: var(--body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border-radius: 2px;
  transition: all var(--duration-fast) var(--ease);
  cursor: pointer;
  display: inline-block;
  border: none;
  text-align: center;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-primary);
  border: 1px solid var(--accent);
}

.btn-primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  box-shadow: 0 8px 24px rgba(184, 148, 95, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--bg-primary);
}

.btn-text {
  padding: 0;
  background: none;
  color: var(--accent);
  border: none;
  position: relative;
}

.btn-text::after {
  content: '→';
  margin-left: 0.5rem;
  transition: all var(--duration-fast) var(--ease);
}

.btn-text:hover {
  color: var(--accent-light);
}

.btn-text:hover::after {
  margin-left: 1rem;
}

.btn-large {
  padding: 1.25rem 3rem;
  font-size: 0.95rem;
}

.btn-small {
  padding: 0.75rem 2rem;
  font-size: 0.75rem;
}

/* ==================================================
   16. BLOG/RESOURCES SECTION
   ================================================== */

.blog-section {
  background-color: var(--bg-primary);
}

.blog-header {
  text-align: center;
  margin-bottom: 4rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--duration-fast) var(--ease);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.blog-card-image {
  width: 100%;
  height: 160px;
  overflow: hidden;
  position: relative;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-fast) var(--ease);
  filter: grayscale(20%);
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.blog-card-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-category {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.blog-card-title {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-cream);
  transition: color var(--duration-fast) var(--ease);
}

.blog-card:hover .blog-card-title {
  color: var(--accent);
}

.blog-card-excerpt {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.blog-card-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.blog-sidebar {
  background: var(--bg-card);
  padding: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 2px;
}

.blog-sidebar h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.blog-sidebar ul {
  list-style: none;
  margin-left: 0;
}

.blog-sidebar li {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.blog-sidebar li:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.blog-sidebar a {
  color: var(--accent);
  font-weight: 500;
  transition: color var(--duration-fast) var(--ease);
}

.blog-sidebar a:hover {
  color: var(--accent-light);
}

.blog-article {
  max-width: 720px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.blog-article h2 {
  font-size: 2.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.blog-article h3 {
  font-size: 1.75rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.blog-article p {
  line-height: 1.9;
  margin-bottom: 1.75rem;
}

.blog-article img {
  width: 100%;
  margin: 2rem 0;
  border-radius: 2px;
}

.blog-article blockquote {
  border-left: 4px solid var(--accent);
  padding-left: 2rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text-light);
}

.blog-article .article-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

/* ==================================================
   17. BREADCRUMBS
   ================================================== */

.breadcrumbs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  list-style: none;
  margin-left: 0;
}

.breadcrumbs li {
  margin-bottom: 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.breadcrumbs li a {
  color: var(--accent);
  transition: color var(--duration-fast) var(--ease);
}

.breadcrumbs li a:hover {
  color: var(--accent-light);
}

.breadcrumbs li::before {
  content: '/';
  margin-right: 0.5rem;
  color: var(--text-muted);
}

.breadcrumbs li:first-child::before {
  content: '';
  margin-right: 0;
}

/* ==================================================
   18. PAGE HERO (Inner Pages)
   ================================================== */

.page-hero {
  min-height: 45vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
  padding-top: 80px;
  margin-top: 0;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(184, 148, 95, 0.05), transparent);
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.page-hero h1 {
  margin-bottom: 1rem;
}

/* ==================================================
   19. FOOTER
   ================================================== */

.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 4rem 0;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-left {
    flex-shrink: 0;
}

.footer-center {
    flex: 1;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.footer-right {
    max-width: 300px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-right {
        max-width: 100%;
    }
}

.footer-brand {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
  margin-top: 0.5rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-light);
  transition: color var(--duration-fast) var(--ease);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-top: 1rem;
}

/* ==================================================
   20. UTILITY CLASSES
   ================================================== */

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-accent {
  color: var(--accent);
}

.text-light {
  color: var(--text-light);
}

.text-muted {
  color: var(--text-muted);
}

/* Margin utilities */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.mb-6 { margin-bottom: 4rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mt-6 { margin-top: 4rem; }

/* Padding utilities */
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.pt-4 { padding-top: 2rem; }
.pb-4 { padding-bottom: 2rem; }

/* Display utilities */
.hidden {
  display: none !important;
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.grid {
  display: grid;
}

/* ==================================================
   21. RESPONSIVE DESIGN
   ================================================== */

/* Tablet (1024px) */
@media (max-width: 1024px) {
  .section {
    padding: 3.5rem 0;
  }

  .hero {
    padding-top: 60px;
  }

  .practice-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .partners-grid,
  .associates-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .team-photo {
    height: 220px;
  }

  .offices-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .attorney-hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Mobile (768px) */
@media (max-width: 768px) {
  /* Navigation */
  .nav-logo {
    height: 30px;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Hero */
  .hero {
    height: 70vh;
    padding-top: 60px;
  }

  .hero-eyebrow {
    font-size: 0.75rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  /* Sections */
  .section {
    padding: 3rem 0;
  }

  .container {
    padding: 0 1.5rem;
  }

  .section-separator {
    width: calc(100% + 3rem);
    margin: 0 -1.5rem;
  }

  /* Practice Grid */
  .practice-grid {
    grid-template-columns: 1fr;
  }

  .practice-item {
    padding: 2rem;
  }

  /* Team */
  .partners-grid,
  .associates-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .team-photo {
    height: 200px;
  }

  /* Offices */
  .offices-grid {
    grid-template-columns: 1fr;
  }

  /* Blog */
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card-image {
    height: 200px;
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }

  .footer {
    padding: 3rem 0;
  }

  /* Page Hero */
  .page-hero {
    min-height: 35vh;
    padding-top: 80px;
  }

  .page-hero-content {
    padding: 2rem 1.5rem;
  }

  .page-hero h1 {
    font-size: 1.75rem;
  }

  /* Practice Detail */
  .practice-detail-hero {
    min-height: 40vh;
    padding-top: 80px;
  }

  .practice-detail-content {
    padding: 3rem 1.5rem;
  }

  .attorney-info {
    padding: 1.5rem;
  }

  .attorney-bio-full {
    padding: 0 1.5rem;
    margin: 2rem auto;
  }

  /* Contact */
  .contact-inner {
    padding: 0 1.5rem;
  }

  .contact-email-link {
    font-size: 1.5rem;
  }

  /* Blog Article */
  .blog-article {
    padding: 0 1.5rem;
    margin: 2rem auto;
  }

  .blog-article h2 {
    font-size: 1.75rem;
  }

  .blog-article h3 {
    font-size: 1.35rem;
  }

  /* Scroll Indicator */
  .scroll-indicator {
    bottom: 1rem;
  }
}

/* ==================================================
   21B. ADDITIONAL CLASSES USED BY INDEX.HTML
   ================================================== */

/* Hero background image + overlay (index.html uses inline bg + divs, not ::before/::after) */
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  filter: brightness(0.45) contrast(1.1) saturate(0.7);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,9,17,0.85) 0%, rgba(6,9,17,0.45) 18%, rgba(6,9,17,0.2) 40%, rgba(6,9,17,0.35) 65%, rgba(11,15,26,0.85) 100%);
  z-index: 1;
}

.hero-line {
  width: 60px;
  height: 1px;
  background: var(--accent);
  margin: 0 auto 2rem;
}

.hero-desc {
  font-size: 1rem;
  color: #D4CFC7;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.hero-scroll span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-scroll-icon {
  width: 24px;
  height: 40px;
  border: 1px solid var(--accent);
  border-radius: 12px;
  position: relative;
}

.hero-scroll-icon::after {
  content: '';
  width: 2px;
  height: 6px;
  background: var(--accent);
  border-radius: 1px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-pulse 1.5s var(--ease) infinite;
}

/* Partner cards on homepage (different from team-card) */
.partner-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--duration-fast) var(--ease);
  text-align: center;
  padding-bottom: 2rem;
}

.partner-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.partner-image {
  width: 100%;
  height: 380px;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-card); /* fallback while images load */
  filter: grayscale(100%);
  transition: filter var(--duration-fast) var(--ease), transform var(--duration-fast) var(--ease);
}

.partner-card:hover .partner-image {
  filter: grayscale(0%);
  transform: scale(1.03);
}

.partner-name {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-cream);
  margin: 1.5rem 2rem 0.5rem;
}

.partner-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 2rem 1rem;
}

.partner-bio {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0 2rem;
}

/* Team CTA link on homepage */
.team-cta {
  text-align: center;
  margin-top: 3rem;
}

/* Contact button */
.contact-btn {
  display: inline-block;
  font-family: var(--body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  background: var(--accent);
  color: var(--bg-primary);
  border: 1px solid var(--accent);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease);
  margin-top: 2rem;
}

.contact-btn:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  box-shadow: 0 8px 24px rgba(184,148,95,0.3);
  transform: translateY(-2px);
}

/* About left column */
.about-left .section-title {
  margin-bottom: 1.5rem;
}

/* Stat class (alias for stat-item) */
.stat {
  background: var(--bg-card);
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  text-align: center;
  transition: all var(--duration-fast) var(--ease);
}

.stat:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

/* Page hero background image support */
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.4) contrast(1.1) saturate(0.7);
  z-index: 0;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,15,26,0.88) 0%, rgba(11,15,26,0.55) 18%, rgba(11,15,26,0.25) 40%, rgba(11,15,26,0.65) 100%);
  z-index: 1;
}

.page-hero-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1rem;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}

.page-hero-subtitle {
  font-size: 1.1rem;
  color: #D4CFC7;
  line-height: 1.8;
  max-width: 600px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

/* Breadcrumb separator */
.breadcrumb-sep {
  color: var(--text-muted);
  margin: 0 0.5rem;
  font-size: 0.8rem;
}

/* Blog featured card */
.blog-featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--duration-fast) var(--ease);
}

.blog-featured-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.blog-featured-image {
  height: 100%;
  min-height: 350px;
  overflow: hidden;
}

.blog-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: transform var(--duration-fast) var(--ease);
}

.blog-featured-card:hover .blog-featured-image img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.blog-featured-content {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Author bio in blog posts */
.author-bio {
  display: flex;
  gap: 1.5rem;
  align-items: start;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  margin-top: 3rem;
}

.author-bio img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(30%);
}

.author-bio-text h4 {
  font-family: var(--serif);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.author-bio-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Related articles in blog posts */
.related-articles {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.related-articles h3 {
  margin-bottom: 2rem;
}

.related-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Responsive additions */
@media (max-width: 768px) {
  .partner-image {
    height: 280px;
  }
  .blog-featured-card {
    grid-template-columns: 1fr;
  }
  .blog-featured-image {
    min-height: 200px;
  }
  .related-articles-grid {
    grid-template-columns: 1fr;
  }
  .author-bio {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* Small Mobile (480px) */
@media (max-width: 480px) {
  :root {
    font-size: 15px;
  }

  .nav-brand {
    font-size: 1rem;
    letter-spacing: 2px;
  }

  .hero {
    height: 60vh;
    padding-top: 50px;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-description {
    font-size: 0.9rem;
  }

  .section {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .section-desc {
    font-size: 1rem;
  }

  .container {
    padding: 0 1rem;
  }

  .section-separator {
    width: calc(100% + 2rem);
    margin: 0 -1rem;
  }

  .practice-item {
    padding: 1.5rem;
  }

  .team-photo {
    height: 200px;
  }

  .team-card {
    margin-bottom: 1rem;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .blog-card-image {
    height: 180px;
  }

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

  .footer-inner {
    gap: 1rem;
  }

  .footer-copy {
    padding: 1.5rem;
  }

  .contact-email-link {
    font-size: 1.25rem;
  }

  .attorney-areas-list {
    grid-template-columns: 1fr;
  }

  /* Buttons */
  .btn {
    padding: 0.85rem 1.75rem;
    font-size: 0.75rem;
  }

  .btn-large {
    padding: 1rem 2rem;
    font-size: 0.85rem;
  }

  /* Page Hero */
  .page-hero {
    min-height: 30vh;
    padding-top: 80px;
  }

  .page-hero h1 {
    font-size: 1.5rem;
  }

  /* Breadcrumbs */
  .breadcrumbs {
    font-size: 0.7rem;
  }

  /* Blog Article */
  .blog-article h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
  }

  .blog-article h3 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
  }

  .blog-article blockquote {
    padding-left: 1rem;
    margin: 1.5rem 0;
  }
}

/* ==================================================
   24. CONTACT FORM
   ================================================== */

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  text-align: left;
}

.contact-details {
  margin-top: 3rem;
}

.contact-detail-item {
  margin-bottom: 2rem;
}

.contact-detail-item h4 {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.contact-detail-item p {
  color: var(--text-light);
  margin-bottom: 0;
}

.contact-form {
  background: var(--bg-card);
  padding: 3rem;
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  color: var(--text-cream);
  font-family: var(--body);
  font-size: 0.95rem;
  transition: border-color var(--duration-fast) var(--ease);
  border-radius: 0;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C8C2B8' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dim);
}

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

.form-group select {
  cursor: pointer;
}

.form-group select option {
  background: var(--bg-primary);
  color: var(--text-cream);
}

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

.form-disclaimer {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 1rem;
  line-height: 1.5;
}

/* Responsive contact form */
@media (max-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-form {
    padding: 2rem;
  }
}

/* ==================================================
   25. TEAM CARD LINKS
   ================================================== */

.team-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.team-card-link:hover {
  color: inherit;
}

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

@media (max-width: 1024px) {
  .team-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .team-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ==================================================
   26. ATTORNEY PROFILE PAGE
   ================================================== */

/* Tighter spacing on attorney profile pages */
.attorney-profile-page .section {
  padding: 3rem 0;
}

.attorney-profile-page .section-separator {
  margin: 0;
}

/* Privacy policy page - standard readable text */
.privacy-policy-content {
  font-size: 1rem;
  line-height: 1.8;
}

.privacy-policy-content h2 {
  font-size: 1.35rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.privacy-policy-content h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.privacy-policy-content p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.privacy-policy-content ul {
  font-size: 1rem;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.privacy-policy-content li {
  margin-bottom: 0.4rem;
}

.attorney-profile-header {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: start;
}

.attorney-profile-info h1 {
  margin-bottom: 0.5rem;
}

.attorney-profile-info .team-role {
  margin-bottom: 1rem;
}

.attorney-profile-info .attorney-contact {
  margin-bottom: 0;
}

.attorney-profile-info .detail-block {
  margin-bottom: 1.5rem;
}

.attorney-profile-info .detail-block h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.attorney-profile-info .detail-block p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .attorney-profile-header {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .attorney-photo {
    max-width: 250px !important;
    height: 300px;
  }
}

/* ==================================================
   27. PRACTICE DETAIL LAYOUT
   ================================================== */

.practice-detail-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 0;
  align-items: start;
}

.sidebar-box {
  padding: 2rem;
  border-bottom: 1px solid var(--border);
}

.sidebar-box:last-child {
  border-bottom: none;
}

.sidebar-box h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-cream);
  margin-bottom: 1rem;
}

.service-list {
  list-style: none;
  margin-left: 0;
}

.service-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-light);
  font-size: 0.9rem;
}

.service-list li:last-child {
  border-bottom: none;
}

.experience-list {
  list-style: none;
  margin-left: 0;
}

.experience-list li {
  padding: 0.6rem 0;
  padding-left: 1.25rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-light);
  font-size: 0.9rem;
  position: relative;
}

.experience-list li:last-child {
  border-bottom: none;
}

.experience-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1rem;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
}

.related-practices {
  list-style: none;
  margin-left: 0;
}

.related-practices li {
  margin-bottom: 0.75rem;
}

.related-practices li a {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 500;
}

.sidebar-box-cta {
  background: var(--accent-muted);
  text-align: center;
}

.sidebar-box-cta h3 {
  color: var(--accent);
}

.sidebar-box-cta p {
  font-size: 0.9rem;
  color: var(--text-light);
}

.sidebar-cta-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 2rem;
  background: var(--accent);
  color: var(--bg-primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all var(--duration-fast) var(--ease);
}

.sidebar-cta-button:hover {
  background: var(--accent-light);
  color: var(--bg-primary);
}

/* ==================================================
   28. EXPERIENCE ITEMS (Selected Experience)
   ================================================== */

.experience-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  padding-left: 1.25rem;
}

.experience-item:last-child {
  border-bottom: none;
}

.experience-item p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

.experience-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
}

/* ==================================================
   CLICKABLE PRACTICE ITEM CARDS
   ================================================== */

.practice-item-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  height: 100%;
}

.practice-item-link:hover {
  color: inherit;
}

.practice-item-link:hover .practice-item {
  border-top-color: var(--accent);
}

.practice-item-link:hover h3 {
  color: var(--accent);
}

.practice-item-link .practice-item {
  cursor: pointer;
}

/* ==================================================
   29. INSIGHTS LIST (Text-only, Wachtell-style)
   ================================================== */

.insights-list {
  max-width: 800px;
}

.insight-item {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

.insight-item:first-child {
  padding-top: 0;
}

.insight-item:last-child {
  border-bottom: none;
}

.insight-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 0.75rem;
}

.insight-category {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
}

.insight-date {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.insight-item h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.insight-item h3 a {
  color: var(--text-cream);
  transition: color var(--duration-fast) var(--ease);
}

.insight-item h3 a:hover {
  color: var(--accent);
}

.insight-item p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .practice-detail-layout {
    grid-template-columns: 1fr;
  }
  .practice-sidebar {
    margin-left: 0;
    margin-top: 3rem;
    border-left: none;
    border-top: 1px solid var(--border);
  }
}

/* ==================================================
   22. PRINT STYLES
   ================================================== */

@media print {
  body {
    background: white;
    color: #000;
  }

  .nav,
  .footer,
  .scroll-indicator,
  .hamburger {
    display: none;
  }

  a {
    color: #0066cc;
  }

  h1,
  h2,
  h3 {
    page-break-after: avoid;
  }

  img {
    max-width: 100%;
  }
}

/* ==================================================
   23. ACCESSIBILITY
   ================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (prefers-color-scheme: light) {
  :root {
    --bg-deep: #F9F7F2;
    --bg-primary: #FDFCFA;
    --bg-secondary: #F5F3EE;
    --bg-card: #EDE8E0;
    --bg-card-hover: #E5DED5;
    --text-cream: #0B0F1A;
    --text-light: #2F3238;
    --text-muted: #7D7A74;
    --text-dim: #4A4844;
  }

  /* Keep nav dark when scrolled in light mode */
  .nav.scrolled {
    background: rgba(11, 15, 26, 0.92);
  }

  /* Nav text always light in light mode (nav bg is always dark) */
  .nav .nav-links li a {
    color: #C8C2B8;
  }
  .nav .nav-links li a:hover {
    color: #B8945F;
  }
  .nav .nav-cta {
    color: #B8945F;
    border-color: #B8945F;
  }
  .nav .nav-cta:hover {
    background: #B8945F;
    color: #0B0F1A;
  }
  .hamburger span {
    background: #EDE8E0;
  }

  /* Light mode scrollbar fix */
  ::-webkit-scrollbar-track {
    background: #F5F3EE;
  }
  ::-webkit-scrollbar-thumb {
    border-color: #F5F3EE;
  }

  /* Keep footer dark in light mode for logo contrast */
  .footer {
    background: #0B0F1A;
    border-top-color: #1A2235;
  }
  .footer-links a {
    color: #C8C4BC;
  }
  .footer-links a:hover {
    color: #B8945F;
  }
  .footer-copy {
    color: #7D7A74;
    border-top-color: #1A2235;
  }
  .footer-disclaimer {
    color: #6B6860;
  }

  /* Keep all page-hero text light on dark background images */
  .page-hero .section-label {
    color: #B8945F;
  }
  .page-hero .breadcrumbs li,
  .page-hero .breadcrumbs span,
  .page-hero .breadcrumb-sep {
    color: #9A9690;
  }
  .page-hero .breadcrumbs a {
    color: #B8945F;
  }
  .hero .section-label,
  .hero .hero-eyebrow {
    color: #B8945F;
  }
}
