:root {
  --black: #050505;
  --white: #FFFFFF;
  --silver: #C4C4C4;
  --boulder: #7C7C7C;
  --tradewind: #53B4AB;
  --line-dark: rgba(5, 5, 5, .18);
  --line-light: rgba(255, 255, 255, .18);
  --pointer-x: 0px;
  --pointer-y: 0px;
}

/* Conventional cPanel build by Will Clarke */
[hidden] { display: none !important; }
.hero-carousel > .hero-image,
.feature-image-wrap > .feature-image,
.school-media figure > img,
.media-tile > img,
.lightbox-frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.brand-symbol,
.programme-badges img,
.modal-badges img,
.footer-symbol,
.footer-wrexham-logo { display: block; }
.form-step[hidden], .confirmation[hidden] { display: none !important; }
.form-message { margin: 18px 0 0; padding: 13px 15px; border-left: 3px solid var(--tradewind); background: rgba(83,180,171,.1); font-size: 13px; line-height: 1.5; }
.form-message.error { border-left-color: var(--black); background: rgba(5,5,5,.08); }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.static-site-note { max-width: 760px; margin: 0 auto; padding: 14px 20px; color: var(--silver); font-size: 12px; text-align: center; }
.programme-modal-shell[hidden], .lightbox[hidden] { display: none !important; }

@media (max-width: 700px) {
  .top-nav { scrollbar-width: thin; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--black); color: var(--black); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
::selection { color: var(--black); background: var(--tradewind); }

.screen-noise { position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .028; background-image: repeating-linear-gradient(0deg, transparent 0 3px, var(--white) 4px); mix-blend-mode: overlay; }
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .75s cubic-bezier(.2,.8,.2,1), transform .75s cubic-bezier(.2,.8,.2,1); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

.site-header { height: 112px; padding: 0 4.5vw; display: grid; grid-template-columns: 260px 1fr auto; align-items: center; gap: 32px; background: rgba(5,5,5,.94); color: var(--white); position: absolute; z-index: 20; top: 0; left: 0; right: 0; border-bottom: 1px solid var(--line-light); backdrop-filter: blur(12px); }
.brand { width: 230px; height: 180px; padding: 12px; display: block; overflow: hidden; position: absolute; left: 4.5vw; top: 12px; z-index: 2; background: var(--black); border: 1px solid rgba(83,180,171,.7); border-radius: 0 0 22px 22px; box-shadow: 0 18px 45px rgba(5,5,5,.42), 0 0 28px rgba(83,180,171,.12); }
.brand-logo { width: 100%; height: 100%; object-fit: contain; }
.university-mark { border-left: 1px solid var(--line-light); padding-left: 22px; display: flex; flex-direction: column; line-height: 1.15; justify-self: start; }
.university-mark span { color: var(--tradewind); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; }
.university-mark strong { color: var(--white); font-size: 14px; letter-spacing: .08em; margin-top: 5px; }
nav { display: flex; align-items: center; gap: 30px; font-size: 14px; }
nav > a:not(.nav-cta) { color: var(--silver); position: relative; }
nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: var(--tradewind); transition: right .25s ease; }
nav > a:hover { color: var(--tradewind); }
nav > a:hover::after { right: 0; }
.nav-cta { padding: 14px 17px; border: 1px solid rgba(255,255,255,.34); display: inline-flex; gap: 28px; align-items: center; transition: color .25s, border-color .25s, background .25s; }
.nav-cta:hover { background: var(--tradewind); border-color: var(--tradewind); color: var(--black); }

.hero { height: 880px; min-height: 720px; position: relative; color: var(--white); overflow: hidden; background: var(--black); }
.hero-image { object-fit: cover; object-position: center 56%; filter: grayscale(.15) saturate(.76) contrast(1.16); transform: scale(1.035) translate3d(var(--pointer-x), var(--pointer-y), 0); transition: transform .18s linear; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,5,5,.98) 0%, rgba(5,5,5,.87) 46%, rgba(5,5,5,.22) 82%), linear-gradient(0deg, rgba(5,5,5,.75), transparent 52%); }
.hero-grid { position: absolute; inset: 96px 0 0; background-image: linear-gradient(rgba(196,196,196,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(196,196,196,.045) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(90deg, var(--black), transparent 76%); }
.signal-sweep { position: absolute; width: 58vw; height: 58vw; right: -28vw; top: 9vw; border: 1px solid rgba(83,180,171,.35); border-radius: 50%; box-shadow: 0 0 0 8vw rgba(83,180,171,.035), 0 0 0 16vw rgba(83,180,171,.025); animation: signalPulse 5s ease-in-out infinite; }
.signal-sweep::before, .signal-sweep::after { content: ""; position: absolute; background: rgba(83,180,171,.3); }
.signal-sweep::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.signal-sweep::after { top: 50%; left: 0; right: 0; height: 1px; }
@keyframes signalPulse { 0%,100% { transform: scale(.96); opacity: .45; } 50% { transform: scale(1.04); opacity: 1; } }
.hero-content { position: absolute; left: 8vw; top: 51%; transform: translateY(-41%); max-width: 940px; }
.hero-content.is-visible { transform: translateY(-41%); }
.kicker { text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 700; display: flex; align-items: center; gap: 12px; }
.kicker span { width: 29px; height: 2px; background: var(--tradewind); display: inline-block; box-shadow: 0 0 10px rgba(83,180,171,.6); }
.hero h1 { font-size: clamp(70px, 8.4vw, 128px); line-height: .84; letter-spacing: -.065em; margin: 43px 0 34px; font-weight: 700; position: relative; }
.hero h1::after { content: attr(data-text); position: absolute; left: 3px; top: 0; color: var(--tradewind); opacity: .12; clip-path: inset(48% 0 43% 0); transform: translateX(-5px); animation: glitchLine 6s steps(1) infinite; pointer-events: none; }
@keyframes glitchLine { 0%,88%,100% { transform: translateX(-5px); opacity: 0; } 89% { transform: translateX(7px); opacity: .25; } 91% { transform: translateX(-2px); opacity: .14; } 93% { opacity: 0; } }
.hero h1 em { color: var(--tradewind); font-style: normal; text-shadow: 0 0 32px rgba(83,180,171,.18); }
.hero-copy { font-size: 18px; line-height: 1.6; max-width: 720px; color: var(--silver); }
.hero-copy strong { color: var(--white); }
.hero-actions { margin-top: 40px; display: flex; align-items: center; gap: 36px; }
.button { display: inline-flex; justify-content: space-between; align-items: center; min-width: 226px; padding: 17px 19px; font-weight: 700; font-size: 14px; position: relative; overflow: hidden; isolation: isolate; }
.button::before { content: ""; position: absolute; inset: 0; background: var(--white); transform: translateX(-102%); transition: transform .3s ease; z-index: -1; }
.button:hover::before { transform: translateX(0); }
.button span, .nav-cta span, .card-bottom a span { transition: transform .25s ease; }
.button:hover span, .nav-cta:hover span, .card-bottom a:hover span { transform: translate(3px, -2px); }
.button-primary { color: var(--black); background: var(--tradewind); }
.text-link { font-size: 14px; border-bottom: 1px solid rgba(255,255,255,.38); padding: 12px 0; display: flex; gap: 24px; color: var(--silver); }
.hero-note { position: absolute; right: 4.5vw; bottom: 42px; width: 300px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.35); display: grid; grid-template-columns: 75px 1fr; gap: 15px; }
.hero-note span { color: var(--tradewind); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.hero-note p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--silver); }

.statement { background: var(--white); padding: 105px 8vw 76px; }
.section-label { display: flex; align-items: center; justify-content: space-between; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 700; padding-bottom: 16px; border-bottom: 1px solid var(--line-dark); }
.section-label b { color: var(--tradewind); }
.statement-layout { display: grid; grid-template-columns: 1.18fr .82fr; gap: 10vw; padding: 70px 0 85px; }
.statement-layout h2, .experiences-heading h2, .feature-copy h2, .booking-heading h2, .schools-lead h2 { font-size: clamp(46px, 6vw, 86px); letter-spacing: -.055em; line-height: .96; margin: 0; }
.statement-layout h2 em { color: var(--tradewind); font-style: normal; }
.statement-layout > div { padding-top: 8px; }
.statement-layout p { font-size: 17px; line-height: 1.72; margin: 0 0 24px; color: var(--boulder); }
.wu-proof { margin-top: 38px; padding: 20px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); display: flex; flex-direction: column; gap: 7px; }
.wu-proof b { font-size: 13px; letter-spacing: .09em; }
.wu-proof span { font-size: 13px; color: var(--boulder); }
.audience-strip { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); min-height: 76px; text-transform: uppercase; font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.audience-strip i { width: 5px; height: 5px; border-radius: 50%; background: var(--tradewind); box-shadow: 0 0 11px rgba(83,180,171,.6); }

