:root {
  --ink: #0f1d17;
  --ink-soft: #1a2d24;
  --green: #1f5f3f;
  --green-deep: #0e3a24;
  --green-bright: #2f8f5a;
  --gold: #c8a34a;
  --gold-dark: #7a5f1a;
  --gold-soft: #e4c878;
  --cream: #f5f1e6;
  --paper: #faf7ee;
  --paper-warm: #f0ead8;
  --rule: #d9d1bc;
  --shadow: 0 1px 2px rgba(15, 29, 23, 0.06), 0 8px 24px -8px rgba(15, 29, 23, 0.15);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Outfit", -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle at 25% 15%, rgba(200, 163, 74, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 75% 85%, rgba(31, 95, 63, 0.05) 0%, transparent 40%);
}

a {
  color: var(--green);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--green-bright);
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 238, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}

@supports not ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
  header {
    background: rgba(250, 247, 238, 0.98);
  }
}

.nav-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  cursor: pointer;
}

.kosp-wordmark {
  display: block;
  max-width: 100%;
  height: auto;
}

.kosp-wordmark.on-dark {
  filter: brightness(1.4) saturate(1.1);
}

.brand-lockup .kosp-wordmark {
  height: 44px;
  width: auto;
}

.brand-text-mark {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--green-deep);
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-text-mark em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold-dark);
}

.brand-text-mark small {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  font-style: normal;
  margin-top: 3px;
}

nav ul {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  align-items: center;
}

nav a.nav-link {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.3rem 0;
  cursor: pointer;
}

nav a.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

nav a.nav-link:hover::after,
nav a.nav-link.active::after,
nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

nav a.nav-link.active,
nav a[aria-current="page"] {
  color: var(--green-deep);
  font-weight: 600;
}

.nav-cta {
  padding: 0.6rem 1.2rem;
  background: var(--green-deep);
  color: var(--paper) !important;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.25s ease;
  border: 1px solid var(--green-deep);
}

.nav-cta:hover {
  background: var(--green-bright);
  border-color: var(--green-bright);
  color: var(--paper) !important;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--ink);
  place-items: center;
}

main {
  position: relative;
  z-index: 1;
}

.page {
  display: none;
  animation: fadeIn 0.5s ease;
}

.page.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero {
  position: relative;
  padding: 6rem 0 7rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse at top left, rgba(31, 95, 63, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(200, 163, 74, 0.08) 0%, transparent 50%),
    var(--paper);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.5rem;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.hero h1,
.section-title,
.page-header h1 {
  font-family: "Fraunces", serif;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--green-deep);
}

.hero h1 {
  font-size: clamp(2.8rem, 6.5vw, 5rem);
  line-height: 0.98;
  margin-bottom: 1.5rem;
}

.hero h1 em,
.section-title em,
.page-header h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-dark);
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.55;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  font-family: inherit;
}

.btn-primary {
  background: var(--green-deep);
  color: var(--paper);
  border-color: var(--green-deep);
}

.btn-primary:hover {
  background: var(--green-bright);
  border-color: var(--green-bright);
  color: var(--paper);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -8px rgba(31, 95, 63, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--green-deep);
  border-color: var(--rule);
}

.btn-ghost:hover {
  border-color: var(--green-deep);
  background: var(--paper-warm);
}

.hero-art {
  position: relative;
  aspect-ratio: 1;
  max-width: 440px;
  margin: 0 auto;
}

.kosp-crest {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 28px rgba(14, 58, 36, 0.15));
}

.stats {
  background: var(--green-deep);
  color: var(--paper);
  padding: 3rem 0;
  position: relative;
}

.stats::before,
.stats::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 8px;
  background: repeating-linear-gradient(
    45deg,
    var(--gold) 0,
    var(--gold) 10px,
    var(--green-deep) 10px,
    var(--green-deep) 20px
  );
}

.stats::before {
  top: 0;
}

.stats::after {
  bottom: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-num {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1;
  color: var(--gold-soft);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(245, 241, 230, 0.75);
  margin-top: 0.6rem;
}

section.block {
  padding: 6rem 0;
}

.section-head {
  margin-bottom: 3.5rem;
  max-width: 680px;
}

.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

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

.pillar {
  padding: 2.5rem 2rem;
  background: var(--paper-warm);
  border-radius: 4px;
  border-top: 3px solid var(--gold);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--green-deep);
  color: var(--gold-soft);
  border-radius: 50%;
  margin-bottom: 1.5rem;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 1.4rem;
  font-weight: 600;
}

