/* ==========================================================================
   Greek InterVarsity at SDSU — site styles
   Rebuilt as a static site from the original Wix design.
   ========================================================================== */

/* --- Design tokens ------------------------------------------------------ */
:root {
  --navy:        #0B3C61;  /* primary brand navy: panels, headings, nav */
  --navy-soft:   #324158;  /* softer navy used for section headings */
  --lime:        #95C93D;  /* accent green: panels, buttons */
  --orange:      #E76127;  /* accent orange: panels, buttons, sub-headings */
  --ink:         #2F2E2E;  /* default body text */
  --link-active: #2979FF;  /* current page in the nav */
  --rsvp-red:    #EA0A0A;  /* RSVP link on the reunion panel */
  --white:       #FFFFFF;

  --container:   1020px;   /* 980px content column + 20px gutters */
  --header-h:    102px;

  --font-display: 'Archivo', 'Archivo Black', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Nunito Sans', 'Avenir Next', Avenir, 'Helvetica Neue', Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* --- Layout helpers ----------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

/* Display headings. The original uses Wix's "Horizon", an all-caps display
   face; Archivo (wide + black) is the closest freely licensed substitute, so
   the uppercase transform is applied explicitly here. */
.display {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 125%;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
  margin: 0;
}

/* --- Skip link ---------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* --- Site header -------------------------------------------------------- */
.site-header {
  background: var(--white);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-logo img { width: 173px; height: 65px; object-fit: contain; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 44px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a:hover { text-decoration: underline; }
.site-nav a[aria-current="page"] { color: var(--link-active); }

/* Mobile nav toggle — hidden on desktop, where the list is always shown. */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: var(--navy);
  font: inherit;
}

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-block;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--white);
  text-decoration: none;
  text-align: center;
  border: 0;
  transition: filter .15s ease;
}
.btn:hover { filter: brightness(1.08); }
.btn--navy   { background: var(--navy); }
.btn--lime   { background: var(--lime); }
.btn--orange { background: var(--orange); }
.btn--lg     { font-size: 23px; padding: 8px 26px; letter-spacing: 0.02em; }

/* --- Home: hero --------------------------------------------------------- */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 40px 0 68px;
}
.hero__title {
  font-size: 38px;
  line-height: 1.4;
  letter-spacing: 0.01em;
  text-align: center;
  color: var(--white);
  margin: 0 0 44px;
}
.hero__strip { width: 100%; max-width: 980px; margin: 0 auto 32px; }

.hero__panel {
  background: var(--lime);
  color: var(--white);
  width: 100%;
  max-width: 792px;
  margin-inline: auto;
  padding: 30px 32px;
  font-weight: 600;
}
.hero__panel p { margin: 0 0 18px; line-height: 1.42; }
.hero__panel p:last-child { margin-bottom: 0; }

/* --- Home: today's students -------------------------------------------- */
.students {
  padding: 48px 0 56px;
  text-align: center;
}
.students__title {
  font-size: 38px;
  letter-spacing: 1.9px;
  color: var(--navy);
  margin-bottom: 34px;
}
.students__hero { width: 100%; max-width: 797px; margin: 0 auto 30px; }
.students__copy {
  max-width: 797px;
  margin: 0 auto 32px;
  font-size: 15px;
  font-weight: 600;
  line-height: 2;
  letter-spacing: 1.2px;
  color: var(--navy);
  text-align: left;
}

/* Photo mosaic: two rows, flush (the original has no gutters). */
.mosaic {
  max-width: 797px;
  margin-inline: auto;
  display: grid;
  gap: 0;
}
.mosaic--pair   { grid-template-columns: 430fr 367fr; }
.mosaic--triple { grid-template-columns: repeat(3, 1fr); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic--pair img   { aspect-ratio: 430 / 310; }
.mosaic--triple img { aspect-ratio: 269 / 317; }

/* --- Home: reunion banner ---------------------------------------------- */
.reunion {
  position: relative;
  min-height: 728px;
  display: flex;
  align-items: center;
  background: var(--navy) center/cover no-repeat;
  background-image: url('../images/reunion-bg.jpg');
}
.reunion__panel {
  background: rgba(149, 201, 61, 0.65);
  color: var(--white);
  width: 100%;
  max-width: 427px;
  min-height: 306px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.reunion__title { font-size: 25px; margin-bottom: 18px; }
.reunion__when {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1.2px;
  margin: 0 0 22px;
}
.reunion__rsvp {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--rsvp-red);
  text-decoration: none;
}
.reunion__rsvp:hover { text-decoration: underline; }

/* --- Programs page ------------------------------------------------------ */
.programs { padding: 30px 0 60px; position: relative; }

/* Thin vertical rule running behind the alternating rows. */
.programs::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 90px;
  left: 50%;
  width: 1px;
  background: var(--navy);
  opacity: .55;
}

