/* Shared page layouts. The homepage palette, type and motion live in style.css. */
:root { --page-gutter: clamp(1.2rem, 6vw, 6rem); --photo-max-height: min(62svh, 480px); }
html { scroll-padding-top: 6rem; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 5px; }
.dark :focus-visible, .footer :focus-visible, .hero :focus-visible { outline-color: #ff9aa6; }
.skip-link { position: fixed; z-index: 110; top: .5rem; left: 1rem; padding: .8rem 1.2rem; background: var(--oxblood); color: white; border-radius: 2rem; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.nav { gap: 1rem; }
.brand { flex-shrink: 0; }
.links { gap: clamp(1rem, 2vw, 1.8rem); }
.links a { padding-block: .4rem; }
.burger { width: 44px; height: 44px; flex-shrink: 0; z-index: 2; }
.burger span { left: 5px; right: 5px; }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 26px; }
.nav.open .burger span:first-child, .nav.open .burger span:last-child { top: 21px; }
.inner-hero { height: 83vh; height: 83svh; min-height: 570px; max-height: 900px; }
.inner-hero .hero-content { max-width: 1180px; padding-bottom: clamp(4rem, 12vh, 9rem); padding-top: 8rem; }
.inner-hero .hero-title { font-size: clamp(3rem, 8.5vw, 8rem); }
.inner-hero .hero-blurb { max-width: 650px; }
.inner-hero .hero-shade { background: linear-gradient(180deg,rgba(42,10,18,.5),rgba(42,10,18,.18) 35%,rgba(42,10,18,.88)); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .8rem; padding: 1.7rem var(--page-gutter); color: var(--red); font-size: .8rem; border-bottom: 1px solid var(--blush); }
.breadcrumb a { text-underline-offset: .25rem; }
.page-section { padding: clamp(3rem, 5vw, 5rem) var(--page-gutter); }
.page-wrap { max-width: 1280px; margin-inline: auto; }
.page-section.blush, .blush { background: var(--blush); }
.page-section.dark, .dark { background: var(--oxblood); color: var(--blush); }
.dark h2, .dark h3 { color: var(--blush); }
.dark .eyebrow, .dark .person-role, .dark .event-date { color: #ff9aa6; }
.dark .section-head p:not(.eyebrow) { color: var(--blush); }
.page-section h3 { font-size: clamp(1.65rem, 2.7vw, 2.4rem); line-height: 1.12; }
.page-section h2 { text-wrap: pretty; }
.prose { max-width: 760px; }
.prose p, .page-section p:not(.eyebrow):not(.course-code):not(.event-date):not(.person-role) { line-height: 1.8; }
.prose p + p { margin-top: 1.25rem; }
.prose h3 { margin-top: 2.25rem; margin-bottom: 1rem; }
.prose > h3:first-child { margin-top: 0; }
.prose a { text-underline-offset: .25em; }
.editorial { display: grid; grid-template-columns: .9fr 1.2fr; gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.editorial > * { min-width: 0; }
.section-photo { display: block; width: auto; max-width: 100%; height: auto; max-height: var(--photo-max-height); object-fit: contain; border-radius: 14px; }
.photo-story > .prose { max-width: 780px; margin-bottom: 2.25rem; }
.photo-link { display: block; min-width: 0; }
.photo-link:focus-visible { border-radius: 14px; }
.photo-pair { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,500px),1fr)); gap: 2rem; align-items: start; margin-top: 2rem; }
.photo-pair img { width: auto; max-width: 100%; height: auto; max-height: var(--photo-max-height); aspect-ratio: auto; object-fit: contain; border-radius: 14px; }
.photo-pair > :nth-child(even) { margin-top: 0; }
.section-jump { display: flex; flex-wrap: wrap; gap: .6rem; padding: 1.3rem var(--page-gutter); background: var(--blush); }
.section-jump a { padding: .65rem 1.1rem; border-radius: 99px; border: 1px solid rgba(140,47,57,.25); text-decoration: none; font-size: .88rem; }
.section-jump a:hover { background: var(--rose); color: white; }
/* A page-section that continues straight after a section with its own bottom padding */
.page-section-follow { padding-top: 0; }
/* Photo strips: whole 4:3 photos in a row of three, no cropping.
   .photo-strip-six keeps two columns on phones so six photos stay short. */
