@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Source+Serif+4:opsz,wght@8..60,600..800&display=swap");

:root {
  --ink: #1b2c35;
  --teal: #074a5b;
  --deep: #0f2731;
  --gold: #e09900;
  --gold-bright: #fcbe13;
  --aqua: #00abc4;
  --blue: #116dff;
  --orange: #ff6b30;
  --cream: #fff7ec;
  --paper: #ffffff;
  --soft: #f3fbfc;
  --muted: #65737b;
  --rule: rgba(7, 74, 91, 0.15);
  --shadow: 0 26px 70px rgba(7, 74, 91, 0.17);
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
  --fs-micro: clamp(9px, 0.72vw, 11px);
  --fs-body: clamp(16px, 1.2vw, 20px);
  --fs-lede: clamp(18px, 1.35vw, 24px);
  --fs-h2: clamp(34px, 3.35vw, 60px);
  --fs-h1: clamp(38px, 4.15vw, 70px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  font-family: var(--sans);
  background:
    radial-gradient(circle at 8% 4%, rgba(0, 171, 196, 0.18), transparent 30%),
    radial-gradient(circle at 96% 9%, rgba(224, 153, 0, 0.2), transparent 25%),
    linear-gradient(135deg, #f7feff 0%, #fff8ef 48%, #edf8fb 100%);
}
a { color: inherit; }

.deck-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 12px clamp(14px, 3vw, 42px);
  color: var(--teal);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(7, 74, 91, 0.12);
  backdrop-filter: blur(20px);
}
.nav-left, .nav-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.nav-brand, .pill, .counter, .nav-title, .kicker, .prepared-for, .eyebrow, .micro {
  font-size: var(--fs-micro);
  font-weight: 850;
  letter-spacing: 0.2em;
  line-height: 1;
  text-transform: uppercase;
}
.pill {
  padding: 10px 12px;
  border: 1px solid rgba(0, 171, 196, 0.2);
  border-radius: 999px;
  background: rgba(0, 171, 196, 0.08);
}
.deck-button {
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  color: white;
  font: 850 var(--fs-micro)/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--teal), var(--aqua));
  box-shadow: 0 12px 30px rgba(7, 74, 91, 0.2);
  cursor: pointer;
}
.deck-button.secondary { color: var(--teal); background: white; border: 1px solid rgba(7, 74, 91, 0.16); box-shadow: none; }
.deck-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(7, 74, 91, 0.08); }
.deck-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--gold), var(--aqua), var(--teal)); transition: width 220ms ease; }

