/* Alumni home — "Alumni & Friends" editorial identity: cream paper, oxide ink, gold accents, Fraunces display type */

.ae {
  --ae-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --ae-ink: #1a1212;
  --ae-oxide-deep: #3a0d0e;
  --ae-green: #496049;
  --ae-oxide: #551516;
  --ae-gold: #cb892c;
  --ae-gold-text: #8a5a17;
  --ae-cream: #fbf7f2;
  --ae-sand: #f3ebe1;
  --ae-line: #e7dcd1;
  --ae-muted: #6f6260;
}

.ae .ah-head h2 {
  font-family: var(--ae-serif);
  font-weight: 700;
}

/* Shared bits */
.ae-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.9rem;
  color: var(--ae-gold-text);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ae-kicker span {
  width: 28px;
  height: 2px;
  background: var(--ae-gold);
}

.ae-kicker--light {
  color: #f0c98d;
}

.ae-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.ae-head h2 {
  margin: 0;
  color: var(--ae-ink);
  font-family: var(--ae-serif);
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.ae-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.6rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.ae-btn:hover {
  transform: translateY(-1px);
}

.ae-btn--primary { background: var(--ae-oxide); color: #fff; }
.ae-btn--primary:hover { background: var(--ae-oxide-deep); color: #fff; }
.ae-btn--gold { background: var(--ae-gold); color: #fff; }
.ae-btn--gold:hover { background: #fff; color: var(--ae-oxide); }
.ae-btn--light { border-color: rgba(255, 255, 255, 0.55); color: #fff; background: transparent; }
.ae-btn--light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); color: #fff; }
.ae-btn--ghost { min-height: 40px; padding: 0.5rem 1.2rem; border-color: var(--ae-line); background: #fff; color: var(--ae-oxide); font-size: 0.86rem; }
.ae-btn--ghost:hover { border-color: var(--ae-oxide); background: var(--ae-oxide); color: #fff; }

.ae-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ae-oxide);
  font-weight: 700;
  text-decoration: none;
}

.ae-link svg {
  transition: transform 0.18s ease;
}

.ae-link:hover svg,
a:hover > .ae-link svg {
  transform: translateX(4px);
}

/* Hero — split editorial layout with an arch collage */
.ae-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5.5rem);
  background: var(--ae-oxide-deep);
  color: #fff;
}

/* Campus photo kept sharp and visible: dark oxide only behind the copy (left), opening up to the
   right so the students show through; a light bottom fade grounds the stats row. */
.ae-hero::before,
.ae-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

/* Still fallback under the slideshow (also what reduced-motion visitors see) */
.ae-hero::before {
  inset: -6px;
  background: url("../../wsu-pictures/wsu-site/hero-bg/slide4.jpg") center 35% / cover no-repeat;
  filter: blur(1.5px) saturate(1.05);
}

/* Auto slideshow: 5 WSU campus photos crossfade, 7s each (35s loop) with a slow zoom.
   Delays start 1.4s early so the first photo is already showing on load. */
.ae-hero__bg {
  position: absolute;
  inset: -6px;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.ae-hero__bg span {
  position: absolute;
  inset: 0;
  background: center 35% / cover no-repeat;
  filter: blur(1.5px) saturate(1.05);
  opacity: 0;
  animation: ae-hero-bg 35s linear infinite;
}

.ae-hero__bg span:nth-child(1) { background-image: url("../../wsu-pictures/wsu-site/hero-bg/slide4.jpg"); animation-delay: -1.4s; }
.ae-hero__bg span:nth-child(2) { background-image: url("../../wsu-pictures/wsu-site/hero-bg/slide1.jpg"); animation-delay: 5.6s; background-position: center 30%; }
.ae-hero__bg span:nth-child(3) { background-image: url("../../wsu-pictures/wsu-site/hero-bg/scene-ceremony.jpg"); animation-delay: 12.6s; background-position: center 25%; }
.ae-hero__bg span:nth-child(4) { background-image: url("../../wsu-pictures/wsu-site/hero-bg/slide3.jpg"); animation-delay: 19.6s; }
.ae-hero__bg span:nth-child(5) { background-image: url("../../wsu-pictures/wsu-site/hero-bg/student-affairs.jpg"); animation-delay: 26.6s; }

@keyframes ae-hero-bg {
  0%   { opacity: 0; transform: scale(1.08); }
  4%   { opacity: 1; }
  20%  { opacity: 1; }
  24%  { opacity: 0; transform: scale(1); }
  100% { opacity: 0; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .ae-hero__bg {
    display: none;
  }
}

.ae-hero::after {
  inset: 0;
  background:
    linear-gradient(180deg, transparent 55%, rgba(40, 9, 10, 0.55) 100%),
    radial-gradient(circle at 88% 12%, rgba(203, 137, 44, 0.22), transparent 40%),
    linear-gradient(90deg, rgba(40, 9, 10, 0.9) 0%, rgba(58, 13, 14, 0.78) 36%, rgba(85, 21, 22, 0.42) 68%, rgba(85, 21, 22, 0.28) 100%);
}

@media (max-width: 900px) {
  /* Stacked layout: copy sits over the whole photo, so keep the tint even for legibility */
  .ae-hero::after {
    background:
      radial-gradient(circle at 88% 8%, rgba(203, 137, 44, 0.2), transparent 40%),
      linear-gradient(180deg, rgba(40, 9, 10, 0.86) 0%, rgba(58, 13, 14, 0.72) 60%, rgba(40, 9, 10, 0.82) 100%);
  }
}

.ae-hero .ae-kicker {
  color: #f0c98d;
}

.ae-hero .ae-link {
  color: #fff;
}

.ae-hero .ae-btn--primary {
  background: var(--ae-gold);
}

.ae-hero .ae-btn--primary:hover {
  background: #fff;
  color: var(--ae-oxide);
}

.ae-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.ae-hero h1 {
  margin: 0 0 1.4rem;
  color: #fff;
  font-family: var(--ae-serif);
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.ae-hero h1 em {
  color: #f0c98d;
  font-style: italic;
  font-weight: 500;
}

.ae-hero__lead {
  max-width: 540px;
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
  line-height: 1.6;
}

.ae-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.6rem;
}

.ae-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.5rem;
  margin: 2.75rem 0 0;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.ae-hero__stats div {
  display: flex;
  flex-direction: column-reverse;
  max-width: 170px;
}

.ae-hero__stats dd {
  margin: 0;
  color: #f0c98d;
  font-family: var(--ae-serif);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}

.ae-hero__stats dt {
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
  line-height: 1.35;
}

.ae-hero__art {
  position: relative;
  min-height: 520px;
}

.ae-hero__arch {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 78%;
  overflow: hidden;
  border-radius: 999px 999px 28px 28px;
  box-shadow: 0 30px 60px rgba(85, 21, 22, 0.22);
}

.ae-hero__arch::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8px;
  background: url("../../wsu-pictures/wsu-site/sisulu-brand-band.svg") 0 0 / auto 100% repeat-x;
}

/* Arch slides crossfade; each photo's crop is set per slide in the page */
.ae-hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1s ease, transform 6s ease;
}

.ae-hero__slide.is-on {
  opacity: 1;
  transform: scale(1);
}

/* Chips: every slide's chip sits in the same grid cell and only the current one shows */
.ae-hero__chips {
  position: absolute;
  z-index: 1;
  display: grid;
}

.ae-hero__chips--now {
  left: 0;
  top: 18%;
}

.ae-hero__chips--next {
  left: 8%;
  bottom: 14%;
}

.ae-hero__face {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-self: start;
  padding: 0.45rem 1.2rem 0.45rem 0.45rem;
  border-radius: 999px;
  background: #fff;
  color: var(--ae-ink);
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(26, 18, 18, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
}

.ae-hero__face.is-on {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.ae-hero__face.is-on:hover {
  transform: translateY(-3px);
}

.ae-hero__face img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
}

.ae-hero__face span {
  display: flex;
  flex-direction: column;
  max-width: 170px;
  line-height: 1.25;
}

.ae-hero__face small {
  color: var(--ae-gold-text);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ae-hero__face strong {
  font-size: 0.86rem;
}

.ae-hero__chips--next .ae-hero__face {
  background: rgba(255, 255, 255, 0.86);
}

.ae-hero__dots {
  position: absolute;
  z-index: 1;
  right: 39%;
  bottom: -1.9rem;
  display: flex;
  gap: 0.45rem;
  transform: translateX(50%);
}

.ae-hero__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
}

.ae-hero__dot.is-on {
  width: 24px;
  border-color: var(--ae-gold);
  border-radius: 999px;
  background: var(--ae-gold);
}

.ae-hero__badge {
  position: absolute;
  z-index: 1;
  right: -0.5rem;
  top: 6%;
  display: grid;
  place-content: center;
  width: 128px;
  height: 128px;
  margin: 0;
  border-radius: 50%;
  background: var(--ae-gold);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  transform: rotate(-8deg);
  box-shadow: 0 14px 30px rgba(203, 137, 44, 0.35);
}

.ae-hero__badge strong {
  display: block;
  font-family: var(--ae-serif);
  font-size: 2.3rem;
  line-height: 1;
}

/* What's on */
.ae-whatson {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--ae-sand);
}

.ae-events {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ae-event {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 1.25rem 1rem 1rem;
  border-radius: 18px;
  background: #fff;
}

.ae-event__date {
  display: grid;
  place-content: center;
  width: 72px;
  height: 72px;
  border-radius: 14px;
  background: var(--ae-oxide);
  color: #f0c98d;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.ae-event__date strong {
  color: #fff;
  font-family: var(--ae-serif);
  font-size: 1.9rem;
  letter-spacing: 0;
  line-height: 1;
}

.ae-event h3 {
  margin: 0 0 0.25rem;
  color: var(--ae-ink);
  font-family: var(--ae-serif);
  font-size: 1.25rem;
  font-weight: 600;
}

.ae-event p {
  margin: 0;
  color: var(--ae-muted);
  font-size: 0.92rem;
}

/* Quote band — warm sand, oversized gold quotation mark, green campus card */
.ae-quote {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  background: var(--ae-sand);
  color: var(--ae-muted);
}

.ae-quote::before {
  content: "\201C";
  position: absolute;
  top: 0.02em;
  left: clamp(-1rem, 2vw, 2rem);
  color: rgba(203, 137, 44, 0.16);
  font-family: var(--ae-serif);
  font-size: clamp(16rem, 30vw, 28rem);
  line-height: 1;
  pointer-events: none;
}

.ae-quote__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.ae-quote h2 {
  margin: 0 0 1.4rem;
  color: var(--ae-oxide);
  font-family: var(--ae-serif);
  font-size: clamp(2.2rem, 4.6vw, 3.7rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.ae-quote h2 em {
  color: var(--ae-gold);
}

.ae-quote__copy > p:not(.ae-kicker) {
  max-width: 620px;
  margin: 0 0 2rem;
  font-size: 1.08rem;
  line-height: 1.65;
}

.ae-quote__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.ae-btn--outline {
  border-color: var(--ae-oxide);
  color: var(--ae-oxide);
  background: transparent;
}

.ae-btn--outline:hover {
  background: var(--ae-oxide);
  color: #fff;
}

.ae-quote__card {
  padding: clamp(1.75rem, 3vw, 2.4rem);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(203, 137, 44, 0.35), transparent 50%),
    var(--ae-green);
  color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 24px 48px rgba(73, 96, 73, 0.25);
}

.ae-quote__card-title {
  margin: 0 0 1.4rem;
  color: #fff;
  font-family: var(--ae-serif);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.2;
}

.ae-quote__card-title strong {
  display: block;
  color: #f0c98d;
  font-size: 3.4rem;
  line-height: 1;
}

.ae-quote__campuses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin: 0 0 1.4rem;
  padding: 0;
  list-style: none;
}

.ae-quote__campuses li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.8rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
}

.ae-quote__campuses svg {
  flex-shrink: 0;
  color: #f0c98d;
}

.ae-quote__card-note {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

/* Pathways — bento grid */
.ae-paths {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  background: var(--ae-cream);
}

.ae-paths__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(220px, auto);
  gap: 1.25rem;
}

.ae-path {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  overflow: hidden;
  padding: 1.6rem;
  border: 1px solid var(--ae-line);
  border-radius: 22px;
  background: #fff;
  color: var(--ae-ink);
  text-decoration: none;
  isolation: isolate;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ae-path:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(85, 21, 22, 0.12);
}

.ae-path--fund {
  grid-column: span 2;
  grid-row: span 2;
}

.ae-path--careers,
.ae-path--chapters,
.ae-path--faculties {
  grid-column: span 2;
}

.ae-path--careers {
  border-color: transparent;
  background: var(--ae-green);
  color: #fff;
}

.ae-path--photo {
  justify-content: flex-end;
  border-color: transparent;
  color: #fff;
}

.ae-path__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.ae-path--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(58, 13, 14, 0) 25%, rgba(58, 13, 14, 0.86) 100%);
}

.ae-path--photo:hover .ae-path__photo {
  transform: scale(1.04);
}

.ae-path__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--ae-sand);
  color: var(--ae-oxide);
}