.pillar h3,
.event-title,
.members-fb-title,
.doc-title,
.footer-col h4 {
  font-family: "Fraunces", serif;
}

.pillar h3 {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.8rem;
  color: var(--green-deep);
}

.pillar p,
.event-desc,
.privacy-block p {
  color: var(--ink-soft);
}

.mission {
  background: var(--cream);
  padding: 5rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.mission-quote {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.3;
  color: var(--green-deep);
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 2rem;
}

.mission-quote::before,
.mission-quote::after {
  font-size: 3rem;
  color: var(--gold);
  font-family: "Fraunces", serif;
  line-height: 0;
  position: relative;
  top: 0.3em;
  opacity: 0.5;
}

.mission-quote::before {
  content: "\" ";
  margin-right: 0.2em;
}

.mission-quote::after {
  content: " \"";
  margin-left: 0.2em;
}

.page-header {
  padding: 2.75rem 0 2.75rem;
  text-align: center;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-warm) 100%);
  overflow: visible;
}

.page-header .container-narrow {
  display: block;
}

.page-header h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin: 0 auto 0.9rem;
  padding-top: 0.1rem;
}

.page-header p {
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.55;
}

.calendar-wrap {
  padding: 4rem 0 6rem;
}

.calendar-frame,
.jotform-wrap {
  position: relative;
  background: #fff;
  border-radius: 4px;
  padding: 1rem;
  border: 1px solid var(--rule);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.calendar-frame iframe {
  width: 100%;
  height: 680px;
  border: 0;
  display: block;
}

.calendar-placeholder,
.jotform-placeholder {
  background: var(--paper-warm);
  border: 2px dashed var(--rule);
  border-radius: 4px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
}

.calendar-placeholder {
  height: 480px;
}

.jotform-placeholder {
  height: 560px;
}

.calendar-placeholder-inner {
  max-width: 480px;
}

.calendar-placeholder h3,
.jotform-placeholder h3,
.merch-coming-soon h2,
.gate-card h2,
.privacy-block h2 {
  font-family: "Fraunces", serif;
  color: var(--green-deep);
}

.calendar-placeholder code {
  display: block;
  background: var(--ink);
  color: var(--gold-soft);
  padding: 1rem;
  border-radius: 4px;
  font-size: 0.85rem;
  margin-top: 1rem;
  text-align: left;
  overflow-x: auto;
  font-family: ui-monospace, monospace;
}

.join-intro {
  padding: 5rem 0 3rem;
}

.join-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.join-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 2rem;
}

.join-perks li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.join-perks .check {
  min-width: 28px;
  height: 28px;
  background: var(--green-deep);
  color: var(--gold-soft);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 2px;
}

.join-perks strong {
  display: block;
  color: var(--green-deep);
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
}

.join-perks span.desc {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.jotform-wrap {
  min-height: 600px;
}

.jotform-wrap iframe {
  width: 100%;
  height: 720px;
  border: 0;
  display: block;
  border-radius: 2px;
}

.join-bottom {
  padding-bottom: 6rem;
}

.events-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 960px;
  margin: 0 auto;
}

.events-col-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold);
}

.events-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.events-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.events-icon {
  font-size: 1.2rem;
  line-height: 1.4;
  flex-shrink: 0;
  width: 28px;
  text-align: center;
}

.events-list strong {
  display: block;
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--green-deep);
  line-height: 1.3;
}

.events-list span {
  display: block;
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-top: 0.15rem;
  line-height: 1.4;
}

.gallery-section {
  background: var(--ink);
  padding: 5rem 0;
}

.gallery-section .eyebrow {
  color: var(--gold-soft);
}

.gallery-section .section-title {
  color: var(--cream);
}

.gallery-section .section-title em {
  color: var(--gold-soft);
}

.gallery-hero {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.gallery-hero img {
  display: block;
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center 30%;
}

.gallery-hero-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  font-style: italic;
}

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

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  background: var(--green-deep);
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
  filter: brightness(0.92);
}

.gallery-item:hover img {
  transform: scale(1.04);
  filter: brightness(1.05);
}

.charity-block {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 4rem;
  align-items: flex-start;
  max-width: 1060px;
  margin: 0 auto;
  padding: 3rem 0 4rem;
}

.charity-block-alt {
  grid-template-columns: 1fr 220px;
}

.charity-logo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  position: sticky;
  top: 5rem;
}

