:root { --paper: #fff8ef; --ink: #47353d; --muted: #654d58; --lav-deep: #824663; }
.hero { min-height: auto; padding-block: clamp(3rem, 7vw, 6rem); gap: clamp(2rem, 5vw, 4.25rem); }
.hero h1 { font-size: clamp(3.15rem, 7.3vw, 6.6rem); }
.hero .lede { margin-bottom: 1rem; }
.section { padding-block: clamp(2.5rem, 5.5vw, 5rem); scroll-margin-top: calc(var(--header-height) + 15px); }
.section-head { margin-bottom: 1.8rem; }
.section-kicker { font-size: .88rem; }
.profile-links { display: flex; flex-wrap: wrap; gap: .6rem 1.35rem; }
.profile-links a, main a:not(.btn) { font-weight: 700; text-underline-offset: .22em; }
.highlights { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: 2rem; border-block: 1px dashed var(--lav-deep); }
.highlights a { padding: 1.15rem; border-inline-end: 1px solid var(--line); }
.highlights a:last-child { border-inline-end: 0; }
.panel { padding: clamp(1.25rem, 3vw, 2rem); border-radius: 1.15rem; border: 1px solid var(--line); background: var(--panel); }
.panel h3 { font-size: clamp(1.45rem, 2.8vw, 2.1rem); }
.panel .section-kicker { margin-top: 0; }
.panel p:last-child { margin-bottom: 0; }
.featured { border: 1px dashed var(--lav-deep); box-shadow: var(--shadow); }
.research-stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: .75rem; margin: 1.5rem 0; }
.research-stats div { background: var(--paper); padding: .85rem; border-radius: .65rem; }
.research-stats dt { font: 700 clamp(1.35rem, 3vw, 2rem) Fraunces, Georgia, serif; color: var(--lav-deep); }
.research-stats dd { margin: .35rem 0 0; }
.research-list, .editorial-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin-top: 1rem; align-items: start; }
.research-list summary { cursor: pointer; font: 700 1.3rem/1.35 Fraunces, Georgia, serif; padding-block: .3rem; }
.graduation blockquote { border-inline-start: 3px solid var(--lav-deep); padding-inline-start: 1.1rem; margin: 1.5rem 0; }
.graduation blockquote p { font: 600 clamp(1.2rem, 3vw, 1.7rem)/1.35 Fraunces, Georgia, serif; margin: 0 0 .5rem; }
.award-tribute { margin: 1.5rem 0; }
.award-tribute blockquote { margin: 0 0 .75rem; }
.award-tribute blockquote p { font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.55; }
.award-tribute blockquote p + p { margin-top: .75rem; }
.award-tribute figcaption { color: var(--muted); }
.speaking { margin-top: 1rem; scroll-margin-top: calc(var(--header-height) + 15px); }
.speaking ul { padding-inline-start: 1.25rem; margin-bottom: 0; }
.speaking li + li { margin-top: .45rem; }
.project { min-height: 0; cursor: auto; }
.scrapbook-board { grid-template-columns: repeat(3,minmax(0,1fr)); }
.scrapbook-photo .stitch-swatch { height: 120px; }
.scrapbook-photo:nth-child(2) .stitch-swatch { background-color: var(--butter); }
.scrapbook-photo:nth-child(3) .stitch-swatch { background-color: var(--mint); }
:where(a,button,summary):focus-visible { outline: 3px solid var(--lav-deep); outline-offset: 4px; }
@media(max-width: 820px) {
  .highlights, .research-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .highlights a:nth-child(2) { border-inline-end: 0; }
  .highlights a:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .site-header .nav-links { flex-wrap: wrap; gap: 0 .95rem; overflow: visible; }
  .site-header .nav-links a { min-height: 36px; }
}
@media(max-width: 570px) {
  .editorial-grid, .research-list, .scrapbook-board { grid-template-columns: 1fr; }
  .scrapbook-photo { transform: none; }
}
@media(prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.media-quote { margin: 1.25rem 0 .5rem; padding-inline-start: 1rem; border-inline-start: 3px solid var(--lav-deep); }
.media-quote blockquote { margin: 0 0 .35rem; }
.media-quote blockquote p { font: 600 1.15rem/1.5 Fraunces, Georgia, serif; }
.media-quote figcaption { color: var(--muted); }

.site-photo { margin: 1.25rem 0; min-width: 0; }
.site-photo img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 1rem; }
.site-photo figcaption { margin-top: .55rem; color: var(--muted); font-size: .95rem; }
.hero-photo { width: min(100%, 27rem); justify-self: center; padding: .6rem; border: 1px dashed var(--lav-deep); border-radius: 1.35rem; background: var(--panel); box-shadow: var(--shadow); }
.site-photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; margin-block: 1.25rem; }
.site-photo-grid .site-photo { margin: 0; }
.scrapbook-feature { align-items: center; }
@media(max-width: 570px) { .site-photo-grid { grid-template-columns: 1fr; } }

.cherry-gallery { margin-top: 1rem; scroll-margin-top: calc(var(--header-height) + 15px); }
.photo-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-block: 1rem;
}
.photo-gallery .site-photo { flex: 0 0 calc((100% - 2rem) / 3); margin: 0; }
.photo-gallery a { display: block; border-radius: 1rem; }
.photo-gallery img { aspect-ratio: 4 / 3; object-fit: contain; background: var(--panel); }
.photo-gallery img.photo-portrait { aspect-ratio: 3 / 4; }
@media (max-width: 650px) {
  .photo-gallery .site-photo { flex-basis: calc((100% - 1rem) / 2); }
}

.community-photos { margin-top: 1rem; scroll-margin-top: calc(var(--header-height) + 15px); }
.editorial-grid > .community-photos { grid-column: 1 / -1; margin-top: 0; }

#homecoming-scholarship { scroll-margin-top: calc(var(--header-height) + 15px); }
.research-photos a { display: block; border-radius: 1rem; }
@media (min-width: 571px) {
  .research-photos {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    max-width: 55rem;
    margin-inline: auto;
  }
}