.program { margin-bottom: 56px; position: relative; }
.program__title {
  font-size: 30px;
  color: var(--navy-soft);
  margin-bottom: 14px;
}
.program__row {
  display: grid;
  grid-template-columns: 600fr 340fr;
  gap: 30px;
  align-items: start;
}
.program__row img { width: 100%; aspect-ratio: 600 / 273; object-fit: cover; }
.program__row p { margin: 0; font-weight: 500; line-height: 1.45; }

/* Reversed row: heading and copy right-aligned, image on the right. */
.program--flip .program__title { text-align: right; }
.program--flip .program__row { grid-template-columns: 340fr 600fr; }
.program--flip .program__row p { text-align: right; }
.program--flip .program__row .program__media { order: 2; }
.program--flip .program__row .program__text  { order: 1; }

/* --- Students page ------------------------------------------------------ */
.students-page { padding: 28px 0 60px; text-align: center; }
.students-page__lead {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 1.25px;
  color: var(--navy);
  margin: 0 0 22px;
  line-height: 1.35;
}
.groupme {
  background: var(--lime);
  color: var(--white);
  max-width: 568px;
  margin: 34px auto 0;
  padding: 20px 16px;
  font-size: 18px;
  letter-spacing: 0.9px;
}
.groupme a { color: var(--navy-soft); }

.chapters-heading {
  font-size: 18px;
  color: var(--navy);
  max-width: 568px;
  margin: 22px auto 8px;
}
.chapters-intro {
  max-width: 568px;
  margin: 0 auto 18px;
  color: var(--ink);
  line-height: 1.6;
}
.chapters {
  background: var(--navy);
  color: var(--white);
  max-width: 568px;
  margin-inline: auto;
  padding: 22px 34px 34px;
  text-align: left;
}
.chapters__kickoff {
  text-align: center;
  font-weight: 600;
  margin: 0 0 26px;
}
.chapters__group {
  font-size: 16px;
  text-align: center;
  color: var(--white);
  margin: 0 0 22px;
}
.chapter { margin-bottom: 22px; }
.chapter__name {
  font-weight: 700;
  text-decoration: underline;
  margin: 0;
}
.chapter ul { margin: 0; padding: 0; list-style: none; font-style: italic; }
.chapter li { overflow-wrap: anywhere; line-height: 1.7; }

/* Instagram handles: lime on navy clears AA contrast, and the underline plus a
   roomier line-height keeps them an obvious tap target on a phone. */
