:root {
  --green-dark: #143a2c;
  --green-mid: #1b4d3a;
  --gold: #b3892f;
  --cream: #faf7ef;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Playfair Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--cream);
  color: #1a1a1a;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px 0;
}

/* --- Header / branding --- */

.event-header {
  position: relative;
  text-align: center;
  margin-bottom: 20px;
  max-width: 420px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.flourish {
  position: absolute;
  top: -8px;
  color: var(--green-mid);
  opacity: 0.6;
}

.flourish-left {
  left: -8px;
  transform: scaleX(-1);
}

.flourish-right {
  right: -8px;
}

@media (max-width: 380px) {
  .flourish {
    width: 32px;
    height: 32px;
  }
}

.logo {
  max-width: 140px;
  max-height: 90px;
  object-fit: contain;
}

.college-photo-frame {
  width: 100%;
  max-width: 340px;
  border-radius: 50% 50% 8px 8px / 22% 22% 8px 8px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(20, 58, 44, 0.25);
  border: 3px solid var(--gold);
}

.college-photo-frame img {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.event-title {
  font-family: 'Dancing Script', cursive;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--green-dark);
  margin: 4px 0 0;
  line-height: 1;
}

.event-year {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--gold);
}

.subtitle-badge {
  background: var(--green-dark);
  color: var(--cream);
  font-family: 'Playfair Display', serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin: 4px 0 0;
}

.presented-by {
  font-size: 0.9rem;
  color: #444;
  margin: 0;
}

.details-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
  width: 100%;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--green-dark);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* --- Card / CTA --- */

.card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 12px;
  padding: 28px 20px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  border-top: 3px solid var(--gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.intro-text {
  margin: 0;
  color: #333;
  line-height: 1.5;
}

.cta {
  display: inline-block;
  min-height: 44px;
  line-height: 44px;
  padding: 0 28px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--cream);
  background: var(--green-dark);
  border-radius: 8px;
  text-decoration: none;
}

.cta:hover,
.cta:focus-visible {
  background: var(--green-mid);
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

/* --- Footer banner --- */

.footer-banner {
  width: 100%;
  margin-top: 32px;
  padding: 14px 16px;
  background: var(--green-dark);
  color: var(--cream);
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  letter-spacing: 0.04em;
}
