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

:root {
  --navy: #1B2A45;
  --navy-dark: #111D2F;
  --gold: #C4942A;
  --gold-light: #D4AA3F;
  --ink: #1C1C1C;
  --paper: #FFFFFF;
  --ivory: #F7F4EE;
  --muted: #6B6B6B;
  --border: #DEDBD3;
  --rule: 3px solid var(--gold);
  --max: 1180px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  padding-top: 72px;
}

h1, h2, h3, h4 {
  font-family: 'EB Garamond', Georgia, serif;
  font-weight: 500;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); margin: 2.5rem 0 0.85rem; }
h3 { font-size: 1.2rem; margin: 1.75rem 0 0.6rem; font-family: 'Inter', sans-serif; font-weight: 600; letter-spacing: 0.01em; }
p  { margin-bottom: 1.2rem; }
p:last-child { margin-bottom: 0; }
a  { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { padding-left: 1.4rem; margin-bottom: 1.2rem; }
li { margin-bottom: 0.4rem; }

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

/* ── NAVIGATION ── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: var(--navy);
  border-bottom: 2px solid var(--gold);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-brand { display: flex; flex-direction: column; text-decoration: none; }
.nav-brand:hover { text-decoration: none; }
.nav-name {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1.15rem; font-weight: 500;
  color: #fff; letter-spacing: 0.02em;
}
.nav-credential {
  font-size: 0.6rem; color: var(--gold-light);
  letter-spacing: 0.1em; text-transform: uppercase; margin-top: 2px;
}
.nav-links { display: flex; align-items: center; list-style: none; gap: 1.75rem; }
.nav-links > li > a {
  color: rgba(255,255,255,0.82); font-size: 0.8rem; font-weight: 400;
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  transition: color 0.2s;
}
.nav-links > li > a:hover { color: var(--gold-light); text-decoration: none; }

.has-dropdown { position: relative; }
.dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--navy-dark); border-top: 2px solid var(--gold);
  min-width: 290px; list-style: none; padding: 0.5rem 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown { display: block; }
.dropdown li a {
  display: block; padding: 0.6rem 1.25rem;
  color: rgba(255,255,255,0.78); font-size: 0.82rem; text-decoration: none;
  transition: all 0.15s;
}
.dropdown li a:hover { background: rgba(196,148,42,0.12); color: var(--gold-light); text-decoration: none; }

.nav-cta > a {
  background: var(--gold) !important; color: var(--navy-dark) !important;
  padding: 0.45rem 1.1rem; font-weight: 600 !important;
  border-radius: 2px; letter-spacing: 0.02em !important;
}
.nav-cta > a:hover { background: var(--gold-light) !important; text-decoration: none !important; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; transition: all 0.25s; }

/* ── HERO (HOME) ── */
.home-hero {
  background: var(--navy); padding: 6rem 2rem 5rem;
  position: relative; overflow: hidden;
}
.home-hero::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; background: var(--gold);
}
.hero-inner { max-width: var(--max); margin: 0 auto; padding-left: 2rem; }
.hero-eyebrow {
  font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 1.25rem;
}
.hero-inner h1 { color: #fff; max-width: 700px; }
.hero-body {
  color: rgba(255,255,255,0.72); font-size: 1.05rem;
  max-width: 580px; margin: 1.5rem 0 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.btn-primary {
  display: inline-block; background: var(--gold); color: var(--navy-dark);
  padding: 0.75rem 1.75rem; font-weight: 600; font-size: 0.95rem;
  border-radius: 2px; letter-spacing: 0.02em; transition: background 0.2s;
}
.btn-primary:hover { background: var(--gold-light); text-decoration: none; color: var(--navy-dark); }
.btn-secondary {
  display: inline-block; color: rgba(255,255,255,0.75);
  font-size: 0.9rem; border-bottom: 1px solid rgba(196,148,42,0.4);
  padding-bottom: 2px; transition: color 0.2s;
}
.btn-secondary:hover { color: var(--gold-light); text-decoration: none; }

/* ── PRACTICE GRID (HOME) ── */
.practice-grid-section { padding: 5rem 2rem; background: var(--ivory); }
.section-label {
  font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.6rem;
}
.section-title { font-family: 'EB Garamond', serif; font-size: 2rem; margin-bottom: 3rem; }
.practice-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  max-width: var(--max); margin: 0 auto;
}
.practice-card {
  background: var(--paper); border-left: 3px solid var(--gold);
  padding: 1.75rem 1.5rem; transition: box-shadow 0.2s;
  display: flex; flex-direction: column;
}
.practice-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.practice-card h3 { font-family: 'EB Garamond', serif; font-size: 1.15rem; font-weight: 500; margin: 0 0 0.65rem; color: var(--ink); }
.practice-card p { font-size: 0.87rem; color: var(--muted); line-height: 1.6; flex: 1; margin-bottom: 1.25rem; }
.card-link { font-size: 0.82rem; color: var(--gold); font-weight: 500; letter-spacing: 0.04em; }
.card-link:hover { text-decoration: underline; }

/* ── ABOUT TEASER (HOME) ── */
.about-teaser { padding: 5rem 2rem; }
.about-teaser-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-teaser-text p { font-size: 1.05rem; color: var(--ink); line-height: 1.8; }
.about-teaser-creds { border-left: 3px solid var(--gold); padding-left: 2rem; }
.cred-item { margin-bottom: 1.5rem; }
.cred-item strong { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink); margin-bottom: 0.2rem; }
.cred-item span { font-size: 0.82rem; color: var(--muted); }

