/* =====================================================================================
   DBCK interior pages — page-engine sections and detail pages
   ===================================================================================== */

/* ------------------------------------------------------------------ page hero */
.page-hero { min-height: clamp(300px, 34vw, 440px); display: flex; align-items: flex-end; }
.page-hero .container { position: relative; z-index: 1; }

/* ------------------------------------------------------------------ page sections */
.page-section + .page-section { margin-top: var(--sp-9); }
.page-section__title { font-size: var(--fs-h3); margin-bottom: var(--sp-5); position: relative; padding-bottom: var(--sp-3); }
.page-section__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); }
.prose--lead > p:first-child { font-size: var(--fs-lg); line-height: 1.6; color: var(--ink-soft); }
.mb-filter { margin-bottom: var(--sp-6); }
.chip.is-active, .chip[aria-current="page"] { background: var(--maroon); border-color: var(--maroon); color: var(--on-dark); }
a.chip { display: inline-flex; align-items: center; text-decoration: none; }
.empty-state--inline { padding: var(--sp-5) var(--sp-6); text-align: left; }
.empty-state__icon { width: 40px; height: 40px; margin: 0 auto var(--sp-4); color: var(--gold); }

/* ------------------------------------------------------------------- fact cards */
.fact-grid, .detail-facts { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); perspective: 1200px; }
.detail-facts { margin-bottom: var(--sp-8); }
.fact-card {
  display: flex; flex-direction: column; gap: .35rem; padding: var(--sp-5);
  background: var(--paper); border: var(--hairline); border-top: 3px solid var(--gold); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.fact-card__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: var(--sp-2); border-radius: 50%; background: var(--maroon); color: var(--gold); }
.fact-card__icon .icon { width: 20px; height: 20px; }
.fact-card__label { font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.fact-card__value { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; line-height: 1.3; color: var(--maroon); }
.fact-card__value a { color: inherit; }

/* -------------------------------------------------------- numbered & value cards */
.numbered-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-4); perspective: 1200px; }
.numbered-card {
  display: grid; grid-template-columns: auto 1fr; gap: var(--sp-5); align-items: center; margin: 0;
  padding: var(--sp-5) var(--sp-6); background: var(--paper); border: var(--hairline); border-left: 4px solid var(--maroon); border-radius: var(--radius-lg);
}
.numbered-card__no { font-family: var(--font-display); font-size: 3rem; font-weight: 700; line-height: 1; color: var(--gold); font-variant-numeric: lining-nums; }
.numbered-card p { margin: 0; font-size: var(--fs-md); }
.numbered-card h3 { font-size: 1.4rem; margin-bottom: .3rem; }
.value-grid { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); perspective: 1200px; }
.value-tile {
  position: relative; overflow: hidden; padding: var(--sp-6); border-radius: var(--radius-lg);
  background: radial-gradient(100% 80% at 100% 0%, rgba(168, 132, 63, .2), transparent 60%), linear-gradient(150deg, var(--maroon), var(--maroon-deep));
  color: var(--on-dark); box-shadow: var(--shadow);
}
.value-tile__icon { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: var(--sp-5); border-radius: 50%; background: linear-gradient(140deg, var(--gold-bright), var(--gold-deep)); color: var(--maroon-ink); }
.value-tile__icon .icon { width: 26px; height: 26px; }
.value-tile h3 { color: var(--gold); font-size: 1.6rem; }
.value-tile p { margin: 0; color: var(--on-dark-soft); }

