:root {
  --ink: #1b2420;
  --muted: #445248;
  --forest: #1d4534;
  --forest-deep: #122c22;
  --leaf: #2d6a4e;
  --cream: #f3eee4;
  --cream-2: #e7dfd1;
  --paper: #fffdf8;
  --clay: #c25a40;
  --clay-deep: #8f3d2b;
  --honey: #c8883a;
  --sage: #e4eee6;
  --line: #ddd4c5;
  --shadow: 0 20px 50px rgba(27, 36, 32, 0.1);
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --wrap: 1120px;
  --header: 76px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
}

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

a { color: var(--forest); }

a:hover { color: var(--clay-deep); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 0.6rem;
}

h1 { font-size: clamp(2.5rem, 5.4vw, 4.7rem); }
h2 { font-size: clamp(1.9rem, 3vw, 3rem); }
h3 { font-size: 1.45rem; }

p { margin: 0 0 1rem; }

.wrap {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: white;
  padding: 0.6rem 0.9rem;
  z-index: 50;
  border-radius: 8px;
}

.skip:focus { top: 0.6rem; color: white; }

.topbar {
  background: var(--forest-deep);
  color: #efe7d8;
  font-size: 0.92rem;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  flex-wrap: wrap;
}

.topbar a { color: #fff8ea; text-decoration: none; }
.topbar p { margin: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(243, 238, 228, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}

.brand:hover { color: var(--ink); }

.mark {
  width: 46px;
  height: 46px;
  flex: none;
  color: var(--forest);
}

.brand-name {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  line-height: 1;
}

.brand-sub {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.98rem;
}

.site-nav a[aria-current="page"] { color: var(--clay-deep); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--clay-deep);
  color: white !important;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1.15rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.1;
}

.btn:hover { background: #6e2c1e; color: white !important; }

.btn.secondary {
  background: transparent;
  color: var(--forest) !important;
  box-shadow: inset 0 0 0 1.5px var(--forest);
}

.btn.secondary:hover { background: var(--forest); color: white !important; }

.btn.small { padding: 0.55rem 0.95rem; }

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: end;
  padding: 2.5rem 0 3.2rem;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--clay-deep);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 0.8rem;
}

.kicker::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  background: var(--clay);
}

.lede {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 38rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.4rem 0 1.2rem;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.facts li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.92rem;
}

.hero-photo {
  position: relative;
  margin: 0;
}

.hero-photo img {
  width: 100%;
  height: min(68vh, 560px);
  object-fit: cover;
  border-radius: 28px 28px 80px 28px;
  box-shadow: var(--shadow);
}

.hero-photo figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  max-width: calc(100% - 2rem);
  background: rgba(255, 253, 248, 0.92);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-size: 0.88rem;
}

.band {
  background: var(--forest);
  color: #f6f1e6;
}

.band-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.3rem 0;
}

.band h2, .band h3, .band p { color: inherit; }
.band p { margin: 0; color: #efe6d6; }
.band strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 560;
  margin-bottom: 0.15rem;
}

.section { padding: 4.2rem 0; }

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 1.6rem;
}

.section-head p { max-width: 36rem; color: var(--muted); margin: 0; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.2rem;
  align-items: center;
}

.split img, .frame {
  width: 100%;
  height: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: 22px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.cards.pair { grid-template-columns: 1fr 1fr; }

.card, .panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.25rem 1.3rem 1.35rem;
}

.card h3 { margin-top: 0.2rem; }

.card p:last-child, .panel p:last-child { margin-bottom: 0; }

.card ul, .panel ul {
  margin: 0.2rem 0 1rem;
  padding-left: 1.15rem;
}

.num {
  font-family: var(--serif);
  color: var(--clay-deep);
  font-size: 1.3rem;
}

