/* =============================================================
   Harbor & Reed Law Office — styles.css
   DEMO TEMPLATE: Replace all placeholder content before using
   with a real client. See HTML comments for replacement points.
   ============================================================= */

/* ── Google Fonts ──────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500&family=Jost:wght@300;400;500;600&display=swap');

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  /* Palette */
  --navy:         #0D1F35;
  --navy-mid:     #162840;
  --navy-light:   #1E3A52;
  --ivory:        #F7F3EC;
  --ivory-warm:   #EDE8DF;
  --ivory-dark:   #DDD7CC;
  --gold:         #B8963C;
  --gold-light:   #D4AE58;
  --gold-pale:    #F0E4C4;
  --slate:        #5B6B7C;
  --slate-light:  #8A9BAC;
  --white:        #FFFFFF;
  --text-dark:    #1A2A38;
  --text-mid:     #3D4F5E;
  --text-muted:   #6B7D8E;

  /* Typography */
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Jost', 'Helvetica Neue', sans-serif;

  /* Spacing */
  --space-xs:     0.5rem;
  --space-sm:     1rem;
  --space-md:     2rem;
  --space-lg:     4rem;
  --space-xl:     7rem;

  /* Layout */
  --max-width:    1200px;
  --header-h:     80px;

  /* Borders */
  --border-fine:  1px solid rgba(184, 150, 60, 0.25);
  --border-mid:   1px solid rgba(184, 150, 60, 0.45);
  --border-slate: 1px solid rgba(91, 107, 124, 0.2);

  /* Radius */
  --radius-sm:    3px;
  --radius-md:    6px;

  /* Transitions */
  --ease:         cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --trans-fast:   0.18s var(--ease);
  --trans-mid:    0.35s var(--ease);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--ivory);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ── Utility ───────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.section-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}
.rule-line {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 0.75rem;
}

/* ── Fade-in Animation ─────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up {
  opacity: 0;
  animation: fadeUp 0.7s var(--ease) forwards;
}
.fade-up.delay-1 { animation-delay: 0.1s; }
.fade-up.delay-2 { animation-delay: 0.22s; }
.fade-up.delay-3 { animation-delay: 0.34s; }
.fade-up.delay-4 { animation-delay: 0.46s; }

/* scroll-triggered version */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  transition: background var(--trans-fast), color var(--trans-fast), border-color var(--trans-fast);
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy);
  color: var(--ivory);
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--ivory);
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}
.btn-ghost-ivory {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(247, 243, 236, 0.5);
}
.btn-ghost-ivory:hover {
  background: rgba(247, 243, 236, 0.12);
  border-color: var(--ivory);
}

/* ── Header ────────────────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 900;
  background: rgba(13, 31, 53, 0.97);
  border-bottom: var(--border-fine);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: box-shadow var(--trans-mid);
}
#site-header.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
  /* Logo has white background — add slight inset so it reads cleanly on dark header */
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
}

/* Footer logo */
.footer-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 5px 12px;
  margin-bottom: 1.25rem;
  display: block;
}

/* Consultation section: interior photo */
.consult-office-photo {
  margin-bottom: 2rem;
  border: var(--border-fine);
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
}
.consult-office-photo img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

/* Attorneys: partners photo banner */
.attorneys-photo-banner {
  margin-bottom: 2.5rem;
  position: relative;
  border: var(--border-fine);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.attorneys-photo-banner img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.attorneys-photo-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(13,31,53,0.9) 0%, transparent 100%);
  padding: 2rem 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.attorneys-photo-caption span:first-child {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--ivory);
}
.attorneys-photo-sub {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
/* Attorneys: bio cards no longer have photo column */
.attorneys-grid .attorney-card {
  grid-template-columns: 1fr;
  padding: 2rem;
}

/* Process: new two-column layout with image */
.process-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  align-items: start;
  margin-top: 3rem;
}
/* Override process-steps grid inside layout */
.process-layout .process-steps {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 0;
  position: relative;
}
.process-layout .process-steps::before { display: none; }
.process-layout .process-step { padding: 0; text-align: left; }
.process-layout .step-num { margin: 0 0 1rem 0; }
.process-image {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
  border: var(--border-fine);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.process-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Service area: exterior photo */
.area-image-wrap {
  margin-bottom: 2.5rem;
  border: var(--border-slate);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.area-image-wrap img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}
.logo-text {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ivory);
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.logo-text span {
  display: block;
  font-size: 0.6rem;
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate-light);
  margin-top: 1px;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-light);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color var(--trans-fast), background var(--trans-fast);
}
.nav-link:hover {
  color: var(--ivory);
  background: rgba(255,255,255,0.06);
}
.header-cta {
  margin-left: 1rem;
  font-size: 0.72rem;
  padding: 0.65rem 1.4rem;
}

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ivory);
  transition: transform var(--trans-fast), opacity var(--trans-fast);
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--navy);
  border-top: var(--border-fine);
  z-index: 850;
  padding: 1.5rem var(--space-md);
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav .nav-link {
  padding: 0.75rem 0;
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--slate-light);
}
.mobile-nav .nav-link:hover { color: var(--ivory); background: none; }
.mobile-nav .btn {
  margin-top: 1rem;
  align-self: flex-start;
}

