/* =========================================================
   Suncoast Legal PLLC — Global Stylesheet
   Colors: Navy #0a1f44 | Gold #c9992a | Cream #f8f7f2
   Heading font: Spectral (Production Type, Google Fonts)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Spectral:ital,wght@0,300;0,400;0,600;1,400&display=swap');

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

:root {
  --navy:  #0a1f44;
  --gold:  #c9992a;
  --gold-light: #deb96a;
  --cream: #f8f7f2;
  --warm-gray: #e8e4dc;
  --text:  #1a1a1a;
  --text-mid: #4a4a4a;
  --white: #ffffff;
  --max-w: 1180px;
  --serif: 'Spectral', Georgia, 'Times New Roman', serif;
  --sans:  'Helvetica Neue', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
}

/* ── HEADING DEFAULTS ────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  text-wrap: balance;
}
h1 { letter-spacing: -0.025em; }
h2 { letter-spacing: -0.02em; }
h3 { letter-spacing: -0.015em; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── UTILITY ─────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.section-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 14px;
}
.gold-rule {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 20px 0 32px;
}
.gold-rule.center { margin-left: auto; margin-right: auto; }

.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover { background: #b8861f; border-color: #b8861f; }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-white:hover { background: var(--white); color: var(--navy); }
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

/* ── HEADER / NAV ────────────────────────────────────────── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--warm-gray);
  transition: box-shadow 0.2s;
}
header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 13px;
  height: 76px;
  flex-shrink: 0;
}
.logo-link img, .logo-link svg {
  height: 56px;
  width: auto;
  flex-shrink: 0;
}
.logo-wordmark {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1;
}
.logo-firm {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 2.5px;
  text-transform: uppercase;
}
.logo-pllc {
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 4px;
  text-transform: uppercase;
  opacity: 0.55;
}

nav { display: flex; align-items: center; gap: 0; }
nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--navy);
  padding: 8px 18px;
  position: relative;
  transition: color 0.2s;
}
nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 18px; right: 18px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.2s;
}
nav a:hover { color: var(--gold); }
nav a:hover::after, nav a.active::after { transform: scaleX(1); }
nav a.active { color: var(--gold); }

/* ── NAV DROPDOWN ────────────────────────────────────────── */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 5px;
}
/* Chevron is now an inline SVG — no ::after conflict */
.nav-dropdown > a::after { display: none !important; }
.nav-chevron {
  display: inline-block;
  vertical-align: middle;
  margin-left: 3px;
  flex-shrink: 0;
  transition: transform 0.2s;
  position: relative;
  top: -1px;
}
.nav-dropdown:hover .nav-chevron,
.nav-dropdown:focus-within .nav-chevron {
  transform: rotate(180deg);
}
/* Override the underline on the parent link */
.nav-dropdown > a::before {
  content: '';
  position: absolute;
  bottom: 0; left: 18px; right: 18px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.nav-dropdown:hover > a::before,
.nav-dropdown > a.active::before { transform: scaleX(1); }
/* Hide the default ::after rule for nav a on the dropdown trigger */
.nav-dropdown > a { padding-right: 12px; }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border-top: 2px solid var(--gold);
  box-shadow: 0 8px 32px rgba(10,31,68,0.12);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 200;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 13px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1px solid var(--warm-gray);
  transition: background 0.15s, color 0.15s;
  letter-spacing: 0;
}
.dropdown-menu a:last-child { border-bottom: none; }
.dropdown-menu a:hover { background: var(--cream); color: var(--gold); }
.dropdown-menu a::after { display: none !important; }
.dropdown-menu a::before { display: none !important; }

/* Mobile: show dropdown items inline in open nav */
@media (max-width: 768px) {
  .nav-dropdown > a::after { display: none; }
  .nav-dropdown > a::before { display: none; }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: none;
    border-left: 2px solid var(--gold);
    margin: 4px 0 4px 16px;
    min-width: 0;
  }
  .dropdown-menu a {
    padding: 10px 16px;
    font-size: 15px;
    border-bottom: none;
  }
}

