:root {
  --red: #d92d20;
  --red-dark: #a91d15;
  --ink: #171717;
  --muted: #66645f;
  --paper: #f7f4ee;
  --cream: #eee9df;
  --line: #d8d2c7;
  --white: #fff;
  --radius: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body.menu-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
.skip-link { position: fixed; z-index: 30; top: 8px; left: 8px; padding: 10px 14px; transform: translateY(-150%); color: #fff; background: var(--ink); border-radius: 4px; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; z-index: 20; top: 0; min-height: 84px; padding: 10px clamp(22px, 6vw, 92px); display: flex; align-items: center; justify-content: space-between; gap: 28px; border-bottom: 1px solid rgba(23,23,23,.1); background: rgba(247,244,238,.94); backdrop-filter: blur(14px); }
.brand { display: block; width: clamp(190px, 21vw, 255px); flex: 0 0 auto; }
.brand img { width: 100%; mix-blend-mode: multiply; }
nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); }
nav a, .admin-link { padding: 8px 0; color: var(--ink); background: none; border: 0; text-decoration: none; font-size: 13px; font-weight: 700; }
nav a:hover, nav a:focus-visible { color: var(--red); }
.admin-link { padding: 10px 15px; color: #fff; background: var(--ink); border-radius: 5px; }
.admin-link:hover { background: var(--red); }
.menu-button { display: none; padding: 9px 12px; border: 1px solid var(--ink); border-radius: 4px; background: transparent; font-weight: 750; }

.hero { min-height: calc(100vh - 84px); padding: clamp(66px, 10vw, 142px) clamp(24px, 8vw, 120px); display: grid; grid-template-columns: minmax(0,1.45fr) minmax(310px,.65fr); align-items: center; gap: clamp(46px, 8vw, 120px); overflow: hidden; background: radial-gradient(circle at 80% 20%, rgba(217,45,32,.12), transparent 29%), var(--paper); }
.eyebrow { margin-bottom: 15px; color: var(--red); font-size: 11px; font-weight: 850; letter-spacing: .16em; }
.hero h1 { max-width: 860px; margin-bottom: 30px; font-size: clamp(56px, 8.4vw, 118px); line-height: .88; letter-spacing: -.068em; }
.hero-text { max-width: 690px; margin-bottom: 32px; color: var(--muted); font-size: clamp(17px, 1.6vw, 22px); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.primary-button, .secondary-button { display: inline-flex; justify-content: center; align-items: center; padding: 13px 19px; border: 1px solid transparent; border-radius: 5px; font-size: 13px; font-weight: 800; text-decoration: none; }
.primary-button { color: #fff; background: var(--red); }
.primary-button:hover { background: var(--red-dark); }
.secondary-button { color: var(--ink); background: transparent; border-color: #aaa49a; }
.secondary-button:hover { border-color: var(--ink); }
.text-link { color: var(--ink); font-size: 14px; font-weight: 800; text-decoration: none; }
.text-link span { margin-left: 8px; color: var(--red); }
.hero-card { position: relative; padding: clamp(28px, 4vw, 48px); color: #fff; background: var(--ink); border-radius: var(--radius); box-shadow: 22px 22px 0 var(--red); }
.hero-card::before { content: "DM"; position: absolute; right: 22px; top: 10px; color: rgba(255,255,255,.04); font-size: 100px; font-weight: 900; letter-spacing: -.08em; }
.card-kicker { color: #ff9b92; font-size: 10px; font-weight: 850; letter-spacing: .14em; }
.hero-card h2 { position: relative; margin-bottom: 34px; font-size: clamp(27px, 3vw, 39px); line-height: 1.05; letter-spacing: -.045em; }
.hero-card > p:last-child { margin: 26px 0 0; color: #c9c5bf; font-size: 13px; line-height: 1.55; }
.hero-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-metrics div { padding-top: 17px; border-top: 1px solid #514d49; }
.hero-metrics strong { display: block; color: #fff; font-size: 38px; letter-spacing: -.05em; }
.hero-metrics span { display: block; color: #aaa59f; font-size: 11px; line-height: 1.4; }

.trust-strip { padding: 18px clamp(24px, 6vw, 92px); display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; color: #fff; background: var(--red); }
.trust-strip span { text-align: center; font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.section { padding: clamp(76px, 10vw, 140px) clamp(24px, 7vw, 108px); }
.section-heading { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(260px,.65fr); gap: 55px; align-items: end; max-width: 1180px; margin-bottom: 50px; }
.section-heading h2, .about-copy h2, .contact-section h2 { margin-bottom: 0; font-size: clamp(39px, 5.7vw, 74px); line-height: .98; letter-spacing: -.06em; }
.section-heading > p, .about-copy > p, .contact-section > div > p:last-child { margin: 0; color: var(--muted); line-height: 1.65; }

.about-section { display: grid; grid-template-columns: 130px minmax(0,1.3fr) minmax(250px,.55fr); gap: clamp(28px, 6vw, 85px); align-items: start; background: var(--cream); }
.section-label { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.section-label span { display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid #a9a49b; border-radius: 50%; font-size: 11px; }
.section-label p { margin: 0; font-size: 10px; font-weight: 850; letter-spacing: .12em; }
.about-copy { max-width: 750px; }
.about-copy h2 { margin-bottom: 28px; }
.about-copy > p { font-size: 16px; }
.about-copy > p + p { margin-top: 16px; }
.about-note { margin-top: 90px; padding: 24px; border-top: 4px solid var(--red); background: #fff; }
.about-note strong { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.about-note p { margin: 12px 0 0; color: var(--muted); line-height: 1.55; font-size: 14px; }

.programme-section { background: #fff; }
.programme-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; max-width: 1180px; }
.programme-card { min-height: 470px; padding: clamp(28px, 4vw, 45px); display: flex; flex-direction: column; align-items: flex-start; border-radius: var(--radius); }
.programme-card.central { color: #fff; background: var(--ink); }
.programme-card.state { color: var(--ink); background: #eadedb; }
.card-top { width: 100%; display: flex; align-items: center; justify-content: space-between; }
.card-top > span:first-child { font-family: Georgia, serif; font-size: 26px; }
.status-pill { padding: 7px 10px; border: 1px solid currentColor; border-radius: 100px; font-size: 10px; font-weight: 800; }
.programme-type { margin: 68px 0 16px; color: var(--red); font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.central .programme-type { color: #ff8a80; }
.programme-card h3 { max-width: 560px; margin-bottom: 18px; font-size: clamp(30px, 4vw, 50px); line-height: 1; letter-spacing: -.05em; }
.programme-card > p:not(.programme-type) { max-width: 550px; color: inherit; opacity: .74; line-height: 1.55; }
.card-button { margin-top: auto; padding: 13px 0 7px; color: inherit; background: none; border: 0; border-bottom: 1px solid currentColor; font-size: 13px; font-weight: 850; }
.card-button span { margin-left: 14px; }

.courses-section { background: var(--paper); }
.courses-layout { display: grid; grid-template-columns: minmax(0,1180px) minmax(270px,1fr); gap: clamp(42px,5vw,82px); align-items: stretch; }
.courses-content { min-width: 0; }
.courses-content .section-heading, .courses-content .course-list { max-width: none; }
.course-list { max-width: 1180px; border-top: 1px solid var(--line); }
.course-list article { padding: 30px 0; display: grid; grid-template-columns: 60px minmax(250px,1.15fr) minmax(450px,1fr); gap: 25px; align-items: center; border-bottom: 1px solid var(--line); }
.course-index { color: var(--red); font-size: 12px; font-weight: 850; }
.course-list article > div > p { margin-bottom: 7px; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.course-list h3 { margin: 0; font-size: clamp(22px, 2.5vw, 32px); line-height: 1.1; letter-spacing: -.035em; }
.course-list dl { margin: 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.course-list dl div { padding-left: 14px; border-left: 2px solid var(--line); }
.course-list dt { color: var(--muted); font-size: 10px; line-height: 1.4; text-transform: uppercase; letter-spacing: .08em; }
.course-list dd { margin: 6px 0 0; font-size: 13px; font-weight: 800; }
.course-seat-chart { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding-left: clamp(28px,3vw,52px); border-left: 1px solid var(--line); }
.course-seat-chart > .eyebrow { margin-bottom: 15px; }
.course-seat-chart h3 { max-width: 360px; margin-bottom: 30px; font-size: clamp(26px,2.5vw,38px); line-height: 1.05; letter-spacing: -.045em; }
.course-seat-donut { position: relative; display: grid; width: clamp(180px,15vw,230px); aspect-ratio: 1; place-items: center; background: conic-gradient(var(--red) 0 36.36%, #ff9a91 36.36% 63.64%, var(--ink) 63.64% 100%); border-radius: 50%; }
.course-seat-donut::after { position: absolute; width: 56%; aspect-ratio: 1; content: ''; background: var(--paper); border-radius: 50%; }
.course-seat-donut > span { position: relative; z-index: 1; text-align: center; }
.course-seat-donut strong, .course-seat-donut small { display: block; }
.course-seat-donut strong { font-size: clamp(34px,3vw,50px); line-height: 1; letter-spacing: -.055em; }
.course-seat-donut small { margin-top: 5px; color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.course-seat-chart ul { display: grid; gap: 13px; max-width: 360px; padding: 0; margin: 30px 0 0; list-style: none; }
.course-seat-chart li { display: grid; grid-template-columns: 10px minmax(0,1fr) auto; gap: 10px; align-items: center; color: var(--muted); font-size: 11px; line-height: 1.35; }
.course-seat-chart li i { width: 9px; height: 9px; }
.course-seat-chart li b { color: var(--ink); font-size: 12px; }
.donut-series-one { background: var(--red); }
.donut-series-two { background: #ff9a91; }
.donut-series-three { background: var(--ink); }

.centres-section { background: #fff; }
.slideshow { --slide-pad: clamp(12px,2vw,26px); position: relative; height: min(63vw,660px); min-height: 430px; max-width: 1180px; overflow: hidden; padding: var(--slide-pad); border: 1px solid #d8d0c7; border-radius: var(--radius); background: #e8e1d9; }
.slideshow > img { width: 100%; height: 100%; object-fit: contain; border-radius: calc(var(--radius) - 3px); transition: opacity .3s ease; }
.slide-shade { position: absolute; inset: var(--slide-pad); background: linear-gradient(90deg, rgba(10,10,10,.82), rgba(10,10,10,.06) 72%); border-radius: calc(var(--radius) - 3px); pointer-events: none; }
.slide-overlay { position: absolute; z-index: 1; left: clamp(28px, 5vw, 70px); bottom: clamp(54px, 7vw, 86px); max-width: 650px; color: #fff; }
.slide-overlay > p { color: #ff958c; font-size: 10px; font-weight: 850; letter-spacing: .14em; }
.slide-overlay h3 { margin-bottom: 13px; font-size: clamp(36px, 5.5vw, 70px); line-height: .96; letter-spacing: -.055em; }
.slide-overlay > span { display: block; max-width: 570px; font-size: 15px; line-height: 1.5; }
.slide-overlay small { display: block; margin-top: 12px; color: #c9c4bf; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.slide-button { position: absolute; z-index: 2; top: 50%; width: 48px; height: 48px; transform: translateY(-50%); color: #fff; background: rgba(0,0,0,.27); border: 1px solid rgba(255,255,255,.72); border-radius: 50%; font-size: 20px; }
.slide-button:hover { background: var(--red); border-color: var(--red); }
.previous { left: 22px; }
.next { right: 22px; }
.slide-dots { position: absolute; z-index: 2; right: 34px; bottom: 34px; display: flex; gap: 8px; }
.slide-dots button { width: 34px; height: 4px; padding: 0; background: rgba(255,255,255,.4); border: 0; }
.slide-dots button.active { background: var(--red); }

.gallery-section { background: var(--cream); }
.photo-slideshow { display: block; max-width: 1180px; outline: none; }
.photo-slideshow:focus-visible { box-shadow: 0 0 0 4px rgba(217,45,32,.28); }
.gallery-focus-card { min-width: 0; overflow: hidden; border: 1px solid #d8d0c7; border-radius: var(--radius); color: var(--ink); background: #fff; box-shadow: 0 18px 50px rgba(28,24,21,.14); }
.gallery-image-frame { position: relative; display: grid; place-items: center; height: min(62vw,700px); min-height: 460px; overflow: hidden; padding: clamp(20px,3vw,42px); background: #e8e1d9; }
.gallery-image-frame > img { width: auto; height: auto; min-width: 0; min-height: 0; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: calc(var(--radius) - 3px); transition: transform .2s ease, opacity .2s ease; transform: scale(1); }
.gallery-image-frame > img.is-exiting { opacity: .38; transform: scale(.955); }
.gallery-image-frame > img.is-entering { animation: gallery-focus-in .28s ease both; }
@keyframes gallery-focus-in { from { opacity: .35; transform: scale(.965); } to { opacity: 1; transform: scale(1); } }
.gallery-focus-footer { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: 24px clamp(26px,4vw,48px); background: #fff; }
.gallery-caption { color: var(--ink); }
.gallery-caption strong, .gallery-caption span { display: block; }
.gallery-caption strong { font-size: clamp(25px,3.1vw,42px); line-height: 1; letter-spacing: -.045em; }
.gallery-caption span { margin-top: 10px; color: var(--muted); font-size: 13px; }
.gallery-button { position: absolute; z-index: 2; top: 50%; width: 50px; height: 50px; transform: translateY(-50%); color: #fff; background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.75); border-radius: 50%; font-size: 21px; }
.gallery-button:hover { background: var(--red); border-color: var(--red); }
.gallery-prev { left: 22px; }
.gallery-next { right: 22px; }
.gallery-progress { flex: 0 0 auto; padding-bottom: 4px; color: #ff958c; font-size: 11px; font-weight: 850; letter-spacing: .14em; }
.gallery-trail { display: flex; width: calc(100vw - clamp(22px,6vw,90px)); min-width: 0; flex-direction: column; gap: 10px; margin-top: 22px; }
.gallery-trail > p { margin: 0; color: var(--red); font-size: 10px; font-weight: 850; letter-spacing: .14em; }
.gallery-thumbnails { display: grid; grid-auto-columns: clamp(190px,23vw,310px); grid-auto-flow: column; grid-template-rows: 175px; gap: 12px; overflow-x: auto; padding: 0 0 13px; scroll-snap-type: x proximity; scrollbar-color: var(--red) #d8d0c7; scrollbar-width: thin; }
.gallery-thumbnail { position: relative; min-height: 0; overflow: hidden; padding: 0; border: 1px solid #d6cec5; border-radius: 11px; background: #e8e1d9; scroll-snap-align: start; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.gallery-thumbnail:hover, .gallery-thumbnail:focus-visible { border-color: var(--red); transform: translateY(-4px); box-shadow: 7px 7px 0 rgba(217,45,32,.14); }
.gallery-thumbnail img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbnail span { position: absolute; right: 8px; bottom: 8px; display: grid; width: 27px; height: 27px; place-items: center; color: #fff; background: rgba(20,18,16,.76); border-radius: 50%; font-size: 9px; font-weight: 850; letter-spacing: .08em; }

.contact-section { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 10vw, 150px); color: #fff; background: var(--ink); }
.contact-section .eyebrow { color: #ff8f85; }
.contact-section h2 { margin-bottom: 22px; }
.contact-section > div > p:last-child { max-width: 600px; color: #bdb8b1; }
.contact-card { display: grid; gap: 0; font-style: normal; border-top: 1px solid #55504c; }
.contact-card div { padding: 21px 0; border-bottom: 1px solid #55504c; }
.contact-card span { display: block; margin-bottom: 7px; color: #918b85; font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .12em; }
.contact-card a, .contact-card p { margin: 0; color: #fff; font-size: 17px; line-height: 1.5; text-decoration: none; }
.contact-card a:hover { color: #ff8f85; }

footer { padding: 45px clamp(24px, 7vw, 108px); color: var(--muted); background: var(--paper); }
footer > img { width: 260px; mix-blend-mode: multiply; }
footer > p { max-width: 480px; margin: 20px 0 35px; line-height: 1.5; }
footer > div { padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); font-size: 11px; }
.footer-admin { color: var(--ink); background: none; border: 0; font-weight: 800; text-decoration: none; }

dialog { width: min(900px, calc(100% - 24px)); max-height: calc(100vh - 28px); padding: 30px; color: var(--ink); background: #fff; border: 0; border-radius: 10px; box-shadow: 0 30px 100px rgba(0,0,0,.32); }
dialog::backdrop { background: rgba(12,12,12,.68); backdrop-filter: blur(3px); }
.admin-dialog { width: min(480px, calc(100% - 24px)); }
.dialog-header { padding-bottom: 22px; margin-bottom: 24px; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; border-bottom: 1px solid var(--line); }
.dialog-close-form { margin: 0; }
.dialog-header h2 { margin-bottom: 8px; font-size: 32px; letter-spacing: -.045em; }
.dialog-header > div > p:last-child { margin: 0; color: var(--muted); font-size: 13px; }
.icon-button { padding: 0; color: var(--ink); background: transparent; border: 0; font-size: 32px; line-height: 1; }
fieldset { padding: 0; margin: 0 0 28px; border: 0; }
legend { width: 100%; padding-bottom: 10px; margin-bottom: 16px; color: var(--red); border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; }
label { display: grid; gap: 7px; color: #3c3935; font-size: 12px; font-weight: 750; }
input, select, textarea { width: 100%; padding: 11px 12px; color: var(--ink); background: #fff; border: 1px solid #bdb6ad; border-radius: 4px; font-size: 14px; font-weight: 400; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(217,45,32,.14); border-color: var(--red); }
.full-width { grid-column: 1/-1; }
.consent { margin: 6px 0 10px; display: flex; align-items: flex-start; gap: 9px; font-weight: 500; line-height: 1.45; }
.consent input { width: 17px; height: 17px; margin-top: 1px; flex: 0 0 auto; }
.form-note, .login-hint { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.turnstile-wrap { min-height: 95px; padding: 15px; display: grid; align-content: center; gap: 8px; background: #f4f1eb; border: 1px solid var(--line); border-radius: 6px; }
.primary-button:disabled, .secondary-button:disabled { opacity: .55; cursor: not-allowed; }
.document-checklist { padding: 16px 18px; margin: 0 0 18px; color: #5c322e; background: #faece9; border-left: 4px solid var(--red); }
.document-checklist strong { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.document-checklist p { margin: 7px 0 0; font-size: 12px; line-height: 1.5; }
.dialog-actions { margin-top: 22px; display: flex; justify-content: flex-end; gap: 10px; }
.login-form { display: grid; gap: 18px; }
.login-form .primary-button { justify-self: start; }
code { padding: 2px 5px; color: var(--red-dark); background: #f4e8e5; border-radius: 3px; }
.error-message { margin: 0; color: #b42318; font-size: 12px; }

.dashboard { min-height: 100vh; padding: 60px clamp(22px, 6vw, 95px); background: #f4f1eb; }
.admin-page { min-height: 100vh; background: #f4f1eb; }
.admin-topbar { position: static; min-height: 84px; padding: 13px clamp(22px, 6vw, 95px); display: flex; align-items: center; justify-content: space-between; gap: 24px; background: #fff; border-bottom: 1px solid var(--line); }
.admin-topbar img { width: 210px; height: 56px; object-fit: contain; object-position: left center; }
.admin-topbar > div { display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: 12px; }
.admin-status { margin-bottom: 18px; padding: 15px 17px; color: var(--ink); background: #fff; border-left: 4px solid var(--red); }
.admin-status.error { color: #8b1d14; background: #fff1ef; }
.dashboard-heading { margin-bottom: 34px; display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; }
.dashboard h1 { margin-bottom: 8px; font-size: clamp(38px, 5vw, 64px); letter-spacing: -.055em; }
.dashboard-heading > div > p:last-child { margin: 0; color: var(--muted); }
.dashboard-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.filters { padding: 20px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; background: #e8e2d9; border-radius: 7px 7px 0 0; }
.table-wrap { overflow: auto; background: #fff; border: 1px solid var(--line); border-top: 0; }
table { width: 100%; min-width: 980px; border-collapse: collapse; font-size: 12px; }
th { color: #59554f; background: #f7f5f1; text-align: left; text-transform: uppercase; letter-spacing: .08em; font-size: 10px; }
th, td { padding: 15px; border-bottom: 1px solid #ece8e1; vertical-align: top; }
tr:last-child td { border-bottom: 0; }
.empty-state { display: none; padding: 45px 25px; text-align: center; color: var(--muted); }
.empty-state.visible { display: block; }
.toast { position: fixed; z-index: 40; bottom: 24px; left: 50%; width: max-content; max-width: calc(100% - 36px); padding: 13px 17px; opacity: 0; transform: translate(-50%,24px); transition: .2s ease; color: #fff; background: var(--ink); border-radius: 5px; pointer-events: none; font-size: 13px; }
.toast.visible { opacity: 1; transform: translate(-50%,0); }

@media (max-width: 960px) {
  .menu-button { display: block; }
  nav { position: fixed; inset: 84px 0 0; padding: 34px 28px; display: none; align-items: stretch; flex-direction: column; gap: 10px; background: var(--paper); }
  nav.open { display: flex; }
  nav a, .admin-link { padding: 14px 0; text-align: left; font-size: 18px; }
  .admin-link { margin-top: 15px; padding: 14px; text-align: center; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-card { max-width: 600px; }
  .trust-strip { grid-template-columns: repeat(2,1fr); }
  .about-section { grid-template-columns: 90px 1fr; }
  .about-note { grid-column: 2; margin-top: 0; }
  .course-list article { grid-template-columns: 45px 1fr; }
  .course-list dl { grid-column: 2; }
}

@media (max-width: 1100px) {
  .courses-layout { grid-template-columns: 1fr; }
  .course-seat-chart { align-items: flex-start; padding: 42px 0 0; border-top: 1px solid var(--line); border-left: 0; }
}

@media (max-width: 680px) {
  .site-header { min-height: 72px; }
  .brand { width: 180px; }
  nav { top: 72px; }
  .hero { padding-top: 64px; }
  .hero h1 { font-size: clamp(52px, 16vw, 74px); }
  .hero-card { box-shadow: 10px 10px 0 var(--red); }
  .trust-strip { grid-template-columns: 1fr; }
  .section-heading, .about-section, .programme-grid, .contact-section, .filters, .form-grid { grid-template-columns: 1fr; }
  .section-label, .about-note { grid-column: 1; }
  .about-note { margin-top: 0; }
  .section-heading { gap: 20px; }
  .programme-card { min-height: 430px; }
  .course-list article { grid-template-columns: 34px 1fr; gap: 16px; }
  .course-list dl { grid-column: 1/-1; grid-template-columns: 1fr; gap: 10px; padding-left: 50px; }
  .slideshow { height: 125vw; min-height: 470px; }
  .slide-button { top: auto; bottom: 27px; transform: none; }
  .previous { left: 25px; }
  .next { left: 82px; right: auto; }
  .slide-dots { right: 22px; bottom: 31px; }
  .photo-slideshow { display: block; }
  .gallery-image-frame { height: min(105vw,560px); min-height: 390px; }
  .gallery-button { top: 50%; bottom: auto; transform: translateY(-50%); }
  .gallery-prev { left: 24px; }
  .gallery-next { left: auto; right: 24px; }
  .gallery-focus-footer { align-items: flex-start; flex-direction: column; gap: 14px; padding: 22px 24px; }
  .gallery-trail { width: calc(100vw - 22px); }
  .gallery-thumbnails { grid-auto-columns: minmax(155px,58vw); grid-template-rows: 132px; gap: 10px; padding-bottom: 10px; }
  .gallery-thumbnail:hover, .gallery-thumbnail:focus-visible { transform: translateY(-3px); }
  footer > div, .dashboard-heading { align-items: flex-start; flex-direction: column; }
  .admin-topbar, .admin-topbar > div { align-items: flex-start; flex-direction: column; }
  dialog { padding: 22px; }
  .dialog-actions { justify-content: stretch; }
  .dialog-actions button { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
