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

:root {
  --bg: #f5f1ea;
  --bg-alt: #ebe5db;
  --surface: #ffffff;
  --dark: #1e3a3a;
  --dark-alt: #162b2b;
  --accent: #1e3a3a;
  --accent-light: #2d5a5a;
  --text: #1e1e24;
  --text-secondary: #55555e;
  --text-muted: #909098;
  --border: #dbd4ca;
  --shadow: 0 8px 32px rgba(30, 30, 36, 0.06);
  --shadow-hover: 0 16px 48px rgba(30, 30, 36, 0.1);
  --transition: 400ms cubic-bezier(0.16, 1, 0.3, 1);
  --content: 1120px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Nixon Template Badge ── */
.nixon-badge {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  background: rgba(30, 58, 58, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(245, 241, 234, 0.15);
  color: #f5f1ea;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 5px 14px;
  border-radius: 3px;
  transition: all 0.3s ease;
}
.nixon-badge:hover { border-color: rgba(245, 241, 234, 0.4); color: #fff; }

/* ── Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Header ── */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(245, 241, 234, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition);
}
.header.scrolled { box-shadow: 0 1px 0 rgba(30, 58, 58, 0.06); }

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

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}
.header-mark {
  width: 32px; height: 32px;
  background: var(--dark);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}
.header-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.header-nav {
  display: flex;
  gap: 6px;
  align-items: center;
}
.header-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 6px 14px;
  border-radius: 6px;
  transition: all var(--transition);
  position: relative;
}
.header-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%;
  width: 0; height: 2px;
  background: var(--dark);
  transition: all var(--transition);
  transform: translateX(-50%);
  border-radius: 1px;
}
.header-link:hover { color: var(--text); }
.header-link:hover::after { width: 60%; }
.header-link.active { color: var(--dark); }
.header-link.active::after { width: 60%; }

.header-toggle {
  display: none;
  flex-direction: column; gap: 4px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.header-toggle span {
  display: block; width: 20px; height: 1.5px;
  background: var(--text); transition: all var(--transition);
}

/* ── Hero ── */
.hero {
  min-height: 90vh;
  background: var(--dark);
  color: var(--bg);
  display: flex;
  align-items: center;
  padding: 120px 32px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '&';
  position: absolute;
  font-family: 'Cormorant Garamond', serif;
  font-size: 40rem;
  font-weight: 700;
  font-style: italic;
  color: rgba(245, 241, 234, 0.02);
  bottom: -80px;
  right: -40px;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

.hero-inner {
  max-width: var(--content);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 241, 234, 0.4);
  border: 1px solid rgba(245, 241, 234, 0.1);
  padding: 4px 12px;
  border-radius: 3px;
  margin-bottom: 28px;
}

.hero-inner h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 650px;
  margin-bottom: 20px;
}
.hero-inner h1 span {
  font-style: italic;
  font-weight: 400;
  color: rgba(245, 241, 234, 0.5);
}

.hero-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(245, 241, 234, 0.6);
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 12px 30px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  font-family: inherit;
  border-radius: 0;
}
.btn-primary {
  background: var(--bg);
  color: var(--dark);
}
.btn-primary:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.btn-outline {
  background: transparent;
  color: var(--bg);
  border: 1px solid rgba(245, 241, 234, 0.2);
}
.btn-outline:hover {
  border-color: rgba(245, 241, 234, 0.5);
  background: rgba(245, 241, 234, 0.04);
  transform: translateY(-2px);
}
.btn-accent {
  background: var(--dark);
  color: var(--bg);
}
.btn-accent:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 58, 58, 0.15);
}

/* ── Sections ── */
.section {
  padding: 100px 32px;
}
.section-alt { background: var(--bg-alt); }
.section-dark {
  background: var(--dark);
  color: var(--bg);
}

.section-inner {
  max-width: var(--content);
  margin: 0 auto;
}

.section-header {
  margin-bottom: 56px;
  max-width: 560px;
}
.section-header.centered { text-align: center; margin-left: auto; margin-right: auto; }

.section-label {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 10px;
}
.section-dark .section-label { color: rgba(245, 241, 234, 0.4); }

.section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-top: 16px;
}
.section-dark .section-desc { color: rgba(245, 241, 234, 0.55); }

/* ── Stripe Divider ── */
.stripe {
  width: 100%;
  height: 4px;
  background: var(--dark);
}

/* ── Zigzag Layout ── */
.zigzag {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.zigzag-reverse .zigzag-visual { order: -1; }

.zigzag-text p {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.zigzag-text p:last-child { margin-bottom: 0; }

.zigzag-visual {
  height: 360px;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.zigzag-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 20px,
      rgba(245, 241, 234, 0.03) 20px,
      rgba(245, 241, 234, 0.03) 21px
    );
}
.zigzag-visual span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 6rem;
  font-weight: 700;
  color: rgba(245, 241, 234, 0.06);
  z-index: 1;
}

/* ── Stats Bar ── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 60px;
}
.stat-block {
  background: var(--surface);
  padding: 36px 28px;
  text-align: center;
}
.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--dark);
  display: block;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
  display: block;
  letter-spacing: 0.04em;
}

/* ── Practice Bento ── */
.bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.bento-card {
  background: var(--surface);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.bento-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 0;
  background: var(--dark);
  transition: height var(--transition);
}
.bento-card:hover::before { height: 100%; }
.bento-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.bento-card-wide { grid-column: 1 / -1; }