.nav-cta {
  margin-left: 20px;
  background: var(--navy);
  color: var(--white) !important;
  padding: 10px 22px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  border: 2px solid var(--navy);
  transition: all 0.2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold) !important; border-color: var(--gold) !important; color: var(--white) !important; }

/* ── HEADER PHONE ────────────────────────────────────────── */
/* Desktop: phone number inside the nav row */
.nav-phone {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  border: 1.5px solid rgba(10,31,68,0.25);
  padding: 9px 16px;
  margin-left: 8px;
  letter-spacing: 0.3px;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.nav-phone:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.nav-phone::after, .nav-phone::before { display: none !important; }
.nav-phone svg { flex-shrink: 0; transition: stroke 0.2s; }

/* Mobile: "Call Now" button visible in header without opening the menu */
.header-call-btn {
  display: none;
  align-items: center;
  gap: 7px;
  background: var(--gold);
  color: var(--white);
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.header-call-btn:hover { background: #b8861f; }
.header-call-btn::after, .header-call-btn::before { display: none !important; }

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block; width: 26px; height: 2px;
  background: var(--navy); transition: all 0.3s;
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  margin-top: 88px;
  min-height: calc(100vh - 88px);
  background: var(--navy);
  background-size: cover;
  background-position: center right;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
/* Full-bleed overlay: photo shows through everywhere, darkest on the left for readability */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10,31,68,0.82) 0%,
    rgba(10,31,68,0.68) 28%,
    rgba(10,31,68,0.38) 58%,
    rgba(10,31,68,0.10) 82%,
    rgba(10,31,68,0.02) 100%
  );
  z-index: 1;
}
.hero-bg-pattern { position: absolute; inset: 0; z-index: 0; }
.hero-gold-bar { display: none; }
/* Hide the old image column — background-image on .hero handles it now */
.hero-image-col { display: none; }

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 580px;
  padding: 80px 0;
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: var(--gold);
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 400;
  line-height: 1.18;
  color: var(--white);
  margin-bottom: 28px;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-desc {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255,255,255,0.72);
  margin-bottom: 44px;
  max-width: 460px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.hero-scroll::after {
  content: '';
  display: block;
  width: 1px; height: 40px;
  background: rgba(255,255,255,0.25);
}

/* ── INTRO BAND ──────────────────────────────────────────── */
.intro-band {
  background: var(--cream);
  border-top: 3px solid var(--gold);
  padding: 56px 0;
}
.intro-band .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.intro-item {
  padding: 0 48px;
  border-right: 1px solid var(--warm-gray);
}
.intro-item:first-child { padding-left: 0; }
.intro-item:last-child { border-right: none; }
.intro-icon {
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 14px;
}
.intro-item h3 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 8px;
}
.intro-item p { font-size: 15px; color: var(--text-mid); }

/* ── SECTION GENERIC ─────────────────────────────────────── */
section { padding: 100px 0; }
.section-header { margin-bottom: 60px; }
.section-header.centered { text-align: center; }
.section-header h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.25;
}
.section-header p {
  font-size: 17px;
  color: var(--text-mid);
  max-width: 600px;
  margin-top: 20px;
}
.section-header.centered p { margin-left: auto; margin-right: auto; }

/* ── PRACTICE AREAS ──────────────────────────────────────── */
.practice-areas { background: var(--white); }
.pa-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pa-card {
  background: var(--cream);
  border-top: 3px solid var(--gold);
  padding: 44px 36px 40px;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.pa-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(10,31,68,0.1);
}
.pa-number {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 400;
  color: var(--warm-gray);
  line-height: 1;
  margin-bottom: 20px;
}
.pa-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.3;
}
.pa-card p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 28px;
}
.pa-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s;
}
.pa-link::after { content: '→'; }
.pa-card:hover .pa-link { gap: 14px; }