.leader__ig {
  color: var(--lime);
  font-style: normal;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.leader__ig:hover,
.leader__ig:focus-visible { color: var(--white); }

/* A second panel follows the first, so give its heading room to breathe. */
.chapters + .chapters-heading { margin-top: 40px; }

/* Navy on lime clears AA (5.8:1); white on lime would not. Lime also keeps this
   CTA distinct from the navy panel above it and the orange banner below. */
.btn--signup {
  margin-top: 26px;
  color: var(--navy);
  font-size: 17px;
  padding: 12px 30px;
}

.exec-banner {
  background: var(--orange);
  color: var(--white);
  max-width: 568px;
  margin: 34px auto 0;
  padding: 11px 16px;
  font-size: 18px;
}

/* Exec team: rebuilt from the old flattened collage so names and roles are real
   text. Members without a head shot yet get a blank placeholder circle. */
.exec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px 24px;
  max-width: 760px;
  margin: 30px auto 0;
  padding: 0;
  list-style: none;
}
.exec-member__photo {
  display: block;
  width: 160px;
  max-width: 100%;
  aspect-ratio: 1;
  margin: 0 auto 12px;
  border-radius: 50%;
  object-fit: cover;
}
.exec-member__photo--empty { background: #E7EAEE; }
.exec-member__name {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  line-height: 1.3;
}
.exec-member__role {
  font-style: italic;
  color: var(--ink);
  margin: 2px 0 0;
  line-height: 1.3;
}

/* --- Alumni page -------------------------------------------------------- */
.alumni { padding: 34px 0 60px; text-align: center; }
.alumni__ask {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .3px;
  margin: 34px auto 22px;
  max-width: 840px;
  line-height: 1.35;
}
.alumni__panel {
  background: var(--orange);
  color: var(--white);
  text-align: left;
  padding: 30px 58px;
  margin: 40px 0 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 2;
}
.alumni__panel p { margin: 0 0 22px; }
.alumni__panel p:last-child { margin-bottom: 0; }

.happy-hour {
  display: grid;
  grid-template-columns: 496fr 484fr;
  gap: 40px;
  align-items: start;
  text-align: left;
  margin-top: 0;
}
.happy-hour img { width: 100%; aspect-ratio: 496 / 353; object-fit: cover; }
.happy-hour__intro {
  font-size: 15px;
  font-weight: 600;
  line-height: 2;
  color: var(--navy);
  margin: 0 0 14px;
}
.happy-hour__details { text-align: center; }
.happy-hour__title {
  font-size: 25px;
  color: var(--navy-soft);
  margin-bottom: 2px;
}
.happy-hour__date {
  font-size: 25px;
  color: var(--navy);
  margin-bottom: 10px;
}
.happy-hour__where {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 4px;
}
.happy-hour__directions {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 16px;
}

.memory-wall__title {
  font-size: 27px;
  color: var(--navy);
  text-align: left;
  margin: 40px 0 12px;
}
.memory-wall {
  display: grid;
  grid-template-columns: 347fr 731fr;
  gap: 0;
  align-items: stretch;
}
.memory-wall img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 731 / 350; }
.memory-wall__panel {
  background: var(--lime);
  color: var(--white);
  padding: 34px 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.memory-wall__panel h3 {
  font-size: 25px;
  font-weight: 700;
  margin: 0 0 18px;
  line-height: 1.3;
  font-family: var(--font-body);
}
.memory-wall__panel p {
  font-size: 15px;
  font-weight: 600;
  line-height: 2;
  margin: 0;
}
.memory-wall__panel a { color: var(--navy); }

/* --- Partner With Us page ---------------------------------------------- */
.partner { padding: 15px 0 60px; }
.partner__title {
  font-size: 35px;
  color: var(--navy);
  text-align: center;
  margin-bottom: 24px;
}
.partner__panel {
  background: var(--navy);
  color: var(--white);
  max-width: 841px;          /* the panel is inset from the content column */
  margin-inline: auto;
  padding: 40px 106px;       /* leaves a 629px inner card, as in the original */
}
.partner__panel > p {
  font-size: 15px;
  font-weight: 600;
  line-height: 2;
  margin: 0 0 22px;
}

.contacts { margin: 34px 0 44px; display: flex; gap: 40px; align-items: flex-start; }
.contacts__people { display: grid; gap: 34px; }
.contact { display: grid; grid-template-columns: 72px 1fr; gap: 34px; align-items: start; }
.contact img { width: 72px; height: 72px; object-fit: cover; }
.contact__lines { font-size: 15px; font-weight: 600; line-height: 1.95; }
.contact__lines a { color: var(--white); }
.contacts__qr { width: 109px; height: 109px; margin-left: auto; align-self: center; }

/* Partnership opportunity card */
.opportunity { margin-top: 10px; }
.opportunity__head {
  background: var(--orange);
  color: var(--white);
  padding: 12px 8px 12px 8px;
}
.opportunity__head strong { display: block; font-size: 18px; font-weight: 700; }
.opportunity__head em { display: block; font-size: 16px; font-weight: 600; }
.opportunity__body {
  background: var(--white);
  color: var(--ink);
  padding: 18px 12px 26px;
}
.opportunity__label {
  color: var(--orange);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 12px;
}
.opportunity__body p { font-size: 16px; margin: 0 0 16px; line-height: 1.45; }
.opportunity__figure { margin: 22px 0 30px; text-align: center; }
.opportunity__figure img { width: 583px; max-width: 100%; margin-inline: auto; }
.opportunity__figures {
  display: flex;
  gap: 26px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin: 22px 0 30px;
}
/* Displayed at the same sizes the original used. */
.opportunity__figures img:first-child { width: 283px; }
.opportunity__figures img:last-child  { width: 253px; }
.opportunity ul { margin: 0 0 18px; padding-left: 22px; }
.opportunity li { font-size: 16px; line-height: 1.5; }
.opportunity__cta {
  background: var(--lime);
  color: var(--white);
  font-style: italic;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  padding: 4px 10px;
  margin: 0 0 26px;
}
.opportunity__give { text-align: center; }

/* --- Blog page ---------------------------------------------------------- */
.blog { padding: 60px 0 90px; text-align: center; }
.blog__title { font-size: 30px; color: var(--navy); margin-bottom: 30px; }
.blog__empty { color: var(--ink); font-size: 16px; }
.blog__empty strong { display: block; font-size: 20px; margin-bottom: 8px; }

/* --- Event page --------------------------------------------------------- */
.event { padding: 50px 0 80px; }
.event__title { font-size: 35px; color: var(--navy); margin-bottom: 14px; }
.event__meta { font-size: 15px; font-weight: 600; color: var(--navy); margin: 0 0 26px; }
.event__body { font-size: 16px; font-weight: 500; max-width: 640px; line-height: 1.6; }
.event__section { margin-top: 34px; }
.event__section h2 { font-size: 20px; color: var(--navy); margin: 0 0 8px; font-family: var(--font-body); }
.event__closed {
  display: inline-block;
  margin-top: 22px;
  padding: 10px 22px;
  background: #DDD;
  color: #555;
  font-weight: 700;
  font-size: 15px;
}

/* --- Footer ------------------------------------------------------------- */
.site-footer {
  background: var(--white);
  padding: 30px 0 44px;
  font-size: 12px;
  color: var(--ink);
}
.site-footer .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
}
.site-footer .container::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -14px;
  bottom: -14px;
  width: 1px;
  background: #9A9A9A;
}
.site-footer__legal { line-height: 1.7; }
.site-footer__social { text-align: center; }
.site-footer__icons {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-bottom: 10px;
}
.site-footer__icons a { color: var(--ink); display: inline-flex; }
.site-footer__icons svg { width: 22px; height: 22px; fill: currentColor; }
.site-footer__note { letter-spacing: .6px; }