.experiences { background: var(--black); color: var(--white); padding: 95px 8vw 115px; position: relative; overflow: hidden; }
.experiences::before { content: ""; position: absolute; width: 42vw; height: 42vw; border: 1px solid rgba(83,180,171,.1); border-radius: 50%; right: -20vw; top: 8vw; box-shadow: 0 0 0 8vw rgba(83,180,171,.022), 0 0 0 16vw rgba(83,180,171,.014); }
.section-label.light { border-color: var(--line-light); color: var(--boulder); }
.section-label.light b { color: var(--tradewind); }
.experiences-heading { display: flex; justify-content: space-between; align-items: flex-end; padding: 64px 0; position: relative; }
.experiences-heading p { max-width: 430px; margin: 0 0 5px; color: var(--silver); font-size: 15px; line-height: 1.72; }
.programme-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); position: relative; perspective: 1200px; }
.programme-card { --mx: 50%; --my: 50%; min-height: 570px; padding: 30px; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); display: flex; flex-direction: column; position: relative; overflow: hidden; transition: border-color .28s, transform .28s, background .28s; background: radial-gradient(circle at var(--mx) var(--my), rgba(83,180,171,.13), transparent 32%); }
.programme-card:hover { border-color: rgba(83,180,171,.65); transform: translateY(-7px); background-color: rgba(83,180,171,.05); }
.card-scan { position: absolute; left: 0; right: 0; height: 1px; top: -1px; background: var(--tradewind); box-shadow: 0 0 15px var(--tradewind); opacity: 0; }
.programme-card:hover .card-scan { opacity: .65; animation: cardScan 1.6s linear infinite; }
@keyframes cardScan { from { transform: translateY(0); } to { transform: translateY(570px); } }
.card-top { display: flex; justify-content: space-between; text-transform: uppercase; font-size: 12px; letter-spacing: .12em; color: var(--boulder); }
.card-top b { color: var(--tradewind); }
.programme-card h3 { font-size: 32px; line-height: 1.08; letter-spacing: -.035em; margin: 65px 0 27px; max-width: 330px; }
.card-meta { display: flex; flex-wrap: wrap; gap: 7px; }
.card-meta span { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; padding: 8px 10px; border: 1px solid rgba(255,255,255,.22); color: var(--silver); }
.programme-card > p { font-size: 15px; line-height: 1.72; color: var(--silver); margin: 27px 0 19px; }
.programme-card ul { list-style: none; padding: 0; margin: 0; }
.programme-card li { font-size: 13px; color: var(--silver); margin: 10px 0; }
.programme-card li::before { content: "+"; color: var(--tradewind); margin-right: 9px; }
.card-bottom { margin-top: auto; border-top: 1px solid var(--line-light); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; }
.card-bottom strong { font-size: 13px; }
.card-bottom a { color: var(--tradewind); font-size: 13px; display: flex; gap: 22px; }

.feature-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 680px; background: var(--white); }
.feature-image-wrap { position: relative; min-height: 610px; overflow: hidden; }
.feature-image { object-fit: cover; filter: grayscale(.25) saturate(.7) contrast(1.08); transition: transform .8s cubic-bezier(.2,.8,.2,1), filter .8s; }
.feature-image-wrap:hover .feature-image { transform: scale(1.035); filter: grayscale(0) saturate(.88) contrast(1.06); }
.image-caption { position: absolute; bottom: 25px; left: 28px; background: rgba(5,5,5,.92); color: var(--white); padding: 12px 15px; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; }
.target-reticle { position: absolute; width: 190px; height: 190px; border: 1px solid rgba(83,180,171,.5); border-radius: 50%; right: 10%; top: 12%; animation: rotateReticle 14s linear infinite; }
.target-reticle::before { content: ""; position: absolute; inset: 18px; border: 1px dashed rgba(83,180,171,.35); border-radius: 50%; }
.target-reticle span:first-child { position: absolute; left: 50%; top: -18px; bottom: -18px; width: 1px; background: rgba(83,180,171,.35); }
.target-reticle span:last-child { position: absolute; top: 50%; left: -18px; right: -18px; height: 1px; background: rgba(83,180,171,.35); }
@keyframes rotateReticle { to { transform: rotate(360deg); } }
.feature-copy { padding: 90px 8vw 75px 7vw; background: var(--tradewind); }
.kicker.dark span { background: var(--black); box-shadow: none; }
.feature-copy h2 { margin: 62px 0 38px; }
.feature-copy > p:not(.kicker) { max-width: 510px; font-size: 17px; line-height: 1.7; }

