:root {
  --maroon: #790909;
  --maroon-dark: #4a0505;
  --ground: #f5f4f0;
  --cream: #fdf6eb;
  --ink: #141414;
  --body: #45433f;
  --muted: #6a665e;
  --rule: #d9d6ce;
  --rule-strong: #c9c4b8;
  --field: #b9b4a8;
  --placeholder: #e6e3db;

  --serif: "DM Serif Display", Georgia, serif;
  --sans: "Libre Franklin", "Helvetica Neue", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; }
h2 { font-size: clamp(34px, 4vw, 44px); line-height: 1.1; }
h3 { font-size: 26px; line-height: 1.2; }
p { margin: 0; }

:focus-visible { outline: 2px solid var(--maroon); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 10;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--ground);
}
.skip-link:focus { top: 16px; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

.section { padding-top: 96px; padding-bottom: 96px; }

.band { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.band > .container { padding-top: 96px; padding-bottom: 96px; }
.band--white { background: #fff; }
.band--cream { background: var(--cream); }

.lede { font-size: 18px; line-height: 1.65; color: var(--body); }
.muted { font-size: 15px; line-height: 1.6; color: var(--body); }

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--maroon);
}
.eyebrow--muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 26px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--maroon); color: var(--ground); }
.btn--primary:hover { background: var(--maroon-dark); color: var(--ground); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--ground); }
.btn--light { background: var(--cream); color: var(--maroon); }
.btn--light:hover { background: #fff; color: var(--maroon); }
.btn--outline-light { border-color: var(--cream); color: var(--cream); }
.btn--outline-light:hover { background: var(--cream); color: var(--maroon); }
.btn--pill {
  min-height: 44px;
  padding: 0 22px;
  border-color: var(--ground);
  border-radius: 999px;
  color: var(--ground);
  font-size: 14px;
}
.btn--pill:hover { background: var(--ground); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }

.text-link { font-weight: 600; font-size: 15px; }

/* Utility bar */
.utility-bar { background: var(--maroon); color: var(--ground); font-size: 13px; letter-spacing: 0.02em; }
.utility-bar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
}
.utility-bar nav { display: flex; flex-wrap: wrap; gap: 24px; }
.utility-bar a { color: var(--ground); }

/* Hero */
.hero {
  position: relative;
  height: 760px;
  max-height: 100vh;
  min-height: 520px;
  overflow: hidden;
  background: #3a0606;
  color: var(--ground);
}
.hero__video,
.hero__scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__video { object-fit: cover; }
.hero__scrim { background: rgba(121, 9, 9, 0.42); }

.hero__header {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  padding-bottom: 24px;
}
.primary-nav { display: flex; flex-wrap: wrap; gap: 8px 32px; font-size: 15px; font-weight: 500; }
.primary-nav a { color: var(--ground); }

.hero__logo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.hero__logo h1 { width: min(320px, 64vw, 46vh); }
.hero__logo img { width: 100%; height: auto; }

.hero__toggle {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--cream);
  color: var(--maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.hero__toggle .icon-play { display: none; }
.hero__toggle.is-paused .icon-play { display: block; }
.hero__toggle.is-paused .icon-pause { display: none; }

/* Intro */
.intro { background: var(--maroon); color: var(--cream); }
.intro__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 72px;
  align-items: flex-end;
  padding-top: 72px;
  padding-bottom: 72px;
}
.intro__headline {
  flex: 1 1 560px;
  min-width: 0;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.1;
}
.intro .btn-row { margin-top: 0; }

/* Section heads */
.section-head {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 56px;
  align-items: baseline;
  margin-bottom: 48px;
}
.section-head h2 { flex: 1 1 360px; }
.section-head .lede { flex: 1 1 520px; }
.section-head--split { justify-content: space-between; }
.section-head--split h2 { flex: 0 1 auto; }

/* Grids */
.grid { display: grid; gap: 36px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 32px; }

.person h3 { font-size: 22px; margin-bottom: 6px; }
.person__photo { aspect-ratio: 4 / 5; margin-bottom: 18px; }
.person__role { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--maroon); margin-bottom: 6px; }
.person__school { font-size: 14px; color: var(--muted); }