/* ── MEDIA STRIP ── */
.media-strip { background: var(--navy); padding: 2.5rem 2rem; }
.media-strip-inner { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; gap: 3rem; flex-wrap: wrap; }
.media-label { font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.media-items { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.media-item { color: rgba(255,255,255,0.55); font-size: 0.82rem; letter-spacing: 0.04em; }

/* ── CONTACT STRIP ── */
.contact-strip { background: var(--ivory); padding: 4rem 2rem; border-top: 1px solid var(--border); }
.contact-strip-inner { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 2rem; }
.contact-strip h2 { font-size: 1.75rem; }
.contact-strip p { color: var(--muted); margin-top: 0.5rem; }
.contact-strip-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── PAGE HEADER (inner pages) ── */
.page-hero {
  background: var(--navy); padding: 4rem 2rem 3.5rem;
  border-bottom: 2px solid var(--gold); position: relative;
}
.page-hero::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; background: var(--gold);
}
.page-hero-inner { max-width: var(--max); margin: 0 auto; padding-left: 2rem; }
.page-eyebrow {
  font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.75rem;
}
.page-hero h1 { color: #fff; }
.page-hero-sub { color: rgba(255,255,255,0.6); margin-top: 0.75rem; font-size: 0.92rem; }

/* ── PRACTICE LAYOUT ── */
.practice-layout {
  display: grid; grid-template-columns: 1fr 300px; gap: 5rem;
  max-width: var(--max); margin: 0 auto; padding: 4rem 2rem;
  align-items: start;
}

.practice-content { border-left: var(--rule); padding-left: 2.5rem; }
.practice-content h2 {
  font-family: 'EB Garamond', serif; color: var(--navy); position: relative;
}
.practice-content h2::before {
  content: '§'; position: absolute; left: -2.6rem;
  color: var(--gold); opacity: 0.65; font-size: 1.1em;
}
.practice-content h3 { color: var(--ink); }
.practice-content ul { color: var(--ink); }

/* ── SIDEBAR ── */
.practice-sidebar { position: sticky; top: 100px; }
.sidebar-card {
  background: var(--navy); color: #fff; padding: 2rem 1.75rem;
  border-top: 3px solid var(--gold);
}
.sidebar-card h3 { color: #fff; font-family: 'EB Garamond', serif; font-weight: 500; font-size: 1.2rem; margin: 0 0 0.75rem; }
.sidebar-card > p { font-size: 0.87rem; color: rgba(255,255,255,0.65); margin-bottom: 1.5rem; }
.sidebar-phone {
  display: block; font-size: 1.35rem; font-family: 'EB Garamond', serif;
  color: var(--gold-light); margin-bottom: 1rem; font-weight: 500;
}
.sidebar-phone:hover { text-decoration: underline; color: var(--gold-light); }
.sidebar-cta {
  display: block; background: transparent; border: 1px solid rgba(196,148,42,0.5);
  color: rgba(255,255,255,0.8); padding: 0.6rem 1rem; text-align: center;
  font-size: 0.85rem; margin-bottom: 1.75rem; transition: all 0.2s;
}
.sidebar-cta:hover { border-color: var(--gold); color: var(--gold-light); text-decoration: none; }
.sidebar-creds { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1.25rem; }
.sidebar-creds p { font-size: 0.78rem; color: rgba(255,255,255,0.5); margin-bottom: 0.4rem; line-height: 1.5; }
.sidebar-creds strong { color: rgba(255,255,255,0.75); }

/* ── ABOUT PAGE ── */
.about-layout { max-width: 820px; margin: 0 auto; padding: 4rem 2rem; }
.about-layout h2 { color: var(--navy); }
.about-intro { font-size: 1.1rem; line-height: 1.8; border-left: var(--rule); padding-left: 2rem; margin-bottom: 3rem; }
.credentials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin: 2rem 0; }
.credential-item { background: var(--ivory); padding: 1.5rem; border-left: 3px solid var(--gold); }
.credential-item h4 { font-family: 'EB Garamond', serif; font-size: 1rem; color: var(--navy); margin-bottom: 0.4rem; }
.credential-item p { font-size: 0.85rem; color: var(--muted); margin: 0; }

/* ── CONTACT PAGE ── */
.contact-layout { max-width: 820px; margin: 0 auto; padding: 4rem 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-info h2 { color: var(--navy); margin-top: 0; }
.contact-info p { color: var(--muted); font-size: 0.92rem; }
.contact-info a { color: var(--gold); }
.contact-detail { margin: 2rem 0; }
.contact-detail strong { display: block; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.4rem; }
.contact-detail span, .contact-detail a { font-size: 1rem; color: var(--ink); }
.contact-detail a { color: var(--gold); }
.contact-form-wrap h2 { color: var(--navy); margin-top: 0; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.form-field { display: flex; flex-direction: column; gap: 0.35rem; }
.form-field label { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.form-field input, .form-field textarea, .form-field select {
  border: 1px solid var(--border); padding: 0.7rem 0.85rem;
  font-family: inherit; font-size: 0.9rem; color: var(--ink);
  background: var(--paper); outline: none; border-radius: 1px;
  transition: border-color 0.2s;
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--gold); }
.form-field textarea { min-height: 130px; resize: vertical; }
.form-submit {
  background: var(--navy); color: #fff; border: none;
  padding: 0.8rem 1.75rem; font-family: inherit; font-size: 0.9rem;
  cursor: pointer; letter-spacing: 0.04em; align-self: flex-start;
  transition: background 0.2s; border-radius: 2px;
}
.form-submit:hover { background: var(--gold); color: var(--navy-dark); }
.form-note { font-size: 0.78rem; color: var(--muted); margin-top: 0.5rem; }

/* ── FOOTER ── */
.site-footer { background: var(--navy-dark); padding: 3.5rem 2rem 2rem; }
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr; gap: 4rem; margin-bottom: 2.5rem; }
.footer-name { font-family: 'EB Garamond', serif; font-size: 1.1rem; color: #fff; margin-bottom: 0.5rem; }
.footer-address { font-size: 0.82rem; color: rgba(255,255,255,0.45); line-height: 1.7; }
.footer-phone { margin-top: 0.75rem; }
.footer-phone a { color: var(--gold); font-size: 0.9rem; }
.footer-links-col h4 { font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; font-family: inherit; font-weight: 500; }
.footer-links-col a { display: block; color: rgba(255,255,255,0.45); font-size: 0.82rem; margin-bottom: 0.5rem; text-decoration: none; transition: color 0.2s; }
.footer-links-col a:hover { color: rgba(255,255,255,0.75); }
.footer-bar { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.75rem; }
.footer-disclaimer { font-size: 0.73rem; color: rgba(255,255,255,0.3); line-height: 1.7; max-width: 860px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
  .practice-layout { grid-template-columns: 1fr; }
  .practice-sidebar { position: static; }
  .sidebar-card { margin-top: 2rem; }
  .about-teaser-inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .credentials-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  body { padding-top: 64px; }
  .nav-inner { height: 64px; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: var(--navy-dark); flex-direction: column; gap: 0;
    padding: 0.5rem 0 1rem; border-top: 1px solid rgba(255,255,255,0.1);
    align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .nav-links > li { width: 100%; }
  .nav-links > li > a { display: block; padding: 0.75rem 1.5rem; font-size: 0.85rem; }
  .nav-cta > a { margin: 0.5rem 1.5rem; display: inline-block; }
  .dropdown { position: static; border: none; box-shadow: none; background: rgba(0,0,0,0.2); min-width: 0; display: block; }
  .dropdown li a { padding: 0.5rem 2.25rem; font-size: 0.8rem; }
  .has-dropdown .dropdown { display: none; }
  .has-dropdown.open .dropdown { display: block; }

  .practice-grid { grid-template-columns: 1fr; }
  .practice-content { padding-left: 1.25rem; }
  .practice-content h2::before { left: -1.5rem; font-size: 0.9em; }
  .home-hero, .contact-strip, .about-teaser, .practice-grid-section { padding-left: 1.25rem; padding-right: 1.25rem; }
  .contact-strip-inner { flex-direction: column; align-items: flex-start; }
  .media-strip-inner { gap: 1.5rem; }
}

/* ── PHOTO ── */
.attorney-photo {
  width: 100%;
  display: block;
  max-width: 360px;
}
.about-photo-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 3.5rem;
}
.photo-caption {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.75rem;
  letter-spacing: 0.04em;
}
.home-about-photo {
  width: 100%;
  max-width: 300px;
  display: block;
}
@media (max-width: 768px) {
  .about-photo-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .attorney-photo { max-width: 260px; }
  .home-about-photo { max-width: 200px; }
}

/* ── HERO PHOTO LAYOUT ── */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  align-items: center;
}
.hero-photo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-photo {
  width: 100%;
  max-width: 320px;
  display: block;
  border: 4px solid var(--gold);
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
.hero-photo-caption {
  margin-top: 1.25rem;
  text-align: center;
  font-family: 'EB Garamond', serif;
  font-size: 1.15rem;
  color: #fff;
  line-height: 1.4;
}
.hero-photo-caption span {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 0.4rem;
  font-weight: 500;
}
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-photo-wrap { order: -1; }
  .hero-photo { max-width: 240px; }
}