/* ── ABOUT PREVIEW ───────────────────────────────────────── */
.about-preview { background: var(--navy); color: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 72px;
  align-items: center;
}
.about-photo {
  position: relative;
}
.about-photo-inner {
  aspect-ratio: 3/4;
  background: #163a78;
  position: relative;
  overflow: hidden;
}
.about-photo-inner img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
}
.photo-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: linear-gradient(160deg, #163a78 0%, #0d2652 100%);
  gap: 12px;
}
.photo-placeholder-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(201,153,42,0.15);
  border: 2px dashed rgba(201,153,42,0.4);
  display: flex; align-items: center; justify-content: center;
}
.photo-placeholder-icon svg { opacity: 0.4; }
.photo-placeholder p {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}
.about-photo-accent {
  position: absolute;
  bottom: -16px; right: -16px;
  width: 80px; height: 80px;
  background: var(--gold);
  z-index: -1;
}
.about-content .section-label { color: var(--gold); }
.about-content h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 8px;
}
.about-content .gold-rule { background: var(--gold); }
.about-content p {
  font-size: 16px;
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
  margin-bottom: 20px;
}
.about-content .btn-outline-white { margin-top: 12px; }

/* ── APPROACH ────────────────────────────────────────────── */
.approach { background: var(--cream); }
.approach-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.approach-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.approach-bullet {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border: 1.5px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin-top: 4px;
}
.approach-bullet svg { color: var(--gold); }
.approach-item h4 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 8px;
}
.approach-item p { font-size: 15px; color: var(--text-mid); }

/* ── CTA BAND ────────────────────────────────────────────── */
.cta-band {
  background: var(--gold);
  padding: 72px 0;
  text-align: center;
}
.cta-band h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 16px;
}
.cta-band p {
  font-size: 17px;
  color: rgba(10,31,68,0.75);
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover { background: #0d2652; border-color: #0d2652; }

/* ── CONTACT PAGE ────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contact-info h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 24px;
}
.contact-detail {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.contact-detail-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: var(--cream);
  border: 1px solid var(--warm-gray);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  margin-top: 2px;
}
.contact-detail-text strong {
  display: block;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 4px;
}
.contact-detail-text span {
  font-size: 16px;
  color: var(--navy);
}
.contact-note {
  margin-top: 36px;
  padding: 20px 24px;
  background: var(--cream);
  border-left: 3px solid var(--gold);
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
}

.contact-form { }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}
.form-group label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  border: 1px solid var(--warm-gray);
  padding: 12px 16px;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-disclaimer {
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 24px;
  padding: 16px;
  background: var(--cream);
  border: 1px solid var(--warm-gray);
}

/* ── PRACTICE AREA DETAIL PAGES ──────────────────────────── */
.page-hero {
  margin-top: 88px;
  background: var(--navy);
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero--photo {
  background-size: cover;
  background-position: center 45%;
  padding: 120px 0 110px;
}
.page-hero--photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10,31,68,0.88) 0%,
    rgba(10,31,68,0.72) 28%,
    rgba(10,31,68,0.40) 58%,
    rgba(10,31,68,0.14) 82%,
    rgba(10,31,68,0.04) 100%
  );
  z-index: 1;
}
.page-hero--photo .page-hero-bg,
.page-hero--photo .container { position: relative; z-index: 2; }
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(201,153,42,0.07) 0%, transparent 60%);
}
.page-breadcrumb {
  font-size: 12px;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
}
.page-breadcrumb a { color: rgba(255,255,255,0.45); transition: color 0.2s; }
.page-breadcrumb a:hover { color: var(--gold); }
.page-breadcrumb span { margin: 0 8px; }
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.2;
}
.page-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  max-width: 580px;
  line-height: 1.7;
}

.practice-content { background: var(--white); }
.practice-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 80px;
  align-items: start;
}
.practice-body h2 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--navy);
  margin: 44px 0 16px;
}
.practice-body h2:first-child { margin-top: 0; }
.practice-body p {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 72ch;
  text-wrap: pretty;
}
.practice-body ul {
  list-style: none;
  margin-bottom: 20px;
}
.practice-body ul li {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.7;
  padding: 8px 0 8px 24px;
  position: relative;
  border-bottom: 1px solid var(--warm-gray);
}
.practice-body ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  background: var(--gold);
}

