:root {
  --ink: #1d1d19;
  --ink-soft: #56544d;
  --paper: #f5f0e6;
  --paper-light: #fbf8f1;
  --bronze: #b38336;
  --bronze-light: #d9b66e;
  --olive: #343226;
  --line: rgba(62, 51, 33, 0.22);
  --shell: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper-light);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.65;
}

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

a {
  color: inherit;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: white;
  color: black;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgba(23, 23, 20, 0.98);
  color: #f7f1e7;
  border-bottom: 1px solid rgba(217, 182, 110, 0.35);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  text-transform: uppercase;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 800;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

nav a {
  color: #eee8dc;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--bronze-light);
}

nav a[aria-current="page"] { color: var(--bronze-light); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; }
.nav-signin { color: white; }

.nav-join {
  padding: 7px 11px;
  border: 1px solid var(--bronze);
  border-radius: 4px;
  color: var(--bronze-light);
}

.page-hero { padding-block: 72px; background: #272620; color: #f8f2e7; border-bottom: 6px solid var(--bronze); }
.page-hero-inner { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 46px; align-items: center; }
.page-hero-inner > img { width: 180px; height: 180px; object-fit: contain; }
.page-hero h1 { max-width: 900px; font-size: clamp(48px, 7vw, 82px); }
.page-hero p:last-child { max-width: 800px; margin: 18px 0 0; color: #ddd4c4; font-size: 21px; }
.compact-page-hero { padding-block: 52px; }
.home-paths h2 { max-width: 850px; }
.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 42px; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.2); }
.path-grid article { min-height: 330px; display: flex; align-items: flex-start; flex-direction: column; padding: 32px; background: #272620; }
.path-grid p { flex: 1; color: #d7d0c4; }
.cta-actions, .stacked-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.stacked-actions { align-items: flex-start; flex-direction: column; }
.membership-detail-band, .branch-choice-band, .contact-member-band { padding-block: 88px; background: #3d392a; color: #f8f2e7; }
.light-link { color: var(--bronze-light); }
.choice-grid, .contact-page-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
.choice-grid article + article { padding-left: 64px; border-left: 1px solid rgba(255,255,255,.25); }
.choice-grid p:not(.section-label) { color: #d7d0c4; }
.contact-options { display: grid; gap: 28px; }
.contact-options article { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.contact-options p { margin: 6px 0 10px; color: var(--ink-soft); }
.legal-prose { max-width: 860px; }
.legal-prose h2 { margin-bottom: 30px; }
.legal-prose h3 { margin-top: 32px; }

.hero {
  min-height: min(820px, calc(100svh - 120px));
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #1b1b17;
  color: #f8f2e7;
  text-align: center;
  border-bottom: 8px solid var(--bronze);
}

.hero-inner {
  padding-block: 46px 58px;
}

.hero-logo {
  width: clamp(180px, 20vw, 260px);
  aspect-ratio: 1;
  margin: 0 auto 12px;
  object-fit: contain;
  filter: drop-shadow(0 15px 24px rgba(0, 0, 0, 0.42));
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: #8a682f;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--bronze-light);
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(58px, 9vw, 110px);
  line-height: 0.98;
  font-weight: 700;
}

h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.06;
  font-weight: 700;
}

h3 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.15;
}

.hero-lead {
  max-width: 790px;
  margin: 22px auto 0;
  color: #ddd4c4;
  font-size: 23px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.button-primary,
.button-gold {
  background: var(--bronze);
  color: #171714;
}

.button-secondary,
.button-outline-light {
  border-color: rgba(255, 255, 255, 0.7);
  color: white;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.hero-note {
  margin: 20px 0 0;
  color: #aaa395;
  font-size: 15px;
}

section:not(.hero, .dark-band, .branch-band, .values-band) {
  padding-block: 112px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
}

.align-start {
  align-items: start;
}

.prose p,
.lead-copy {
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-size: 20px;
}

.dark-band,
.branch-band,
.values-band {
  padding-block: 96px;
  background: #272620;
  color: #f8f2e7;
}

.branch-band {
  background: #3d392a;
}

.values-band {
  padding-block: 58px;
  background: #171714;
}

.light {
  color: var(--bronze-light);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.principles-grid article {
  min-height: 280px;
  padding: 34px 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.principles-grid article:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.principles-grid p,
.branch-band p {
  color: #d7d0c4;
}

.number {
  display: block;
  margin-bottom: 28px;
  color: var(--bronze-light);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.membership-panel {
  padding: 36px;
  background: var(--paper);
  border-top: 4px solid var(--bronze);
}

.price-row {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 28px;
  align-items: center;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.price-row strong {
  display: block;
  color: #76551f;
  font-size: 54px;
  line-height: 1;
}

.price-row span {
  display: block;
  color: var(--ink-soft);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.price-row p {
  margin: 0;
}

.check-list {
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin: 12px 0;
  padding-left: 27px;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 10px;
  height: 5px;
  border-bottom: 2px solid var(--bronze);
  border-left: 2px solid var(--bronze);
  transform: rotate(-45deg);
}

.text-link,
.contact-email {
  color: #6e501e;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  text-underline-offset: 4px;
}

.small-note {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.membership-button {
  width: auto;
  margin-right: 18px;
}

.secondary-membership-link {
  display: inline-block;
}

.branch-actions {
  display: grid;
  gap: 34px;
}

.branch-actions > div {
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.branch-actions .button {
  margin-top: 8px;
}

.boundary-note {
  margin-top: 34px;
  padding: 26px 28px;
  background: var(--paper);
  border-left: 4px solid var(--bronze);
}

.boundary-note h3 {
  font-size: 23px;
}

.boundary-note p {
  margin: 0;
  font-size: 17px;
}

.values-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 38px;
}

.values-list span {
  color: #f5eee2;
  font-size: clamp(22px, 3vw, 36px);
}

.contact-block {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.contact-block img {
  width: 132px;
  height: 132px;
  object-fit: contain;
}

.contact-block h2 {
  max-width: 900px;
  font-size: clamp(36px, 5vw, 60px);
}

.contact-email {
  display: inline-block;
  margin-top: 8px;
  font-size: clamp(20px, 3vw, 30px);
}

footer {
  padding-block: 54px 32px;
  background: #121210;
  color: #cfc8bc;
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
}

.footer-grid strong {
  color: white;
  font-size: 23px;
}

.footer-grid p {
  max-width: 660px;
  margin: 7px 0 0;
}

.footer-grid > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
}

.legal {
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #979186;
  font-size: 13px;
}

.legal p {
  margin: 5px 0;
}

.membership-hero {
  padding-block: 64px;
  background: #272620;
  color: #f8f2e7;
}

.membership-heading {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 38px;
  align-items: center;
}

.membership-heading img {
  width: 132px;
  height: 132px;
  object-fit: contain;
}

.membership-heading h1 {
  font-size: clamp(48px, 7vw, 78px);
}

.membership-heading p:last-child {
  max-width: 760px;
  margin: 14px 0 0;
  color: #ddd4c4;
  font-size: 20px;
}

.membership-form-section {
  padding-block: 64px 96px !important;
}

.member-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  padding: 24px 28px;
  background: var(--paper);
  border-left: 4px solid var(--bronze);
}

.member-tools strong,
.member-tools span {
  display: block;
}

.member-tools strong {
  font-size: 23px;
}

.member-tools span {
  color: var(--ink-soft);
  font-size: 16px;
}

.member-tool-links {
  display: flex;
  gap: 10px;
}

.member-outline-button {
  border-color: #64583f;
  color: #332e25;
}

.membermojo-frame-wrap {
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
}

.membermojo-frame {
  display: block;
  width: 100%;
  height: 1200px;
  border: 0;
}

.membermojo-note {
  max-width: 850px;
  margin: 22px auto 0;
  color: var(--ink-soft);
  font-size: 14px;
  text-align: center;
}

@media (max-width: 880px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding-block: 10px 12px;
  }

  nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 18px;
    overflow: visible;
    white-space: normal;
  }

  .hero {
    min-height: min(760px, calc(100svh - 150px));
  }

  .split {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .page-hero-inner { grid-template-columns: 120px minmax(0, 1fr); gap: 28px; }
  .page-hero-inner > img { width: 120px; height: 120px; }
  .path-grid { grid-template-columns: 1fr; }
  .path-grid article { min-height: 0; }

  .principles-grid article,
  .principles-grid article:first-child {
    min-height: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
  }

  .membership-heading {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 24px;
  }

  .membership-heading img {
    width: 96px;
    height: 96px;
  }

  .member-tools {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  :root {
    --shell: min(100% - 28px, 1180px);
  }

  body {
    font-size: 17px;
  }

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

  nav {
    font-size: 12px;
  }

  .hero-inner {
    padding-block: 18px 28px;
  }

  .page-hero { padding-block: 40px; }
  .page-hero-inner { grid-template-columns: 1fr; gap: 18px; }
  .page-hero-inner > img { width: 104px; height: 104px; }
  .page-hero h1 { font-size: 46px; }
  .page-hero p:last-child { font-size: 18px; }
  .choice-grid, .contact-page-grid { grid-template-columns: 1fr; gap: 42px; }
  .choice-grid article + article { padding-top: 42px; padding-left: 0; border-top: 1px solid rgba(255,255,255,.25); border-left: 0; }

  .hero-logo {
    width: 138px;
    margin-bottom: 6px;
  }

  h1 {
    font-size: 52px;
  }

  .hero-lead {
    margin-top: 14px;
    font-size: 17px;
    line-height: 1.42;
  }

  .hero-actions {
    gap: 8px;
    margin-top: 18px;
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    min-height: 44px;
    width: 100%;
    padding-block: 9px;
  }

  .membership-button {
    margin: 0 0 14px;
  }

  .hero-note {
    margin-top: 12px;
    font-size: 13px;
  }

  section:not(.hero, .dark-band, .branch-band, .values-band) {
    padding-block: 76px;
  }

  .dark-band,
  .branch-band {
    padding-block: 72px;
  }

  .principles-grid article,
  .membership-panel {
    padding: 26px 22px;
  }

  .price-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-block {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-block img {
    width: 110px;
    height: 110px;
  }

  .membership-hero {
    padding-block: 38px;
  }

  .membership-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .membership-heading img {
    width: 92px;
    height: 92px;
  }

  .membership-heading h1 {
    font-size: 48px;
  }

  .member-tool-links {
    flex-direction: column;
  }

  .membermojo-frame {
    height: 1450px;
  }

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

  .footer-grid > div:last-child {
    text-align: left;
  }
}

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