/* ── Hero ──────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  padding-top: var(--header-h);
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
/* Subtle background texture/pattern */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 79px,
      rgba(184,150,60,0.04) 79px,
      rgba(184,150,60,0.04) 80px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 79px,
      rgba(184,150,60,0.04) 79px,
      rgba(184,150,60,0.04) 80px
    );
  pointer-events: none;
}
#hero::after {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(184,150,60,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
  min-height: calc(100vh - var(--header-h));
  padding: var(--space-lg) 0;
  position: relative;
  z-index: 1;
}
.hero-content { padding-right: 1rem; }
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}
.hero-eyebrow-line {
  width: 40px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.hero-eyebrow-text {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ivory);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.hero-headline em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-sub {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--slate-light);
  max-width: 480px;
  margin-bottom: 2.25rem;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 2rem;
  border-top: var(--border-fine);
}
.hero-trust-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.hero-trust-text {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--slate-light);
  font-style: italic;
  font-family: var(--font-serif);
}

/* hero image */
.hero-image-wrap {
  position: relative;
  height: 480px;
  border: var(--border-fine);
  overflow: hidden;
  border-radius: var(--radius-sm);
}
.hero-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-image-placeholder {
  width: 100%; height: 100%;
  background: var(--navy-mid);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--slate);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: var(--border-fine);
}
.hero-image-placeholder svg {
  opacity: 0.35;
  margin-bottom: 0.5rem;
}
.hero-image-accent {
  position: absolute;
  bottom: -1px; left: -1px;
  width: 80px; height: 80px;
  border-bottom: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  pointer-events: none;
}

/* ── Consultation Card ─────────────────────────────────────── */
#consultation {
  padding: var(--space-xl) 0;
  background: var(--ivory);
  position: relative;
}
#consultation::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
}
.consult-inner {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 5rem;
  align-items: start;
}
.consult-left h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.consult-left p {
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 400px;
}
.consult-info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.consult-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.consult-info-icon {
  width: 36px; height: 36px;
  border: var(--border-mid);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}
.consult-info-icon svg { width: 16px; height: 16px; }
.consult-info-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 0.15rem;
}
.consult-info-value {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 400;
}
.consult-info-value a { transition: color var(--trans-fast); }
.consult-info-value a:hover { color: var(--gold); }

/* Form card */
.consult-form-card {
  background: var(--white);
  border: var(--border-slate);
  border-top: 3px solid var(--gold);
  padding: 2.5rem;
  border-radius: var(--radius-md);
}
.form-card-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.form-card-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--ivory);
  border: 1px solid var(--ivory-dark);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
  transition: border-color var(--trans-fast), background var(--trans-fast);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(184,150,60,0.1);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-group select { appearance: none; cursor: pointer; }
.form-disclaimer {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 1rem;
  font-style: italic;
}
.form-submit-row {
  margin-top: 1.25rem;
}
.form-submit-row .btn { width: 100%; justify-content: center; }
/* TODO: Add Cloudflare Turnstile widget here */
/* TODO: Wire to Cloudflare Worker endpoint or Web3Forms */
/* TODO: Add success / error state handling */
/* TODO: Add Web3Forms access key to hidden input */