.booking-section { background: var(--black); color: var(--white); padding: 115px 8vw 125px; display: grid; grid-template-columns: .78fr 1.22fr; gap: 7vw; align-items: start; }
.booking-heading { position: sticky; top: 40px; }
.booking-heading h2 { margin: 50px 0 33px; }
.booking-heading > p:not(.kicker) { max-width: 480px; color: var(--silver); line-height: 1.75; }
.booking-trust { margin-top: 46px; display: grid; grid-template-columns: 38px 1fr; gap: 0 15px; border-top: 1px solid var(--line-light); }
.booking-trust span, .booking-trust p { padding: 14px 0; margin: 0; border-bottom: 1px solid var(--line-light); }
.booking-trust span { color: var(--tradewind); font-size: 12px; letter-spacing: .1em; }
.booking-trust p { color: var(--silver); font-size: 13px; }
.booking-form { background: var(--white); color: var(--black); min-height: 680px; padding: 36px 40px 40px; border: 1px solid rgba(196,196,196,.62); border-radius: 30px; box-shadow: 0 28px 80px rgba(5,5,5,.38), 0 0 0 8px rgba(83,180,171,.08); overflow: hidden; }
.form-progress { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; color: var(--boulder); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.form-progress span { display: flex; flex-direction: column; gap: 6px; position: relative; padding: 13px 15px; border-radius: 14px; background: rgba(196,196,196,.18); border: 1px solid transparent; }
.form-progress span::after { content: ""; position: absolute; left: 15px; right: 15px; height: 3px; bottom: 8px; background: transparent; border-radius: 99px; }
.form-progress span.active { color: var(--black); }
.form-progress span.active { border-color: rgba(83,180,171,.48); background: rgba(83,180,171,.12); }
.form-progress span.active::after { background: var(--tradewind); box-shadow: 0 0 8px rgba(83,180,171,.5); }
.form-progress i { font-style: normal; letter-spacing: .02em; font-weight: 400; }
.form-step { border: 0; padding: 48px 0 0; margin: 0; }
.form-step legend { font-size: 32px; font-weight: 700; letter-spacing: -.035em; }
.form-step > p { color: var(--boulder); font-size: 15px; line-height: 1.65; margin: 10px 0 30px; }
.choice-list { display: grid; gap: 10px; }
.choice-list label { display: grid; grid-template-columns: 42px 1fr 24px; align-items: center; gap: 16px; min-height: 70px; border: 1px solid rgba(196,196,196,.78); border-radius: 14px; cursor: pointer; padding: 10px 14px; transition: background .2s, border-color .2s, transform .2s; }
.choice-list label:hover, .choice-list label.selected { background: rgba(83,180,171,.15); border-color: var(--tradewind); transform: translateX(3px); }
.choice-list input { position: absolute; opacity: 0; pointer-events: none; }
.choice-list b { color: var(--tradewind); font-size: 13px; }
.choice-list span { font-size: 14px; font-weight: 700; }
.choice-list i { font-style: normal; }
.form-next { border: 0; border-radius: 12px; background: var(--tradewind); color: var(--black); padding: 16px 18px; min-width: 210px; display: flex; justify-content: space-between; gap: 22px; font-size: 14px; font-weight: 700; cursor: pointer; margin: 30px 0 0 auto; transition: background .2s, color .2s, transform .2s; }
.form-next:hover { background: var(--black); color: var(--white); }
.form-next:disabled { opacity: .45; cursor: not-allowed; }
.form-controls { display: flex; align-items: center; justify-content: space-between; margin-top: 30px; }
.form-controls > button:not(.form-next), .confirmation > button { border: 0; background: transparent; padding: 14px 0; cursor: pointer; font-size: 13px; font-weight: 700; }
.form-controls .form-next { margin: 0; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 23px 20px; }
.field-grid label { display: flex; flex-direction: column; gap: 9px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.field-grid small { text-transform: none; letter-spacing: 0; color: var(--boulder); font-weight: 400; }
.field-grid input, .field-grid select, .field-grid textarea { width: 100%; background: var(--white); border: 1px solid var(--silver); border-radius: 11px; color: var(--black); padding: 14px; min-height: 50px; outline: none; text-transform: none; letter-spacing: 0; font-size: 14px; transition: border-color .2s, box-shadow .2s; }
.field-grid input:focus, .field-grid select:focus, .field-grid textarea:focus { border-color: var(--tradewind); box-shadow: 0 0 0 3px rgba(83,180,171,.18); }
.field-grid .full { grid-column: 1 / -1; }
.consent { display: flex; align-items: flex-start; gap: 12px; margin-top: 23px; font-size: 13px; line-height: 1.5; color: var(--boulder); }
.consent input { margin-top: 2px; accent-color: var(--tradewind); }
.form-error { color: var(--black); border-left: 3px solid var(--tradewind); padding-left: 12px; font-size: 13px; font-weight: 700; }
.confirmation { min-height: 570px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; max-width: 570px; margin: auto; }
.confirm-icon { width: 62px; height: 62px; border-radius: 50%; background: var(--tradewind); display: grid; place-items: center; font-size: 28px; margin-bottom: 32px; }
.confirmation h3 { font-size: 48px; letter-spacing: -.045em; margin: 24px 0 18px; }
.confirmation > p:not(.kicker) { color: var(--boulder); line-height: 1.7; }
.confirmation > div { margin: 24px 0; padding: 18px 20px; border-left: 3px solid var(--tradewind); background: rgba(196,196,196,.2); display: flex; flex-direction: column; gap: 7px; min-width: 280px; }
.confirmation > div small { text-transform: uppercase; letter-spacing: .1em; color: var(--boulder); }
.confirmation > div strong { font-size: 21px; }
.payment-note { font-size: 13px; border-top: 1px solid var(--line-dark); padding-top: 18px; }
.university-payment-link { width: 100%; margin: 16px 0 4px; padding: 16px 18px; border-radius: 12px; background: var(--tradewind); color: var(--black); font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: space-between; transition: background .2s, color .2s; }
.university-payment-link:hover { background: var(--black); color: var(--white); }

.calendar-picker { border: 1px solid rgba(196,196,196,.86); border-radius: 22px; padding: 18px; background: rgba(196,196,196,.13); box-shadow: inset 0 1px 0 var(--white); }
.calendar-header { display: grid; grid-template-columns: 42px 1fr 42px; align-items: center; gap: 12px; margin-bottom: 17px; }
.calendar-header strong { text-align: center; font-size: 20px; letter-spacing: -.02em; }
.calendar-header button { width: 42px; height: 42px; border: 1px solid var(--silver); border-radius: 50%; background: var(--white); color: var(--black); cursor: pointer; font-size: 18px; transition: background .2s, border-color .2s; }
.calendar-header button:hover:not(:disabled) { background: var(--tradewind); border-color: var(--tradewind); }
.calendar-header button:disabled { opacity: .32; cursor: not-allowed; }
.calendar-weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; }
.calendar-weekdays { margin-bottom: 7px; }
.calendar-weekdays span { text-align: center; color: var(--boulder); font-size: 12px; font-weight: 700; }
.calendar-grid button { aspect-ratio: 1; min-width: 0; border: 1px solid rgba(83,180,171,.42); border-radius: 12px; background: rgba(83,180,171,.10); color: var(--black); cursor: pointer; font-size: 14px; font-weight: 700; transition: transform .18s, background .18s, border-color .18s, box-shadow .18s; }
.calendar-grid button:hover:not(:disabled) { transform: translateY(-2px); border-color: var(--tradewind); box-shadow: 0 5px 14px rgba(83,180,171,.18); }
.calendar-grid button.selected { background: var(--tradewind); border-color: var(--tradewind); box-shadow: 0 0 0 3px rgba(83,180,171,.22); }
.calendar-grid button:disabled { border-color: rgba(196,196,196,.5); background: transparent; color: var(--silver); cursor: not-allowed; }
.calendar-grid button.outside { opacity: 0; }
.calendar-grid button.unavailable { opacity: .52; background: repeating-linear-gradient(135deg, rgba(124,124,124,.08) 0 4px, transparent 4px 8px); }
.calendar-picker[aria-busy="true"] .calendar-grid { opacity: .5; pointer-events: none; }
.calendar-live-status { min-height: 22px; margin-top: 12px; color: var(--boulder); font-size: 13px; font-weight: 650; }
.calendar-live-status.ready { color: #246f69; }
.calendar-live-status.error { color: #8a2525; }
.calendar-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid rgba(196,196,196,.68); margin-top: 16px; padding-top: 14px; }
.calendar-footer > span { color: var(--boulder); font-size: 12px; display: flex; align-items: center; gap: 8px; }
.calendar-footer i { width: 10px; height: 10px; border-radius: 50%; background: var(--tradewind); }
.calendar-footer strong { font-size: 13px; text-align: right; }
.booking-details { margin-top: 24px; }

.schools { background: var(--black); color: var(--white); padding: 105px 8vw 115px; border-top: 1px solid var(--line-light); }
.schools-lead { display: grid; grid-template-columns: 1.05fr .95fr; gap: 9vw; align-items: end; padding: 65px 0; }
.schools-lead > div { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.schools-lead p { color: var(--silver); line-height: 1.75; max-width: 530px; margin: 0; }
.free-tag { background: var(--tradewind); color: var(--black); padding: 10px 13px; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 700; }
.school-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); }
.school-card { --mx: 50%; --my: 50%; min-height: 360px; padding: 30px; background: radial-gradient(circle at var(--mx) var(--my), rgba(83,180,171,.14), transparent 30%), var(--black); transition: transform .28s, background .28s; }
.school-card:hover { transform: translateY(-6px); }
.school-card > div { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; letter-spacing: .11em; color: var(--tradewind); }
.school-card h3 { font-size: 29px; line-height: 1.08; letter-spacing: -.035em; margin: 76px 0 25px; }
.school-card p { color: var(--silver); font-size: 15px; line-height: 1.72; }
.schools-action { margin-top: 45px; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); padding: 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.schools-action > div { display: flex; flex-direction: column; gap: 6px; }
.schools-action strong { font-size: 14px; }
.schools-action span { color: var(--silver); font-size: 13px; }

footer { background: var(--black); color: var(--white); min-height: 300px; padding: 48px 4.5vw; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 30px; border-top: 1px solid var(--line-light); }
footer > div { font-size: 13px; color: var(--silver); line-height: 1.8; }
footer > div { display: flex; flex-direction: column; justify-self: center; }
.footer-cia-logo { width: 250px; height: 200px; object-fit: contain; justify-self: start; }
.footer-wrexham-logo { width: 270px; height: 180px; object-fit: contain; justify-self: end; }

@media (max-width: 1080px) {
  .site-header { grid-template-columns: 245px 1fr; }
  .university-mark { display: none; }
}

@media (max-width: 900px) {
  nav > a:not(.nav-cta) { display: none; }
  .site-header { padding: 0 22px; }
  .hero-content { left: 7vw; right: 7vw; }
  .hero-note { display: none; }
  .statement-layout, .booking-section, .schools-lead { grid-template-columns: 1fr; gap: 48px; }
  .booking-heading { position: static; }
  .programme-grid, .school-grid { grid-template-columns: 1fr; }
  .programme-card { min-height: 510px; }
  .school-card { min-height: 300px; }
  .school-card h3 { margin-top: 55px; }
  .experiences-heading { align-items: flex-start; flex-direction: column; gap: 30px; }
  .feature-split { grid-template-columns: 1fr; }
  .feature-image-wrap { min-height: 520px; }
}

@media (max-width: 600px) {
  .site-header { height: 92px; grid-template-columns: 145px 1fr; padding: 0 16px; }
  .brand { width: 138px; height: 112px; left: 16px; top: 9px; padding: 7px; border-radius: 0 0 14px 14px; }
  .nav-cta { gap: 8px; padding: 11px; font-size: 12px; }
  .hero { height: 820px; }
  .hero h1 { font-size: 60px; }
  .hero-content { transform: translateY(-38%); }
  .hero-content.is-visible { transform: translateY(-38%); }
  .hero-copy { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 12px; }
  .statement, .experiences, .feature-copy, .booking-section, .schools { padding-left: 24px; padding-right: 24px; }
  .statement { padding-top: 76px; }
  .statement-layout { padding: 48px 0 60px; }
  .audience-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 25px 0; }
  .audience-strip i { display: none; }
  .programme-card, .school-card { padding: 25px; }
  .feature-copy { padding-top: 72px; }
  .booking-form { padding: 26px 18px; min-height: 650px; border-radius: 22px; box-shadow: 0 20px 55px rgba(5,5,5,.38), 0 0 0 5px rgba(83,180,171,.08); }
  .form-progress i { display: none; }
  .form-progress span { padding: 11px 8px; text-align: center; }
  .field-grid { grid-template-columns: 1fr; }
  .field-grid .full { grid-column: auto; }
  .calendar-picker { padding: 13px 10px; border-radius: 18px; }
  .calendar-weekdays, .calendar-grid { gap: 4px; }
  .calendar-grid button { border-radius: 9px; font-size: 13px; }
  .calendar-footer { align-items: flex-start; flex-direction: column; gap: 7px; }
  .calendar-footer strong { text-align: left; }
  .form-controls { gap: 20px; }
  .form-next { min-width: 170px; }
  .confirmation h3 { font-size: 39px; }
  .schools-action { flex-direction: column; align-items: flex-start; }
  footer { grid-template-columns: 1fr; gap: 28px; }
  .footer-cia-logo, .footer-wrexham-logo { justify-self: start; }
  .footer-cia-logo { width: 220px; height: 170px; }
  .footer-wrexham-logo { width: 230px; height: 150px; }
  footer > div { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-content.is-visible { transform: translateY(-41%); }
}

/* CIA experience update by Will Clarke */
body.modal-open { overflow: hidden; }

.site-header { height: 104px; grid-template-columns: minmax(310px, 390px) 1fr; gap: 24px; position: fixed; z-index: 80; }
.brand-lockup { display: flex; align-items: center; gap: 13px; min-width: 0; justify-self: start; }
.brand-symbol { width: 88px; height: 76px; object-fit: contain; flex: 0 0 auto; }
.brand-words { min-width: 0; display: flex; flex-direction: column; line-height: 1.08; }
.brand-words small { color: var(--silver); font-size: 12px; margin-bottom: 5px; }
.brand-words strong { color: var(--white); font-size: 17px; letter-spacing: -.015em; white-space: nowrap; }
.brand-words i { color: var(--tradewind); font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .13em; margin-top: 7px; }
.top-nav { justify-self: end; justify-content: flex-end; gap: clamp(13px, 1.45vw, 26px); font-size: 12px; white-space: nowrap; }
.top-nav > a, .industry-menu > a { color: var(--silver); position: relative; transition: color .2s; }
.top-nav > a:not(.nav-cta)::after, .industry-menu > a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -9px; height: 1px; background: var(--tradewind); transition: right .25s; }
.top-nav > a:hover, .industry-menu:hover > a { color: var(--tradewind); }
.top-nav > a:hover::after, .industry-menu:hover > a::after { right: 0; }
.top-nav .nav-muted { color: var(--boulder); font-size: 11px; }
.top-nav .nav-cta { color: var(--black); background: var(--tradewind); border-color: var(--tradewind); padding: 13px 15px; gap: 16px; }
.top-nav .nav-cta:hover { color: var(--white); background: var(--black); }
.industry-menu { position: relative; padding: 25px 0; }
.industry-preview { width: 345px; position: absolute; left: -20px; top: 68px; padding: 10px; background: rgba(5,5,5,.98); border: 1px solid rgba(83,180,171,.48); box-shadow: 0 24px 60px rgba(5,5,5,.58), 0 0 24px rgba(83,180,171,.12); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .22s, transform .22s, visibility .22s; }
.industry-menu:hover .industry-preview, .industry-menu:focus-within .industry-preview { opacity: 1; visibility: visible; transform: translateY(0); }
.industry-preview > a { min-height: 64px; display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 13px; padding: 9px 10px; border-bottom: 1px solid var(--line-light); transition: background .2s; }
.industry-preview > a:last-child { border-bottom: 0; }
.industry-preview > a:hover { background: rgba(83,180,171,.1); }
.industry-preview img { object-fit: contain; max-height: 42px; }
.industry-preview span { display: flex; flex-direction: column; white-space: normal; }
.industry-preview strong { font-size: 12px; color: var(--white); }
.industry-preview small { font-size: 11px; color: var(--boulder); margin-top: 4px; }
.industry-preview .mini-badges { flex-direction: row; align-items: center; gap: 3px; }

