:root {
  --bg: #f4efe6;
  --ink: #1c1915;
  --muted: #5c5348;
  --gold: #7a4b2a;
  --accent: #7a4b2a;
  --accent-deep: #5e381e;
  --line: rgba(28, 25, 21, 0.14);
  --card: #fffdf8;
  --max: 1120px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  font-family: "Heebo", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
.hero > *, .videos > li, .topics > li, .contact-grid > *, .article-card { min-width: 0; }
a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
a:hover { color: var(--ink); }
h1, h2, h3 { line-height: 1.2; font-weight: 700; margin: 0 0 0.6rem; }
p { margin: 0 0 1rem; }
.skip {
  position: absolute;
  right: 12px;
  top: -40px;
  background: var(--gold);
  color: #1a1024;
  padding: 8px 12px;
  z-index: 10;
}
.skip:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 14px 6vw;
  background: rgba(244, 239, 230, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}
.brand img { width: 44px; height: 44px; }
.site-header nav, .site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-header nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.site-header nav a:hover { color: var(--gold); }

.wrap { width: min(var(--max), calc(100% - 10vw)); margin-inline: auto; }
.hero, .band { padding: 72px 0; }
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.eyebrow, .kicker {
  margin: 0 0 10px;
  color: var(--gold);
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  font-weight: 700;
}
.latin {
  margin: 0 0 16px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: var(--accent);
}
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn, button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #fffaf3;
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn:hover, button:hover { background: var(--accent-deep); color: #fffaf3; }
.btn-ghost:hover { background: rgba(28, 25, 21, 0.06); color: var(--ink); }
.portrait {
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(28, 25, 21, 0.12);
  object-fit: cover;
  aspect-ratio: 1;
}
.band { border-top: 1px solid var(--line); }
.band h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); max-width: 18ch; }
.bio { font-size: 1.2rem; max-width: 46rem; }
.topics, .videos, .article-list, .contact-grid {
  display: grid;
  gap: 18px;
}
.topics { grid-template-columns: repeat(3, 1fr); list-style: none; padding: 0; margin: 28px 0 0; }
.topics li, .article-card, .form, .meeting, .articles-empty {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}
.topics span {
  display: block;
  color: var(--gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.8rem;
}
.videos { grid-template-columns: repeat(3, 1fr); margin: 28px 0 0; padding: 0; list-style: none; }
.videos a {
  display: block;
  color: inherit;
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  height: 100%;
}
.videos img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.videos span, .videos time { display: block; }
.videos span { padding: 14px 14px 16px; font-weight: 700; }
.videos time { color: var(--gold); font-size: 0.85rem; font-weight: 500; margin-bottom: 6px; }
.videos a:hover { border-color: var(--gold); }
.article-list { margin-top: 28px; grid-template-columns: 1fr; }
@media (min-width: 860px) {
  .article-list { grid-template-columns: 1fr 1fr; }
}
.prose h2 { font-size: 1.55rem; margin: 2.2rem 0 0.7rem; }
.prose h3 { font-size: 1.15rem; margin: 1.4rem 0 0.35rem; }
.article-card h3 { font-size: 1.35rem; }
.article-card h3 a { color: inherit; text-decoration: none; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 12px; list-style: none; }
.tags li { border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; color: var(--gold); font-size: 0.85rem; }
.text-link { font-weight: 700; }
.contact-grid { grid-template-columns: 0.9fr 1.1fr; align-items: start; margin-top: 28px; }
fieldset { border: 0; margin: 0 0 14px; padding: 0; }
legend, label { display: block; font-weight: 700; margin-bottom: 6px; }
.field { margin-bottom: 14px; }
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus, a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice {
  display: flex;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 500;
}
.choice input { width: auto; }
.form button { width: 100%; margin-top: 6px; }
.form button:disabled { opacity: 0.6; cursor: wait; }
.note, .byline { color: var(--muted); }
#details-ready { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
#details-summary { white-space: pre-wrap; color: var(--muted); }
.calendly-inline-widget, #calendly-slot {
  min-width: 280px;
  height: 740px;
  background: #fffdf8;
  border-radius: 12px;
  overflow: hidden;
}
.article-doc { padding-top: 48px; padding-bottom: 64px; max-width: 760px; }
.prose p { font-size: 1.12rem; }
.site-footer {
  padding: 28px 6vw 40px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
}
.site-footer nav a { color: var(--ink); }

@media (max-width: 860px) {
  h1 { font-size: 2.05rem; }
  .hero, .topics, .videos, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 28px; }
  .wrap { width: min(var(--max), calc(100% - 32px)); }
  .portrait { width: 100%; max-width: 420px; }
  .site-header { align-items: flex-start; flex-direction: column; padding-inline: 16px; }
  .site-header nav { gap: 8px 14px; }
  .actions { flex-direction: column; align-items: stretch; }
  .btn, button { white-space: normal; max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
