:root {
  --accent: hsl(339, 100%, 27%);
  --accent-dark: hsl(339, 100%, 20%);
  --gold: hsl(51, 94%, 52%);
  --light: hsl(300, 2%, 92%);
  --black: #000;
  --white: #fff;
  --heading-font: "Josefin Sans", sans-serif;
  --body-font: "EB Garamond", Georgia, serif;
  --gutter: 4vw;
  --max-width: 1500px;
  --header-height: 60px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--body-font);
  font-size: 1.13rem;
  line-height: 2em;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

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

a { color: var(--accent); }

p { margin: 0 0 1rem; }

h1, h2, h3, h4 {
  font-family: var(--heading-font);
  font-style: italic;
  font-weight: 400;
  letter-spacing: .02em;
  line-height: 1.1em;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.6rem); margin-top: 2rem; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--white); color: var(--black); padding: .5rem 1rem; z-index: 100;
}
.skip-link:focus { left: 1rem; }

.container {
  width: 100%;
  max-width: calc(var(--max-width) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container--narrow { max-width: 760px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--accent);
  color: var(--white);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-height); gap: 2rem;
}
.site-title {
  color: var(--white); text-decoration: none;
  font-family: var(--heading-font);
  font-size: 1.5rem; letter-spacing: .13em; line-height: 1.5em;
  text-transform: uppercase;
}
.site-nav { display: flex; align-items: center; gap: 2.5rem; }
.site-nav ul { display: flex; gap: 1.2rem; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  color: var(--white); text-decoration: none;
  font-family: var(--heading-font);
  font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  padding-bottom: 2px; border-bottom: 1px solid transparent;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: currentColor; }

.social-links { display: flex; gap: .9rem; align-items: center; }
.social-links a { color: var(--white); display: inline-flex; border: 0; }
.social-links svg { width: 18px; height: 18px; fill: currentColor; }

.menu-toggle {
  display: none;
  background: none; border: 0; color: var(--white); cursor: pointer;
  width: 36px; height: 36px; padding: 6px;
}
.menu-toggle span { display: block; height: 1px; background: currentColor; margin: 6px 0; transition: transform .2s, opacity .2s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1000px) {
  .site-title { font-size: 1.1rem; min-width: 0; }
  .menu-toggle { display: block; }
  .site-nav {
    display: none;
    position: fixed; inset: var(--header-height) 0 0 0;
    background: var(--accent);
    flex-direction: column; justify-content: center; gap: 3rem;
  }
  .menu-open .site-nav { display: flex; }
  .site-nav ul { flex-direction: column; align-items: center; gap: 1.6rem; }
  .site-nav a { font-size: 1.6rem; }
  .social-links svg { width: 24px; height: 24px; }
}

/* Sections */
.section { padding: 6rem 0; }

.hero-image { width: 100%; height: auto; }

.hero-cover {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); text-align: center;
  background: #000 center / cover no-repeat;
}
.hero-cover::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .25); }
.hero-cover h1, .hero-cover h2 { position: relative; margin: 0; padding: 0 var(--gutter); }

.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.split + .split { margin-top: 7rem; }
.split--reverse > :first-child { order: 2; }
.split img { width: 100%; height: auto; }
@media (max-width: 767px) {
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split--reverse > :first-child { order: 0; }
  .split + .split { margin-top: 4rem; }
}

.page-title { text-align: center; color: var(--accent); margin-bottom: 4rem; }

.btn {
  display: inline-block;
  padding: .9rem 1.8rem;
  border: 2px solid var(--accent);
  background: transparent; color: var(--accent);
  font-family: var(--body-font); font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--accent); color: var(--white); }
.btn--solid { background: var(--accent); color: var(--white); }
.btn--solid:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn--inverse { border-color: var(--white); color: var(--white); }
.btn--inverse:hover { background: var(--white); color: var(--accent); }

/* Officers */
.officer-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 5rem 3rem;
}
@media (max-width: 1100px) { .officer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .officer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .officer-grid { grid-template-columns: 1fr; } }
.officer img { width: 72%; aspect-ratio: 3 / 4; object-fit: cover; margin-bottom: 1rem; }
@media (max-width: 520px) { .officer img { width: 100%; } }
.officer h2 { font-size: 1.15rem; margin-bottom: .75rem; }
.officer p { font-size: .9rem; line-height: 1.8; }
.officer a { color: var(--black); font-size: .9rem; }

/* Alumni marquee */
.marquee { overflow: hidden; white-space: nowrap; padding: 2rem 0; }
.marquee__track { display: inline-flex; animation: marquee 30s linear infinite; }
.marquee__track span {
  font-family: var(--heading-font); font-style: italic; font-weight: 700;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem); text-transform: uppercase; padding-right: 1.5em;
}
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* Forms */
.form { display: grid; gap: 1.6rem; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend, .form label { display: block; font-size: 1rem; line-height: 1.4; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form .row label { font-size: .9rem; }
.form .req { color: #777; font-size: .85em; }
.form input[type="text"], .form input[type="email"] {
  width: 100%; margin-top: .4rem;
  font: inherit; font-size: 1rem;
  border: 0; border-bottom: 1px solid #888; background: transparent;
  padding: .5rem 0;
}
.form input:focus { outline: none; border-color: var(--accent); }
.form .options { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .6rem; }
.form .option { position: relative; }
.form .option input { position: absolute; opacity: 0; }
.form .option span {
  display: inline-block; border: 1px solid #555; padding: .25rem .6rem; font-size: .9rem; line-height: 1.4; cursor: pointer;
}
.form .option input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--white); }
.form .option input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-status { font-size: 1rem; }
.form .botcheck { display: none; }
.form button { justify-self: start; }

/* Footer */
.footer-wave { display: block; width: 100%; height: 80px; margin-bottom: -1px; }
.footer-wave path { fill: var(--accent); }
.site-footer { background: var(--accent); color: var(--white); padding: 5rem 0 4rem; }
.site-footer .container {
  display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; justify-content: space-between;
}
.site-footer p { margin: 0; font-size: 1rem; }
.footer-right { display: flex; align-items: center; gap: 2rem; }