/* ---------------------------------------------------------------- full message */
.message-full { display: grid; gap: var(--sp-7); }
@media (min-width: 992px) { .message-full { grid-template-columns: 300px 1fr; align-items: start; } .message-full__aside { position: sticky; top: calc(var(--header-h-compact) + var(--navrow-h) + 2rem); } }
.message-full__aside { text-align: center; }
.portrait-orbit--sm { width: min(260px, 70vw); }
.message-full__name { margin: var(--sp-5) 0 0; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--maroon); }
.message-full__role { margin: 0; font-size: var(--fs-xs); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.message-full__sign { margin-top: var(--sp-4); }
.message-full__signature { display: block; max-width: 200px; max-height: 80px; margin-bottom: var(--sp-2); object-fit: contain; object-position: left center; mix-blend-mode: multiply; }
.message-full__headline { font-family: var(--font-display); font-size: var(--fs-h3); font-style: italic; color: var(--gold-deep); line-height: 1.2; }

/* -------------------------------------------------------------------- people */
.people-grid { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); perspective: 1200px; }
.person-card {
  display: flex; flex-direction: column; align-items: center; gap: var(--sp-4); padding: var(--sp-6) var(--sp-4) var(--sp-5);
  background: var(--paper); border: var(--hairline); border-radius: var(--radius-lg); text-align: center; color: var(--ink); text-decoration: none;
  box-shadow: var(--shadow-sm); transition: border-color var(--dur), box-shadow var(--dur);
}
a.person-card:hover { color: var(--ink); border-color: var(--gold); box-shadow: var(--shadow-lg); }
.person-card__photo {
  display: grid; place-items: center; width: 112px; height: 112px; overflow: hidden; border-radius: 50%;
  box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--gold);
}
.person-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.person-card__photo--initials { background: radial-gradient(circle at 30% 25%, var(--maroon-soft), var(--maroon-deep)); font-family: var(--font-display); font-size: 2.3rem; font-weight: 600; color: var(--gold); }
.person-card__body { display: flex; flex-direction: column; gap: .25rem; }
.person-card__name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; line-height: 1.2; color: var(--maroon); }
.person-card__role { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); }
.person-card__note { font-size: var(--fs-xs); color: var(--ink-muted); }
.staff-jump { margin-bottom: var(--sp-7); }
.staff-group + .staff-group { margin-top: var(--sp-8); }
.staff-group { scroll-margin-top: calc(var(--header-h-compact) + var(--navrow-h) + 1.5rem); }
.staff-group__head { display: flex; flex-wrap: wrap; gap: var(--sp-4); align-items: baseline; justify-content: space-between; margin-bottom: var(--sp-5); padding-bottom: var(--sp-3); border-bottom: var(--gold-rule); }
.staff-group__head h3 { margin: 0; }

/* ---------------------------------------------------------------- link cards */
.link-cards { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); perspective: 1200px; }
.link-card {
  position: relative; display: flex; gap: var(--sp-4); align-items: center; padding: var(--sp-5);
  background: var(--paper); border: var(--hairline); border-radius: var(--radius-lg); color: var(--ink); text-decoration: none;
  box-shadow: var(--shadow-sm); transition: border-color var(--dur), box-shadow var(--dur);
}
.link-card:hover { color: var(--ink); border-color: var(--gold); box-shadow: var(--shadow-lg); }
.link-card__mark {
  display: grid; place-items: center; min-width: 56px; height: 56px; padding: 0 .6rem; border-radius: var(--radius);
  background: linear-gradient(140deg, var(--maroon), var(--maroon-deep)); color: var(--gold); font-family: var(--font-display); font-size: 1.2rem; font-weight: 700;
}
.link-card__body { display: flex; flex-direction: column; gap: .2rem; flex: 1; min-width: 0; }
.link-card__title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; line-height: 1.2; color: var(--maroon); }
.link-card__text { font-size: var(--fs-sm); color: var(--ink-soft); }
.link-card__meta { font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.link-card__arrow { width: 18px; height: 18px; color: var(--gold-ink); transition: transform var(--dur) var(--ease-out); }
.link-card:hover .link-card__arrow { transform: translateX(4px); }
.link-cards--index .link-card { border-left: 3px solid var(--gold); }

/* ------------------------------------------------------------------ documents */
.doc-filter { position: sticky; top: calc(var(--header-h-compact) + var(--navrow-h) + .75rem); z-index: 5; display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-5); padding: .4rem .4rem .4rem var(--sp-4); background: var(--paper); border: var(--hairline); border-radius: 999px; box-shadow: var(--shadow); }
.doc-filter .icon { width: 18px; height: 18px; color: var(--gold-ink); }
.doc-filter .input { flex: 1; min-height: 42px; border: 0; background: transparent; padding: 0; box-shadow: none !important; }
.doc-filter__count { padding-right: var(--sp-4); font-size: var(--fs-xs); color: var(--ink-muted); white-space: nowrap; }
.doc-year { margin: var(--sp-6) 0 var(--sp-3); font-family: var(--font-body); font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.doc-accordion { margin-bottom: var(--sp-3); background: var(--paper); border: var(--hairline); border-radius: var(--radius-lg); overflow: hidden; }
.doc-accordion > summary {
  display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-4) var(--sp-5); cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--maroon);
}
.doc-accordion > summary::-webkit-details-marker { display: none; }
.doc-accordion__title { flex: 1; }
.doc-accordion > summary .icon { width: 18px; height: 18px; color: var(--gold-ink); transition: transform var(--dur) var(--ease-out); }
.doc-accordion[open] > summary { border-bottom: var(--hairline); background: var(--cream); }
.doc-accordion[open] > summary .icon { transform: rotate(180deg); }
.doc-accordion__body { padding: 0 var(--sp-5) var(--sp-5); }
.doc-list .item-list__link { grid-template-columns: auto minmax(0, 1fr) auto; }
.doc-groups__none { padding: var(--sp-5); text-align: center; color: var(--ink-muted); }