.home-photos { padding: 0 var(--page-gutter) clamp(5rem, 8vw, 8rem); }
.photo-strip { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.25rem; margin-top: 2rem; }
.home-photos .photo-strip { margin-top: 0; }
.photo-strip-item { display: block; min-width: 0; border-radius: 18px; overflow: hidden; }
.photo-strip-item img { display: block; width: 100%; height: auto; border-radius: 18px; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.photo-strip-item:hover img, .photo-strip-item:focus-visible img { transform: scale(1.04); }
.home-photos-link { margin-top: 1.25rem; }
@media (max-width: 760px) {
  .photo-strip { grid-template-columns: minmax(0,1fr); gap: 1rem; }
  .photo-strip-six { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .6rem; }
  .photo-strip-six .photo-strip-item, .photo-strip-six .photo-strip-item img { border-radius: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .photo-strip-item img { transition: none; }
  .photo-strip-item:hover img, .photo-strip-item:focus-visible img { transform: none; }
}
.text-link { display: inline-block; margin-top: 1.5rem; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: .4rem; }
.notice { margin: 1.5rem 0 2.5rem; padding: 1.2rem 1.5rem; border: 1px solid rgba(140,47,57,.25); border-radius: 18px; color: var(--red); font-size: .92rem; line-height: 1.7; }
.dark .notice { border-color: rgba(255,232,229,.3); color: var(--blush); }
.notice p + p { margin-top: .8rem; }
.feature-person { display: grid; grid-template-columns: .8fr 1.3fr; gap: clamp(2rem,6vw,6rem); align-items: start; }
.feature-person > img, .feature-person .person-photo { width: auto; max-width: min(100%,470px); height: auto; max-height: var(--photo-max-height); object-fit: contain; border-radius: 18px; }
.person-role { color: var(--rose); font-size: .83rem; letter-spacing: .04em; margin: .7rem 0 1.2rem; }
.people-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2rem; align-items: start; }
.person { overflow: hidden; border-radius: 28px; background: var(--blush); }
.person-photo { display: block; width: auto; max-width: 100%; height: auto; max-height: var(--photo-max-height); margin-inline: auto; aspect-ratio: auto; object-fit: contain; object-position: center; }
.person-body { padding: clamp(1.4rem,3vw,2.3rem); }
.person-body p + p { margin-top: 1rem; }
.alumni-list { display: grid; gap: 1rem; }
.alumni-entry { padding-inline: 1.5rem; }
.alumni-entry summary { font-size: 1.35rem; }
.alumni-entry summary small { display: block; font: 400 .82rem/1.5 var(--sans); margin-top: .5rem; }
.alumni-entry[open] { background: var(--blush); color: var(--ink); }
.alumni-entry[open] summary { color: var(--oxblood); }
.alumni-entry > img { float: left; width: 150px; max-height: 180px; object-fit: cover; border-radius: 16px; margin: 0 1.5rem 1.5rem 0; }
.alumni-entry .prose { max-width: none; padding-bottom: .5rem; }
.alumni-entry::after { content: ''; display: block; clear: both; }
.link-list { display: grid; list-style: none; gap: 0; }
.link-list > li, .link-list > a { padding: 1.2rem 0; border-bottom: 1px solid rgba(140,47,57,.2); line-height: 1.6; }
.link-list a { text-underline-offset: .3rem; }
.dark .link-list > li, .dark .link-list > a { border-color: rgba(255,232,229,.2); }
.feature-links { display: grid; gap: 1.2rem; }
.feature-link { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1.2rem; padding: 1.8rem 0; border-block-end: 1px solid rgba(140,47,57,.2); text-decoration: none; }
.feature-link h3 { margin-bottom: .6rem; }
.feature-link:hover h3 { color: var(--rose); }
.feature-link img { width: 100%; border-radius: 22px; }
#student-portfolios .feature-links { grid-template-columns: repeat(auto-fit,minmax(min(100%,500px),1fr)); gap: 2.5rem 2rem; }
#student-portfolios .feature-link { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
#student-portfolios .feature-link img { width: auto; max-width: 100%; height: auto; max-height: var(--photo-max-height); aspect-ratio: auto; object-fit: contain; }
#student-portfolios .feature-link h3 { font-size: 1.8rem; }
#vocabulary-videos .feature-link { grid-template-columns: .5fr 1fr 1fr; border-color: rgba(255,232,229,.2); }
.dark .hl { color: #ff9aa6; background: none; }
.page-wrap > .section-jump { padding: 1rem; border-radius: 20px; margin-bottom: 3rem; }
.alumni-entry summary h3 { font-size: 1.4rem; }
.alumni-entry summary .person-role { display: block; font: 400 .8rem/1.6 var(--sans); margin: .6rem 0 0; }
.alumni-entry .editorial { padding-bottom: 1.2rem; }
.alumni-entry .person-photo { width: auto; max-width: min(100%,380px); height: auto; max-height: var(--photo-max-height); border-radius: 14px; }
.support-item .section-photo { width: 100%; height: 200px; object-fit: contain; border-radius: 0; margin-bottom: 1.5rem; mix-blend-mode: multiply; }
#language-tables .event-photo { display: block; width: auto; max-width: 100%; height: auto; max-height: var(--photo-max-height); object-fit: contain; background: white; }
#language-tables .event-grid { grid-template-columns: repeat(auto-fit,minmax(min(100%,500px),1fr)); gap: 2rem; }
#language-tables .event-card { border-radius: 10px; }
#language-tables .event-body { padding: 1rem; }
#language-tables .event-body h3 { font-size: 1.3rem; line-height: 1.35; margin: 0; }
#language-tables .text-link { font-size: .82rem; margin-top: .7rem; }
@media (max-width: 760px) {
  #language-tables .event-grid { grid-template-columns: minmax(0,1fr); }
  #language-tables .event-photo { height: auto; }
  #language-tables .event-body { padding: .8rem; }
  #language-tables .event-body h3 { font-size: 1.08rem; }
}
.course-detail + .course-detail { margin-top: 5rem; padding-top: 5rem; border-top: 1px solid rgba(140,47,57,.22); }
.course-overview { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(2rem,5vw,5rem); align-items: start; }
.course-code { font-size: .8rem; color: var(--rose); letter-spacing: .15em; font-weight: 700; margin-bottom: 1rem; }
.course-detail h2 { margin-bottom: 1.5rem; }
.course-facts { padding: 1.7rem; background: var(--blush); border-radius: 24px; }
.course-facts dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .15em; color: var(--rose); margin-top: 1.3rem; }
.course-facts dt:first-child { margin-top: 0; }
.course-facts dd { margin-top: .5rem; line-height: 1.7; }
.course-facts a { text-underline-offset: .25rem; }
.unit-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 2.5rem; margin: 1.5rem 0 0; list-style-position: inside; counter-reset: units; }
.unit-list li { padding: 1rem .25rem; border-bottom: 1px solid rgba(140,47,57,.18); line-height: 1.6; }
.unit-list li::marker { color: var(--rose); font-family: var(--serif); }
.course-detail > h3 { margin-top: 3rem; }
.support-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2rem; }
.support-item { padding-top: 1.5rem; border-top: 1px solid rgba(140,47,57,.25); }
.support-item h3 { font: 500 1.3rem/1.35 var(--sans); margin-bottom: .7rem; }
.event-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-bottom: 3rem; }
.event-feature img { width: 100%; border-radius: 26px; }
.event-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2rem; }
.event-card { overflow: hidden; background: white; border-radius: 28px; color: var(--ink); }
.event-photo { display: block; width: auto; max-width: 100%; height: auto; max-height: var(--photo-max-height); aspect-ratio: auto; object-fit: contain; }
/* Photos are whole images, not cover backgrounds. HTML height attributes must
   never become fixed pixel heights in a responsive card. */
