@font-face {
  font-family: Birmingham;
  src: url(../font/Birmingham/Birmingham.ttf);
}

:root{
  --bg: #fffaf3;
  --surface: #ffffff;
  --ink: #1b1b1e;
  --muted: #5a5a62;
  --accent: #d36135; /* warm sienna */
  --accent-2: #2a9d8f; /* teal */
  --border: #e7e3da;
  --shadow: 0 8px 24px rgba(0,0,0,.08);
  --radius: 12px;
  --container: 1100px;
  --space-1: .5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
}

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1 { font-size: clamp(2rem, 3vw + 1rem, 3rem); }
h2 { font-size: clamp(1.5rem, 2vw + .5rem, 2rem); margin-bottom: var(--space-3); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 var(--space-2); color: var(--muted); }
.lead { font-size: 1.125rem; color: var(--ink); }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: min(100%, var(--container)); margin-inline: auto; padding: 0 var(--space-2); }

/* Skip link */
.skip-link {
  position: absolute; left: -999px; top: -999px;
  background: var(--ink); color: #fff; padding: .5rem .75rem; z-index: 1000;
}
.skip-link:focus { left: .5rem; top: .5rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand { font-weight: 700; letter-spacing: .3px; color: var(--ink); }


/* Header: brand + nav + summary button */
.site-header,
.site-header .brand,
.site-header .site-nav nav a,
.site-header .site-nav > summary {
  font-family: "Birmingham", Georgia, "Times New Roman", serif;
}


/* Accessible nav via <details> */
.site-nav { position: relative; }
.site-nav > summary {
  list-style: none; width: 36px; height: 36px; border-radius: 8px;
  display: grid; place-items: center; cursor: pointer; border: 1px solid var(--border);
}
.site-nav > summary::marker { content: ""; }
.site-nav > summary::before,
.site-nav > summary::after {
  content: ""; width: 18px; height: 2px; background: var(--ink); display: block;
  box-shadow: 0 -6px 0 0 var(--ink), 0 6px 0 0 var(--ink);
}
.site-nav[open] > summary::before { transform: rotate(45deg); box-shadow: none; }
.site-nav[open] > summary::after { transform: rotate(-45deg); box-shadow: none; margin-top: -2px; }

.site-nav nav { position: absolute; right: 0; top: calc(100% + .5rem); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.site-nav nav ul { margin: 0; padding: .25rem; list-style: none; min-width: 220px; }
.site-nav nav li a { display: block; padding: .6rem .8rem; border-radius: 8px; color: var(--ink); }
.site-nav nav li a:hover { background: #f6f4ee; text-decoration: none; }

@media (min-width: 860px){
  .site-nav > summary { display: none; }
  .site-nav nav { position: static; border: none; border-radius: 0; box-shadow: none; background: transparent; }
  .site-nav nav ul { display: flex; gap: .75rem; min-width: unset; padding: 0; }
  .site-nav nav li a { padding: .4rem .6rem; border-radius: 6px; }
}

/* Hero */
.hero { padding: var(--space-5) 0; }
.hero-grid { display: grid; gap: var(--space-4); align-items: center; grid-template-columns: 1fr; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-weight: 600; font-size: .8rem; color: var(--accent); }
.hero-content .cta-row { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: var(--space-2); }
.hero-cover { margin: 0; }
.hero-cover img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }

@media (min-width: 900px){
  .hero-grid { grid-template-columns: 1.1fr .9fr; }
}

/* Buttons */
.btn {
  display: inline-block; padding: .7rem 1rem; border-radius: 999px; font-weight: 600;
  border: 1px solid transparent; text-decoration: none; line-height: 1;
}
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { filter: brightness(0.95); text-decoration: none; }
.btn.ghost { background: transparent; border-color: var(--accent); color: var(--accent); }
.btn.ghost:hover { background: rgba(211,97,53,.08); text-decoration: none; }

/* Inline follow */
.follow-inline { display: flex; gap: .75rem; padding: 0; list-style: none; margin: var(--space-3) 0 0; }
.follow-inline a { color: var(--muted); font-weight: 600; }
.follow-inline a:hover { color: var(--accent); text-decoration: none; }

/* Sections */
.section { padding: var(--space-5) 0; }
.section.alt { background: #fff; }

/* Book cards */
.book-card {
  display: grid; gap: var(--space-3);
  grid-template-columns: 1fr; padding: var(--space-3);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow);
  margin-bottom: var(--space-3);
}
.book-card figure { margin: 0; }
.book-card img { width: 100%; height: auto; border-radius: 10px; }
.book-card .video iframe { width: 100%; aspect-ratio: 16/9; border-radius: 10px; }

.book-card .book-content { display: flex; flex-direction: column; justify-content: center; }
.book-card .actions { margin-top: var(--space-2); }

@media (min-width: 780px){
  .book-card { grid-template-columns: 300px 1fr; }
}

/* Quotes */
.quotes {
  display: grid; gap: var(--space-3);
  grid-template-columns: 1fr; margin-top: var(--space-2);
}
blockquote {
  margin: 0; padding: var(--space-3);
  background: var(--surface); border-left: 4px solid var(--accent);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
blockquote p { color: var(--ink); margin-bottom: .5rem; }
blockquote footer { color: var(--muted); font-size: .95rem; }
@media (min-width: 900px){
  .quotes { grid-template-columns: repeat(3, 1fr); }
}

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: #fff; margin-top: var(--space-5); }
.footer-grid {
  display: grid; gap: var(--space-3);
  grid-template-columns: 1fr; padding: var(--space-4) 0;
}
.site-footer nav ul,
.site-footer .follow-inline { padding: 0; list-style: none; }
.site-footer nav ul { display: grid; gap: .4rem; }
.legal { border-top: 1px solid var(--border); padding: var(--space-2) 0 var(--space-3); color: var(--muted); }
@media (min-width: 860px){
  .footer-grid { grid-template-columns: 1.2fr .8fr .8fr; align-items: start; }
}

/* Utilities */
.visually-hidden { position: absolute !important; height: 1px; width: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
img { max-width: 100%; display: block; }

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Page hero (title bar) */
.page-hero {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: var(--space-4) 0 var(--space-3);
}
.page-hero h1 { margin: 0; }

/* Generic content grid */
.content-grid {
  display: grid; gap: var(--space-3);
  grid-template-columns: 1fr;
}
@media (min-width: 900px){
  .content-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}
.portrait {
  border-radius: var(--radius); box-shadow: var(--shadow);
  width: 100%; height: auto;
}

/* Honors/Awards grid */
.honors {
  display: grid; gap: var(--space-2);
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin-top: var(--space-2);
}
.honors a, .honors img {
  display: block;
}
.honors img {
  width: 100%; height: auto; border-radius: 8px; box-shadow: var(--shadow);
}

/* Gallery grid (Events) */
.gallery-grid {
  display: grid; gap: var(--space-2);
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.gallery-grid img {
  width: 100%; height: auto; border-radius: 8px; box-shadow: var(--shadow);
}