/* SAR Minimalist Design System
   Palette: #FFFFFF base · #F8F9FA subtle block · #050505 text · #18453B MSU Forest Green */

:root {
  --white: #FFFFFF;
  --off: #F8F9FA;
  --ink: #050505;
  --green: #18453B;
  --green-hover: #0f2e28;
  --rule: #E6E8EA;
  --muted: #5A5F63;
  --max: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Layout primitives ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.section { padding: 96px 0; }
.section.tight { padding: 64px 0; }
.section.alt { background: var(--off); }
.divider { border: 0; border-top: 1px solid var(--rule); margin: 0; }
.rule-green { border: 0; border-top: 1px solid var(--green); width: 48px; margin: 0 0 24px 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: clamp(44px, 6vw, 84px); line-height: 1.02; }
h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.1; margin-bottom: 24px; }
h3 { font-size: 22px; line-height: 1.3; margin-bottom: 10px; }
h4 { font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; font-weight: 600; }

.lede { font-size: 21px; line-height: 1.55; max-width: 780px; }
.muted { color: var(--muted); }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: var(--max);
  margin: 0 auto;
}
.brand {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand span { color: var(--green); }
.brand-logo {
  height: 32px;
  width: auto;
  display: block;
}
.foot-logo {
  height: 40px;
  width: auto;
  display: block;
  margin-bottom: 14px;
}
/* Hero mark — real logo replaces/augments the SVG sketch */
.hero-visual .hero-logo {
  width: 62%;
  height: auto;
  max-width: 360px;
}
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.nav-links a {
  position: relative;
  padding: 6px 0;
}
.nav-links a:hover { color: var(--green); }
.nav-links a.active {
  color: var(--green);
  font-weight: 700;
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--green);
}
/* Don't add the active underline to the filled CTA button */
.nav-links a.nav-cta.active::after { display: none; }
.nav-cta {
  background: var(--green);
  color: var(--white) !important;
  padding: 10px 20px !important;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
}
.nav-cta:hover { background: var(--green-hover); text-decoration: none; }

.nav-toggle { display: none; background: none; border: 0; font-size: 22px; cursor: pointer; color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 26px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 999px;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
}
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-hover); text-decoration: none; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--green); }
.btn-outline:hover { background: var(--green); color: var(--white); text-decoration: none; }

