:root {
  --bg: #faf8f5;
  --surface: #ffffff;
  --surface-alt: #f3efe9;
  --ink: #1c1b19;
  --muted: #5b5750;
  --border: #e4ded5;
  --accent: #8c4a32;
  --accent-dark: #6f3824;
  --radius: 12px;
  --maxw: 880px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  color: var(--accent-dark);
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(250, 248, 245, 0.94);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.brand-title {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.15;
}

.brand-sub {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
  font-weight: 500;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
}

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

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px 22px 64px;
}

.hero {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  margin-bottom: 28px;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  line-height: 1.25;
  margin-top: 0;
}

h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 14px;
}

h2 {
  font-size: 24px;
  margin-bottom: 14px;
}

h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.lead {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 22px;
  max-width: 64ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-block;
  padding: 11px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: #ffffff;
}

.btn-secondary {
  background: var(--surface-alt);
  color: var(--ink);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: #eae4da;
  color: var(--ink);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.card-muted {
  background: var(--surface-alt);
}

.section-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 28px;
}

.about-layout {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 26px;
  align-items: start;
}

.portrait-box {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 16px;
  text-align: center;
}

.portrait-monogram {
  width: 78px;
  height: 78px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 700;
}

.portrait-meta {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.note-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.note-item {
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.note-item:first-child {
  border-top: none;
  padding-top: 0;
}

.note-meta {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 4px;
}

.pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--surface-alt);
  color: var(--ink);
  border: 1px solid var(--border);
  margin-bottom: 10px;
}

.small-note {
  font-size: 13px;
  color: var(--muted);
}

.legal-doc section + section {
  margin-top: 24px;
}

footer {
  border-top: 1px solid var(--border);
  margin-top: 44px;
  padding-top: 24px;
  font-size: 13px;
  color: var(--muted);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 640px) {
  .hero,
  .section-block,
  .card {
    padding: 22px 18px;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }
}
