/* Total IT Solutions Academy — public site
   Concept: the repair bench. Cutting-mat grid, poster bands, job-card ticket. */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-var.woff") format("woff");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --teal: #0e3b43;          /* overridden from Admin → Settings */
  --tape: #ffc21a;          /* overridden from Admin → Settings */
  --ink: #12191c;
  --paper: #f3f6f5;
  --white: #ffffff;
  --steel: #56666b;
  --line: #d3dcda;
  --mat: rgba(14, 59, 67, .07);
  --ok: #1d7a4f;
  --err: #b42318;
  --r: 6px;
  --r-lg: 14px;
  --font: "Archivo", "Noto Sans Bengali", system-ui, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); font-stretch: 100%; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--tape); outline-offset: 2px; border-radius: 3px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.ic { width: 22px; height: 22px; flex: none; }
.ic-sm { width: 17px; height: 17px; }
.ic-lg { width: 34px; height: 34px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--tape); padding: 10px 14px; z-index: 99; }
.skip:focus { left: 10px; }

/* ---------- Announcement + header ---------- */
.announce { background: var(--tape); color: var(--ink); font-size: 14px; font-weight: 600; }
.announce .wrap { display: flex; align-items: center; gap: 8px; padding-top: 7px; padding-bottom: 7px; }
.site-head { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.head-row { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; min-width: 0; }
.brand-logo { height: 48px; width: auto; }
.brand-mark { display: grid; place-items: center; min-width: 52px; height: 44px; padding: 0 8px; background: var(--ink); color: var(--tape); font-weight: 900; font-stretch: 70%; font-size: 20px; letter-spacing: .02em; border-radius: var(--r); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-text strong { font-size: 18px; font-weight: 800; font-stretch: 80%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-text small { font-size: 13px; color: var(--steel); }
.nav { display: flex; gap: 4px; }
.nav a { text-decoration: none; padding: 8px 12px; border-radius: var(--r); font-weight: 600; font-size: 15px; color: var(--steel); }
.nav a:hover { color: var(--ink); background: var(--paper); }
.nav a.on { color: var(--ink); box-shadow: inset 0 -3px 0 var(--tape); border-radius: 0; }
.head-call { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; background: var(--teal); color: var(--white); font-weight: 700; padding: 10px 16px; border-radius: var(--r); font-size: 15px; }
.head-call:hover { background: var(--ink); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: var(--r); padding: 8px; cursor: pointer; color: var(--ink); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; padding: 13px 22px; border-radius: var(--r); border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s; }
.btn:active { transform: translateY(1px); }
.btn-tape { background: var(--tape); color: var(--ink); border-color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.btn-tape:hover { box-shadow: 1px 1px 0 var(--ink); transform: translate(2px, 2px); }
.btn-line { border-color: var(--ink); color: var(--ink); background: var(--white); }
.btn-line:hover { background: var(--ink); color: var(--white); }
.btn-line-dark { border-color: var(--teal); color: var(--teal); background: transparent; }
.btn-wide { width: 100%; }
.link { font-weight: 700; color: var(--teal); text-underline-offset: 4px; text-decoration-thickness: 2px; text-decoration-color: var(--tape); }

/* ---------- Hero ---------- */
.hero {
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--mat) 1px, transparent 1px),
    linear-gradient(90deg, var(--mat) 1px, transparent 1px);
  background-size: 28px 28px;
  border-bottom: 1px solid var(--line);
  padding: 56px 0 64px;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); gap: 48px; align-items: start; }
.hero-badge { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; margin-bottom: 22px; }
.hero-badge span { color: var(--steel); font-weight: 500; }
.hero-badge::before { content: ""; width: 10px; height: 10px; background: var(--tape); border: 2px solid var(--ink); border-radius: 50%; }
.bands { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 26px; }
.band {
  display: inline-block; background: var(--ink); color: var(--white);
  font-weight: 850; font-stretch: 66%; text-transform: uppercase;
  font-size: clamp(34px, 6.2vw, 68px); line-height: .98; letter-spacing: .005em;
  padding: 6px 16px 8px;
}
.band-alt { background: var(--teal); }
.plus { display: grid; place-items: center; width: 34px; height: 34px; margin: -2px 0 -2px 14px; background: var(--tape); border: 2px solid var(--ink); border-radius: 50%; font-weight: 900; font-size: 24px; line-height: 1; color: var(--ink); }
.hero-tag { font-weight: 800; font-size: 21px; font-stretch: 85%; margin-bottom: 12px; }
.hero-intro { color: var(--steel); max-width: 62ch; margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* Job-card ticket */
.ticket {
  position: relative; background: var(--tape); color: var(--ink);
  border: 2px solid var(--ink); border-radius: var(--r-lg);
  padding: 34px 26px 24px; box-shadow: 8px 8px 0 var(--ink);
  transform: rotate(1.2deg); margin-top: 10px;
}
.ticket-static { transform: none; box-shadow: 6px 6px 0 var(--ink); }
.ticket-hole { position: absolute; top: 12px; left: 50%; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); }
.ticket-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 2px solid var(--ink); border-radius: var(--r); margin-bottom: 18px; }
.ticket-h { font-weight: 850; font-stretch: 70%; font-size: 26px; text-transform: uppercase; padding-bottom: 12px; border-bottom: 2px dashed var(--ink); margin-bottom: 8px; }
.ticket-list li { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 18px; padding: 10px 0; border-bottom: 1px solid rgba(18, 25, 28, .22); }
.ticket-list li:last-child { border-bottom: 0; }
.ticket-points { margin-top: 14px; padding: 14px 16px; background: rgba(255, 255, 255, .55); border-radius: var(--r); font-size: 15px; font-weight: 600; }
.ticket-points li { display: flex; gap: 8px; align-items: flex-start; padding: 3px 0; }
.ticket-points .ic { margin-top: 4px; }
.ticket-motto { margin-top: 16px; font-weight: 700; font-style: italic; font-size: 16px; }