/* ---------------------------------------------------------------- departments */
.dept-grid { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); perspective: 1200px; }
.dept-card {
  --hue-a: var(--maroon); --hue-b: var(--maroon-deep);
  position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 260px; padding: var(--sp-6);
  border-radius: var(--radius-lg); color: var(--on-dark); text-decoration: none; box-shadow: var(--shadow);
  background: radial-gradient(110% 80% at 100% 0%, rgba(201, 165, 94, .28), transparent 55%), repeating-linear-gradient(135deg, rgba(201, 165, 94, .05) 0 1px, transparent 1px 14px), linear-gradient(150deg, var(--hue-a), var(--hue-b));
}
.dept-card:hover { color: var(--on-dark); }
.dept-card--science { --hue-a: #5c1a24; --hue-b: #2f0a10; }
.dept-card--commerce { --hue-a: #7a2a14; --hue-b: #3e0e08; }
.dept-card__mono { position: absolute; right: var(--sp-4); top: var(--sp-2); font-family: var(--font-display); font-style: italic; font-size: 5.5rem; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(201, 165, 94, .55); }
.dept-card__body { display: flex; flex-direction: column; gap: .4rem; margin-top: auto; }
.dept-card__stream { font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-bright); }
.dept-card__name { font-family: var(--font-display); font-size: 2rem; font-weight: 700; line-height: 1.1; color: var(--gold); }
.dept-card__motto { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--on-dark-soft); }
.dept-card__meta { display: flex; flex-wrap: wrap; gap: .3rem var(--sp-4); font-size: var(--fs-xs); color: var(--on-dark-soft); }

/* ---------------------------------------------------------------- facilities */
.facility-list { display: grid; gap: var(--sp-8); }
.facility-row { display: grid; gap: var(--sp-6); align-items: center; scroll-margin-top: calc(var(--header-h-compact) + var(--navrow-h) + 2rem); }
@media (min-width: 768px) {
  .facility-row { grid-template-columns: 0.8fr 1.2fr; }
  .facility-row--flip .facility-row__visual { order: 2; }
}
.facility-row__visual {
  position: relative; overflow: hidden; display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: var(--radius-lg);
  background: radial-gradient(100% 80% at 100% 0%, rgba(201, 165, 94, .25), transparent 60%), linear-gradient(150deg, var(--maroon), var(--maroon-deep));
  box-shadow: var(--shadow);
}
.facility-row__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.facility-row__no { position: absolute; left: var(--sp-5); top: var(--sp-3); font-family: var(--font-display); font-size: 4.5rem; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(201, 165, 94, .45); font-variant-numeric: lining-nums; }
.facility-row__icon { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: linear-gradient(140deg, var(--gold-bright), var(--gold-deep)); color: var(--maroon-ink); box-shadow: 0 16px 40px rgba(90, 21, 32, .2); }
.facility-row__icon .icon { width: 40px; height: 40px; }

