@import url('https://fonts.googleapis.com/css2?family=Baskervville:ital@0;1&family=Instrument+Sans:wght@400;500;600;700&display=swap');

:root {
  color-scheme: light;
  --navy: #111d2d;
  --navy-deep: #0b1524;
  --ink: #172638;
  --muted: #4e5d6e;
  --paper: #faf8f2;
  --white: #fffefa;
  --sand: #f0ebdf;
  --line: #d9d4c8;
  --bronze: #775630;
  --gold: #e7c995;
  --serif: "Baskervville", Georgia, serif;
  --sans: "Instrument Sans", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.58 var(--sans); }
a { color: inherit; text-underline-offset: 4px; }
button, input { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, .track h3, .film h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; }
h2 { font-size: clamp(2.9rem, 6vw, 5.25rem); line-height: .99; margin-bottom: 0; }
h3 { line-height: 1.2; }
.shell { width: min(1216px, calc(100% - 112px)); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; z-index: 4; background: white; padding: 8px 18px; }
[hidden] { display: none !important; }

.header { position: relative; z-index: 1; background: var(--white); }
.utility { background: var(--navy); color: #f2efe8; }
.utility-inner { min-height: 35px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.utility a { font-size: 11px; font-weight: 600; letter-spacing: .055em; text-decoration: none; }
.utility a:first-child { text-transform: uppercase; }
.utility a:hover { color: var(--gold); }
.program-nav { min-height: 75px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font: 400 24px/1.08 var(--serif); letter-spacing: -.035em; white-space: nowrap; }
.brand small { display: block; font: 600 9px/1.35 var(--sans); letter-spacing: .17em; text-transform: uppercase; color: #5e6874; margin-top: 6px; }
.mark { width: 35px; height: 35px; display: grid; place-items: center; border: 1px solid #b69862; border-radius: 50%; color: var(--bronze); font: 22px/1 Georgia, serif; flex: none; }
#program-navigation { display: flex; align-items: center; column-gap: clamp(14px, 2.15vw, 36px); }
#program-navigation a { display: flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
#program-navigation a:hover { color: var(--bronze); text-decoration: underline; }
#program-navigation a[aria-current] { color: var(--bronze); box-shadow: inset 0 -2px var(--bronze); }
#program-navigation .nav-cta { border: 1px solid #a99b84; padding: 0 14px; gap: 10px; }
.nav-toggle { display: none; }

.start-section { padding-block: clamp(32px, 4.8vw, 64px); background: var(--white); border-bottom: 1px solid var(--line); }
.start-section h2 { font-size: clamp(2.35rem, 4vw, 3.65rem); margin-bottom: 26px; }
.start-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.start-group { padding: 20px clamp(12px, 1.65vw, 24px) 15px; }
.start-group + .start-group { border-left: 1px solid var(--line); }
.start-group:first-child { padding-left: 0; }
.start-group h3 { margin: 0 0 6px; font-size: 16px; font-weight: 700; }
.start-group ul, .section-nav ul { padding: 0; margin: 0; list-style: none; }
.start-group a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; min-height: 44px; padding-block: 5px; color: var(--ink); font-size: 14px; line-height: 1.35; text-decoration: none; }
.start-group a::after { content: ""; width: 6px; height: 6px; border-top: 1px solid var(--bronze); border-right: 1px solid var(--bronze); transform: rotate(45deg); }
.start-group a:hover, .section-nav a:hover { color: var(--bronze); text-decoration: underline; }

.section-nav { border-bottom: 1px solid var(--line); background: var(--white); }
.section-nav > .shell, .section-nav ul { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: clamp(14px, 2vw, 27px); }
.section-nav > .shell { padding-block: 8px; }
.section-nav p { margin: 0; color: var(--bronze); font-size: 12px; font-weight: 700; }
.section-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; text-decoration: none; }

.hero { position: relative; color: var(--white); background: var(--navy) url('./hero.webp') 72% center / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,#0b1524 1%,#0b1524ee 19%,#0b15249c 47%,#0b152415 79%), linear-gradient(0deg,#0b15247c,transparent 56%); }
.hero-inner { min-height: clamp(540px, 69vh, 775px); position: relative; display: flex; align-items: center; padding-block: 69px; }
.hero-content { max-width: 810px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--bronze); font-size: 11px; font-weight: 700; letter-spacing: .17em; line-height: 1.4; text-transform: uppercase; margin: 0 0 16px; }
.eyebrow span { display: inline-block; width: 23px; height: 1px; background: currentColor; }
.hero .eyebrow, .graduate .eyebrow, .journal .eyebrow { color: var(--gold); }
h1 { font-size: clamp(4.95rem, 8.4vw, 8.6rem); line-height: .94; margin: 0 0 24px; }
.hero-deck { max-width: 455px; color: #eef0f3; font-size: clamp(16px, 1.45vw, 20px); line-height: 1.52; margin-bottom: 29px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 47px; padding: 10px 15px; border: 1px solid transparent; font-size: 13px; font-weight: 700; text-decoration: none; }
.primary { color: #26201a; background: var(--gold); }
.primary:hover { background: #f4dbac; }
.ghost { color: #fff; border-color: #ffffff80; background: #0e1a2a69; }
.ghost:hover { background: #26364b; }
.dark { background: var(--navy); color: white; }
.dark:hover { background: #2a405d; }
.play-icon { width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 8px solid currentColor; display: inline-block; flex: none; }

.summary { background: var(--sand); border-bottom: 1px solid var(--line); }
.summary-grid { display: grid; grid-template-columns: repeat(4, 1fr); min-height: 109px; }
.summary-grid div { display: flex; align-items: center; gap: 12px; padding: 13px 19px; border-left: 1px solid var(--line); }
.summary-grid div:last-child { border-right: 1px solid var(--line); }
.summary strong { font: 400 clamp(1.9rem, 4.1vw, 3.45rem)/1 var(--serif); letter-spacing: -.045em; font-variant-numeric: lining-nums tabular-nums; }
.summary span { color: #4a5663; font-size: 12px; font-weight: 600; line-height: 1.3; max-width: 123px; }
.origin-band { border-bottom: 1px solid var(--line); background: var(--white); }
.origin-grid { display: grid; grid-template-columns: 1.27fr .73fr; gap: clamp(18px,5vw,78px); align-items: center; padding-block: clamp(34px,5vw,68px); }
.origin-grid h2 { font-size: clamp(2.3rem,4.4vw,4rem); }
.origin-grid p:not(.eyebrow) { color: var(--muted); margin-bottom: 10px; }

.section { padding-block: clamp(64px, 7.5vw, 112px); }
.section-intro { display: grid; grid-template-columns: 1.27fr .73fr; gap: clamp(25px, 6vw, 89px); align-items: end; margin-bottom: 38px; }
.section-intro > p { color: var(--muted); max-width: 400px; margin: 0 0 2px; }
.track-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.track { display: flex; flex-direction: column; align-items: flex-start; min-height: 344px; padding: clamp(27px, 4vw, 47px); background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--bronze); }
.track-practice { background: #132235; color: #fbf9f2; border-color: #132235; border-top-color: var(--gold); }
.track-practice .eyebrow, .track-practice .text-link { color: var(--gold); }
.track h3 { font-size: clamp(2.75rem, 4.7vw, 4.25rem); line-height: .94; margin-bottom: 15px; }
.track > p:not(.eyebrow) { color: var(--muted); margin-bottom: 14px; max-width: 430px; }
.track-practice > p:not(.eyebrow) { color: #dbe3eb; }
.track ul { margin: 0 0 23px; padding-left: 17px; font-size: 14px; }
.track li { margin-block: 3px; }
.text-link { font-weight: 700; font-size: 14px; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--bronze); }
.track .text-link { margin-top: auto; }

.curriculum { background: #edf0ee; border-block: 1px solid #d7ddda; }
.curriculum-tools { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.filters { display: flex; flex-wrap: wrap; gap: 7px; }
.filters button { min-height: 41px; border: 1px solid #b9c3c4; padding: 6px 13px; background: transparent; color: var(--ink); font-size: 13px; font-weight: 700; }
.filters button:hover { border-color: var(--navy); }
.filters button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.search { min-height: 41px; display: flex; align-items: center; gap: 10px; padding: 3px 10px; border: 1px solid #b9c3c4; background: #fff; }
.search input { width: 180px; border: 0; background: transparent; color: var(--ink); font-size: 14px; }
.search-icon { position: relative; display: block; width: 11px; height: 11px; margin-right: 2px; border: 1.5px solid #4c5868; border-radius: 50%; }
.search-icon::after { content: ""; position: absolute; width: 6px; height: 1.5px; top: 8px; left: 8px; transform: rotate(45deg); transform-origin: left center; background: #4c5868; }
.result-count { color: var(--muted); font-size: 12px; margin: 12px 0 7px; }
.module-list { border-top: 1px solid #c4cece; }
.module { border-bottom: 1px solid #c4cece; }
.module > summary, .source-register > summary { cursor: pointer; list-style: none; }
.module > summary::-webkit-details-marker, .source-register > summary::-webkit-details-marker { display: none; }
.module > summary { display: grid; grid-template-columns: 83px minmax(0, 1fr) 151px 29px; align-items: center; gap: 11px; padding: 13px 10px; min-height: 56px; }
.module > summary:hover, .source-register > summary:hover { background: #dce5e3; }
.module[open] > summary { background: #e1e8e5; }
.module-code { color: #45586b; font-size: 12px; font-weight: 700; }
.module-title { font-weight: 700; line-height: 1.28; }
.module-meta { text-align: right; font-size: 12px; color: var(--muted); line-height: 1.3; }
.plus { font-size: 21px; font-weight: 400; text-align: center; }
.module[open] .plus, .source-register[open] .plus { transform: rotate(45deg); }
.module-body { padding: 18px 19px 24px 104px; background: #f8f9f6; }
.module-body p { margin-bottom: 10px; }
.module-body h4 { margin: 18px 0 6px; }
.unit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0; margin: 8px 0 16px; list-style: none; }
.unit-grid > li { padding: 14px; border: 1px solid #d6deda; background: #fff; }
.unit-grid h5 { margin: 0 0 7px; font-size: 15px; }
.unit-grid p { font-size: 13px; margin-bottom: 5px; }
.unit-grid strong { color: #263b54; }
.module-links, .unit-links { padding: 0; list-style: none; font-size: 13px; }
.module-links { display: flex; flex-wrap: wrap; gap: 7px 16px; margin: 0 0 12px; }
.unit-links { display: grid; gap: 4px; margin: 10px 0 0; padding-top: 8px; border-top: 1px solid #d6deda; font-size: 12px; }
.unit-links a, .module-links a { color: #24466a; text-decoration-thickness: 1px; }
.empty { padding: 15px 8px; color: var(--muted); }
.source-register { margin-top: 25px; border: 1px solid #becacb; }
.source-register > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 17px; }
.source-register small { display: block; color: var(--muted); font-size: 12px; }
.source-content { padding: 18px; background: #f8f9f6; font-size: 14px; }
.source-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.source-item { border: 1px solid #d7dfdc; padding: 12px; }
.source-item a { display: block; font-weight: 700; line-height: 1.3; margin-bottom: 6px; }
.source-item p { color: var(--muted); font-size: 11px; margin: 0; }

.milestones { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 0; border-block: 1px solid var(--line); }
.milestones li { padding: 22px 19px 21px; border-right: 1px solid var(--line); }
.milestones li:first-child { padding-left: 0; }
.milestones li:last-child { border-right: 0; }
.milestones span { color: var(--bronze); font: 400 36px/1 var(--serif); }
.milestones h3 { margin: 12px 0 7px; }
.milestones p { margin: 0; color: var(--muted); font-size: 14px; }
.milestones-action { margin: 23px 0 0; }

.films { background: #efeade; border-block: 1px solid var(--line); }
.film-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.film { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); }
.film-stage { position: relative; aspect-ratio: 16 / 9; background: var(--navy) center / cover no-repeat; }
.yale-film { background-image: url('https://i.ytimg.com/vi/iJdhp_J7GgM/maxresdefault.jpg'); }
.film-play { display: grid; place-items: center; width: 100%; height: 100%; position: absolute; inset: 0; border: 0; background: linear-gradient(0deg,#0b152449,#0b152419); color: white; }
.film-play:hover, .film-play:focus-visible { background: #0b152432; }
.film-icon { display: grid; place-items: center; width: 59px; height: 59px; border-radius: 50%; border: 1px solid #ffffffb3; background: #101b2bc9; }
.film-icon .play-icon { transform: translateX(2px); }
.film-player { display: block; position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.film-copy { padding: clamp(18px, 2.75vw, 30px); display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
.film-copy .eyebrow { margin-bottom: 9px; }
.film h3 { font-size: clamp(1.75rem, 3.05vw, 3rem); margin-bottom: 8px; }
.film-copy > p:not(.eyebrow) { color: var(--muted); margin-bottom: 15px; }
.film-copy .text-link { margin-top: auto; }
.film-links { display: flex; gap: 6px 17px; flex-wrap: wrap; margin-top: auto; }

.journal { color: var(--white); background: var(--navy-deep); }
.journal-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); min-height: 385px; align-items: stretch; }
.journal-copy { align-self: center; padding: 50px 32px 50px 0; }
.journal-copy > p:not(.eyebrow) { color: #d7e0e8; max-width: 368px; margin: 17px 0 23px; }
.journal-image { min-height: 340px; background: #1d2c3f url('./journal.webp') center / cover no-repeat; position: relative; }
.journal-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,var(--navy-deep),transparent 23%); }

.graduate { background: var(--navy); color: var(--white); }
.graduate-inner { padding-block: clamp(55px, 7vw, 95px); }
.graduate-grid { display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; gap: clamp(24px, 6vw, 85px); }
.graduate-image { min-height: 340px; background: #26364a url('./cockpit.webp') center / cover no-repeat; border: 1px solid #556072; }
.graduate-copy p:not(.eyebrow) { color: #dee5eb; max-width: 450px; }
.graduate-copy .person-line { margin: 13px 0; font-weight: 700; }
.graduate .text-link, .product a:hover { color: var(--gold); }
.product-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: #536074; border: 1px solid #536074; margin-top: 27px; }
.product { display: flex; flex-direction: column; align-items: flex-start; padding: 17px; background: #162437; }
.product small { color: var(--gold); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.product h3 { font-size: 17px; margin: 7px 0 8px; }
.product p { color: #dde4ec; font-size: 13px; line-height: 1.51; margin-bottom: 13px; }
.product a { font-size: 12px; font-weight: 600; margin-top: auto; }

.admissions { display: grid; grid-template-columns: 1.27fr .73fr; gap: 39px; align-items: center; }
.admissions > div:first-child > p:last-child { max-width: 485px; margin: 17px 0 0; color: var(--muted); }
.admissions-aside { border-left: 1px solid var(--line); padding: 8px 0 8px 28px; }
.admissions-aside p { margin-bottom: 12px; color: var(--muted); }
.admissions-aside .status { color: var(--bronze); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; }
footer { background: var(--navy-deep); color: var(--white); }
.footer-inner { min-height: 87px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 13px 23px; padding-block: 20px; }
.footer-nav { display: flex; flex-wrap: wrap; align-items: center; column-gap: clamp(12px, 2vw, 25px); }
.footer-nav a, .footer-inner > a:not(.brand) { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; color: #d6dfe9; font-size: 13px; text-decoration: none; }
.footer-nav a:hover, .footer-nav a[aria-current], .footer-inner > a:hover:not(.brand) { color: var(--gold); text-decoration: underline; }
.footer-inner .mark { color: var(--gold); }

a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline: 2px solid #805625; outline-offset: 3px; }
.hero a:focus-visible, .utility a:focus-visible, .graduate a:focus-visible, .journal a:focus-visible, footer a:focus-visible, .film-play:focus-visible { outline-color: var(--gold); }

@media (max-width: 1060px) {
  .shell { width: calc(100% - 72px); }
  .brand { font-size: 22px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .summary-grid div { padding-inline: 12px; gap: 9px; }
}
@media (max-width: 980px) {
  .program-nav { position: relative; min-height: 64px; flex-wrap: wrap; gap: 0 12px; }
  #program-navigation { width: 100%; flex-wrap: wrap; padding-bottom: 9px; }
  .has-menu-toggle .nav-toggle { display: block; min-height: 44px; border: 1px solid #a99b84; background: var(--white); color: var(--ink); padding: 4px 13px; font-size: 14px; font-weight: 700; }
  .has-menu-toggle #program-navigation { display: none; position: absolute; z-index: 3; top: 100%; inset-inline: 0; align-items: stretch; flex-direction: column; padding: 8px 15px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 12px 25px #0b152422; }
  .has-menu-toggle .nav-toggle[aria-expanded="true"] + #program-navigation { display: flex; }
  .has-menu-toggle #program-navigation a { white-space: normal; padding: 0 7px; }
  .has-menu-toggle #program-navigation a + a { border-top: 1px solid var(--line); }
  .has-menu-toggle #program-navigation .nav-cta { border-inline: 0; border-bottom: 0; }
  .hero::before { background: linear-gradient(90deg,#0b1524ec,#0b15247a),linear-gradient(0deg,#0b15247a,transparent); }
  .start-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .start-group:nth-child(n+3) { border-top: 1px solid var(--line); }
  .start-group:nth-child(odd) { border-left: 0; padding-left: 0; }
}
@media (max-width: 690px) {
  .shell { width: calc(100% - 36px); }
  .program-nav .brand { flex: 1; }
  .start-grid { grid-template-columns: 1fr; }
  .start-group:nth-child(n) { border-left: 0; padding-inline: 0; }
  .start-group + .start-group { border-top: 1px solid var(--line); }
  .section-nav > .shell { display: block; padding-top: 13px; }
  .footer-nav { width: 100%; }
  .origin-grid { grid-template-columns: minmax(0,1fr); }
  .utility-inner { min-height: 32px; }
  .utility a { font-size: 10px; }
  .brand { font-size: 20px; white-space: normal; }
  .mark { width: 30px; height: 30px; font-size: 19px; }
  .hero { background-position: 68% center; }
  .hero-inner { min-height: 509px; padding-block: 51px; }
  h1 { font-size: clamp(3.1rem, 10.4vw, 4.85rem); }
  .section-intro, .track-grid, .film-grid, .graduate-grid, .admissions, .journal-grid { grid-template-columns: 1fr; }
  .section-intro { gap: 18px; margin-bottom: 27px; }
  .track { min-height: 0; }
  .summary-grid { grid-template-columns: repeat(2, 1fr); }
  .summary-grid div { min-height: 59px; border: 0; border-bottom: 1px solid var(--line); }
  .summary-grid div:nth-child(odd) { border-right: 1px solid var(--line); }
  .summary-grid div:nth-child(n+3) { border-bottom: 0; }
  .summary-grid div:last-child { border-right: 0; }
  .module > summary { grid-template-columns: 56px minmax(0,1fr) 24px; gap: 6px; padding: 10px 4px; }
  .module-meta { grid-column: 2; grid-row: 2; text-align: left; }
  .module > summary .plus { grid-column: 3; grid-row: 1 / span 2; }
  .module-body { padding: 15px; }
  .source-list, .milestones, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .milestones li { padding: 16px 12px; }
  .milestones li:first-child { padding-left: 12px; }
  .milestones li:nth-child(even) { border-right: 0; }
  .milestones li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .journal-copy { padding: 44px 0 24px; }
  .journal-image { min-height: clamp(190px, 45vw, 310px); }
  .journal-image::before { background: linear-gradient(180deg,var(--navy-deep),transparent 29%); }
  .graduate-image { min-height: 248px; }
  .admissions-aside { border-left: 0; border-top: 1px solid var(--line); padding: 16px 0 0; }
}
@media (max-width: 400px) {
  .actions { gap: 8px; }
  .actions .button { padding: 8px 10px; gap: 7px; }
  .source-list, .unit-grid, .product-grid { grid-template-columns: 1fr; }
}

.curriculum-note { color: var(--muted); max-width: 52rem; margin: 0 0 20px; }

.graduate-copy .graduate-portfolio { margin: 12px 0 0; }