.practice-sidebar { position: sticky; top: 108px; }
.sidebar-card {
  background: var(--cream);
  border-top: 3px solid var(--gold);
  padding: 32px 28px;
  margin-bottom: 24px;
}
.sidebar-card h4 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 16px;
}
.sidebar-card p { font-size: 14px; color: var(--text-mid); line-height: 1.7; margin-bottom: 20px; }
.sidebar-nav { list-style: none; }
.sidebar-nav li { border-bottom: 1px solid var(--warm-gray); }
.sidebar-nav li:last-child { border-bottom: none; }
.sidebar-nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  transition: color 0.2s;
}
.sidebar-nav a:hover, .sidebar-nav a.active { color: var(--gold); }
.sidebar-nav a::after { content: '→'; font-size: 12px; }

/* ── ABOUT PAGE ──────────────────────────────────────────── */
.about-page-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
  align-items: start;
}
.about-page-photo {
  position: sticky;
  top: 108px;
}
.about-page-photo-inner {
  aspect-ratio: 3/4;
  background: var(--cream);
  overflow: hidden;
  margin-bottom: 24px;
}
.about-page-photo-inner img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
}
.about-credentials {
  background: var(--navy);
  padding: 24px;
}
.about-credentials h4 {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.credential-item {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 14px;
  color: rgba(255,255,255,0.75);
}
.credential-item:last-child { border-bottom: none; }

.about-page-body h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--navy);
  margin: 40px 0 16px;
}
.about-page-body h2:first-child { margin-top: 0; }
.about-page-body p {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 20px;
}

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 52px;
}
.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.footer-brand .footer-logo {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  flex-shrink: 0;
}
.footer-wordmark { display: flex; flex-direction: column; gap: 3px; }
.footer-firm {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1;
}
.footer-pllc {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  letter-spacing: 4px;
  text-transform: uppercase;
  line-height: 1;
}
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  max-width: 300px;
}
.footer-col h5 {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-col address {
  font-style: normal;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
}
.footer-col address a {
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-col address a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}
.footer-disclaimer {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  line-height: 1.6;
  max-width: 560px;
  text-align: right;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-image-col { display: none; }
  .pa-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-photo { max-width: 360px; }
  .practice-layout { grid-template-columns: 1fr; }
  .practice-sidebar { position: static; }
  .about-page-layout { grid-template-columns: 1fr; }
  .about-page-photo { position: static; max-width: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  section { padding: 72px 0; }
  nav { display: none; position: fixed; top: 88px; left: 0; right: 0; bottom: 0;
    background: var(--white); flex-direction: column; align-items: flex-start;
    padding: 32px 24px; gap: 4px; border-top: 2px solid var(--gold);
    overflow-y: auto; }
  nav.open { display: flex; }
  nav a { font-size: 16px; padding: 12px 0; width: 100%; }
  nav a::after { display: none; }
  .nav-cta { margin-left: 0 !important; width: 100%; text-align: center; }
  .nav-phone { display: none; } /* hidden inside nav on mobile; header-call-btn replaces it */
  .header-call-btn { display: flex; } /* visible in header without opening menu */
  .nav-toggle { display: flex; }
  .intro-band .container { grid-template-columns: 1fr; }
  .intro-item { padding: 24px 0; border-right: none; border-bottom: 1px solid var(--warm-gray); }
  .intro-item:last-child { border-bottom: none; }
  .pa-grid { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; align-items: flex-start; }
  .footer-disclaimer { text-align: left; }
  .form-row { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 60px 0; }
}

/* ── SKIP-TO-CONTENT (accessibility) ─────────────────────── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--navy);
  color: var(--white);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  z-index: 999;
  transition: top 0.2s;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* ── FOCUS STYLES ────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
/* Remove outline for mouse users, keep for keyboard */
:focus:not(:focus-visible) { outline: none; }

/* ── LIGHT-ON-DARK LINE-HEIGHT COMPENSATION ──────────────── */
.hero-desc { line-height: 1.8; letter-spacing: 0.01em; }
.about-content p { line-height: 1.85; letter-spacing: 0.005em; }

/* ── ABOUT PAGE BODY MAX-WIDTH ───────────────────────────── */
.about-page-body p {
  max-width: 70ch;
  text-wrap: pretty;
}

/* ── REDUCED MOTION (WCAG 2.1 AA) ───────────────────────── */
@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;
  }
  html { scroll-behavior: auto; }
}