.deck {
  width: min(1420px, calc(100% - clamp(20px, 4vw, 76px)));
  margin: clamp(24px, 4vw, 56px) auto 80px;
}
.slide {
  position: relative;
  overflow: hidden;
  min-height: min(760px, calc(100vh - 100px));
  margin: 0 0 clamp(26px, 4vw, 56px);
  padding: clamp(42px, 5vw, 78px);
  border: 1px solid rgba(7, 74, 91, 0.14);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  isolation: isolate;
}
.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 74, 91, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(7, 74, 91, 0.035) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(120deg, rgba(0,0,0,0.38), transparent 72%);
}
.slide.dark, .slide.navy {
  color: white;
  background:
    radial-gradient(circle at 78% 8%, rgba(0, 171, 196, 0.24), transparent 32%),
    radial-gradient(circle at 12% 90%, rgba(224, 153, 0, 0.24), transparent 26%),
    linear-gradient(135deg, var(--deep) 0%, var(--teal) 54%, #122832 100%);
}
.slide.gold {
  color: white;
  background:
    radial-gradient(circle at 88% 14%, rgba(255, 255, 255, 0.45), transparent 25%),
    linear-gradient(135deg, #d58a00 0%, #f0aa13 100%);
}
.slide.school-fit {
  color: var(--deep);
  background:
    radial-gradient(circle at 90% 15%, rgba(252, 190, 19, 0.28), transparent 30%),
    radial-gradient(circle at 7% 92%, rgba(7, 74, 91, 0.08), transparent 28%),
    linear-gradient(135deg, #fffaf0 0%, #fff3d5 42%, #ffffff 100%);
}
.slide.school-fit::after {
  content: "";
  position: absolute;
  right: clamp(-78px, -3.4vw, -36px);
  top: 48%;
  z-index: -1;
  width: clamp(300px, 25vw, 430px);
  height: clamp(430px, 38vw, 620px);
  background:
    radial-gradient(ellipse at 48% 50%, rgba(252, 190, 19, 0.24), transparent 62%),
    url("assets/seas-cross-watermark.svg") center / contain no-repeat;
  opacity: 0.2;
  filter: saturate(0.95);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 16%, #000 66%, transparent 96%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 16%, #000 66%, transparent 96%);
  transform: translateY(-45%) rotate(-6deg);
}
.slide.aqua { background: linear-gradient(135deg, #e4fbfa 0%, #ffffff 52%, #eaf7fb 100%); }

.slide-head, .cover-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: clamp(20px, 2.2vw, 32px);
  margin-bottom: clamp(28px, 3.1vw, 54px);
  border-bottom: 1px solid rgba(7, 74, 91, 0.14);
}
.dark .slide-head, .dark .cover-head, .navy .slide-head, .navy .cover-head, .gold .slide-head { border-color: rgba(255, 255, 255, 0.22); }
.school-fit .slide-head { border-color: rgba(7, 74, 91, 0.18); }
.prepared-for, .kicker, .eyebrow { color: rgba(7, 74, 91, 0.58); }
.dark .prepared-for, .dark .kicker, .dark .eyebrow, .navy .prepared-for, .navy .kicker, .gold .prepared-for, .gold .kicker { color: rgba(255, 255, 255, 0.7); }
.school-fit .prepared-for, .school-fit .kicker { color: rgba(7, 74, 91, 0.72); }
.school-fit .prepared-for strong { color: var(--teal); }
.prepared-for strong { font-family: var(--serif); font-size: clamp(13px, 1vw, 17px); letter-spacing: 0; text-transform: none; }

h1, h2, h3, p { margin-top: 0; }
h1, h2 { max-width: 1000px; font-family: var(--serif); font-weight: 760; letter-spacing: -0.045em; line-height: 1; }
h1 { margin-bottom: clamp(24px, 2.3vw, 34px); font-size: var(--fs-h1); }
h2 { margin-bottom: clamp(20px, 2vw, 32px); font-size: var(--fs-h2); }
h3 { margin-bottom: 12px; font-family: var(--serif); font-size: clamp(23px, 1.75vw, 31px); line-height: 1.04; letter-spacing: -0.028em; }
p, li { color: rgba(27, 44, 53, 0.76); font-size: var(--fs-body); font-weight: 650; line-height: 1.48; }
.dark p, .navy p, .gold p, .dark li, .navy li, .gold li { color: rgba(255, 255, 255, 0.8); }
.school-fit p, .school-fit li { color: rgba(15, 39, 49, 0.76); }
.lede { max-width: 880px; color: rgba(27, 44, 53, 0.78); font-size: var(--fs-lede); font-weight: 720; line-height: 1.34; }
.tight { max-width: 700px; }
.dark .lede, .navy .lede, .gold .lede { color: rgba(255, 255, 255, 0.84); }
.school-fit .lede { color: rgba(15, 39, 49, 0.78); }

.cover-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr); align-items: start; }
.recipient-block, .sender-block { display: grid; gap: 12px; }
.sender-block { justify-items: end; text-align: right; }
.label { color: rgba(255, 255, 255, 0.65); font-size: var(--fs-micro); font-weight: 850; letter-spacing: 0.22em; text-transform: uppercase; }
.recipient-logo-shell {
  position: relative;
  display: inline-grid;
  width: min(490px, 46vw);
  max-width: 100%;
  isolation: isolate;
}
.recipient-logo-shell::before {
  content: "";
  position: absolute;
  inset: -20px -48px -22px -20px;
  z-index: -1;
  background:
    radial-gradient(ellipse at 28% 48%, rgba(7, 74, 91, 0.82) 0 34%, rgba(7, 74, 91, 0.36) 58%, transparent 78%),
    radial-gradient(ellipse at 82% 52%, rgba(0, 171, 196, 0.13), transparent 64%);
  filter: blur(16px);
}
.recipient-logo {
  position: relative;
  z-index: 0;
  width: 100%;
  max-height: 92px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 16px 26px rgba(0,0,0,0.16));
}
.cover-slide h1 { max-width: 870px; }
.sender-logo { width: min(275px, 26vw); height: auto; filter: brightness(0) invert(1); opacity: 0.92; }
.sender-tagline, .recipient-meta { color: rgba(255, 255, 255, 0.65); font-size: var(--fs-micro); font-weight: 850; letter-spacing: 0.18em; text-transform: uppercase; }

.cover-grid, .split-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.82fr); gap: clamp(30px, 4vw, 68px); align-items: center; }
.cover-card {
  position: relative;
  min-height: 500px;
  padding: clamp(28px, 3.5vw, 48px);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(7, 74, 91, 0.68), rgba(0, 171, 196, 0.44)), url("assets/seas-community.jpg") center / cover;
  box-shadow: 0 28px 60px rgba(6, 28, 43, 0.28);
}
.cover-card::after { content: ""; position: absolute; right: -110px; bottom: -150px; width: 420px; height: 480px; background: url("assets/seas-crest.png") center / contain no-repeat; opacity: 0.14; transform: rotate(-8deg); }
.cover-card-inner {
  position: absolute;
  left: clamp(24px, 3vw, 42px);
  right: clamp(24px, 3vw, 42px);
  bottom: clamp(24px, 3vw, 42px);
  padding: clamp(22px, 2.3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 24px;
  color: white;
  background: rgba(15, 39, 49, 0.74);
  backdrop-filter: blur(16px);
}
.cover-card-inner strong { display: block; margin-bottom: 12px; font-family: var(--serif); font-size: clamp(28px, 2.6vw, 42px); line-height: 0.98; letter-spacing: -0.045em; }

.chips, .metric-row, .grid-2, .grid-3, .grid-4, .contact-grid { display: grid; gap: clamp(14px, 1.5vw, 22px); }
.chips { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(24px, 2.4vw, 36px); }
.chip { padding: 17px 18px; border: 1px solid rgba(255,255,255,0.18); border-radius: 18px; color: white; font-size: clamp(13px, 1vw, 15px); font-weight: 850; background: rgba(255,255,255,0.08); }
.metric-row { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(32px, 3vw, 52px); border: 1px solid var(--rule); }
.metric { min-height: 120px; padding: clamp(20px, 2vw, 28px); border-right: 1px solid var(--rule); }
.metric:last-child { border-right: 0; }
.metric strong { display: block; margin-bottom: 10px; color: var(--teal); font-family: var(--serif); font-size: clamp(31px, 3vw, 52px); line-height: 0.9; letter-spacing: -0.055em; }
.dark .metric strong, .navy .metric strong, .gold .metric strong { color: white; }
.metric span, .cell-index, .timeline-label { color: rgba(7, 74, 91, 0.58); font-size: var(--fs-micro); font-weight: 850; letter-spacing: 0.17em; line-height: 1.35; text-transform: uppercase; }
.dark .cell-index, .navy .cell-index, .gold .cell-index, .dark .timeline-label, .navy .timeline-label, .gold .timeline-label { color: rgba(255,255,255,0.7); }
.school-fit .timeline-label { color: rgba(7, 74, 91, 0.62); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cell, .proof-card, .time-option, .contact-card, .timeline-row {
  position: relative;
  padding: clamp(22px, 2.2vw, 32px);
  border: 1px solid rgba(7, 74, 91, 0.15);
  border-radius: 24px;
  background: rgba(255,255,255,0.68);
}
.dark .cell, .navy .cell, .gold .cell, .dark .time-option, .dark .contact-card { border-color: rgba(255,255,255,0.16); background: rgba(255,255,255,0.08); }
.cell p, .proof-card p, .timeline-row p { margin-bottom: 0; font-size: clamp(15px, 1.12vw, 19px); }
.dot { display: inline-block; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%; background: var(--gold); }

.ufg-bg::after, .crest-bg::after, .halo-bg::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.crest-bg::after { right: -160px; bottom: -190px; width: clamp(420px, 42vw, 640px); height: clamp(460px, 46vw, 700px); background-image: url("assets/seas-crest.png"); opacity: 0.065; transform: rotate(-9deg); }
.ufg-bg::after { left: -180px; bottom: -210px; width: clamp(420px, 38vw, 610px); height: clamp(520px, 46vw, 760px); background-color: rgba(0, 171, 196, 0.13); -webkit-mask: url("assets/ufg-mark.svg") center / contain no-repeat; mask: url("assets/ufg-mark.svg") center / contain no-repeat; transform: rotate(-13deg); }
.halo-bg::after { right: -120px; top: -110px; width: 360px; height: 360px; background: radial-gradient(circle, rgba(252, 190, 19, 0.2), transparent 58%); border-radius: 50%; }

.timeline { display: grid; border-top: 1px solid var(--rule); }
.timeline-row { display: grid; grid-template-columns: minmax(110px, 0.28fr) minmax(0, 1fr); gap: 22px; border-top: 0; border-left: 0; border-right: 0; border-radius: 0; background: transparent; }
.school-fit .timeline { border-color: rgba(7, 74, 91, 0.14); }
.school-fit .timeline-row { border-bottom-color: rgba(7, 74, 91, 0.14); }
.quote-card { padding: clamp(28px, 3vw, 44px); border-radius: 28px; background: radial-gradient(circle at 92% 18%, rgba(224,153,0,0.16), transparent 24%), linear-gradient(135deg, rgba(0,171,196,0.12), rgba(7,74,91,0.08)); }
.quote-card blockquote { margin: 0; font-family: var(--serif); font-size: clamp(30px, 3.3vw, 58px); font-weight: 750; letter-spacing: -0.05em; line-height: 1; }
.quote-card cite { display: block; margin-top: 20px; color: var(--muted); font-style: normal; font-weight: 800; }
.proof-band { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(20px, 3vw, 48px); align-items: stretch; margin-top: clamp(28px, 3vw, 48px); }
.photo-panel { min-height: 390px; border-radius: 28px; background: url("assets/seas-campus.jpg") center / cover; }

.time-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); max-width: 900px; margin: clamp(24px, 3vw, 40px) 0 18px; }
.time-option { display: block; color: inherit; text-decoration: none; transition: transform 180ms ease, border-color 180ms ease, background 180ms ease; }
.time-option:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.36); background: rgba(255,255,255,0.14); }
.time-option span { display: block; margin-bottom: 14px; color: var(--aqua); }
.time-option strong { display: block; font-family: var(--serif); font-size: clamp(27px, 2.1vw, 36px); line-height: 1; letter-spacing: -0.04em; }
.reply-line { max-width: 1000px; }
.reply-line a { color: var(--aqua); font-weight: 850; }
.contact-grid { grid-template-columns: 1fr 1fr; margin-top: clamp(26px, 3vw, 44px); }
.contact-card { display: grid; grid-template-columns: 118px 1fr; gap: 22px; align-items: center; }
.portrait-frame { display: block; width: 118px; height: 118px; overflow: hidden; border-radius: 22px; }
.portrait-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.amy-frame img {
  width: auto;
  height: 215%;
  max-width: none;
  object-fit: unset;
  transform: translate(-7%, -5%);
  transform-origin: left top;
}
.letty-frame img { object-position: 50% 24%; }
.contact-card .name { display: block; color: white; font-family: var(--serif); font-size: clamp(24px, 2vw, 32px); font-weight: 750; line-height: 1; }
.contact-card a, .contact-card .phone, .contact-card .role { display: block; margin-top: 7px; color: rgba(255,255,255,0.78); font-weight: 800; text-decoration: none; }
.chapter-mark { position: absolute; right: clamp(30px, 4vw, 62px); bottom: clamp(20px, 3vw, 44px); z-index: -1; color: rgba(7, 74, 91, 0.055); font-family: var(--serif); font-size: clamp(92px, 12vw, 180px); line-height: 0.8; }
.dark .chapter-mark, .navy .chapter-mark, .gold .chapter-mark { color: rgba(255,255,255,0.07); }
.school-fit .chapter-mark { color: rgba(224, 153, 0, 0.08); }
.internal-only { display: inline-block; margin-bottom: 26px; padding: 10px 14px; border-radius: 999px; color: white; font-size: var(--fs-micro); font-weight: 900; letter-spacing: 0.18em; text-transform: uppercase; background: var(--gold); }

