:root {
  --navy: #102c48;
  --navy-deep: #0b2037;
  --burgundy: #a6323e;
  --burgundy-dark: #862732;
  --ink: #1f3043;
  --muted: #586677;
  --line: #dce2e9;
  --soft: #f4f6f8;
  --white: #ffffff;
  --success: #206b52;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 7rem; }
body { margin: 0; color: var(--ink); background: white; font: 1rem/1.65 Inter, Arial, sans-serif; }
h1, h2, h3, p { margin: 0 0 1rem; }
h1, h2, h3 { color: var(--navy); line-height: 1.18; letter-spacing: -.025em; }
h1 { font-size: clamp(2.25rem, 4.8vw, 4.1rem); font-weight: 750; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 730; }
h3 { font-size: 1.25rem; font-weight: 700; }
a { color: inherit; text-underline-offset: .25em; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #bd4652; outline-offset: 4px; }
.container { width: min(1220px, calc(100% - 3rem)); margin-inline: auto; }
.skip { position: fixed; top: .5rem; left: .5rem; transform: translateY(-160%); padding: .6rem 1rem; z-index: 20; background: white; }
.skip:focus { transform: none; }
.utility { background: var(--navy); color: #e7edf4; font-size: .875rem; }
.utility .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 2.4rem; }
.utility .container > div { display: flex; gap: 1.75rem; }
.utility a { text-decoration: none; }
.utility a:hover { text-decoration: underline; }
.site-header { position: sticky; top: 0; z-index: 5; background: white; border-bottom: 1px solid var(--line); }
.header-main { display: flex; align-items: center; gap: 2rem; min-height: 6.3rem; }
.wordmark { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--navy); line-height: 1.2; flex-shrink: 0; }
.brand-mark { display: grid; place-items: center; height: 3rem; width: 2.6rem; border: 2px solid var(--navy); border-bottom: 5px solid var(--burgundy); font-size: 2rem; font-weight: 800; line-height: 1; }
.wordmark strong { display: block; font-size: 1.6rem; font-weight: 800; letter-spacing: .045em; }
.wordmark small { display: block; font-size: .75rem; letter-spacing: .025em; margin-top: .25rem; }
#main-nav { display: flex; align-items: center; gap: 1.65rem; margin-left: auto; }
#main-nav a { text-decoration: none; font-size: .94rem; font-weight: 650; padding: 2.2rem 0; border-bottom: 3px solid transparent; }
#main-nav a:hover, #main-nav a[aria-current] { color: var(--burgundy); border-bottom-color: var(--burgundy); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.9rem; padding: .7rem 1.2rem; background: var(--navy); color: white; border: 1px solid var(--navy); border-radius: .2rem; text-decoration: none; font-size: .94rem; font-weight: 700; line-height: 1.4; text-align: center; }
.button:hover { background: #214767; border-color: #214767; }
.button.burgundy { background: var(--burgundy); border-color: var(--burgundy); }
.button.burgundy:hover { background: var(--burgundy-dark); }
.button.outline { color: var(--navy); background: transparent; border-color: #98a7b6; }
.button.outline:hover { background: #eaf0f5; }
.button.white-outline { color: white; background: #102c4840; border-color: #ffffff99; }
.button.white-outline:hover { background: #ffffff24; }
.menu-button { display: none; background: white; padding: .5rem .8rem; border: 1px solid var(--line); border-radius: .2rem; font-weight: 700; color: var(--navy); min-height: 2.75rem; }
.actions { display: flex; gap: .85rem; flex-wrap: wrap; margin: 1.6rem 0 0; }
.eyebrow { font-size: .82rem; letter-spacing: .1em; font-weight: 750; color: var(--burgundy); margin: 0 0 .9rem; }
.hero { position: relative; background: var(--navy) url('./assets/classe-illustration.webp') center 44% / cover no-repeat; color: white; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #081e34f5 0%, #102c48e5 28%, #102c4870 54%, #102c4808 78%); }
.hero-inner { display: flex; align-items: center; min-height: clamp(31rem, 45vw, 39rem); padding-block: 4rem 5rem; }
.hero-copy { max-width: 640px; }
.hero h1 { color: white; font-weight: 740; line-height: 1.09; margin-bottom: 1.4rem; }
.hero .eyebrow { color: #fff; font-size: .875rem; letter-spacing: .14em; border-left: 3px solid #d96d78; padding-left: .8rem; }
.hero-copy > p:not(.eyebrow) { color: #eef2f7; max-width: 34rem; font-size: 1.125rem; line-height: 1.7; }
.photo-credit { position: absolute; bottom: .5rem; right: 1rem; font-size: .75rem; color: white; text-shadow: 0 1px 4px #000; }
.direct-access { background: var(--soft); border-bottom: 1px solid var(--line); }
.direct-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.direct-grid > a { display: flex; align-items: center; gap: 1.1rem; text-decoration: none; padding: 1.65rem 1.7rem; border-inline-start: 1px solid var(--line); }
.direct-grid > a:last-child { border-inline-end: 1px solid var(--line); }
.direct-grid > a:hover { background: #e9edf2; }
.direct-grid strong { display: block; color: var(--navy); line-height: 1.3; }
.direct-grid small { display: block; font-size: .875rem; color: var(--muted); margin-top: .3rem; }
.access-icon { color: var(--burgundy); font-size: 1.8rem; width: 2.2rem; flex-shrink: 0; line-height: 1; }
.section { padding-block: clamp(3rem, 6vw, 5.5rem); }
.soft { background: var(--soft); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 2.2rem; }
.section-heading h2 { margin: 0; max-width: 32ch; }
.text-link { color: var(--burgundy); font-weight: 700; font-size: .94rem; flex-shrink: 0; }
.path-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); }
.path-card { padding: 1.85rem 1.5rem; border-top: 3px solid var(--navy); display: flex; flex-direction: column; align-items: start; }
.path-card:not(:last-child) { border-right: 1px solid var(--line); }
.path-card:nth-child(even) { border-top-color: var(--burgundy); }
.course-label { color: var(--burgundy); font-size: .78rem; font-weight: 750; letter-spacing: .045em; margin-bottom: .7rem; }
.path-card h3 { font-size: 1.35rem; min-height: 3.2rem; }
.path-card p { font-size: .95rem; color: var(--muted); }
.path-card a { margin-top: auto; color: var(--navy); font-size: .9rem; font-weight: 700; padding-top: .8rem; }
.about-layout, .two-columns, .campus-feature { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.about-layout { align-items: center; }
.photo-panel { position: relative; }
.photo-panel img { display: block; width: 100%; height: 360px; object-fit: cover; object-position: 72% center; }
.photo-caption { position: absolute; bottom: 0; left: 0; padding: 1rem 1.4rem; background: var(--navy); color: white; font-size: .94rem; }
.lead { font-size: 1.12rem; color: #42566b; line-height: 1.7; max-width: 60ch; }
.about-layout .button { margin-top: .6rem; }
.campus-feature { align-items: center; }
.campus-feature p { max-width: 49ch; }
.campus-preview { background: white; border: 1px solid var(--line); box-shadow: 0 18px 50px #102c4810; }
.preview-top { display: flex; align-items: center; justify-content: space-between; background: var(--navy); color: white; padding: 1rem 1.5rem; font-size: .875rem; }
.preview-top strong { letter-spacing: .07em; }
.preview-body { padding: 1.8rem; }
.mini-course { display: flex; align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.subject-square { display: grid; place-items: center; width: 3rem; height: 3rem; background: #f7e8eb; color: var(--burgundy); border-radius: .2rem; font-size: 1.2rem; font-weight: 750; flex-shrink: 0; }
.subject-square.blue { background: #e7eef5; color: var(--navy); }
.mini-course strong, .mini-course small { display: block; }
.mini-course small { color: var(--muted); font-size: .875rem; }
.preview-links { display: flex; gap: 1.25rem; color: var(--muted); font-size: .875rem; padding-top: 1.5rem; }
.admission-band { background: #edf1f5; border-top: 1px solid var(--line); padding: 2.5rem 0; }
.admission-band .container, .contact-callout { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.admission-band h2 { font-size: 1.6rem; }
.admission-band p { margin: 0; color: var(--muted); }
.admission-band .button { flex-shrink: 0; }
.site-footer { background: var(--navy-deep); color: #d5e0eb; padding-top: 3.5rem; }
.footer-columns { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.2rem; padding-bottom: 3rem; }
.wordmark.inverse { color: white; }
.inverse .brand-mark { border-color: #e1e9f0; border-bottom-color: #c25763; }
.site-footer h2 { font-size: 1rem; color: white; margin-bottom: 1rem; letter-spacing: 0; }
.site-footer p { font-size: .875rem; margin: 1.2rem 0 0; }
.footer-columns > div > a:not(.wordmark) { display: block; font-size: .875rem; text-decoration: none; margin: .6rem 0; }
.footer-columns > div > a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid #ffffff26; padding-block: 1rem; display: flex; justify-content: space-between; gap: 1rem; font-size: .8rem; }
.site-footer :focus-visible { outline-color: #e19aa3; }
.page-heading { background: var(--soft); border-bottom: 1px solid var(--line); padding: 3.3rem 0; }
.page-heading h1 { font-size: clamp(2rem, 4vw, 3.3rem); margin-bottom: 1.2rem; }
.page-heading .lead { margin-bottom: 0; }
.editorial-list article { border-bottom: 1px solid var(--line); padding: 0 0 1.4rem; margin-bottom: 1.4rem; }
.editorial-list article:last-child { margin-bottom: 0; }
.editorial-list p { margin: 0; color: var(--muted); }
.catalogue-tools { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.filters { display: flex; align-items: end; flex-wrap: wrap; gap: .5rem; }
.filter { border: 1px solid var(--line); background: white; color: var(--navy); padding: .65rem .9rem; min-height: 2.85rem; border-radius: .2rem; font-size: .94rem; }
.filter[aria-pressed="true"] { background: var(--navy); color: white; border-color: var(--navy); }
.filter:hover { border-color: var(--navy); }
label { display: block; font-size: .94rem; font-weight: 650; margin-bottom: .4rem; }
input, select, textarea { width: 100%; max-width: 100%; color: var(--ink); padding: .75rem .85rem; border: 1px solid #9aa8b5; background: white; border-radius: .2rem; font-size: 1rem; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #102c48 50%), linear-gradient(135deg, #102c48 50%, transparent 50%); background-position: calc(100% - 19px) 52%, calc(100% - 13px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.4rem; }
textarea { resize: vertical; }
.search-control { width: 19rem; max-width: 100%; }
.search-control label { font-size: .875rem; }
.program-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.25rem; }
.program-card { display: flex; flex-direction: column; align-items: start; justify-content: space-between; border: 1px solid var(--line); border-top: 3px solid var(--navy); padding: 1.75rem; gap: .7rem; }
.program-card h2 { font-size: 1.5rem; }
.program-card p:not(.course-label) { color: var(--muted); }
.program-card .button { font-size: .875rem; }
.empty-state { border: 1px dashed var(--line); padding: 2rem; background: var(--soft); }
.admission-steps { counter-reset: steps; list-style: none; margin: 2rem 0; padding: 0; }
.admission-steps li { position: relative; padding-left: 2rem; border-left: 2px solid #cbd4df; margin: 0 0 1.75rem .5rem; }
.admission-steps li::before { content: ''; width: .65rem; height: .65rem; background: var(--burgundy); position: absolute; left: -.4rem; top: .35rem; border: 2px solid white; }
.admission-steps h3 { font-size: 1.1rem; }
.admission-steps p { color: var(--muted); margin: 0; }
.information-box { padding: 1.5rem; background: var(--soft); border-left: 3px solid var(--burgundy); }
.information-box h3 { font-size: 1.1rem; }
.request-form { border: 1px solid var(--line); padding: 2rem; box-shadow: 0 10px 30px #102c4807; }
.request-form h2 { font-size: 1.5rem; }
.request-form label:not(:first-of-type) { margin-top: 1.25rem; }
.request-form .button { margin-top: 1.4rem; }
.request-form .optional { font-weight: 400; color: var(--muted); }
.form-status { font-size: .875rem; margin: 1rem 0 0; }
#message { padding: 1rem; background: var(--soft); border: 1px solid var(--line); white-space: pre-wrap; overflow-wrap: anywhere; margin: 1rem 0 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq details:first-child { padding-top: 0; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { color: var(--muted); margin: .8rem 0 0; }
.contact-block { border-bottom: 1px solid var(--line); padding: 1.5rem 0; margin-bottom: 1.5rem; }
.contact-block h3 { font-size: 1.1rem; }
.phone-line { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; }
.phone-line a:last-child { color: var(--burgundy); font-size: .94rem; }
address { font-style: normal; }
.location-panel { background: var(--soft); border: 1px solid var(--line); padding: 3rem 2rem; }
.location-symbol { display: block; font-size: 3rem; line-height: 1.2; color: var(--burgundy); margin-bottom: 1.5rem; }
.location-panel .small { margin: 1.2rem 0 0; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 1100px) {
  .header-main { gap: 1.2rem; }
  #main-nav { gap: 1rem; }
  .wordmark strong { font-size: 1.35rem; }
  .path-card { padding: 1.5rem 1rem; }
}
@media (max-width: 950px) {
  .header-main { flex-wrap: wrap; min-height: 5.5rem; padding-block: 1rem; }
  .menu-button { display: inline-flex; margin-left: auto; }
  .campus-access { order: 0; font-size: .875rem; }
  #main-nav { order: 1; width: 100%; justify-content: space-between; margin: 0; }
  #main-nav a { padding: .5rem 0; }
  .js #main-nav:not(.open) { display: none; }
  .path-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .path-card:nth-child(2) { border-right: none; }
  .path-card h3 { min-height: auto; }
  .direct-grid > a { padding: 1.4rem 1rem; }
  .direct-grid strong { font-size: .94rem; }
  .about-layout, .two-columns, .campus-feature { gap: 2rem; }
  .footer-columns { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 650px) {
  html { scroll-padding-top: 6rem; }
  .container { width: calc(100% - 2rem); }
  .utility .container { font-size: .8rem; }
  .utility .container > div > a:last-child { display: none; }
  .header-main { gap: .7rem; }
  .wordmark { gap: .5rem; }
  .wordmark strong { font-size: 1.15rem; }
  .brand-mark { width: 2rem; height: 2.5rem; font-size: 1.5rem; }
  .campus-access { display: none; }
  #main-nav { flex-wrap: wrap; justify-content: start; gap: .3rem 1.4rem; }
  .hero { background-position: 65% center; }
  .hero::before { background: linear-gradient(90deg,#081e34ec,#102c48a6); }
  .hero-inner { min-height: 32rem; padding-block: 3rem; }
  .hero h1 { font-size: clamp(2.3rem,8vw,3rem); }
  .hero-copy > p:not(.eyebrow) { font-size: 1rem; }
  .hero .actions { gap: .7rem; }
  .direct-grid { grid-template-columns: 1fr; }
  .direct-grid > a { border-inline: none; border-bottom: 1px solid var(--line); padding: 1rem .5rem; }
  .direct-grid > a:last-child { border-inline-end: none; border-bottom: none; }
  .section-heading { display: block; }
  .section-heading .text-link { display: inline-block; margin-top: 1rem; }
  .about-layout, .two-columns, .campus-feature, .program-grid { grid-template-columns: minmax(0,1fr); }
  .photo-panel img { height: 290px; }
  .path-grid { grid-template-columns: minmax(0,1fr); }
  .path-card { padding: 1.4rem; border-right: none !important; }
  .path-card h3 br { display: none; }
  .admission-band .container, .contact-callout { align-items: start; flex-direction: column; gap: 1.25rem; }
  .footer-columns { grid-template-columns: minmax(0,1fr); gap: 1.8rem; }
  .footer-bottom { flex-direction: column; gap: .5rem; }
  .request-form { padding: 1.35rem; }
  .catalogue-tools { display: block; }
  .search-control { width: 100%; margin-top: 1.3rem; }
  .location-panel { padding: 2rem 1.5rem; }
}