.hero { height: 930px; }
.hero-carousel { position: absolute; inset: 0; }
.hero-image { object-position: center 18%; opacity: 0; filter: grayscale(.12) saturate(.84) contrast(1.12); transform: scale(1.04) translate3d(var(--pointer-x), var(--pointer-y), 0); transition: opacity 1.25s ease, transform .18s linear; }
.hero-image.active { opacity: 1; }
.hero-dots { position: absolute; right: 4.5vw; top: 137px; z-index: 3; display: flex; gap: 8px; }
.hero-dots button { width: 28px; height: 4px; padding: 0; border: 0; background: rgba(255,255,255,.35); cursor: pointer; transition: width .25s, background .25s; }
.hero-dots button.active { width: 52px; background: var(--tradewind); box-shadow: 0 0 11px rgba(83,180,171,.55); }
.hero-content { max-width: 1050px; }
.hero h1 { font-size: clamp(61px, 7vw, 110px); line-height: .89; }
.hero h1 em { white-space: nowrap; }

.scroll-nav { width: 205px; position: fixed; z-index: 65; top: 138px; right: 18px; padding: 13px; display: flex; flex-direction: column; align-items: stretch; gap: 3px; background: rgba(5,5,5,.9); border: 1px solid rgba(255,255,255,.15); backdrop-filter: blur(14px); opacity: 0; visibility: hidden; transform: translateX(25px); transition: opacity .3s, transform .3s, visibility .3s; box-shadow: 0 18px 45px rgba(5,5,5,.34); }
.scroll-nav.visible { opacity: 1; visibility: visible; transform: translateX(0); }
.scroll-nav-label { color: var(--tradewind); padding: 8px 11px 10px; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid var(--line-light); }
.scroll-nav a { display: grid; grid-template-columns: 7px 1fr; align-items: center; gap: 9px; padding: 9px 10px; color: var(--boulder); font-size: 11px; line-height: 1.2; transition: color .2s, background .2s, padding .2s; }
.scroll-nav a i { width: 5px; height: 5px; border: 1px solid var(--boulder); border-radius: 50%; }
.scroll-nav a:hover, .scroll-nav a.active { color: var(--white); background: rgba(83,180,171,.1); padding-left: 14px; }
.scroll-nav a.active i { border-color: var(--tradewind); background: var(--tradewind); box-shadow: 0 0 9px var(--tradewind); }
.scroll-nav a.muted { opacity: .66; }
.scroll-nav a.reserve { color: var(--tradewind); margin-top: 4px; border-top: 1px solid var(--line-light); }

.programme-card { min-height: 650px; }
.programme-badges { height: 86px; display: flex; align-items: center; gap: 7px; margin: 27px 0 0; }
.programme-badges img { width: 92px; height: 82px; object-fit: contain; }
.programme-badges.multiple img { width: 67px; height: 67px; }
.programme-card h3 { margin: 28px 0 22px; }
.card-bottom { gap: 12px; }
.card-bottom strong { max-width: 56%; line-height: 1.35; }
.read-more { min-width: 128px; padding: 12px 13px; border: 1px solid var(--tradewind); background: transparent; color: var(--tradewind); font-size: 12px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 15px; position: relative; overflow: hidden; animation: readMorePulse 2.4s ease-in-out infinite; }
.read-more::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.22) 48%, transparent 70%); transform: translateX(-130%); animation: buttonScan 3s ease-in-out infinite; }
.read-more:hover { background: var(--tradewind); color: var(--black); }
@keyframes readMorePulse { 0%,100% { box-shadow: 0 0 0 rgba(83,180,171,0); } 50% { box-shadow: 0 0 18px rgba(83,180,171,.28); } }
@keyframes buttonScan { 0%,50% { transform: translateX(-130%); } 80%,100% { transform: translateX(130%); } }

.programme-modal-shell { position: fixed; z-index: 200; inset: 0; padding: 28px; display: grid; place-items: center; background: rgba(5,5,5,.84); backdrop-filter: blur(12px); animation: modalFade .25s ease both; }
.programme-modal { width: min(1040px, 96vw); max-height: 92vh; position: relative; overflow: auto; color: var(--white); background: var(--black); border: 1px solid rgba(83,180,171,.65); box-shadow: 0 0 80px rgba(83,180,171,.2), 0 30px 100px rgba(5,5,5,.72); animation: modalEnter .48s cubic-bezier(.18,.9,.28,1.08) both; }
.modal-grid, .lightbox-grid { position: absolute; inset: 0; pointer-events: none; opacity: .24; background-image: linear-gradient(rgba(83,180,171,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(83,180,171,.1) 1px, transparent 1px); background-size: 38px 38px; mask-image: linear-gradient(var(--black), transparent 60%); }
@keyframes modalFade { from { opacity: 0; } }
@keyframes modalEnter { from { opacity: 0; transform: translateY(35px) scale(.97); clip-path: inset(0 50% 0 50%); } to { opacity: 1; transform: none; clip-path: inset(0); } }
.modal-close { position: sticky; float: right; top: 20px; right: 20px; z-index: 4; width: 46px; height: 46px; margin: 18px 18px -64px 0; border: 1px solid var(--tradewind); background: var(--black); color: var(--white); font-size: 28px; cursor: pointer; }
.modal-close:hover { background: var(--tradewind); color: var(--black); }
.modal-status { display: flex; justify-content: space-between; padding: 22px 84px 22px 34px; border-bottom: 1px solid var(--line-light); color: var(--boulder); font-size: 11px; letter-spacing: .13em; }
.modal-status i { color: var(--tradewind); font-style: normal; }
.programme-modal > header { position: relative; padding: 48px 36px 35px; border-bottom: 1px solid var(--line-light); }
.programme-modal > header > p { color: var(--tradewind); text-transform: uppercase; letter-spacing: .13em; font-size: 11px; }
.programme-modal h2 { max-width: 750px; margin: 13px 0 28px; font-size: clamp(38px, 5vw, 68px); line-height: .95; letter-spacing: -.05em; }
.modal-badges { min-height: 90px; display: flex; gap: 9px; align-items: center; margin-bottom: 17px; }
.modal-badges img { width: 98px; height: 90px; object-fit: contain; }
.modal-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); }
.modal-facts span { padding: 15px; display: flex; flex-direction: column; gap: 6px; background: var(--black); font-size: 13px; }
.modal-facts small { color: var(--boulder); text-transform: uppercase; letter-spacing: .1em; font-size: 10px; }
.modal-body { position: relative; padding: 38px 36px 18px; }
.modal-intro { max-width: 830px; margin: 0 0 38px; color: var(--silver); font-size: 18px; line-height: 1.72; }
.modal-body section { padding: 28px 0; border-top: 1px solid var(--line-light); }
.modal-body h3 { margin: 0 0 13px; color: var(--white); font-size: 21px; }
.modal-body p, .modal-body li { color: var(--silver); font-size: 14px; line-height: 1.7; }
.modal-body ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 26px; }
.modal-body li::before { content: "+"; color: var(--tradewind); margin-right: 9px; }
.modal-body .ideal-for { border-left: 3px solid var(--tradewind); padding: 23px 25px; background: rgba(83,180,171,.08); }
.modal-body .partner-panel { padding: 30px 28px; background: var(--tradewind); color: var(--black); }
.modal-body .partner-panel h3, .modal-body .partner-panel p, .modal-body .partner-panel li { color: var(--black); }
.modal-body .partner-panel li::before { color: var(--black); }
.modal-footer { min-height: auto; padding: 24px 36px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line-light); }
.modal-footer a { min-width: 210px; padding: 15px 17px; background: var(--tradewind); color: var(--black); font-size: 13px; font-weight: 700; display: flex; justify-content: space-between; }
.modal-footer button { border: 0; background: transparent; color: var(--silver); cursor: pointer; font-size: 12px; }

