/* ============================================================
   OKNAHRA — Oklahoma Native American HR Association
   Design system: rooted in the organization's own mark (red /
   black / gold feather motif) rather than generic "Southwest"
   cliches (turquoise, desert, sand). Palette references colors
   common to the Woodland & Plains nations headquartered in
   Oklahoma (Cherokee, Muscogee, Choctaw, Chickasaw, Seminole,
   Osage, Kaw, Ponca, Otoe-Missouria, Quapaw, and others) —
   deep vermillion red, black, ochre/gold, and warm cream —
   without depicting any specific tribe's protected regalia,
   seal, or sacred symbol.
   ============================================================ */

:root {
  /* Brand core — sampled directly from the real OKNAHRA logo
     (feather colors: red rgb(211,55,60), black rgb(32,31,31),
     yellow rgb(255,242,21)). Gold/gold-light are UI-legible shades
     derived from that same yellow (used for text/buttons where the
     pure logo yellow would fail contrast on cream/white). */
  --oknahra-red: #D3373C;
  --oknahra-red-dark: #9E292D;
  --oknahra-black: #201F1F;
  --oknahra-yellow: #FFF215;
  --oknahra-gold: #D9A518;
  --oknahra-gold-light: #F0CB4E;
  --oknahra-cream: #FAF5EA;
  --oknahra-cream-dark: #F0E6D2;
  --oknahra-clay: #8C5A3C;
  /* Mid-tone tan used specifically as a backdrop behind the feather icons —
     picked deliberately darker than the cream tokens above. The white
     feather asset is pale, low-opacity linework (by design, to stay subtle
     within the full-color logo), so it barely shows against a near-white
     backdrop in either theme. A tan this much darker roughly triples the
     luminance contrast against that pale linework while still reading as a
     light, warm color the black feather shows clearly against too. */
  --oknahra-tan: #BFA073;

  /* Semantic tokens */
  --color-bg: var(--oknahra-cream);
  --color-surface: #FFFFFF;
  --color-text: #2A211C;
  --color-text-muted: #6B5E52;
  --color-heading: var(--oknahra-black);
  --color-accent: var(--oknahra-red);
  --color-accent-2: var(--oknahra-gold);
  --color-border: #E3D6BE;
  --color-link: var(--oknahra-red-dark);

  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius: 10px;
  --shadow-sm: 0 1px 3px rgba(27,23,20,0.08);
  --shadow-md: 0 6px 24px rgba(27,23,20,0.12);
  --container: 1180px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --color-bg: #171310;
    --color-surface: #221B16;
    --color-text: #F0E6D8;
    --color-text-muted: #C6B7A4;
    --color-heading: #FAF5EA;
    --color-border: #3A2F26;
    --color-link: var(--oknahra-gold-light);
  }
}
:root[data-theme="dark"] {
  --color-bg: #171310;
  --color-surface: #221B16;
  --color-text: #F0E6D8;
  --color-text-muted: #C6B7A4;
  --color-heading: #FAF5EA;
  --color-border: #3A2F26;
  --color-link: var(--oknahra-gold-light);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--color-link); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-heading);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}
h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--oknahra-red-dark);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--oknahra-gold);
  display: inline-block;
}

/* ---------- Header / Nav ----------
   The header is intentionally NOT theme-driven: the logo file is dark
   text/art on a transparent ground with no dark-mode variant, so the bar
   behind it stays a fixed light color in both light and dark mode (a
   common pattern for brand headers whose mark can't invert). Every color
   below is a literal, not a --color-* token, on purpose. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #FFFFFF;
  border-bottom: 3px solid var(--oknahra-red);
  box-shadow: 0 1px 3px rgba(27,23,20,0.14);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--container);
  margin: 0 auto;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--oknahra-black);
}
.brand-mark {
  height: 52px;
  width: auto;
  flex: none;
}
@media (max-width: 480px) {
  .brand-mark { height: 42px; }
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.main-nav a {
  text-decoration: none;
  color: #2A211C;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 12px;
  border-radius: 6px;
  transition: background .15s ease, color .15s ease;
}
.main-nav a:hover, .main-nav a[aria-current="page"] {
  background: #F0E6D2;
  color: var(--oknahra-red-dark);
}
.nav-cta {
  background: var(--oknahra-red) !important;
  color: #fff !important;
}
.nav-cta:hover {
  background: var(--oknahra-red-dark) !important;
  color: #fff !important;
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #E3D6BE;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 1.2rem;
  color: #2A211C;
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FFFFFF;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 16px 16px;
    border-bottom: 3px solid var(--oknahra-red);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 10px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--oknahra-red);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--oknahra-red-dark); box-shadow: var(--shadow-md); }
.btn-gold {
  background: var(--oknahra-gold);
  color: var(--oknahra-black);
}
.btn-gold:hover { background: var(--oknahra-gold-light); }
.btn-outline {
  background: transparent;
  border-color: currentColor;
  color: var(--color-heading);
}
.btn-outline:hover { background: var(--color-heading); color: var(--color-bg); }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 18px; font-size: 0.82rem; }
.btn[aria-disabled="true"] {
  opacity: .55;
  pointer-events: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(201,150,44,0.20), transparent 60%),
    linear-gradient(180deg, var(--oknahra-cream) 0%, var(--color-bg) 100%);
  border-bottom: 1px solid var(--color-border);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 72px 24px 64px;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding: 48px 24px; }
}
.hero-art {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-md);
  background: linear-gradient(160deg, var(--oknahra-red) 0%, var(--oknahra-red-dark) 55%, var(--oknahra-black) 100%);
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.stat {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 18px 14px;
  text-align: center;
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--oknahra-red-dark);
}
.stat span {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}
.stat-cta strong {
  font-size: 1.05rem;
  line-height: 1.25;
}

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section-alt { background: var(--color-surface); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.section-head {
  max-width: 720px;
  margin: 0 0 40px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: 10px; }

/* ---------- Motif divider (original geometric pattern, not tribe-specific regalia) ---------- */
.motif-divider {
  height: 14px;
  background: repeating-linear-gradient(
    45deg,
    var(--oknahra-red) 0 10px,
    var(--oknahra-black) 10px 20px,
    var(--oknahra-yellow) 20px 30px
  );
}

