:root {
  --ink: #17223b;
  --muted: #5d6576;
  --navy: #101f55;
  --blue: #164ca3;
  --yellow: #ffd83d;
  --paper: #ffffff;
  --mist: #f4f6fa;
  --line: #dfe4ed;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.025em; }
h2 { margin-bottom: 1rem; font-size: clamp(2rem, 4vw, 3.35rem); }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  padding: .7rem 1rem;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: .75rem max(1.25rem, calc((100vw - var(--max)) / 2));
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; font-weight: 850; }
.brand img { border-radius: 10px; }
nav { display: flex; align-items: center; gap: 1.5rem; font-size: .92rem; font-weight: 700; }
nav a { text-decoration: none; }
nav a:hover, nav a:focus-visible { color: var(--blue); }

.hero {
  position: relative;
  min-height: 590px;
  display: grid;
  align-items: end;
  background: url("/assets/mcpherson-campus.jpg") center 43% / cover no-repeat;
  isolation: isolate;
}
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 18, 56, .92) 0%, rgba(8, 18, 56, .65) 50%, rgba(8, 18, 56, .15) 100%); }
.hero-content { width: min(var(--max), calc(100% - 2.5rem)); margin: 0 auto; padding: 8rem 0 5.5rem; color: white; }
.hero h1 { max-width: 850px; margin-bottom: 1rem; font-size: clamp(3rem, 7vw, 6.5rem); }
.hero-content > p:not(.eyebrow) { max-width: 700px; font-size: clamp(1.15rem, 2vw, 1.55rem); color: #f1f4ff; }
.eyebrow { margin-bottom: .75rem; color: var(--blue); font-size: .78rem; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }
.hero .eyebrow { color: var(--yellow); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: .75rem 1.25rem; border: 2px solid transparent; border-radius: 999px; text-decoration: none; font-weight: 850; }
.button-primary { background: var(--yellow); color: var(--navy); }
.button-primary:hover, .button-primary:focus-visible { background: #ffe77f; }
.button-secondary { border-color: rgba(255,255,255,.75); color: white; }

.section-shell, .notice-wrap { width: min(var(--max), calc(100% - 2.5rem)); margin: 0 auto; }
.notice-wrap { padding: 5.5rem 0; }
.section-heading { max-width: 680px; }
.notice-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.25rem; margin-top: 2rem; }
.notice { padding: 1.6rem; border: 1px solid var(--line); border-left: 6px solid var(--yellow); border-radius: 12px; background: var(--paper); box-shadow: 0 14px 38px rgba(16,31,85,.08); }
.notice-urgent { background: var(--navy); color: white; border-color: var(--navy) var(--navy) var(--navy) var(--yellow); }
.notice h3 { margin-bottom: .7rem; font-size: 1.45rem; }
.notice p:last-child { margin-bottom: 0; }
.notice-label { margin-bottom: .5rem; color: var(--blue); font-size: .72rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.notice-urgent .notice-label { color: var(--yellow); }

.involved { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 7vw, 7rem); padding: 6rem 0; border-top: 1px solid var(--line); }
.section-intro { max-width: 510px; color: var(--muted); font-size: 1.1rem; }
.text-link { color: var(--blue); font-weight: 850; text-underline-offset: .25rem; }
.activity-list { border-top: 1px solid var(--ink); }
.activity-list article { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.activity-list time { color: var(--blue); font-size: .78rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.activity-list h3 { margin: .45rem 0; font-size: 1.55rem; }
.activity-list p { margin-bottom: 0; color: var(--muted); }

.events { padding: 6rem 0; background: var(--navy); color: white; }
.events .eyebrow { color: var(--yellow); }
.events-heading > p:last-child { color: #cbd3ef; }
.event-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 2.5rem; overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; background: rgba(255,255,255,.18); }
.event-grid article { display: grid; grid-template-columns: 78px 1fr; gap: 1rem; padding: 1.4rem; background: var(--navy); }
.event-date { margin: 0; text-align: center; }
.event-date strong, .event-date span { display: block; }
.event-date strong { color: var(--yellow); font-size: .72rem; letter-spacing: .15em; }
.event-date span { font-size: 2rem; font-weight: 900; }
.event-grid h3 { margin: .2rem 0 .45rem; }
.event-grid article p:last-child { margin-bottom: 0; color: #cbd3ef; }

.membership { display: grid; grid-template-columns: 240px 1fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); padding: 6rem 0; }
.membership img { border-radius: 28px; box-shadow: 0 18px 45px rgba(16,31,85,.13); }
.membership > div { max-width: 720px; }
.price { color: var(--blue); font-size: 1.15rem; font-weight: 850; }
.membership .text-link { margin-left: .4rem; }

footer { display: flex; justify-content: space-between; gap: 2rem; padding: 3rem max(1.25rem, calc((100vw - var(--max)) / 2)); background: #091337; color: white; }
footer p { margin: .35rem 0 0; color: #bdc7e7; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: start; }
.footer-links a { color: white; font-weight: 700; text-underline-offset: .25rem; }

.page-hero { padding: clamp(5rem, 10vw, 9rem) 0; background: var(--navy); color: white; }
.page-hero-inner { width: min(var(--max), calc(100% - 2.5rem)); margin: 0 auto; }
.page-hero .eyebrow { color: var(--yellow); }
.page-hero h1 { max-width: 940px; margin-bottom: 1rem; font-size: clamp(3rem, 7vw, 6rem); }
.page-hero-inner > p:last-child { max-width: 760px; margin-bottom: 0; color: #d8def3; font-size: clamp(1.1rem, 2vw, 1.4rem); }
.content-section { padding-top: 6rem; padding-bottom: 6rem; }
.split-intro { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(2.5rem, 8vw, 8rem); }
.prose { color: var(--muted); }
.lead-copy { font-size: 1.08rem; }
.lead-copy strong { color: var(--ink); }
.reasons { padding: 6rem 0; background: var(--mist); }
.reason-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.reason-grid article { padding: 1.7rem; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.reason-grid h3 { margin-bottom: 1rem; color: var(--navy); font-size: 1.35rem; }
.reason-grid ul { margin: 0; padding-left: 1.2rem; color: var(--muted); }
.reason-grid li + li { margin-top: .55rem; }
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.5rem; }
.photo-grid figure, .board-photo-layout figure { margin: 0; }
.photo-grid img { width: 100%; height: 330px; object-fit: cover; border-radius: 14px; }
.photo-grid figcaption, .board-photo-layout figcaption { margin-top: .65rem; color: var(--muted); font-size: .9rem; font-weight: 700; }
.wide-heading { max-width: 780px; }
.board-section { margin-top: 3.5rem; }
.board-section > h3 { padding-bottom: .85rem; border-bottom: 3px solid var(--yellow); font-size: 1.65rem; }
.people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.person-card { min-height: 115px; padding: 1.35rem; background: var(--paper); }
.person-card dt { color: var(--blue); font-size: .75rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.person-card dd { margin: .4rem 0 0; color: var(--navy); font-size: 1.15rem; font-weight: 850; }
.person-card.vacant { background: var(--mist); }
.person-card.vacant dd { color: var(--muted); }
.board-photo-section { padding: 6rem 0; background: var(--mist); }
.board-photo-layout { display: grid; grid-template-columns: .7fr 1.3fr; align-items: center; gap: clamp(2rem, 7vw, 7rem); }
.board-photo-layout img { width: 100%; border-radius: 16px; box-shadow: 0 16px 42px rgba(16,31,85,.12); }

@media (max-width: 820px) {
  .site-header { align-items: flex-start; }
  nav { justify-content: flex-end; flex-wrap: wrap; gap: .65rem 1rem; }
  .hero { min-height: 520px; }
  .notice-grid, .involved, .event-grid, .split-intro, .board-photo-layout { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .people-grid { grid-template-columns: repeat(2, 1fr); }
  .membership { grid-template-columns: 150px 1fr; }
}

@media (max-width: 600px) {
  .site-header { display: block; }
  nav { justify-content: flex-start; margin-top: .9rem; }
  .hero { min-height: 570px; }
  .hero-content { padding-bottom: 3.5rem; }
  .hero-shade { background: linear-gradient(0deg, rgba(8,18,56,.95) 0%, rgba(8,18,56,.45) 100%); }
  .notice-wrap, .involved, .events, .membership { padding-top: 4rem; padding-bottom: 4rem; }
  .membership { grid-template-columns: 1fr; }
  .membership img { width: 135px; }
  .reason-grid, .photo-grid, .people-grid { grid-template-columns: 1fr; }
  .photo-grid img { height: auto; max-height: 520px; }
  footer { flex-direction: column; }
}

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