.year-picker .hub-heading { margin-bottom: 18px; }
.year-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.year-scope { max-width: 62ch; margin: 16px auto 24px; color: var(--muted); font-size: .93rem; text-align: center; }
.year-semester { margin-bottom: 27px; }
.year-semester h2 { margin-bottom: 11px; font-size: 1.65rem; scroll-margin-top: 16px; }
.year-course-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
.year-card { display: flex; align-items: center; gap: .75rem; height: 100%; min-height: 84px; padding: .55rem .65rem .55rem .55rem; border: 1px solid var(--line); border-radius: 13px; background: var(--white); text-decoration: none; }
.year-card:hover { border-color: var(--tone-ink); }
.year-card-photo { flex: none; width: clamp(65px, 13vw, 101px); height: 68px; object-fit: cover; border-radius: 8px; background: var(--tone); }
.year-card-code { color: var(--tone-ink); font-size: .7rem; font-weight: 800; }
.year-card-copy { flex: 1; min-width: 0; }
.year-card-copy strong, .year-card-copy span { display: block; }
.year-card-copy strong { line-height: 1.25; }
.year-card-copy > span:last-child { margin-top: .25rem; color: var(--muted); font-size: .82rem; line-height: 1.4; }
.year-card-arrow { flex: none; color: var(--tone-ink); }
.year-slide-links p { margin-block: .55rem .75rem; color: var(--muted); }

.year-main .hero, .year-main .lab-hero { background: var(--tone); }
.year-main .hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.year-main .hero-copy { padding-right: 12px; }
.year-main .hero h1 { font-size: clamp(2.6rem, 5.2vw, 4.55rem); overflow-wrap: anywhere; }
.starter-art { position: relative; min-height: 0; }
.starter-art img { position: absolute; display: block; width: 100%; height: 100%; object-fit: cover; }
.year-main .hero .starter-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--tone), transparent 32%); }
.starter-image-frame { position: relative; background: #fffdfb; padding: 8px 8px 48px; }
.starter-figure { display: block; width: 100%; height: auto; max-height: 570px; object-fit: contain; }
.starter-image-link { position: absolute; inset: auto 8px 5px auto; min-height: 44px; display: inline-flex; align-items: center; gap: .3rem; padding: .45rem .68rem; color: var(--wine); border-radius: 7px; font-size: .86rem; font-weight: 750; }
.starter-image-link:hover { background: var(--pink); }
.starter-visual figcaption { font-size: .94rem; }
.starter-visual figcaption small { color: var(--muted); font-size: .76rem; margin-top: .25rem; }
.starter-breakdown { margin-top: 9px; padding: 0 11px; border: 1px solid var(--line); border-radius: 10px; background: var(--tone); color: var(--tone-ink); }
.starter-breakdown summary { min-height: 44px; padding-block: .62rem; cursor: pointer; font-weight: 750; font-size: .88rem; }
.starter-diagram { margin: 0; padding-inline-start: 1.25rem; font-size: .89rem; }
.starter-diagram-step + .starter-diagram-step { margin-top: .25rem; }
.starter-breakdown p { padding: .6rem 0 .75rem; font-size: .86rem; }
.starter-references { display: flex; flex-wrap: wrap; gap: 4px 15px; margin: 4px 0 0; padding: 0; list-style: none; color: var(--wine); font-size: .85rem; }
.starter-references a, .year-slide-links p a { display: inline-block; padding-block: .45rem; }

@media (max-width: 650px) {
  .year-course-list { grid-template-columns: 1fr; }
  .year-main .hero { grid-template-columns: minmax(0, 1fr); }
  .year-main .hero-copy { padding: 22px 16px 4px; }
  .year-main .hero .starter-art { height: clamp(160px, 51vw, 245px); }
  .year-main .lab-hero .starter-art { min-height: 180px; }
  .year-main .hero .starter-art::after { background: linear-gradient(180deg, var(--tone), transparent 30%); }
  .year-main .hero h1 { font-size: clamp(2.35rem, 9.3vw, 3.3rem); }
}

@media print {
  .year-main .starter-art { display: none; }
}
