:root {
  --navy: #0f2942;
  --navy-dark: #081a2c;
  --cream: #f5f1e8;
  --cream-light: #faf7f0;
  --gold: #b8924a;
  --gold-light: #d4b478;
  --text: #1f2937;
  --text-muted: #6b7280;
  --border: #e5e0d0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
}
h1 { font-size: clamp(2.25rem, 4vw, 3.5rem); }
h2 { font-size: clamp(1.875rem, 3vw, 2.5rem); }
h3 { font-size: 1.4rem; }
a { color: var(--gold); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--navy); }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* HEADER */
header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; }
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand-mark { width: 44px; height: 44px; background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 1.5rem; border: 2px solid var(--gold); flex-shrink: 0; }
.brand-name { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 600; color: var(--navy); letter-spacing: 0.02em; line-height: 1; }
.brand-tag { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--text-muted); margin-top: 4px; }
nav ul { list-style: none; display: flex; gap: 2rem; align-items: center; }
nav a { color: var(--navy); font-weight: 500; font-size: 0.95rem; }
nav a:hover { color: var(--gold); }
.cta-btn { background: var(--navy); color: #fff !important; padding: 0.7rem 1.4rem; font-weight: 500; transition: background 0.2s; font-size: 0.9rem; }
.cta-btn:hover { background: var(--gold); }

/* HERO */
.hero { position: relative; background: var(--navy); color: #fff; padding: 6.5rem 0; text-align: center; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(135deg, rgba(15,41,66,0.92) 0%, rgba(8,26,44,0.97) 100%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M0 0h40v40H0V0zm40 40h40v40H40V40z'/%3E%3C/g%3E%3C/svg%3E"); }
.hero > * { position: relative; }
.hero h1 { color: #fff; max-width: 900px; margin: 0 auto 1.5rem; }
.hero p.lead { font-size: 1.2rem; max-width: 720px; margin: 0 auto 2rem; opacity: 0.92; line-height: 1.6; }
.hero .actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-primary, .btn-secondary { padding: 0.875rem 2rem; font-weight: 500; transition: all 0.2s; display: inline-block; font-size: 0.95rem; }
.btn-primary { background: var(--gold); color: #fff !important; }
.btn-primary:hover { background: var(--gold-light); color: #fff !important; }
.btn-secondary { background: transparent; color: #fff !important; border: 1px solid rgba(255,255,255,0.5); }
.btn-secondary:hover { background: #fff; color: var(--navy) !important; border-color: #fff; }

/* SECTIONS */
section { padding: 5rem 0; }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.78rem; font-weight: 600; margin-bottom: 0.85rem; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; margin-top: 1rem; }

/* PRACTICE CARDS */
.practice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.5rem; }
.practice-card { background: var(--cream-light); padding: 2rem; border-top: 3px solid var(--gold); transition: transform 0.2s, box-shadow 0.2s; }
.practice-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(15,41,66,0.10); }
.practice-card h3 { margin-bottom: 0.75rem; }
.practice-card p { color: var(--text-muted); font-size: 0.95rem; }
.practice-card a.read-more { display: inline-block; margin-top: 1.25rem; font-weight: 500; font-size: 0.9rem; }

/* ATTORNEY CARDS */
.attorney-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2.5rem; }
.attorney-card { text-align: center; }
.attorney-photo { width: 180px; height: 180px; background: linear-gradient(135deg, var(--cream) 0%, var(--cream-light) 100%); border-radius: 50%; margin: 0 auto 1.5rem; display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', serif; font-size: 2.75rem; color: var(--navy); border: 3px solid var(--gold); letter-spacing: 0.05em; }
.attorney-card h3 { margin-bottom: 0.25rem; font-size: 1.5rem; }
.attorney-title { color: var(--gold); font-weight: 500; margin-bottom: 1rem; font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; }
.attorney-card p { color: var(--text-muted); font-size: 0.95rem; }

/* VALUES */
.bg-cream { background: var(--cream); }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.value-item { text-align: center; padding: 1rem; }
.value-num { font-family: 'Cormorant Garamond', serif; font-size: 3rem; color: var(--gold); font-weight: 600; line-height: 1; margin-bottom: 0.5rem; }
.value-item h4 { color: var(--navy); margin-bottom: 0.5rem; font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; }
.value-item p { color: var(--text-muted); font-size: 0.9rem; }

/* TESTIMONIAL */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 2rem; }
.testimonial { background: #fff; padding: 2rem; border-left: 3px solid var(--gold); }
.testimonial p.quote { font-style: italic; font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; color: var(--navy); margin-bottom: 1.25rem; line-height: 1.45; }
.testimonial .author { font-weight: 600; color: var(--navy); font-size: 0.95rem; }
.testimonial .case-type { color: var(--text-muted); font-size: 0.85rem; margin-top: 0.25rem; }

/* CTA BAND */
.cta-band { background: var(--navy); color: #fff; padding: 4rem 0; text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: 1rem; }
.cta-band p { font-size: 1.1rem; margin-bottom: 2rem; opacity: 0.92; max-width: 600px; margin-left: auto; margin-right: auto; }

/* FOOTER */
footer { background: var(--navy-dark); color: #fff; padding: 4rem 0 2rem; }
footer .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 3rem; margin-bottom: 3rem; }
footer h4 { color: var(--gold); margin-bottom: 1.25rem; font-size: 0.85rem; font-family: 'Inter', sans-serif; text-transform: uppercase; letter-spacing: 0.15em; font-weight: 600; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 0.6rem; color: rgba(255,255,255,0.75); font-size: 0.95rem; }
footer a { color: rgba(255,255,255,0.75); font-size: 0.95rem; }
footer a:hover { color: var(--gold); }
footer .brand-name { color: #fff !important; }
footer .brand-tag { color: rgba(255,255,255,0.55) !important; }
footer .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; font-size: 0.82rem; color: rgba(255,255,255,0.55); line-height: 1.6; }
footer .footer-bottom .legal-links { margin-top: 1rem; }
footer .footer-bottom .legal-links a { margin-right: 1rem; color: rgba(255,255,255,0.55); }

/* PAGE INTRO */
.page-intro { background: var(--cream); padding: 4rem 0 3.5rem; text-align: center; }
.page-intro h1 { color: var(--navy); margin-bottom: 1rem; }
.page-intro .breadcrumb { color: var(--text-muted); font-size: 0.88rem; }
.page-intro .breadcrumb a { color: var(--navy); }
.page-intro p.subtitle { color: var(--text-muted); font-size: 1.1rem; max-width: 700px; margin: 1rem auto 0; }

/* PROSE */
.prose { max-width: 780px; margin: 0 auto; font-size: 1.05rem; }
.prose p { margin-bottom: 1.3rem; }
.prose h2 { margin: 2.75rem 0 1.1rem; font-size: 1.85rem; }
.prose h3 { margin: 2rem 0 0.75rem; font-size: 1.35rem; }
.prose ul, .prose ol { margin: 1rem 0 1.5rem 1.5rem; }
.prose ul li, .prose ol li { margin-bottom: 0.6rem; }
.prose blockquote { border-left: 3px solid var(--gold); padding-left: 1.5rem; margin: 1.5rem 0; font-style: italic; color: var(--text-muted); }

/* PRACTICE AREA DETAIL */
.practice-detail { max-width: 850px; margin: 0 auto 4rem; padding: 2.5rem; background: var(--cream-light); border-top: 4px solid var(--gold); scroll-margin-top: 100px; }
.practice-detail h2 { margin-bottom: 1.25rem; }
.practice-detail ul.areas { list-style: none; margin: 1.5rem 0; columns: 2; column-gap: 2rem; }
.practice-detail ul.areas li { padding: 0.4rem 0 0.4rem 1.25rem; position: relative; color: var(--text); font-size: 0.95rem; break-inside: avoid; }
.practice-detail ul.areas li::before { content: '◆'; color: var(--gold); position: absolute; left: 0; font-size: 0.7rem; top: 0.55rem; }

/* ATTORNEY DETAIL */
.attorney-detail { display: grid; grid-template-columns: 280px 1fr; gap: 3rem; margin-bottom: 4rem; align-items: start; padding-bottom: 4rem; border-bottom: 1px solid var(--border); }
.attorney-detail:last-of-type { border-bottom: none; }
.attorney-detail .photo-box { aspect-ratio: 3/4; background: linear-gradient(135deg, var(--cream) 0%, var(--cream-light) 100%); display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', serif; font-size: 5rem; color: var(--navy); border-top: 4px solid var(--gold); letter-spacing: 0.05em; }
.attorney-detail .info h2 { margin-bottom: 0.25rem; }
.attorney-detail .role { color: var(--gold); text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.85rem; margin-bottom: 0.5rem; font-weight: 600; }
.attorney-detail .contact-line { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 1.5rem; }
.attorney-detail .contact-line a { color: var(--navy); }
.attorney-detail .info p { margin-bottom: 1.1rem; color: var(--text); }
.attorney-detail dl { display: grid; grid-template-columns: 140px 1fr; gap: 0.65rem 1.5rem; margin-top: 1.75rem; padding-top: 1.75rem; border-top: 1px solid var(--border); font-size: 0.92rem; }
.attorney-detail dt { font-weight: 600; color: var(--navy); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; padding-top: 2px; }
.attorney-detail dd { color: var(--text); }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; }
.contact-info h3 { margin-bottom: 0.5rem; margin-top: 2rem; font-size: 0.85rem; font-family: 'Inter', sans-serif; text-transform: uppercase; letter-spacing: 0.15em; color: var(--gold); font-weight: 600; }
.contact-info h3:first-of-type { margin-top: 0; }
.contact-info p { margin-bottom: 0.4rem; color: var(--text); }
.contact-info a { color: var(--navy); }
form .field { margin-bottom: 1.5rem; }
form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
form label { display: block; font-weight: 500; margin-bottom: 0.5rem; color: var(--navy); font-size: 0.9rem; }
form input, form select, form textarea { width: 100%; padding: 0.85rem; border: 1px solid var(--border); font-family: inherit; font-size: 1rem; background: var(--cream-light); transition: border-color 0.15s, background 0.15s; }
form input:focus, form select:focus, form textarea:focus { outline: none; border-color: var(--gold); background: #fff; }
form textarea { resize: vertical; min-height: 140px; }
form button { background: var(--navy); color: #fff; border: none; padding: 1rem 2rem; font-weight: 500; cursor: pointer; font-size: 1rem; transition: background 0.2s; }
form button:hover { background: var(--gold); }
.form-note { font-size: 0.82rem; color: var(--text-muted); margin-top: 1rem; line-height: 1.5; }

/* BLOG */
.blog-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.blog-card { background: var(--cream-light); padding: 2rem; border-top: 3px solid var(--gold); display: flex; flex-direction: column; }
.blog-card .date { color: var(--gold); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 0.85rem; font-weight: 600; }
.blog-card h3 { margin-bottom: 0.75rem; }
.blog-card p { color: var(--text-muted); margin-bottom: 1rem; flex-grow: 1; font-size: 0.95rem; }
.blog-card .read-link { font-weight: 500; font-size: 0.9rem; }

.post-meta { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.post-meta .author-name { color: var(--navy); font-weight: 600; }

/* MOBILE */
@media (max-width: 900px) {
  footer .footer-grid { grid-template-columns: 1fr 1fr; }
  .attorney-detail { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .practice-detail ul.areas { columns: 1; }
}
@media (max-width: 768px) {
  nav ul { gap: 1rem; font-size: 0.85rem; }
  nav .cta-btn { display: none; }
  nav a { font-size: 0.85rem; }
  .hero { padding: 4.5rem 0; }
  section { padding: 4rem 0; }
  form .field-row { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  footer .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .brand-tag { display: none; }
  nav ul li:not(:last-child) { display: none; }
}