.booking-trust { grid-template-columns: 1fr; gap: 0; }
.booking-trust p { display: flex; align-items: center; gap: 11px; }
.booking-trust p i { width: 7px; height: 7px; border-radius: 50%; background: var(--tradewind); box-shadow: 0 0 9px rgba(83,180,171,.55); }
.choice-list label { grid-template-columns: 1fr 24px; }
.booking-brief { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; color: var(--black); font-size: 15px; font-weight: 700; }
.booking-brief span { color: var(--black); }
.booking-brief textarea { width: 100%; border: 1px solid var(--tradewind); border-radius: 14px; padding: 15px; outline: 0; line-height: 1.55; resize: vertical; }
.booking-brief textarea:focus { box-shadow: 0 0 0 3px rgba(83,180,171,.18); }
.booking-location { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 5px; padding: 16px 18px; border: 1px solid rgba(83,180,171,.55); border-radius: 13px; background: rgba(83,180,171,.1); }
.booking-location span { color: var(--boulder); text-transform: uppercase; letter-spacing: .1em; font-size: 10px; font-weight: 700; }
.booking-location strong { font-size: 14px; }
.booking-location small { color: var(--boulder); font-size: 12px; }

.schools-subtitle { color: var(--tradewind) !important; font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.school-media { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 32px; }
.school-media figure { height: 340px; position: relative; margin: 0; overflow: hidden; border: 1px solid var(--line-light); }
.school-media figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 62%, rgba(83,180,171,.18)); pointer-events: none; }
.school-media img { object-fit: cover; transition: transform .7s; }
.school-media figure:hover img { transform: scale(1.035); }

.footer-brand { display: flex; flex-direction: row !important; justify-self: start !important; align-items: center; gap: 14px; }
.footer-symbol { width: 140px; height: 120px; object-fit: contain; }
.footer-brand span { display: flex; flex-direction: column; line-height: 1.2; }
.footer-brand strong { color: var(--white); font-size: 16px; }
.footer-brand small { color: var(--silver); font-size: 12px; margin-top: 5px; }

.subpage { min-height: 100vh; color: var(--white); background: var(--black); }
.subpage-hero { min-height: 590px; padding: 190px 8vw 85px; display: flex; align-items: flex-end; position: relative; overflow: hidden; border-bottom: 1px solid var(--line-light); background: radial-gradient(circle at 82% 22%, rgba(83,180,171,.18), transparent 27%), var(--black); }
.subpage-hero::after { content: ""; position: absolute; width: 46vw; height: 46vw; right: -14vw; top: -15vw; border: 1px solid rgba(83,180,171,.32); border-radius: 50%; box-shadow: 0 0 0 7vw rgba(83,180,171,.025), 0 0 0 14vw rgba(83,180,171,.018); }
.subpage-hero > div:first-child { position: relative; z-index: 2; }
.subpage-hero h1 { margin: 33px 0 22px; font-size: clamp(74px, 11vw, 160px); line-height: .8; letter-spacing: -.07em; }
.subpage-hero > div > p:last-child { max-width: 650px; color: var(--silver); font-size: 18px; line-height: 1.65; }
.location-content { padding: 90px 8vw 110px; display: grid; grid-template-columns: .35fr .65fr; gap: 6vw; align-items: center; background: var(--white); color: var(--black); }
.location-address > span { color: var(--tradewind); font-size: 11px; font-weight: 700; letter-spacing: .13em; }
.location-address h2 { margin: 22px 0; font-size: clamp(42px, 5vw, 70px); line-height: .95; letter-spacing: -.05em; }
.location-address p { color: var(--boulder); font-size: 18px; line-height: 1.75; margin-bottom: 34px; }
.campus-map { display: block; position: relative; overflow: hidden; border: 1px solid var(--silver); box-shadow: 16px 16px 0 rgba(83,180,171,.22); }
.campus-map img { display: block; width: 100%; height: auto; transition: transform .6s, filter .6s; }
.campus-map:hover img { transform: scale(1.02); filter: brightness(.82); }
.campus-map > span { position: absolute; left: 22px; bottom: 20px; padding: 13px 15px; display: flex; gap: 22px; background: var(--tradewind); color: var(--black); font-size: 12px; font-weight: 700; transform: translateY(70px); transition: transform .3s; }
.campus-map:hover > span, .campus-map:focus > span { transform: translateY(0); }
.arrival-note { padding: 100px 8vw; background: var(--tradewind); color: var(--black); display: grid; grid-template-columns: .55fr .85fr .7fr; gap: 6vw; align-items: center; }
.arrival-note h2 { margin: 0; font-size: clamp(48px, 6vw, 82px); line-height: .95; letter-spacing: -.05em; }
.arrival-note > p:last-child { font-size: 17px; line-height: 1.7; }

.gallery-content { padding: 90px 8vw 120px; }
.gallery-orbit { position: absolute; width: 330px; height: 330px; right: 13vw; bottom: 52px; border: 1px solid rgba(83,180,171,.42); border-radius: 50%; animation: rotateReticle 14s linear infinite; }
.gallery-orbit span { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--tradewind); box-shadow: 0 0 20px var(--tradewind); }
.gallery-orbit span:first-child { left: 50%; top: -6px; }.gallery-orbit span:nth-child(2) { right: 7%; bottom: 15%; }.gallery-orbit span:last-child { left: -6px; top: 50%; }
.media-grid { display: grid; grid-template-columns: 1.35fr .65fr; grid-template-rows: 310px 310px 310px; gap: 16px; margin-top: 46px; }
.media-tile { min-width: 0; position: relative; overflow: hidden; border: 1px solid var(--line-light); padding: 0; background: var(--black); cursor: pointer; color: var(--white); text-align: left; }
.media-tile-1 { grid-row: span 2; }.media-tile-4 { grid-column: 1 / -1; }
.media-tile img { object-fit: cover; filter: grayscale(.35) saturate(.8) contrast(1.08); transition: transform .7s, filter .7s; }
.media-tile:hover img { transform: scale(1.045); filter: grayscale(0) saturate(.9); }
.media-tile > span { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 18px; display: flex; justify-content: space-between; align-items: center; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.46); }
.media-tile > span i { color: var(--tradewind); font-size: 10px; font-style: normal; letter-spacing: .13em; }.media-tile > span b { font-size: 12px; }
.media-tile > em { position: absolute; inset: -100% 0 auto; height: 2px; background: var(--tradewind); box-shadow: 0 0 16px var(--tradewind); opacity: 0; }
.media-tile:hover > em { opacity: .7; animation: galleryScan 1.6s linear infinite; }
@keyframes galleryScan { from { transform: translateY(0); } to { transform: translateY(900px); } }
.lightbox { position: fixed; z-index: 210; inset: 0; padding: 4vh 4vw; display: grid; place-items: center; background: rgba(5,5,5,.94); backdrop-filter: blur(14px); animation: modalFade .25s both; }
.lightbox-frame { width: min(1250px, 92vw); height: min(780px, 86vh); position: relative; border: 1px solid rgba(83,180,171,.6); background: var(--black); box-shadow: 0 0 70px rgba(83,180,171,.18); animation: modalEnter .45s both; }
.lightbox-frame > img { object-fit: contain; padding: 42px; }
.lightbox-status { position: absolute; z-index: 3; left: 20px; right: 20px; top: 17px; display: flex; justify-content: space-between; color: var(--tradewind); font-size: 10px; letter-spacing: .12em; }
.lightbox-close, .lightbox-prev, .lightbox-next { position: absolute; z-index: 4; border: 1px solid var(--tradewind); background: rgba(5,5,5,.9); color: var(--white); cursor: pointer; }
.lightbox-close { right: 17px; top: 37px; width: 44px; height: 44px; font-size: 27px; }.lightbox-prev, .lightbox-next { top: 50%; width: 48px; height: 48px; font-size: 21px; }.lightbox-prev { left: 17px; }.lightbox-next { right: 17px; }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--tradewind); color: var(--black); }

