:root {
  --bg: #050608;
  --bg-2: #10140f;
  --card: rgba(17, 20, 18, 0.94);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(161, 175, 104, 0.38);
  --text: #efe8dd;
  --muted: #c7bcad;
  --soft: #978c7d;
  --olive: #7f8d58;
  --olive-2: #a8b77a;
  --sand: #d8c3a2;
  --brown: #4c3726;
  --dark-olive: #222c1d;
  --shadow: 0 22px 56px rgba(0, 0, 0, 0.46);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 18% 12%, rgba(127, 141, 88, 0.18), transparent 24%),
    radial-gradient(circle at 80% 18%, rgba(216, 195, 162, 0.08), transparent 30%),
    radial-gradient(circle at 83% 76%, rgba(127, 141, 88, 0.12), transparent 28%),
    linear-gradient(145deg, #050608 0%, #121712 46%, #070907 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: -5%;
  z-index: -2;
  opacity: 0.28;
  background:
    radial-gradient(ellipse at 12% 18%, rgba(80, 93, 53, .96) 0 5%, transparent 5.6%),
    radial-gradient(ellipse at 25% 35%, rgba(74, 52, 35, .92) 0 6%, transparent 6.6%),
    radial-gradient(ellipse at 42% 20%, rgba(34, 42, 28, .96) 0 7%, transparent 7.6%),
    radial-gradient(ellipse at 62% 32%, rgba(215, 196, 163, .46) 0 5%, transparent 5.6%),
    radial-gradient(ellipse at 78% 16%, rgba(80, 93, 53, .90) 0 6%, transparent 6.8%),
    radial-gradient(ellipse at 91% 40%, rgba(74, 52, 35, .88) 0 7%, transparent 7.7%),
    radial-gradient(ellipse at 10% 70%, rgba(34, 42, 28, .98) 0 8%, transparent 8.9%),
    radial-gradient(ellipse at 31% 82%, rgba(80, 93, 53, .84) 0 7%, transparent 7.9%),
    radial-gradient(ellipse at 53% 70%, rgba(74, 52, 35, .84) 0 6%, transparent 6.9%),
    radial-gradient(ellipse at 73% 84%, rgba(34, 42, 28, .98) 0 8%, transparent 8.9%),
    radial-gradient(ellipse at 88% 68%, rgba(215, 196, 163, .34) 0 5%, transparent 5.8%);
  background-size: 500px 340px;
  background-position: 0 0, 90px 40px, 170px 80px, 250px 30px, 330px 100px, 410px 10px, 40px 180px, 130px 230px, 230px 190px, 340px 250px, 430px 210px;
  filter: blur(.15px);
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, transparent 0, rgba(0,0,0,.44) 74%);
  background-size: 48px 48px, 48px 48px, auto;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.98), rgba(0,0,0,.35));
}

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

.shell {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.topbar {
  width: min(1180px, 92%);
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: linear-gradient(to bottom, rgba(5,6,8,.92), rgba(8,10,8,.56));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .84rem;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: .79rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .09em;
  padding: 11px 12px;
  border-radius: 10px;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
  background: rgba(255,255,255,.04);
}

.nav-legal {
  border: 1px solid var(--line-strong);
}

.hero {
  min-height: calc(100vh - 88px);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
  padding: 36px 0 60px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--olive-2);
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: .18em;
  font-weight: 900;
}

h1, h2 {
  font-family: "Archivo Black", Impact, sans-serif;
  text-transform: uppercase;
  line-height: .96;
  margin: 0;
}

h1 span {
  display: block;
  font-size: clamp(1.6rem, 3.6vw, 2.9rem);
  color: var(--sand);
}

h1 strong {
  display: block;
  font-size: clamp(2.6rem, 6vw, 5.7rem);
  color: var(--olive-2);
  text-shadow: 0 12px 28px rgba(0,0,0,.42);
}

h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.6rem);
  margin-bottom: 18px;
}

.lead {
  margin: 18px 0 10px;
  font-size: 1.06rem;
  color: var(--text);
  max-width: 760px;
}

.sublead,
.section-note {
  color: var(--muted);
  margin: 0;
}

.hero-actions,
.join-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 14px 18px;
  border-radius: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .83rem;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(180deg, var(--olive-2), var(--olive));
  color: #14150f;
  box-shadow: 0 18px 38px rgba(127,141,88,.24);
}

.btn-secondary {
  background: rgba(255,255,255,.035);
  border-color: var(--line);
  color: var(--text);
}

.btn.large { padding-inline: 26px; }

.card {
  background: linear-gradient(180deg, rgba(20,24,22,.92), rgba(11,14,13,.97));
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.hero-patch,
.content-card,
.role-section,
.join-panel,
.legal-card {
  position: relative;
  overflow: hidden;
}

.hero-patch::after,
.content-card::after,
.role-section::after,
.join-panel::after,
.legal-card::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 15% 18%, rgba(80, 93, 53, .95) 0 6%, transparent 6.6%),
    radial-gradient(ellipse at 34% 33%, rgba(74, 52, 35, .90) 0 7%, transparent 7.6%),
    radial-gradient(ellipse at 58% 21%, rgba(34, 42, 28, .95) 0 8%, transparent 8.7%),
    radial-gradient(ellipse at 78% 38%, rgba(215, 196, 163, .34) 0 6%, transparent 6.5%),
    radial-gradient(ellipse at 20% 72%, rgba(74, 52, 35, .84) 0 7%, transparent 7.6%),
    radial-gradient(ellipse at 70% 76%, rgba(80, 93, 53, .84) 0 8%, transparent 8.8%);
  background-size: 360px 240px;
}