@media (max-width: 980px) {
  .deck { width: min(100% - 24px, 860px); }
  .slide { min-height: auto; padding: clamp(34px, 5vw, 52px); }
  .cover-head, .cover-grid, .split-grid, .proof-band, .grid-3, .grid-4, .contact-grid { grid-template-columns: 1fr; }
  .sender-block { justify-items: start; text-align: left; }
  .sender-logo { width: min(235px, 52vw); }
  .recipient-logo { width: min(100%, 430px); }
  .chips, .metric-row, .grid-2, .time-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n + 2) { border-bottom: 1px solid var(--rule); }
}
@media (max-width: 620px) {
  .nav-actions { display: none; }
  .slide { border-radius: 22px; padding: 28px 22px; }
  .slide-head { align-items: flex-start; flex-direction: column; }
  .chips, .metric-row, .grid-2, .time-grid { grid-template-columns: 1fr; }
  .metric { border-right: 0; border-bottom: 1px solid var(--rule); }
  .metric:last-child { border-bottom: 0; }
  .timeline-row, .contact-card { grid-template-columns: 1fr; }
  .portrait-frame { width: 96px; height: 96px; }
  .cover-card { min-height: 500px; }
  .crest-bg::after, .ufg-bg::after { width: 300px; height: 360px; opacity: 0.045; }
  .slide.school-fit::after { right: -145px; top: 40%; opacity: 0.12; }
}
@media print {
  body { background: white; }
  .deck-nav { display: none; }
  .deck { width: 100%; margin: 0; }
  .slide { page-break-after: always; min-height: 100vh; margin: 0; border-radius: 0; box-shadow: none; }
}