/* ---------- Hero ---------- */
.hero { padding: 120px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.hero h1 { margin-bottom: 28px; }
.hero p.lede { margin-bottom: 36px; color: #222; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual {
  aspect-ratio: 4/5;
  background: var(--off);
  border: 1px solid var(--rule);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-visual svg { width: 70%; height: auto; }

/* ---------- Mission block ---------- */
.mission { text-align: center; padding: 96px 0; }
.mission p { font-size: 22px; line-height: 1.6; max-width: 820px; margin: 0 auto; }

/* ---------- At-a-glance grid ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.stat {
  padding: 48px 32px;
  border-right: 1px solid var(--rule);
  text-align: center;
  background: var(--white);
}
.stat:last-child { border-right: 0; }
.stats .stat:first-child {
  border-top-left-radius: 18px;
  border-bottom-left-radius: 18px;
}
.stats .stat:last-child {
  border-top-right-radius: 18px;
  border-bottom-right-radius: 18px;
}
.stat .num { font-size: 48px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); display: block; margin-bottom: 8px; }
.stat .lbl { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* ---------- Two-column ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.two-col h3 { margin-bottom: 16px; }

/* ---------- Leadership grid ---------- */
.leaders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.leader {
  text-align: left;
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(24, 69, 59, 0.08) 0%, rgba(255, 255, 255, 1) 62%),
    var(--white);
  border: 1px solid var(--rule);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(5, 5, 5, 0.05);
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.leader .name {
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.leader .role {
  color: var(--green);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.advisor-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  padding: 40px;
  border: 1px solid var(--rule);
  border-radius: 18px;
  background: var(--white);
  margin-top: 24px;
}
.advisor-card .portrait {
  aspect-ratio: 1/1;
  background: var(--off);
  border: 1px solid var(--rule);
  border-radius: 18px;
}
.advisor-card h3 { margin-bottom: 6px; }
.advisor-card .title { color: var(--muted); font-size: 15px; margin-bottom: 14px; }

/* ---------- Divisions list (Join page) ---------- */
.divisions {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  border-top: 1px solid var(--rule);
}
.division-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.division-row .d-num {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 700;
  display: inline-block;
  min-width: fit-content;
  padding-top: 10px;
}
.division-row .d-body h3 {
  font-size: 26px;
  margin: 0;
}
.division-row .d-body {
  min-width: 0;
  align-self: start;
}
.division-row .d-body summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 18px 54px 18px 20px;
  background:
    linear-gradient(145deg, rgba(24, 69, 59, 0.96) 0%, rgba(15, 46, 40, 1) 100%);
  border-radius: 18px;
  box-shadow: 0 16px 32px rgba(24, 69, 59, 0.18);
}
.division-row .d-body summary::-webkit-details-marker {
  display: none;
}
.division-row .d-body summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  font-size: 28px;
  line-height: 1;
  font-weight: 400;
}
.division-row .d-body[open] summary::after {
  content: "−";
}
.division-row .d-body summary h3 {
  color: var(--white);
}
.division-row .d-body p.d-desc {
  color: var(--ink);
  font-size: 17px;
  margin: 18px 0 14px;
  max-width: 820px;
}
.division-row .d-body[open] summary {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.division-row .d-body[open] {
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(5, 5, 5, 0.06);
  overflow: hidden;
}
.division-row .d-body[open] p.d-desc,
.division-row .d-body[open] .d-subs {
  padding-left: 20px;
  padding-right: 20px;
}
.division-row .d-body[open] .d-subs {
  padding-bottom: 20px;
}
.division-row .d-subs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.division-row .d-subs li {
  font-size: 13px;
  color: var(--muted);
  background: var(--off);
  border: 1px solid var(--rule);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 500;
}
@media (max-width: 700px) {
  .division-row { grid-template-columns: 1fr; gap: 10px; }
}

/* ---------- Capability list ---------- */
.cap-list {
  padding: 0;
  margin: 36px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.cap-item {
  border: 0;
  background: transparent;
}
.cap-item summary {
  list-style: none;
}
.cap-item summary::-webkit-details-marker {
  display: none;
}
.cap-list .cap-label {
  background: var(--green);
  color: var(--white);
  border: 1px solid var(--green);
  box-shadow: 0 18px 40px rgba(24, 69, 59, 0.18);
  border-radius: 18px;
  padding: 24px 56px 24px 24px;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
}
.cap-list .cap-label::before {
  display: none;
}
.cap-list .cap-label::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
}
.cap-item[open] .cap-label::after {
  content: "−";
}
.cap-list .cap-body {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.72;
  background: var(--white);
  border: 1px solid var(--rule);
  border-top: 0;
  padding: 24px;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  box-shadow: 0 18px 40px rgba(5, 5, 5, 0.05);
}
.cap-item[open] .cap-label {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.cap-list .cap-body p {
  margin: 0;
}

/* ---------- Tracks (accordion / grid) ---------- */
.tracks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
.track {
  padding: 40px;
  border: 1px solid var(--rule);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(5, 5, 5, 0.04);
}
.track .num {
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}
.track h3 { margin-bottom: 10px; }
.track p { color: var(--muted); font-size: 15px; }

/* ---------- Timeline ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.step {
  padding: 40px 32px;
  border: 1px solid var(--rule);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(5, 5, 5, 0.04);
  position: relative;
}
.step .step-num {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 14px;
  display: inline-block;
  background: var(--green);
  padding: 8px 12px;
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(24, 69, 59, 0.16);
}
.step h3 { margin-bottom: 8px; font-size: 20px; }
.step p { color: var(--muted); font-size: 15px; }
.step .step-date {
  margin-top: 14px;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- Tiers table ---------- */
.tiers { width: 100%; border-collapse: collapse; margin-top: 32px; }
.tiers th, .tiers td {
  text-align: left;
  padding: 22px 20px;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
  font-size: 15px;
}
.tiers th {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.tiers td.tier-name { font-weight: 700; color: var(--ink); width: 180px; }
.tiers td.tier-price { font-weight: 600; color: var(--green); width: 140px; }
.tiers td.tier-perks ul { list-style: none; padding: 0; margin: 0; }
.tiers td.tier-perks li { padding: 4px 0; color: var(--ink); }
.tiers td.tier-perks strong { font-weight: 700; }

/* ---------- Value props (sponsors) ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.value {
  padding: 40px 32px;
  border: 1px solid var(--rule);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(5, 5, 5, 0.04);
}
.value .v-num { font-size: 13px; letter-spacing: 0.16em; color: var(--green); font-weight: 600; display: block; margin-bottom: 12px; }
.value h3 { margin-bottom: 10px; }
.value p { color: var(--muted); font-size: 15px; }

/* ---------- Contact form ---------- */
.form {
  display: grid;
  gap: 16px;
  max-width: 620px;
  margin-top: 32px;
}
.form input, .form textarea, .form select {
  font-family: inherit;
  font-size: 16px;
  padding: 14px 16px;
  border: 1px solid var(--rule);
  background: var(--white);
  color: var(--ink);
  border-radius: 2px;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none; border-color: var(--green);
}
.form textarea { min-height: 140px; resize: vertical; }
.form button { justify-self: start; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--ink);
  color: var(--white);
  padding: 72px 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.78); max-width: 640px; margin: 0 auto 28px; font-size: 18px; }
.cta-banner .btn-primary { background: var(--green); }
.cta-banner .btn-primary:hover { background: #1f5a4d; }

/* ---------- Footer ---------- */
footer {
  background: var(--green);
  color: var(--white);
  padding: 56px 0 32px;
}
footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
footer h4 { color: rgba(255,255,255,0.65); margin-bottom: 12px; }
footer a { color: var(--white); text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer ul { list-style: none; padding: 0; }
footer ul li { padding: 4px 0; font-size: 15px; }
.foot-brand { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.foot-copy { border-top: 1px solid rgba(255,255,255,0.2); margin-top: 40px; padding-top: 20px; font-size: 13px; color: rgba(255,255,255,0.7); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .two-col { grid-template-columns: 1fr; gap: 48px; }
  .stats, .timeline, .value-grid { grid-template-columns: 1fr; }
  .stat, .step, .value { border-right: 0; border-bottom: 1px solid var(--rule); }
  .stat:last-child, .step:last-child, .value:last-child { border-bottom: 0; }
  .tracks { grid-template-columns: 1fr; }
  .leaders { grid-template-columns: 1fr; }
  .advisor-card { grid-template-columns: 1fr; }
  .cap-list { grid-template-columns: 1fr; }
  footer .wrap { grid-template-columns: 1fr; gap: 32px; }
  .nav-links { display: none; position: absolute; top: 62px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 20px 32px; border-bottom: 1px solid var(--rule); gap: 16px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .tiers td.tier-name, .tiers td.tier-price { width: auto; }
  .section { padding: 72px 0; }
  .hero { padding: 72px 0; }
}