/* --- Responsive --------------------------------------------------------- */
@media (max-width: 1000px) {
  .partner__panel { padding: 34px 40px; }
  .alumni__panel { padding: 28px 34px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-header .container { flex-wrap: wrap; padding-block: 14px; }
  .site-nav {
    flex-basis: 100%;
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0 4px;
  }
  .site-nav a { font-size: 14px; }

  .hero__title { font-size: 30px; }
  .students__title { font-size: 30px; }
  .partner__title { font-size: 28px; }

  .program__row,
  .program--flip .program__row { grid-template-columns: 1fr; gap: 18px; }
  .program--flip .program__title { text-align: left; }
  .program--flip .program__row p { text-align: left; }
  .program--flip .program__row .program__media { order: 0; }
  .program--flip .program__row .program__text  { order: 1; }
  .programs::before { display: none; }

  .happy-hour { grid-template-columns: 1fr; gap: 24px; }
  .memory-wall { grid-template-columns: 1fr; }
  .memory-wall img { aspect-ratio: 16 / 9; }

  .exec-grid { gap: 28px 18px; }
  .exec-member__photo { width: 140px; }

  .contacts { flex-direction: column; gap: 26px; }
  .contacts__qr { margin-left: 0; }
  .partner__panel { padding: 26px 22px; }
  .opportunity__head, .opportunity__body { padding-inline: 14px; }
}

@media (max-width: 560px) {
  .hero__title { font-size: 24px; }
  .students__title { font-size: 24px; }
  .hero__panel { padding: 22px 20px; }
  .alumni__panel { padding: 22px 20px; line-height: 1.8; }
  .students__copy { line-height: 1.8; }
  .mosaic--triple { grid-template-columns: 1fr 1fr; }
  .mosaic--triple img:last-child { grid-column: span 2; aspect-ratio: 16 / 9; }
  .reunion { min-height: 520px; }
  .site-footer .container { grid-template-columns: 1fr; text-align: center; }
  .site-footer .container::before { display: none; }
  .memory-wall__title, .alumni__ask { text-align: center; }
  .contact { grid-template-columns: 72px 1fr; gap: 16px; }
  .chapters { padding: 22px 20px 30px; }
  .exec-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 14px; }
  .exec-member__photo { width: 128px; }
}