/* ----------------------------------------------------------- library & research */
.resource-grid { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); perspective: 1200px; }
.resource-card {
  display: flex; flex-direction: column; gap: var(--sp-3); padding: var(--sp-5); min-height: 150px;
  background: var(--paper); border: var(--hairline); border-top: 3px solid var(--maroon); border-radius: var(--radius-lg); color: var(--ink); text-decoration: none; box-shadow: var(--shadow-sm);
}
a.resource-card:hover { color: var(--ink); border-top-color: var(--gold); box-shadow: var(--shadow-lg); }
.resource-card__title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; line-height: 1.2; color: var(--maroon); }
.resource-card__text { font-size: var(--fs-sm); color: var(--ink-soft); }
.resource-card__access { display: inline-flex; align-items: flex-start; gap: .4rem; font-size: var(--fs-xs); font-weight: 600; color: var(--maroon); }
.resource-card__access .icon { flex: none; width: 14px; height: 14px; margin-top: .15rem; }
.resource-card__go { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font-size: var(--fs-xs); font-weight: 700; color: var(--gold-ink); }
.resource-card__go .icon { width: 14px; height: 14px; }
.pub-list { list-style: none; margin: 0; padding: 0; border-top: var(--hairline); }
.pub { display: grid; grid-template-columns: 76px 1fr; gap: var(--sp-5); margin: 0; padding: var(--sp-5) 0; border-bottom: var(--hairline); }
.pub__year { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--gold); font-variant-numeric: lining-nums; }
.pub__title { margin: .4rem 0 .3rem; font-size: 1.3rem; color: var(--maroon); }
.pub__title a { color: inherit; text-decoration: none; }
.pub__title a:hover { text-decoration: underline; }
.pub__title .icon { width: 14px; height: 14px; vertical-align: baseline; }
.pub__meta { margin: 0; font-size: var(--fs-sm); color: var(--ink-soft); }
.pub__file { display: inline-flex; align-items: center; gap: .4rem; margin-top: .45rem; font-size: var(--fs-xs); font-weight: 700; color: var(--maroon); text-decoration: none; }
.pub__file:hover { text-decoration: underline; }
.pub__file .icon { width: 14px; height: 14px; }
.prize-list { list-style: none; margin: 0 0 var(--sp-6); padding: 0; display: grid; gap: var(--sp-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); }
.prize { display: flex; gap: var(--sp-4); align-items: flex-start; margin: 0; padding: var(--sp-4) var(--sp-5); background: var(--paper); border: var(--hairline); border-radius: var(--radius); }
.prize__icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--gold); color: var(--maroon-ink); }
.prize__icon .icon { width: 20px; height: 20px; }
.prize__name { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); }
.prize__criteria { display: block; font-size: var(--fs-sm); }

