/* TUCA website styles. Montserrat + Inter. Colours (owner, 2026-12-01): primary green #00853E, navigation green #006A31,
   hover #007536, selected #E6F3EB, soft background #F3F9F5, white; academic gold #E5AA00 as the accent. */
:root {
  --deep: #006A31; --forest: #00853E; --forest-2: #007536; --emerald: #007536; --gold: #E5AA00;
  --pale: #FFF5D6; --sage: #E6F3EB; --ink: #202923; --muted: #56645B; --line: #DCE8DF;
  --paper: #FFFFFF; --off: #F3F9F5;
  --gold-text: #8A6100; /* gold for small text on light backgrounds (5.5:1 on white) */
  --gold-light: #FFD27A; /* small gold text on the navigation green (4.75:1 on #006A31) */
  --on-gold: #003D1C; /* text on gold buttons and badges (7:1) */
  --hover: #007536; /* hover green */
  --display: "Montserrat", "Century Gothic", "Segoe UI", Arial, sans-serif;
  --text: "Inter", "Segoe UI", Arial, sans-serif;
  --gl: max(16px, env(safe-area-inset-left, 0px)); --gr: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 110px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--text); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--emerald); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); color: var(--forest); margin: 0; line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2.2rem); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--gl); padding-right: var(--gr); }