@media (max-width: 1320px) {
  .site-header { grid-template-columns: 315px 1fr; padding-left: 24px; padding-right: 24px; }
  .brand-symbol { width: 74px; height: 66px; }.brand-words strong { font-size: 14px; }.brand-words small { font-size: 10px; }
  .top-nav { gap: 13px; font-size: 11px; }.top-nav .nav-muted { font-size: 10px; }.top-nav .nav-cta { padding: 12px 10px; gap: 8px; }
}

@media (max-width: 1080px) {
  .scroll-nav { display: none; }
  .site-header { height: 82px; padding: 0 20px; grid-template-columns: 1fr; }
  .brand-lockup { align-self: center; }.brand-symbol { width: 64px; height: 57px; }.brand-words small { display: none; }.brand-words strong { font-size: 14px; }.brand-words i { font-size: 8px; }
  .top-nav { position: absolute; top: 82px; left: 0; right: 0; height: 49px; padding: 0 18px; display: flex; justify-content: flex-start; gap: 24px; overflow-x: auto; background: rgba(5,5,5,.98); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
  nav.top-nav > a, .top-nav .nav-muted, .industry-menu { display: flex !important; flex: 0 0 auto; font-size: 11px; }
  .industry-menu { padding: 0; align-items: center; }.industry-preview { display: none; }.top-nav .nav-cta { padding: 8px 11px; }
  .programme-grid { grid-template-columns: 1fr; }
  .programme-card { min-height: 560px; }
  .location-content, .arrival-note { grid-template-columns: 1fr; }
  .arrival-note { gap: 35px; }
}

@media (max-width: 700px) {
  .site-header { height: 82px; padding: 0 16px; grid-template-columns: 1fr; }
  .brand-lockup { align-self: center; }.brand-symbol { width: 62px; height: 56px; }.brand-words strong { font-size: 13px; }.brand-words i { font-size: 8px; }
  .top-nav { position: absolute; top: 82px; left: 0; right: 0; height: 49px; padding: 0 14px; display: flex; justify-content: flex-start; gap: 22px; overflow-x: auto; background: rgba(5,5,5,.98); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
  nav.top-nav > a, .top-nav .nav-muted, .industry-menu { display: flex !important; flex: 0 0 auto; font-size: 11px; }
  .industry-menu { padding: 0; align-items: center; }.industry-preview { display: none; }.top-nav .nav-cta { padding: 8px 11px; }
  .hero { height: 900px; }.hero-dots { top: 154px; }.hero h1 { font-size: 56px; line-height: .91; }.hero h1 em { white-space: normal; }.hero-content { top: 54%; }
  .programme-modal-shell { padding: 8px; }.programme-modal { max-height: 96vh; }.programme-modal > header, .modal-body, .modal-footer { padding-left: 20px; padding-right: 20px; }.modal-facts { grid-template-columns: 1fr; }.modal-body ul { grid-template-columns: 1fr; }.modal-footer { gap: 19px; align-items: flex-start; flex-direction: column; }
  .programme-badges { height: 70px; }.programme-badges img { width: 78px; height: 68px; }.programme-badges.multiple img { width: 58px; height: 58px; }
  .school-media { grid-template-columns: 1fr; }.school-media figure { height: 270px; }
  .subpage-hero { min-height: 520px; padding: 175px 24px 68px; }.subpage-hero h1 { font-size: 76px; }.gallery-orbit { display: none; }
  .location-content, .gallery-content, .arrival-note { padding-left: 24px; padding-right: 24px; }.campus-map { box-shadow: 8px 8px 0 rgba(83,180,171,.22); }
  .media-grid { grid-template-columns: 1fr; grid-template-rows: repeat(4, 300px); }.media-tile-1, .media-tile-4 { grid-row: auto; grid-column: auto; }
  .lightbox { padding: 8px; }.lightbox-frame { width: 97vw; height: 84vh; }.lightbox-frame > img { padding: 55px 12px 35px; }
  footer { padding-top: 42px; }.footer-brand { flex-direction: row !important; }.footer-symbol { width: 110px; height: 92px; }
}

/* CIA refinement pass by Will Clarke */
.site-header {
  height: 98px;
  grid-template-columns: minmax(400px, 470px) 1fr;
  position: absolute;
  overflow: visible;
}
.brand-lockup { height: 98px; gap: 17px; align-items: center; }
.brand-symbol {
  width: 124px;
  height: 116px;
  position: relative;
  top: 10px;
  z-index: 2;
  padding: 10px;
  object-fit: contain;
  background: var(--black);
  border: 1px solid rgba(83,180,171,.55);
  border-radius: 0 0 20px 20px;
  box-shadow: 0 15px 32px rgba(5,5,5,.48), 0 0 22px rgba(83,180,171,.13);
}
.brand-words { gap: 4px; line-height: 1.08; }
.brand-words small,
.brand-words strong {
  margin: 0;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.top-nav { font-size: 14px; gap: clamp(14px, 1.35vw, 25px); }
.top-nav .nav-muted { font-size: 13px; }

/* Compact navigation expands as one panel, with every destination visible. */
.scroll-nav {
  width: 78px;
  top: 50%;
  right: 12px;
  padding: 10px;
  gap: 4px;
  align-items: stretch;
  border-radius: 18px;
  background: rgba(5,5,5,.88);
  box-shadow: 0 14px 38px rgba(5,5,5,.28);
  transform: translate(20px,-50%);
  transition: width .25s ease, opacity .3s, transform .3s, visibility .3s;
}
.scroll-nav.visible { transform: translate(0,-50%); }
.scroll-nav:hover, .scroll-nav:focus-within { width: 254px; }
.scroll-nav-label {
  width: 100%;
  padding: 6px 0 10px;
  text-align: center;
  border-bottom: 1px solid var(--line-light);
  font-size: 8px;
  letter-spacing: .1em;
  text-indent: .1em;
  white-space: nowrap;
}
.scroll-nav a, .scroll-nav a:hover, .scroll-nav a.active {
  width: 100%;
  height: 36px;
  min-height: 36px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0;
  overflow: hidden;
  border-radius: 11px;
  font-size: 12px;
}
.scroll-nav a i {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  margin-left: 23px;
}
.scroll-nav a::after { content: none; }
.scroll-nav-text {
  flex: 0 0 auto;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity .15s, visibility .15s;
}
.scroll-nav:hover .scroll-nav-text, .scroll-nav:focus-within .scroll-nav-text {
  opacity: 1;
  visibility: visible;
}
.scroll-nav a:focus-visible { outline: 2px solid var(--tradewind); outline-offset: -2px; }
.scroll-nav a.reserve { margin-top: 3px; border-top: 0; }

.programme-badges,
.programme-badges.multiple { height: 86px; }
.programme-badges img,
.programme-badges.multiple img,
.modal-badges img {
  width: auto;
  height: 82px;
  max-width: none;
  object-fit: contain;
}

.booking-form { scroll-margin-top: 24px; }
.form-progress button {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  padding: 13px 15px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: rgba(196,196,196,.18);
  color: var(--boulder);
  font: inherit;
  font-weight: 700;
  letter-spacing: .08em;
  text-align: left;
  cursor: default;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.form-progress button::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 8px;
  height: 3px;
  border-radius: 99px;
  background: transparent;
}
.form-progress button.active { color: var(--black); cursor: pointer; }
.form-progress button.active:hover { transform: translateY(-2px); background: rgba(83,180,171,.1); }
.form-progress button.current { border-color: rgba(83,180,171,.55); background: rgba(83,180,171,.14); }
.form-progress button.current::after { background: var(--tradewind); box-shadow: 0 0 8px rgba(83,180,171,.5); }
.form-progress button:disabled { opacity: .55; }
.delivery-choice {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 17px 18px;
  border: 1px solid rgba(83,180,171,.55);
  border-radius: 13px;
  background: rgba(83,180,171,.08);
}
.delivery-choice > span {
  color: var(--boulder);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 10px;
  font-weight: 700;
}
.delivery-choice > div { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.delivery-choice label {
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid rgba(124,124,124,.34);
  border-radius: 11px;
  background: var(--white);
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s;
}
.delivery-choice label:hover { transform: translateY(-2px); border-color: var(--tradewind); }
.delivery-choice label.selected { border-color: var(--tradewind); background: rgba(83,180,171,.13); box-shadow: 0 0 0 2px rgba(83,180,171,.1); }
.delivery-choice input { position: absolute; opacity: 0; pointer-events: none; }
.delivery-choice b { color: var(--black); font-size: 12px; line-height: 1.3; }
.date-brief { margin-top: 24px; }

@media (max-width: 1320px) {
  .site-header { grid-template-columns: minmax(330px, 370px) 1fr; }
  .brand-symbol { width: 102px; height: 98px; top: 8px; }
  .brand-words small, .brand-words strong { font-size: 12px; }
  .top-nav { font-size: 12.5px; gap: 13px; }
  .top-nav .nav-muted { font-size: 11.5px; }
}

@media (max-width: 1080px) {
  .scroll-nav { display: none; }
  .site-header { height: 82px; grid-template-columns: 1fr; position: absolute; }
  .brand-lockup { height: 82px; gap: 11px; }
  .brand-symbol { width: 82px; height: 86px; top: 6px; padding: 8px; border-radius: 0 0 14px 14px; }
  .brand-words small, .brand-words strong { display: block; font-size: 11px; }
  .top-nav { font-size: 12px; }
  .top-nav .nav-muted { font-size: 11px; }
}

@media (max-width: 700px) {
  .brand-symbol { width: 74px; height: 80px; }
  .brand-words small, .brand-words strong { display: block; font-size: 10px; }
  .form-progress button { padding: 11px 8px; align-items: center; text-align: center; font-size: 10px; }
  .form-progress button::after { left: 8px; right: 8px; }
  .delivery-choice > div { grid-template-columns: 1fr; }
  .programme-badges, .programme-badges.multiple { height: 86px; }
  .programme-badges img, .programme-badges.multiple img, .modal-badges img { width: auto; height: 82px; }
}


.brand-lockup { margin-left: 0; }

/* Responsive header and mobile layout by Will Clarke */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body { overflow-x: hidden; }
body.mobile-menu-open { overflow: hidden; }
img { max-width: 100%; }

.site-header {
  grid-template-columns: minmax(440px, 510px) 1fr;
}

.brand-lockup {
  width: 100%;
  height: 98px;
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand-marks {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
}

.brand-symbol {
  width: 116px;
  height: 116px;
  flex: 0 0 auto;
}

.brand-partner-logo {
  width: 192px;
  height: 78px;
  display: block;
  flex: 0 1 auto;
  object-fit: contain;
  object-position: left center;
}

.brand-words { flex: 0 1 auto; }
.menu-toggle,
.menu-backdrop { display: none; }

@media (max-width: 1420px) {
  .site-header { grid-template-columns: minmax(340px, 390px) 1fr; }
  .brand-lockup { gap: 11px; }
  .brand-marks { gap: 9px; }
  .brand-symbol { width: 94px; height: 100px; }
  .brand-partner-logo { width: 112px; height: 48px; }
  .brand-words small,
  .brand-words strong { font-size: 11px; }
  .top-nav { gap: 12px; font-size: 12px; }
}

@media (max-width: 1120px) and (min-width: 901px) {
  .site-header { grid-template-columns: minmax(285px, 320px) 1fr; padding-inline: 18px; }
  .brand-symbol { width: 80px; height: 88px; }
  .brand-partner-logo { width: 104px; height: 44px; }
  .brand-words { display: none; }
  .top-nav { gap: 11px; font-size: 11px; }
  .top-nav .nav-muted { font-size: 10px; }
  .top-nav .nav-cta { padding: 11px 10px; }
}

@media (max-width: 900px) {
  .site-header {
    height: 82px;
    padding: 0 18px;
    grid-template-columns: minmax(0, 1fr) 52px;
    gap: 12px;
    position: absolute;
    z-index: 90;
    overflow: visible;
  }

  .brand-lockup {
    width: fit-content;
    max-width: 100%;
    height: 82px;
    gap: 0;
  }

  .brand-marks { gap: 10px; }
  .brand-symbol {
    width: 74px;
    height: 82px;
    top: 6px;
    padding: 7px;
    border-radius: 0 0 14px 14px;
  }
  .brand-partner-logo { width: 128px; height: 46px; }
  .brand-words { display: none; }

  .menu-toggle {
    width: 48px;
    height: 48px;
    position: relative;
    z-index: 92;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(83,180,171,.65);
    border-radius: 14px;
    background: rgba(5,5,5,.94);
    color: var(--white);
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(5,5,5,.28);
  }

  .menu-toggle-lines {
    width: 22px;
    height: 17px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .menu-toggle-lines i {
    width: 100%;
    height: 2px;
    display: block;
    border-radius: 9px;
    background: var(--tradewind);
    transform-origin: center;
    transition: transform .25s ease, opacity .2s ease;
  }
  .menu-toggle[aria-expanded="true"] .menu-toggle-lines i:first-child { transform: translateY(7.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-lines i:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-lines i:last-child { transform: translateY(-7.5px) rotate(-45deg); }

  .top-nav {
    width: min(88vw, 390px);
    height: 100dvh;
    position: fixed;
    z-index: 88;
    inset: 0 0 0 auto;
    padding: 108px 24px 30px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    overflow-y: auto;
    overflow-x: hidden;
    background:
      linear-gradient(rgba(83,180,171,.06) 1px, transparent 1px),
      linear-gradient(90deg, rgba(83,180,171,.06) 1px, transparent 1px),
      rgba(5,5,5,.985);
    background-size: 34px 34px;
    border: 0;
    border-left: 1px solid rgba(83,180,171,.45);
    box-shadow: -24px 0 70px rgba(5,5,5,.55);
    white-space: normal;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(104%);
    transition: transform .34s cubic-bezier(.2,.8,.2,1), opacity .25s, visibility .34s;
  }
  .top-nav.menu-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
  }

  nav.top-nav > a,
  .top-nav .nav-muted,
  .industry-menu {
    width: 100%;
    min-height: 60px;
    display: flex !important;
    flex: 0 0 auto;
    align-items: center;
    border-bottom: 1px solid var(--line-light);
    font-size: 17px;
  }
  .industry-menu { padding: 0; }
  .industry-menu > a { width: 100%; }
  .industry-preview { display: none; }
  .top-nav > a:not(.nav-cta)::after,
  .industry-menu > a::after { display: none; }
  .top-nav .nav-muted { color: var(--silver); font-size: 16px; opacity: .72; }
  .top-nav .nav-cta {
    min-height: 58px;
    margin-top: 22px;
    padding: 16px 18px;
    justify-content: space-between;
    border: 1px solid var(--tradewind);
    border-radius: 12px;
    font-size: 16px;
  }

  .menu-backdrop {
    position: fixed;
    z-index: 84;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    padding: 0;
    border: 0;
    background: rgba(5,5,5,.68);
    backdrop-filter: blur(5px);
  }
  .menu-backdrop[hidden] { display: none; }
  .scroll-nav { display: none; }

  .hero {
    height: max(780px, 100svh);
    min-height: 780px;
    max-height: 920px;
  }
  .hero-grid { inset: 82px 0 0; background-size: 46px 46px; }
  .hero-shade {
    background: linear-gradient(90deg, rgba(5,5,5,.96), rgba(5,5,5,.72) 72%, rgba(5,5,5,.4)), linear-gradient(0deg, rgba(5,5,5,.88), transparent 68%);
  }
  .hero-dots { top: 108px; right: 20px; }
  .hero-content {
    left: 24px;
    right: 24px;
    top: 52%;
    max-width: 690px;
    transform: translateY(-43%);
  }
  .hero-content.is-visible { transform: translateY(-43%); }
  .hero h1 { margin: 30px 0 26px; font-size: clamp(52px, 11vw, 78px); line-height: .9; }
  .hero h1 em { white-space: normal; }
  .hero-copy { max-width: 620px; font-size: 16px; line-height: 1.6; }
  .hero-note { display: none; }

  .statement,
  .experiences,
  .booking-section,
  .schools { padding-left: 32px; padding-right: 32px; }
  .statement-layout,
  .booking-section,
  .schools-lead { grid-template-columns: 1fr; gap: 44px; }
  .booking-heading { position: static; }
  .programme-grid,
  .school-grid { grid-template-columns: 1fr; }
  .programme-card { min-height: 0; }
  .feature-split { grid-template-columns: 1fr; }
  .feature-image-wrap { min-height: 460px; }
  .feature-copy { padding: 76px 32px; }
  .school-media { grid-template-columns: 1fr; }

  .location-content,
  .arrival-note { grid-template-columns: 1fr; }
  .media-grid { grid-template-columns: 1fr; grid-template-rows: repeat(4, 310px); }
  .media-tile-1,
  .media-tile-4 { grid-row: auto; grid-column: auto; }
}

@media (max-width: 560px) {
  .site-header { height: 76px; padding: 0 14px; grid-template-columns: minmax(0, 1fr) 48px; gap: 8px; }
  .brand-lockup { height: 76px; }
  .brand-marks { gap: 8px; }
  .brand-symbol { width: 62px; height: 72px; top: 5px; padding: 6px; }
  .brand-partner-logo { width: 108px; height: 40px; }
  .menu-toggle { width: 46px; height: 46px; border-radius: 13px; }
  .top-nav { width: 100%; padding: 96px 22px 28px; }

  .hero { height: max(760px, 100svh); min-height: 760px; }
  .hero-grid { inset: 76px 0 0; }
  .hero-dots { top: 97px; right: 16px; }
  .hero-dots button { width: 20px; }
  .hero-dots button.active { width: 38px; }
  .hero-content { left: 20px; right: 20px; top: 52%; transform: translateY(-42%); }
  .hero-content.is-visible { transform: translateY(-42%); }
  .kicker { gap: 9px; font-size: 10px; line-height: 1.45; }
  .kicker span { width: 20px; }
  .hero h1 { margin: 25px 0 22px; font-size: clamp(45px, 14.5vw, 64px); }
  .hero-copy { font-size: 15px; line-height: 1.55; }
  .hero-actions { width: 100%; margin-top: 28px; align-items: stretch; flex-direction: column; gap: 12px; }
  .hero-actions .button { width: 100%; min-width: 0; }
  .hero-actions .text-link { width: fit-content; }

  .statement,
  .experiences,
  .booking-section,
  .schools { padding-left: 20px; padding-right: 20px; }
  .statement { padding-top: 72px; padding-bottom: 64px; }
  .statement-layout { padding: 44px 0 54px; }
  .statement-layout h2,
  .experiences-heading h2,
  .feature-copy h2,
  .booking-heading h2,
  .schools-lead h2 { font-size: clamp(40px, 13vw, 58px); }
  .statement-layout p,
  .feature-copy > p:not(.kicker) { font-size: 16px; }
  .audience-strip { grid-template-columns: 1fr 1fr; gap: 18px 12px; font-size: 10px; }

  .experiences { padding-top: 72px; padding-bottom: 78px; }
  .experiences-heading { padding: 48px 0 42px; }
  .programme-card { padding: 23px; }
  .programme-card h3 { font-size: 28px; }
  .card-bottom { align-items: stretch; flex-direction: column; }
  .card-bottom strong { max-width: none; }
  .read-more { width: 100%; }

  .feature-image-wrap { min-height: 360px; }
  .feature-copy { padding: 66px 20px; }
  .feature-copy h2 { margin: 44px 0 28px; }

  .booking-section { padding-top: 76px; padding-bottom: 82px; }
  .booking-heading h2 { margin-top: 36px; }
  .booking-form { min-height: 0; padding: 23px 15px 28px; border-radius: 20px; }
  .form-progress { gap: 5px; }
  .form-progress button { min-width: 0; padding: 10px 5px 14px; font-size: 9px; line-height: 1.25; }
  .form-progress button::after { left: 6px; right: 6px; bottom: 6px; }
  .form-step { padding-top: 38px; }
  .form-step legend { font-size: 28px; }
  .choice-list label { min-height: 64px; padding: 10px 12px; }
  .field-grid { grid-template-columns: 1fr; gap: 18px; }
  .field-grid .full { grid-column: auto; }
  .calendar-picker { padding: 13px 8px; border-radius: 17px; }
  .calendar-header { grid-template-columns: 38px 1fr 38px; gap: 7px; }
  .calendar-header button { width: 38px; height: 38px; }
  .calendar-header strong { font-size: 17px; }
  .calendar-weekdays,
  .calendar-grid { gap: 3px; }
  .calendar-weekdays span { font-size: 10px; }
  .calendar-grid button { border-radius: 8px; font-size: 12px; }
  .calendar-footer { align-items: flex-start; flex-direction: column; gap: 8px; }
  .calendar-footer strong { text-align: left; }
  .form-controls { gap: 14px; }
  .form-controls > button { min-width: 0; }
  .form-next { min-width: 150px; padding-inline: 14px; }
  .confirmation { min-height: 500px; }
  .confirmation h3 { font-size: 38px; }
  .confirmation > div { width: 100%; min-width: 0; }
  .delivery-choice > div { grid-template-columns: 1fr; }

  .schools { padding-top: 76px; padding-bottom: 82px; }
  .schools-lead { padding: 48px 0; }
  .school-media figure { height: 240px; }
  .school-card { min-height: 280px; padding: 23px; }
  .schools-action { align-items: stretch; flex-direction: column; }
  .schools-action .button { width: 100%; min-width: 0; }

  footer { min-height: 0; padding: 42px 20px; grid-template-columns: 1fr; gap: 30px; }
  .footer-brand,
  footer > div,
  .footer-wrexham-logo { justify-self: start; }
  .footer-symbol { width: 94px; height: 82px; }
  .footer-wrexham-logo { width: 220px; height: auto; }

  .programme-modal-shell { padding: 6px; }
  .programme-modal { width: 100%; max-height: 98dvh; }
  .modal-status { padding-left: 18px; }
  .programme-modal > header,
  .modal-body,
  .modal-footer { padding-left: 18px; padding-right: 18px; }
  .modal-facts,
  .modal-body ul { grid-template-columns: 1fr; }
  .modal-footer { align-items: stretch; flex-direction: column; gap: 16px; }
  .modal-footer a { width: 100%; min-width: 0; }

  .subpage-hero { min-height: 500px; padding: 150px 20px 64px; }
  .subpage-hero h1 { font-size: clamp(58px, 20vw, 78px); }
  .location-content,
  .gallery-content,
  .arrival-note { padding-left: 20px; padding-right: 20px; }
  .media-grid { grid-template-rows: repeat(4, 260px); }
}

@media (hover: none) {
  .programme-card:hover,
  .school-card:hover,
  .choice-list label:hover,
  .delivery-choice label:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .top-nav,
  .menu-toggle-lines i { transition: none; }
}


/* Location and the directory-driven gallery on the main page. */
#location, #gallery { scroll-margin-top: 24px; }
.location-section { background: var(--white); }
.inline-section-heading { max-width: 900px; }
.inline-section-heading h2 {
  margin: 28px 0 22px;
  font-size: clamp(50px, 6vw, 84px);
  line-height: .95;
  letter-spacing: -.05em;
}
.inline-section-heading > p:last-child { max-width: 670px; font-size: 18px; line-height: 1.7; }
.location-section > .inline-section-heading { padding: 90px 8vw 0; max-width: 1100px; }
.location-section .location-content { padding-top: 48px; }
.location-address h3 { margin: 22px 0; font-size: clamp(42px, 5vw, 70px); line-height: .95; letter-spacing: -.05em; }
.location-section .arrival-note { padding: 38px 8vw; grid-template-columns: 210px minmax(0, 1fr); gap: 32px; align-items: start; }
.location-section .arrival-note > .kicker { margin: 6px 0 0; }
.location-section .arrival-note h3 { margin: 0 0 9px; font-size: 22px; line-height: 1.3; letter-spacing: -.015em; }
.arrival-details p { margin: 0; max-width: 780px; font-size: 15px; line-height: 1.65; }
.gallery-section { color: var(--white); background: var(--black); }
.gallery-section .inline-section-heading { margin-bottom: 48px; }
.gallery-section .inline-section-heading > p:last-child { color: var(--silver); }
.gallery-accordion { border: 1px solid rgba(83,180,171,.45); border-radius: 12px; background: rgba(83,180,171,.035); }
.gallery-accordion > summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; color: var(--white); font-size: 16px; font-weight: 700; list-style: none; cursor: pointer; border-radius: 12px; }
.gallery-accordion > summary::-webkit-details-marker { display: none; }
.gallery-accordion > summary:hover { background: rgba(83,180,171,.08); }
.gallery-accordion > summary:focus-visible { outline: 2px solid var(--tradewind); outline-offset: 4px; }
.gallery-accordion-icon { flex: 0 0 26px; color: var(--tradewind); font-size: 26px; font-weight: 400; line-height: 1; text-align: center; transition: transform .2s; }
.gallery-accordion[open] .gallery-accordion-icon { transform: rotate(45deg); }
.gallery-accordion[open] > summary { border-radius: 12px 12px 0 0; border-bottom: 1px solid var(--line-light); }
.gallery-accordion-body { padding: 24px; }
.gallery-accordion-body .gallery-status { margin: 0; }
.gallery-section .media-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: none; gap: 12px; margin-top: 0; }
.gallery-section .media-grid:empty { display: none; }
.gallery-section .media-tile { aspect-ratio: 4 / 3; }
.gallery-section .media-tile > span { left: 10px; right: 10px; bottom: 10px; padding-top: 20px; border: 0; text-shadow: 0 1px 5px var(--black); }
.gallery-section .media-tile > span i { display: none; }
.gallery-section .media-tile > span b { font-size: 10px; }
.gallery-section .media-tile::after { content: ''; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(5,5,5,.75)); pointer-events: none; }
.gallery-section .media-tile:focus-visible { outline: 3px solid var(--tradewind); outline-offset: 4px; }
.gallery-section .media-tile:focus-visible img { filter: none; }
.gallery-status { color: var(--silver); font-size: 15px; line-height: 1.6; margin: 28px 0 0; }
.gallery-retry { margin-top: 18px; }
.lightbox-error { position: absolute; top: 44%; left: 15%; right: 15%; color: var(--white); text-align: center; }
.lightbox button:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
@media (max-width: 1100px) {
  .gallery-section .media-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .location-section > .inline-section-heading { padding: 76px 32px 0; }
  .location-section .location-content, .location-section .arrival-note, .gallery-section { padding-left: 32px; padding-right: 32px; }
  .location-section .arrival-note { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 560px) {
  .location-section > .inline-section-heading { padding: 72px 20px 0; }
  .location-section .location-content, .location-section .arrival-note, .gallery-section { padding-left: 20px; padding-right: 20px; }
  .location-section .location-content { padding-bottom: 72px; }
  .location-section .arrival-note { padding-top: 30px; padding-bottom: 30px; }
  .location-address .button { width: 100%; min-width: 0; font-size: 13px; padding-inline: 16px; }
  .gallery-section { padding-top: 72px; padding-bottom: 78px; }
  .gallery-section .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .gallery-accordion > summary { padding: 18px 16px; }
  .gallery-accordion-body { padding: 16px; }
  .inline-section-heading > p:last-child { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-nav, .scroll-nav-text, .gallery-section .media-tile img, .gallery-accordion-icon { transition: none; }
}