/* ── Practice Areas ────────────────────────────────────────── */
#practice-areas {
  padding: var(--space-xl) 0;
  background: var(--navy);
  position: relative;
}
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ivory);
  margin-bottom: 0.75rem;
}
.section-header .section-label { justify-content: center; display: flex; }
.section-header p {
  color: var(--slate-light);
  max-width: 520px;
  margin: 0 auto;
  font-size: 0.95rem;
}
.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid rgba(184,150,60,0.15);
}
.practice-card {
  padding: 2.25rem 2rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(184,150,60,0.08);
  transition: background var(--trans-mid), border-color var(--trans-mid);
  position: relative;
  overflow: hidden;
}
.practice-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--trans-mid);
}
.practice-card:hover { background: rgba(255,255,255,0.06); border-color: rgba(184,150,60,0.2); }
.practice-card:hover::after { width: 100%; }
.practice-card-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 300;
  color: rgba(184,150,60,0.25);
  line-height: 1;
  margin-bottom: 1rem;
}
.practice-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ivory);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.practice-card p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--slate-light);
  margin-bottom: 1.25rem;
}
.practice-link {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--trans-fast), color var(--trans-fast);
}
.practice-link:hover { gap: 0.65rem; color: var(--gold-light); }
.practice-link svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ── Why Choose Us ─────────────────────────────────────────── */
#why-us {
  padding: var(--space-xl) 0;
  background: var(--ivory);
}
#why-us .section-header h2 { color: var(--navy); }
#why-us .section-header p { color: var(--text-mid); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.trust-item {
  padding: 2rem;
  border: var(--border-slate);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: border-color var(--trans-mid), transform var(--trans-mid);
}
.trust-item:hover {
  border-color: rgba(184,150,60,0.4);
  transform: translateY(-3px);
}
.trust-icon {
  width: 44px; height: 44px;
  margin-bottom: 1.25rem;
  color: var(--gold);
}
.trust-icon svg { width: 44px; height: 44px; }
.trust-item h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}
.trust-item p {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ── Attorneys ─────────────────────────────────────────────── */
#attorneys {
  padding: var(--space-xl) 0;
  background: var(--ivory-warm);
  border-top: var(--border-slate);
  border-bottom: var(--border-slate);
}
#attorneys .section-header h2 { color: var(--navy); }
#attorneys .section-header p { color: var(--text-mid); }
.attorneys-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}
.attorney-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: start;
  padding: 2.5rem;
  background: var(--white);
  border: var(--border-slate);
  border-radius: var(--radius-md);
}
.attorney-photo {
  aspect-ratio: 3/4;
  background: var(--ivory-dark);
  border: var(--border-mid);
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
}
.attorney-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.attorney-photo-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--slate);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.attorney-photo-placeholder svg { opacity: 0.4; }
.attorney-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.25rem;
  line-height: 1.2;
}
.attorney-title {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.attorney-bio {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.attorney-focus {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 0.4rem;
}
.attorney-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.attorney-tag {
  font-size: 0.68rem;
  padding: 0.25rem 0.6rem;
  border: var(--border-mid);
  border-radius: 2px;
  color: var(--gold);
  letter-spacing: 0.06em;
}

/* ── Process ───────────────────────────────────────────────── */
#process {
  padding: var(--space-xl) 0;
  background: var(--navy);
}
#process .section-header h2 { color: var(--ivory); }
#process .section-header p { color: var(--slate-light); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 3rem;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px; left: calc(12.5% + 28px);
  right: calc(12.5% + 28px);
  height: 1px;
  background: linear-gradient(90deg, var(--gold) 0%, rgba(184,150,60,0.3) 100%);
}
.process-step {
  padding: 0 1.5rem;
  text-align: center;
  position: relative;
}
.step-num {
  width: 56px; height: 56px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--gold);
  background: var(--navy);
  position: relative;
  z-index: 1;
}
.process-step h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ivory);
  margin-bottom: 0.65rem;
  line-height: 1.3;
}
.process-step p {
  font-size: 0.83rem;
  color: var(--slate-light);
  line-height: 1.65;
}

/* ── Service Area ──────────────────────────────────────────── */
#service-area {
  padding: var(--space-xl) 0;
  background: var(--ivory);
}
#service-area .section-header h2 { color: var(--navy); }
#service-area .section-header p { color: var(--text-mid); }
.area-intro {
  max-width: 600px;
  margin: 0 auto 2.5rem;
  text-align: center;
  color: var(--text-mid);
  line-height: 1.75;
}
.area-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
}
.area-chip {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0.5rem 1.1rem;
  border: var(--border-mid);
  border-radius: 2px;
  color: var(--navy);
  background: var(--white);
  transition: background var(--trans-fast), color var(--trans-fast), border-color var(--trans-fast);
}
.area-chip:hover {
  background: var(--navy);
  color: var(--ivory);
  border-color: var(--navy);
}
.area-seo-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  font-style: italic;
  font-family: var(--font-serif);
}