/* ---------- Stats ---------- */
.stats { background: var(--ink); color: var(--white); }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 22px 18px; border-left: 1px solid rgba(255, 255, 255, .14); display: flex; align-items: baseline; gap: 12px; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { font-size: 36px; font-weight: 850; font-stretch: 70%; color: var(--tape); line-height: 1; }
.stat span { font-size: 14px; color: rgba(255, 255, 255, .78); line-height: 1.3; }

/* ---------- Sections ---------- */
.sec { padding: 80px 0; }
.sec-paper { background: var(--paper); }
.sec-teal { background: var(--teal); color: var(--white); }
.sec-head { max-width: 640px; margin-bottom: 36px; }
.sec-head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 850; font-stretch: 75%; letter-spacing: -.005em; margin-bottom: 10px; }
.sec-head p { color: var(--steel); font-size: 18px; }
.sec-teal .sec-head p { color: rgba(255, 255, 255, .78); }
.sec-head .link { display: inline-block; margin-top: 10px; }
.sec-head-row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.sec-head-gap { margin-top: 72px; }

/* Modules */
.modules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 2px solid var(--ink); border-radius: var(--r-lg); overflow: hidden; }
.module { padding: 30px 30px 32px; background: var(--white); border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.module:nth-child(2n) { border-right: 0; }
.module:nth-last-child(-n+2):nth-child(2n+1), .module:last-child { border-bottom: 0; }
.module-img { width: calc(100% + 60px); max-width: none; margin: -30px -30px 22px; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 2px solid var(--ink); }
.module-top { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.module-ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--tape); border: 2px solid var(--ink); flex: none; }
.module-ic .ic { width: 26px; height: 26px; }
.module h3 { font-size: 26px; font-weight: 850; font-stretch: 75%; }
.module-code { font-size: 13px; color: var(--steel); font-weight: 600; }
.module-sum { color: var(--steel); margin-bottom: 16px; }
.ticks li { position: relative; padding: 7px 0 7px 30px; border-top: 1px dashed var(--line); font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 13px; height: 7px; border-left: 3px solid var(--teal); border-bottom: 3px solid var(--teal); transform: rotate(-45deg); }
.ticks-cols { columns: 2; column-gap: 28px; }
.ticks-cols li { break-inside: avoid; }

/* Spec sheet */
.split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.spec { margin: 0; background: var(--white); border: 2px solid var(--ink); border-radius: var(--r-lg); overflow: hidden; }
.spec-row { display: grid; grid-template-columns: 200px 1fr; border-bottom: 1px solid var(--line); }
.spec-row:last-child { border-bottom: 0; }
.spec dt { display: flex; align-items: center; gap: 10px; padding: 14px 18px; font-weight: 700; font-size: 15px; background: var(--paper); border-right: 1px solid var(--line); color: var(--teal); }
.spec dd { margin: 0; padding: 14px 18px; font-weight: 600; }

/* Tool kit */
.kit { background: var(--ink); color: var(--white); border-radius: var(--r-lg); padding: 30px 28px; overflow: hidden; }
.kit-gap { margin-top: 32px; }
.kit-tag { display: inline-block; background: var(--tape); color: var(--ink); font-weight: 800; font-size: 13px; padding: 3px 10px; border-radius: 99px; margin-bottom: 14px; }
.kit h3 { font-size: 28px; font-weight: 850; font-stretch: 75%; margin-bottom: 8px; }
.kit-lead { color: rgba(255, 255, 255, .72); margin-bottom: 18px; }
.kit-list li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .14); font-weight: 600; }
.kit-list img { width: 44px; height: 44px; object-fit: cover; border-radius: var(--r); }
.kit-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r); background: rgba(255, 255, 255, .08); color: var(--tape); }