.practice { border-top: 2px solid var(--maroon); padding-top: 22px; }
.practice h3 { margin-bottom: 12px; }
.practice p { font-size: 16px; line-height: 1.6; color: var(--body); }

.placeholder {
  background: var(--placeholder);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #77736a;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project { display: block; color: var(--ink); }
.project:hover { color: var(--ink); text-decoration: none; }
.project:hover h3 { text-decoration: underline; }
.project__image { height: 220px; margin-bottom: 20px; }
.project .eyebrow { margin-bottom: 8px; }
.project h3 { margin-bottom: 10px; }

.project__image--photo { width: 100%; object-fit: cover; background: var(--placeholder); }
.load-status { grid-column: 1 / -1; font-size: 16px; color: var(--muted); }
.project__summary { margin-bottom: 12px; font-size: 15px; line-height: 1.6; color: var(--body); }

/* Call-to-action band */
.cta-band {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 56px;
  align-items: center;
  justify-content: space-between;
}
.cta-band > div { flex: 1 1 520px; min-width: 0; }
.cta-band h2 { margin-bottom: 14px; }

/* Sub-page header and title */
.site-header { background: var(--maroon); color: var(--ground); border-top: 1px solid rgba(253, 246, 235, 0.18); }
.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
}
.site-header__logo { display: block; width: 140px; }
.site-header__logo img { width: 100%; height: auto; }
.primary-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }

.page-hero { background: var(--maroon); color: var(--cream); border-top: 1px solid rgba(253, 246, 235, 0.18); }
.page-hero .container { padding-top: 72px; padding-bottom: 80px; }
.page-hero h1 { font-size: clamp(44px, 6vw, 72px); line-height: 1.02; }
.page-hero__lede { margin-top: 20px; max-width: 640px; font-size: 18px; line-height: 1.65; color: #f1e3d8; }
.eyebrow--light { color: #f1e3d8; margin-bottom: 16px; }

/* Chapters page */
.chapter-card {
  padding: 28px;
  background: #fff;
  border-top: 3px solid var(--maroon);
}
.chapter-card__school { font-size: 28px; line-height: 1.15; margin-bottom: 10px; }
.chapter-card__meta { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.chapter-card__lead { font-size: 15px; color: var(--body); margin-bottom: 8px; }

/* Contact */
.contact { display: flex; flex-wrap: wrap; gap: 56px; }
.contact__info { flex: 1 1 380px; min-width: 0; }
.contact__route { padding: 0 0 28px; margin-bottom: 28px; border-bottom: 1px solid var(--rule); }
.contact__route:last-child { border-bottom: 0; margin-bottom: 0; }
.contact__route h2 { font-size: 26px; margin-bottom: 8px; }
.contact__route p { font-size: 16px; line-height: 1.6; color: var(--body); margin-bottom: 10px; }
.contact__route a { font-weight: 600; }
.contact__social { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.contact__form-title { font-size: 32px; margin-bottom: 4px; }

.contact__form {
  flex: 1 1 520px;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.contact__form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
}
.contact__form .span-all { grid-column: 1 / -1; }
.contact__form input,
.contact__form select,
.contact__form textarea {
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--field);
  border-radius: 0;
  padding: 0 14px;
}
.contact__form input,
.contact__form select { height: 48px; }
.contact__form textarea { padding: 12px 14px; resize: vertical; }
.contact__form [aria-invalid="true"] { border-color: var(--maroon); box-shadow: 0 0 0 1px var(--maroon); }
.contact__form .optional { font-weight: 400; color: var(--muted); }
.contact__form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.contact__form button[disabled] { opacity: 0.6; cursor: progress; }
.form-status { font-size: 15px; line-height: 1.5; }
.form-status--success { color: #1f5f2c; }
.form-status--error { color: var(--maroon); }

/* Footer */
.site-footer { background: var(--ink); color: #cfcbc2; font-size: 14px; }
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 48px;
}
.site-footer__name { font-family: var(--serif); font-size: 24px; color: var(--ground); }

@media (max-width: 640px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .section,
  .band > .container,
  .intro__inner { padding-top: 64px; padding-bottom: 64px; }
  .hero { height: 560px; }
  .primary-nav { gap: 8px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
