/* Homepage uses the subpage banner frame with a taller opening. */
.r5-home-hero { position:relative; isolation:isolate; overflow:hidden; display:grid; align-items:center; min-height:720px; margin-block-start:var(--ds-page-start); border-radius:12px; background:#29232b; color:#fff; }
.r5-home-hero-picture { position:absolute; z-index:-1; inset:0; }
.r5-home-hero-picture img { width:100%; height:100%; object-fit:cover; object-position:72% 50%; }
.r5-home-hero-picture::after { content:''; position:absolute; inset:0; background:linear-gradient(90deg,#29232bf5 0%,#29232be6 30%,#29232b94 53%,#29232b12 80%); }
.r5-home-hero-inner { padding:64px clamp(32px,4vw,72px); }
.r5-home-hero-brand { display:flex; align-items:center; gap:14px; margin-bottom:32px; }
.r5-home-hero-brand img { width:auto; height:42px; }
.r5-home-hero-brand p { margin:0; font-size:12px; line-height:1.5; letter-spacing:.04em; color:#f0e4c6; }
.r5-home-hero-brand em { display:block; color:#fff; font:20px/1.3 Instrument,Georgia,serif; letter-spacing:0; }
.r5-home-hero h1 { max-width:65%; font-size:clamp(40px,3.6vw,64px); line-height:1.2; letter-spacing:-.045em; color:#fff; }
.r5-home-hero h1 em { display:block; color:inherit; font-style:normal; }
.r5-home-hero-description { max-width:min(56%,700px); margin:28px 0 0; font-size:var(--ds-lead); line-height:var(--ds-banner-leading); color:#fff; text-wrap:pretty; }
.r5-home-hero-description span { display:block; }
.r5-home-hero-description span + span { margin-top:var(--ds-banner-sentence-gap); }
.r5-home-hero .actions { margin-top:32px; }
.r5-home-hero .r5-home-sessions { background:#fff; color:var(--ds-ink); }
.r5-home-hero .r5-home-sessions:hover { background:var(--ds-paper); }
.r5-home-hero .r5-home-campus { background:var(--action); color:#fff; }
.r5-home-hero .r5-home-campus:hover { background:#951d14; }
.r5-home-hero a:focus-visible { outline-color:#fff; outline-offset:4px; }

/* Main content uses the same type, spacing, media and action roles as subpages. */
main:has(.r5-home-hero) .home-section { margin-block-start:var(--ds-section); }
.home-section-heading { display:flex; align-items:end; justify-content:space-between; gap:24px; }
.home-section-heading > h2 { margin:0; }
.home-section-heading .inline-action { flex:none; }
.home-evidence-list { margin-top:var(--ds-home-heading-gap); }
.home-proof { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr); gap:clamp(32px,5vw,96px); align-items:start; padding-block:40px; border-bottom:1px solid var(--ds-line); }
.home-proof > * { min-width:0; }
.home-proof:first-child { padding-top:0; }
.home-proof:last-child { padding-bottom:0; border:0; }
.home-proof .home-proof-number { display:flex; flex-wrap:nowrap; align-items:baseline; gap:12px; color:var(--ds-accent); font-size:clamp(48px,3.4vw,64px); font-weight:var(--weight-title); line-height:1; letter-spacing:-.04em; margin:0 0 20px; font-variant-numeric:tabular-nums; }
.home-proof-number small { display:inline; white-space:nowrap; color:var(--ds-ink); font-size:var(--ds-body); line-height:1.4; letter-spacing:0; font-weight:var(--weight-body); }
html:lang(en) .home-proof-number small { min-width:0; white-space:normal; text-wrap:balance; }
.home-proof-copy h3 { margin:0; }
.home-proof-copy > .home-proof-description { margin:20px 0; font-size:var(--ds-body); color:var(--ds-muted); line-height:1.78; text-wrap:pretty; max-width:38em; }
.home-proof-visual { min-width:0; width:100%; max-width:520px; justify-self:end; align-self:start; border-radius:12px; overflow:hidden; }
.home-proof-visual > img { width:100%; aspect-ratio:4/3; object-fit:cover; }
.home-proof-books { display:grid; grid-template-columns:repeat(8,minmax(0,1fr)); gap:8px; padding:24px; background:#101012; border-radius:12px; }
.home-proof-books img { width:100%; height:auto; aspect-ratio:3/4; object-fit:contain; box-shadow:2px 3px 5px #30262816; }
.home-proof-award { margin:0; padding:24px; background:var(--ds-paper); }
.home-proof-award img { width:auto; height:280px; max-width:100%; object-fit:contain; margin-inline:auto; }
.home-proof-history { list-style:none; margin:24px 0; padding:0 0 0 20px; border-left:1px solid var(--ds-line); }
.home-proof-history li { position:relative; display:grid; grid-template-columns:52px minmax(0,1fr); gap:16px; padding-block:12px; font-size:var(--ds-caption); line-height:1.6; align-items:first baseline; }
.home-proof-history li::before { content:''; width:7px; height:7px; background:var(--ds-accent); border-radius:50%; position:absolute; top:calc(12px + var(--ds-body) * .8 - 3.5px); left:-24px; }
.home-proof-history strong { color:var(--ds-accent); font-size:var(--ds-body); }
.home-education { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.4fr); gap:clamp(40px,6vw,112px); align-items:start; }
.home-education-intro { position:sticky; top:calc(var(--site-header-height) + 24px); align-self:start; }
.home-education-intro h2 { margin:0 0 24px; }
.home-education-intro h3 { max-width:none; margin:0 0 24px; }
.home-education-intro p { color:var(--ds-muted); font-size:var(--ds-body); line-height:1.78; margin:0; max-width:50em; text-wrap:pretty; }
.home-education-intro p + p { margin-top:16px; }
.home-education-intro > .inline-action { margin-top:24px; }
.home-capability-groups { display:grid; gap:20px; }
.home-capability-tier { padding:var(--ds-panel-block) var(--ds-panel-inline); background:var(--ds-paper); border-radius:12px; }
.home-capability-tier > h3 { padding-bottom:24px; border-bottom:1px solid var(--ds-line); }
.home-capability-tier ul { display:grid; grid-template-columns:1fr 1fr; gap:24px; margin:0; padding:0; list-style:none; }
.home-capability-tier li { display:grid; grid-template-columns:28px minmax(0,1fr); gap:16px; padding-top:24px; }
.home-capability-tier svg { width:28px; height:28px; color:var(--ds-accent); }
.home-capability-tier h4 { margin:0; font-size:var(--ds-body); line-height:1.5; font-weight:var(--weight-title); }
.home-capability-tier p { margin:8px 0 0; font-size:var(--ds-body); line-height:1.7; color:var(--ds-muted); }
.home-carousel-actions { display:flex; align-items:center; gap:32px; }
.home-insights { padding-block-end:var(--ds-section); }
.home-carousel-controls { display:flex; gap:8px; }
.home-carousel-controls[hidden] { display:none; }
.home-slide-button { display:grid; place-items:center; width:48px; height:48px; padding:0; border:1px solid var(--ds-line); border-radius:50%; background:#fff; color:var(--ds-ink); cursor:pointer; }
.home-slide-button svg { width:22px; height:22px; }
.home-slide-button[data-carousel-step="-1"] svg { transform:rotate(180deg); }
.home-slide-button:hover:not(:disabled) { border-color:var(--ds-accent); color:var(--ds-accent); background:var(--ds-paper); }
.home-slide-button:disabled { opacity:.3; cursor:default; }
main .home-article-track {
  display:grid;
  grid-template-columns:none;
  grid-auto-flow:column;
  grid-auto-columns:calc((100% - 3 * var(--ds-card-gap)) / 4);
  align-items:stretch;
  overflow-x:auto;
  overscroll-behavior-x:contain;
  scroll-snap-type:x mandatory;
  scroll-padding-inline:16px;
  scrollbar-width:none;
  margin:calc(var(--ds-home-heading-gap) - 16px) -16px -32px;
  padding:16px 16px 32px;
}
.home-article-track::-webkit-scrollbar { display:none; }
.home-article-track > .reading-card { min-width:0; scroll-snap-align:start; }
.home-article-track .reading-card-link { height:100%; }
.home-article-track:focus-visible { outline:2px solid var(--ds-accent); outline-offset:6px; border-radius:12px; }
.home-behavior .admissions-behavior { margin:0; }
.r5-home-visit { margin-top:var(--ds-section); background:#fff; }
.home-campus > .story-grid, .r5-home-visit > .shell > .story-grid { margin-block-start:var(--ds-home-heading-gap); }
@media (min-width:900px) and (max-width:1199px) {
 .r5-home-hero { min-height:680px; }
 .r5-home-hero h1 { max-width:80%; }
 .r5-home-hero-description { max-width:65%; }
}
@media (max-width:1199px) {
 .home-proof { gap:32px; }
 .home-proof-books { padding:20px; gap:8px; grid-template-columns:repeat(6,minmax(0,1fr)); }
 .home-education { grid-template-columns:1fr; gap:32px; }
 .home-education-intro { position:static; max-width:48rem; }
 .home-carousel-controls { display:none; }
 main .home-article-track { grid-auto-columns:calc((100% - 2 * var(--ds-card-gap) - 32px) / 2); }
}
@media (max-width:899px) {
 .r5-home-hero { min-height:660px; }
 .r5-home-hero-inner { padding:48px var(--ds-panel-inline); }
 .r5-home-hero-picture img { object-position:64% 50%; }
 .r5-home-hero-picture::after { background:linear-gradient(180deg,#29232b9c,#29232bef); }
 .r5-home-hero h1 { max-width:100%; font-size:clamp(36px,5.4vw,48px); }
 .r5-home-hero-description { max-width:36em; }
}
@media (max-width:599px) {
 .r5-home-hero { min-height:0; }
 .r5-home-hero-inner { padding-block:40px; }
 .r5-home-hero-brand { margin-bottom:24px; }
 .r5-home-hero-brand img { height:36px; }
 .r5-home-hero h1 { font-size:clamp(30px,8.1vw,40px); line-height:1.3; }
 .r5-home-hero-description { margin-top:24px; font-size:17px; }
 .r5-home-hero .actions { display:grid; grid-template-columns:1fr; gap:12px; }
 .home-section-heading { align-items:start; flex-direction:column; gap:8px; }
 .home-proof { grid-template-columns:1fr; min-height:0; gap:24px; padding-block:36px; }
 .home-proof .home-proof-number { font-size:48px; }
 .home-proof-visual { max-width:none; }
 .home-proof-books { padding:20px; gap:8px; grid-template-columns:repeat(6,minmax(0,1fr)); }
 .home-proof-award img { height:260px; }
 .home-proof-copy > :is(.home-proof-description,.home-proof-history):has(+ .inline-action) { margin-bottom:0; }
 .home-proof .home-proof-copy > a.inline-action,
 .home-education .home-education-intro > a.inline-action { display:flex; width:fit-content; margin:16px 0 0 auto; }
 .home-education { gap:24px; }
 .home-capability-tier ul { grid-template-columns:1fr; gap:0; }
 main .home-article-track { grid-auto-columns:calc(100% - var(--ds-card-gap) - 24px); }
 .home-insights .home-section-heading,.home-programs .home-section-heading { flex-direction:row; align-items:end; }
 .home-behavior .admissions-behavior { padding:28px 20px; }
 .home-behavior .behavior-visual { display:none; }
}