.charity-logo {
  width: 100%;
  max-width: 200px;
  height: auto;
}

.charity-donate-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background: #9b1c2e;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  width: 100%;
  justify-content: center;
  text-align: center;
}

.charity-donate-btn:hover,
.charity-donate-btn:focus-visible {
  background: #7a1524;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(155, 28, 46, 0.25);
}

.charity-learn-btn {
  font-size: 0.85rem;
  text-align: center;
}

.charity-lead {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}

.charity-content p {
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 1.1rem;
}

.charity-facts {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-top: 2rem;
  padding: 1.75rem;
  background: var(--cream);
  border-radius: 6px;
  border: 1px solid var(--rule);
}

.charity-fact {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.charity-fact-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 50%;
  color: #9b1c2e;
}

.charity-fact strong {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--green-deep);
  margin-bottom: 0.2rem;
}

.charity-fact span {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.charity-divider {
  max-width: 1060px;
  margin: 0 auto;
  height: 1px;
  background: var(--rule);
}

.charity-soak-col {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 3rem;
}

.privacy-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 0 2rem;
}

.privacy-updated {
  font-size: 0.85rem;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
}

.privacy-block {
  margin-bottom: 2.25rem;
}

.privacy-block h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.privacy-block a {
  color: var(--green);
  text-decoration: underline;
}

.privacy-block a:hover {
  color: var(--green-deep);
}

.merch-coming-soon {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 4rem 2rem;
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(14, 58, 36, 0.06);
}

.merch-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--green-deep);
  color: var(--gold-soft);
  display: grid;
  place-items: center;
  margin: 0 auto 1.5rem;
}

.merch-coming-soon h2 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.merch-coming-soon h2 em {
  color: var(--gold-dark);
  font-weight: 500;
}

.merch-coming-soon p {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.merch-check-back {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  border: 2px solid var(--gold-dark);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.members-gate {
  min-height: 75vh;
  display: grid;
  place-items: center;
  padding: 4rem 2rem;
  background:
    radial-gradient(circle at 30% 40%, rgba(31, 95, 63, 0.08), transparent 60%),
    radial-gradient(circle at 70% 60%, rgba(200, 163, 74, 0.08), transparent 60%),
    var(--paper);
}

.gate-card {
  max-width: 460px;
  width: 100%;
  background: #fff;
  padding: 3rem 2.5rem;
  border-radius: 4px;
  border: 1px solid var(--rule);
  box-shadow: 0 30px 60px -20px rgba(15, 29, 23, 0.25);
  text-align: center;
  position: relative;
}

.gate-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 4px;
  background: linear-gradient(90deg, var(--green-deep), var(--gold), var(--green-deep));
}

.lock-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--paper-warm);
  display: grid;
  place-items: center;
  margin: 0 auto 1.5rem;
  color: var(--green-deep);
}

.gate-card h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.gate-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.password-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.password-form input {
  padding: 0.9rem 1.2rem;
  font-size: 1rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-family: inherit;
  background: var(--paper);
  color: var(--ink);
  text-align: center;
  letter-spacing: 0.1em;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.password-form input:focus {
  outline: none;
  border-color: var(--green-deep);
  box-shadow: 0 0 0 4px rgba(31, 95, 63, 0.12);
}

.error-msg {
  color: #b5391a;
  font-size: 0.85rem;
  min-height: 1.2em;
  font-weight: 500;
}

.members-hero {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--ink-soft) 100%);
  color: var(--paper);
  padding: 4rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.members-hero::after {
  content: "";
  position: absolute;
  right: -100px;
  top: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 163, 74, 0.15) 0%, transparent 70%);
}