#archive-2025 .section-head { margin-bottom: 2rem; }
.archive-grid { grid-template-columns: repeat(auto-fit,minmax(min(100%,500px),1fr)); gap: 2.5rem 2rem; align-items: start; }
.archive-grid .event-card { min-width: 0; background: none; border-radius: 0; overflow: visible; }
.archive-grid .event-photo-link { display: block; text-decoration: none; border-radius: 6px; }
.archive-grid .event-photo { display: block; width: auto; max-width: 100%; height: auto; max-height: var(--photo-max-height); aspect-ratio: auto; object-fit: contain; border-radius: 10px; }
.archive-grid .event-body { padding: .85rem 0 0; }
.archive-grid .event-date { font-size: .76rem; letter-spacing: 0; margin: 0; }
.archive-grid .event-body h3 { font: 500 1.12rem/1.4 var(--sans); margin-top: .3rem; text-wrap: pretty; }
.archive-grid .event-notes { padding: 0; background: transparent; border-radius: 0; margin-top: .35rem; }
.archive-grid .event-notes summary { padding: .3rem 1.5rem .3rem 0; font: 400 .8rem/1.5 var(--sans); text-decoration: underline; text-underline-offset: .2em; }
.archive-grid .event-notes summary::after { font-size: 1.1rem; }
.archive-grid .event-notes p { padding-bottom: .4rem; font-size: .8rem; }
.archive-grid .event-notes[open], .archive-grid .event-notes[open] summary { background: none; color: var(--ink); }
@media (max-width: 760px) {
  .archive-grid { grid-template-columns: minmax(0,1fr); gap: 1.8rem; }
  .archive-grid .event-photo { height: auto; }
}
.event-body { padding: 1.8rem; }
.event-body h3 { margin-top: .8rem; }
.event-date { color: var(--rose); font-size: .83rem; letter-spacing: .05em; }
.event-body p { margin-top: .8rem; }
.page-cta { padding: 6rem var(--page-gutter); position: relative; overflow: hidden; background: var(--rose); color: white; }
.page-cta > img { position: absolute; width: 430px; right: -90px; top: 20%; opacity: .14; pointer-events: none; }
.page-cta > div { position: relative; max-width: 830px; }
.page-cta .eyebrow, .page-cta h2 { color: white; }
.page-cta h2 { margin-bottom: 1.2rem; }
.page-cta p:not(.eyebrow) { line-height: 1.7; }
.page-cta .btn { background: var(--oxblood); margin-right: 1.5rem; }
.page-cta .text-link { margin-top: 1.5rem; }
.page-cta :focus-visible { outline-color: white; }
.foot-cols { gap: clamp(2rem,6vw,6rem); }
.foot-cols > div { min-width: 190px; }
.foot-cols a { padding-block: .2rem; overflow-wrap: anywhere; }
/* Resource library */
.resource-tools { margin-bottom: 2.5rem; }
.resource-search { display: block; max-width: 580px; }
.resource-search span { display: block; margin-bottom: .8rem; font-size: .85rem; font-weight: 500; }
.resource-search input { display: block; width: 100%; border: 1px solid rgba(140,47,57,.3); background: white; }
.filter-buttons { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.filter-buttons button { font: inherit; padding: .7rem 1.2rem; border: 1px solid rgba(140,47,57,.3); border-radius: 99px; background: transparent; color: var(--oxblood); cursor: pointer; min-height: 44px; }
.filter-buttons button[aria-pressed="true"], .filter-buttons button:hover { background: var(--rose); color: white; border-color: var(--rose); }
.resource-status { margin-top: 1.1rem; font-size: .83rem; color: var(--red); }
.resource-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 2.5rem; }
.resource-card { position: relative; display: flex; flex-direction: column; gap: .4rem; padding: 1.25rem 2rem 1.25rem 0; min-width: 0; border: 0; border-bottom: 1px solid rgba(140,47,57,.2); border-radius: 0; background: none; text-decoration: none; }
.resource-card:hover { background: none; }
.resource-card:hover h3 { text-decoration: underline; text-underline-offset: .2em; }
.resource-card .resource-level { color: var(--rose); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; margin: 0; }
.resource-card h3 { font-size: 1.45rem; line-height: 1.3; margin: 0; }
.resource-card .resource-description { color: var(--red); font-size: .9rem; line-height: 1.6; }
.resource-arrow { position: absolute; top: 1.8rem; right: .2rem; color: var(--rose); }
.resource-empty { padding: 3rem 0; }
/* Opportunities use a readable index and full descriptions, not dated open badges. */
.opportunity-index { width: 100%; border-collapse: collapse; margin: 2rem 0; font-size: .92rem; }
.opportunity-index th { text-align: left; font-size: .72rem; color: var(--rose); text-transform: uppercase; letter-spacing: .12em; padding: 1rem; border-bottom: 2px solid var(--blush); }
.opportunity-index td { padding: 1.15rem 1rem; border-bottom: 1px solid var(--blush); line-height: 1.6; }
.opportunity-index a { text-underline-offset: .3rem; font-weight: 500; }
.opportunity-detail { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(2rem,6vw,6rem); padding-block: 3.5rem; border-bottom: 1px solid rgba(140,47,57,.2); scroll-margin-top: 5rem; }
.opportunity-detail:first-of-type { padding-top: 0; }
.opportunity-detail h3 { font-size: clamp(1.8rem,3vw,2.8rem); }
.opportunity-detail ul { padding-left: 1.3rem; margin-top: 1rem; line-height: 1.8; }
.opportunity-detail li + li { margin-top: .4rem; }
.table-scroll { overflow-x: auto; }
/* Progressive enhancement: content remains readable if scripts fail. */
@media (scripting: none) {
  .loader { display: none; }
  .reveal-up, .tone-card { opacity: 1; transform: none; }
  .mission-text .w { color: var(--red); }
  .filter-buttons { display: none; }
  .resource-tools[hidden] { display: none; }
  .burger { display: none; }
  .nav { position: relative; background: var(--blush); color: var(--oxblood); flex-wrap: wrap; }
  .links { position: static; height: auto; clip-path: none; flex-direction: row; flex-wrap: wrap; padding: 0; gap: .6rem 1rem; z-index: auto; }
  .links a { font: 400 .9rem var(--sans); }
}
@media (max-width: 1050px) {
  .brand { font-size: 1.05rem; }
  .brand img { width: 36px; height: 36px; }
  .links { gap: 1rem; }
  .links a { font-size: .84rem; }
}
@media (min-width: 761px) and (max-width: 900px) {
  .nav { padding-inline: 1rem; }
  .brand { font-size: .95rem; gap: .35rem; }
  .brand img { width: 30px; height: 30px; }
  .links { gap: .8rem; }
  .links a { font-size: .74rem; }
  .pill { padding-inline: .8rem; }
}
/* Phone composition and a full-viewport menu outside the blurred header. */
@media (max-width: 760px) {
  .brand { font-size: 1.1rem; }
  .brand img { width: 38px; height: 38px; }
  .nav { z-index: 54; }
  body.menu-open { overflow: hidden; }
  .links { position: fixed; z-index: 53; height: 100vh; height: 100dvh; padding: 6rem 1.5rem 2rem; gap: min(2svh,1rem); overflow-y: auto; justify-content: center; }
  .links a { font-size: 1.7rem; padding: .45rem .75rem; }
  .links.open { clip-path: circle(150% at 100% 0); }
  .links.open .pill { margin-top: .5rem; }
  .nav.open { background: var(--blush); box-shadow: none; }
  .inner-hero { min-height: 500px; height: 76svh; max-height: 740px; }
  .inner-hero .hero-content { padding: 7rem 1.2rem 3.5rem; max-width: 100%; }
  .inner-hero .hero-title { font-size: clamp(2.45rem, 10.5vw, 4.5rem); }
  .inner-hero .hero-blurb { font-size: .98rem; line-height: 1.7; margin-top: 1.2rem; }
  .inner-hero .script { font-size: 1.6rem; }
  .editorial, .feature-person, .course-overview, .event-feature, .opportunity-detail { grid-template-columns: 1fr; gap: 2rem; }
  .section-head { margin-bottom: 2.5rem; }
  #student-portfolios .feature-links { grid-template-columns: minmax(0,1fr); }
  #vocabulary-videos .feature-link { grid-template-columns: 1fr; gap: .5rem; }
  #vocabulary-videos .feature-link .person-role { margin: 0; }
  .feature-link { min-width: 0; }
  .people-grid, .event-grid, .resource-grid, .support-grid { grid-template-columns: 1fr; }
  .support-grid { gap: 2.5rem; }
  .person-photo { max-height: var(--photo-max-height); }
  .feature-person > img { max-height: var(--photo-max-height); }
  .photo-pair { grid-template-columns: minmax(0,1fr); gap: 1.5rem; }
  .photo-pair > :nth-child(even) { margin-top: 0; }
  .photo-pair img { border-radius: 16px; }
  .page-cta { padding-block: 4.5rem; }
  .page-cta > img { width: 270px; top: -50px; right: -100px; }
  .foot-cols { margin: 2.5rem 0; }
  .foot-cols a { padding-block: .5rem; }
  .resource-card { padding: 1.1rem 1.8rem 1.1rem 0; }
  .unit-list { grid-template-columns: 1fr; }
  .course-detail + .course-detail { margin-top: 3rem; padding-top: 3rem; }
  .opportunity-index th, .opportunity-index td { padding: 1rem .6rem; }
  .opportunity-index th:last-child, .opportunity-index td:last-child { display: none; }
  .opportunity-index { font-size: .83rem; }
  .opportunity-detail { padding-block: 2.5rem; }
  .levels, .articles { grid-template-columns: minmax(0,1fr); }
  .level-body { padding: 1.5rem; }
  .level h3 .script { display: block; margin: .5rem 0 0; }
  .tone-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .tone-card { min-width: 0; }
  .catalog, .path-sec, .cert, .news, .faq, .quick { padding-top: 4.5rem; padding-bottom: 4.5rem; }
  .quick { padding-bottom: 6rem; }
  .hero-short:not(.inner-hero) { height: 78svh; min-height: 500px; }
  .thanks .tr { display: block; margin: .7rem 0 0; font-size: .55em; line-height: 1.6; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-pin { height: 100svh; }
  .hero-sticky { height: 100svh; }
  .mission { height: auto; }
  .mission-sticky { position: relative; height: auto; min-height: 70svh; padding-block: 5rem; }
  .mission-text .w { color: var(--red); }
  .journey { height: auto; }
  .journey-sticky { position: relative; height: auto; padding-bottom: 4rem; }
  .journey-track { width: auto; flex-wrap: wrap; transform: none !important; }
  .slide, .slide-end { width: min(100%,560px); }
  .journey-line { display: none; }
}
/* Team profiles share an edge and a portrait treatment, not oversized cards. */
.page-team .feature-person { grid-template-columns: minmax(0,320px) minmax(0,1fr); gap: clamp(2rem,5vw,4rem); }
.page-team .feature-person .person-photo { max-width: min(100%,320px); margin: 0; border-radius: 24px; }
.page-team .feature-person .person-body { padding: 0; }
.page-team .person-body > p:not(.person-role) { line-height: 1.75; }
.page-team .people-grid { column-gap: clamp(2rem,5vw,4rem); row-gap: 0; }
@media (min-width: 761px) {
  .page-team .people-grid .person { display: grid; grid-row: span 2; grid-template-rows: subgrid; }
  .page-team .people-grid .person-photo { align-self: end; justify-self: start; }
}
.page-team .person { padding: 0; overflow: visible; border-radius: 0; background: none; }
.page-team .people-grid .person-photo { margin: 0; max-height: min(var(--photo-max-height),420px); border-radius: 24px; }
.page-team .people-grid .person-body { padding: 1.25rem 0 0; max-width: 60ch; }
.page-team .people-grid h3 { margin: 0; font-size: clamp(1.5rem,2.1vw,1.9rem); line-height: 1.15; }
.page-team .person-role { letter-spacing: 0; margin: .6rem 0 .95rem; }
.page-team .alumni-list { gap: 0; border-top: 1px solid rgba(140,47,57,.2); }
.page-team .alumni-entry { padding: 0; border: 0; border-bottom: 1px solid rgba(140,47,57,.2); border-radius: 0; background: none; }
.page-team .alumni-entry[open] { background: none; }
.page-team .alumni-entry summary { padding: 1.1rem 2.5rem 1.1rem 0; }
.page-team .alumni-entry summary h3 { font-size: 1.25rem; line-height: 1.3; }
.page-team .alumni-entry summary .person-role { margin-top: .35rem; }
.page-team .alumni-entry .editorial { grid-template-columns: minmax(0,240px) minmax(0,1fr); gap: 2rem; padding: .25rem 0 1.5rem; }
.page-team .alumni-entry .person-photo { margin: 0; border-radius: 18px; }
@media (max-width: 900px) {
  .page-team .feature-person { grid-template-columns: minmax(0,1fr); gap: 1.5rem; }
}
@media (max-width: 760px) {
  .page-team .people-grid { grid-template-columns: minmax(0,1fr); gap: 3rem; }
  .page-team .alumni-entry .editorial { grid-template-columns: minmax(0,1fr); gap: 1.25rem; }
  .page-team .alumni-entry .person-photo { max-width: min(100%,260px); }
}
/* Keep the no-script fallback after responsive overrides. */
@media (scripting: none) {
  #newsForm { display: none; }
  .links { position: static; height: auto; padding: 0; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; gap: .6rem 1rem; z-index: auto; }
  .links a { font: 400 .9rem var(--sans); padding: .5rem; }
}
