@import url("https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500&display=swap");

:root {
  --background: #f1ede4;
  --foreground: #1a2117;
  --card: #e8e2d6;
  --muted: #d9d2c4;
  --muted-foreground: #5e6358;
  --primary: #2f4a32;
  --primary-foreground: #f3eee4;
  --accent: #8b3a2f;
  --border: #d4ccbc;
  --ink: #1a2117;
  --cream: #f1ede4;
  --forest: #2f4a32;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow:
    0 0 0 1px rgba(26, 33, 23, 0.08),
    0 1px 2px -1px rgba(26, 33, 23, 0.06),
    0 2px 4px 0 rgba(26, 33, 23, 0.04);
  --shadow-hover:
    0 0 0 1px rgba(26, 33, 23, 0.12),
    0 1px 2px -1px rgba(26, 33, 23, 0.08),
    0 2px 8px 0 rgba(26, 33, 23, 0.06);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-sans: "Figtree", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Fraunces", ui-serif, Georgia, serif;
}

* { box-sizing: border-box; border-color: var(--border); }
html { -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  min-height: 100%;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  line-height: 1.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cg fill='none' stroke='%232f4a32' stroke-opacity='0.06' stroke-width='1'%3E%3Cpath d='M0 40c20 8 30-8 50 0s30 12 50 0 30-12 50 0 20 8 30 0'/%3E%3Cpath d='M0 90c20 10 35-6 55 2s32 14 52 2 28-10 48 2 15 8 25 0'/%3E%3Cpath d='M0 140c18 6 32-10 50-2s34 12 52 0 30-8 50 2 18 6 28-2'/%3E%3C/g%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, [role="button"] { cursor: pointer; font-family: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-wrap: balance;
  margin: 0;
}
p { text-wrap: pretty; }
::selection { background: color-mix(in oklab, var(--primary) 22%, transparent); }

.photo { outline: 1px solid rgba(26, 33, 23, 0.12); outline-offset: -1px; }

.wrap { width: min(72rem, calc(100% - 2rem)); margin-inline: auto; }
.section { padding: 4rem 1rem; }
@media (min-width: 640px) { .section { padding: 5rem 1.5rem; } }

.eyebrow {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0 1.25rem;
  border: 0;
  border-radius: 0.375rem;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}
.btn:hover { background: color-mix(in srgb, var(--primary) 90%, black); }
.btn:active { transform: scale(0.96); }
.btn-lg { min-height: 3rem; padding: 0 1.5rem; font-size: 1rem; }
.btn-sm { min-height: 2.5rem; padding: 0 0.9rem; }
.btn-cream { background: var(--cream); color: var(--ink); }
.btn-cream:hover { background: #e7e0d4; }
.btn-outline {
  background: transparent;
  color: var(--foreground);
  box-shadow: var(--shadow);
}
.btn-outline:hover { background: var(--card); }
.btn-ghost-on-green {
  background: transparent;
  color: var(--primary-foreground);
  box-shadow: 0 0 0 1px rgba(243, 238, 228, 0.28);
}
.btn-ghost-on-green:hover { background: rgba(241, 237, 228, 0.1); }
.btn-hero-outline {
  background: rgba(26, 33, 23, 0.2);
  color: var(--cream);
  box-shadow: 0 0 0 1px rgba(241, 237, 228, 0.25);
}
.btn-hero-outline:hover { background: rgba(241, 237, 228, 0.1); color: var(--cream); }
.btn-icon {
  width: 2.75rem;
  padding: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  color: var(--foreground);
  background: color-mix(in srgb, var(--background) 95%, transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  transition: background-color 200ms, color 200ms, box-shadow 200ms;
}
.site-header.is-overlay {
  background: transparent;
  color: var(--cream);
  box-shadow: none;
  backdrop-filter: none;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 4.25rem;
  width: min(72rem, calc(100% - 2rem));
  margin-inline: auto;
}
.brand { display: flex; align-items: center; gap: 0.65rem; color: currentColor; }
.brand-mark { width: 2.15rem; height: 2.15rem; }
.brand-name { display: block; font-family: var(--font-display); font-size: 1.25rem; letter-spacing: -0.03em; line-height: 1; }
.brand-place {
  display: block;
  margin-top: 0.2rem;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.site-header.is-overlay .brand-place { color: rgba(241, 237, 228, 0.75); }

.desk-nav { display: none; align-items: center; gap: 0.15rem; }
.desk-nav a {
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
}
.desk-nav a:hover, .desk-nav a.is-active { color: var(--foreground); }
.site-header.is-overlay .desk-nav a { color: rgba(241, 237, 228, 0.7); }
.site-header.is-overlay .desk-nav a:hover,
.site-header.is-overlay .desk-nav a.is-active { color: var(--cream); }
.desk-nav .btn { margin-left: 0.75rem; }
.menu-btn { display: inline-flex; }
@media (min-width: 1024px) {
  .desk-nav { display: flex; }
  .menu-btn { display: none; }
}

.page-pad { padding-top: 4.25rem; }
.page-home .page-pad { padding-top: 0; }

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100svh;
  overflow: hidden;
}
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-dim { position: absolute; inset: 0; background: rgba(26, 33, 23, 0.45); }
.hero-grad {
  position: absolute; inset: 0;
  background: linear-gradient(to top, #1a2117, rgba(26, 33, 23, 0.35), rgba(26, 33, 23, 0.2));
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: min(72rem, calc(100% - 2rem));
  margin-inline: auto;
  padding: 7rem 0 4rem;
  max-width: 42rem;
  color: var(--cream);
}
.hero-kicker {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(241, 237, 228, 0.7);
}
.hero h1 { margin-top: 1rem; font-size: clamp(3rem, 8vw, 4.5rem); line-height: 0.95; }
.hero-lead { margin-top: 1.25rem; font-size: 1.15rem; line-height: 1.6; color: rgba(241, 237, 228, 0.85); max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

.grid-3 { display: grid; gap: 1rem; }
.grid-2 { display: grid; gap: 1rem; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.card:hover { box-shadow: var(--shadow-hover); }
.stat-icon { width: 1.25rem; height: 1.25rem; color: var(--primary); }
.stat-label {
  margin: 1rem 0 0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.stat-value { margin: 0.25rem 0 0; font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -0.03em; }
.stat-detail { margin: 0.25rem 0 0; font-size: 0.875rem; color: var(--muted-foreground); }

.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) {
  .split-12 { grid-template-columns: 1fr 1fr; }
  .split-7-5 { grid-template-columns: 1.4fr 1fr; }
}
.round-img { overflow: hidden; border-radius: 1rem; }
.round-img img { width: 100%; height: 100%; object-fit: cover; }
.aspect-4-3 { aspect-ratio: 4 / 3; }
.aspect-3-2 { aspect-ratio: 3 / 2; }
.aspect-16-10 { aspect-ratio: 16 / 10; }

.prose { max-width: 65ch; font-size: 1rem; line-height: 1.7; color: rgba(26, 33, 23, 0.8); }
.muted { color: var(--muted-foreground); }
.row-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; }

.event-top { display: flex; justify-content: space-between; gap: 0.75rem; align-items: flex-start; }
.event-date { margin: 0; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-foreground); }
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  background: var(--muted);
  color: var(--muted-foreground);
}
.badge-camp { background: var(--primary); color: var(--primary-foreground); }
.event-card h3 { margin-top: 0.75rem; font-size: 1.25rem; }
.event-card .where { margin: 0.25rem 0 0; font-size: 0.875rem; color: var(--muted-foreground); }
.event-card .summary { margin: 0.75rem 0 0; font-size: 0.875rem; line-height: 1.6; color: rgba(26, 33, 23, 0.8); }

.ink-band {
  display: grid;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--ink);
  color: var(--cream);
}
@media (min-width: 1024px) { .ink-band { grid-template-columns: 1fr 1fr; } }
.ink-band img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
@media (min-width: 1024px) { .ink-band img { aspect-ratio: auto; min-height: 100%; } }
.ink-copy { display: flex; flex-direction: column; justify-content: center; padding: 2rem; }
@media (min-width: 640px) { .ink-copy { padding: 3rem; } }
.ink-copy .eyebrow { color: rgba(241, 237, 228, 0.6); }
.ink-copy h2 { margin-top: 0.75rem; font-size: 2.25rem; color: var(--cream); }
.ink-copy p { margin-top: 1rem; color: rgba(241, 237, 228, 0.75); max-width: 65ch; }
.ink-copy .btn { align-self: flex-start; margin-top: 2rem; }

.oath { margin: 1rem 0 0; max-width: 48rem; font-family: var(--font-display); font-size: clamp(1.5rem, 4vw, 2.25rem); line-height: 1.25; letter-spacing: -0.03em; }
.oath span { display: block; }
.law-grid {
  margin-top: 3.5rem;
  display: grid;
  gap: 1px;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--border);
}
@media (min-width: 640px) { .law-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .law-grid { grid-template-columns: repeat(4, 1fr); } }
.law-grid div { background: var(--background); padding: 1.25rem; }
.law-grid p:first-child { margin: 0; font-family: var(--font-display); font-size: 1.25rem; }
.law-grid p:last-child { margin: 0.5rem 0 0; font-size: 0.875rem; line-height: 1.6; color: var(--muted-foreground); }

.cta {
  border-radius: 1rem;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 3rem 1.5rem;
}
@media (min-width: 640px) { .cta { padding: 4rem 3rem; } }
.cta .kicker { margin: 0; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(243, 238, 228, 0.7); }
.cta h2 { margin-top: 0.75rem; max-width: 36rem; font-size: clamp(2rem, 4vw, 3rem); color: var(--primary-foreground); }
.cta p { margin-top: 1rem; max-width: 36rem; color: rgba(243, 238, 228, 0.8); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

.page-title { margin-top: 0.75rem; max-width: 48rem; font-size: clamp(2.25rem, 6vw, 3.75rem); }
.lead { margin-top: 1.25rem; max-width: 42rem; font-size: 1.125rem; line-height: 1.7; color: rgba(26, 33, 23, 0.8); }

.pair { display: grid; overflow: hidden; border-radius: 1rem; }
@media (min-width: 1024px) { .pair { grid-template-columns: 1fr 1fr; } }
.pair img { width: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
@media (min-width: 1024px) { .pair img { height: 100%; aspect-ratio: auto; } }

.facts dt { color: var(--muted-foreground); }
.facts > div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.75rem;
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
}
.facts > div:first-child { border: 0; margin: 0; padding: 0; }
.facts dd { margin: 0; font-weight: 500; }

.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.filters .btn[aria-pressed="true"] { background: var(--primary); color: var(--primary-foreground); box-shadow: none; }
.hidden { display: none !important; }

.map-card { display: grid; overflow: hidden; border-radius: 1rem; background: var(--card); box-shadow: var(--shadow); }
@media (min-width: 1024px) { .map-card { grid-template-columns: 1fr 1fr; } }
.map-card .copy { padding: 2rem; }
.map-frame { min-height: 18rem; background: var(--muted); }
.map-frame iframe { width: 100%; height: 100%; min-height: 18rem; border: 0; }

.program-cards { display: grid; gap: 1rem; }
@media (min-width: 1024px) { .program-cards { grid-template-columns: repeat(3, 1fr); } }
.program-cards article { overflow: hidden; border-radius: 1rem; background: var(--card); box-shadow: var(--shadow); }
.program-cards img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.program-cards .pad { padding: 1.5rem; }
.ranks { display: grid; gap: 0.75rem; margin: 2.5rem 0 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .ranks { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .ranks { grid-template-columns: repeat(4, 1fr); } }

.steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 1.5rem; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; }
.step-n { font-family: var(--font-display); font-size: 1.5rem; color: var(--primary); }

.form { display: grid; gap: 1.25rem; }
.form-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
label { display: block; margin-bottom: 0.5rem; font-size: 0.875rem; font-weight: 500; }
input, textarea {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.65rem 0.75rem;
  border: 0;
  border-radius: 0.375rem;
  background: var(--cream);
  color: var(--foreground);
  box-shadow: var(--shadow);
  font: inherit;
}
textarea { min-height: 8rem; resize: vertical; }
input:focus, textarea:focus { outline: 2px solid var(--primary); }
.success-icon {
  display: flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; border-radius: 999px;
  background: var(--primary); color: var(--primary-foreground);
}

.faq { display: grid; gap: 1px; overflow: hidden; border-radius: 1rem; background: var(--border); }
@media (min-width: 768px) { .faq { grid-template-columns: 1fr 1fr; } }
.faq article { background: var(--background); padding: 1.5rem; }
.faq h3 { font-size: 1.25rem; }
.faq p { margin: 0.5rem 0 0; font-size: 0.875rem; line-height: 1.6; color: var(--muted-foreground); }

.site-footer { background: var(--ink); color: var(--cream); border-top: 1px solid var(--border); }
.footer-grid {
  width: min(72rem, calc(100% - 2rem));
  margin-inline: auto;
  display: grid;
  gap: 2.5rem;
  padding: 3.5rem 0;
}
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 5fr 3fr 4fr; } }
.footer-kicker { margin: 0; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(241, 237, 228, 0.5); }
.footer-grid ul { margin: 0.75rem 0 0; padding: 0; list-style: none; }
.footer-grid li { margin: 0.4rem 0; }
.footer-grid a:hover { color: var(--cream); }
.legal {
  border-top: 1px solid rgba(241, 237, 228, 0.1);
  font-size: 0.75rem;
  color: rgba(241, 237, 228, 0.45);
}
.legal p { width: min(72rem, calc(100% - 2rem)); margin: 0 auto; padding: 1.25rem 0; }

.drawer {
  position: fixed; inset: 0; z-index: 50; pointer-events: none;
}
.drawer.is-open { pointer-events: auto; }
.drawer-backdrop {
  position: absolute; inset: 0;
  background: rgba(26, 33, 23, 0.4);
  opacity: 0;
  transition: opacity 200ms var(--ease);
}
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(100%, 22rem);
  display: flex; flex-direction: column;
  padding: 1.5rem;
  background: var(--background);
  color: var(--foreground);
  box-shadow: 0 12px 32px -16px rgba(26, 33, 23, 0.28);
  transform: translateX(100%);
  transition: transform 200ms var(--ease);
}
.drawer.is-open .drawer-panel { transform: translateX(0); }
.drawer-nav { display: flex; flex-direction: column; gap: 0.25rem; margin-top: 2rem; }
.drawer-nav a {
  display: flex; align-items: center; min-height: 2.75rem;
  padding: 0 0.75rem; border-radius: 0.375rem; font-weight: 500;
}
.drawer-nav a:hover { background: var(--card); }
.drawer-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 2.75rem; height: 2.75rem;
  border: 0; border-radius: 0.375rem;
  background: transparent; color: var(--muted-foreground);
}
.drawer-close:hover { background: var(--card); color: var(--foreground); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
