/* ==========================================================
   College Blog — public site (process 2)
   Values taken from the design reference (Main.dc.html + PDF p.3)
   ========================================================== */
:root {
  --ink: #0B1220;
  --ink-2: #1E293B;
  --text: #334155;
  --text-2: #475569;
  --muted: #64748B;
  --muted-2: #94A3B8;
  --line: #E2E8F0;
  --line-2: #EEF2F7;
  --line-3: #F1F5F9;
  --bg: #F5F7FB;
  --brand: #4338CA;
  --brand-d: #312E81;
  --brand-soft: #EEF0FF;
  --brand-ink: #3730A3;
  --brand-tint: #C7D2FE;
  --warm: #FFF1E0;
  --warm-ink: #7A3E0A;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Plus Jakarta Sans', Inter, system-ui, sans-serif; color: var(--ink); background: var(--bg); min-width: 0; -webkit-font-smoothing: antialiased; }
a { color: var(--brand); }
a:hover { color: var(--brand-d); }
button, input { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid rgba(67, 56, 202, .45); outline-offset: 2px; }
.ic { flex: none; display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
a.sr-only:focus { position: fixed; top: 12px; left: 12px; width: auto; height: auto; clip: auto; z-index: 60; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 700; }

/* ---------- Motion (from the design) ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.rise { animation: rise .8s var(--ease) backwards; }
.floaty { animation: floaty 7s ease-in-out infinite; }
.live { animation: pulse 2s ease-in-out infinite; }

.card { background: #fff; border: 1px solid var(--line-2); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -24px rgba(11, 18, 32, .35); }
.card .media { transition: transform .7s var(--ease); }
.card:hover .media { transform: scale(1.06); }
.go { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; text-decoration: none; align-self: flex-start; }
.go .ic, .pill-btn .ic { transition: transform .3s; }
.card:hover .go .ic, .go:hover .ic, .pill-btn:hover .ic { transform: translateX(4px); }
.pill-btn:hover .ic.back { transform: translateX(-4px); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; border-radius: 999px; font-weight: 700; border: none; cursor: pointer; transition: transform .25s, background-color .25s, box-shadow .25s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(67, 56, 202, .7); }
.btn-brand { background: var(--brand); color: #fff; padding: 12px 20px; }
.btn-brand:hover { color: #fff; }
.btn-white { background: #fff; color: var(--ink); padding: 14px 24px; }
.btn-white:hover { color: var(--ink); }
.chip { transition: background-color .25s, color .25s, border-color .25s; }
.chip:hover { border-color: var(--brand); }
.navlink { color: var(--text); text-decoration: none; transition: color .2s; }
.navlink:hover { color: var(--brand); }
.ad { transition: transform .4s, border-color .3s; }
.ad:hover { transform: scale(1.01); border-color: var(--brand); }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(11, 18, 32, .08);
  background: rgba(255, 255, 255, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.hd-in { max-width: 1240px; margin: 0 auto; padding: 14px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand:hover { color: var(--ink); }
.logo { width: 44px; height: 44px; border-radius: 14px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; letter-spacing: .06em; flex: none; overflow: hidden; }
.logo img { width: 100%; height: 100%; object-fit: cover; }
.brand-name { font-size: 19px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 26px; font-size: 15px; font-weight: 500; }
.nav-on { color: var(--brand); text-decoration: none; font-weight: 700; background: var(--brand-soft); padding: 8px 14px; border-radius: 999px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center; cursor: pointer; }

/* ---------- Banner slider ---------- */
.banner { padding-top: 24px; }
.banner-card { position: relative; overflow: hidden; border-radius: 32px; background: var(--ink); color: #fff; padding: 40px; }
.banner-card .c1 { position: absolute; width: 320px; height: 320px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .08); top: -120px; right: -80px; }
.banner-card .c2 { position: absolute; width: 180px; height: 180px; border-radius: 50%; background: rgba(67, 56, 202, .35); bottom: -70px; left: 38%; animation-delay: -3s; }
.stage { position: relative; height: 460px; }
.slide { position: absolute; inset: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 40px; opacity: 0; transform: translateX(32px); transition: opacity .7s ease, transform .7s var(--ease); pointer-events: none; }
.slide.on { opacity: 1; transform: none; pointer-events: auto; }
.slide-txt { flex: 1 1 420px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.slide-tag { align-self: flex-start; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, .1); padding: 8px 14px; border-radius: 999px; color: #E0E7FF; }
.slide-tag i { width: 8px; height: 8px; border-radius: 50%; background: #A5B4FC; }
.slide h1, .slide h2 { margin: 0; font-size: 56px; line-height: 1.04; font-weight: 800; letter-spacing: -.03em; }
.slide p { margin: 0; font-size: 18px; line-height: 1.55; color: #CBD5E1; max-width: 480px; }
.slide .btn-white { align-self: flex-start; margin-top: 8px; }
.slide-img { flex: 1 1 380px; height: 380px; border-radius: 24px; background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .08); color: var(--muted-2); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.slide-img img { width: 100%; height: 100%; object-fit: cover; }
.ctrl { position: relative; margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.dots { display: flex; align-items: center; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 999px; border: none; padding: 0; cursor: pointer; background: rgba(255, 255, 255, .3); transition: width .4s, background-color .4s; }
.dot.on { width: 32px; background: #fff; }
.ctrl-btns { display: flex; gap: 10px; }
.round { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.round.primary { border: none; background: var(--brand); }

/* ---------- Section heads ---------- */
.section { padding-top: 40px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }
.blog-title { padding-top: 64px; }
.bt-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.bt-text { display: flex; flex-direction: column; gap: 10px; }
.bt-text h2 { margin: 0; font-size: 48px; font-weight: 800; letter-spacing: -.03em; }
.bt-text p { margin: 0; font-size: 17px; color: var(--text-2); max-width: 600px; }
.search { display: flex; flex-direction: column; gap: 6px; min-width: 280px; }
.search label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.search-in { position: relative; }
.search-in .ic { position: absolute; left: 16px; top: 15px; color: var(--muted); pointer-events: none; }
.search input { width: 100%; height: 48px; padding: 0 16px 0 44px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(67, 56, 202, .12); }
.chips { margin-top: 28px; display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.chip { flex: none; height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text); font-size: 14px; font-weight: 600; cursor: pointer; }
.chip[aria-pressed=true] { border-color: var(--ink); background: var(--ink); color: #fff; font-weight: 700; }

.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.sec-head > div { display: flex; flex-direction: column; gap: 6px; }
.sec-head h2 { margin: 0; font-size: 34px; font-weight: 800; letter-spacing: -.02em; }
.pill-btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; text-decoration: none; color: var(--ink); border: 1px solid var(--line); background: #fff; padding: 12px 20px; border-radius: 999px; transition: border-color .2s, transform .25s; }
.pill-btn:hover { color: var(--ink); border-color: var(--brand); }
.empty { margin: 28px 0 0; color: var(--text-2); }

/* ---------- News cards ---------- */
.news-grid { margin-top: 28px; display: grid; gap: 24px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid3 { margin-top: 28px; display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.media-wrap { overflow: hidden; flex: 1 1 auto; display: flex; }
.media { flex: 1; min-height: 190px; color: var(--text-2); display: flex; align-items: center; justify-content: center; opacity: .95; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media .ic { opacity: .55; }
.card-body { padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; }
.pill-cat { background: var(--brand-soft); color: var(--brand-ink); padding: 5px 12px; border-radius: 999px; font-weight: 700; }
.pill-stu { background: var(--warm); color: var(--warm-ink); padding: 5px 12px; border-radius: 999px; font-weight: 700; font-size: 12px; }
.date { color: var(--muted); font-weight: 500; }
.card h3 { margin: 0; font-size: 18px; line-height: 1.35; font-weight: 700; letter-spacing: -.01em; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--brand); }
.excerpt { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.55; }
.feat { grid-column: span 2; grid-row: span 2; }
.feat .media { min-height: 360px; }
.feat h3 { font-size: 26px; }
.grid3 .media { min-height: 0; height: 190px; flex: none; width: 100%; }
.grid3 .media-wrap { flex: none; }
.grid3 .card-body { flex: 1; }
.grid3 .go { margin-top: auto; }

/* ---------- Ads ---------- */
.ad-wrap { padding-top: 56px; }
.ad-wrap.inline { padding-top: 32px; padding-bottom: 8px; }
.ad-label { display: block; font-size: 11px; font-weight: 700; color: var(--muted); margin-bottom: 8px; letter-spacing: .12em; text-transform: uppercase; }
.ad { display: flex; align-items: center; justify-content: center; gap: 10px; border-radius: 24px; border: 1.5px dashed #CBD5E1; background: #fff; color: var(--text-2); text-decoration: none; font-size: 14px; font-weight: 500; text-align: center; padding: 0 16px; overflow: hidden; }
.ad:hover { color: var(--text-2); }
.ad.has-img { padding: 0; border-style: solid; border-color: var(--line-2); }
.ad img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Alumni ---------- */
.alumni { padding-top: 64px; }
.alumni-grid { margin-top: 28px; display: grid; gap: 24px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.al-card { padding: 26px; gap: 14px; }
.al-card .q { color: var(--brand-tint); }
.story { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink-2); font-weight: 500; }
.story a { color: inherit; text-decoration: none; }
.story a:hover { color: var(--brand); }
.person { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--line-3); }
.photo { width: 52px; height: 52px; flex: none; border-radius: 50%; color: var(--text-2); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; box-shadow: 0 0 0 3px #fff, 0 0 0 5px #E0E7FF; overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.person > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.p-name { font-weight: 700; font-size: 15px; }
.p-batch { font-size: 13px; color: var(--muted); }
.p-role { font-size: 13px; font-weight: 600; color: var(--brand); }
.al-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }

.cta { position: relative; overflow: hidden; margin-top: 40px; background: var(--ink); color: #fff; border-radius: 32px; padding: 44px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.cta .c3 { position: absolute; width: 220px; height: 220px; border-radius: 50%; background: rgba(67, 56, 202, .4); right: 18%; top: -110px; }
.cta > div { position: relative; display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.cta h3 { margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.cta p { margin: 0; font-size: 16px; color: #CBD5E1; }
.cta .btn-brand { position: relative; padding: 16px 26px; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 72px; background: var(--ink); color: #CBD5E1; }
.ft-grid { max-width: 1240px; margin: 0 auto; padding: 56px 24px 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 36px; }
.ft-col { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.ft-col.about { line-height: 1.7; }
.ft-name { font-size: 20px; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.ft-h { font-weight: 700; color: #fff; font-size: 15px; }
.ft-col a { color: #CBD5E1; text-decoration: none; transition: color .2s; }
.ft-col a:hover { color: #fff; }
.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; background: var(--ink-2); color: #fff; display: flex; align-items: center; justify-content: center; transition: transform .25s, background-color .25s; }
.socials a:hover { transform: translateY(-2px); background: var(--brand); color: #fff; }
.ft-bottom { border-top: 1px solid var(--ink-2); }
.ft-bottom > div { max-width: 1240px; margin: 0 auto; padding: 18px 24px; font-size: 13px; color: var(--muted-2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.ft-bottom a { color: var(--muted-2); }

/* ---------- All News page ---------- */
.list-hero { position: relative; overflow: hidden; margin-top: 24px; border-radius: 32px; background: var(--ink); color: #fff; padding: 32px 40px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.list-hero .c1 { position: absolute; width: 260px; height: 260px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .08); top: -120px; right: -50px; }
.list-hero .c2 { position: absolute; width: 110px; height: 110px; border-radius: 50%; background: rgba(67, 56, 202, .45); bottom: -50px; left: 60%; animation-delay: -3s; }
.list-hero > div { position: relative; display: flex; flex-direction: column; gap: 8px; }
.crumbs { font-size: 13px; color: #CBD5E1; }
.crumbs a { color: #CBD5E1; }
.crumbs a:hover { color: #fff; }
.crumbs b { color: #fff; }
.list-hero h1 { margin: 0; font-size: 44px; font-weight: 800; letter-spacing: -.03em; }
.list-hero p { margin: 0; color: #CBD5E1; font-size: 15px; }
.back-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; padding: 12px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); transition: background-color .25s, transform .25s; }
.back-btn:hover { color: #fff; background: rgba(255, 255, 255, .14); transform: translateY(-2px); }
.back-btn:hover .ic { transform: translateX(-4px); }
.back-btn .ic { transition: transform .3s; }
.list-tools { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; scroll-margin-top: 90px; }
.seg { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; background: #E8EBF3; }
.seg button { position: relative; z-index: 1; height: 42px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; font-weight: 600; font-size: 15px; color: var(--text-2); cursor: pointer; transition: color .25s; }
.seg button[aria-selected=true] { color: var(--ink); font-weight: 700; }
.seg-thumb { position: absolute; top: 4px; bottom: 4px; left: 0; border-radius: 999px; background: #fff; box-shadow: 0 2px 10px -2px rgba(11, 18, 32, .18); transition: transform .45s var(--ease), width .45s var(--ease); }
.list-tools + .chips { margin-top: 20px; }
.pager { margin-top: 36px; display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; }
.pg { height: 44px; min-width: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; color: var(--ink); transition: border-color .2s, transform .25s, background-color .25s; }
.pg.num { padding: 0; }
.pg:hover:not([disabled]) { border-color: var(--brand); transform: translateY(-2px); }
.pg[aria-current=page] { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 700; }
.pg[disabled] { opacity: .45; cursor: default; }
.grid3 .al-card { overflow: visible; }

/* ---------- Post page ---------- */
.article { max-width: 820px; margin: 0 auto; padding-top: 48px; }
.article .crumb-dark { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.article .crumb-dark a { color: inherit; text-decoration: none; }
.article .crumb-dark a:hover { text-decoration: underline; }
.article h1 { margin: 14px 0 0; font-size: 46px; line-height: 1.1; font-weight: 800; letter-spacing: -.03em; }
.article .meta { margin-top: 18px; font-size: 13px; }
.byline { margin-top: 18px; display: flex; align-items: center; gap: 12px; color: var(--text-2); font-size: 14px; }
.byline .photo { width: 44px; height: 44px; font-size: 12px; box-shadow: none; }
.byline b { color: var(--ink); display: block; }
.hero-media { margin-top: 28px; border-radius: 28px; overflow: hidden; height: 420px; display: flex; align-items: center; justify-content: center; color: var(--text-2); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.prose { margin-top: 32px; font-size: 18px; line-height: 1.8; color: var(--text); }
.prose p { margin: 0 0 1.2em; }
.big-quote { margin-top: 28px; font-size: 32px; line-height: 1.35; font-weight: 700; letter-spacing: -.02em; color: var(--ink-2); }
.big-quote .q { color: var(--brand-tint); margin-bottom: 12px; }
.art-actions { margin-top: 12px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.copy-btn { cursor: pointer; }
.related { padding-top: 64px; }
.notfound { text-align: center; padding: 96px 0 24px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.notfound h1 { margin: 0; font-size: 36px; font-weight: 800; letter-spacing: -.02em; }
.notfound p { margin: 0; color: var(--text-2); }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 50; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 14px; box-shadow: 0 24px 48px -24px rgba(11, 18, 32, .6); animation: toastIn .35s var(--ease); }

/* ---------- Responsive (breakpoints from the design) ---------- */
@media (max-width: 1100px) {
  .news-grid, .alumni-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 4px; padding: 8px 0 4px; }
  .nav.open { display: flex; animation: rise .35s var(--ease); }
  .nav a { padding: 12px 14px; border-radius: 14px; }
  .nav .navlink:hover { background: var(--bg); }
  .nav .btn-brand { margin-top: 6px; }
}
@media (max-width: 760px) {
  .wrap, .hd-in { padding-left: 16px; padding-right: 16px; }
  .banner-card { padding: 28px 22px; border-radius: 26px; }
  .stage { height: 640px; }
  .slide { gap: 24px; align-content: center; }
  .slide h1, .slide h2 { font-size: 36px; }
  .slide p { font-size: 16px; }
  .slide-img { flex-basis: 100%; height: 220px; }
  .bt-text h2 { font-size: 36px; }
  .search { min-width: 0; width: 100%; }
  .news-grid, .alumni-grid, .grid3 { grid-template-columns: minmax(0, 1fr); }
  .feat { grid-column: auto; grid-row: auto; }
  .feat .media { min-height: 220px; }
  .feat h3 { font-size: 22px; }
  .sec-head h2 { font-size: 28px; }
  .ad { height: 120px !important; }
  .cta { padding: 30px 24px; border-radius: 26px; }
  .cta h3 { font-size: 24px; }
  .list-hero { padding: 26px 22px; border-radius: 26px; }
  .list-hero h1 { font-size: 34px; }
  .seg { width: 100%; }
  .seg button { flex: 1; padding: 0 10px; }
  .article { padding-top: 32px; }
  .article h1 { font-size: 32px; }
  .hero-media { height: 240px; border-radius: 22px; }
  .prose { font-size: 16px; }
  .big-quote { font-size: 24px; }
  .pg:not(.num) span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Courses offered (courses.html) ---------- */
.crs-tools { align-items: flex-end; }
.crs-tools .chips { margin-top: 0; flex: 1; min-width: 0; }
.crs-filters { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.crs-select { height: 48px; padding: 0 40px 0 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: inherit; font-size: 15px; color: var(--ink); max-width: 260px; }
.crs-select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(67, 56, 202, .12); }
.crs-level { margin-top: 40px; }
.lvl-head { display: flex; align-items: center; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.lvl-head h2 { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.lvl-head p { margin: 4px 0 0; color: var(--text-2); }
.lvl-badge { flex: none; display: grid; place-items: center; min-width: 54px; height: 48px; padding: 0 10px; border-radius: 16px; font-weight: 800; font-size: 14px; }
.lvl-n { margin-left: auto; color: var(--muted); font-weight: 600; font-size: 14px; white-space: nowrap; }
.crs-grid { margin-top: 22px; display: grid; gap: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.crs-card { padding: 22px; gap: 12px; }
.crs-card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(11, 18, 32, .35); }
.crs-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.crs-badge { display: inline-grid; place-items: center; min-width: 56px; height: 38px; padding: 0 12px; border-radius: 12px; font-weight: 800; font-size: 14px; }
.crs-dept { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.crs-card h3 { margin: 4px 0 0; font-size: 20px; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.crs-desc { margin: 0; color: var(--text-2); font-size: 14.5px; line-height: 1.55; }
.crs-facts { margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.crs-facts div { flex: 1 1 90px; padding: 10px 12px; border-radius: 14px; background: var(--bg); }
.crs-facts dt { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.crs-facts dd { margin: 2px 0 0; font-weight: 800; color: var(--ink); }
.crs-card .go { margin-top: auto; padding-top: 6px; }
.link-reset { border: 0; background: none; padding: 0; color: var(--brand); font-weight: 700; cursor: pointer; text-decoration: underline; }
@media (max-width: 1100px) { .crs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .crs-grid { grid-template-columns: 1fr; }
  .crs-filters, .crs-filters .search, .crs-select { width: 100%; max-width: none; min-width: 0; }
  .lvl-head h2 { font-size: 22px; }
  .lvl-n { display: none; }
}