/* Faculty + why */
.faculty-band { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 40px; background: var(--paper); border-left: 8px solid var(--tape); border-radius: var(--r-lg); }
.faculty-copy h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 850; font-stretch: 75%; margin-bottom: 14px; }
.faculty-copy p { color: var(--steel); font-size: 18px; max-width: 58ch; }
.faculty-list { display: grid; gap: 14px; }
.fac { display: flex; gap: 16px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 18px; }
.fac img, .fac-ic { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.fac-ic { display: grid; place-items: center; background: var(--teal); color: var(--tape); }
.fac-name { font-weight: 800; font-size: 17px; }
.fac-role { color: var(--steel); font-size: 15px; }
.fac-role b { color: var(--ink); white-space: nowrap; }
.fac-bio { font-size: 14px; color: var(--steel); margin-top: 4px; }
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.why-item { border-top: 3px solid var(--ink); padding-top: 18px; }
.why-ic { display: inline-grid; place-items: center; width: 44px; height: 44px; color: var(--teal); margin-bottom: 10px; }
.why-ic .ic { width: 30px; height: 30px; }
.why-item h3 { font-size: 20px; font-weight: 800; font-stretch: 85%; margin-bottom: 8px; }
.why-item p { color: var(--steel); font-size: 16px; }

/* Careers */
.careers { display: grid; grid-template-columns: repeat(3, 1fr); border: 2px solid rgba(255, 255, 255, .18); border-radius: var(--r-lg); overflow: hidden; }
.careers li { display: flex; gap: 16px; padding: 26px 24px; box-shadow: 1px 0 0 rgba(255, 255, 255, .18), 0 1px 0 rgba(255, 255, 255, .18); }
.career-ic { color: var(--tape); }
.career-ic .ic { width: 30px; height: 30px; }
.careers h3 { font-size: 19px; font-weight: 800; font-stretch: 85%; margin-bottom: 4px; }
.careers p { color: rgba(255, 255, 255, .75); font-size: 15px; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.review { margin: 0; border: 2px solid var(--ink); border-radius: var(--r-lg); padding: 24px; background: var(--white); display: flex; flex-direction: column; gap: 14px; }
.stars { display: flex; gap: 2px; color: var(--line); }
.stars .on { color: #e0a100; }
.stars .on svg { fill: currentColor; }
.review blockquote { margin: 0; font-size: 17px; flex: 1; }
.review figcaption { display: flex; gap: 12px; align-items: center; font-size: 14px; color: var(--steel); }
.review figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.review figcaption b { display: block; color: var(--ink); font-size: 16px; }

/* Gallery */
.gal-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.gal-tile { position: relative; display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--line); }
.gal-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gal-tile:hover img { transform: scale(1.04); }
.gal-tile span { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px; color: var(--white); font-size: 14px; font-weight: 600; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); }
.gal-tile.hide { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { font: inherit; font-weight: 600; font-size: 15px; border: 2px solid var(--ink); background: var(--white); padding: 6px 14px; border-radius: 99px; cursor: pointer; }
.chip.on { background: var(--ink); color: var(--white); }
.lightbox { position: fixed; inset: 0; background: rgba(10, 14, 16, .92); display: grid; place-items: center; z-index: 90; padding: 20px; cursor: zoom-out; }
.lightbox img { max-height: 88vh; border-radius: var(--r); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 48px; align-items: start; }
.faq-page { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .8fr); gap: 48px; align-items: start; }
.faq { border-top: 2px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 2px; font-weight: 700; font-size: 18px; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ic { transition: transform .2s; color: var(--teal); }
.faq-item[open] .faq-ic { transform: rotate(45deg); }
.faq-a { padding: 0 2px 20px; color: var(--steel); max-width: 70ch; }
.faq-aside { position: sticky; top: 96px; background: var(--paper); border-radius: var(--r-lg); padding: 26px; display: grid; gap: 12px; }

/* Enquiry */
.enquire { background: var(--paper); border-top: 1px solid var(--line); }
.enquire-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.enquire-info h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 850; font-stretch: 75%; margin-bottom: 14px; }
.big-phone { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 850; font-stretch: 70%; font-size: clamp(34px, 5vw, 52px); line-height: 1; margin-bottom: 26px; border-bottom: 5px solid var(--tape); padding-bottom: 4px; }
.big-phone .ic { width: 34px; height: 34px; color: var(--teal); }
.fee-box { background: var(--white); border: 2px solid var(--ink); border-radius: var(--r-lg); padding: 20px 22px; margin-bottom: 24px; }
.fee-h { font-weight: 800; font-size: 19px; margin-bottom: 6px; }
.fee-box p:not(.fee-h) { color: var(--steel); }
.addr li { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.addr .ic { margin-top: 4px; color: var(--teal); }
.addr b { display: block; font-size: 14px; color: var(--steel); font-weight: 600; }
.areas-h { font-weight: 700; margin: 22px 0 10px; }
.areas { display: flex; flex-wrap: wrap; gap: 8px; }
.areas li { background: var(--white); border: 1px solid var(--line); padding: 4px 12px; border-radius: 99px; font-size: 15px; }
.enquire-form { background: var(--white); border: 2px solid var(--ink); border-radius: var(--r-lg); padding: 30px; box-shadow: 8px 8px 0 var(--teal); }
.enquire-form h3 { font-size: 24px; font-weight: 850; font-stretch: 80%; margin-bottom: 18px; }
.enq-form { display: grid; gap: 14px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f { display: grid; gap: 6px; }
.f > span { font-weight: 700; font-size: 15px; }
.f i { font-style: normal; color: var(--steel); font-weight: 500; }
.f input, .f select, .f textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid #b9c6c3; border-radius: var(--r); background: var(--white); color: var(--ink); }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14, 59, 67, .18); }
.f [aria-invalid="true"] { border-color: var(--err); }
.f-err { color: var(--err); font-style: normal; font-size: 14px; font-weight: 600; }
.f-note { font-size: 13px; color: var(--steel); text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-done { display: flex; gap: 16px; align-items: flex-start; background: #e8f5ee; border: 2px solid var(--ok); color: var(--ink); border-radius: var(--r-lg); padding: 22px; }
.form-done .ic { color: var(--ok); }
.form-done-h { font-weight: 800; font-size: 20px; margin-bottom: 4px; }
.map-sec iframe { display: block; width: 100%; height: 420px; border: 0; }

/* Inner page head */
.page-head { background-color: var(--paper); background-image: linear-gradient(var(--mat) 1px, transparent 1px), linear-gradient(90deg, var(--mat) 1px, transparent 1px); background-size: 28px 28px; padding: 48px 0 44px; border-bottom: 1px solid var(--line); }
.crumbs { font-size: 14px; color: var(--steel); margin-bottom: 12px; }
.crumbs a { color: var(--teal); font-weight: 600; }
.page-head h1 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 850; font-stretch: 72%; max-width: 22ch; margin-bottom: 14px; }
.page-head .lead { color: var(--steel); font-size: 18px; max-width: 65ch; }
.empty { color: var(--steel); }

/* Syllabus */
.syllabus { display: grid; gap: 18px; }
.syl { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 32px; background: var(--white); border: 2px solid var(--ink); border-radius: var(--r-lg); padding: 28px; }
.syl-side h3 { font-size: 26px; font-weight: 850; font-stretch: 75%; margin: 14px 0 8px; }
.syl-side p { color: var(--steel); }

/* Footer */
.site-foot { background: var(--ink); color: rgba(255, 255, 255, .78); padding: 60px 0 0; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr .8fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.foot-name { font-weight: 850; font-stretch: 75%; font-size: 24px; color: var(--white); margin-bottom: 10px; }
.foot-about { max-width: 46ch; margin-bottom: 12px; }
.foot-motto { color: var(--tape); font-style: italic; font-weight: 600; }
.foot-h { color: var(--white); font-weight: 700; margin-bottom: 12px; }
.foot-links li { padding: 4px 0; }
.foot-links a, .foot-contact a { text-decoration: none; }
.foot-links a:hover, .foot-contact a:hover { color: var(--tape); }
.foot-contact li { display: flex; gap: 10px; padding: 5px 0; }
.foot-contact .ic { margin-top: 4px; color: var(--tape); }
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a { border: 1px solid rgba(255, 255, 255, .3); padding: 4px 12px; border-radius: 99px; text-decoration: none; font-size: 14px; }
.socials a:hover { border-color: var(--tape); color: var(--tape); }
.foot-base { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; }

/* Mobile dock */
.dock { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid, .split, .faculty-band, .faq-wrap, .faq-page, .enquire-grid, .syl { grid-template-columns: 1fr; }
  .ticket { transform: none; max-width: 520px; }
  .why { grid-template-columns: repeat(2, 1fr); }
  .careers { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .14); }
  .faq-aside { position: static; }
  .head-call span { display: none; }
  .head-call { padding: 10px 12px; }
}
@media (max-width: 860px) {
  .menu-btn { display: inline-grid; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); flex-direction: column; padding: 8px 20px 16px; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(18, 25, 28, .08); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 6px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a.on { box-shadow: inset 4px 0 0 var(--tape); padding-left: 14px; }
  .head-row { gap: 12px; }
  .modules { grid-template-columns: 1fr; }
  .module { border-right: 0 !important; border-bottom: 2px solid var(--ink) !important; }
  .module:last-child { border-bottom: 0 !important; }
  .gal-strip { grid-template-columns: repeat(2, 1fr); }
  body { padding-bottom: 66px; }
  .dock { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--ink); border-top: 2px solid var(--tape); }
  .dock a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 4px 10px; text-decoration: none; color: var(--white); font-size: 12px; font-weight: 700; }
  .dock .dock-main { background: var(--tape); color: var(--ink); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand-text strong { font-size: 15px; white-space: normal; }
  .brand-text small { display: none; }
  .brand-mark { min-width: 44px; height: 40px; font-size: 17px; }
  .hero { padding: 36px 0 44px; }
  .sec { padding: 56px 0; }
  .why, .careers { grid-template-columns: 1fr; }
  .spec-row { grid-template-columns: 1fr; }
  .spec dt { border-right: 0; padding-bottom: 6px; }
  .spec dd { padding-top: 6px; }
  .f-row { grid-template-columns: 1fr; }
  .faculty-band { padding: 26px 20px; }
  .enquire-form { padding: 22px 18px; box-shadow: 5px 5px 0 var(--teal); }
  .ticks-cols { columns: 1; }
  .module { padding: 24px 20px; }
  .module-img { width: calc(100% + 40px); margin: -24px -20px 18px; }
  .stat strong { font-size: 30px; }
  .stat { flex-direction: column; gap: 4px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* =========================================================
   SLIDER + PHOTOS
   ========================================================= */
.slider { position: relative; background: var(--ink); color: var(--white); overflow: hidden; isolation: isolate; }
.slides { display: grid; }
.slide { grid-area: 1 / 1; position: relative; min-height: clamp(520px, 80vh, 740px); display: flex; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s; }
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; transition: opacity .9s ease, visibility 0s; }
.slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(9, 22, 26, .92) 0%, rgba(9, 22, 26, .72) 38%, rgba(9, 22, 26, .25) 75%, rgba(9, 22, 26, .1) 100%),
  linear-gradient(0deg, rgba(9, 22, 26, .75) 0%, rgba(9, 22, 26, 0) 32%); }
.slide-body { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-top: 56px; padding-bottom: 120px; }
.slide-label { display: inline-block; background: var(--tape); color: var(--ink); font-weight: 800; font-size: 14px; padding: 4px 12px; border-radius: 99px; margin-bottom: 18px; }
.slide .bands { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 10px; max-width: 980px; margin-bottom: 22px; }
.slide .plus { margin: 0; }
.slide .band { font-size: clamp(30px, 4.6vw, 60px); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.slide .band-alt { background: var(--teal); }
.slide-text { font-size: 19px; color: rgba(255, 255, 255, .9); max-width: 54ch; margin-bottom: 28px; text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.btn-glass { color: var(--white); border-color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .08); backdrop-filter: blur(4px); }
.btn-glass:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.slide .btn-tape { box-shadow: 3px 3px 0 rgba(0, 0, 0, .55); border-color: var(--ink); }

.slider-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; border-top: 1px solid rgba(255, 255, 255, .14); background: rgba(9, 22, 26, .45); backdrop-filter: blur(6px); }
.slider-bar-in { display: flex; align-items: stretch; gap: 20px; }
.slider-tabs { flex: 1; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
.slider-tab { font: inherit; text-align: left; background: none; border: 0; color: rgba(255, 255, 255, .62); padding: 18px 16px 16px 0; cursor: pointer; display: grid; gap: 10px; min-width: 0; }
.slider-tab:hover, .slider-tab.is-active { color: var(--white); }
.slider-tab-t { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slider-prog { display: block; height: 3px; background: rgba(255, 255, 255, .22); border-radius: 3px; overflow: hidden; }
.slider-prog i { display: block; height: 100%; width: 100%; background: var(--tape); transform: scaleX(0); transform-origin: left; }
.slider-tab.is-done .slider-prog i { transform: scaleX(1); }
.slider-tab.is-active .slider-prog i { animation: sliderProg var(--slide-dur, 6s) linear forwards; }
.slider.is-paused .slider-tab.is-active .slider-prog i { animation-play-state: paused; }
.slider.no-auto .slider-tab.is-active .slider-prog i { animation: none; transform: scaleX(1); }
@keyframes sliderProg { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.slider-arrows { display: flex; align-items: center; gap: 8px; }
.slider-arrow { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .5); background: transparent; color: var(--white); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.slider-arrow:hover { background: var(--tape); color: var(--ink); border-color: var(--tape); }

/* Intro block under the slider */
.intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.intro-visual { position: relative; }
.intro-photo { margin: 0; border: 2px solid var(--ink); border-radius: var(--r-lg); overflow: hidden; box-shadow: 8px 8px 0 var(--teal); }
.intro-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ticket-over { position: relative; z-index: 1; width: min(360px, 82%); margin: -70px -18px 0 auto; padding: 30px 20px 18px; }
.ticket-over .ticket-h { font-size: 21px; }
.ticket-over .ticket-list li { font-size: 15.5px; padding: 7px 0; }
.ticket-over .ticket-motto { font-size: 14px; margin-top: 10px; }
.intro-h { font-size: clamp(30px, 3.8vw, 44px); font-weight: 850; font-stretch: 75%; margin-bottom: 16px; }
.intro-points { margin: 0 0 28px; display: grid; gap: 10px; }
.intro-points li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.intro-points .ic { color: var(--teal); margin-top: 2px; }

/* Photos inside sections */
.kit-photo { width: calc(100% + 56px); max-width: none; margin: -30px -28px 22px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.faculty-band.has-photo { grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr) minmax(0, 1fr); }
.faculty-photo { width: 100%; height: 100%; min-height: 260px; object-fit: cover; border-radius: var(--r-lg); }
.why-wrap.has-photo { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: 48px; align-items: stretch; }
.why-wrap.has-photo .why { grid-template-columns: repeat(2, 1fr); gap: 32px 28px; align-content: center; }
.why-photo { margin: 0; border-radius: var(--r-lg); overflow: hidden; min-height: 420px; }
.why-photo img { width: 100%; height: 100%; object-fit: cover; }
.sec-teal.has-bg { background: linear-gradient(rgba(14, 59, 67, .9), rgba(14, 59, 67, .78)), var(--bg) center / cover no-repeat; }
.sec-teal.has-bg .careers li { background: rgba(14, 59, 67, .35); }
.syl:has(.syl-img) { grid-template-columns: 240px minmax(0, .9fr) minmax(0, 1.4fr); }
.syl-img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; border-radius: var(--r); }
.gal-strip .gal-tile span { opacity: 0; transition: opacity .25s; }
.gal-strip .gal-tile:hover span, .gal-strip .gal-tile:focus-visible span { opacity: 1; }

/* Inner page banners */
.page-head.has-img { position: relative; overflow: hidden; color: var(--white); padding: 84px 0 76px; background: var(--ink); border-bottom: 0; }
.page-head-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-head-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 22, 26, .92) 0%, rgba(9, 22, 26, .7) 50%, rgba(9, 22, 26, .35) 100%); }
.page-head-in { position: relative; z-index: 1; }
.page-head.has-img .crumbs { color: rgba(255, 255, 255, .75); }
.page-head.has-img .crumbs a { color: var(--tape); }
.page-head.has-img .lead { color: rgba(255, 255, 255, .88); }
.page-head.has-img h1 { text-shadow: 0 2px 20px rgba(0, 0, 0, .3); }

@media (max-width: 1020px) {
  .intro-grid { grid-template-columns: 1fr; gap: 48px; }
  .intro-visual { max-width: 620px; }
  .faculty-band.has-photo { grid-template-columns: 1fr; }
  .faculty-photo { min-height: 0; aspect-ratio: 16 / 9; }
  .why-wrap.has-photo { grid-template-columns: 1fr; }
  .why-photo { min-height: 0; aspect-ratio: 16 / 9; }
  .syl:has(.syl-img) { grid-template-columns: 1fr; }
  .syl-img { aspect-ratio: 16 / 9; min-height: 0; }
}
@media (max-width: 760px) {
  .slide { min-height: 600px; }
  .slide-body { padding-top: 48px; padding-bottom: 110px; justify-content: flex-end; }
  .slide .bands { gap: 6px; }
  .slide-shade { background: linear-gradient(0deg, rgba(9, 22, 26, .95) 0%, rgba(9, 22, 26, .75) 55%, rgba(9, 22, 26, .35) 100%); }
  .slide-text { font-size: 16.5px; }
  .slider-tab-t { display: none; }
  .slider-tab { padding: 18px 6px 18px 0; }
  .slider-arrow { width: 40px; height: 40px; }
  .ticket-over { width: auto; margin: -50px 14px 0; }
  .why-wrap.has-photo .why { grid-template-columns: 1fr; }
  .page-head.has-img { padding: 56px 0 48px; }
}

/* =========================================================
   MOTION
   Only switched on when JavaScript runs (html.motion) and the
   visitor has not asked for reduced motion.
   ========================================================= */

/* Smooth cross-fade between pages (Chrome / Edge / Safari 18+) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }

/* --- Hero load sequence: bands slap on like poster strips, then the ticket swings in --- */
@keyframes bandIn { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes plusPop { 0% { transform: scale(0) rotate(-90deg); } 70% { transform: scale(1.18) rotate(8deg); } 100% { transform: scale(1) rotate(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes ticketSwing {
  0% { opacity: 0; transform: translateY(-40px) rotate(-6deg); }
  60% { opacity: 1; transform: translateY(4px) rotate(2.4deg); }
  80% { transform: translateY(0) rotate(.6deg); }
  100% { transform: rotate(1.2deg); }
}
@keyframes holeShine { 0%, 100% { box-shadow: 0 0 0 0 rgba(18, 25, 28, .0); } 50% { box-shadow: 0 0 0 5px rgba(18, 25, 28, .12); } }

/* Slider: each time a slide becomes active its text animates in again */
html.motion .slide.is-active .band { animation: bandIn .6s cubic-bezier(.7, 0, .2, 1) both; }
html.motion .slide.is-active .plus { animation: plusPop .45s cubic-bezier(.3, 1.4, .5, 1) both; }
html.motion .slide.is-active .slide-label,
html.motion .slide.is-active .slide-text,
html.motion .slide.is-active .hero-cta { animation: fadeUp .6s ease-out both; }
html.motion .slide.is-active .slide-label { animation-delay: .1s; }
html.motion .slide.is-active .slide-img { animation: kenBurns 9s ease-out both; }
@keyframes kenBurns { from { transform: scale(1.12) translateX(-1.5%); } to { transform: scale(1) translateX(0); } }
html.motion .slide.is-active .band:nth-child(1) { animation-delay: .2s; }
html.motion .slide.is-active .plus:nth-child(2) { animation-delay: .38s; }
html.motion .slide.is-active .band:nth-child(3) { animation-delay: .4s; }
html.motion .slide.is-active .plus:nth-child(4) { animation-delay: .56s; }
html.motion .slide.is-active .band:nth-child(5) { animation-delay: .58s; }
html.motion .slide.is-active .plus:nth-child(6) { animation-delay: .74s; }
html.motion .slide.is-active .band:nth-child(7) { animation-delay: .76s; }
html.motion .slide.is-active .slide-text { animation-delay: .55s; }
html.motion .slide.is-active .hero-cta { animation-delay: .7s; }

/* Intro: curriculum card swings in when scrolled into view */
html.motion .intro-visual .ticket { opacity: 0; }
html.motion .intro-visual.in .ticket { opacity: 1; animation: ticketSwing 1s cubic-bezier(.3, .9, .4, 1) .25s backwards; transform-origin: 50% 0; }
html.motion .intro-visual.in .ticket-hole { animation: holeShine 2.4s ease-in-out 1.4s 2; }
html.motion .intro-visual.in .ticket-list li { animation: fadeUp .4s ease-out backwards; }
html.motion .intro-visual.in .ticket-list li:nth-child(1) { animation-delay: .7s; }
html.motion .intro-visual.in .ticket-list li:nth-child(2) { animation-delay: .78s; }
html.motion .intro-visual.in .ticket-list li:nth-child(3) { animation-delay: .86s; }
html.motion .intro-visual.in .ticket-list li:nth-child(4) { animation-delay: .94s; }
html.motion .intro-visual.in .ticket-list li:nth-child(n+5) { animation-delay: 1.02s; }
html.motion .page-head h1, html.motion .page-head .lead, html.motion .crumbs { animation: fadeUp .6s ease-out both; }
html.motion .page-head h1 { animation-delay: .08s; }
html.motion .page-head .lead { animation-delay: .18s; }

/* --- Scroll reveal --- */
html.motion [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
html.motion [data-reveal="left"] { transform: translateX(-36px); }
html.motion [data-reveal="right"] { transform: translateX(36px); }
html.motion [data-reveal="zoom"] { transform: scale(.94); }
html.motion [data-reveal="none"] { opacity: 1; transform: none; }
html.motion [data-reveal].in { opacity: 1; transform: none; }

/* Underline that draws itself under section titles */
.sec-head h2 { position: relative; display: inline-block; }
.sec-head h2::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 5px; width: 64px; background: var(--tape); transform-origin: left; }
html.motion .sec-head h2::after { transform: scaleX(0); transition: transform .7s cubic-bezier(.7, 0, .2, 1) .25s; }
html.motion .sec-head.in h2::after { transform: scaleX(1); }
.sec-head h2 { margin-bottom: 18px; }

/* Big phone number underline sweep */
html.motion .big-phone { border-bottom-color: transparent; background: linear-gradient(var(--tape), var(--tape)) left bottom / 0 5px no-repeat; transition: background-size .9s cubic-bezier(.7, 0, .2, 1) .3s; border-bottom-width: 0; padding-bottom: 9px; }
html.motion .enquire-info.in .big-phone { background-size: 100% 5px; }

/* --- Hover & press feedback --- */
.module, .why-item, .careers li, .review, .fac, .syl, .spec-row, .kit-list li, .areas li, .nav a, .head-call, .link, .chip, .foot-links a, .foot-contact a, .socials a {
  transition: background-color .25s, color .25s, transform .25s, box-shadow .25s, border-color .25s;
}
.module:hover { background: #fffbea; }
.module-ic { transition: transform .4s cubic-bezier(.3, 1.4, .5, 1); }
.module:hover .module-ic { transform: rotate(-10deg) scale(1.08); }
.why-ic .ic { transition: transform .4s cubic-bezier(.3, 1.4, .5, 1); }
.why-item:hover .why-ic .ic { transform: translateY(-4px) scale(1.1); }
.careers li:hover { background: rgba(255, 255, 255, .06); }
.career-ic .ic { transition: transform .35s; }
.careers li:hover .career-ic .ic { transform: scale(1.15); }
.review:hover, .syl:hover, .fac:hover { transform: translateY(-4px); box-shadow: 6px 6px 0 var(--ink); }
.spec-row:hover dd { background: #fffbea; }
.spec dd { transition: background-color .25s; }
.kit-list li:hover { transform: translateX(6px); }
.kit-ic { transition: background-color .25s, color .25s; }
.kit-list li:hover .kit-ic { background: var(--tape); color: var(--ink); }
.areas li:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.ticket { transition: transform .4s cubic-bezier(.3, 1.4, .5, 1), box-shadow .4s; }
.intro .ticket:hover { transform: rotate(-.6deg) translateY(-4px); box-shadow: 12px 12px 0 var(--ink); }
.head-call:hover { transform: translateY(-1px); }
.head-call .ic { transition: transform .3s; }
.head-call:hover .ic { animation: ring .6s ease-in-out; }
@keyframes ring { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-18deg); } 40% { transform: rotate(14deg); } 60% { transform: rotate(-10deg); } 80% { transform: rotate(6deg); } }
.btn-tape .ic { transition: transform .3s; }
.btn-tape:hover .ic { transform: translateX(2px) rotate(-8deg); }
.link { background: linear-gradient(var(--tape), var(--tape)) left bottom / 0 2px no-repeat; transition: background-size .3s, color .25s; }
.link:hover { background-size: 100% 2px; }

/* Header gains a shadow once you scroll */
.site-head { transition: box-shadow .3s; }
.site-head.scrolled { box-shadow: 0 6px 20px rgba(18, 25, 28, .08); }

/* Mobile menu slides down */
@media (max-width: 860px) {
  .nav { display: flex; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .22s, transform .22s, visibility 0s .22s; }
  .nav.open { visibility: visible; opacity: 1; transform: none; transition: opacity .22s, transform .22s, visibility 0s; }
  .dock a { transition: background-color .2s; }
  .dock a:active { background: rgba(255, 255, 255, .12); }
}

/* FAQ answer opens smoothly (JS animates the height) */
.faq-a { overflow: hidden; }
.faq-item summary { transition: color .2s; }
.faq-item summary:hover { color: var(--teal); }

/* Lightbox fades and zooms in */
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes lbImg { from { transform: scale(.92); } to { transform: none; } }
.lightbox { animation: lbIn .25s ease-out; }
.lightbox img { animation: lbImg .3s cubic-bezier(.2, .8, .2, 1); }

/* Gallery filter */
.gal-tile { transition: opacity .3s, transform .3s; }

/* Success message after sending an enquiry */
@keyframes popIn { 0% { opacity: 0; transform: scale(.9); } 70% { transform: scale(1.02); } 100% { opacity: 1; transform: none; } }
.form-done { animation: popIn .5s cubic-bezier(.3, 1.4, .5, 1); }
.btn[disabled] { opacity: .7; cursor: progress; }

@media (prefers-reduced-motion: reduce) {
  html.motion [data-reveal] { opacity: 1; transform: none; }
  html.motion .intro-visual .ticket { opacity: 1; }
  .sec-head h2::after { transform: none !important; }
  @view-transition { navigation: none; }
}
