/* =====================================================
   HOMEPAGE — loads after styles.css, on index.html only.
   ===================================================== */

.skip-link {
  position: fixed;
  top: var(--space-2);
  left: var(--space-2);
  z-index: 1100;
  padding: var(--space-2) var(--space-4);
  background: var(--gold-400);
  color: var(--green-900);
  font-weight: 600;
  border-radius: var(--radius-md);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }
main:focus { outline: none; }

/* ----- Hero ----- */
.home .hero-content {
  padding-block: calc(var(--nav-height) + var(--space-6)) var(--space-12);
}
.home .hero-inner {
  gap: var(--space-10);
}
@media (min-width: 1024px) {
  .home .hero-inner { grid-template-columns: minmax(0, 1fr); }
}

.home .hero-title {
  font-size: clamp(2.75rem, 4.5vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin-bottom: var(--space-4);
}
.hero-title span { display: block; }

.home .hero-description {
  line-height: 1.6;
  margin-bottom: 0;
}

/* ----- Campus strip: every society's own mark ----- */
.home .uni-marquee-track { gap: var(--space-6); }
.home .uni-marquee-item {
  gap: var(--space-3);
  font-size: var(--text-lg);
  font-style: normal;
  font-weight: 500;
  color: rgba(252,250,244,0.76);
}
.home .uni-marquee-item::after { margin-left: var(--space-3); }
.uni-marquee-item img {
  width: 40px;
  height: 40px;
  border-radius: 0;
}

/* ----- Coming up ----- */
.next-events { min-height: 26rem; }
.next-events li { border-top: 1px solid var(--color-border); }
.next-events li:last-child { border-bottom: 1px solid var(--color-border); }

.ev {
  display: grid;
  grid-template-columns: 7.75rem minmax(0, 1fr) 48px;
  gap: var(--space-4);
  align-items: center;
  padding-block: var(--space-4);
}
.ev-when { font-size: var(--text-sm); font-weight: 600; line-height: 1.35; color: var(--color-accent); white-space: nowrap; }
.ev-text { min-width: 0; }
.ev-title { display: block; font-size: var(--text-lg); font-weight: 600; line-height: 1.3; color: var(--color-text); transition: color var(--ease-fast); }
.ev-where { display: block; margin-top: 2px; font-size: var(--text-sm); line-height: 1.4; color: var(--color-text-muted); }
.ev-crest img { width: 48px; height: 48px; }
@media (hover: hover) and (pointer: fine) {
  .ev:hover .ev-title { color: var(--color-accent); }
}
@media (max-width: 559px) {
  .ev { grid-template-columns: minmax(0, 1fr) 48px; row-gap: var(--space-1); }
  .ev-when { grid-column: 1 / -1; }
}

.ev-bone {
  height: 5.25rem;
  background: linear-gradient(var(--cream-dark), var(--cream-dark)) center / 100% 2.75rem no-repeat;
}
.ev-empty { padding-block: var(--space-6); color: var(--color-text-muted); }

/* ----- What happens at an ABSoc ----- */
.home-life { background: var(--cream-dark); }
.life-list > div {
  display: grid;
  gap: var(--space-1);
  padding-block: var(--space-5);
  border-top: 1px solid var(--color-border);
}
.life-list > div:last-child { border-bottom: 1px solid var(--color-border); }
@media (min-width: 640px) {
  .life-list > div { grid-template-columns: 9rem minmax(0, 1fr); gap: var(--space-6); }
}
.life-list dt { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 600; line-height: 1.2; }

/* ----- The MSC and your local ABSoc ----- */
.levels { display: grid; gap: var(--space-8); }
@media (min-width: 640px) {
  .levels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.levels h3 { font-size: var(--text-2xl); margin-bottom: var(--space-2); }
.levels-note { margin-top: var(--space-8); }

/* ----- App and starting a society ----- */
.next-steps { display: grid; gap: var(--space-12); }
@media (min-width: 768px) {
  .next-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-16); }
}
.next-steps h2 { margin-bottom: var(--space-3); }
.next-steps p { max-width: 42ch; }
.next-steps .onward { display: inline-block; margin-top: var(--space-4); }
.store-badges { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); margin-top: var(--space-5); }
