/* Genesis English Medium School: classroom palette
   wall blue, desk red, crest gold, mural green, wordmark navy */

@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
  --navy: #1E1D5C;
  --ink: #23224F;
  --muted: #4B4F7A;
  --blue: #1F73D6;
  --sky: #3C9CE6;
  --tint: #E3F2FD;
  --red: #D9291F;
  --red-dk: #8F1A12;
  --gold: #F3B21B;
  --gold-dk: #A77706;
  --gold-tint: #FFF1C8;
  --green: #1F7A3D;
  --green-tint: #DDF3E4;
  --red-tint: #FFE0DC;
  --paper: #F7FBFF;
  --line: rgba(30, 29, 92, .16);
  --font-display: "Bricolage", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
  --r-lg: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.65 var(--font-body); color: var(--ink); background: #fff; overflow-x: clip; }
img, svg, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--font-display); color: var(--navy); line-height: 1.08; letter-spacing: -.015em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.5rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: 1.3rem; line-height: 1.2; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.soft { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
.ic { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Buttons: cut paper with a hard offset shadow ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .8em 1.5em; border-radius: 999px; border: 2px solid transparent; font: 700 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background-color .12s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(2px); }
.btn-lg { padding: .95em 1.8em; font-size: 1.08rem; }
.btn-sm { padding: .55em 1.1em; font-size: .95rem; }
.btn-block { width: 100%; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 4px 0 var(--red-dk); }
.btn-red:hover { color: #fff; box-shadow: 0 6px 0 var(--red-dk); }
.btn-red:active { box-shadow: 0 1px 0 var(--red-dk); }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 4px 0 var(--gold-dk); }
.btn-gold:hover { color: var(--navy); box-shadow: 0 6px 0 var(--gold-dk); }
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 4px 0 #0A0A2E; }
.btn-navy:hover { color: #fff; box-shadow: 0 6px 0 #0A0A2E; }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--tint); color: var(--navy); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .85); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; gap: .9rem 1rem; align-items: center; }
.center-row { justify-content: center; }
p.center .btn + .btn { margin-left: .5rem; }

/* ---------- Announcement bar and header ---------- */
.topbar { background: var(--gold); color: var(--navy); font-weight: 600; font-size: .95rem; }
.topbar-in { display: flex; justify-content: center; align-items: center; gap: .5rem 1.2rem; flex-wrap: wrap; padding: .5rem 0; }
.topbar p { margin: 0; text-align: center; }
.topbar a { color: var(--navy); font-weight: 800; }
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 4px solid transparent; border-image: linear-gradient(90deg, var(--blue) 0 25%, var(--red) 25% 50%, var(--gold) 50% 75%, var(--green) 75% 100%) 1; }
.bar { display: flex; align-items: center; gap: 1.25rem; min-height: 76px; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.nav a { color: var(--navy); font-weight: 700; text-decoration: none; padding: .55rem .8rem; border-radius: 999px; }
.nav a:hover { background: var(--tint); }
.nav a[aria-current="page"] { box-shadow: inset 0 -4px 0 var(--gold); border-radius: 0; }
.nav .nav-cta { color: #fff; margin-left: .5rem; }
.nav .nav-cta:hover { background: var(--red); }
.hdr-phone { display: none; align-items: center; gap: .4rem; font-weight: 800; color: var(--navy); text-decoration: none; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 2px solid var(--navy); border-radius: 12px; background: #fff; color: var(--navy); cursor: pointer; align-items: center; justify-content: center; }
.burger .ic { width: 24px; height: 24px; }
@media (min-width: 1180px) { .hdr-phone { display: inline-flex; } .nav { margin-left: 1rem; } .bar { gap: 1rem; } .hdr-phone { margin-left: auto; } .nav { margin-left: auto; } }

/* ---------- Hero: pinned photos on the classroom wall ---------- */
.hero { background: var(--tint); padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3.5rem, 7vw, 6rem); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.chip { display: inline-flex; align-items: center; gap: .6rem; background: var(--gold); color: var(--navy); font-weight: 800; padding: .4rem 1rem .4rem .8rem; border-radius: 999px; margin: 0 0 1.4rem; font-size: .98rem; }
.chip .dot { width: .7rem; height: .7rem; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(217, 41, 31, .25); }
.hero h1 { max-width: 13ch; margin-bottom: .45em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--muted); max-width: 54ch; }
.hero .cta-row { margin: 1.8rem 0 1.8rem; }
.proof { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; align-items: center; color: var(--navy); font-weight: 600; }
.proof p { margin: 0; }
.rating { display: inline-flex; align-items: center; gap: .5rem; }
.rating strong { font-size: 1.15rem; }
.stars { display: inline-flex; color: var(--gold); }
.stars .ic { width: 1.1rem; height: 1.1rem; }
.proof-line { display: inline-flex; align-items: center; gap: .5rem; }

.wall { position: relative; aspect-ratio: 1 / 1.08; background: var(--blue); border-radius: 44px 150px 44px 44px; }
.wall::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background:
  radial-gradient(circle at 18% 14%, rgba(255,255,255,.18) 0 90px, transparent 91px),
  radial-gradient(circle at 92% 88%, rgba(255,255,255,.12) 0 130px, transparent 131px); }
.cut { position: absolute; z-index: 1; }
.c-cloud { width: 28%; top: -5%; right: 8%; filter: drop-shadow(0 6px 0 rgba(30,29,92,.18)); }
.c-flower { width: 17%; left: -5%; top: 44%; z-index: 3; transform: rotate(-12deg); filter: drop-shadow(0 5px 0 rgba(30,29,92,.2)); }
.c-star { width: 11%; right: 3%; bottom: 7%; z-index: 3; transform: rotate(14deg); filter: drop-shadow(0 4px 0 rgba(30,29,92,.2)); }
.c-leaf { width: 12%; left: 5%; bottom: 7%; z-index: 1; transform: rotate(-20deg); }
.pin { position: absolute; margin: 0; background: #fff; padding: 9px; border-radius: 6px; box-shadow: 0 16px 30px rgba(10, 10, 50, .3); z-index: 2; --r: 0deg; transform: rotate(var(--r)); }
.pin::before { content: ""; position: absolute; top: -13px; left: 50%; width: 76px; height: 24px; margin-left: -38px; background: rgba(243, 178, 27, .85); transform: rotate(-3deg); border-radius: 2px; }
.pin img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.pin-a { left: 7%; top: 7%; width: 47%; aspect-ratio: 4/5; --r: -4deg; }
.pin-b { right: 5%; top: 17%; width: 50%; aspect-ratio: 4/3; --r: 4deg; z-index: 3; }
.pin-c { left: 31%; bottom: 6%; width: 33%; aspect-ratio: 1; --r: 2deg; z-index: 4; }
@keyframes drop { from { opacity: 0; transform: translateY(-34px) rotate(calc(var(--r) - 5deg)); } to { opacity: 1; transform: rotate(var(--r)); } }
.pin { animation: drop .7s cubic-bezier(.2, .8, .3, 1.2) both; }
.pin-b { animation-delay: .14s; }
.pin-c { animation-delay: .28s; }

/* ---------- Strip ---------- */
.strip { background: var(--navy); color: #fff; }
.strip-in { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2.2rem; padding: 1rem 0; font-weight: 700; }
.strip-in li { display: inline-flex; align-items: center; gap: .5rem; }
.strip-in .ic { color: var(--gold); }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.sec-head { max-width: 46rem; margin-bottom: 2.6rem; }
.sec-head p { color: var(--muted); font-size: 1.15rem; margin: 0; }
.sec-head.left { margin-bottom: 0; }
.sec-head.on-dark h2 { color: #fff; }
.sec-head.on-dark p { color: rgba(255, 255, 255, .88); }
.prose p { max-width: 62ch; }
.prose.big p { font-size: 1.18rem; }

/* Why */
.why-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.why-head { position: sticky; top: 112px; }
.why-head p { color: var(--muted); font-size: 1.15rem; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; }
.why-item { display: flex; gap: 1rem; padding: 1.5rem 0; border-top: 2px dashed var(--line); }
.why-item h3 { margin-bottom: .3em; }
.why-item p { margin: 0; color: var(--muted); font-size: 1rem; }
.why-ic { flex: none; width: 52px; height: 52px; border-radius: 50% 50% 50% 14px; display: grid; place-items: center; color: #fff; }
.why-ic .ic { width: 26px; height: 26px; }
.c0 .why-ic { background: var(--blue); }
.c1 .why-ic { background: var(--red); }
.c2 .why-ic { background: var(--gold); color: var(--navy); }
.c3 .why-ic { background: var(--green); }

/* Programs */
.programs { background: var(--paper); }
.prog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; align-items: start; margin-bottom: 2.6rem; }
.prog { border-radius: 30px 30px 8px 30px; overflow: hidden; color: #fff; display: flex; flex-direction: column; }
.prog:nth-child(even) { margin-top: 2rem; border-radius: 30px 30px 30px 8px; }
.prog img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.prog-body { padding: 1.3rem 1.4rem 1.5rem; }
.prog-body h3 { color: inherit; margin-bottom: .35em; }
.prog-body p { margin: 0 0 .6em; font-size: 1rem; }
.prog-grades { font-weight: 800; font-size: .95rem; opacity: .92; }
.prog-fee { border-top: 2px dashed currentColor; padding-top: .8rem; margin-top: 1rem; }
.prog-fee strong { font-size: 1.2em; }
.prog-fee.dark { border: 0; padding: 0; color: var(--navy); }
.prog-gold { background: var(--gold); color: var(--navy); }
.prog-red { background: var(--red); }
.prog-green { background: var(--green); }
.prog-blue { background: var(--blue); }
.prog-gold .prog-body h3 { color: var(--navy); }

/* Life / gallery board */
.board { columns: 3; column-gap: 1.4rem; }
.tile { break-inside: avoid; margin: 0 0 1.4rem; --r: 0deg; }
.tile:nth-child(3n+1) { --r: -1.2deg; }
.tile:nth-child(3n+2) { --r: 1deg; }
.tile:nth-child(3n) { --r: -.5deg; }
.photo { display: block; width: 100%; padding: 8px; border: 0; background: #fff; border-radius: 8px; box-shadow: 0 8px 22px rgba(30, 29, 92, .18); transform: rotate(var(--r)); transition: transform .2s ease, box-shadow .2s ease; cursor: zoom-in; }
.photo:hover { transform: rotate(0) scale(1.02); box-shadow: 0 14px 30px rgba(30, 29, 92, .25); }
.photo img { width: 100%; border-radius: 3px; }
.cap { margin: .6rem .3rem 0; font-size: .95rem; color: var(--muted); font-weight: 600; }
.tile[hidden] { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.chipbtn { border: 2px solid var(--navy); background: #fff; color: var(--navy); font-weight: 700; padding: .45rem 1.1rem; border-radius: 999px; cursor: pointer; }
.chipbtn:hover { background: var(--tint); }
.chipbtn.is-on { background: var(--navy); color: #fff; }

/* Principal */
.principal { background: var(--tint); overflow: hidden; }
.principal-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.principal-photo { margin: 0; position: relative; max-width: 440px; }
.principal-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 24px; box-shadow: 14px 14px 0 var(--sky); }
.p-star { width: 22%; right: -8%; top: -6%; transform: rotate(14deg); filter: drop-shadow(0 4px 0 rgba(30,29,92,.2)); }
.principal-text .prose p { font-size: 1.15rem; }
.sign { margin-top: 1.5rem; display: flex; flex-direction: column; }
.sign strong { font-family: var(--font-display); font-size: 1.4rem; color: var(--navy); }
.sign span { color: var(--muted); font-weight: 600; }

/* Testimonials: speech bubbles */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 1.6rem; }
.quote { margin: 0; padding: 2rem 2rem 1.7rem; border-radius: 30px 30px 30px 6px; position: relative; }
.quote blockquote { margin: 0 0 1.2rem; }
.quote blockquote p { font-size: 1.2rem; line-height: 1.5; font-weight: 500; color: var(--navy); margin: 0; }
.quote figcaption { display: flex; flex-direction: column; }
.quote figcaption strong { color: var(--navy); }
.quote figcaption span { color: var(--muted); font-size: .95rem; }
.qmark { width: 2.6rem; height: 2.6rem; margin-bottom: .6rem; }
.q0 { background: var(--gold-tint); } .q0 .qmark { color: var(--gold); }
.q1 { background: var(--tint); } .q1 .qmark { color: var(--blue); }
.q2 { background: var(--green-tint); } .q2 .qmark { color: var(--green); }

/* Admission */
.admit { background: var(--blue); color: #fff; position: relative; }
.admit h3 { color: #fff; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: s; }
.steps li { position: relative; }
.steps li p { margin: 0; opacity: .95; }
.step-n { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--gold); color: var(--navy); font: 800 1.7rem var(--font-display); margin-bottom: 1rem; box-shadow: 0 4px 0 var(--gold-dk); }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 30px; left: 76px; right: -1rem; border-top: 3px dashed rgba(255, 255, 255, .5); }
.admit-foot { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: 3.5rem; align-items: start; }
.ticks li { display: flex; gap: .7rem; padding: .35rem 0; align-items: flex-start; }
.ticks .ic { color: var(--gold); margin-top: .2em; }
.admit-fees { background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: 1.8rem; }
.admit-fees h3 { color: var(--navy); }
.admit-fees .btn { margin-top: 1rem; }
.admit-page { padding-bottom: clamp(3rem, 6vw, 5rem); }
.admit-page .steps { margin-top: 0; }
.ticks.big li { font-size: 1.15rem; }
.docs-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.docs-grid .ticks .ic { color: var(--green); }
.note-box { background: #fff; border: 3px solid var(--navy); border-radius: var(--r-lg); padding: 1.8rem; box-shadow: 8px 8px 0 var(--gold); }
.note-box p:last-child { margin: 0; }
.fees { background: var(--paper); }
.fee-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 1.6rem 2.4rem; }
.fee-group h3 { margin-bottom: .4rem; }
.fee-table { width: 100%; border-collapse: collapse; }
.fee-table th, .fee-table td { padding: .65rem 0; border-bottom: 2px dashed var(--line); text-align: left; font-size: 1.02rem; }
.fee-table th { font-weight: 500; }
.fee-table td { text-align: right; font-weight: 800; color: var(--navy); white-space: nowrap; }
.admit-fees .fee-group { margin-bottom: .6rem; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq details { border-bottom: 2px solid var(--line); }
.faq details:first-child { border-top: 2px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0; font: 700 1.15rem/1.35 var(--font-display); color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 1.6rem; height: 1.6rem; color: var(--red); transition: transform .2s ease; }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq-a { padding: 0 0 1.2rem; color: var(--muted); max-width: 60ch; }
.faq-a p { margin: 0; }

/* Visit / forms */
.visit { background: var(--paper); }
.visit-grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.visit-info > p { color: var(--muted); font-size: 1.12rem; }
.contact-list { margin: 1.4rem 0 1.8rem; display: grid; gap: .8rem; }
.contact-list li { display: flex; gap: .8rem; align-items: flex-start; }
.contact-list .ic { color: var(--red); margin-top: .2em; }
.contact-list a { font-weight: 700; }
.map iframe { width: 100%; height: 320px; border: 0; border-radius: 22px; background: var(--tint); }
.visit-form { background: #fff; border: 3px solid var(--navy); border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: 9px 9px 0 var(--gold); }
.visit-form h2, .visit-form h3 { font-size: 1.6rem; margin-bottom: .8rem; }
.form { display: grid; gap: 1rem; }
.form-card { background: #fff; border: 3px solid var(--navy); border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: 9px 9px 0 var(--gold); }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 700; color: var(--navy); font-size: .98rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 2px solid #A9B7DA; border-radius: 14px; padding: .78rem .95rem; }
.field input[type="file"] { padding: .6rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--sky); border-color: var(--blue); }
.field .err, .field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--red); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; min-height: 1.5em; font-weight: 700; }
.form-status.ok { color: var(--green); }
.form-status.bad { color: var(--red); }
.form-note { margin: 0; font-size: .92rem; color: var(--muted); }

/* Inner pages */
.page-hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 4.5rem) 0; background: var(--tint); }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); max-width: 18ch; }
.page-hero .lead { margin: 0; }
.page-hero .wrap { position: relative; z-index: 2; }
.tone-gold { background: var(--gold-tint); } .tone-green { background: var(--green-tint); } .tone-red { background: var(--red-tint); }
.ph-star { width: 90px; right: 12%; top: 22%; transform: rotate(14deg); opacity: .95; }
.ph-flower { width: 130px; right: 2%; bottom: -26px; transform: rotate(-10deg); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.frame { margin: 0; background: #fff; padding: 10px; border-radius: 10px; box-shadow: 0 14px 34px rgba(30, 29, 92, .22); transform: rotate(-1.5deg); }
.frame img { width: 100%; border-radius: 4px; aspect-ratio: 4/3; object-fit: cover; }
.frame.tilt1 { transform: rotate(1.5deg); }
.values { background: var(--paper); }
.value-row { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.val { flex: 1 1 220px; min-height: 150px; display: grid; place-items: center; padding: 1.5rem; font: 800 clamp(1.8rem, 3.4vw, 2.6rem)/1 var(--font-display); color: #fff; }
.val-gold { background: var(--gold); color: var(--navy); border-radius: 60px 60px 60px 12px; }
.val-red { background: var(--red); border-radius: 12px 60px 60px 60px; }
.val-green { background: var(--green); border-radius: 60px 12px 60px 60px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 1.6rem; }
.team-grid img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 22px; margin-bottom: .8rem; }
.team-grid h3 { margin: 0; font-size: 1.15rem; }
.team-grid p { margin: 0; color: var(--muted); font-size: .98rem; }
.acad { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding: clamp(1.5rem, 3vw, 2.5rem) 0; }
.acad.flip .frame { order: 2; }
.pill { display: inline-block; font-weight: 800; font-size: .95rem; padding: .3rem .9rem; border-radius: 999px; margin-bottom: 1rem; }
.pill-gold { background: var(--gold); color: var(--navy); } .pill-red { background: var(--red); color: #fff; } .pill-green { background: var(--green); color: #fff; } .pill-blue { background: var(--blue); color: #fff; }
.act-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem 2rem; }
.act { padding-top: 1rem; border-top: 6px solid var(--blue); }
.act.a1 { border-color: var(--red); } .act.a2 { border-color: var(--gold); } .act.a3 { border-color: var(--green); }
.act p { margin: 0; color: var(--muted); }
.callout { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; align-items: center; justify-content: space-between; background: var(--tint); border-radius: 36px 36px 36px 8px; padding: clamp(1.6rem, 4vw, 3rem); }
.callout h2 { font-size: 1.9rem; }
.callout p { margin: 0; max-width: 56ch; color: var(--muted); }
.cta-band { background: var(--navy); color: #fff; padding: clamp(2.5rem, 5vw, 4rem) 0; }
.cta-in { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; align-items: center; justify-content: space-between; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: .3em; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .85); }
.notices { display: grid; gap: 1.4rem; }
.notice { background: #fff; border: 3px solid var(--navy); border-left-width: 12px; border-radius: 18px; padding: 1.4rem 1.6rem; }
.notice[hidden] { display: none; }
.notice h2 { font-size: 1.5rem; margin-bottom: .4em; }
.notice p { color: var(--muted); }
.notice-meta { display: flex; gap: .8rem; align-items: center; margin-bottom: .6rem; font-size: .92rem; color: var(--muted); font-weight: 600; }
.tag { background: var(--gold); color: var(--navy); font-weight: 800; padding: .15rem .7rem; border-radius: 999px; }
.notice-img { border: 0; padding: 0; background: none; cursor: zoom-in; display: block; max-width: 420px; }
.notice-img img { border-radius: 10px; border: 2px solid var(--line); }
.empty { text-align: center; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; margin-bottom: 3rem; }
.contact-cards { display: grid; gap: 1.2rem; }
.contact-cards li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-cards .ic { width: 52px; height: 52px; padding: 13px; border-radius: 50% 50% 50% 12px; background: var(--blue); color: #fff; }
.contact-cards li:nth-child(2) .ic { background: var(--green); }
.contact-cards li:nth-child(3) .ic { background: var(--red); }
.contact-cards li:nth-child(4) .ic { background: var(--gold); color: var(--navy); }
.contact-cards li:nth-child(5) .ic { background: var(--navy); }
.contact-cards h2 { font-size: 1.15rem; margin: 0 0 .15em; }
.h3 { font-size: 1.6rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .88); padding-top: 3.5rem; }
.site-footer a { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1.1fr; gap: 2rem 2.5rem; padding-bottom: 2.5rem; }
.foot-logo { display: inline-block; background: #fff; padding: .55rem .9rem; border-radius: 16px; }
.foot-logo img { height: 44px; width: auto; }
.foot-motto { font: 800 1.3rem var(--font-display); color: var(--gold); margin: 1rem 0 .3rem; }
.foot-small { font-size: .95rem; margin: 0 0 1rem; }
.foot-h { font: 800 1.1rem var(--font-display); color: #fff; margin-bottom: .9rem; }
.foot-links li { margin-bottom: .45rem; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.foot-contact li { display: flex; gap: .6rem; margin-bottom: .7rem; align-items: flex-start; }
.foot-contact .ic { color: var(--gold); margin-top: .25em; }
.foot-hours li { margin-bottom: .35rem; }
.social { display: flex; gap: .6rem; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.social a:hover { background: var(--gold); color: var(--navy); }
.foot-base { border-top: 1px solid rgba(255, 255, 255, .18); padding: 1.2rem 0; font-size: .92rem; }
.foot-base p { margin: 0; }

/* Mobile quick bar */
.mbar { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(10, 10, 46, .93); z-index: 200; display: grid; place-items: center; padding: 1rem; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-width: 94vw; max-height: 78vh; border-radius: 8px; margin-inline: auto; background: #fff; }
.lightbox figcaption { color: #fff; margin-top: .8rem; font-weight: 600; }
.lb-close { position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); cursor: pointer; display: grid; place-items: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .prog-grid { grid-template-columns: repeat(2, 1fr); }
  .prog:nth-child(even) { margin-top: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .burger { display: inline-flex; }
  .hdr-phone { display: none !important; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; padding: .8rem 20px 1.2rem; gap: .2rem; border-bottom: 4px solid var(--navy); box-shadow: 0 18px 30px rgba(30, 29, 92, .2); display: none; margin: 0; }
  .nav.is-open { display: flex; }
  .nav a { padding: .8rem 1rem; font-size: 1.1rem; }
  .nav a[aria-current="page"] { box-shadow: inset 5px 0 0 var(--gold); border-radius: 0; background: var(--tint); }
  .nav .nav-cta { margin: .6rem 0 0; text-align: center; justify-content: center; }
  .hero-grid, .why-grid, .principal-grid, .faq-grid, .visit-grid, .split, .acad, .docs-grid, .contact-grid { grid-template-columns: 1fr; }
  .why-head { position: static; }
  .wall { max-width: 560px; margin-inline: auto; width: 100%; }
  .hero h1 { max-width: 16ch; }
  .principal-photo { max-width: 340px; }
  .acad.flip .frame { order: 0; }
  .steps li:not(:last-child)::after { display: none; }
}
@media (max-width: 760px) {
  body { padding-bottom: 68px; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr 1.2fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 3px solid var(--navy); box-shadow: 0 -8px 20px rgba(30, 29, 92, .15); }
  .mbar a { display: flex; flex-direction: column; align-items: center; gap: .1rem; padding: .55rem .4rem; color: var(--navy); font-weight: 800; font-size: .85rem; text-decoration: none; }
  .mbar .ic { width: 22px; height: 22px; }
  .mbar-apply { background: var(--red); color: #fff !important; }
  .why-list { grid-template-columns: 1fr; }
  .steps, .admit-foot, .act-grid { grid-template-columns: 1fr; }
  .board { columns: 2; column-gap: 1rem; }
  .field-row { grid-template-columns: 1fr; }
  .prog-grid { grid-template-columns: 1fr; }
  .wall { border-radius: 32px 90px 32px 32px; }
  .cta-row .btn-lg { width: 100%; }
  .foot-grid { grid-template-columns: 1fr; }
  .topbar-in { justify-content: flex-start; }
}
@media (max-width: 440px) {
  .board { column-gap: .7rem; }
  .tile { margin-bottom: .7rem; }
  .pin { padding: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pin { animation: none; }
  .btn, .photo, .faq summary .plus { transition: none; }
}
