:root {
  --cranberry: #7a1e22;
  --cranberry-deep: #5a1418;
  --cream: #faf6ef;
  --cream-2: #f3ece0;
  --ink: #2b2320;
  --mute: #7a6f66;
  --rule: #d9cfc0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--cream); color: var(--ink); }
body {
  font-family: 'Jost', system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}

img { display: block; max-width: 100%; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 40px 96px;
}

/* ——— TOP META BAR ——— */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 48px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mute);
}
.topbar .monogram {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--cranberry);
}
.topbar .date-tag { color: var(--ink); }

/* ——— HERO ——— */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 96px;
}
.hero-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--cream-2);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-photo .corner {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  pointer-events: none;
}

.hero-text { padding-right: 8px; text-align: center; }
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--cranberry);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before,
.eyebrow::after {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.class-of {
  margin-top: 28px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(28px, 3.2vw, 42px);
  letter-spacing: 0.02em;
  color: var(--ink);
  line-height: 1;
}
.class-of em {
  font-style: italic;
  font-weight: 400;
  color: var(--mute);
  padding: 0 10px;
}

.name {
  margin-top: 18px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  color: var(--cranberry);
  font-size: clamp(56px, 8.8vw, 124px);
  line-height: 0.92;
  letter-spacing: -0.01em;
}
.name .first {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.82em;
}
.name .mid {
  display: block;
  font-style: italic;
  font-weight: 300;
  font-size: 0.44em;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cranberry-deep);
  margin-top: 6px;
  margin-left: 4px;
}
.name .last {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.82em;
}

.school {
  margin: 0 auto;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  max-width: 420px;
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--mute);
}
.school strong {
  display: block;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.28em;
  color: var(--ink);
  margin-top: 6px;
}

/* ——— INTRO BLOCK ——— */
.intro {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 72px;
  padding: 64px 0 88px;
  border-top: 1px solid var(--rule);
}
.intro .label {
  font-size: 11px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--mute);
  padding-top: 12px;
}
.our-graduate {
  font-family: 'Allura', cursive;
  font-weight: 400;
  color: var(--cranberry);
  font-size: clamp(64px, 8vw, 108px);
  line-height: 0.95;
  margin-bottom: 28px;
  margin-top: -28px;
}
.intro p {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(22px, 2.1vw, 28px);
  line-height: 1.5;
  color: var(--ink);
  max-width: 620px;
}
.intro p em {
  color: var(--cranberry);
  font-style: italic;
}

/* ——— DETAILS ——— */
.details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: 96px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.detail {
  padding: 36px 28px;
  border-right: 1px solid var(--rule);
  text-align: center;
}
.detail:last-child { border-right: none; }
.detail .k {
  font-size: 10px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 14px;
}
.detail .v {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.25;
  color: var(--ink);
}
.detail .v .big {
  display: block;
  font-size: 40px;
  font-weight: 300;
  color: var(--cranberry);
  line-height: 1;
  margin-bottom: 6px;
}
.detail .v .sm {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 8px;
}

/* ——— GALLERY ——— */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 20px;
  margin-bottom: 96px;
}
.g-tile {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--cream-2);
}
.g-tile:nth-child(2) {
  aspect-ratio: 3 / 4;
  transform: translateY(-24px);
}
.g-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.g-caption {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mute);
}
.g-caption span:nth-child(2) {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--cranberry);
}

/* ——— COLLEGE ——— */
.college {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 72px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 96px;
}
.college .title {
  font-size: 11px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 18px;
}
.college h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1;
  color: var(--cranberry);
  letter-spacing: -0.01em;
}
.college h2 em {
  font-style: italic;
  color: var(--ink);
  display: block;
  font-size: 0.55em;
  margin-top: 10px;
  letter-spacing: 0.02em;
}
.college .go {
  margin-top: 24px;
  font-family: 'Allura', cursive;
  color: var(--cranberry);
  font-size: 56px;
  line-height: 1;
}
.college aside {
  border-left: 1px solid var(--rule);
  padding-left: 40px;
  overflow: hidden;
}
.college aside img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ——— REGISTRY CTA ——— */
.registry {
  text-align: center;
  padding: 24px 0 16px;
  margin-bottom: 48px;
}
.registry .script {
  font-family: 'Allura', cursive;
  color: var(--cranberry);
  font-size: clamp(56px, 7vw, 96px);
  line-height: 1;
  margin-bottom: 16px;
}
.registry p {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 22px;
  color: var(--ink);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.5;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 22px 42px;
  background: var(--cranberry);
  color: var(--cream);
  text-decoration: none;
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  transition: background 0.25s ease, transform 0.25s ease;
}
.btn:hover { background: var(--cranberry-deep); transform: translateY(-2px); }
.btn .arrow {
  width: 28px;
  height: 1px;
  background: currentColor;
  position: relative;
}
.btn .arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.registry-alt {
  margin-top: 28px;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--mute);
}

/* ——— FOOTER ——— */
footer {
  margin-top: 72px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mute);
}
footer .heart {
  color: var(--cranberry);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
}

/* ——— RESPONSIVE ——— */
@media (max-width: 860px) {
  .wrap { padding: 28px 22px 64px; }
  .topbar { font-size: 10px; letter-spacing: 0.22em; gap: 14px; flex-wrap: wrap; }
  .topbar .monogram { font-size: 20px; }
  .hero { grid-template-columns: 1fr; gap: 36px; margin-bottom: 64px; }
  .intro { grid-template-columns: 1fr; gap: 24px; padding: 40px 0 56px; }
  .intro .label { padding-top: 0; }
  .details { grid-template-columns: 1fr 1fr; }
  .detail { border-bottom: 1px solid var(--rule); }
  .detail:nth-child(even) { border-right: none; }
  .detail:nth-child(3),
  .detail:nth-child(4) { border-bottom: none; }
  .gallery { grid-template-columns: 1fr; }
  .g-tile:nth-child(2) { transform: none; }
  .college { grid-template-columns: 1fr; padding: 48px 0; }
  .college aside { border-left: none; border-top: 1px solid var(--rule); padding: 32px 0 0; }
}