.ae-path--careers .ae-path__icon {
  background: rgba(255, 255, 255, 0.1);
  color: var(--ae-gold);
}

.ae-path__body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.ae-path__body strong {
  font-family: var(--ae-serif);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.15;
}

.ae-path--fund .ae-path__body strong {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
}

.ae-path__body > span {
  max-width: 420px;
  color: inherit;
  opacity: 0.78;
  line-height: 1.5;
}

.ae-path__body > .ae-path__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.4rem;
  color: var(--ae-gold-text);
  font-weight: 700;
  opacity: 1;
}

.ae-path--photo .ae-path__cta,
.ae-path--careers .ae-path__cta {
  color: #f0c98d;
}

/* Responsive */
@media (max-width: 1000px) {
  .ae-hero__grid,
  .ae-quote__grid {
    grid-template-columns: 1fr;
  }

  .ae-hero__art {
    min-height: 420px;
  }

  .ae-paths__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ae-path--fund {
    grid-row: span 1;
    min-height: 320px;
  }
}

@media (max-width: 680px) {
  .ae-hero__art {
    min-height: 360px;
  }

  .ae-hero__arch {
    width: 86%;
  }

  .ae-hero__chips--next .ae-hero__face span {
    display: none;
  }

  .ae-hero__chips--next .ae-hero__face {
    padding: 0.35rem;
  }

  .ae-hero__face img {
    width: 46px;
    height: 46px;
  }

  .ae-hero__face span {
    max-width: 130px;
  }

  .ae-hero__badge {
    right: 0;
    width: 104px;
    height: 104px;
    font-size: 0.7rem;
  }

  .ae-event {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .ae-event .ae-btn {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .ae-paths__grid {
    grid-template-columns: 1fr;
  }

  .ae-path--fund,
  .ae-path--careers,
  .ae-path--chapters,
  .ae-path--faculties {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ae-btn,
  .ae-hero__face,
  .ae-hero__slide,
  .ae-hero__dot,
  .ae-path,
  .ae-path__photo,
  .ae-link svg {
    transition: none;
  }
}