.members-hero-crest {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 260px;
  height: auto;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

.members-hero h1 {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.02em;
  color: var(--paper);
  position: relative;
  z-index: 1;
}

.members-hero h1 em {
  color: var(--gold-soft);
  font-style: italic;
  font-weight: 400;
}

.members-hero p {
  color: rgba(245, 241, 230, 0.8);
  margin-top: 0.8rem;
  position: relative;
  z-index: 1;
}

.logout-btn {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: transparent;
  border: 1px solid rgba(245, 241, 230, 0.3);
  color: var(--paper);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.85rem;
  font-family: inherit;
  z-index: 2;
  transition: all 0.2s ease;
}

.logout-btn:hover {
  background: rgba(245, 241, 230, 0.1);
  border-color: var(--gold-soft);
}

.docs-section {
  padding: 4rem 0 6rem;
}

.members-fb-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding: 1.4rem 1.75rem;
  background: linear-gradient(135deg, #1877f2 0%, #1462c9 100%);
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(24, 119, 242, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.members-fb-card:hover,
.members-fb-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(24, 119, 242, 0.3);
}

.members-fb-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}

.members-fb-text {
  flex: 1;
}

.members-fb-title {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.members-fb-desc {
  font-size: 0.9rem;
  opacity: 0.9;
  line-height: 1.4;
}

.members-fb-arrow {
  flex-shrink: 0;
  opacity: 0.7;
  transition: transform 0.25s ease;
}

.members-fb-card:hover .members-fb-arrow {
  transform: translate(3px, -3px);
  opacity: 1;
}

.doc-category {
  margin-bottom: 3.5rem;
}

.category-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.category-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.doc-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem 1.4rem;
  background: var(--paper-warm);
  border-radius: 4px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
  color: inherit;
}

.doc-card:hover {
  border-color: var(--green-deep);
  background: #fff;
  transform: translateX(2px);
}

.doc-icon {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background: var(--green-deep);
  color: var(--gold-soft);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.doc-meta {
  flex: 1;
  min-width: 0;
}

.doc-title {
  font-weight: 600;
  color: var(--green-deep);
  font-size: 0.98rem;
  margin-bottom: 0.15rem;
  line-height: 1.25;
}

.doc-date {
  font-size: 0.8rem;
  color: var(--ink-soft);
}

footer {
  background: var(--ink);
  color: rgba(245, 241, 230, 0.85);
  padding: 4rem 0 2rem;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .brand-text {
  color: var(--paper);
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: rgba(245, 241, 230, 0.6);
  max-width: 320px;
  line-height: 1.6;
}

.footer-col h4 {
  font-weight: 600;
  font-size: 1rem;
  color: var(--gold-soft);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col a {
  color: rgba(245, 241, 230, 0.7);
  font-size: 0.9rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--gold-soft);
}

.footer-bottom {
  border-top: 1px solid rgba(245, 241, 230, 0.12);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: rgba(245, 241, 230, 0.5);
}

.footer-bottom span em {
  font-style: italic;
  color: var(--gold-soft);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 1rem;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--green-deep);
  color: var(--cream);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  font-family: "Outfit", sans-serif;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
  outline: 3px solid var(--gold-soft);
  outline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
[role="button"]:focus-visible,
[tabindex]:focus-visible,
[data-route]:focus-visible {
  outline: 3px solid var(--gold-dark);
  outline-offset: 3px;
  border-radius: 3px;
}

a:focus,
button:focus,
[role="button"]:focus,
[data-route]:focus {
  outline: none;
}

@media (max-width: 900px) {
  .hero-grid,
  .join-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero {
    padding: 4rem 0 5rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item--wide {
    grid-column: span 2;
  }

  .gallery-item img {
    height: 180px;
  }
}

@media (max-width: 880px) {
  .pillars {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: grid;
  }

  nav ul {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    padding: 1.5rem 2rem 2rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--rule);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    align-items: flex-start;
  }

  nav ul.open {
    transform: translateY(0);
  }

  nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .brand-text-mark {
    display: none;
  }

  .charity-block,
  .charity-block-alt {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 0 3rem;
  }

  .charity-block-alt .charity-content {
    order: 1;
  }

  .charity-block-alt .charity-soak-col {
    order: 0;
  }

  .charity-logo-col {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .charity-soak-col {
    display: none;
  }
}

@media (max-width: 780px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 720px) {
  section.block {
    padding: 4rem 0;
  }

  .page-header {
    padding: 2.5rem 0 2.5rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .events-overview {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .gallery-hero img {
    height: 220px;
  }

  .members-hero-crest {
    width: 180px;
    right: -60px;
    opacity: 0.08;
  }
}

@media (max-width: 560px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .gallery-item--wide {
    grid-column: span 1;
  }

  .gallery-item img {
    height: 200px;
  }

  .members-fb-card {
    padding: 1.2rem 1.3rem;
    gap: 1rem;
  }

  .members-fb-icon {
    width: 40px;
    height: 40px;
  }

  .members-fb-icon svg {
    width: 20px;
    height: 20px;
  }

  .members-fb-title {
    font-size: 1.02rem;
  }

  .members-fb-desc {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .brand-lockup .kosp-wordmark {
    height: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