.hero-patch {
  padding: 18px;
}

.hero-patch::before,
.content-card::before,
.role-section::before,
.join-panel::before,
.legal-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(127,141,88,.22), rgba(255,255,255,.04));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

.hero-patch img {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.stats-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.stat-card,
.mini-box,
.role-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02)),
    rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 18px;
}

.stat-card {
  padding: 16px;
}

.stat-card strong,
.role-card strong,
.footer-brand strong { display: block; }

.stat-card strong {
  font-size: .93rem;
  margin-bottom: 3px;
}

.stat-card span,
.role-card span,
.footer-brand span {
  color: var(--muted);
  font-size: .92rem;
}


.about-section h2,
.about-section p {
  max-width: 100%;
}



.about-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 24px;
  align-items: stretch;
}

.about-copy {
  position: relative;
  z-index: 1;
}

.about-copy p {
  margin: 0 0 14px;
  color: var(--muted);
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.values-panel {
  position: relative;
  z-index: 1;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.07);
  background:
    linear-gradient(180deg, rgba(127,141,88,.10), rgba(255,255,255,.02)),
    rgba(255,255,255,.02);
}

.values-panel h3 {
  margin: 0 0 16px;
  color: var(--sand);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.values-patch {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.values-patch-image {
  width: 100%;
  max-width: 320px;
  margin: 4px auto 16px;
  filter: drop-shadow(0 16px 30px rgba(0,0,0,.35));
}

.values-caption {
  margin: 0;
  color: var(--muted);
  max-width: 420px;
}


.about-wrap {
  margin-bottom: 26px;
}

.about-card {
  width: min(100%, 577px);
}

.about-section {
  display: grid;
  gap: 18px;
}

.about-heading {
  position: relative;
  z-index: 1;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(168, 183, 122, .22);
}

.about-heading .eyebrow {
  margin-bottom: 10px;
}

.about-heading h2 {
  margin-bottom: 0;
}

.about-text {
  position: relative;
  z-index: 1;
}

.about-text p {
  margin: 0 0 14px;
  color: var(--muted);
}

.about-text p:last-child {
  margin-bottom: 0;
}

.section-grid {
  display: grid;
  gap: 26px;
  margin-bottom: 26px;
}

.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.uneven { grid-template-columns: 1.1fr .9fr; }

.content-card,
.role-section,
.join-panel,
.legal-card {
  padding: 28px;
}

.content-card p { margin: 0 0 14px; color: var(--muted); }
.content-card p:last-child { margin-bottom: 0; }

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--olive-2);
  font-weight: 900;
}

.check-list.tight { gap: 11px; }

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mini-box {
  padding: 16px 14px;
  font-weight: 700;
  color: var(--text);
  min-height: 72px;
  display: flex;
  align-items: center;
}

.role-section {
  margin-bottom: 26px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 22px;
}

.section-note {
  max-width: 450px;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.role-card {
  padding: 18px 16px;
  min-height: 136px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
}

.role-card strong {
  color: var(--sand);
  font-size: 1rem;
}

.role-card span {
  font-size: .94rem;
}

.join-wrap {
  padding-bottom: 44px;
}

.callout {
  background: rgba(127,141,88,.10);
  border: 1px solid rgba(127,141,88,.24);
  border-radius: 18px;
  padding: 16px 18px;
  color: var(--text);
}

.footer {
  padding: 24px 0 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  object-fit: cover;
}

.footer-links {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  color: var(--muted);
}

.footer-links a {
  text-decoration: none;
  color: var(--olive-2);
}

.legal-shell {
  padding: 40px 0 60px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--olive-2);
  text-decoration: none;
  font-weight: 700;
}

.legal-card h1 {
  margin-bottom: 20px;
}

.legal-card h1 strong {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}

.legal-card h2 {
  font-size: 1.28rem;
  margin: 26px 0 10px;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.legal-card ul {
  padding-left: 20px;
}

@media (max-width: 1024px) {

  .hero,
  .two-col,
  .uneven,
  .section-head,
  .about-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

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

@media (max-width: 760px) {
  .topbar,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    min-height: auto;
    padding-top: 16px;
  }

  .stats-grid,
  .mini-grid,
  .role-grid {
    grid-template-columns: 1fr;
  }

  .content-card,
  .role-section,
  .join-panel,
  .hero-patch,
  .legal-card {
    padding: 22px;
    border-radius: 22px;
  }

  .brand span {
    font-size: .74rem;
    line-height: 1.2;
  }
}


.compact-about {
  max-width: 920px;
}

.compact-about h2 {
  max-width: 760px;
}

.compact-about > p:last-child {
  max-width: 860px;
  margin-bottom: 0;
}


.about-with-patch {
  display: grid;
  grid-template-columns: minmax(0, 577px) minmax(260px, 1fr);
  gap: 26px;
  align-items: center;
}

.about-patch-plain {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  background: transparent;
}

.about-patch-plain img {
  width: min(100%, 420px);
  height: auto;
  display: block;
  background: transparent;
  filter: drop-shadow(0 18px 34px rgba(0,0,0,.45));
}

@media (max-width: 1024px) {
  .about-with-patch {
    grid-template-columns: 1fr;
  }

  .about-patch-plain img {
    width: min(100%, 380px);
  }
}
