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

/* ─── Tokens ─────────────────────────────────────────────────── */
:root {
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --color-bg: #ffffff;
  --color-text: #111111;
  --color-muted: #555555;
  --color-border: #e0e0e0;
  --max-width: 760px;
  --nav-height: 64px;
}

/* ─── Base ───────────────────────────────────────────────────── */
html {
  font-size: 17px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text);
}

p {
  margin-bottom: 1.25rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ─── Layout ─────────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

.section + .section {
  border-top: 1px solid var(--color-border);
}

.rule {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 2.5rem 0;
}

/* ─── Navigation ─────────────────────────────────────────────── */
.nav {
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  background: var(--color-bg);
  z-index: 100;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--nav-height);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-brand {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-brand__logo {
  height: 36px;
  width: auto;
  display: block;
}

.nav-brand__text {
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-muted);
  transition: color 0.15s;
}

.nav-links a:hover {
  color: var(--color-text);
}

.nav-links a[aria-current="page"] {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ─── Footer ─────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--color-border);
  padding: 2rem 0;
  margin-top: 4rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--color-muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.8125rem;
  color: var(--color-muted);
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-links a:hover {
  color: var(--color-text);
}

/* ─── Page Header (inner pages) ──────────────────────────────── */
.page-header {
  padding: 4rem 0 3rem;
}

.page-header__label {
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 0.75rem;
}

.page-header__title {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 600;
  line-height: 1.1;
}

/* ─── Hero (Home) ────────────────────────────────────────────── */
.hero {
  padding: 7rem 0 5rem;
}

.hero__name {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.hero__title {
  font-size: 0.9375rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 2.5rem;
}

.hero__tagline {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-muted);
  font-weight: 400;
  max-width: 520px;
  line-height: 1.5;
  margin-bottom: 0;
}

/* ─── Home: Intro ────────────────────────────────────────────── */
.intro {
  font-size: 1.0625rem;
  line-height: 1.8;
  max-width: 640px;
}

/* ─── Home: Practice Teasers ─────────────────────────────────── */
.teasers {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.teaser {
  padding: 1.5rem 0;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.teaser:last-child {
  border-bottom: 1px solid var(--color-border);
}

.teaser__name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
}

.teaser__link {
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  text-decoration: none;
  white-space: nowrap;
}

.teaser__link:hover {
  color: var(--color-text);
}

/* ─── Section Heading ────────────────────────────────────────── */
.section-heading {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
}

/* ─── About: Bio ─────────────────────────────────────────────── */
.bio {
  font-size: 1.0625rem;
  line-height: 1.8;
}

/* ─── About: Details Grid ────────────────────────────────────── */
.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.detail-group__label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 0.75rem;
}

.detail-group__list {
  list-style: none;
  font-size: 0.9375rem;
  line-height: 1.9;
}

/* ─── Practice Areas ─────────────────────────────────────────── */
.practice-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.practice-item {
  padding: 2.5rem 0;
  border-top: 1px solid var(--color-border);
}

.practice-item:last-child {
  border-bottom: 1px solid var(--color-border);
}

.practice-item__name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.practice-item__desc {
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.75;
  max-width: 580px;
  margin-bottom: 0;
}

/* ─── Contact ────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}

.contact-info__label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 0.5rem;
  margin-top: 1.5rem;
}

.contact-info__label:first-child {
  margin-top: 0;
}

.contact-info__value {
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ─── Form ───────────────────────────────────────────────────── */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--color-text);
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem;
  outline: none;
  appearance: none;
  border-radius: 0;
  transition: border-color 0.15s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid var(--color-text);
  outline-offset: 2px;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-group input.is-error,
.form-group textarea.is-error {
  border-color: #c00;
}

.form-error {
  display: block;
  font-size: 0.8125rem;
  color: #c00;
  margin-top: 0.35rem;
}

/* Honeypot */
.form-group--honeypot {
  display: none;
}

.btn {
  display: inline-block;
  background: var(--color-text);
  color: var(--color-bg);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  padding: 0.875rem 2rem;
  cursor: pointer;
  transition: opacity 0.15s;
}

.btn:hover {
  opacity: 0.8;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-status {
  margin-top: 1.5rem;
  font-size: 0.9375rem;
}

.form-status--success {
  color: #1a5c2a;
}

.form-status--error {
  color: #c00;
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 600px) {
  .hero__name {
    font-size: 2.75rem;
  }

  .page-header__title {
    font-size: 2rem;
  }

  .nav {
    height: auto;
  }

  .nav-inner {
    height: auto;
    padding: 0.75rem 1.5rem;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
  }

  .nav-brand__text {
    white-space: normal;
  }

  .nav-links {
    gap: 1.25rem;
  }

  .nav-links a {
    font-size: 0.75rem;
  }

  .details-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}