/* ------------------------------------------------------------- profile & vm */
.profile { display: grid; gap: var(--sp-7); }
@media (min-width: 992px) { .profile { grid-template-columns: 300px 1fr; align-items: start; } .profile__card { position: sticky; top: calc(var(--header-h-compact) + var(--navrow-h) + 2rem); } }
.profile__card { padding: var(--sp-6); background: var(--paper); border: var(--hairline); border-radius: var(--radius-lg); text-align: center; box-shadow: var(--shadow-sm); }
.profile__facts { margin: var(--sp-6) 0 0; text-align: left; }
.profile__facts > div { padding: var(--sp-3) 0; border-top: var(--hairline); }
.profile__facts dt { font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.profile__facts dd { margin: .2rem 0 0; font-weight: 600; }
.vm-grid { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); perspective: 1200px; }
.vm-card { padding: var(--sp-6); background: var(--paper); border: var(--hairline); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.vm-card--maroon { background: linear-gradient(150deg, var(--maroon), var(--maroon-deep)); border-color: transparent; color: var(--on-dark); }
.vm-card--maroon h3 { color: var(--gold); }
.vm-card--maroon .prose { color: var(--on-dark); }

/* ------------------------------------------------------------- CTA inline */
.cta-inline {
  display: flex; flex-wrap: wrap; gap: var(--sp-5); align-items: center; justify-content: space-between; margin-top: var(--sp-9);
  padding: var(--sp-7); border-radius: var(--radius-lg); color: var(--on-dark);
  background: radial-gradient(90% 120% at 100% 0%, rgba(168, 132, 63, .25), transparent 60%), linear-gradient(150deg, var(--maroon), var(--maroon-deep));
  box-shadow: var(--shadow-lg);
}
.cta-inline h2 { color: var(--gold); font-size: var(--fs-h3); margin-bottom: var(--sp-2); }
.cta-inline p { color: var(--on-dark-soft); }

/* ---------------------------------------------------------- notices & news */
.notice-detail { padding: var(--sp-7); background: var(--paper); border: var(--hairline); border-top: 4px solid var(--maroon); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.notice-detail__head { display: flex; gap: var(--sp-5); align-items: center; margin-bottom: var(--sp-6); }
.notice-detail__date { margin: .3rem 0 0; font-size: var(--fs-sm); color: var(--ink-muted); }
.news-grid { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); perspective: 1200px; }
.news-card { display: flex; flex-direction: column; overflow: hidden; background: var(--paper); border: var(--hairline); border-radius: var(--radius-lg); color: var(--ink); text-decoration: none; box-shadow: var(--shadow-sm); }
.news-card:hover { color: var(--ink); box-shadow: var(--shadow-lg); }
.news-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--maroon); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.news-card:hover .news-card__media img { transform: scale(1.06); }
.news-card .news-feature__art span { font-size: 6rem; }
.news-card__body { display: flex; flex-direction: column; gap: var(--sp-3); padding: var(--sp-5); flex: 1; }
.news-card__title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; line-height: 1.2; color: var(--maroon); }
.news-card__excerpt { font-size: var(--fs-sm); color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card .link-arrow { margin-top: auto; }
.article { max-width: 760px; }
.article__meta { display: flex; align-items: center; gap: .5rem; font-size: var(--fs-sm); color: var(--ink-muted); }
.article__meta .icon { width: 16px; height: 16px; color: var(--gold-ink); }
.article__cover { margin: var(--sp-5) 0 var(--sp-6); border-radius: var(--radius-lg); overflow: hidden; }
.article__cover img { width: 100%; }
.article__lead { font-family: var(--font-display); font-size: var(--fs-h4); font-style: italic; color: var(--maroon); }

/* ------------------------------------------------------------ gallery album */
.photo-grid { display: grid; gap: var(--sp-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.photo-grid__item { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); }
.photo-grid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.photo-grid__item:hover img { transform: scale(1.08); }
.lightbox { width: 100vw; max-width: 100vw; height: 100vh; max-height: 100vh; margin: 0; padding: 0; border: 0; background: rgba(42, 10, 15, .94); color: var(--on-dark); }
.lightbox::backdrop { background: rgba(42, 10, 15, .8); }
.lightbox__figure { display: grid; place-items: center; height: 100%; margin: 0; padding: 4rem 5rem; }
.lightbox__figure img { max-width: 100%; max-height: calc(100vh - 9rem); object-fit: contain; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox__figure figcaption { margin-top: var(--sp-4); text-align: center; color: var(--on-dark-soft); }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(201, 165, 94, .5); border-radius: 50%; background: rgba(90, 21, 32, .6); color: var(--gold); }
.lightbox__btn .icon { width: 22px; height: 22px; }
.lightbox__btn--prev { left: var(--sp-5); top: 50%; transform: translateY(-50%) rotate(180deg); }
.lightbox__btn--next { right: var(--sp-5); top: 50%; transform: translateY(-50%); }
.lightbox__btn--close { right: var(--sp-5); top: var(--sp-5); }

/* ---------------------------------------------------------------- contact */
.contact-grid { display: grid; gap: var(--sp-7); }
@media (min-width: 992px) { .contact-grid { grid-template-columns: 380px 1fr; align-items: start; } }
.contact-card {
  padding: var(--sp-7) var(--sp-6); border-radius: var(--radius-lg); color: var(--on-dark);
  background: radial-gradient(100% 80% at 100% 0%, rgba(168, 132, 63, .25), transparent 60%), linear-gradient(150deg, var(--maroon), var(--maroon-deep));
  box-shadow: var(--shadow-lg);
}
.contact-card h2 { color: var(--gold); font-size: var(--fs-h3); }
.contact-card__list { list-style: none; margin: 0; padding: 0; }
.contact-card__list li { display: flex; gap: var(--sp-4); margin: 0; padding: var(--sp-3) 0; border-bottom: 1px solid rgba(201, 165, 94, .2); }
.contact-card__list .icon { width: 20px; height: 20px; flex: none; margin-top: .2rem; color: var(--gold); }
.contact-card__list a, .contact-card__list address { color: var(--on-dark); font-style: normal; text-decoration: none; }
.contact-form { padding: var(--sp-7) var(--sp-6); background: var(--paper); border: var(--hairline); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.contact-form .alert { margin-bottom: var(--sp-5); }
.map-frame { overflow: hidden; border-radius: var(--radius-lg); border: var(--hairline); box-shadow: var(--shadow); }
.map-frame iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ----------------------------------------------------------------- search */
.search-box { display: flex; align-items: center; gap: var(--sp-3); padding: .45rem .45rem .45rem var(--sp-5); background: var(--paper); border: 1px solid var(--cream-line); border-radius: 999px; box-shadow: var(--shadow); }
.search-box .icon { width: 20px; height: 20px; color: var(--gold-ink); }
.search-box input { flex: 1; min-width: 0; min-height: 48px; border: 0; background: transparent; font-size: var(--fs-md); }
.search-box input:focus { outline: none; }
.search-box:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(168, 132, 63, .25), var(--shadow); }
.search-results .item-list__link { grid-template-columns: 110px minmax(0, 1fr) auto; }
.search-results .badge { justify-self: start; }
@media (max-width: 575px) {
  .search-results .item-list__link { grid-template-columns: 1fr auto; }
  .search-results .badge { grid-column: 1 / -1; }
  .pub { grid-template-columns: 1fr; gap: var(--sp-2); }
  .lightbox__figure { padding: 4rem 1rem; }
}

/* ------------------------------------------------- page banner: college photo + topic 3D */
.page-hero { min-height: clamp(320px, 30vw, 460px); }
.page-hero__veil, .page-hero__canvas { position: absolute; inset: 0; pointer-events: none; }
.page-hero__veil { z-index: -2; }
.page-hero__canvas { z-index: -1; opacity: 0; transition: opacity 1.4s ease; }
.page-hero--3d-ready .page-hero__canvas { opacity: 1; }
.page-hero__canvas canvas { display: block; width: 100% !important; height: 100% !important; }

.page-hero--photo .page-hero__bg { inset: 0 0 0 28%; z-index: -3; overflow: hidden; }
.page-hero--photo .page-hero__bg img {
  opacity: 1; mix-blend-mode: normal; object-position: 50% 55%;
  filter: sepia(.18) saturate(.9) brightness(1.03);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%); mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
  animation: banner-drift 26s ease-in-out infinite alternate;
}
@keyframes banner-drift { from { transform: scale(1.04); } to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); } }
.page-hero--photo .page-hero__veil {
  background:
    linear-gradient(90deg, rgba(251, 246, 238, .97) 0%, rgba(251, 246, 238, .9) 34%, rgba(251, 246, 238, .45) 56%, rgba(251, 246, 238, .05) 80%),
    linear-gradient(0deg, rgba(247, 240, 230, .85) 0%, transparent 28%),
    linear-gradient(180deg, rgba(251, 246, 238, .5) 0%, transparent 20%);
}
.page-hero--photo .page-hero__pattern { opacity: .1; }
@media (max-width: 767px) {
  .page-hero--photo .page-hero__bg { inset: 0; }
  .page-hero--photo .page-hero__bg img { -webkit-mask-image: none; mask-image: none; object-position: 65% 50%; }
  .page-hero--photo .page-hero__veil { background: linear-gradient(180deg, rgba(251, 246, 238, .78) 0%, rgba(251, 246, 238, .9) 55%, rgba(247, 240, 230, .97) 100%); }
}
.motion-reduced .page-hero--photo .page-hero__bg img { animation: none; }