.narrow { max-width: 780px; }
.band { padding-block: clamp(3rem, 2rem + 3.5vw, 5rem); }
.band-off { background: var(--off); }
.band-sage { background: var(--sage); }
.eyebrow { font: 700 .74rem/1.2 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 46rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--on-gold); padding: .6rem 1rem; z-index: 50; font-weight: 700; }
.skip:focus { left: 8px; top: 8px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: 700 .9rem/1 var(--display); padding: .9rem 1.3rem; border-radius: 4px; text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-gold { background: var(--gold); color: var(--on-gold); }
.btn-gold:hover { background: #F2B70F; color: var(--on-gold); }
.btn-forest { background: var(--forest); color: #fff; }
.btn-forest:hover { background: #00532F; }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-line { border-color: var(--forest); color: var(--forest); }
.btn-line:hover { background: var(--sage); }
.more { font: 600 .9rem var(--display); color: var(--emerald); text-decoration: none; }
.more:hover { text-decoration: underline; }

/* section title between hairlines */
.sec-title { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 2.5rem; }
.sec-title::before, .sec-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.sec-title h2 { font-size: clamp(1rem, .9rem + .5vw, 1.2rem); letter-spacing: .16em; text-transform: uppercase; text-align: center; }
.on-dark .sec-title::before, .on-dark .sec-title::after { background: rgba(255,255,255,.22); }
.on-dark .sec-title h2 { color: #fff; }

/* utility bar + header */
.util { background: var(--deep); color: #D7E8DC; font-size: .82rem; }
.util .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; }
.util .tagline { letter-spacing: .04em; }
.util .right { display: flex; gap: 1.1rem; align-items: center; }
.util a { color: #D7E8DC; text-decoration: none; }
.util a:hover { color: #fff; }
.lang a, .lang span { font-weight: 600; }
.lang [aria-current="true"] { color: var(--gold); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--paper); }
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 84px; }
.brand { flex-shrink: 0; }
.brand img { width: 210px; }
.mainnav { display: flex; align-items: center; gap: .25rem; }
.mainnav a { font: 600 .92rem var(--display); color: var(--forest); text-decoration: none; padding: .55rem .75rem; border-radius: 4px; white-space: nowrap; }
.mainnav a:hover, .mainnav a[aria-current="page"] { background: var(--sage); }
.head-actions { display: flex; align-items: center; gap: .6rem; }
.icon-btn { width: 44px; height: 44px; display: none; place-items: center; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); color: var(--forest); cursor: pointer; }
.mobile-nav { border-top: 1px solid var(--line); background: var(--paper); }
.mobile-nav a { display: block; padding: .95rem 0; font: 600 1rem var(--display); color: var(--forest); text-decoration: none; border-bottom: 1px solid var(--line); }
@media (max-width: 1000px) { .mainnav { display: none; } .icon-btn { display: grid; } }
@media (max-width: 560px) { .brand img { width: 170px; } .head-actions .btn { display: none; } .util .tagline { display: none; } .util .wrap { justify-content: flex-end; } }

/* status ribbon */
.status { background: var(--pale); color: #5A4300; border-bottom: 1px solid #F1E3B5; font-size: .88rem; }
.status .wrap { padding-block: .6rem; text-align: center; }

/* hero */
.hero { background: var(--deep); color: #fff; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 4vw, 4rem); align-items: end; padding-block: clamp(3rem, 2rem + 4vw, 5rem) 0; }
.hero-copy { padding-bottom: clamp(3rem, 2rem + 4vw, 5rem); }
.hero .eyebrow { margin-bottom: 1rem; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 1.5rem + 3.8vw, 4.2rem); line-height: 1.03; }
.hero h1 span { color: var(--gold); }
.hero-text { margin-top: 1.25rem; max-width: 36rem; font-size: 1.12rem; color: #D6E6DC; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-slogan { margin-top: 2rem; font: 600 .82rem var(--display); letter-spacing: .14em; text-transform: uppercase; color: #B9D0C2; }
.sunrise { aspect-ratio: 5 / 4; width: 100%; }
.sunrise svg { width: 100%; height: 100%; display: block; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } .sunrise { max-width: 480px; margin: 0 auto; } }
@media (prefers-reduced-motion: no-preference) {
  .ray { transform-origin: 300px 470px; animation: rise 1.1s cubic-bezier(.2,.7,.2,1) both; }
  .ray:nth-child(2) { animation-delay: .08s } .ray:nth-child(3) { animation-delay: .16s } .ray:nth-child(4) { animation-delay: .24s } .ray:nth-child(5) { animation-delay: .32s }
  @keyframes rise { from { transform: scale(.82); opacity: .35 } to { transform: none; opacity: 1 } }
}

/* vision & mission */
.vm { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; }
.vm-card { padding: 2rem 2rem 2.25rem; border-top: 5px solid var(--gold); background: var(--paper); box-shadow: 0 18px 36px -26px rgba(0,106,49,.45); display: grid; gap: .8rem; align-content: start; }
.vm-card p { font: 600 clamp(1.15rem, 1rem + .6vw, 1.45rem)/1.45 var(--display); color: var(--forest); }
@media (max-width: 760px) { .vm { grid-template-columns: minmax(0, 1fr); } }

/* faculty cards */
.fac-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr)); gap: 1.25rem; }
.fac { display: grid; grid-template-rows: auto 1fr; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; text-decoration: none; color: inherit; }
.fac:hover { border-color: var(--emerald); }
.fac:hover h3 { color: var(--emerald); }
.fac .art { aspect-ratio: 16 / 9; }
.fac .art svg { width: 100%; height: 100%; display: block; }
.fac .body { padding: 1.25rem 1.3rem 1.4rem; display: grid; gap: .55rem; align-content: start; }
.fac .body p { font-size: .92rem; color: var(--muted); }
.phase { display: inline-block; font: 600 .68rem/1 var(--text); letter-spacing: .06em; text-transform: uppercase; padding: .35rem .55rem; border-radius: 3px; background: var(--sage); color: var(--forest); justify-self: start; }
.phase.later { background: var(--pale); color: #7A5B00; }
.group-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1.5rem; margin: 0 0 1.25rem; padding-bottom: .75rem; border-bottom: 2px solid var(--gold); }
.group-head span { color: var(--muted); font-size: .92rem; }
.group + .group { margin-top: 3rem; }

/* founder */
.founder { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.portrait { aspect-ratio: 4 / 5; border-radius: 6px; background: var(--forest-2); position: relative; overflow: hidden; display: grid; place-items: center; }
.portrait img { width: 62%; opacity: .9; }
.quote { font: 600 clamp(1.2rem, 1rem + 1vw, 1.65rem)/1.5 var(--display); color: #fff; text-wrap: balance; margin-top: 1rem; }
.quote::before { content: "« "; color: var(--gold); } .quote::after { content: " »"; color: var(--gold); }
.sign { margin-top: 1.5rem; display: flex; align-items: center; gap: 1rem; color: #D7E8DC; }
.sign i { width: 44px; height: 3px; background: var(--gold); flex-shrink: 0; }
.sign b { display: block; color: #fff; font-family: var(--display); }
.dark { background: var(--deep); color: #fff; }
.dark .more { color: var(--gold); }
@media (max-width: 760px) { .founder { grid-template-columns: minmax(0, 1fr); } .portrait { max-width: 240px; } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); column-gap: 1.25rem; border-top: 1px solid var(--line); }
.stat { padding: 1.5rem 1.25rem 1.25rem 0; display: grid; gap: .3rem; align-content: start; }
.stat b { font: 800 clamp(1.6rem, 1.3rem + 1vw, 2.15rem)/1.1 var(--display); white-space: nowrap; color: var(--forest); font-variant-numeric: tabular-nums; }
.stat span { color: var(--ink); }
.stat small { font-size: .76rem; color: var(--muted); }
.stat small a { color: var(--muted); }
.dark .stats { border-color: rgba(255,255,255,.2); }
.dark .stat b { color: var(--gold); }
.dark .stat span { color: #E3EEE7; }
.dark .stat small, .dark .stat small a { color: #D2E5D8; }
.stats-note { margin-top: 1.25rem; font-size: .84rem; color: var(--muted); }

/* page header (inner pages) */
.page-head { background: var(--deep); color: #fff; position: relative; overflow: hidden; }
.page-head .wrap { padding-block: clamp(2.5rem, 2rem + 3vw, 4.25rem); position: relative; }
.page-head h1 { color: #fff; }
.page-head .lead { color: #D6E6DC; margin-top: 1rem; }
.page-head .crumbs { font-size: .82rem; margin-bottom: 1rem; color: #D2E5D8; }
.page-head .crumbs a { color: #D7E8DC; text-decoration: none; }
.page-head .crumbs a:hover { text-decoration: underline; }
.page-head .emblem { position: absolute; right: -60px; bottom: -80px; width: 340px; opacity: .06; pointer-events: none; }

/* rich body */
.prose { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
.prose h2 { margin-top: 1.25rem; }
.prose p, .prose li { font-size: 1.05rem; }
.prose ul, .prose ol { margin: 0; padding-left: 1.25rem; display: grid; gap: .35rem; }
.blockquote { margin: .5rem 0; padding: 1.5rem 1.75rem; background: var(--sage); border-left: 5px solid var(--gold); }
.blockquote p { font: 600 1.2rem/1.5 var(--display); color: var(--forest); }
.blockquote cite { display: block; margin-top: .75rem; font: normal .9rem var(--text); color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 1rem; }
.card { padding: 1.4rem; border: 1px solid var(--line); border-radius: 6px; display: grid; gap: .5rem; align-content: start; text-decoration: none; color: inherit; background: var(--paper); }
a.card:hover { border-color: var(--emerald); }
.card p { color: var(--muted); font-size: .95rem; }
.callout { padding: 1.75rem; background: var(--pale); border-top: 5px solid var(--gold); display: grid; gap: .75rem; }

/* faculty detail */
.fac-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.fac-detail aside { position: sticky; top: 110px; display: grid; gap: 1rem; }
.box { padding: 1.4rem; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); display: grid; gap: .6rem; }
.box h3 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.prog-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.prog-list li { padding: 1rem 1.15rem; background: var(--off); border-left: 4px solid var(--emerald); border-radius: 0 4px 4px 0; }
.prog-list b { font-family: var(--display); color: var(--forest); display: block; }
.prog-list span { font-size: .92rem; color: var(--muted); }
.notice { font-size: .86rem; color: #5A4300; background: var(--pale); padding: 1rem 1.15rem; border-radius: 4px; }
@media (max-width: 900px) { .fac-detail { grid-template-columns: minmax(0, 1fr); } .fac-detail aside { position: static; } }

/* contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 1rem; }
.contact-item { padding: 1.4rem; border-top: 4px solid var(--gold); background: var(--off); display: grid; gap: .35rem; }
.contact-item b { font: 700 .78rem var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-item span { font: 600 1.1rem var(--display); color: var(--forest); user-select: all; }

/* footer */
.foot { background: var(--deep); color: #D7E8DC; border-top: 6px solid var(--gold); }
.foot .wrap { padding-block: 3.5rem 2rem; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 2rem; }
.foot-logo { width: 250px; }
.foot .contact { margin-top: 1.5rem; font-size: .92rem; line-height: 1.85; }
.foot .contact b { color: #fff; font-family: var(--display); }
.foot h3 { color: var(--gold); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: .92rem; }
.foot a { color: #D7E8DC; text-decoration: none; }
.foot a:hover { color: #fff; }
.foot-slogan { margin-top: 1.25rem; font: 600 .8rem var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.foot-bottom { margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem; font-size: .8rem; color: #D2E5D8; }
@media (max-width: 760px) { .foot-top { grid-template-columns: minmax(0, 1fr); } }

/* news */
.news-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 1.5rem; }
.news-card { display: grid; grid-template-rows: auto 1fr; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; text-decoration: none; color: inherit; }
.news-card:hover { border-color: var(--emerald); }
.news-card:hover h3 { color: var(--emerald); }
.news-img { aspect-ratio: 16 / 9; background: var(--deep); display: grid; place-items: center; overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; }
.news-img img.news-emblem { width: 34%; height: auto; opacity: .2; object-fit: contain; }
.news-body { padding: 1.25rem 1.3rem 1.4rem; display: grid; gap: .5rem; align-content: start; }
.news-body time { font: 600 .78rem var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.news-body p { color: var(--muted); font-size: .94rem; }
.news-hero { border-radius: 6px; }

/* contact form */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.contact-info { display: grid; gap: 1rem; }
.contact-form { display: grid; gap: 1.1rem; padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 6px; background: var(--paper); }
.contact-form h2 { font-size: 1.4rem; }
.field { display: grid; gap: .35rem; }
.field label { font: 600 .9rem var(--display); color: var(--forest); }
.field input, .field textarea, .field select { width: 100%; font: 1rem var(--text); color: var(--ink); padding: .75rem .85rem; border: 1px solid #C9D6CE; border-radius: 4px; background: var(--paper); }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid rgba(229,170,0,.45); border-color: var(--emerald); }
.field small { font-size: .82rem; color: var(--muted); }
.field .err { color: #B42318; font-weight: 600; }
.has-error input, .has-error textarea { border-color: #B42318; }
.form-error { color: #B42318; font-weight: 600; }
.form-privacy { font-size: .84rem; color: var(--muted); }
.contact-form .btn { justify-self: start; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: minmax(0, 1fr); } }
.foot-legal { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* language switch: FR | EN */
.lang-switch { display: flex; align-items: center; gap: .55rem; font: 700 .9rem var(--display); }
.lang-switch a { color: var(--muted); text-decoration: none; }
.lang-switch a:hover { color: var(--forest); }
.lang-switch .cur { color: var(--forest); }
.lang-switch .sep { width: 1.5px; height: 1.05rem; background: #9FB1A6; }

/* audience menu ("Pour… / For…") */
.aud-menu { position: relative; }
.aud-btn { display: grid !important; }
.aud-btn[aria-expanded="true"] { background: var(--sage); border-color: var(--emerald); }
.aud-panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(320px, calc(100vw - 32px)); background: var(--paper); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 18px 40px -18px rgba(0,106,49,.35); padding: .5rem; z-index: 40; }
.aud-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.aud-panel a { display: flex; align-items: center; gap: .8rem; padding: .55rem .6rem; border-radius: 4px; text-decoration: none; color: var(--forest); }
.aud-panel a:hover, .aud-panel a:focus-visible { background: var(--sage); }
.aud-ico { flex-shrink: 0; width: 32px; height: 32px; border-radius: 3px; display: grid; place-items: center; }
.aud-txt { display: grid; font: 700 .86rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.aud-txt small { font: 600 .66rem var(--display); color: var(--muted); letter-spacing: .1em; }
.c-gold { background: var(--gold); color: var(--on-gold); }
.c-emerald { background: var(--emerald); color: #fff; }
.c-forest { background: var(--forest); color: #fff; }
.c-deep { background: var(--deep); color: #fff; }
.c-sage { background: #D7E8DC; color: var(--forest); }
.c-pale { background: #F3DC8F; color: var(--deep); }
.mobile-aud-title { margin: 1.25rem 0 .25rem; font: 700 .72rem var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.mobile-nav a.mobile-aud { display: flex; align-items: center; gap: .7rem; font-size: .95rem; }
.mobile-nav .aud-ico { width: 14px; height: 14px; }
@media (max-width: 1000px) { .aud-menu { display: none; } }
@media (max-width: 400px) { .lang-switch { font-size: .82rem; gap: .4rem; } }

@media (max-width: 360px) {
  .site-head .wrap { gap: .6rem; }
  .brand img { width: 132px; }
  .head-actions { gap: .4rem; }
  .icon-btn { width: 40px; height: 40px; }
}

/* home page banner: one photo, headline and call to action per slide */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero-show { position: relative; isolation: isolate; overflow: hidden; background: var(--deep); color: #fff; }
.hs-track { display: grid; }
.hs-slide { grid-area: 1 / 1; position: relative; display: flex; align-items: center; min-height: clamp(560px, 80vh, 780px);
  opacity: 0; visibility: hidden; transition: opacity 1.8s ease, visibility 0s linear 1.8s; }
.hs-slide.is-active { opacity: 1; visibility: visible; z-index: 1; transition: opacity 1.8s ease; }
.hs-media { position: absolute; inset: 0; overflow: hidden; background: var(--deep); }
.hs-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transform: scale(1.07); transition: transform 0s linear 1.8s; }
.hs-slide.is-active .hs-media img { transform: scale(1); transition: transform 12s cubic-bezier(.2,.6,.3,1); }
.hs-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(0,32,18,.9) 0%, rgba(0,38,21,.74) 34%, rgba(0,106,49,.28) 62%, rgba(0,106,49,0) 82%),
  linear-gradient(0deg, rgba(0,26,14,.7) 0%, rgba(0,26,14,0) 32%); }
.hero-show .hs-copy { display: block; position: relative; z-index: 2; width: 100%; padding-block: clamp(4rem, 3rem + 4vw, 6rem) clamp(6rem, 5rem + 3vw, 7.5rem); }
.hs-copy > * { max-width: 660px; opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.hs-slide.is-active .hs-copy > * { opacity: 1; transform: none; transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.3,1); }
.hs-slide.is-active .hs-copy > :nth-child(1) { transition-delay: .35s; }
.hs-slide.is-active .hs-copy > :nth-child(2) { transition-delay: .5s; }
.hs-slide.is-active .hs-copy > :nth-child(3) { transition-delay: .65s; }
.hs-slide.is-active .hs-copy > :nth-child(4) { transition-delay: .8s; }
.hero-show .eyebrow { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.25rem; color: var(--gold); }
.hero-show .eyebrow::before { content: ""; width: 36px; height: 2px; background: var(--gold); flex: none; }
.hs-title { margin: 0; color: #fff; font: 800 clamp(2.3rem, 1.3rem + 3.6vw, 4.1rem)/1.04 var(--display); letter-spacing: -.02em; text-wrap: balance; text-shadow: 0 2px 24px rgba(0,20,10,.35); }
.hs-title span { display: block; color: var(--gold); }
.hs-text { margin-top: 1.4rem; font-size: clamp(1.02rem, .95rem + .3vw, 1.18rem); line-height: 1.6; color: #E1EDE6; text-wrap: pretty; }
.hero-show .hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.1rem; }
.hero-show .btn { padding: 1rem 1.45rem; }
.hero-show .btn-gold span { transition: transform .2s ease; }
.hero-show .btn-gold:hover span { transform: translateX(3px); }
.hero-show .btn-ghost { background: rgba(0,30,16,.25); backdrop-filter: blur(4px); }

.hs-controls { position: absolute; z-index: 3; left: var(--gl); bottom: clamp(1.5rem, 1rem + 1.5vw, 2.5rem); display: flex; align-items: center; gap: 1rem; }
@media (min-width: 1232px) { .hs-controls { left: calc((100vw - 1200px) / 2 + 16px); } }
.hs-pause { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); background: rgba(0,30,16,.35); color: #fff; cursor: pointer; backdrop-filter: blur(4px); }
.hs-pause:hover { border-color: #fff; }
.hs-pause .i-play, .hero-show.is-paused .hs-pause .i-pause { display: none; }
.hero-show.is-paused .hs-pause .i-play { display: block; }
.hs-count { font: 600 .8rem var(--display); letter-spacing: .08em; color: rgba(255,255,255,.7); font-variant-numeric: tabular-nums; }
.hs-count b { color: #fff; font-weight: 700; }
.hs-dots { display: flex; gap: .4rem; }
.hs-dot { position: relative; width: 48px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.hs-dot::before, .hs-dot i { content: ""; position: absolute; left: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 2px; }
.hs-dot::before { right: 0; background: rgba(255,255,255,.35); }
.hs-dot:hover::before { background: rgba(255,255,255,.7); }
.hs-dot i { width: 0; background: var(--gold); }
.hs-dot[aria-current="true"] i { width: 100%; }
.hero-show.is-ticking .hs-dot[aria-current="true"] i { animation: hs-fill var(--delay, 10000ms) linear both; }
@keyframes hs-fill { from { width: 0; } to { width: 100%; } }
.hs-pause:focus-visible, .hs-dot:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

@media (max-width: 760px) {
  .hs-slide { display: block; min-height: 0; }
  .hs-media { position: relative; inset: auto; aspect-ratio: 3 / 2; }
  .hs-media img { object-position: var(--pos-m, 50% 50%); }
  .hs-shade { inset: 0 0 auto 0; aspect-ratio: 3 / 2; background: linear-gradient(0deg, rgba(0,26,14,.65) 0%, rgba(0,26,14,0) 40%); }
  .hero-show .hs-copy { padding-block: 1.9rem 2.75rem; }
  .hs-title { font-size: clamp(1.95rem, 1.2rem + 3.6vw, 2.6rem); }
  .hs-text { margin-top: 1rem; }
  .hero-show .hero-actions { margin-top: 1.5rem; }
  .hero-show .hero-actions .btn { flex: 1 1 auto; }
  .hs-controls { top: calc(100vw * 2 / 3 - 3.1rem); bottom: auto; gap: .7rem; }
  .hs-dot { width: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .hs-slide, .hs-slide.is-active, .hs-media img, .hs-slide.is-active .hs-media img, .hs-copy > *, .hs-slide.is-active .hs-copy > * { transition: none; transform: none; }
}
.status { font-size: .8rem; }
.status .wrap { padding-block: .45rem; }

/* academic catalog: finder, programme and course records */
.muted { color: var(--muted); font-size: .92rem; }
.h3 { font: 700 1.05rem/1.3 var(--display); margin: 0 0 1rem; color: var(--deep); }
.h4 { font: 700 .82rem var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 1.25rem 0 .5rem; }
.plain { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.plain a { color: var(--emerald); text-decoration: none; font-weight: 600; }
.plain a:hover { text-decoration: underline; }
.crumbs a { color: #D7E8DC; }
.crumbs span { color: rgba(255,255,255,.4); margin: 0 .25rem; }
.ac-status { display: inline-block; font: 600 .72rem/1.2 var(--text); padding: .35rem .6rem; border-radius: 3px; background: var(--pale); color: #5A4300; }
.ac-status.st-future { background: #E7ECE9; color: #45574D; }
.ac-status.st-open, .ac-status.st-authorized { background: #D9F0E3; color: #075E3A; }
.page-head .ac-status { background: rgba(229,170,0,.18); color: #F7D979; }
.page-head .ac-status.st-future { background: rgba(255,255,255,.12); color: #DCE8E1; }

.finder { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)) auto; gap: 1rem; align-items: end;
  padding: 1.25rem; background: var(--off); border: 1px solid var(--line); border-radius: 6px; }
.finder input, .finder select { width: 100%; font: inherit; padding: .7rem .8rem; border: 1px solid #C9D5CE; border-radius: 4px; background: #fff; color: #10231A; }
.finder input:focus, .finder select:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--forest); }
.finder label { font: 600 .82rem var(--display); color: var(--deep); }
.finder-actions { display: flex; align-items: center; gap: 1rem; }
.finder-count { margin: 1.5rem 0 1rem; font: 600 .9rem var(--display); color: var(--muted); }
@media (max-width: 900px) { .finder { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .finder-q { grid-column: 1 / -1; } .finder-actions { grid-column: 1 / -1; } }
@media (max-width: 520px) { .finder { grid-template-columns: minmax(0, 1fr); } }

.pc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 1.25rem; }
.pc { display: flex; flex-direction: column; gap: .7rem; padding: 1.35rem 1.35rem 1.25rem; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--forest); border-radius: 6px; position: relative; transition: box-shadow .2s ease, transform .2s ease; }
.pc:hover { box-shadow: 0 10px 28px rgba(0,106,49,.1); transform: translateY(-2px); }
.pc:focus-within { outline: 2px solid var(--gold); outline-offset: 2px; }
.pc-top { display: flex; justify-content: space-between; gap: .5rem; align-items: center; }
.pc-degree { font: 700 .7rem var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--emerald); }
.pc-flag { font: 700 .66rem var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--on-gold); background: var(--gold); padding: .25rem .5rem; border-radius: 3px; }
.pc h3 { margin: 0; font: 700 1.08rem/1.3 var(--display); }
.pc h3 a { color: var(--deep); text-decoration: none; }
.pc h3 a::after { content: ""; position: absolute; inset: 0; }
.pc h3 a:focus-visible { outline: none; }
.pc p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.55; }
.pc-facts { margin: auto 0 0; display: grid; gap: .25rem; font-size: .84rem; }
.pc-facts div { display: flex; gap: .4rem; }
.pc-facts dt { color: var(--muted); }
.pc-facts dd { margin: 0; font-weight: 600; color: var(--deep); }
.pc .ac-status { align-self: flex-start; }
.empty { padding: 2rem; border: 1px dashed #C9D5CE; border-radius: 6px; background: var(--off); display: grid; gap: .75rem; justify-items: start; }
.empty p { margin: 0; }
.empty-lg { justify-items: center; text-align: center; padding: 3rem 1.5rem; color: var(--muted); }
.empty-lg svg { color: var(--emerald); }
.empty-lg p { max-width: 38rem; color: #10231A; }
.empty-links { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.notice-strong { border-left: 4px solid var(--gold); margin-bottom: 1.5rem; }

.prog-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.prog-aside { display: grid; gap: 1.25rem; position: sticky; top: 110px; }
@media (max-width: 900px) { .prog-layout { grid-template-columns: minmax(0, 1fr); } .prog-aside { position: static; } }
.facts { margin: 0; display: grid; gap: .65rem; }
.facts div { display: grid; grid-template-columns: minmax(0, 7.5rem) minmax(0, 1fr); gap: .75rem; font-size: .9rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; color: var(--deep); }
.facts dd a { color: var(--emerald); }
.facts-hours div { grid-template-columns: minmax(0, 1fr) auto; }
.facts-hours .total { border-top: 1px solid var(--line); padding-top: .6rem; }

.tab-list { display: flex; gap: .25rem; border-bottom: 2px solid var(--line); margin-bottom: 2rem; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.tab-list::-webkit-scrollbar { display: none; }
.tab-panel[hidden] { display: none !important; }
.tab-list a { flex: none; padding: .85rem 1.1rem; font: 700 .9rem var(--display); color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.tab-list a:hover { color: var(--deep); }
.tab-list a[aria-selected="true"] { color: var(--on-gold); border-bottom-color: var(--gold); }
.tab-list a:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.tabs:not(.is-js) .tab-panel { margin-bottom: 3rem; }
.tabs.is-js .tab-panel > h2:first-child { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tab-panel h3 { font: 700 1.05rem var(--display); color: var(--deep); }

.ac-table { width: 100%; border-collapse: collapse; font-size: .94rem; margin-bottom: 1.5rem; }
.ac-table th { text-align: left; font: 700 .74rem var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: .6rem .75rem; border-bottom: 2px solid var(--line); }
.ac-table td { padding: .75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.ac-table tbody tr:hover { background: var(--off); }
.ac-table a { color: var(--deep); font-weight: 600; text-decoration: none; }
.ac-table a:hover { color: var(--emerald); text-decoration: underline; }
.ac-table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ac-table .code { white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) { .hide-sm { display: none; } .ac-table td, .ac-table th { padding: .6rem .45rem; } }
.sem h3 { display: flex; justify-content: space-between; align-items: baseline; margin: 1.5rem 0 .5rem; }
.sem h3 span { font: 600 .85rem var(--text); color: var(--muted); }

.cat-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 1rem; margin-bottom: 1rem; }
.cat-link { display: grid; gap: .4rem; padding: 1.4rem; border: 1px solid var(--line); border-left: 5px solid var(--gold); border-radius: 6px; text-decoration: none; background: #fff; transition: box-shadow .2s ease; }
.cat-link:hover { box-shadow: 0 8px 24px rgba(0,106,49,.1); }
.cat-link b { font: 700 1.05rem var(--display); color: var(--deep); }
.cat-link span { color: var(--muted); font-size: .92rem; }
.cat-h { font: 800 1.4rem var(--display); color: var(--deep); margin: 3rem 0 1.25rem; display: flex; align-items: baseline; gap: .6rem; }
.cat-h small { font: 600 .85rem var(--text); color: var(--muted); }
.editions { margin-top: 1.5rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.editions a { color: #fff; border: 1px solid rgba(255,255,255,.4); padding: .35rem .7rem; border-radius: 3px; text-decoration: none; font-size: .85rem; }
.editions a[aria-current="page"] { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }
.dept-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 1.5rem 2rem; }
.dept-col h3 { font: 700 1rem/1.35 var(--display); color: var(--deep); margin: 0 0 .25rem; }
.dept-col .plain { margin-top: .75rem; font-size: .92rem; }
.dept-list { columns: 2 16rem; padding-left: 1.1rem; }
.dept-list li { margin-bottom: .4rem; break-inside: avoid; }
.prog-list a { color: var(--deep); text-decoration: none; }
.prog-list a:hover b { color: var(--emerald); text-decoration: underline; }

@media print {
  .util, .site-head, .foot, .tab-list, .finder, .prog-aside .more, .status { display: none !important; }
  .tabs.is-js .tab-panel, .tabs.is-js .tab-panel[hidden] { display: block !important; }
  .page-head { background: none !important; color: #000 !important; }
  .page-head h1, .page-head .lead, .page-head .eyebrow, .page-head .crumbs a { color: #000 !important; }
  .page-head .emblem { display: none; }
  .prog-layout { grid-template-columns: minmax(0, 1fr); }
  .pc:hover, .cat-link:hover { box-shadow: none; transform: none; }
  a { color: #000 !important; }
}

/* programme finder: faceted search, A–Z fields of study, one tile per qualification */
.degrees { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.dg-panel { position: sticky; top: 104px; max-height: calc(100vh - 124px); display: flex; flex-direction: column; }
.dg-panel-head { display: flex; align-items: center; gap: .75rem; padding-bottom: .9rem; border-bottom: 2px solid var(--forest); }
.dg-panel-head h2 { margin: 0; flex: 1; font: 800 1.05rem var(--display); color: var(--deep); }
.dg-clear { font: 700 .8rem var(--display); color: var(--emerald); text-decoration: underline; text-underline-offset: 3px; }
.dg-clear[hidden], .dg-close, .dg-panel-foot, .dg-open, .dg-scrim { display: none; }
.dg-panel-body { overflow-y: auto; overscroll-behavior: contain; padding-right: .35rem; scrollbar-width: thin; }
.dg-facet { border: 0; margin: 0; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.dg-facet legend { padding: 0; margin-bottom: .7rem; font: 700 .74rem var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.dg-opts { display: flex; flex-wrap: wrap; gap: .45rem; }
.dg-opts-list { flex-direction: column; gap: .15rem; }
.dg-opt { position: relative; display: inline-flex; align-items: center; gap: .5rem; cursor: pointer; user-select: none; }
.dg-opt input { position: absolute; opacity: 0; pointer-events: none; }
/* pill style (diploma, status) */
.dg-opts:not(.dg-opts-list) .dg-opt { padding: .45rem .75rem; border: 1.5px solid #C9D5CE; border-radius: 999px; background: #fff; font-size: .86rem; transition: border-color .15s, background .15s, color .15s; }
.dg-opts:not(.dg-opts-list) .dg-opt:hover { border-color: var(--forest); }
.dg-opts:not(.dg-opts-list) .dg-opt-box { display: none; }
.dg-opts:not(.dg-opts-list) .dg-opt:has(input:checked) { background: var(--forest); border-color: var(--forest); color: #fff; }
.dg-opts:not(.dg-opts-list) .dg-opt:has(input:checked) .dg-opt-n { color: rgba(255,255,255,.8); background: rgba(255,255,255,.14); }
/* checkbox list style (faculty) */
.dg-opts-list .dg-opt { padding: .45rem .5rem; border-radius: 6px; font-size: .9rem; }
.dg-opts-list .dg-opt:hover { background: var(--off); }
.dg-opt-box { flex: none; width: 18px; height: 18px; border: 1.5px solid #9DB0A5; border-radius: 4px; display: grid; place-items: center; color: transparent; background: #fff; transition: all .15s; }
.dg-opt input:checked + .dg-opt-box { background: var(--forest); border-color: var(--forest); color: #fff; }
.dg-opt-name { flex: 1; line-height: 1.3; }
.dg-opt-n { flex: none; min-width: 1.6rem; text-align: center; font: 600 .72rem/1.6 var(--text); color: var(--muted); background: var(--off); border-radius: 999px; padding: 0 .4rem; }
.dg-opt:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.dg-opt.is-zero { opacity: .45; }
.dg-apply { width: 100%; margin-top: 1rem; }
.dg-legend { margin-top: 1.1rem; font-size: .8rem; color: var(--muted); display: grid; gap: .55rem; }
.dg-legend p { margin: 0; }
.dg-star { color: var(--gold); }

.dg-main { min-width: 0; }
.dg-searchbar { position: relative; display: flex; align-items: center; background: #fff; border: 1.5px solid #C9D5CE; border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0,106,49,.07); transition: border-color .15s, box-shadow .15s; }
.dg-searchbar:focus-within { border-color: var(--forest); box-shadow: 0 0 0 4px rgba(229,170,0,.25), 0 6px 24px rgba(0,106,49,.08); }
.dg-search-ico { position: absolute; left: 1rem; color: var(--forest); pointer-events: none; }
.dg-searchbar input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 1rem .75rem 1rem 3rem; font: inherit; font-size: 1.05rem; color: var(--ink); }
.dg-searchbar input:focus { outline: none; }
.dg-searchbar input::-webkit-search-cancel-button { display: none; }
.dg-q-clear { border: 0; background: var(--off); color: var(--muted); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; margin-right: .4rem; }
.dg-q-clear:hover { color: var(--deep); background: #E2EAE5; }
.dg-q-clear[hidden] { display: none; }
.dg-kbd { font: 600 .75rem var(--text); color: var(--muted); border: 1px solid #C9D5CE; border-bottom-width: 2px; border-radius: 4px; padding: .05rem .4rem; margin-right: .6rem; }
.dg-searchbar:focus-within .dg-kbd { display: none; }
.dg-q-go { border: 0; background: var(--forest); color: #fff; font: 700 .9rem var(--display); padding: 0 1.3rem; align-self: stretch; border-radius: 0 10px 10px 0; cursor: pointer; }
form.is-js .dg-q-go { display: none; }
.dg-q-go:hover { background: var(--deep); }

.dg-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: 1.25rem 0 .75rem; }
.dg-count { margin: 0; font: 600 .95rem var(--display); color: var(--muted); }
.dg-count b { font-size: 1.35rem; color: var(--deep); margin-right: .15rem; }
.dg-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.dg-chip { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .5rem .35rem .8rem; border: 0; border-radius: 999px; background: #E3EDE7; color: var(--deep); font: 600 .82rem var(--text); cursor: pointer; animation: dg-pop .18s ease; }
.dg-chip span { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: rgba(0,106,49,.12); font-size: .9rem; line-height: 1; }
.dg-chip:hover span { background: var(--forest); color: #fff; }
.dg-chip:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@keyframes dg-pop { from { transform: scale(.85); opacity: 0; } to { transform: none; opacity: 1; } }

.dg-az { display: flex; flex-wrap: wrap; gap: .2rem; padding: .6rem 0; margin-bottom: 1.5rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  position: sticky; top: 84px; z-index: 5; background: rgba(255,255,255,.94); backdrop-filter: blur(6px); }
.dg-az a { min-width: 30px; height: 30px; display: grid; place-items: center; border-radius: 6px; font: 700 .85rem var(--display); color: var(--forest); text-decoration: none; }
.dg-az a:hover { background: var(--forest); color: #fff; }
.dg-az a.is-off { color: #B5C2BA; pointer-events: none; }
.dg-field { scroll-margin-top: 150px; }
.dg-field h3:focus { outline: none; }

.dg-list { display: grid; gap: 2.4rem; }
.dg-field[hidden], .dg-tile[hidden], .dg-empty[hidden] { display: none !important; }
.dg-field { animation: dg-fade .25s ease; }
@keyframes dg-fade { from { opacity: .3; } to { opacity: 1; } }
.dg-field h3 { margin: 0; font: 600 clamp(1.4rem, 1.2rem + .8vw, 1.85rem)/1.2 var(--display); color: var(--forest); letter-spacing: -.01em; }
.dg-field mark, .dg-name mark { background: rgba(229,170,0,.35); color: inherit; border-radius: 2px; padding: 0 .05em; }
.dg-school { margin: .35rem 0 0; padding-bottom: .7rem; font-size: .9rem; font-style: italic; border-bottom: 2px solid transparent; border-image: linear-gradient(90deg, var(--emerald), var(--gold)) 1; }
.dg-school a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(0,106,49,.35); text-underline-offset: 3px; }
.dg-school a:hover { color: var(--emerald); }
.dg-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: 3px; margin-top: 3px; }
.dg-tile { display: grid; gap: .2rem; align-content: start; padding: 1rem 1.1rem 1.05rem; background: #EEF2EF; color: var(--ink); text-decoration: none; transition: background .2s ease, transform .2s ease; }
.dg-tile:hover { background: #E2EAE5; }
.dg-tile:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.dg-deg { font: 800 1rem var(--display); color: var(--deep); display: flex; align-items: center; gap: .35rem; }
.dg-deg i { font-style: normal; color: var(--gold); font-size: 1.25rem; line-height: 1; transition: transform .2s ease; }
.dg-tile:hover .dg-deg i { transform: translateX(4px); }
.dg-name { font: 600 .9rem/1.35 var(--display); color: var(--forest); }
.dg-meta { font-size: .78rem; color: var(--muted); line-height: 1.45; }
.dg-tile.is-future { background: #F4F6F5; }
.dg-tile.is-future .dg-deg { color: #4A5A51; }
.dg-empty { justify-items: center; text-align: center; padding: 3rem 1.5rem; }
.dg-empty svg { color: var(--emerald); }

@media (max-width: 900px) {
  .degrees { grid-template-columns: minmax(0, 1fr); }
  form.is-js .dg-panel { position: fixed; inset: auto 0 0 0; top: auto; max-height: 85vh; z-index: 60; background: #fff; border-radius: 16px 16px 0 0;
    box-shadow: 0 -10px 40px rgba(0,20,10,.25); padding: 1.1rem var(--gr) 0 var(--gl); transform: translateY(105%); transition: transform .28s ease; visibility: hidden; }
  form.is-js .dg-panel.is-open { transform: none; visibility: visible; }
  form.is-js .dg-close { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--off); color: var(--deep); cursor: pointer; }
  form.is-js .dg-panel-foot { display: block; padding: .9rem 0 calc(.9rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
  form.is-js .dg-panel-foot .btn { width: 100%; }
  form.is-js .dg-scrim:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 55; background: rgba(0,20,10,.45); }
  form.is-js .dg-open { display: inline-flex; align-items: center; gap: .45rem; margin-left: auto; padding: .55rem .95rem; border: 1.5px solid var(--forest); border-radius: 999px; background: #fff; color: var(--deep); font: 700 .88rem var(--display); cursor: pointer; }
  .dg-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 999px; background: var(--gold); color: var(--on-gold); font-size: .72rem; }
  .dg-badge[hidden] { display: none; }
  .dg-chips { order: 3; width: 100%; }
  .dg-kbd { display: none; }
  .dg-az { top: 72px; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .dg-panel:not(.is-open) .dg-panel-body { overflow: visible; }
  form:not(.is-js) .dg-panel { position: static; max-height: none; }
}
@media (prefers-reduced-motion: reduce) { .dg-field, .dg-chip { animation: none; } form.is-js .dg-panel { transition: none; } }
@media print { .dg-panel, .dg-searchbar, .dg-bar, .dg-az { display: none !important; } .degrees { grid-template-columns: minmax(0, 1fr); } }
.empty[hidden] { display: none !important; }
.sem .ac-table { table-layout: fixed; }
.sem .ac-table th:first-child { width: 7rem; }
.sem .ac-table th:last-child { width: 6rem; }
.dg-panel-body { padding-top: .35rem; }

/* programme finder — premium bordered design */
.degrees-band { background: linear-gradient(180deg, #F3F6F4 0%, #F7F9F8 320px, #F7F9F8 100%); }
.dg-panel { background: #fff; border: 1px solid #D3DFD8; border-radius: 16px; padding: 1.25rem 1.1rem 1rem 1.25rem;
  box-shadow: 0 1px 2px rgba(0,106,49,.04), 0 12px 32px -12px rgba(0,106,49,.12); }
.dg-panel-head { border-bottom: 1px solid #E3EAE6; }
.dg-facet { border-bottom-color: #E9EFEB; }
.dg-facet:last-of-type { border-bottom: 0; }
.dg-opts:not(.dg-opts-list) .dg-opt { border-color: #C3D2C9; }
.dg-opts-list .dg-opt { border: 1px solid transparent; }
.dg-opts-list .dg-opt:hover { border-color: #DCE6E0; }
.dg-opts-list .dg-opt:has(input:checked) { background: #EDF4F0; border-color: #C3D9CC; }
.dg-opt-box { border-color: #8FA59A; }
.dg-legend { padding: .9rem; border: 1px dashed #D3DFD8; border-radius: 10px; background: #FAFCFB; }

.dg-searchbar { border: 1.5px solid #C3D2C9; border-radius: 14px; box-shadow: 0 1px 2px rgba(0,106,49,.05), 0 10px 30px -12px rgba(0,106,49,.15); }
.dg-az { background: rgba(247,249,248,.92); border-color: #DCE6E0; }
.dg-az a:not(.is-off) { border: 1px solid #D3DFD8; background: #fff; }
.dg-az a:not(.is-off):hover { border-color: var(--forest); }

.dg-list { gap: 1.5rem; }
.dg-field { background: #fff; border: 1px solid #D3DFD8; border-radius: 18px; padding: 1.4rem 1.4rem 1.5rem;
  box-shadow: 0 1px 2px rgba(0,106,49,.04), 0 16px 36px -20px rgba(0,106,49,.18); }
.dg-field-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; margin-bottom: 1.1rem; border-bottom: 1px solid #E5ECE8; }
.dg-field h3 { font-weight: 700; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); }
.dg-school { border: 0; border-image: none; padding: 0; margin-top: .3rem; font-size: .88rem; }
.dg-field-n { flex: none; min-width: 2rem; height: 2rem; padding: 0 .55rem; display: grid; place-items: center; border-radius: 999px;
  border: 1px solid #C3D9CC; background: #EDF4F0; color: var(--forest); font: 700 .85rem var(--display); }

.dg-tiles { grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: .9rem; margin-top: 0; }
.dg-tile { position: relative; display: flex; flex-direction: column; gap: .6rem; padding: 1.05rem 1.1rem 1rem; background: #fff;
  border: 1.5px solid #D3DFD8; border-radius: 14px; box-shadow: 0 1px 2px rgba(0,106,49,.05);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; overflow: hidden; }
.dg-tile::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--forest); opacity: 0; transition: opacity .2s ease; }
.dg-tile:hover { border-color: var(--forest); background: #fff; transform: translateY(-3px); box-shadow: 0 14px 30px -14px rgba(0,106,49,.35); }
.dg-tile:hover::before { opacity: 1; }
.dg-tile-top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.dg-badge-deg { font: 700 .68rem var(--display); letter-spacing: .1em; text-transform: uppercase; padding: .32rem .6rem; border-radius: 999px;
  background: #E6F1EB; color: var(--forest); border: 1px solid #C3D9CC; }
.deg-cert .dg-badge-deg { background: #FFF6DB; color: #7A5A00; border-color: #F1DC9A; }
.dg-prio { font: 700 .68rem var(--display); color: #7A5A00; letter-spacing: .04em; white-space: nowrap; }
.dg-name { font: 700 1.02rem/1.3 var(--display); color: var(--deep); }
.dg-facts { display: grid; gap: .3rem; font-size: .8rem; color: var(--muted); }
.dg-facts span { display: flex; align-items: center; gap: .45rem; }
.dg-facts svg { flex: none; color: var(--emerald); }
.dg-tile-foot { margin-top: auto; padding-top: .7rem; border-top: 1px solid #EEF2EF; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.dg-st { font: 600 .7rem/1.3 var(--text); color: #5A4300; background: var(--pale); border: 1px solid #F1E3B5; padding: .25rem .5rem; border-radius: 6px; }
.dg-st.st-future { color: #45574D; background: #F1F4F2; border-color: #DCE4DF; }
.dg-go { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid #C3D2C9; color: var(--forest); transition: all .2s ease; }
.dg-tile:hover .dg-go { background: var(--gold); border-color: var(--gold); color: var(--on-gold); transform: translateX(2px); }
.dg-tile.is-future { background: #FCFDFC; border-style: dashed; }
.dg-tile.is-future .dg-name { color: #3E5046; }
.dg-tile:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.dg-empty { background: #fff; border: 1px dashed #C3D2C9; border-radius: 18px; }
@media (max-width: 900px) {
  form.is-js .dg-panel { border-radius: 18px 18px 0 0; border-bottom: 0; }
  .dg-field { padding: 1.1rem 1rem 1.15rem; border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) { .dg-tile, .dg-tile:hover { transition: none; transform: none; } }

/* admissions page */
.adm-hero { position: relative; isolation: isolate; color: #fff; background: var(--deep); padding-bottom: 4.5rem; }
.adm-hero-img { position: absolute; inset: 0; width: 100%; height: calc(100% - 4.5rem); object-fit: cover; object-position: 50% 55%; z-index: -2; }
.adm-hero-shade { position: absolute; inset: 0 0 4.5rem 0; z-index: -1; background: linear-gradient(90deg, rgba(0,32,18,.88) 0%, rgba(0,38,21,.6) 45%, rgba(0,106,49,.2) 100%), linear-gradient(0deg, rgba(0,26,14,.55) 0%, rgba(0,26,14,0) 45%); }
.adm-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4.5rem; background: #fff; z-index: -1; }
.adm-hero-copy { padding-block: clamp(4rem, 3rem + 5vw, 7rem) clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.adm-hero-copy .eyebrow { color: var(--gold); }
.adm-hero h1 { margin: .4rem 0 0; color: #fff; font: 800 clamp(2.6rem, 1.6rem + 4vw, 4.4rem)/1 var(--display); letter-spacing: -.02em; }
.adm-tagline { margin-top: 1rem; max-width: 38rem; font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); color: #E1EDE6; }
.adm-quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.adm-quick-card { display: grid; justify-items: center; align-content: center; gap: .9rem; min-height: 150px; padding: 1.5rem 1rem; text-align: center;
  background: #fff; color: var(--deep); text-decoration: none; border: 1px solid #D3DFD8; border-radius: 16px;
  box-shadow: 0 18px 40px -18px rgba(0,30,16,.45); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.adm-quick-card svg { color: var(--gold); }
.adm-quick-card b { font: 700 1.02rem var(--display); }
.adm-quick-card:hover { transform: translateY(-4px); border-color: var(--forest); box-shadow: 0 24px 46px -18px rgba(0,30,16,.5); }
.adm-quick-card:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.adm-intro { padding-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.adm-intro-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.adm-intro h2, .adm-row-body h2, .adm-visit h2, .adm-h { margin: 0 0 1rem; font: 800 clamp(1.5rem, 1.2rem + 1vw, 2rem) var(--display); color: var(--deep); }
.adm-status { display: grid; gap: 1rem; justify-items: start; padding: 1.5rem; border: 1px solid #D3DFD8; border-radius: 16px; background: #FAFCFB; }
.adm-status p { margin: 0; color: var(--muted); font-size: .95rem; }
.adm-pill { font: 700 .74rem var(--display); letter-spacing: .08em; text-transform: uppercase; padding: .4rem .75rem; border-radius: 999px; background: var(--pale); color: #7A5A00; border: 1px solid #F1DC9A; }
.adm-pill-open { background: #E6F1EB; color: var(--forest); border-color: #C3D9CC; }
.adm-apply { width: 100%; }

.adm-center { text-align: center; }
.adm-center .narrow { margin-inline: auto; display: grid; justify-items: center; gap: 1rem; }
.adm-center-ico { color: var(--gold); }
.adm-center h2 { margin: 0; font: 800 clamp(1.6rem, 1.3rem + 1vw, 2.2rem) var(--display); color: var(--forest); }
.adm-center p { margin: 0; color: var(--muted); font-size: 1.05rem; }

.adm-band { position: relative; isolation: isolate; color: #fff; padding-block: clamp(3.5rem, 3rem + 3vw, 5.5rem); background: var(--deep); overflow: hidden; }
.adm-band-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.adm-band-shade { position: absolute; inset: 0; z-index: -1; background: rgba(0,106,49,.78); }
.adm-band h2 { margin: 0 0 2rem; text-align: center; color: #fff; font: 800 clamp(1.6rem, 1.3rem + 1vw, 2.2rem) var(--display); }
.adm-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.adm-stat { display: grid; justify-items: center; gap: .5rem; text-align: center; padding: 1.75rem 1.25rem; background: #fff; color: var(--ink); border-radius: 16px; border: 1px solid #D3DFD8; }
.adm-stat svg { color: var(--gold); }
.adm-stat b { font: 800 2.2rem/1 var(--display); color: var(--forest); }
.adm-stat span { font-size: .92rem; color: var(--muted); max-width: 18rem; }

.adm-rows { display: grid; gap: 2rem; }
.adm-row { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
  padding: 1.5rem; border: 1px solid #D3DFD8; border-radius: 20px; background: #fff; box-shadow: 0 16px 36px -22px rgba(0,106,49,.25); }
.adm-row-alt .adm-row-art { order: 2; }
.adm-row-art { aspect-ratio: 4 / 3; border-radius: 14px; display: grid; place-items: center; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(circle at 85% 15%, rgba(229,170,0,.45), transparent 45%), linear-gradient(135deg, var(--forest), var(--deep)); }
.adm-row-art::after { content: ""; position: absolute; inset: 0; background: url("/static/img/emblem-white.dd2cd3c21e05.svg") no-repeat right -40px bottom -40px / 200px; opacity: .08; }
.art-costs { background: radial-gradient(circle at 15% 85%, rgba(229,170,0,.5), transparent 45%), linear-gradient(135deg, #2F7A42, var(--deep)); }
.art-support { background: radial-gradient(circle at 80% 80%, rgba(229,170,0,.4), transparent 45%), linear-gradient(135deg, var(--emerald), var(--forest)); }
.adm-steps { list-style: none; counter-reset: step; margin: 0 0 1rem; padding: 0; display: grid; gap: .9rem; }
.adm-steps li { counter-increment: step; display: grid; grid-template-columns: 2.2rem minmax(0, 1fr); column-gap: .9rem; }
.adm-steps li::before { content: counter(step); grid-row: span 2; width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold); color: var(--on-gold); font: 800 .95rem var(--display); }
.adm-steps b { font: 700 1rem var(--display); color: var(--deep); }
.adm-steps span { color: var(--muted); font-size: .95rem; }
.adm-list ul { padding-left: 1.1rem; display: grid; gap: .6rem; }

.adm-visit { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.adm-address { font-style: normal; display: grid; gap: .3rem; padding: 1.5rem; border: 1px solid #D3DFD8; border-radius: 16px; background: #fff; }
.adm-address svg { color: var(--gold); margin-bottom: .3rem; }
.adm-address b { font: 800 1.1rem var(--display); color: var(--deep); }
.adm-address a { color: var(--emerald); font-weight: 600; }

.adm-faq { display: grid; gap: .75rem; }
.adm-faq details { border: 1px solid #D3DFD8; border-radius: 14px; background: #fff; overflow: hidden; }
.adm-faq summary { cursor: pointer; list-style: none; padding: 1.1rem 3rem 1.1rem 1.25rem; font: 700 1rem var(--display); color: var(--deep); position: relative; }
.adm-faq summary::-webkit-details-marker { display: none; }
.adm-faq summary::after { content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; border: 1.5px solid #C3D2C9; color: var(--forest); font-size: 1.1rem; transition: transform .2s ease; }
.adm-faq details[open] summary::after { content: "–"; background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.adm-faq summary:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.adm-faq .prose { padding: 0 1.25rem 1.2rem; color: var(--muted); }

.adm-cta { background: linear-gradient(135deg, var(--forest), var(--deep)); color: #fff; text-align: center; padding-block: clamp(3rem, 2.5rem + 3vw, 4.5rem); border-top: 5px solid var(--gold); }
.adm-cta h2 { margin: 0; color: #fff; font: 800 clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem) var(--display); }
.adm-cta p { margin: .8rem auto 0; max-width: 36rem; color: #D6E6DC; }
.adm-cta-actions { margin-top: 1.75rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }

@media (max-width: 900px) {
  .adm-intro-grid, .adm-visit { grid-template-columns: minmax(0, 1fr); }
  .adm-row { grid-template-columns: minmax(0, 1fr); }
  .adm-row-alt .adm-row-art { order: 0; }
  .adm-row-art { aspect-ratio: 16 / 7; }
}
@media (max-width: 700px) {
  .adm-quick, .adm-stats { grid-template-columns: minmax(0, 1fr); }
  .adm-quick-card { min-height: 0; grid-template-columns: auto minmax(0, 1fr); justify-items: start; text-align: left; padding: 1rem 1.2rem; }
  .adm-hero { padding-bottom: 0; }
  .adm-hero::after { display: none; }
  .adm-hero-img, .adm-hero-shade { height: 100%; inset: 0; }
  .adm-quick { padding-bottom: 2rem; }
}

/* programme card — catalogue style (replaces the badge/icon card) */
.dg-tiles { grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: .75rem; }
.dg-tile { display: flex; flex-direction: column; gap: .35rem; padding: 1rem 1.1rem .9rem; background: #fff;
  border: 1px solid #D3DFD8; border-top: 3px solid var(--forest); border-radius: 10px; box-shadow: none; transform: none; }
.dg-tile::before { display: none; }
.dg-tile.deg-cert, .dg-tile.deg-dip { border-top-color: var(--gold); }
.dg-tile:hover { transform: none; border-color: #9DB7A8; border-top-color: var(--forest); box-shadow: 0 8px 22px -14px rgba(0,106,49,.35); background: #fff; }
.dg-tile.deg-cert:hover, .dg-tile.deg-dip:hover { border-top-color: var(--gold); }
.dg-tile.is-future { border-style: solid; border-top-color: #B5C2BA; background: #FBFCFB; }
.dg-kicker { display: flex; align-items: center; gap: .4rem; font: 700 .7rem var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--emerald); }
.deg-cert .dg-kicker, .deg-dip .dg-kicker { color: #8A6500; }
.is-future .dg-kicker { color: #6A7A71; }
.dg-prio { color: var(--gold); font-size: .85rem; letter-spacing: 0; }
.dg-name { font: 700 1.05rem/1.3 var(--display); color: var(--deep); }
.dg-tile:hover .dg-name { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.dg-meta { font-size: .82rem; color: var(--muted); line-height: 1.45; }
.dg-foot { margin-top: auto; padding-top: .7rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; border-top: 0; }
.dg-state { display: inline-flex; align-items: center; gap: .4rem; font-size: .76rem; font-weight: 600; color: #7A5A00; line-height: 1.3; }
.dg-state::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.dg-state.is-future { color: #6A7A71; }
.dg-state.is-future::before { background: #B5C2BA; }
.dg-state.is-open { color: var(--forest); }
.dg-state.is-open::before { background: #1F9D55; }
.dg-more { flex: none; display: inline-flex; align-items: center; gap: .3rem; font: 700 .8rem var(--display); color: var(--forest); }
.dg-more svg { transition: transform .2s ease; }
.dg-tile:hover .dg-more svg { transform: translateX(3px); }
.dg-badge-deg, .dg-tile-top, .dg-facts, .dg-tile-foot, .dg-go, .dg-st { display: none; }

/* apply dialog on programme pages */
.apply-box { display: grid; gap: .75rem; }
.apply-box .btn { width: 100%; }
.apply-state { display: flex; gap: .5rem; align-items: flex-start; font-size: .86rem; color: #7A5A00; }
.apply-state::before { content: ""; flex: none; width: 9px; height: 9px; margin-top: .35rem; border-radius: 50%; background: var(--gold); }
.apply-dialog { border: 0; padding: 0; border-radius: 18px; max-width: min(460px, calc(100vw - 2rem)); box-shadow: 0 30px 80px -20px rgba(0,20,10,.5); }
.apply-dialog::backdrop { background: rgba(0,20,10,.5); }
.apply-dialog-in { padding: 1.75rem 1.6rem 1.5rem; display: grid; gap: 1rem; }
.apply-dialog-ico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--pale); color: #7A5A00; }
.apply-dialog h2 { margin: 0; font: 800 1.3rem var(--display); color: var(--deep); }
.apply-dialog p { margin: 0; color: var(--muted); }
.apply-dialog-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .25rem; }
.apply-dialog-close { position: absolute; top: .75rem; right: .75rem; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--off); cursor: pointer; display: grid; place-items: center; color: var(--deep); }
@media (min-width: 701px) { .adm-quick { transform: translateY(50%); } .adm-hero-img, .adm-hero-shade { height: calc(100% - 4.5rem); } .adm-intro { padding-top: clamp(4.5rem, 3.5rem + 3vw, 6rem); } }

/* programme finder — simple and clean (UT Dallas degrees style) */
.degrees-band { background: #fff; }
.dg-panel { background: none; border: 0; box-shadow: none; padding: 0; }
.dg-panel-head { border-bottom: 2px solid var(--forest); }
.dg-legend { border: 0; background: none; padding: 0; }
.dg-searchbar { box-shadow: none; border-radius: 4px; border: 1.5px solid var(--forest); }
.dg-searchbar:focus-within { box-shadow: 0 0 0 3px rgba(229,170,0,.3); }
.dg-az a:not(.is-off) { border: 0; background: none; }

.dg-tabs { display: flex; flex-wrap: wrap; gap: 0 .25rem; margin-top: 1.25rem; border-bottom: 1px solid #DCE6E0; }
.dg-tab { position: relative; display: inline-flex; align-items: baseline; gap: .4rem; padding: .7rem .8rem; cursor: pointer; margin-bottom: -1px;
  border-bottom: 3px solid transparent; font: 600 .9rem var(--display); color: var(--muted); }
.dg-tab input { position: absolute; opacity: 0; pointer-events: none; }
.dg-tab:hover { color: var(--deep); }
.dg-tab:has(input:checked) { color: var(--on-gold); border-bottom-color: var(--gold); }
.dg-tab:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: -2px; }
.dg-tab b { font: 600 .74rem var(--text); color: var(--muted); }
.dg-tab small { font-weight: 500; font-size: .74rem; }
.dg-tab.is-zero { opacity: .5; }
.dg-tab.is-later { font-style: normal; }
.dg-panel .dg-facet:has(input[name="degree"]) { display: none; }

.dg-list { gap: 2.4rem; }
.dg-field { background: none; border: 0; border-radius: 0; padding: 0; box-shadow: none; animation: none; }
.dg-field-head { display: block; padding-bottom: .6rem; margin-bottom: 3px; border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--emerald), var(--gold)) 1; }
.dg-field-n { display: none; }
.dg-field h3 { font: 600 clamp(1.4rem, 1.2rem + .8vw, 1.8rem)/1.2 var(--display); color: var(--forest); }
.dg-school { font-size: .88rem; font-style: italic; margin-top: .25rem; }

.dg-tiles { grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 3px; margin-top: 0; }
.dg-tile, .dg-tile.deg-cert, .dg-tile.deg-dip, .dg-tile.is-future { display: grid; gap: .15rem; align-content: start; padding: .95rem 1.05rem 1rem;
  background: #EEF2EF; border: 0; border-radius: 0; box-shadow: none; }
.dg-tile:hover, .dg-tile.deg-cert:hover, .dg-tile.deg-dip:hover { background: #E1EAE4; border: 0; box-shadow: none; }
.dg-tile.is-future { background: #F3F6F4; }
.dg-deg { display: flex; align-items: center; gap: .35rem; font: 800 1rem var(--display); color: var(--deep); }
.dg-deg i { font-style: normal; color: var(--gold); font-size: 1.2rem; line-height: 1; transition: transform .2s ease; }
.dg-tile:hover .dg-deg i { transform: translateX(4px); }
.dg-prio { color: var(--gold); font-size: .8rem; }
.dg-name { font: 600 .88rem/1.35 var(--display); color: var(--forest); margin-bottom: .1rem; }
.dg-tile:hover .dg-name { text-decoration: none; }
.dg-meta { font-size: .76rem; color: var(--muted); line-height: 1.45; }
.dg-state { display: block; font-weight: 600; color: #7A5A00; font-size: .76rem; }
.dg-state::before { display: none; }
.dg-state.is-future { color: #6A7A71; }
.dg-kicker, .dg-foot, .dg-more { display: none; }
@media (max-width: 900px) { .dg-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .dg-tab { flex: none; } }

/* Formations landing page (UT Dallas "Academics" layout) */
.acad-hero { position: relative; isolation: isolate; color: #fff; background: var(--deep); min-height: clamp(260px, 32vw, 380px); display: flex; align-items: flex-end; }
.acad-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; z-index: -2; }
.acad-hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0,26,14,.85) 0%, rgba(0,30,16,.45) 55%, rgba(0,30,16,.25) 100%); }
.acad-hero .wrap { width: 100%; padding-block: 2.5rem 2.25rem; }
.acad-hero h1 { margin: 0; color: #fff; font: 800 clamp(2.3rem, 1.6rem + 3vw, 3.6rem)/1.05 var(--display); }
.acad-hero p { margin: .8rem 0 0; max-width: 46rem; color: #E1EDE6; font-size: 1.08rem; }

.acad { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.acad-side { position: sticky; top: 104px; }
.acad-side h2 { margin: 0 0 .6rem; font: 800 1.15rem var(--display); color: var(--deep); }
.acad-side ul { list-style: none; margin: 0; padding: 0; }
.acad-side li { border-bottom: 1px solid #DCE6E0; }
.acad-side a { display: block; padding: .7rem .5rem; color: var(--ink); text-decoration: none; font-size: .95rem; }
.acad-side a:hover { color: var(--forest); background: var(--off); }
.acad-main { display: grid; gap: 0; border: 1px solid #E3EAE6; background: #fff; }
.acad-main > .notice { margin: 1.5rem 2rem 0; }
.acad-sec { padding: 2rem 2rem 2.25rem; border-bottom: 1px solid #E3EAE6; }
.acad-sec:last-child { border-bottom: 0; }
.acad-ico { color: var(--gold); display: block; margin-bottom: .6rem; }
.acad-sec h2 { margin: 0 0 1rem; font: 600 clamp(1.5rem, 1.25rem + .9vw, 2rem)/1.2 var(--display); color: var(--forest); }
.acad-sec h3 { margin: 1.75rem 0 .4rem; font: 700 1.1rem var(--display); color: var(--deep); }
.acad-sec p { margin: 0 0 1rem; color: var(--ink); line-height: 1.65; }
.acad-small { font-size: .92rem; color: var(--muted) !important; }
.acad-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; }
.acad-link { display: flex; align-items: center; gap: .5rem; width: max-content; max-width: 100%; margin-top: .55rem; font: 700 .85rem var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--deep); text-decoration: none; }
.acad-link i { font-style: normal; color: var(--gold); font-size: 1.3rem; line-height: 1; transition: transform .2s ease; }
.acad-link:hover { color: var(--forest); }
.acad-link:hover i { transform: translateX(4px); }
.acad-photo { margin: 0; }
.acad-photo img { display: block; width: 100%; height: clamp(180px, 24vw, 280px); object-fit: cover; object-position: 50% 55%; }
@media (max-width: 900px) {
  .acad { grid-template-columns: minmax(0, 1fr); }
  .acad-side { position: static; order: 2; }
  .acad-cols { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .acad-sec { padding: 1.5rem 1.25rem 1.75rem; }
}

/* programme finder — matched to the reference degrees list */
.dg-list { gap: 2.6rem; }
.dg-field h3 { font: 400 clamp(1.6rem, 1.3rem + 1vw, 2.1rem)/1.15 var(--display); color: var(--forest); letter-spacing: -.01em; }
.dg-school { margin-top: .45rem; font-size: .95rem; font-style: italic; color: var(--ink); }
.dg-school a { color: var(--ink); text-decoration: underline; text-decoration-color: currentColor; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.dg-field-head { padding-bottom: .8rem; margin-bottom: 2px; border-bottom-width: 1.5px; }
.dg-tiles { display: flex; flex-wrap: wrap; gap: 2px; }
.dg-tile, .dg-tile.deg-cert, .dg-tile.deg-dip, .dg-tile.is-future { flex: 1 1 0; min-width: min(260px, 100%); max-width: 100%;
  background: #EFF0EF; padding: .9rem 1rem 1rem; gap: .1rem; }
.dg-tile:hover, .dg-tile.deg-cert:hover, .dg-tile.deg-dip:hover { background: #E4E7E5; }
.dg-tile.is-future { background: #F4F5F4; }
.dg-deg { font: 700 1.1rem var(--display); color: #1A1F1C; gap: .45rem; }
.dg-deg i { display: none; }
.dg-arrow { color: var(--gold); flex: none; transition: transform .2s ease; }
.dg-tile:hover .dg-arrow { transform: translateX(4px); }
.dg-prio { order: 0; }
.dg-name { font: 500 .88rem/1.35 var(--text); color: #2B332E; margin: .15rem 0 .1rem; }
.dg-meta, .dg-state, .dg-state.is-future { font: 400 .74rem/1.5 var(--text); color: #5F6B64; }

/* section layout (Phase E) */
.acad-prose > :not(.acad-sec) { margin-left: 2rem; margin-right: 2rem; }
.acad-prose > :not(.acad-sec):first-child { margin-top: 2rem; }
.acad-prose > :not(.acad-sec):last-child { margin-bottom: 2rem; }
.acad-main.is-empty { display: none; }
.acad-hero .crumbs a { color: #E1EDE6; }
.acad-text p { margin: 0 0 1rem; }
@media (max-width: 900px) { .acad-prose > :not(.acad-sec) { margin-left: 1.25rem; margin-right: 1.25rem; } }
.site-head .mobile-nav .wrap { display: block; min-height: 0; padding-bottom: 1rem; }
.mobile-nav a:last-child { border-bottom: 0; }
.acad-prose { grid-template-columns: minmax(0, 1fr); min-width: 0; }
.acad-main { min-width: 0; }
.acad-link { white-space: normal; overflow-wrap: anywhere; }

/* admissions centre: list of admission pages (grey full-row tiles, as the programme list) */
.adm-paths-band { padding-top: 0; }
.adm-paths { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.adm-paths a { display: grid; grid-template-columns: 1fr auto; gap: .25rem 1.25rem; align-items: center; padding: 1.15rem 1.35rem; background: #EFF0EF; color: var(--ink); text-decoration: none; min-height: 100%; }
.adm-paths b { font: 500 1.08rem Montserrat, var(--display); color: var(--deep); }
.adm-paths span { grid-column: 1; font-size: .92rem; color: #4A5A52; }
.adm-paths .dg-arrow { grid-column: 2; grid-row: 1 / span 2; color: var(--forest); transition: transform .15s; }
.adm-paths a:hover { background: #E3E6E4; }
.adm-paths a:hover .dg-arrow { transform: translateX(4px); }
.adm-paths a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (max-width: 760px) { .adm-paths { grid-template-columns: 1fr; } }

/* newsletter sign-up (footer) */
.nl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 1.5rem 3rem; align-items: start; padding-bottom: 2.5rem; margin-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.14); }
.nl h2 { color: #fff; font-size: 1.45rem; margin: 0 0 .4rem; }
.nl-copy p { margin: 0; color: #D7E8DC; }
.nl-row { display: flex; gap: .5rem; }
.nl-row input { flex: 1; min-width: 0; height: 48px; padding: 0 1rem; border: 1px solid rgba(255,255,255,.3); background: #fff; color: var(--ink); font: inherit; }
.nl-row input:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; }
.nl-row .btn { height: 48px; white-space: nowrap; }
.nl-consent { display: flex; gap: .6rem; align-items: flex-start; margin-top: .8rem; font-size: .84rem; line-height: 1.5; color: #D7E8DC; cursor: pointer; }
.nl-consent input { margin-top: .2rem; width: 18px; height: 18px; accent-color: var(--gold); flex: none; }
.nl-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.nl-msg { margin: 0; padding: 1rem 1.2rem; border-left: 4px solid var(--gold); background: rgba(255,255,255,.06); color: #fff; }
.nl-err { margin: .6rem 0 0; color: #FFD27A; font-size: .88rem; }
@media (max-width: 800px) { .nl { grid-template-columns: 1fr; } }
@media (max-width: 440px) { .nl-row { flex-direction: column; } .nl-row input { flex: none; width: 100%; } }

/* events */
.ev-list { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: .75rem; }
.ev-row { display: grid; grid-template-columns: 84px 1fr; gap: 1.25rem; align-items: center; padding: 1rem 1.25rem; background: #EFF0EF; color: var(--ink); text-decoration: none; }
.ev-row:hover { background: #E3E6E4; }
.ev-row:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.ev-date { display: grid; justify-items: center; padding: .5rem; background: var(--forest); color: #fff; font: 600 .74rem var(--display); text-transform: uppercase; letter-spacing: .06em; }
.ev-date b { font-size: 1.7rem; line-height: 1.1; }
.ev-body { display: grid; gap: .2rem; }
.ev-body > b { font: 500 1.08rem Montserrat, var(--display); color: var(--deep); }
.ev-body span { font-size: .9rem; color: #4A5A52; }
.ev-past .ev-date { background: #7A8C82; }
.ev-past-h { margin-top: 2.5rem; }
.ev-facts { display: grid; gap: .75rem; margin: 0 0 1.5rem; padding: 1.25rem; background: #EFF0EF; }
.ev-facts div { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; }
.ev-facts dt { font: 700 .8rem var(--display); text-transform: uppercase; letter-spacing: .08em; color: var(--forest); }
.ev-facts dd { margin: 0; }

/* original header with six sections: tighter between tablet and wide desktop */
@media (max-width: 1240px) and (min-width: 1001px) {
  .site-head .wrap { gap: .75rem; }
  .site-head .brand img { width: 168px; height: auto; }
  .mainnav { gap: 0; }
  .mainnav a { padding: .5rem .5rem; font-size: .86rem; }
  .head-actions { gap: .4rem; }
  .head-actions .btn { padding-inline: .9rem; }
}
@media (max-width: 560px) { .util .right a { white-space: nowrap; } .util .right a:nth-child(-n+2) { display: none; } }

/* contrast (Phase F2): bright gold only on dark green; darker gold for small text on light backgrounds */
.eyebrow, .news-body time, .mobile-aud-title { color: var(--gold-text); }
.page-head .eyebrow, .dark .eyebrow, .hero .eyebrow, .hero-show .eyebrow, .adm-hero .eyebrow, .acad-hero .eyebrow,
.foot .eyebrow { color: var(--gold); }

/* compare programmes (Phase F3) */
.cmp-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 1rem; align-items: end; margin-bottom: 2rem; }
.cmp-slot { display: grid; gap: .35rem; }
.cmp-slot label { font: 700 .78rem var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--forest); }
.cmp-slot select { height: 48px; padding: 0 .75rem; border: 1px solid #B9C7BF; background: #fff; font: inherit; color: var(--ink); min-width: 0; }
.cmp-slot select:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; }
.cmp-pick .btn { height: 48px; }
.cmp-scroll { overflow-x: auto; border: 1px solid var(--line); }
.cmp-scroll:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.cmp-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: .94rem; table-layout: fixed; }
.cmp-table th, .cmp-table td { padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cmp-table tbody th { width: 190px; background: #EFF0EF; font: 600 .86rem var(--display); color: var(--deep); position: sticky; left: 0; }
.cmp-table thead td { width: 190px; background: #EFF0EF; position: sticky; left: 0; }
.cmp-table thead th { background: var(--forest); color: #fff; font-weight: 400; }
.cmp-table thead th a { color: #fff; font: 600 1.02rem/1.3 var(--display); text-decoration: none; display: block; }
.cmp-table thead th a:hover { text-decoration: underline; }
.cmp-deg { display: block; font: 700 .72rem var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: .3rem; }
.cmp-table thead th a.cmp-remove { display: inline-block; margin-top: .6rem; font: 500 .8rem var(--text); color: #D7E8DC; text-decoration: underline; }
.cmp-table ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .3rem; }
.cmp-prio { color: var(--gold-text); font-weight: 600; font-size: .85rem; }
.cmp-note { margin-top: 1rem; font-size: .88rem; }
.cmp-empty { color: var(--muted); }
.cmp-link { margin-top: .25rem; }
.dg-compare { margin: .25rem 0 1rem; text-align: right; font: 600 .9rem var(--display); }
.dg-compare a { color: var(--emerald); text-decoration: none; }
.dg-compare a:hover { text-decoration: underline; }
@media (max-width: 900px) { .cmp-pick { grid-template-columns: 1fr; } .cmp-table tbody th, .cmp-table thead td { width: 130px; } }

/* tuition fees table (programme Costs tab, Admissions) */
.fees { width: 100%; border-collapse: collapse; margin: .5rem 0 1rem; font-size: .95rem; }
.fees th, .fees td { padding: .85rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.fees thead th { background: var(--forest); color: #fff; font: 600 .8rem var(--display); letter-spacing: .06em; text-transform: uppercase; }
.fees tbody th { font-weight: 600; color: var(--deep); }
.fees small { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; margin-top: .15rem; }
.fees .num { text-align: right; white-space: nowrap; }
.fees td b { color: var(--forest); font: 700 1.05rem var(--display); }
.fees s { color: var(--muted); margin-right: .35rem; }
.fees-note { font-size: .88rem; color: var(--muted); }
@media (max-width: 560px) { .fees .num { white-space: normal; } }

/* download of all curricula (PDF) */
.pdf-link { display: inline-flex; align-items: center; gap: .4rem; color: var(--emerald); font: 600 .9rem var(--display); text-decoration: none; }
.pdf-link:hover { text-decoration: underline; }
.pdf-link span { color: var(--muted); font-weight: 400; font-size: .82rem; }
.dg-compare { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: .5rem 1.5rem; }
.prog-aside .pdf-link { margin-top: .25rem; }

/* illustrative photos (faculty and programme pages) */
.photo-fig { margin: 0; }
.photo-fig img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-fig.photo-wide img { aspect-ratio: 16 / 9; }
.photo-fig figcaption { font-size: .78rem; color: var(--muted); margin-top: .35rem; }
.photo-wide { margin: .25rem 0 1.25rem; }

/* ---------------------------------------------------------------- six commitments (The TUCA Difference) */
.pl-home-head { text-align: center; max-width: 46rem; margin: 0 auto 2.5rem; }
.pl-home-head h2 { margin: .6rem 0 .8rem; }
.pl-home-head .lead { margin: 0 auto; }
.pl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 1000px) { .pl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pl-grid { grid-template-columns: minmax(0, 1fr); } }
.pl-card { position: relative; display: flex; flex-direction: column; gap: .6rem; padding: 1.6rem 1.5rem 1.4rem; background: var(--paper);
  border: 1px solid var(--line); border-top: 3px solid var(--forest); border-radius: 4px; color: var(--ink); text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
a.pl-card:hover { border-top-color: var(--gold); box-shadow: 0 10px 24px -14px rgba(0,106,49,.35); transform: translateY(-2px); }
a.pl-card:hover h3 { color: var(--emerald); }
.pl-num { position: absolute; top: 1.1rem; right: 1.25rem; font: 800 1.6rem/1 var(--display); color: var(--sage); }
.pl-ico { color: var(--emerald); }
.pl-card h3 { font-size: 1.08rem; }
.pl-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.pl-more { font: 700 .78rem var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--deep); display: inline-flex; gap: .4rem; }
@media (prefers-reduced-motion: reduce) { .pl-card { transition: none; } a.pl-card:hover { transform: none; } }

.pl-intro p + p { margin-top: 1rem; }
.pl-detail { scroll-margin-top: 110px; }
.pl-detail-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
@media (max-width: 860px) { .pl-detail-grid { grid-template-columns: minmax(0, 1fr); } }
.pl-detail-head { position: sticky; top: 120px; display: grid; gap: .9rem; }
@media (max-width: 860px) { .pl-detail-head { position: static; } }
.pl-eyebrow { font: 700 .74rem/1.2 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); }
.pl-message { font-size: 1.08rem; color: var(--ink); }
.pl-detail-body { display: grid; gap: 1.8rem; }
.pl-detail-body h3, .pl-inits h3 { font: 700 .82rem var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--forest); margin: 0 0 .7rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line); }
.pl-list ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .3rem; }
.pl-list li::marker { color: var(--emerald); }
.pl-table { width: 100%; border-collapse: collapse; font-size: .95rem; background: var(--paper); }
.pl-table th, .pl-table td { text-align: left; vertical-align: top; padding: .6rem .75rem; border-bottom: 1px solid var(--line); }
.pl-table thead th { font: 700 .74rem var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pl-table tbody th { font-weight: 600; color: var(--forest); width: 34%; }
.pl-note { padding: .9rem 1.1rem; background: var(--pale); border-left: 3px solid var(--gold); font-size: .93rem; }
.pl-inits ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.pl-inits li { display: grid; gap: .2rem; padding: .9rem 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; }
.pl-inits li > span:last-child { color: var(--muted); font-size: .93rem; }
.pl-status { justify-self: start; font: 700 .68rem var(--display); letter-spacing: .1em; text-transform: uppercase; padding: .2rem .5rem; border-radius: 2px; background: var(--sage); color: var(--forest); }
.pl-status.s-operational { background: var(--forest); color: #fff; }
.pl-closing-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(1.5rem, 4vw, 4rem); }
@media (max-width: 860px) { .pl-closing-grid { grid-template-columns: minmax(0, 1fr); } }
.dark .pl-closing-grid h2 { color: #fff; }
.dark .pl-closing-grid p + p { margin-top: .8rem; }
.pl-final { text-align: center; }
.pl-final-text { font: 600 clamp(1.1rem, 1rem + .5vw, 1.35rem)/1.5 var(--display); color: var(--forest); }
.pl-final-list { list-style: none; padding: 0; margin: 1.6rem 0; display: grid; gap: .35rem; color: var(--muted); }
.pl-final-sign { font: 800 1.2rem var(--display); color: var(--forest); margin-bottom: .6rem; }

/* model diagram: A + B + C = TUCA */
.mdl { margin: 2rem 0 0; }
.mdl .mdl-row { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; justify-content: center; gap: .75rem; }
.mdl-part { flex: 1 1 0; min-width: 0; display: grid; align-content: start; gap: .4rem; padding: 1.2rem 1.1rem; border: 1px solid var(--line); border-top: 3px solid var(--emerald); background: var(--paper); border-radius: 4px; }
.mdl-part b { font: 700 1rem/1.3 var(--display); color: var(--forest); }
.mdl-part span { font-size: .9rem; color: var(--muted); }
.mdl-result { background: var(--forest); border-color: var(--forest); border-top-color: var(--gold); }
.mdl-result b { color: #fff; } .mdl-result span { color: #DCE9E1; }
.mdl-op { flex: none; align-self: center; font: 800 1.8rem var(--display); color: var(--gold-text); }
.mdl figcaption { text-align: center; color: var(--muted); font-size: .9rem; margin-top: .8rem; }
@media (max-width: 760px) { .mdl .mdl-row { flex-direction: column; } .mdl-op { text-align: center; } }

/* programme page: « La différence TUCA » tab */
.pd-intro { margin: .4rem 0 1.4rem; }
.pd-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.pd-item { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 1rem 2rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
@media (max-width: 760px) { .pd-item { grid-template-columns: minmax(0, 1fr); } }
.pd-head { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .25rem .7rem; align-content: start; }
.pd-head h3 { grid-column: 1 / -1; font-size: 1rem; }
.pd-ico { color: var(--emerald); }
.pd-num { font: 800 .8rem var(--display); letter-spacing: .14em; color: var(--gold-text); }
.pd-body { display: grid; gap: .6rem; }
.pd-ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .2rem; }
.pd-sub { font-weight: 600; color: var(--forest); font-size: .93rem; }
.pd-small { font-size: .85rem; }
.pd-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.pd-bars li { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr) 3.2rem; align-items: center; gap: .7rem; font-size: .9rem; }
.pd-bars b { display: block; height: .55rem; background: var(--sage); border-radius: 2px; overflow: hidden; }
.pd-bars i { display: block; height: 100%; width: var(--w); background: var(--emerald); }
.pd-bars em { font-style: normal; text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { .pd-bars li { grid-template-columns: minmax(0, 1fr) 3rem; } .pd-bars b { grid-column: 1 / -1; grid-row: 2; } }
.pd-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.pd-tags li { font-size: .82rem; padding: .2rem .6rem; background: var(--sage); color: var(--forest); border-radius: 2px; }

/* faculty page: commitments */
.fd-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2rem; margin-top: 1rem; }
@media (max-width: 760px) { .fd-grid { grid-template-columns: minmax(0, 1fr); } }
.fd-item { display: grid; grid-template-columns: auto 1fr; gap: .2rem .8rem; align-items: start; }
.fd-item h3 { font-size: .98rem; align-self: center; }
.fd-item p { grid-column: 2; color: var(--ink); font-size: .95rem; }
.dept-focus { font-size: .9rem; color: var(--muted); margin-top: .3rem; }
.dept-focus b { color: var(--forest); font-weight: 600; }
.dept-list-full { columns: auto; list-style: none; padding-left: 0; display: grid; gap: .9rem; }
.dept-list-full li { margin: 0; }
.dept-focus { margin: .15rem 0 0; }

/* Phase 4 blocks: commitment content, initiatives, impact indicators inside pages */
.pl-embed { margin: 1.5rem 0; }
.prose .pl-embed ul { padding-left: 1.2rem; }
.prose .pl-inits ul, .prose .ind-grid { padding-left: 0; }
.ind-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)); gap: .8rem; }
.ind-item { display: grid; gap: .2rem; padding: 1rem; border: 1px solid var(--line); border-top: 3px solid var(--emerald); background: var(--paper); border-radius: 4px; }
.ind-item b { font: 800 1.6rem/1.1 var(--display); color: var(--forest); }
.ind-item.is-pending b { color: var(--line); }
.ind-item span { font-weight: 600; font-size: .93rem; }
.ind-item small { color: var(--muted); font-size: .8rem; }

/* programme tabs: fade on the right while more tabs are hidden (phones) */
.tab-list.has-more { -webkit-mask-image: linear-gradient(to right, #000 82%, transparent); mask-image: linear-gradient(to right, #000 82%, transparent); }

/* ---------------------------------------------------------------- current students hub */
.hub-hero { position: relative; isolation: isolate; color: #fff; background: var(--deep); padding: clamp(3rem, 2rem + 4vw, 5.5rem) 0 clamp(2.5rem, 2rem + 2vw, 3.5rem); overflow: hidden; }
.hub-hero-img, .hub-hero picture { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hub-hero picture img { width: 100%; height: 100%; object-fit: cover; }
.hub-hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,106,49,.88) 0%, rgba(0,106,49,.7) 55%, rgba(0,106,49,.45) 100%); }
.hub-hero h1 { color: #fff; }
.hub-intro { font-size: 1.15rem; max-width: 40rem; margin-top: .8rem; color: #E3EEE7; }
.hub-tiles { list-style: none; margin: 2.2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 860px) { .hub-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hub-tile { height: 100%; display: grid; justify-items: center; align-content: center; gap: .6rem; padding: 1.4rem 1rem; background: var(--paper); color: var(--forest);
  border-radius: 4px; border-bottom: 3px solid transparent; text-align: center; text-decoration: none; font: 700 1rem/1.25 var(--display); transition: border-color .2s, transform .2s; }
a.hub-tile:hover { border-bottom-color: var(--gold); transform: translateY(-2px); }
.hub-tile-ico { color: var(--emerald); }
.hub-tile.is-soon { color: var(--muted); }
.hub-tile.is-soon .hub-tile-ico { color: var(--line); }
.hub-tile small { font: 600 .75rem var(--text); color: var(--gold-text); text-transform: uppercase; letter-spacing: .08em; }
.hub-credit { position: absolute; right: .8rem; bottom: .4rem; margin: 0; font-size: .72rem; color: rgba(255,255,255,.75); }
.hub-note { margin-top: 1.5rem; }
.hub-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 860px) { .hub-grid { grid-template-columns: minmax(0, 1fr); } }
.hub-box { position: relative; isolation: isolate; overflow: hidden; padding: 1.8rem 1.9rem 1.6rem; border: 1px solid var(--line); background: var(--paper); border-radius: 4px; }
.hub-box-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; }
.hub-box h2 { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); color: var(--forest); }
.hub-box-ico { color: var(--gold-text); flex: none; }
.hub-links { list-style: none; margin: 0; padding: 0; }
.hub-links li { border-bottom: 1px solid var(--line); }
.hub-links a { display: block; padding: .65rem .3rem; color: var(--ink); text-decoration: none; font-weight: 500; }
.hub-links a:hover { color: var(--emerald); text-decoration: underline; }
.hub-links small { color: var(--muted); }
.hub-empty { margin-top: .8rem; color: var(--muted); font-size: .93rem; }
.hub-box.is-photo { color: #fff; border-color: var(--deep); background: var(--deep); }
.hub-box-img, .hub-box picture { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hub-box picture img { width: 100%; height: 100%; object-fit: cover; }
.hub-box-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,106,49,.7) 0%, rgba(0,106,49,.84) 45%, rgba(0,106,49,.92) 100%); }
.hub-box.is-photo h2 { color: #fff; }
.hub-box.is-photo .hub-box-ico { color: var(--gold); }
.hub-box.is-photo .hub-links li { border-color: rgba(255,255,255,.22); }
.hub-box.is-photo .hub-links a { color: #fff; }
.hub-box.is-photo .hub-links a:hover { color: var(--gold); }
.hub-box.is-photo .hub-empty { color: #DCE9E1; }
@media (prefers-reduced-motion: reduce) { .hub-tile { transition: none; } a.hub-tile:hover { transform: none; } }
.hub-box .hub-credit { right: .7rem; bottom: .3rem; }

/* ---------------------------------------------------------------- footer (UT Dallas band + ORU columns and notice) */
.foot { border-top: 0; }
.foot .foot-band .wrap, .foot .foot-notice .wrap { padding-block: 0; }
.foot-band { background: var(--deep); border-top: 4px solid var(--gold); border-bottom: 4px solid var(--gold); }
.foot-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding-block: 1.4rem !important; }
.foot-band-logo img { width: 230px; height: auto; display: block; }
.foot-band-sign { margin: 0; font: 600 .82rem var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.foot .foot-main { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1.15fr); gap: 2.5rem 3rem; padding-block: 3rem 2.6rem; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 1.75rem; }
.foot-col h3 { font: 600 1.05rem/1.2 var(--display); letter-spacing: 0; text-transform: none; color: var(--gold); margin: 0 0 1rem; padding-bottom: .55rem; border-bottom: 1px solid rgba(229,170,0,.55); }
.foot-col ul { gap: .5rem; font-size: .9rem; }
.foot-col a:hover, .foot-contact a:hover { text-decoration: underline; }
.foot-copy { font-size: .88rem; line-height: 1.55; margin: 0 0 .8rem; color: #D7E8DC; }
.foot-contact address { font-style: normal; display: grid; gap: .55rem; }
.foot-addr { font: 500 1.2rem/1.45 var(--display); color: #fff; }
.foot-contact .foot-tel { font: 500 1.15rem var(--display); color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.foot-contact .foot-mail { color: #fff; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.foot-social { margin-top: 1.6rem; }
.foot-social h3 { font: 600 .78rem var(--display); letter-spacing: .12em; text-transform: uppercase; color: #fff; margin: 0 0 .8rem; padding-bottom: .5rem; border-bottom: 1px solid rgba(229,170,0,.55); }
.foot-social ul { display: flex; flex-wrap: wrap; gap: .6rem; }
.foot-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--deep); }
.foot-social a:hover { background: var(--gold); color: var(--on-gold); }
.foot-ask { margin-top: 1.4rem; font-size: .9rem; }
.foot-ask a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot-notice { background: #2A5D36; color: #D7E8DC; text-align: center; }
.foot-notice .wrap { padding-block: 2rem 2.2rem !important; max-width: 980px; }
.foot-notice h2 { font: 700 .78rem var(--display); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 0 0 .8rem; }
.foot-notice p { font-size: .85rem; line-height: 1.65; margin: 0; }
@media (max-width: 1000px) { .foot .foot-main { grid-template-columns: minmax(0, 1fr); } .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .foot-cols { gap: 1.6rem 1rem; } .foot-band-logo img { width: 190px; } }

/* hub: task cards (1), help banner (3), topics + frequent tasks (2), audience banner (4) — patterns from registrar.unt.edu */
.hub-tile { align-content: start; gap: .5rem; padding: 1.4rem 1.1rem 1.2rem; }
.hub-tile-title { font: 700 1.02rem/1.25 var(--display); color: var(--forest); }
.hub-tile-text { font: 400 .86rem/1.45 var(--text); color: var(--muted); }
.hub-tile-action { margin-top: auto; padding-top: .35rem; font: 700 .72rem var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--emerald); }
.hub-tile.is-soon .hub-tile-title { color: var(--muted); }
.hub-tile.is-soon .hub-tile-action { color: var(--gold-text); }
a.hub-tile:hover .hub-tile-action { color: var(--deep); }
@media (max-width: 560px) { .hub-tiles { grid-template-columns: minmax(0, 1fr); } .hub-tile { grid-template-columns: auto 1fr; justify-items: start; text-align: left; column-gap: .9rem; } .hub-tile > * { grid-column: 2; } .hub-tile .hub-tile-ico { grid-column: 1; grid-row: 1 / span 3; } }

.hub-help { background: var(--pale); border-bottom: 1px solid #F1E2B0; }
.hub-help-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem 1.6rem; padding-block: 1.6rem; }
.hub-help-ico { color: var(--gold-text); }
.hub-help h2 { font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem); }
.hub-help p { margin-top: .3rem; color: var(--ink); }
.hub-help-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
@media (max-width: 860px) { .hub-help-inner { grid-template-columns: auto minmax(0, 1fr); } .hub-help-actions { grid-column: 1 / -1; } }

.hub-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 1.5rem; align-items: start; }
.hub-layout .hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1100px) { .hub-layout { grid-template-columns: minmax(0, 1fr); } .hub-tasks { order: -1; } }
@media (max-width: 860px) { .hub-layout .hub-grid { grid-template-columns: minmax(0, 1fr); } }
.hub-tasks { position: sticky; top: 110px; padding: 1.5rem 1.4rem; background: var(--sage); border-radius: 4px; border-top: 4px solid var(--emerald); }
@media (max-width: 1100px) { .hub-tasks { position: static; } }
.hub-tasks h2 { font-size: 1.15rem; margin-bottom: .8rem; }
.hub-tasks ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.hub-tasks li { border-bottom: 1px solid #D3E2D9; }
.hub-tasks a, .hub-task-soon { display: block; padding: .6rem 0; font-weight: 600; font-size: .93rem; color: var(--forest); text-decoration: none; }
.hub-tasks a::after { content: " →"; color: var(--emerald); }
.hub-tasks a:hover { text-decoration: underline; }
.hub-task-soon { color: var(--muted); font-weight: 500; }
.hub-task-soon small { margin-left: .3rem; font: 700 .66rem var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-text); }

.hub-banner { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--deep); padding-block: clamp(3rem, 2rem + 4vw, 5rem); }
.hub-banner-img, .hub-banner picture { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hub-banner picture img { width: 100%; height: 100%; object-fit: cover; }
.hub-banner-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,106,49,.92) 0%, rgba(0,106,49,.72) 60%, rgba(0,106,49,.5) 100%); }
.hub-banner h2 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); text-transform: uppercase; letter-spacing: .04em; }
.hub-banner p { max-width: 40rem; margin-top: .8rem; color: #E3EEE7; font-size: 1.05rem; }
.hub-banner-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.hub-note { margin-bottom: 1.5rem; }
.hub-help { background: var(--off); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hub-task-soon small { white-space: nowrap; }
.hub-banner .hub-credit { font-size: .72rem; margin: 0; max-width: none; color: rgba(255,255,255,.75); }
.hub-box-text { margin: -.3rem 0 .9rem; font-size: .9rem; color: var(--muted); } .hub-box.is-photo .hub-box-text { color: #DCE9E1; }

/* small gold text on the softer main green: lighter gold for contrast */
.page-head .eyebrow, .dark .eyebrow, .dark .more, .hero .eyebrow, .adm-band .eyebrow, .foot-band-sign, .mdl-result .eyebrow { color: var(--gold-light); }

/* ---------------------------------------------------------------- footer v3 (pattern of untdallas.edu): one colour, columns + logo, divider, official links */
.foot { border-top: 4px solid var(--gold); }
.foot .foot-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 260px); gap: 2.5rem 3rem; padding-block: 3rem 2.5rem; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 1.75rem; }
.foot-col h3 { font: 700 1.05rem/1.25 var(--display); letter-spacing: 0; text-transform: none; color: #fff; margin: 0 0 1rem; padding: 0; border: 0; }
.foot-col ul { gap: .55rem; font-size: .88rem; }
.foot-col a { color: #E6F0E9; }
.foot-col a:hover, .foot-id a:hover, .foot-legal-row a:hover { color: #fff; text-decoration: underline; }
.foot-id { display: grid; justify-items: center; align-content: start; gap: 1rem; text-align: center; }
.foot-id .foot-logo img { width: 220px; height: auto; display: block; }
.foot-id address { font-style: normal; font-size: .88rem; line-height: 1.75; color: #E6F0E9; }
.foot-id address a { color: #fff; }
.foot-id .foot-social { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; margin: 0; }
.foot-id .foot-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.7); }
.foot-id .foot-social a:hover { background: #fff; color: var(--deep); text-decoration: none; }
.foot .foot-legal-row { border-top: 1px solid rgba(255,255,255,.55); padding-block: 1.8rem 2.2rem; }
.foot-legal-row ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, max-content)); justify-content: space-between; gap: .6rem 2rem; font-size: .84rem; }
.foot-legal-row a { color: #E6F0E9; }
.foot-status { max-width: 62rem; margin: 1.6rem auto 0; text-align: center; font-size: .8rem; line-height: 1.6; color: #C9DECF; }
.foot-status b { color: #fff; font-weight: 600; }
.foot-copyright { margin: 1rem 0 0; text-align: center; font-size: .8rem; color: #C9DECF; }
@media (max-width: 1000px) { .foot .foot-main { grid-template-columns: minmax(0, 1fr); } .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-id { order: -1; } .foot-legal-row ul { grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: start; } }
@media (max-width: 420px) { .foot-legal-row ul { grid-template-columns: minmax(0, 1fr); } }
.foot .foot-main { padding-top: 1.2rem; }
.foot-legal-row ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2.4rem; }
@media (max-width: 1000px) { .foot-legal-row ul { justify-content: flex-start; gap: .6rem 1.6rem; } }

/* footer social icons: plain white glyphs (pattern of untdallas.edu); placeholders until an account address is set */
.foot-id .foot-social { gap: .85rem; }
.foot-id .foot-social a, .foot-id .foot-social .is-soon { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 0; background: transparent; color: #fff; }
.foot-id .foot-social svg { width: 28px; height: 28px; }
.foot-id .foot-social a:hover { background: transparent; color: var(--gold-light); }
.foot-id .foot-social .is-soon { cursor: default; }
.foot-id .foot-social { gap: .5rem; flex-wrap: nowrap; }
.foot-id .foot-social a, .foot-id .foot-social .is-soon { width: 32px; height: 32px; }
.foot-id .foot-social svg { width: 26px; height: 26px; }

/* social icons at the size of the reference footer (untdallas.edu) */
.foot .foot-main { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); }
.foot-id .foot-social { gap: .45rem; }
.foot-id .foot-social a, .foot-id .foot-social .is-soon { width: 42px; height: 42px; }
.foot-id .foot-social svg { width: 34px; height: 34px; }
@media (max-width: 1000px) { .foot .foot-main { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 380px) { .foot-id .foot-social a, .foot-id .foot-social .is-soon { width: 38px; height: 38px; } .foot-id .foot-social svg { width: 30px; height: 30px; } }

/* palette of 2026-12-01: hover green on green buttons and links */
.btn-forest:hover, .dg-q-go:hover { background: var(--hover); }
a:hover { color: var(--hover); }
.foot a:hover, .dark a:hover, .page-head a:hover, .hub-banner a:hover, .hub-hero a:hover, .util a:hover { color: #fff; }
.btn-line:hover { background: var(--sage); color: var(--deep); }
/* small headings in the navigation green: AA contrast on white, soft green and grey tiles */
h3 { color: var(--deep); }
a:hover { color: var(--deep); }

/* ---------------------------------------------------------------- Tuition and fees page (credit-based) */
.tf-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--deep); padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.tf-hero-img, .tf-hero picture { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.tf-hero picture img { width: 100%; height: 100%; object-fit: cover; }
.tf-hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,106,49,.93) 0%, rgba(0,106,49,.78) 55%, rgba(0,106,49,.5) 100%); }
.tf-hero h1 { color: #fff; max-width: 22ch; margin-top: .4rem; }
.tf-hero .eyebrow { color: var(--gold-light); }
.tf-hero .crumbs a { color: #E6F0E9; }
.tf-hero-lead { max-width: 44rem; margin-top: 1rem; font-size: 1.12rem; color: #E6F0E9; }
.tf-hero .hero-actions { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: .7rem; }
.tf-proposed { margin-top: 1.4rem; }
.tf-h { margin-bottom: 1.4rem; }
.tf-sub { margin: -.8rem 0 1.4rem; color: var(--muted); }
.tf-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 1000px) { .tf-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tf-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tf-stats li { display: grid; gap: .3rem; padding: 1.2rem 1rem; border: 1px solid var(--line); border-top: 3px solid var(--forest); border-radius: 4px; background: var(--paper); }
.tf-stats b { font: 800 clamp(1.25rem, 1rem + 1vw, 1.7rem)/1.1 var(--display); color: var(--deep); }
.tf-stats span { color: var(--muted); font-size: .9rem; }
.tf-two { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 860px) { .tf-two { grid-template-columns: minmax(0, 1fr); } }
.tf-formula { margin-top: 1.2rem; display: inline-block; padding: .8rem 1.1rem; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--gold); font: 700 1.02rem var(--display); color: var(--deep); }
.tf-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.tf-points li { padding: 1.1rem 1.2rem; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; }
.tf-points h3 { margin-bottom: .35rem; }
.tf-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; margin-top: 1.2rem; }
@media (max-width: 900px) { .tf-cards { grid-template-columns: minmax(0, 1fr); gap: 1.8rem; } }
.tf-card { position: relative; display: flex; flex-direction: column; gap: .8rem; padding: 1.6rem 1.5rem; border: 1px solid var(--line); border-top: 4px solid var(--forest); border-radius: 6px; background: var(--paper); }
.tf-card.is-featured { border-color: var(--forest); border-top-color: var(--gold); box-shadow: 0 14px 30px -18px rgba(0,106,49,.45); }
.tf-badge { position: absolute; top: -.85rem; left: 1.5rem; margin: 0; padding: .2rem .65rem; background: var(--gold); color: var(--on-gold); font: 700 .72rem var(--display); letter-spacing: .08em; text-transform: uppercase; border-radius: 3px; }
.tf-card h3 { font-size: 1.2rem; }
.tf-card-text { color: var(--muted); font-size: .95rem; }
.tf-price { display: flex; align-items: baseline; gap: .45rem; margin: .2rem 0; }
.tf-price b { font: 800 clamp(1.6rem, 1.3rem + 1vw, 2rem) var(--display); color: var(--deep); }
.tf-price span { color: var(--muted); }
.tf-card ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.tf-card li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.tf-card li span { color: var(--muted); }
.tf-card li b { color: var(--ink); white-space: nowrap; }
.tf-note { margin-top: 1rem; color: var(--muted); font-size: .9rem; }
.tf-table { width: 100%; border-collapse: collapse; background: var(--paper); font-variant-numeric: tabular-nums; }
.tf-table th, .tf-table td { padding: .8rem 1rem; border-bottom: 1px solid var(--line); text-align: left; }
.tf-table thead th { background: var(--deep); color: #fff; font: 600 .82rem var(--display); letter-spacing: .03em; }
.tf-table .num { text-align: right; white-space: nowrap; }
.tf-table tbody th { font: 700 1rem var(--display); color: var(--deep); white-space: nowrap; }
.tf-table tbody th small { margin-left: .4rem; font: 600 .68rem var(--text); letter-spacing: .06em; text-transform: uppercase; color: var(--gold-text); }
.tf-table tbody tr:hover { background: var(--sage); }
.tf-table tr.is-full { background: var(--sage); }
.tf-table td b { color: var(--deep); }
.tf-notes { margin: 1rem 0 0; padding-left: 1.1rem; display: grid; gap: .35rem; color: var(--muted); font-size: .92rem; }
.tf-fee-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: start; }
@media (max-width: 1000px) { .tf-fee-grid { grid-template-columns: minmax(0, 1fr); } }
.tf-fee-box { padding: 1.4rem 1.4rem 1rem; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); }
.tf-fee-box h3 { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.tf-fee-when { color: var(--muted); font-size: .9rem; margin: .3rem 0 .8rem; }
.tf-tag { font: 700 .66rem var(--text); letter-spacing: .07em; text-transform: uppercase; padding: .15rem .5rem; border-radius: 3px; background: #EEF0EF; color: var(--muted); }
.tf-tag.is-required { background: var(--sage); color: var(--deep); }
.tf-fee-table { width: 100%; border-collapse: collapse; font-size: .93rem; font-variant-numeric: tabular-nums; }
.tf-fee-table th, .tf-fee-table td { padding: .55rem 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; vertical-align: top; }
.tf-fee-table th small { display: block; color: var(--muted); font-size: .8rem; }
.tf-fee-table .num { text-align: right; white-space: nowrap; padding-left: .8rem; }
.tf-fee-table tr.is-total th, .tf-fee-table tr.is-total td { font-weight: 700; color: var(--deep); border-bottom: 0; padding-top: .75rem; }
.tf-calc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1.5rem; align-items: start; }
@media (max-width: 900px) { .tf-calc { grid-template-columns: minmax(0, 1fr); } }
.tf-calc-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.1rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: 6px; background: var(--off); }
.tf-calc-form label, .tf-calc-form legend { display: grid; gap: .4rem; font: 600 .92rem var(--display); color: var(--deep); }
.tf-calc-form select { width: 100%; min-width: 0; font: inherit; font-weight: 400; padding: .6rem .7rem; border: 1px solid #C9D3CD; border-radius: 4px; background: #fff; color: var(--ink); }
.tf-calc-form output { justify-self: start; font: 800 1.3rem var(--display); color: var(--forest); }
.tf-calc-form input[type=range] { width: 100%; accent-color: var(--forest); }
.tf-range-ends { display: flex; justify-content: space-between; font: 400 .8rem var(--text); color: var(--muted); }
.tf-calc-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: .35rem; }
.tf-calc-form .tf-radio, .tf-calc-form .tf-check { display: flex; align-items: center; gap: .5rem; font: 400 .95rem var(--text); color: var(--ink); }
.tf-radio input, .tf-check input { accent-color: var(--forest); width: 1.05rem; height: 1.05rem; flex: none; }
.tf-calc-out { padding: 1.5rem; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); }
.tf-out-main { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1rem; }
@media (max-width: 480px) { .tf-out-main { grid-template-columns: minmax(0, 1fr); } }
.tf-out-main p { margin: 0; padding: 1rem; border-radius: 6px; background: var(--deep); color: #fff; display: grid; gap: .2rem; }
.tf-out-main p:last-child { background: var(--sage); color: var(--deep); }
.tf-out-main span { font-size: .85rem; }
.tf-out-main b { font: 800 clamp(1.3rem, 1.1rem + .8vw, 1.7rem) var(--display); font-variant-numeric: tabular-nums; }
.tf-out-list { margin: 0; display: grid; }
.tf-out-list div { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--line); font-size: .94rem; }
.tf-out-list dt { color: var(--muted); }
.tf-out-list dd { margin: 0; font-weight: 600; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tf-out-list .is-strong dt, .tf-out-list .is-strong dd { color: var(--deep); font-weight: 700; }
.tf-cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; }
.tf-cta h2 { color: #fff; }
.tf-cta p { color: #E6F0E9; margin-top: .4rem; }
.tf-cta-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
/* short credit-based summary on admissions, programme pages and the PDF */
.fees-options { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.fees-options th, .fees-options td { padding: .6rem .5rem; border-bottom: 1px solid var(--line); text-align: left; }
.fees-options thead th { font: 600 .8rem var(--display); color: var(--muted); }
.fees-options .num { text-align: right; white-space: nowrap; }

/* Wide tables scroll inside their own box on small screens (tuition tables, commitment examples). */
.tbl-scroll { overflow-x: auto; max-width: 100%; }
.tbl-scroll:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (max-width: 600px) {
  .tf-table th, .tf-table td { padding: .6rem .7rem; font-size: .9rem; }
  .tf-table tbody th { white-space: normal; min-width: 9rem; }
}

/* ---------------------------------------------------------------- Tuition and degree planner (.tp-*) */
.tp-head { background: var(--deep); color: #fff; padding-block: clamp(2.4rem, 1.6rem + 3vw, 4rem); }
.tp-head h1 { color: #fff; max-width: 24ch; margin-top: .4rem; }
.tp-head .eyebrow { color: var(--gold-light); }
.tp-head .crumbs a { color: #E6F0E9; }
.tp-head-lead { max-width: 44rem; margin-top: .9rem; font-size: 1.08rem; color: #E6F0E9; }
.tp-wrap { padding-block: 2rem 4rem; display: grid; gap: 1.5rem; }
.tp { display: grid; gap: 1.25rem; max-width: 60rem; width: 100%; margin-inline: auto; }
.tp-progress { display: grid; gap: .45rem; }
.tp-progress-label { font: 600 .82rem var(--display); letter-spacing: .04em; color: var(--muted); }
.tp-bar { height: 8px; border-radius: 99px; background: var(--sage); overflow: hidden; }
.tp-bar span { display: block; height: 100%; width: 0; background: var(--forest); border-radius: inherit; transition: width .35s ease; }
.tp-card { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: clamp(1.25rem, .8rem + 2vw, 2.25rem); box-shadow: 0 10px 30px rgba(0, 61, 28, .06); }
.tp-step { display: grid; gap: 1rem; }
.tp-step[hidden] { display: none; }
.tp-step h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); color: var(--deep); max-width: 34ch; }
.tp-step h2:focus { outline: none; }
.tp-step.is-in { animation: tp-in .32s ease both; }
@keyframes tp-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.tp-qnum { font: 700 .74rem var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.tp-lead { font-size: 1.08rem; max-width: 44rem; }
.tp-welcome h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); }
.tp-points { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: .95rem; }
.tp-points li::before { content: "\2713"; color: var(--forest); font-weight: 700; margin-right: .45rem; }
.tp-start { justify-self: start; font-size: 1.05rem; }
.tp-choices { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.tp-choices-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); }
.tp-choices-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 10rem), 1fr)); }
.tp-choice { position: relative; display: flex; cursor: pointer; }
.tp-choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tp-choice-body { flex: 1; display: grid; gap: .3rem; align-content: start; padding: 1rem 1.1rem; border: 2px solid var(--line); border-radius: 8px; background: var(--paper); transition: border-color .15s, background-color .15s, box-shadow .15s; }
.tp-choice-body b { font: 700 1.02rem var(--display); color: var(--deep); display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.tp-choice-body span { font-size: .9rem; color: var(--muted); }
.tp-choice-sm .tp-choice-body { padding: .8rem 1rem; }
.tp-choice-sm .tp-choice-body b { font-size: .95rem; }
.tp-choice:hover .tp-choice-body { border-color: var(--forest-2); background: var(--off); }
.tp-choice input:checked + .tp-choice-body { border-color: var(--forest); background: var(--sage); box-shadow: inset 0 0 0 1px var(--forest); }
.tp-choice input:checked + .tp-choice-body b::after { content: "\2713"; margin-left: auto; color: var(--forest); }
.tp-choice input:focus-visible + .tp-choice-body { outline: 3px solid var(--gold); outline-offset: 2px; }
.tp-choice-unsure .tp-choice-body { border-style: dashed; }
.tp-tag { display: inline-block; font: 600 .66rem/1.2 var(--text); font-style: normal; letter-spacing: .06em; text-transform: uppercase; padding: .25rem .45rem; border-radius: 3px; background: var(--pale); color: #5A4300; }
.tp-field { display: grid; gap: .4rem; font: 600 .92rem var(--display); color: var(--deep); }
.tp-field select, .tp-field input, .tp-money-input input { width: 100%; min-width: 0; font: 400 1rem var(--text); padding: .7rem .8rem; border: 1px solid #C9D3CD; border-radius: 6px; background: #fff; color: var(--ink); }
.tp-field select:focus-visible, .tp-field input:focus-visible, .tp-money-input input:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; }
.tp-prior .tp-field input { max-width: 12rem; }
.tp-hint, .tp-small { font-size: .9rem; color: var(--muted); }
.tp-fine { font-size: .84rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: .9rem; }
.tp-budget-exact { display: grid; gap: .5rem; padding: 1rem 1.1rem; border-radius: 8px; background: var(--off); }
.tp-budget-row { display: grid; grid-template-columns: minmax(0, 1fr) 12rem; gap: 1rem; align-items: center; }
.tp-budget-row input[type=range] { width: 100%; accent-color: var(--forest); }
.tp-money-input { display: flex; align-items: center; gap: .4rem; font: 600 .85rem var(--display); color: var(--muted); }
@media (max-width: 560px) { .tp-budget-row { grid-template-columns: minmax(0, 1fr); } .tp-money-input { max-width: 14rem; } }
.tp-say:empty { display: none; }
.tp-say { display: grid; gap: .7rem; padding: 1rem 1.15rem; border-left: 4px solid var(--forest); border-radius: 0 8px 8px 0; background: var(--off); }
.tp-say p { margin: 0; }
.tp-say .tp-good { color: var(--deep); font-weight: 600; }
.tp-say .tp-warn { color: #6B3A00; font-weight: 600; }
.tp-note { margin: 0; padding: .7rem .9rem; border-radius: 6px; background: var(--sage); color: var(--deep); font-weight: 600; }
.tp-note:empty, .tp-note[hidden] { display: none; }
.tp-alts { display: flex; flex-wrap: wrap; gap: .5rem; }
.tp-alt { font: 600 .9rem var(--display); color: var(--deep); background: #fff; border: 2px solid var(--forest); border-radius: 99px; padding: .55rem 1rem; cursor: pointer; text-align: left; }
.tp-alt:hover { background: var(--sage); }
.tp-alt:focus-visible, .tp-link:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.tp-link { font: 600 .92rem var(--text); color: var(--forest-2); background: none; border: 0; padding: .2rem 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.tp-link:hover { color: var(--deep); }
.tp-prog { display: grid; gap: .3rem; }
.tp-prog b { font: 700 1.05rem var(--display); color: var(--deep); }
.tp-prog > span:not(.tp-tag) { color: var(--muted); font-size: .9rem; }
.tp-prog .tp-tag { justify-self: start; }
.tp-prog a { justify-self: start; font-weight: 600; color: var(--forest-2); }
.tp-error { margin: 1rem 0 0; color: #9B1C1C; font-weight: 600; }
.tp-error:empty { display: none; }
.tp-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.tp-nav[hidden], .tp-nav [hidden] { display: none; }
.tp-nav [data-next] { margin-left: auto; }
.tp-fit { display: inline-block; font: 600 .74rem var(--text); padding: .2rem .5rem; border-radius: 3px; }
.tp-fit.ok { background: var(--sage); color: var(--deep); }
.tp-fit.no { background: #FDECEA; color: #8A1C1C; }
.tp-cmp tr.is-current { background: var(--sage); }
/* results */
.tp-results { display: grid; gap: 1.75rem; }
.tp-results[hidden] { display: none; }
.tp-results-head h2 { color: var(--deep); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
.tp-results-head h2:focus, .tp-paths-wrap h3:focus { outline: none; }
.tp-res-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 1.5rem; align-items: start; }
@media (max-width: 860px) { .tp-res-grid { grid-template-columns: minmax(0, 1fr); } }
.tp-res-money { display: grid; gap: 1rem; }
.tp-big { display: grid; gap: .25rem; padding: 1.3rem 1.4rem; border-radius: 8px; background: var(--deep); color: #fff; }
.tp-big span { font: 600 .82rem var(--display); letter-spacing: .05em; text-transform: uppercase; color: #E6F0E9; }
.tp-big b { font: 800 clamp(1.9rem, 1.5rem + 1.5vw, 2.5rem)/1.1 var(--display); color: #fff; }
.tp-big small { color: #E6F0E9; font-size: .88rem; }
.tp-extra { padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); display: grid; gap: .6rem; }
.tp-extra h3 { font-size: 1rem; color: var(--deep); margin: 0; }
.tp-extra dl, .tp-facts, .tp-answers dl, .tp-path dl { margin: 0; display: grid; }
.tp-extra dl > div, .tp-facts > div, .tp-answers dl > div, .tp-path dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.tp-extra dt, .tp-facts dt, .tp-answers dt, .tp-path dt { color: var(--muted); font-size: .92rem; }
.tp-extra dd, .tp-facts dd, .tp-answers dd, .tp-path dd { margin: 0; text-align: right; font-weight: 600; color: var(--ink); }
.tp-check { display: flex; gap: .55rem; align-items: flex-start; font-size: .92rem; }
.tp-check input { margin-top: .2rem; accent-color: var(--forest); width: 1.05rem; height: 1.05rem; flex: none; }
.tp-totals { display: grid; gap: .5rem; }
.tp-totals > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .85rem 1.1rem; border-radius: 8px; background: var(--sage); }
.tp-totals span { font-weight: 600; color: var(--deep); }
.tp-totals b { font: 800 1.15rem var(--display); color: var(--deep); white-space: nowrap; }
.tp-facts { padding: .25rem 1.25rem; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.tp-facts > div:last-child, .tp-extra dl > div:last-child, .tp-answers dl > div:last-child { border-bottom: 0; }
.tp-answers { padding: 1rem 1.25rem; border-radius: 8px; background: var(--off); }
.tp-answers h3, .tp-paths-wrap h3, .tp-timeline-wrap h3 { color: var(--deep); font-size: 1.2rem; margin: 0 0 .6rem; }
.tp-answers dd { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: baseline; gap: .2rem .7rem; }
.tp-paths { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); margin-top: .8rem; }
.tp-path { display: grid; gap: .6rem; align-content: start; padding: 1.2rem; border: 2px solid var(--line); border-radius: 8px; background: var(--paper); }
.tp-path.is-current { border-color: var(--forest); background: var(--off); }
.tp-path h4 { margin: 0; font: 700 1.05rem var(--display); color: var(--deep); }
.tp-path > p { margin: 0; font-size: .9rem; color: var(--muted); }
.tp-path .tp-path-big { font: 800 1.5rem var(--display); color: var(--deep); }
.tp-path .tp-path-big small { font: 600 .85rem var(--text); color: var(--muted); }
.tp-path .btn { justify-self: start; }
.tp-path .tp-path-cur { font: 700 .8rem var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--forest-2); }
.tp-timeline { list-style: none; margin: .8rem 0 0; padding: 0 0 0 1.4rem; border-left: 3px solid var(--sage); display: grid; gap: .9rem; }
.tp-timeline li { position: relative; display: grid; gap: .4rem; padding: .9rem 1.1rem; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.tp-timeline li::before { content: ""; position: absolute; left: calc(-1.4rem - 9px); top: 1.15rem; width: 15px; height: 15px; border-radius: 50%; background: var(--forest); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--forest); }
.tp-tl-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem 1rem; }
.tp-tl-head b { font: 700 .98rem var(--display); color: var(--deep); }
.tp-tl-head span { color: var(--muted); font-size: .9rem; }
.tp-tl-bar { height: 8px; border-radius: 99px; background: var(--sage); overflow: hidden; }
.tp-tl-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--forest), var(--forest-2)); border-radius: inherit; }
.tp-tl-money { margin: 0; display: flex; flex-wrap: wrap; gap: .2rem 1.2rem; font-size: .9rem; color: var(--ink); }
.tp-tl-money b { margin-left: auto; color: var(--deep); }
.tp-timeline li.tp-tl-grad { display: block; background: var(--pale); border-color: #F0D78C; color: #5A4300; }
.tp-timeline li.tp-tl-grad::before { background: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.tp-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
@media (max-width: 560px) { .tp-actions .btn { flex: 1 1 100%; justify-content: center; } .tp-nav .btn { flex: 1 1 auto; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .tp-step.is-in { animation: none; } .tp-bar span { transition: none; } }
@media print {
  .util, .site-head, .mobile-nav, .foot, .skip, .tp-head, .tp-card, .tp-progress, .tp-actions, .tp-path .btn, .tp-link, .tp-check, .tf-proposed { display: none !important; }
  .tp-wrap { padding: 0; }
  .tp-results { gap: 1rem; }
  .tp-big { background: #fff; color: #000; border: 2px solid #000; }
  .tp-big span, .tp-big b, .tp-big small { color: #000; }
  .tp-timeline li, .tp-path { break-inside: avoid; }
}
/* hidden always wins inside the planner (several of its boxes set display) */
.tp[hidden], .tp [hidden] { display: none !important; }
.tp-progress-label:empty { display: none; }

/* planner embedded in a programme's « Coûts » tab */
.prog-planner { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: grid; gap: 1rem; }
.prog-planner .eyebrow { margin: 0; }
.tp-embedded .tp-card { padding-inline: clamp(1rem, 3vw, 1.75rem); }
.tp-totals .tp-grad { background: var(--deep); }
.tp-totals .tp-grad span, .tp-totals .tp-grad b { color: #fff; }
.tp-totals .tp-grad b { white-space: normal; text-align: right; }
.tp-res-money { grid-template-columns: minmax(0, 1fr); }
.apply-box .apply-estimate { text-align: center; white-space: normal; }

/* ---------------------------------------------------------------- Scholarships (.sch-*) */
.sch-nav { background: var(--paper); border-bottom: 1px solid var(--line); }
.sch-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .2rem; overflow-x: auto; scrollbar-width: thin; }
.sch-nav a { display: block; padding: .85rem .9rem; white-space: nowrap; font: 600 .9rem var(--display); color: var(--forest); text-decoration: none; border-bottom: 3px solid transparent; }
.sch-nav a:hover { color: var(--deep); background: var(--sage); }
.sch-nav a[aria-current="page"] { color: var(--deep); border-bottom-color: var(--gold); }
.sch-hero + .sch-nav + .wrap .notice { margin-top: 1.2rem; }
.sch-cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); }
.sch-sponsor { font: 600 .9rem var(--display); color: var(--gold-text); }
.sch-card .btn { margin-top: auto; }
.sch-card li b { white-space: normal; text-align: right; }
.sch-list { margin: 0; padding-left: 1.2rem; display: grid; gap: .55rem; }
.sch-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; counter-reset: sch; }
.sch-steps li { counter-increment: sch; position: relative; padding: .85rem 1rem .85rem 3.2rem; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; }
.sch-steps li::before { content: counter(sch); position: absolute; left: .9rem; top: .8rem; width: 1.7rem; height: 1.7rem; display: grid; place-items: center; border-radius: 50%; background: var(--forest); color: #fff; font: 700 .85rem var(--display); }
.sch-docs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sch-docs li { padding: .65rem 0; border-bottom: 1px solid var(--line); }
.sch-docs small { font-size: .75rem; color: var(--gold-text); text-transform: uppercase; letter-spacing: .05em; }
.sch-docs span { display: block; margin-top: .2rem; color: var(--muted); font-size: .9rem; }
.sch-h-gap { margin-top: 2rem; }
.sch-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sch-examples { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1.6rem; }
@media (max-width: 760px) { .sch-examples { grid-template-columns: minmax(0, 1fr); } }
.sch-examples .tf-card li b { white-space: normal; text-align: right; }
.sch-score { list-style: none; margin: .6rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.sch-score li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.sch-score li b { white-space: nowrap; color: var(--deep); }
.sch-score small { display: block; color: var(--muted); font-size: .85rem; }
.sch-guarantee { margin-top: 1.4rem; }
.sch-timeline { margin: 0; padding: 0; list-style: none; counter-reset: sch; border-left: 3px solid var(--line); }
.sch-timeline li { counter-increment: sch; position: relative; padding: .55rem 0 .55rem 1.6rem; }
.sch-timeline li::before { content: counter(sch); position: absolute; left: -.95rem; top: .45rem; width: 1.6rem; height: 1.6rem; display: grid; place-items: center; border-radius: 50%; background: var(--paper); border: 2px solid var(--forest); color: var(--forest); font: 700 .78rem var(--display); }
.sch-el { display: grid; gap: 2rem; max-width: 52rem; }
.sch-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.sch-form legend { padding: 0; margin-bottom: .4rem; font: 600 .9rem var(--display); color: var(--forest); }
.sch-form .sch-choice .tf-check { display: flex; align-items: flex-start; gap: .55rem; padding: .25rem 0; font: 400 .95rem var(--text); color: var(--ink); }
.sch-form .tf-check input { width: 1.05rem; height: 1.05rem; margin-top: .2rem; accent-color: var(--forest); flex: none; }
.sch-result { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line); border-top: 5px solid var(--forest); border-radius: 6px; background: var(--paper); display: grid; gap: .9rem; }
.sch-result:focus { outline: none; }
.sch-result h3 { margin-top: .8rem; font-size: 1.1rem; }
.sch-st-not_eligible { border-top-color: #B42318; }
.sch-st-pending_government, .sch-st-pending_admission, .sch-st-pending_documents, .sch-st-manual, .sch-st-conditional { border-top-color: var(--gold); }
.sch-res-pct b { font: 800 clamp(2rem, 1.5rem + 2vw, 2.8rem)/1 var(--display); color: var(--deep); }
.sch-res-pct span { color: var(--muted); }
.sch-res-money { margin: 0; display: grid; border-top: 1px solid var(--line); }
.sch-res-money div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.sch-res-money dd { margin: 0; font-weight: 700; white-space: nowrap; }
.sch-res-money .is-strong dt, .sch-res-money .is-strong dd { color: var(--deep); font-weight: 800; }
.sch-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.sch-checks li { padding: .6rem .8rem; border-left: 4px solid var(--forest); background: var(--sage); border-radius: 0 4px 4px 0; }
.sch-checks li.is-pending { border-left-color: var(--gold); background: var(--pale); }
.sch-checks li.is-fail { border-left-color: #B42318; background: #FDF0EE; }
.sch-checks b, .sch-checks span { display: block; }
.sch-checks span { font-size: .9rem; color: var(--ink); }

/* ---------------------------------------------------------------- Scholarship application (.sch-app-*) */
.sch-test { margin-top: 1.2rem; border-left: 4px solid var(--gold); }
.sch-app { padding-top: 2rem; }
.sch-app-grid { display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 860px) { .sch-app-grid { grid-template-columns: minmax(0, 1fr); } }
.sch-app-side { position: sticky; top: 1rem; display: grid; gap: .9rem; padding: 1.1rem; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); }
@media (max-width: 860px) { .sch-app-side { position: static; } }
.sch-app-ref { font-size: .9rem; color: var(--muted); }
.sch-app-ref b { display: block; color: var(--deep); font: 700 1.05rem var(--display); letter-spacing: .02em; }
.sch-app-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.sch-app-steps a { display: flex; align-items: center; gap: .6rem; padding: .45rem .5rem; border-radius: 4px; color: var(--ink); text-decoration: none; font-size: .93rem; }
.sch-app-steps a:hover { background: var(--sage); }
.sch-app-letter { flex: none; width: 1.6rem; height: 1.6rem; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--line); font: 700 .78rem var(--display); color: var(--muted); }
.sch-app-steps .is-done .sch-app-letter { background: var(--forest); border-color: var(--forest); color: #fff; }
.sch-app-steps .is-current a { background: var(--sage); font-weight: 700; color: var(--deep); }
.sch-app-steps .is-current .sch-app-letter { border-color: var(--gold); color: var(--deep); }
@media (max-width: 860px) { .sch-app-steps { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; padding-bottom: .3rem; } .sch-app-steps a { white-space: nowrap; } }
.sch-app-saved { font-size: .82rem; color: var(--muted); }
.sch-linkbtn { padding: 0; border: 0; background: none; color: var(--forest); font: 600 .9rem var(--text); text-decoration: underline; cursor: pointer; justify-self: start; }
.sch-step-h { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.sch-app-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: .6rem; }
.sch-app-actions .btn-gold { margin-left: auto; }
@media (max-width: 560px) { .sch-app-actions .btn { flex: 1 1 100%; justify-content: center; } .sch-app-actions .btn-gold { margin-left: 0; order: -1; } }
.sch-app-main { display: grid; gap: 1.2rem; min-width: 0; }
.sch-form .field input[type="date"] { max-width: 14rem; }
.sch-doclist { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.sch-doc { display: grid; gap: .7rem; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 4px; background: var(--paper); }
.sch-doc.is-sent { border-left-color: var(--forest); }
.sch-doc.is-alt { border-left-color: #8A9A90; }
.sch-doc-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .4rem 1rem; }
.sch-doc-head h2 { font-size: 1.05rem; margin: 0; }
.sch-doc-state { font: 700 .8rem var(--display); text-transform: uppercase; letter-spacing: .05em; color: var(--gold-text); }
.sch-doc.is-sent .sch-doc-state { color: var(--forest); }
.sch-doc-file { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 1rem; font-size: .92rem; overflow-wrap: anywhere; }
.sch-upload { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem; }
.sch-upload label { flex: 1 1 100%; font: 600 .88rem var(--display); color: var(--forest); }
.sch-upload input[type="file"] { flex: 1 1 14rem; min-width: 0; font-size: .9rem; }
.sch-upload progress { flex: 1 1 8rem; }
.sch-upload-status { flex: 1 1 100%; font-size: .88rem; color: #B42318; }
.sch-alt { display: grid; gap: .5rem; margin-top: .6rem; }
.sch-alt textarea { width: 100%; font: 1rem var(--text); padding: .6rem; border: 1px solid #C9D6CE; border-radius: 4px; }
.sch-alt .btn { justify-self: start; }
.sch-doc details summary { cursor: pointer; color: var(--forest); font-weight: 600; font-size: .92rem; }
.sch-review { padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); }
.sch-review dl { margin: .6rem 0 0; display: grid; }
.sch-review dl div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 1rem; padding: .45rem 0; border-top: 1px solid var(--line); }
@media (max-width: 560px) { .sch-review dl div { grid-template-columns: minmax(0, 1fr); gap: .1rem; } }
.sch-review dt { color: var(--muted); font-size: .9rem; }
.sch-review dd { margin: 0; overflow-wrap: anywhere; }
.sch-terms summary { cursor: pointer; font-weight: 600; color: var(--forest); }

/* Scholarships stage 5: result, tracking dashboard, verification */
.sch-facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: .6rem 1.5rem; }
.sch-facts dt { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.sch-facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.sch-res-label { margin: .4rem 0 0; font-size: .85rem; color: var(--muted); }
.sch-res-status { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); }
.sch-disclaimer { margin: .2rem 0; color: var(--ink); }
.sch-downloads { display: grid; gap: .4rem; }
.notice-ok { font-size: .92rem; color: var(--deep); background: var(--sage); padding: .9rem 1.1rem; border-left: 4px solid var(--forest); border-radius: 4px; }
.sch-db { display: grid; gap: 1.25rem; }
.sch-db-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.sch-db-ref { margin: .3rem 0 0; color: var(--muted); }
.sch-db-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 19rem); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; }
.sch-db-main { display: grid; gap: 1.25rem; min-width: 0; }
.sch-db-card { padding: clamp(1rem, 2.5vw, 1.5rem); border: 1px solid var(--line); border-radius: 6px; background: var(--paper); display: grid; gap: .75rem; min-width: 0; }
.sch-db-card h2, .sch-db-h { font-size: 1.2rem; }
.sch-db-card h3 { font-size: 1rem; margin-top: .4rem; }
.sch-db-card h4 { font: 700 .98rem var(--display); color: var(--forest); margin: 0; }
.sch-db-card .sch-result { border: 0; padding: .8rem 0 0; }
.sch-db-status { margin: 0; font-size: 1.05rem; }
.sch-db-side { position: sticky; top: 1rem; display: grid; gap: .8rem; }
.sch-req { padding: .9rem 1rem; border-left: 4px solid var(--line); background: var(--sage); border-radius: 4px; display: grid; gap: .5rem; }
.sch-req.is-open { border-left-color: var(--gold); background: var(--pale); }
.sch-req p { margin: 0; }
.sch-req-meta { font-size: .82rem; color: var(--muted); }
.sch-track li small { display: block; font-size: .78rem; color: var(--muted); }
.sch-track li.is-done::before { content: "✓"; background: var(--forest); color: #fff; }
.sch-track li.is-current::before { border-color: var(--gold); background: var(--pale); color: var(--gold-text); }
.sch-track li.is-current span { font-weight: 700; color: var(--deep); }
.sch-track li.is-upcoming { color: var(--muted); }
.sch-track li.is-upcoming::before { border-color: var(--line); color: var(--muted); }
@media (max-width: 900px) { .sch-db-grid { grid-template-columns: minmax(0, 1fr); } .sch-db-side { position: static; order: -1; } }
