/* Alumni News hero — Alumni & Friends editorial style: cream paper, Fraunces display, fanned story cards */

.nh-hero {
  --nh-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --nh-ink: #1a1212;
  --nh-oxide: #551516;
  --nh-gold: #cb892c;
  --nh-gold-text: #8a5a17;
  --nh-green: #496049;
  --nh-muted: #6f6260;
  --nh-line: #e7dcd1;
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(circle at 92% 10%, rgba(203, 137, 44, 0.2), transparent 36%),
    radial-gradient(circle at 70% 100%, rgba(151, 115, 164, 0.12), transparent 40%),
    #fbf7f2;
  color: var(--nh-ink);
}

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

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

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

.nh-hero h1 {
  margin: 0 0 1.2rem;
  color: var(--nh-ink);
  font-family: var(--nh-serif);
  font-size: clamp(2.4rem, 4.8vw, 4rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.nh-hero h1 em {
  color: var(--nh-oxide);
  font-style: italic;
  font-weight: 500;
}

.nh-lead {
  max-width: 540px;
  margin: 0 0 1.6rem;
  color: var(--nh-muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.nh-search {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  max-width: 520px;
  margin-bottom: 1.5rem;
  padding: 0.35rem 0.35rem 0.35rem 1.1rem;
  border: 1px solid var(--nh-line);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(85, 21, 22, 0.08);
  color: var(--nh-muted);
}

.nh-search:focus-within {
  border-color: var(--nh-gold);
  box-shadow: 0 0 0 3px rgba(203, 137, 44, 0.18);
}

.nh-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 0.6rem 0.2rem;
  background: transparent;
  color: var(--nh-ink);
  font: inherit;
  font-size: 0.95rem;
}

.nh-search input:focus {
  outline: none;
}

.nh-search button {
  min-height: 42px;
  padding: 0 1.25rem;
  border: 0;
  border-radius: 999px;
  background: var(--nh-gold);
  color: #fff;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.nh-search button:hover {
  background: #a96e1f;
}

.nh-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.4rem;
}

.nh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.65rem 1.4rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

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

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

.nh-btn--primary:hover {
  background: #3a0d0e;
  color: #fff;
}

.nh-btn--outline {
  border-color: var(--nh-oxide);
  color: var(--nh-oxide);
}

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

.nh-link {
  color: var(--nh-oxide);
  font-weight: 700;
  text-decoration: none;
}

.nh-link:hover {
  color: var(--nh-gold-text);
}

.nh-count {
  margin: 2.2rem 0 0;
  padding-top: 1.3rem;
  border-top: 1px solid var(--nh-line);
  color: var(--nh-muted);
  font-size: 0.92rem;
}

.nh-count strong {
  margin-right: 0.3rem;
  color: var(--nh-oxide);
  font-family: var(--nh-serif);
  font-size: 1.8rem;
  vertical-align: -0.12em;
}

/* Fanned story cards — like prints laid on a desk */
.nh-fan {
  position: relative;
  height: clamp(380px, 38vw, 470px);
}

.nh-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(180px, 17vw, 228px);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 8px solid #fff;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 50px rgba(26, 18, 18, 0.18);
  color: #fff;
  text-decoration: none;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.nh-card img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
  object-position: top center;
}

.nh-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 2.5rem 0.9rem 0.85rem;
  border-radius: 0 0 12px 12px;
  background: linear-gradient(180deg, transparent, rgba(58, 13, 14, 0.85));
}

.nh-card__body small {
  color: #f0c98d;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nh-card__body strong {
  font-family: var(--nh-serif);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
}

.nh-card--1 {
  z-index: 3;
  transform: translate(-50%, -50%) rotate(-2deg);
}

.nh-card--2 {
  z-index: 2;
  transform: translate(-122%, -44%) rotate(-9deg);
}

.nh-card--3 {
  z-index: 1;
  transform: translate(22%, -56%) rotate(8deg);
}

.nh-fan--1 .nh-card--1 {
  transform: translate(-50%, -50%) rotate(-3deg);
}

.nh-fan--2 .nh-card--1 {
  transform: translate(-80%, -50%) rotate(-6deg);
}

.nh-fan--2 .nh-card--2 {
  transform: translate(-20%, -48%) rotate(6deg);
}

.nh-card:hover,
.nh-card:focus-visible {
  z-index: 4;
  box-shadow: 0 30px 60px rgba(26, 18, 18, 0.26);
}

.nh-card--1:hover,
.nh-card--1:focus-visible {
  transform: translate(-50%, -54%) rotate(0deg);
}

.nh-card--2:hover,
.nh-card--2:focus-visible {
  transform: translate(-122%, -48%) rotate(-4deg);
}

.nh-card--3:hover,
.nh-card--3:focus-visible {
  transform: translate(22%, -60%) rotate(3deg);
}

@media (max-width: 960px) {
  .nh-hero__grid {
    grid-template-columns: 1fr;
  }

  .nh-fan {
    height: 360px;
  }
}

@media (max-width: 560px) {
  .nh-fan {
    height: 300px;
  }

  .nh-card {
    width: 124px;
    border-width: 5px;
    border-radius: 14px;
  }

  .nh-card img {
    border-radius: 9px;
  }

  .nh-card__body {
    padding: 1.8rem 0.6rem 0.6rem;
  }

  .nh-card__body strong {
    font-size: 0.85rem;
  }

  .nh-card--2 {
    transform: translate(-105%, -46%) rotate(-9deg);
  }

  .nh-card--3 {
    transform: translate(5%, -54%) rotate(8deg);
  }

  .nh-search button {
    padding: 0 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nh-btn,
  .nh-card {
    transition: none;
  }
}