/* ── Reviews ───────────────────────────────────────────────── */
#reviews {
  padding: var(--space-xl) 0;
  background: var(--ivory-warm);
  border-top: var(--border-slate);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.review-card {
  padding: 2rem;
  background: var(--white);
  border: var(--border-slate);
  border-radius: var(--radius-md);
  position: relative;
}
.review-quote-mark {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--gold-pale);
  margin-bottom: 0.5rem;
  font-style: italic;
  display: block;
}
.review-body {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.review-attr {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: var(--border-slate);
}
.review-initial {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--ivory);
  font-family: var(--font-serif);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
}
.review-matter {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.reviews-demo-note {
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
  font-style: italic;
}

/* ── FAQ ───────────────────────────────────────────────────── */
#faq {
  padding: var(--space-xl) 0;
  background: var(--white);
}
#faq .section-header h2 { color: var(--navy); }
.faq-list {
  max-width: 740px;
  margin: 3rem auto 0;
}
.faq-item {
  border-bottom: var(--border-slate);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--navy);
  transition: color var(--trans-fast);
  cursor: pointer;
}
.faq-question:hover { color: var(--gold); }
.faq-question[aria-expanded="true"] { color: var(--gold); }
.faq-icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border: 1px solid var(--ivory-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: transform var(--trans-mid), border-color var(--trans-fast);
}
.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  border-color: var(--gold);
}
.faq-icon svg { width: 10px; height: 10px; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--trans-mid);
}
.faq-answer-inner {
  padding-bottom: 1.4rem;
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.75;
}

/* ── Disclaimer ────────────────────────────────────────────── */
#disclaimer {
  background: var(--ivory-warm);
  border-top: var(--border-slate);
  border-bottom: var(--border-slate);
  padding: 2rem 0;
}
.disclaimer-inner {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  max-width: 820px;
  margin: 0 auto;
}
.disclaimer-icon {
  flex-shrink: 0;
  color: var(--slate);
  margin-top: 2px;
}
.disclaimer-icon svg { width: 18px; height: 18px; }
.disclaimer-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Final CTA ─────────────────────────────────────────────── */
#final-cta {
  padding: var(--space-xl) 0;
  background: var(--navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}
#final-cta::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(184,150,60,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.cta-inner .section-label { justify-content: center; display: flex; }
.cta-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--ivory);
  line-height: 1.2;
  margin-bottom: 0.75rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cta-sub {
  color: var(--slate-light);
  font-size: 0.95rem;
  margin-bottom: 2.25rem;
}
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.cta-rule {
  width: 60px; height: 1px;
  background: var(--gold);
  margin: 2rem auto 0;
  opacity: 0.4;
}

/* ── Footer ────────────────────────────────────────────────── */
#site-footer {
  background: #060F1C;
  padding: var(--space-lg) 0 var(--space-md);
  border-top: var(--border-fine);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand .logo-text { margin-bottom: 1rem; display: block; }
.footer-tagline {
  font-size: 0.83rem;
  color: var(--slate-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 280px;
}
.footer-contact-item {
  font-size: 0.8rem;
  color: var(--slate-light);
  margin-bottom: 0.4rem;
}
.footer-contact-item a { transition: color var(--trans-fast); }
.footer-contact-item a:hover { color: var(--gold); }
.footer-col h4 {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 1.1rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a {
  font-size: 0.83rem;
  color: var(--slate-light);
  transition: color var(--trans-fast);
}
.footer-links a:hover { color: var(--gold); }
.footer-hours {
  font-size: 0.83rem;
  color: var(--slate-light);
  line-height: 1.9;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy {
  font-size: 0.75rem;
  color: var(--slate);
}
.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.footer-legal-links a {
  font-size: 0.7rem;
  color: var(--slate);
  letter-spacing: 0.05em;
  transition: color var(--trans-fast);
}
.footer-legal-links a:hover { color: var(--gold); }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr 360px; gap: 3rem; }
  .attorneys-grid { gap: 2rem; }
  .attorney-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid .footer-col:last-child { grid-column: 1 / -1; }
  .process-layout { grid-template-columns: 1fr 280px; gap: 2.5rem; }
}

@media (max-width: 900px) {
  :root { --space-xl: 5rem; }
  .hero-inner {
    grid-template-columns: 1fr;
    padding: var(--space-md) 0;
    min-height: auto;
    padding-top: var(--space-lg);
  }
  .hero-image-wrap { height: 320px; }
  .hero-content { padding-right: 0; }
  .consult-inner { grid-template-columns: 1fr; gap: 3rem; }
  .consult-left p { max-width: 100%; }
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .attorneys-grid { grid-template-columns: 1fr; }
  .attorneys-photo-banner img { height: 320px; }
  .process-layout { grid-template-columns: 1fr; }
  .process-image { display: none; } /* hide sticky image on smaller screens */
  .process-layout .process-steps { gap: 2rem; }
  .reviews-grid { grid-template-columns: 1fr; gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .area-image-wrap img { height: 240px; }
}

@media (max-width: 680px) {
  :root { --space-xl: 4rem; --header-h: 68px; }
  .header-nav { display: none; }
  .header-cta { display: none; }
  .hamburger { display: flex; }
  .practice-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .attorneys-photo-banner img { height: 240px; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .cta-actions { flex-direction: column; align-items: center; }
  .form-grid { grid-template-columns: 1fr; }
  .consult-office-photo img { height: 160px; }
}
