:root {
  --navy: #111b2e;
  --navy-2: #172642;
  --red: #7f2535;
  --gold: #d9bd79;
  --cream: #f7f1e4;
  --paper: #fffaf0;
  --ink: #1c1b18;
  --muted: #6d665c;
  --line: rgba(28, 27, 24, 0.16);
  --shadow: 0 24px 80px rgba(17, 27, 46, 0.18);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(217, 189, 121, 0.24), transparent 34rem),
    linear-gradient(180deg, var(--cream), #f4ead7 42%, #fff7e8);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  z-index: 99;
  background: var(--gold);
  color: var(--navy);
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-weight: 800;
}

.skip-link:focus {
  left: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 241, 228, 0.87);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(28, 27, 24, 0.1);
}

.nav-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.3rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand img {
  width: 42px;
  height: 42px;
}

.brand span {
  display: grid;
  line-height: 1.05;
}

.brand small {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav-links a {
  text-decoration: none;
  font-weight: 750;
  color: rgba(28, 27, 24, 0.82);
  padding: 0.65rem 0.8rem;
  border-radius: 999px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
  background: rgba(217, 189, 121, 0.25);
}

.menu-button {
  display: none;
  border: 0;
  background: var(--navy);
  color: var(--cream);
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  font-weight: 850;
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.72rem 1.08rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-weight: 850;
  box-shadow: 0 14px 32px rgba(127, 37, 53, 0.24);
  cursor: pointer;
}

.button:hover {
  transform: translateY(-1px);
}

.button.secondary {
  background: transparent;
  color: var(--navy);
  border-color: rgba(17, 27, 46, 0.24);
  box-shadow: none;
}

.button.gold {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 14px 32px rgba(217, 189, 121, 0.3);
}

main {
  min-height: 70vh;
}

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

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(110deg, rgba(17, 27, 46, 0.97), rgba(17, 27, 46, 0.84)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cpath d='M0 110h220M110 0v220' stroke='%23d9bd79' stroke-opacity='.14' stroke-width='2'/%3E%3Ccircle cx='110' cy='110' r='72' fill='none' stroke='%23d9bd79' stroke-opacity='.12' stroke-width='2'/%3E%3C/svg%3E");
}

.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 6.8rem 1.2rem 5.2rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  width: fit-content;
  padding: 0.34rem 0.66rem;
  border: 1px solid rgba(217, 189, 121, 0.35);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(217, 189, 121, 0.08);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.035em;
}

h1 {
  margin-top: 1rem;
  font-size: clamp(3rem, 7vw, 6.2rem);
  max-width: 13ch;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.6rem);
}

h3 {
  font-size: 1.45rem;
}

.hero p {
  max-width: 61ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.hero-card {
  position: relative;
  background: rgba(255, 250, 240, 0.08);
  border: 1px solid rgba(247, 241, 228, 0.15);
  border-radius: 30px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.hero-card img {
  display: block;
  width: 142px;
  height: 142px;
  margin-bottom: 1.2rem;
}

.hero-card strong {
  display: block;
  color: var(--gold);
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-card p {
  font-size: 1.55rem;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.2;
  margin-bottom: 0;
}

.section {
  padding: 5rem 0;
}

.section.compact {
  padding: 3.3rem 0;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.8rem;
  align-items: start;
}

.lede {
  font-size: 1.18rem;
  color: rgba(28, 27, 24, 0.78);
  max-width: 66ch;
}

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

.card,
.statement,
.form-panel,
.notice {
  background: rgba(255, 250, 240, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem;
  box-shadow: 0 18px 50px rgba(17, 27, 46, 0.08);
}

.card p,
.statement p {
  color: rgba(28, 27, 24, 0.76);
  margin-bottom: 0;
}

.statement {
  background: var(--navy);
  color: #fff;
  padding: clamp(1.4rem, 4vw, 2.5rem);
}

.statement p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0;
  margin: 1.5rem 0 0;
  list-style: none;
}

.pill-list li {
  padding: 0.48rem 0.68rem;
  border-radius: 999px;
  background: rgba(17, 27, 46, 0.08);
  font-weight: 800;
  color: var(--navy);
}

.banner {
  background: linear-gradient(135deg, var(--red), #4d1723);
  color: #fff;
  border-radius: 32px;
  padding: clamp(1.6rem, 4vw, 3.3rem);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  box-shadow: var(--shadow);
}

.banner p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 70ch;
}

.page-header {
  background: var(--navy);
  color: #fff;
  padding: 4.2rem 0 3rem;
}

.page-header p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 72ch;
  font-size: 1.1rem;
}

.content-shell {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 2rem;
  align-items: start;
}

.side-nav {
  position: sticky;
  top: 86px;
  background: rgba(255, 250, 240, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}

.side-nav a {
  display: block;
  text-decoration: none;
  padding: 0.62rem 0.72rem;
  border-radius: 14px;
  color: rgba(28, 27, 24, 0.76);
  font-weight: 750;
}

.side-nav a:hover {
  background: rgba(217, 189, 121, 0.25);
  color: var(--navy);
}

.article-stack {
  display: grid;
  gap: 1rem;
}

.policy-block,
.bylaw-block {
  background: rgba(255, 250, 240, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.2rem, 3vw, 2rem);
  box-shadow: 0 18px 50px rgba(17, 27, 46, 0.07);
}

.policy-block h2,
.bylaw-block h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.policy-block ul,
.bylaw-block ul,
.bylaw-block ol {
  padding-left: 1.2rem;
}

.policy-block li,
.bylaw-block li {
  margin: 0.44rem 0;
}

.callout {
  border-left: 5px solid var(--gold);
  background: rgba(217, 189, 121, 0.18);
  padding: 1rem;
  border-radius: 16px;
  font-weight: 750;
}

.join-layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 2rem;
  align-items: start;
}

.form-panel label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 850;
}

.form-panel input,
.form-panel select,
.form-panel textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(28, 27, 24, 0.25);
  border-radius: 14px;
  background: #fffdf7;
  color: var(--ink);
  font: inherit;
}

.form-panel textarea {
  min-height: 130px;
  resize: vertical;
}

.form-row {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 0.95rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.95rem;
}

.notice {
  background: rgba(17, 27, 46, 0.06);
}

.site-footer {
  background: #0f1727;
  color: #fff;
  margin-top: 4rem;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 3rem 1.2rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 2rem;
}

.site-footer a {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  margin: 0.35rem 0;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 900;
}

.footer-brand img {
  width: 46px;
  height: 46px;
}

.footer-note {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .menu-button {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    inset: 70px 1rem auto 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 0.75rem;
    box-shadow: var(--shadow);
  }

  body.menu-open .nav-links {
    display: flex;
  }

  .nav-links a {
    border-radius: 14px;
  }

  .hero-inner,
  .split,
  .content-shell,
  .join-layout,
  .banner,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding-top: 4.3rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .side-nav {
    position: static;
  }

  .two-col {
    grid-template-columns: 1fr;
  }
}