.bento-number {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 12px;
}
.bento-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.bento-card p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ── Attorneys ── */
.attorney-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.attorney-card {
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
}
.attorney-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }

.attorney-visual {
  height: 220px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.attorney-initials {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--dark);
  opacity: 0.12;
  letter-spacing: 0.05em;
  z-index: 1;
}
.attorney-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 0;
  background: linear-gradient(to top, var(--dark), transparent);
  transition: height var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.attorney-card:hover .attorney-overlay { height: 100%; }
.attorney-overlay a {
  color: var(--bg);
  font-size: 0.8rem;
  text-decoration: none;
  padding: 6px 14px;
  border: 1px solid rgba(245, 241, 234, 0.2);
  border-radius: 3px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.7rem;
  font-weight: 600;
}
.attorney-overlay a:hover { background: rgba(245, 241, 234, 0.1); border-color: rgba(245, 241, 234, 0.4); }

.attorney-body { padding: 24px; }
.attorney-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 3px;
}
.attorney-title {
  font-size: 0.72rem;
  color: var(--accent-light);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}
.attorney-body p {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ── Testimonials ── */
.testimonial-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.testimonial-block {
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: start;
}
.testimonial-block:first-child { padding-top: 0; }
.testimonial-block:last-child { border-bottom: none; padding-bottom: 0; }

.testimonial-meta .testimonial-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 700;
  display: block;
}
.testimonial-meta .testimonial-role {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
  display: block;
}

.testimonial-quote {
  position: relative;
}
.testimonial-quote::before {
  content: '\201C';
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--dark);
  opacity: 0.08;
  position: absolute;
  top: -10px;
  left: -6px;
  pointer-events: none;
}
.testimonial-quote blockquote {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  font-style: italic;
}

.section-dark .testimonial-block {
  border-color: rgba(245, 241, 234, 0.08);
}
.section-dark .testimonial-meta .testimonial-name { color: var(--bg); }
.section-dark .testimonial-meta .testimonial-role { color: rgba(245, 241, 234, 0.4); }
.section-dark .testimonial-quote::before { color: var(--bg); opacity: 0.05; }
.section-dark .testimonial-quote blockquote { color: rgba(245, 241, 234, 0.65); }

/* ── Contact ── */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.contact-info-side {
  padding: 32px;
  background: var(--dark);
  color: var(--bg);
  position: relative;
}
.contact-info-side::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: rgba(245, 241, 234, 0.1);
}

.contact-info-side h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 24px;
}
.contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.88rem;
  color: rgba(245, 241, 234, 0.65);
  line-height: 1.6;
}
.contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: rgba(245, 241, 234, 0.35);
}

.contact-form-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form-side input,
.contact-form-side textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition);
}
.contact-form-side input:focus,
.contact-form-side textarea:focus {
  border-color: var(--dark);
}
.contact-form-side input::placeholder,
.contact-form-side textarea::placeholder {
  color: var(--text-muted);
}

.form-feedback {
  font-size: 0.82rem;
  color: var(--dark);
  min-height: 20px;
}

/* ── Footer ── */
.footer {
  background: var(--dark);
  color: var(--bg);
  padding: 0;
}
.footer-top {
  border-top: 4px solid rgba(245, 241, 234, 0.06);
  padding: 60px 32px 40px;
}
.footer-inner {
  max-width: var(--content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}

.footer-brand-side {
  font-family: 'Cormorant Garamond', serif;
}
.footer-brand-side .footer-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.footer-brand-side p {
  font-size: 0.82rem;
  color: rgba(245, 241, 234, 0.4);
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 241, 234, 0.3);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: rgba(245, 241, 234, 0.55);
  text-decoration: none;
  font-size: 0.85rem;
  margin-bottom: 10px;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--bg); }

.footer-bottom {
  border-top: 1px solid rgba(245, 241, 234, 0.06);
  padding: 24px 32px;
}
.footer-bottom-inner {
  max-width: var(--content);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-inner span {
  font-size: 0.75rem;
  color: rgba(245, 241, 234, 0.25);
}

/* ── Page Header (inner pages) ── */
.page-header {
  padding: 120px 32px 60px;
  background: var(--dark);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 24px,
      rgba(245, 241, 234, 0.01) 24px,
      rgba(245, 241, 234, 0.01) 25px
    );
  pointer-events: none;
}
.page-header-inner {
  max-width: var(--content);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.page-header .section-label { color: rgba(245, 241, 234, 0.4); }
.page-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  max-width: 600px;
}
.page-header p {
  color: rgba(245, 241, 234, 0.55);
  font-size: 0.95rem;
  margin-top: 16px;
  max-width: 480px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .header-nav { display: none; }
  .header-toggle { display: flex; }

  .hero-inner h1 { font-size: 2.4rem; }
  .hero::before { font-size: 20rem; bottom: -40px; right: -20px; }

  .section { padding: 60px 24px; }
  .section h2 { font-size: 1.8rem; }
  .section-header { margin-bottom: 36px; }

  .zigzag { grid-template-columns: 1fr; gap: 32px; }
  .zigzag-reverse .zigzag-visual { order: 0; }
  .zigzag-visual { height: 240px; }

  .stats-bar { grid-template-columns: 1fr; gap: 1px; }

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

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

  .testimonial-block { grid-template-columns: 1fr; gap: 16px; }

  .contact-split { grid-template-columns: 1fr; gap: 32px; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }

  .page-header h1 { font-size: 2rem; }
  .page-header { padding: 100px 24px 40px; }

  .hero-actions .btn { width: 100%; text-align: center; }
}