/* ---------- Board / people ---------- */
.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}
.person {
  text-align: left;
}
.person-photo {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--oknahra-cream-dark);
  border: 1px solid var(--color-border);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  text-align: center;
  padding: 10px;
}
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person h3 { margin-bottom: 2px; font-size: 1.08rem; }
.person .role {
  display: block;
  font-weight: 700;
  color: var(--oknahra-red-dark);
  font-size: 0.85rem;
  margin-bottom: 8px;
}
.person p { font-size: 0.92rem; color: var(--color-text-muted); }
.person.vacant .person-photo { border-style: dashed; }
.person.vacant .role, .person.vacant h3 { color: var(--color-text-muted); }

/* ---------- Pricing / membership ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.price-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.price-card.featured {
  border-color: var(--oknahra-gold);
  box-shadow: 0 0 0 3px rgba(201,150,44,0.18), var(--shadow-md);
  position: relative;
}
.price-card.featured::before {
  content: "Most common";
  position: absolute;
  top: -13px;
  left: 26px;
  background: var(--oknahra-gold);
  color: var(--oknahra-black);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.price-amount {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--color-heading);
}
.price-amount small {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: 500;
}
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.92rem;
  flex: 1;
}
.price-card li { padding-left: 22px; position: relative; }
.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--oknahra-red);
  font-weight: 700;
}
.placeholder-note {
  font-size: 0.78rem;
  background: #FFF6E0;
  border: 1px dashed var(--oknahra-gold);
  color: #6B5B23;
  padding: 8px 10px;
  border-radius: 6px;
}
@media (prefers-color-scheme: dark) {
  .placeholder-note { background: #2A2410; color: var(--oknahra-gold-light); }
}

/* ---------- Sponsors ---------- */
.sponsor-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: center;
}
.logo-chip {
  background: #FFFFFF;
  border-radius: 10px;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0,0,0,.1);
  text-decoration: none;
  transition: box-shadow .15s ease;
}
.logo-chip:hover, .logo-chip:focus-visible {
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.logo-chip img { max-height: 56px; width: auto; display: block; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--oknahra-black);
  color: #E7DFD3;
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h4 {
  color: #fff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.site-footer a {
  color: #C9BBA6;
  text-decoration: none;
  display: block;
  padding: 4px 0;
  font-size: 0.92rem;
}
.site-footer a:hover { color: var(--oknahra-gold-light); }
.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #3A2F26;
  font-size: 0.8rem;
  color: #8C7E6E;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Utility ---------- */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--oknahra-red);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.page-hero {
  padding: 56px 0 40px;
  background: linear-gradient(180deg, var(--oknahra-cream-dark), var(--color-bg));
  border-bottom: 1px solid var(--color-border);
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 860px) {
  .page-hero-grid { grid-template-columns: 1fr; }
}
.media-banner {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
}
.media-banner img { width: 100%; height: 100%; object-fit: cover; }
.breadcrumb {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}
.breadcrumb a { color: var(--color-text-muted); }

table.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}
table.data-table th, table.data-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.92rem;
}
table.data-table th { background: var(--oknahra-cream-dark); }
table.data-table tr:last-child td { border-bottom: none; }

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--oknahra-cream-dark);
  color: var(--oknahra-red-dark);
}

.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.92rem; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--color-surface);
  color: var(--color-text);
}
.form-field textarea { min-height: 120px; resize: vertical; }