.strands {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.strand {
  background: var(--sage);
  border-radius: 16px;
  padding: 1rem;
  min-height: 140px;
}

.strand h3 { font-size: 1.15rem; }

.team {
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr;
  gap: 1rem;
}

.person img {
  width: 148px;
  height: 180px;
  object-fit: cover;
  object-position: center 15%;
  border-radius: 16px;
  margin-bottom: 0.9rem;
  background: var(--cream-2);
}

.role {
  color: var(--clay-deep);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.2rem;
}

.quote {
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.scholarship {
  background:
    radial-gradient(circle at 90% 10%, rgba(200, 136, 58, 0.25), transparent 30%),
    var(--forest-deep);
  color: #f7f2e8;
  border-radius: 28px;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1.5rem;
  align-items: center;
}

.scholarship h2, .scholarship p { color: inherit; }
.scholarship a { color: #ffe1a8; }

.page-hero { padding: 2.6rem 0 0.4rem; }
.page-hero p { max-width: 42rem; color: var(--muted); font-size: 1.15rem; }

.prose { max-width: 44rem; }
.prose h2 { margin-top: 2rem; }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

caption {
  caption-side: bottom;
  text-align: left;
  padding: 0.8rem 1rem 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

th, td {
  text-align: left;
  vertical-align: top;
  padding: 0.8rem 0.9rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

th {
  background: var(--forest);
  color: #f7f2e8;
  font-weight: 600;
}

td:first-child,
th:first-child {
  position: sticky;
  left: 0;
  background: #f7f3ea;
  font-weight: 600;
  color: var(--forest);
  min-width: 7.2rem;
}

thead th:first-child {
  background: var(--forest-deep);
  color: white;
  z-index: 1;
}

tbody tr:last-child td { border-bottom: 0; }

.note {
  background: var(--sage);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  margin: 0 0 1rem;
}

form {
  display: grid;
  gap: 1rem;
}

fieldset {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  margin: 0;
  padding: 1rem 1rem 1.1rem;
}

legend {
  font-family: var(--serif);
  font-size: 1.25rem;
  padding: 0 0.35rem;
}

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

label, .check {
  display: grid;
  gap: 0.3rem;
  font-size: 0.95rem;
  font-weight: 560;
}

input, textarea, select {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cfc5b4;
  border-radius: 12px;
  padding: 0.7rem 0.75rem;
  font-weight: 400;
}

textarea { min-height: 7rem; resize: vertical; }

input:focus, textarea:focus, select:focus, button:focus-visible, a:focus-visible {
  outline: 3px solid var(--honey);
  outline-offset: 2px;
}

.checks { display: grid; gap: 0.45rem; font-weight: 500; }
.check { grid-template-columns: auto 1fr; align-items: center; font-weight: 500; }
.check input { width: 1.1rem; height: 1.1rem; }

.radios { display: flex; gap: 1rem; flex-wrap: wrap; }
.help { color: var(--muted); font-weight: 400; font-size: 0.92rem; }

.errors {
  background: #fde8e2;
  border: 1px solid #e3b2a6;
  border-radius: 14px;
  padding: 0.8rem 1rem;
}

.errors ul { margin: 0.3rem 0 0; }

.done {
  background: var(--sage);
  border-radius: 18px;
  padding: 1.1rem 1.15rem;
}

.done pre {
  white-space: pre-wrap;
  font-family: var(--sans);
  background: var(--paper);
  border-radius: 12px;
  padding: 0.9rem;
  max-height: 320px;
  overflow: auto;
}

.row-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }

.save-status { color: var(--muted); font-size: 0.92rem; min-height: 1.2rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; margin: 1rem 0 1.6rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 1.2rem;
  align-items: start;
}

.contact-card a { display: block; margin-bottom: 0.35rem; }

.site-footer {
  background: var(--forest-deep);
  color: #efe6d8;
  padding: 2.4rem 0 1.4rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.9fr;
  gap: 1.5rem;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 1.45rem;
  margin-bottom: 0.4rem;
}

.footer-label {
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-bottom: 0.45rem;
}

.site-footer a {
  color: #fff8ea;
  text-decoration: none;
  display: block;
  margin: 0.2rem 0;
}

.site-footer a:hover { color: #ffd59a; }

.footer-legal {
  border-top: 1px solid rgba(255, 248, 234, 0.16);
  margin-top: 1.4rem;
  padding-top: 1rem;
  font-size: 0.9rem;
  color: #ddd2c2;
}

.footer-legal a { display: inline; }

.footer-legal .footer-edit { margin: 0.55rem 0 0; }

.site-footer a.edit-site {
  display: inline;
  opacity: 0.55;
  font-size: 0.82rem;
}

.site-footer a.edit-site:hover { opacity: 0.9; }

.narrow { max-width: 760px; }

@media (max-width: 980px) {
  .hero, .split, .team, .scholarship, .contact-grid, .band-grid, .cards, .strands, .steps, .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .team, .strands, .band-grid { grid-template-columns: 1fr 1fr; }
  .hero { align-items: start; }
  .hero-photo img { height: 360px; border-radius: 22px; }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.6rem 1rem 1rem;
    gap: 0.2rem;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.65rem 0.2rem; }
  .site-nav .btn { margin-top: 0.4rem; }
  .hero, .split, .team, .scholarship, .contact-grid, .band-grid, .cards, .cards.pair, .strands, .steps, .footer-grid, .grid-2, .section-head {
    grid-template-columns: 1fr;
  }
  .brand-sub { display: none; }
  .section { padding: 3rem 0; }
  h1 { font-size: 2.35rem; }
}

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

@media print {
  .topbar, .site-header, .site-footer, .no-print, .hero-actions, .nav-toggle { display: none !important; }
  body { background: white; }
  .card, .panel, fieldset, .done { break-inside: avoid; }
  a { color: black; text-decoration: none; }
  .table-wrap { overflow: visible; box-shadow: none; }
  table { min-width: 0; font-size: 11px; }
  td:first-child, th:first-child { position: static; }
}
