/* ==========================================================================
   Demo International School — round 2: colourful sections, page heroes,
   bus route, documents, fees, blog and area pages
   ========================================================================== */

:root { --font-script: "Caveat", "Segoe Print", cursive; --navy: #1B2160; --navy-2: #2A3290; }

.script { font-family: var(--font-script); font-weight: 700; font-size: 1.55em; line-height: 1; color: var(--c, var(--orange)); }
.eyebrow-script { display: block; font-family: var(--font-script); font-weight: 700; font-size: clamp(1.5rem, 1.2rem + .8vw, 2rem); line-height: 1; color: var(--c, var(--orange)); transform: rotate(-2deg); }

/* ---------- Announcement bar ---------- */
.topbar { position: relative; z-index: 101; background: var(--navy); color: #DDE1FF; font-size: 13.5px; font-weight: 700; }
.topbar-row { display: flex; align-items: center; gap: 18px; height: 38px; }
.topbar-ticker { position: relative; flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.topbar-track { display: flex; width: max-content; gap: 44px; animation: ticker 38s linear infinite; }
.topbar-track span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar-track svg { width: 16px; height: 16px; color: var(--yellow); }
.topbar-track a { color: var(--yellow); }
.topbar:hover .topbar-track { animation-play-state: paused; }
.topbar-contact { display: flex; gap: 18px; flex: none; }
.topbar-contact a { display: inline-flex; align-items: center; gap: 6px; color: #fff; }
.topbar-contact svg { width: 15px; height: 15px; color: var(--yellow); }
@media (max-width: 899.98px) { .topbar-contact { display: none; } }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Floating doodles (backgrounds) ---------- */
.doodles { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.doodles svg { position: absolute; width: var(--s, 34px); height: var(--s, 34px); color: var(--c, rgba(255, 255, 255, .16)); stroke-width: 1.6; }
.doodles .dd { animation: doodle-float var(--t, 9s) ease-in-out var(--dl, 0s) infinite alternate; }
@keyframes doodle-float { 0% { transform: translate(0, 0) rotate(-8deg); } 100% { transform: translate(var(--dx, 14px), var(--dy, -18px)) rotate(10deg); } }

/* ---------- Wavy section edges ---------- */
.wave { display: block; width: 100%; height: clamp(34px, 5vw, 70px); }
.wave path { fill: var(--wave, #fff); }
.wave-top { margin-bottom: -1px; }
.wave-bottom { margin-top: -1px; transform: scaleY(-1); }

/* ==========================================================================
   PAGE HEROES (four different looks)
   ========================================================================== */

/* 1) Dark band with doodles and a wave edge */
.hero-dark {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: clamp(52px, 7vw, 100px) clamp(70px, 9vw, 130px);
  background:
    radial-gradient(40% 70% at 100% 10%, rgba(123, 92, 240, .55), transparent 70%),
    radial-gradient(36% 60% at 0% 100%, rgba(229, 48, 108, .35), transparent 70%),
    linear-gradient(160deg, #1E2466 0%, #232C7E 60%, #1B2160 100%);
  color: #CBD0F2; text-align: center;
}
.hero-dark .container { position: relative; z-index: 1; }
.hero-dark .crumbs { justify-content: center; color: #9EA5D8; }
.hero-dark .crumbs a { color: #fff; }
.hero-dark .eyebrow-script { --c: var(--yellow); margin-top: 18px; }
.hero-dark h1 {
  margin: 10px auto 0; max-width: 16em;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.2rem, 1.1rem + 3vw, 3.9rem); line-height: 1.08; color: #fff;
}
.hero-dark h1 .mark { position: relative; z-index: 0; color: var(--yellow); white-space: nowrap; }
.hero-dark h1 .mark svg { position: absolute; z-index: -1; left: -4%; bottom: -.22em; width: 108%; height: .34em; fill: none; stroke: var(--yellow); stroke-width: 5; stroke-linecap: round; }
.hero-dark .lead { max-width: 40em; margin: 18px auto 0; color: #CBD0F2; }
.hero-dark .chips { margin-top: 26px; }
.hero-dark .chip { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: #fff; }
.hero-dark .btn-row { justify-content: center; }
.hero-dark .wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; }
.hero-dark .orb { position: absolute; z-index: 0; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .14); }
.hero-dark .orb-1 { width: 420px; height: 420px; right: -120px; top: -160px; }
.hero-dark .orb-2 { width: 260px; height: 260px; left: -90px; bottom: -110px; }

/* 2) Split hero: text + stacked photo card + trust bar */
.hero-split { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(34px, 5vw, 70px) 0; }
.hero-split::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(42% 60% at 0% 0%, #FFF3DA 0%, rgba(255, 243, 218, 0) 70%),
    radial-gradient(40% 55% at 100% 30%, color-mix(in srgb, var(--accent, var(--pink)) 13%, #fff) 0%, rgba(255, 255, 255, 0) 70%);
}
.hero-split-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(28px, 4vw, 72px); align-items: center; }
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  padding: 6px 14px 6px 8px; border-radius: 999px; background: #fff; border: 1.5px solid #ECEAF4;
  font-size: 13px; font-weight: 800; color: var(--ink-soft);
  box-shadow: 0 8px 18px -14px rgba(30, 36, 86, .5);
}
.eyebrow-pill svg { width: 16px; height: 16px; color: var(--accent, var(--pink)); }
.hero-split h1 { margin-top: 16px; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 1.1rem + 2.9vw, 3.8rem); line-height: 1.08; color: var(--ink); }
.hero-split h1 .hl { --c: var(--accent, var(--pink)); }
.hero-split .tagline { margin-top: 14px; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.08rem, .9rem + .5vw, 1.35rem); color: var(--accent, var(--pink)); }
.hero-split .lead { max-width: 33em; }
.stack { position: relative; justify-self: center; width: min(100%, 560px); margin: 10px 18px 26px 0; }
.stack-back { position: absolute; inset: 22px -22px -22px 22px; border-radius: 34px; background: var(--accent, var(--pink)); opacity: .9; transform: rotate(4deg); }
.stack-back.b2 { inset: 6px 30px -30px -14px; background: var(--yellow); opacity: 1; transform: rotate(-5deg); z-index: -1; }
.stack-main { position: relative; overflow: hidden; border-radius: 30px; border: 7px solid #fff; box-shadow: 0 40px 70px -40px rgba(30, 36, 86, .65); }
.stack-main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.stack-mini {
  position: absolute; z-index: 2; right: -14px; bottom: -22px; width: 34%;
  border-radius: 50%; overflow: hidden; border: 6px solid #fff;
  box-shadow: 0 20px 40px -20px rgba(30, 36, 86, .6);
}
.stack-mini img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.stack .sticker { z-index: 3; }
.stack .sticker.s-top { left: -26px; top: 22px; }
.stack .sticker.s-bottom { left: 10%; bottom: -26px; }
.stack .squiggle { position: absolute; z-index: 3; right: 6%; top: -26px; width: 90px; fill: none; stroke: var(--pink); stroke-width: 3.5; stroke-linecap: round; }
.trust {
  position: relative; z-index: 3; margin-top: clamp(40px, 5vw, 64px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 18px 6px; border-radius: 26px; background: #fff; border: 1px solid #EEEDF6;
  box-shadow: 0 30px 60px -38px rgba(30, 36, 86, .55);
}
.trust li { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 6px 20px; }
.trust li + li { border-left: 1.5px dashed #E3E1EF; }
.trust .t-ic { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: color-mix(in srgb, var(--c) 13%, #fff); color: var(--c); transition: transform .5s var(--spring); }
.trust li:hover .t-ic { transform: rotate(-12deg) scale(1.1); }
.trust .t-ic svg { width: 24px; height: 24px; }
.trust b { display: block; font-family: var(--font-display); font-size: 16px; line-height: 1.2; color: var(--ink); }
.trust small { display: block; margin-top: 2px; font-size: 13px; font-weight: 700; line-height: 1.35; color: var(--muted); }
.hero-split .trust-wrap { padding-bottom: clamp(30px, 4vw, 54px); }
@media (max-width: 1023.98px) { .trust { grid-template-columns: repeat(2, 1fr); padding: 6px; } .trust li { padding: 14px; } .trust li:nth-child(3) { border-left: 0; } .trust li:nth-child(n+3) { border-top: 1.5px dashed #E3E1EF; } }
@media (max-width: 899.98px) {
  .hero-split-grid { grid-template-columns: 1fr; }
  .stack { width: min(100%, 470px); margin-top: 20px; }
  .stack .sticker.s-top { left: -6px; }
}
@media (max-width: 479.98px) { .trust { grid-template-columns: 1fr; } .trust li + li { border-left: 0; border-top: 1.5px dashed #E3E1EF; } .stack-mini { width: 38%; right: -6px; } }

/* 3) Collage hero: three photos fan out */
.hero-collage { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(40px, 5vw, 70px) clamp(40px, 5vw, 80px); text-align: center; background: linear-gradient(180deg, #FFF7EA 0%, #FFF 70%); }
.hero-collage .confetti-bg { position: absolute; inset: 0; z-index: -1; background-image:
  radial-gradient(circle at 12% 22%, var(--pink) 0 5px, transparent 6px), radial-gradient(circle at 86% 18%, var(--teal) 0 6px, transparent 7px),
  radial-gradient(circle at 74% 64%, var(--yellow) 0 5px, transparent 6px), radial-gradient(circle at 22% 72%, var(--green) 0 4px, transparent 5px),
  radial-gradient(circle at 48% 12%, var(--violet) 0 4px, transparent 5px), radial-gradient(circle at 92% 82%, var(--orange) 0 5px, transparent 6px); opacity: .55; }
.hero-collage .crumbs { justify-content: center; }
.hero-collage h1 { margin: 14px auto 0; max-width: 15em; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 1.1rem + 3vw, 3.9rem); line-height: 1.08; color: var(--ink); }
.hero-collage h1 .hl { --c: var(--accent, var(--orange)); }
.hero-collage .lead { max-width: 40em; margin-inline: auto; }
.fan { position: relative; height: clamp(230px, 26vw, 360px); margin-top: clamp(30px, 4vw, 46px); }
.fan figure {
  position: absolute; left: 50%; top: 0; width: min(38%, 400px);
  padding: 10px 10px 40px; background: #fff; border-radius: 18px;
  box-shadow: 0 30px 50px -30px rgba(30, 36, 86, .6);
  transition: transform .8s var(--spring);
}
.fan figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.fan figcaption { position: absolute; left: 0; right: 0; bottom: 8px; font-family: var(--font-script); font-size: 1.45rem; font-weight: 700; color: var(--ink-soft); }
.fan figure::before { content: ""; position: absolute; left: 50%; top: -12px; width: 86px; height: 24px; margin-left: -43px; background: color-mix(in srgb, var(--tape, var(--yellow)) 70%, transparent); transform: rotate(-4deg); border-radius: 3px; }
.fan .f1 { transform: translateX(-140%) rotate(-9deg); --tape: var(--pink); }
.fan .f2 { transform: translateX(-50%) translateY(-8px) rotate(1.5deg); z-index: 2; }
.fan .f3 { transform: translateX(40%) rotate(8deg); --tape: var(--teal); }
.fan:hover .f1 { transform: translateX(-148%) rotate(-12deg) translateY(6px); }
.fan:hover .f3 { transform: translateX(48%) rotate(11deg) translateY(6px); }
@media (max-width: 639.98px) {
  .fan { height: 220px; }
  .fan figure { width: 52%; padding: 6px 6px 28px; }
  .fan figcaption { font-size: 1.1rem; bottom: 4px; }
  .fan .f1 { transform: translateX(-118%) rotate(-9deg); }
  .fan .f3 { transform: translateX(18%) rotate(8deg); }
}

/* 4) Map hero (contact, areas) */
.hero-map { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(34px, 5vw, 70px); background: linear-gradient(160deg, #F2FBF4 0%, #FFFFFF 55%, #EEF4FF 100%); }
.hero-map-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero-map h1 { margin-top: 16px; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 1.1rem + 2.8vw, 3.7rem); line-height: 1.08; color: var(--ink); }
.hero-map h1 .hl { --c: var(--accent, var(--blue)); }
.map-art { position: relative; border-radius: 34px; overflow: hidden; background: #E8F4E5; box-shadow: 0 40px 70px -42px rgba(30, 36, 86, .6); border: 7px solid #fff; }
.map-art svg { display: block; width: 100%; height: auto; }
.map-art .ma-route { fill: none; stroke: var(--blue); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.map-art .ma-route-bg { fill: none; stroke: #fff; stroke-width: 13; stroke-linecap: round; stroke-linejoin: round; }
.map-art .ma-label rect { fill: #fff; }
.map-art .ma-label text { font-family: var(--font-body); font-weight: 800; font-size: 15px; fill: var(--ink); }
@media (max-width: 899.98px) { .hero-map-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   BUS ROUTE (moving bus on a winding road)
   ========================================================================== */
.busroute { position: relative; }
.br-hint {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: fit-content; margin: 0 auto 18px;
  padding: 8px 16px; border-radius: 999px; background: #FFF4D6; color: #7A5500; font-weight: 800; font-size: 14px;
}
.br-hint svg { width: 18px; height: 18px; animation: tap 1.6s ease-in-out infinite; }
@keyframes tap { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-3px) scale(1.12); } }
.br-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 22px; }
.br-chips button {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px;
  background: #fff; border: 1.5px solid color-mix(in srgb, var(--c) 35%, #fff);
  font-weight: 800; font-size: 13.5px; color: var(--ink-soft);
  transition: transform .3s var(--spring), background-color .25s, color .25s;
}
.br-chips button i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.br-chips button:hover { transform: translateY(-2px); }
.br-chips button[aria-pressed="true"] { background: var(--c); color: #fff; }
.br-chips button[aria-pressed="true"] i { background: #fff; }
.br-stage {
  position: relative; overflow: hidden; border-radius: 34px;
  background: linear-gradient(180deg, #EAF7E6 0%, #F7FBEF 100%);
  border: 1px solid #E1EFD9; box-shadow: 0 34px 70px -46px rgba(30, 36, 86, .5);
}
.br-stage svg { display: block; width: 100%; height: auto; }
.br-road-edge { fill: none; stroke: #CFE6C4; stroke-linecap: round; stroke-linejoin: round; }
.br-road { fill: none; stroke: #4C5478; stroke-linecap: round; stroke-linejoin: round; }
.br-lane { fill: none; stroke: #FFD465; stroke-width: 2.5; stroke-dasharray: 14 12; stroke-linecap: round; }
.br-stop { cursor: pointer; }
.br-stop .pin { fill: #fff; stroke: var(--c); stroke-width: 4; transition: r .3s; }
.br-stop .core { fill: var(--c); }
.br-stop .ring { fill: none; stroke: var(--c); stroke-width: 3; opacity: 0; }
.br-stop.ping .ring { animation: stop-ping 1s ease-out; }
.br-stop.active .ring { animation: stop-ping 1.4s ease-out infinite; }
.br-stop .label rect { fill: #fff; stroke: #E8E6F2; }
.br-stop .label text { font-family: var(--font-body); font-weight: 800; fill: var(--ink); }
.br-stop .label .num { fill: var(--c); }
.br-stop.active .label rect, .br-stop:hover .label rect { fill: var(--c); stroke: var(--c); }
.br-stop.active .label text, .br-stop:hover .label text { fill: #fff; }
.br-stop:focus { outline: none; }
.br-stop:focus-visible .pin { stroke-width: 7; }
@keyframes stop-ping { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(2.4); } }
.br-stop .ring { transform-box: fill-box; transform-origin: center; }
.br-tree .crown { fill: var(--g, #7CC36A); }
.br-tree .trunk { fill: #A9805A; }
.br-house .wall { fill: var(--h, #FFE1C7); }
.br-house .roof { fill: var(--r, #EE6C12); }
.br-cloud { fill: #fff; opacity: .9; animation: cloud-drift var(--t, 40s) linear infinite; }
@keyframes cloud-drift { from { transform: translateX(-160px); } to { transform: translateX(1360px); } }
.br-school .flag { animation: flag-wave 1.2s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: left center; }
@keyframes flag-wave { from { transform: skewY(-6deg) scaleX(.92); } to { transform: skewY(6deg) scaleX(1); } }
.br-bus .wheel { transform-box: fill-box; transform-origin: center; }
.br-bus.moving .wheel { animation: spin .6s linear infinite; }
.br-bus .bounce { animation: bus-bounce .5s ease-in-out infinite alternate; }
.br-bus.stopped .bounce { animation: none; }
@keyframes bus-bounce { from { transform: translateY(0); } to { transform: translateY(-1.6px); } }
.br-info {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-top: 18px;
  padding: 16px 22px; border-radius: 22px; background: #fff; border: 1px solid #EEEDF6;
  box-shadow: 0 20px 40px -32px rgba(30, 36, 86, .5);
}
.br-info .bi-title { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: var(--ink); }
.br-info .bi-dot { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--c, var(--blue)); color: #fff; }
.br-info .bi-dot svg { width: 20px; height: 20px; }
.br-info .bi-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 700; color: var(--text); }
.br-info .bi-facts b { color: var(--ink); }
.br-info .btn { margin-left: auto; }
@media (max-width: 639.98px) { .br-stage { border-radius: 24px; } .br-info .btn { margin-left: 0; } }

/* ==========================================================================
   COLOURFUL BUILDING BLOCKS
   ========================================================================== */

/* Skill tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tiles.four { grid-template-columns: repeat(4, 1fr); }
.tile-c {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; gap: 14px; padding: 18px 18px;
  border-radius: 20px; background: color-mix(in srgb, var(--c) 10%, #fff);
  border: 1.5px solid color-mix(in srgb, var(--c) 18%, #fff);
  transition: transform .45s var(--spring), box-shadow .35s;
}
.tile-c::after { content: ""; position: absolute; z-index: -1; right: -26px; bottom: -26px; width: 84px; height: 84px; border-radius: 50%; background: color-mix(in srgb, var(--c) 28%, #fff); transition: transform .6s var(--spring); }
.tile-c:hover { transform: translateY(-5px) rotate(-1deg); box-shadow: 0 20px 34px -24px var(--c); }
.tile-c:hover::after { transform: scale(2.4); }
.tile-c .tc-ic { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: #fff; color: var(--c); box-shadow: 0 8px 16px -10px var(--c); }
.tile-c .tc-ic svg { width: 26px; height: 26px; }
.tile-c b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; line-height: 1.2; color: var(--ink); }
.tile-c small { display: block; margin-top: 2px; font-size: 13px; font-weight: 700; line-height: 1.4; color: var(--muted); }
@media (max-width: 899.98px) { .tiles, .tiles.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479.98px) { .tiles, .tiles.four { grid-template-columns: 1fr; } }

/* Pastel feature cards with layer label */
.pcard2 {
  position: relative; overflow: hidden; isolation: isolate; padding: 26px 24px 30px; border-radius: 26px;
  background: color-mix(in srgb, var(--c) 8%, #fff); border: 1.5px solid color-mix(in srgb, var(--c) 16%, #fff);
  transition: transform .45s var(--spring), box-shadow .35s;
}
.pcard2::after { content: ""; position: absolute; z-index: -1; right: -40px; bottom: -40px; width: 120px; height: 120px; border-radius: 40% 60% 50% 50%; background: color-mix(in srgb, var(--c) 22%, #fff); transition: transform .7s var(--spring); }
.pcard2:hover { transform: translateY(-6px); box-shadow: 0 26px 46px -32px var(--c); }
.pcard2:hover::after { transform: scale(1.7) rotate(40deg); }
.pcard2 .layer { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #fff; color: var(--c); font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.pcard2 .card-icon { margin-top: 14px; background: #fff; box-shadow: 0 10px 18px -12px var(--c); }
.pcard2 h3 { margin: 16px 0 8px; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--ink); }
.pcard2 p { line-height: 1.7; }
.pcard2 .text-link { margin-top: 12px; --c: inherit; }

/* Wing / campus cards on dark */
.wings { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.wing { overflow: hidden; border-radius: 28px; background: #fff; box-shadow: 0 34px 60px -40px rgba(0, 0, 0, .7); transition: transform .5s var(--spring); }
.wing:hover { transform: translateY(-8px) rotate(-.4deg); }
.wing figure { position: relative; overflow: hidden; aspect-ratio: 16 / 9; }
.wing figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.wing:hover figure img { transform: scale(1.07); }
.wing figure .tag { position: absolute; left: 16px; top: 16px; padding: 6px 13px; border-radius: 999px; background: #fff; color: var(--c); font-size: 12.5px; font-weight: 800; box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .5); }
.wing-body { padding: 22px 24px 26px; }
.wing-body h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: var(--ink); }
.wing-body .addr { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 5px 12px; border-radius: 999px; background: color-mix(in srgb, var(--c) 10%, #fff); color: var(--c); font-size: 13px; font-weight: 800; }
.wing-body .addr svg { width: 15px; height: 15px; }
.wing-body p { margin-top: 12px; line-height: 1.7; }
.wing-body .text-link { margin-top: 14px; }
@media (max-width: 767.98px) { .wings { grid-template-columns: 1fr; } }

/* "Campus tour" video-style card */
.tour-card { position: relative; display: block; overflow: hidden; border-radius: 30px; border: 7px solid #fff; box-shadow: 0 40px 70px -42px rgba(30, 36, 86, .65); cursor: pointer; }
.tour-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s var(--ease); }
.tour-card:hover img { transform: scale(1.06); }
.tour-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 20, 54, 0) 40%, rgba(16, 20, 54, .75)); }
.tour-card .play {
  position: absolute; z-index: 1; left: 50%; top: 46%; display: grid; place-items: center;
  width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%;
  background: var(--yellow); color: var(--ink); box-shadow: 0 0 0 0 rgba(255, 197, 61, .7);
  animation: play-pulse-ring 2s ease-out infinite;
}
.tour-card .play svg { width: 34px; height: 34px; margin-left: 5px; }
@keyframes play-pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(255, 197, 61, .7); } 100% { box-shadow: 0 0 0 26px rgba(255, 197, 61, 0); } }
.tour-card .tc-text { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 18px; color: #fff; }
.tour-card .tc-text b { display: block; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.15; }
.tour-card .tc-text small { font-weight: 700; opacity: .85; }
.tour-thumbs { position: absolute; z-index: 1; right: 18px; bottom: 18px; display: flex; }
.tour-thumbs img { width: 54px; height: 54px; aspect-ratio: 1; object-fit: cover; border-radius: 12px; border: 3px solid #fff; margin-left: -10px; }

/* Tour slideshow modal */
.tour-modal { position: fixed; inset: 0; z-index: 520; display: grid; place-items: center; padding: 20px; background: rgba(12, 15, 42, .92); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s linear .3s; }
.tour-modal.open { opacity: 1; visibility: visible; transition-delay: 0s; }
.tour-frame { position: relative; overflow: hidden; width: min(92vw, 1100px); aspect-ratio: 3 / 2; max-height: 78vh; border-radius: 24px; background: #000; }
.tour-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s; }
.tour-frame img.on { opacity: 1; animation: ken 6s ease-out forwards; }
@keyframes ken { from { transform: scale(1.12) translate(2%, 1%); } to { transform: scale(1) translate(0, 0); } }
.tour-cap { position: absolute; left: 20px; bottom: 20px; padding: 10px 16px; border-radius: 14px; background: rgba(255, 255, 255, .92); font-family: var(--font-display); font-weight: 800; color: var(--ink); }
.tour-bar { position: absolute; left: 0; right: 0; top: 0; display: flex; gap: 6px; padding: 14px; }
.tour-bar i { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .35); overflow: hidden; }
.tour-bar i b { display: block; height: 100%; width: 0; background: #fff; }
.tour-bar i.done b { width: 100%; }
.tour-bar i.now b { animation: fill-bar 5s linear forwards; }
@keyframes fill-bar { to { width: 100%; } }

/* Reviews marquee */
.marquee { position: relative; overflow: hidden; display: grid; gap: 18px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.mq-row { display: flex; gap: 18px; width: max-content; animation: ticker var(--t, 60s) linear infinite; }
.mq-row.rev { animation-direction: reverse; }
.marquee:hover .mq-row { animation-play-state: paused; }
.mq-card {
  width: 360px; flex: none; display: flex; flex-direction: column; gap: 12px;
  padding: 22px 22px 20px; border-radius: 24px; background: #fff; border: 1.5px solid color-mix(in srgb, var(--c) 20%, #fff);
  box-shadow: 0 16px 30px -26px rgba(30, 36, 86, .5);
}
.mq-card p { line-height: 1.65; color: var(--ink-soft); font-weight: 600; }
.mq-card footer { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.mq-card .avatar { width: 40px; height: 40px; font-size: .95rem; }
.mq-card footer b { display: block; font-family: var(--font-display); font-size: .98rem; color: var(--ink); line-height: 1.2; }
.mq-card footer small { font-size: 12.5px; font-weight: 700; color: var(--muted); }
@media (max-width: 639.98px) { .mq-card { width: 290px; } }

/* Coral fee band (home) */
.fee-band {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: clamp(60px, 8vw, 110px); text-align: center; color: #FFE9E4;
  background: radial-gradient(60% 80% at 50% 0%, #FF7A6B 0%, transparent 70%), linear-gradient(135deg, #F0505F 0%, #EE6C12 100%);
}
.fee-band h2 { max-width: 18em; margin: 12px auto 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 1.1rem + 2.4vw, 3.1rem); line-height: 1.12; color: #fff; }
.fee-band p { max-width: 38em; margin: 14px auto 0; line-height: 1.7; }
.fee-band .ticks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.fee-band .ticks span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-weight: 800; color: #fff; }
.fee-band .ticks svg { width: 18px; height: 18px; stroke-width: 3; }
.fee-band .btn { margin-top: 28px; background: #fff; box-shadow: 0 16px 30px -14px rgba(120, 20, 10, .6); }
.fee-band .doodles svg { --c: rgba(255, 255, 255, .22); }

/* ==========================================================================
   DOCUMENTS: cards, colourful tables, viewer
   ========================================================================== */
.docs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.docs.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1023.98px) { .docs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639.98px) { .docs, .docs.two { grid-template-columns: 1fr; } }
.doc {
  position: relative; overflow: hidden; display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 20px 18px; border-radius: 22px; background: #fff;
  border: 1.5px solid color-mix(in srgb, var(--c) 22%, #fff);
  box-shadow: 0 18px 36px -30px rgba(30, 36, 86, .5);
  transition: transform .45s var(--spring), box-shadow .3s;
}
.doc::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--c); }
.doc:hover { transform: translateY(-5px); box-shadow: 0 28px 46px -30px var(--c); }
.doc-ic { flex: none; position: relative; width: 52px; height: 64px; transition: transform .5s var(--spring); }
.doc:hover .doc-ic { transform: rotate(-8deg) scale(1.06); }
.doc-ic .sheet { position: absolute; inset: 0; border-radius: 8px 18px 8px 8px; background: color-mix(in srgb, var(--c) 14%, #fff); border: 2px solid var(--c); }
.doc-ic .fold { position: absolute; right: -2px; top: -2px; width: 18px; height: 18px; background: var(--c); border-radius: 0 16px 0 8px; }
.doc-ic .type { position: absolute; left: -6px; bottom: 9px; padding: 2px 6px; border-radius: 6px; background: var(--c); color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; }
.doc-ic .lines { position: absolute; left: 10px; right: 12px; top: 18px; height: 22px; background: repeating-linear-gradient(180deg, color-mix(in srgb, var(--c) 45%, #fff) 0 2.5px, transparent 2.5px 7px); }
.doc-body { min-width: 0; flex: 1; }
.doc-body h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; line-height: 1.3; color: var(--ink); }
.doc-meta { margin-top: 4px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.doc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pill-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px;
  font-size: 13.5px; font-weight: 800; transition: transform .3s var(--spring), background-color .25s, color .25s;
}
.pill-btn svg { width: 15px; height: 15px; stroke-width: 2.4; }
.pill-btn.view { background: color-mix(in srgb, var(--c, var(--blue)) 12%, #fff); color: var(--c, var(--blue)); }
.pill-btn.get { background: var(--c, var(--blue)); color: #fff; }
.pill-btn:hover { transform: translateY(-2px); }
.pill-btn.get:hover svg { animation: dl-bounce .6s var(--spring); }
@keyframes dl-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }

.dsec { margin-top: clamp(40px, 5vw, 64px); }
.dsec:first-child { margin-top: 0; }
.dsec-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.dsec-letter { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: var(--c); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; box-shadow: 0 12px 22px -12px var(--c); }
.dsec-head h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.3rem, 1rem + .9vw, 1.7rem); letter-spacing: .02em; text-transform: uppercase; color: var(--ink); }
.dtable-wrap { overflow-x: auto; border-radius: 20px; background: #fff; box-shadow: 0 22px 44px -36px rgba(30, 36, 86, .55); border: 1px solid color-mix(in srgb, var(--c) 22%, #fff); }
.dtable { width: 100%; min-width: 620px; border-collapse: collapse; }
.dtable th { padding: 14px 18px; background: var(--c); color: #fff; text-align: left; font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.dtable td { padding: 13px 18px; border-top: 1px solid color-mix(in srgb, var(--c) 12%, #fff); vertical-align: middle; }
.dtable td:first-child { width: 56px; text-align: center; font-weight: 800; color: var(--c); }
.dtable td:nth-child(2) { background: color-mix(in srgb, var(--c) 5%, #fff); font-weight: 800; color: var(--ink-soft); font-size: 14.5px; }
.dtable tbody tr { transition: background-color .2s; }
.dtable tbody tr:hover td { background: color-mix(in srgb, var(--c) 9%, #fff); }
.dtable .amt { text-align: right; font-variant-numeric: tabular-nums; font-weight: 800; color: var(--ink); }

.pdf-modal { position: fixed; inset: 0; z-index: 540; display: grid; place-items: center; padding: 16px; background: rgba(12, 15, 42, .8); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s linear .3s; }
.pdf-modal.open { opacity: 1; visibility: visible; transition-delay: 0s; }
.pdf-box { display: flex; flex-direction: column; width: min(96vw, 980px); height: min(90vh, 1100px); overflow: hidden; border-radius: 24px; background: #fff; transform: translateY(20px) scale(.97); transition: transform .45s var(--spring); }
.pdf-modal.open .pdf-box { transform: none; }
.pdf-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px 14px 22px; border-bottom: 1px solid #EEEDF6; }
.pdf-head .doc-ic { width: 34px; height: 42px; }
.pdf-head .doc-ic .type { font-size: 8.5px; left: -5px; bottom: 5px; padding: 1px 4px; }
.pdf-head .doc-ic .lines { top: 12px; left: 7px; right: 8px; height: 14px; }
.pdf-head .doc-ic .fold { width: 12px; height: 12px; }
.pdf-head b { flex: 1; min-width: 0; font-family: var(--font-display); font-size: 1.1rem; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pdf-close { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #F3F2FC; color: var(--ink); }
.pdf-close svg { width: 20px; height: 20px; }
.pdf-box iframe { flex: 1; width: 100%; border: 0; background: #E9E8F1; }

/* ==========================================================================
   FEES
   ========================================================================== */
.fee-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1023.98px) { .fee-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639.98px) { .fee-cards { grid-template-columns: 1fr; } }
.fee-card { position: relative; overflow: hidden; border-radius: 28px; background: #fff; border: 1px solid #EEEDF6; box-shadow: 0 24px 48px -36px rgba(30, 36, 86, .55); transition: transform .45s var(--spring), box-shadow .35s; }
.fee-card:hover { transform: translateY(-8px); box-shadow: 0 36px 60px -36px var(--c); }
.fee-top { position: relative; overflow: hidden; padding: 22px 24px 24px; color: #fff; background: linear-gradient(135deg, var(--c) 0%, var(--c2, var(--c)) 100%); }
.fee-top::after { content: ""; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; border: 18px solid rgba(255, 255, 255, .16); }
.fee-top .ft-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, .2); }
.fee-top .ft-ic svg { width: 24px; height: 24px; }
.fee-top h3 { margin-top: 14px; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; }
.fee-top small { font-weight: 700; opacity: .9; }
.fee-amt { padding: 20px 24px 6px; }
.fee-amt .big { font-family: var(--font-display); font-weight: 800; font-size: 2.3rem; line-height: 1; color: var(--ink); }
.fee-amt .per { font-size: 13.5px; font-weight: 800; color: var(--muted); }
.fee-rows { padding: 8px 24px 24px; }
.fee-rows li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1.5px dashed #EEEDF6; font-weight: 700; }
.fee-rows li b { color: var(--ink); font-variant-numeric: tabular-nums; }
.fee-rows li:last-child { border-bottom: 0; }

.calc {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-radius: 32px; background: #fff; box-shadow: 0 40px 80px -44px rgba(30, 36, 86, .6); border: 1px solid #EEEDF6;
}
.calc-in { padding: clamp(24px, 3.5vw, 40px); }
.calc-in h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.55rem; color: var(--ink); }
.calc-in .field { margin-top: 16px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button { padding: 9px 14px; border-radius: 12px; border: 1.5px solid #E2E0EE; background: #FCFCFF; font-weight: 800; font-size: 14px; color: var(--ink-soft); transition: all .25s; }
.seg button[aria-pressed="true"] { border-color: var(--c, var(--pink)); background: var(--c, var(--pink)); color: #fff; transform: translateY(-1px); }
.toggle { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink-soft); cursor: pointer; }
.toggle input { appearance: none; width: 46px; height: 26px; border-radius: 99px; background: #DCDAE8; position: relative; transition: background-color .25s; cursor: pointer; }
.toggle input::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: transform .3s var(--spring); }
.toggle input:checked { background: var(--green); }
.toggle input:checked::after { transform: translateX(20px); }
.calc-out { position: relative; padding: clamp(24px, 3.5vw, 40px); color: #DDE2FF; background: linear-gradient(150deg, #252C70, #3466E0 70%, #7B5CF0); }
.calc-out .co-label { font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: 12.5px; color: var(--yellow); }
.calc-out .co-total { margin-top: 8px; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem); line-height: 1; color: #fff; }
.calc-out .co-rows { margin-top: 20px; }
.calc-out .co-rows li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed rgba(255, 255, 255, .2); font-weight: 700; }
.calc-out .co-rows b { color: #fff; font-variant-numeric: tabular-nums; }
.calc-out .co-q { margin-top: 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.calc-out .co-q span { padding: 10px 6px; border-radius: 12px; background: rgba(255, 255, 255, .1); text-align: center; font-size: 12px; font-weight: 800; }
.calc-out .co-q span b { display: block; margin-top: 2px; font-size: 14px; color: #fff; }
@media (max-width: 899.98px) { .calc { grid-template-columns: 1fr; } }

.instal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.inst { position: relative; padding: 22px 20px; border-radius: 24px; background: color-mix(in srgb, var(--c) 9%, #fff); border: 1.5px solid color-mix(in srgb, var(--c) 20%, #fff); transition: transform .4s var(--spring); }
.inst:hover { transform: translateY(-5px) rotate(-1deg); }
.inst .q { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; }
.inst h3 { margin-top: 12px; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--ink); }
.inst .due { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 800; color: var(--c); }
.inst .due svg { width: 16px; height: 16px; }
.inst p { margin-top: 6px; font-size: 14.5px; }
@media (max-width: 899.98px) { .instal { grid-template-columns: repeat(2, 1fr); } }

.ntable-wrap { overflow-x: auto; border-radius: 20px; background: #fff; box-shadow: 0 22px 44px -36px rgba(30, 36, 86, .55); }
.ntable { width: 100%; min-width: 560px; border-collapse: collapse; }
.ntable th { padding: 15px 18px; background: var(--navy); color: #fff; text-align: left; font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.ntable th:first-child { border-radius: 0; }
.ntable td { padding: 13px 18px; border-top: 1px solid #F0EEF7; font-weight: 700; }
.ntable tbody tr:nth-child(even) td { background: #FAF9FE; }
.ntable tbody tr:hover td { background: #FFF6E3; }
.ntable .amt { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
.ntable th.amt { text-align: right; }
.ntable .yes { color: var(--green); font-weight: 800; }
.ntable .no { color: var(--pink); font-weight: 800; }
.tbl-title { display: flex; align-items: center; gap: 10px; margin: 30px 0 14px; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: var(--ink); }
.tbl-title::before { content: ""; width: 5px; height: 22px; border-radius: 4px; background: var(--c, var(--yellow-deep)); }

/* Compare table */
.compare td .ok, .compare td .no-ic { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 8px; border-radius: 50%; vertical-align: middle; }
.compare td .ok { background: #E6F6DF; color: var(--green); }
.compare td .no-ic { background: #FFE6EE; color: var(--pink); }
.compare td svg { width: 14px; height: 14px; stroke-width: 3; }
.compare td.us { background: #F2FBEE !important; color: var(--ink); }
.compare th.us { background: var(--green) !important; }

/* Numbered vertical steps */
.vsteps { display: grid; gap: 14px; counter-reset: vs; }
.vstep {
  position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start;
  padding: 18px 20px; border-radius: 20px; background: #fff; border: 1px solid #EEEDF6;
  box-shadow: 0 14px 30px -28px rgba(30, 36, 86, .5); transition: transform .4s var(--spring), border-color .3s;
}
.vstep:hover { transform: translateX(6px); border-color: color-mix(in srgb, var(--c) 40%, #fff); }
.vstep .n { counter-increment: vs; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--c); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; box-shadow: 0 10px 18px -10px var(--c); }
.vstep .n::before { content: counter(vs); }
.vstep .n.time::before { content: none; }
.vstep h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; color: var(--ink); }
.vstep p { margin-top: 3px; line-height: 1.6; }
.vstep .t { display: inline-block; margin-bottom: 4px; padding: 2px 9px; border-radius: 999px; background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); font-size: 12.5px; font-weight: 800; }

/* Visit cards */
.visit { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.visit-card { position: relative; padding: 24px 24px 22px; border-radius: 24px; background: #fff; border: 1px solid #EEEDF6; box-shadow: 0 24px 46px -36px rgba(30, 36, 86, .55); }
.visit-card::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 5px; border-radius: 0 5px 5px 0; background: var(--c); }
.visit-card h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: var(--ink); }
.visit-card ul { margin-top: 12px; display: grid; gap: 8px; }
.visit-card li { display: flex; gap: 10px; line-height: 1.5; font-weight: 700; }
.visit-card li svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--c); }
.visit-card .doc-actions { margin-top: 16px; }
@media (max-width: 767.98px) { .visit { grid-template-columns: 1fr; } }

/* ==========================================================================
   BLOG
   ========================================================================== */
.blog-wrap { display: grid; grid-template-columns: 1fr 330px; gap: clamp(26px, 3.5vw, 48px); align-items: start; }
@media (max-width: 1023.98px) { .blog-wrap { grid-template-columns: 1fr; } }
.post-list { display: grid; gap: 20px; }
.post-row {
  display: grid; grid-template-columns: 300px 1fr; gap: 22px; align-items: center;
  padding: 14px; border-radius: 26px; background: #fff; border: 1px solid #EEEDF6;
  box-shadow: 0 20px 40px -34px rgba(30, 36, 86, .5); transition: transform .45s var(--spring), box-shadow .35s;
}
.post-row:hover { transform: translateY(-5px); box-shadow: 0 30px 50px -32px rgba(30, 36, 86, .55); }
.post-row figure { position: relative; overflow: hidden; border-radius: 18px; aspect-ratio: 16 / 11; }
.post-row figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.post-row:hover figure img { transform: scale(1.07); }
.post-row .tag { position: absolute; left: 10px; top: 10px; padding: 4px 11px; border-radius: 999px; background: #fff; color: var(--c); font-size: 12px; font-weight: 800; }
.post-row h2 { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; line-height: 1.3; color: var(--ink); }
.post-row h2 a:hover { color: var(--c); }
.post-row p { margin-top: 8px; line-height: 1.65; }
.post-row .text-link { margin-top: 10px; }
@media (max-width: 639.98px) { .post-row { grid-template-columns: 1fr; } }
.post-row.feature { grid-template-columns: 1fr 1fr; padding: 16px; background: linear-gradient(135deg, #FFF8E8, #FFEEF4); }
.post-row.feature h2 { font-size: 1.6rem; }
@media (max-width: 767.98px) { .post-row.feature { grid-template-columns: 1fr; } }
.side { display: grid; gap: 20px; position: sticky; top: 110px; }
.side-box { padding: 22px; border-radius: 24px; background: #fff; border: 1px solid #EEEDF6; box-shadow: 0 18px 36px -32px rgba(30, 36, 86, .5); }
.side-box h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--ink); }
.side-box h3::before { content: ""; width: 5px; height: 20px; border-radius: 4px; background: var(--yellow-deep); }
.side-post { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; padding: 8px 0; }
.side-post img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; }
.side-post b { display: block; font-family: var(--font-display); font-weight: 700; font-size: .98rem; line-height: 1.3; color: var(--ink); }
.side-post small { font-size: 12px; font-weight: 700; color: var(--muted); }
.side-post:hover b { color: var(--pink); }
.side-links li a { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed #EEEDF6; font-weight: 700; transition: color .2s, padding .2s; }
.side-links li a:hover { color: var(--pink); padding-left: 4px; }
.side-links svg { width: 16px; height: 16px; }
.side-cta { background: linear-gradient(150deg, #1E2466, #3466E0); color: #D8DEFF; border: 0; }
.side-cta h3 { color: #fff; }
.side-cta .btn { width: 100%; margin-top: 14px; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 34px; }
.pager a, .pager span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 14px; background: #fff; border: 1.5px solid var(--line); font-weight: 800; color: var(--ink); transition: transform .3s var(--spring); }
.pager a:hover { transform: translateY(-2px); border-color: var(--ink); }
.pager .on { background: var(--navy); border-color: var(--navy); color: #fff; }

.article { max-width: 760px; }
.article .post-cover { overflow: hidden; border-radius: 26px; border: 6px solid #fff; box-shadow: 0 30px 60px -40px rgba(30, 36, 86, .6); }
.article .post-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.share { display: flex; align-items: center; gap: 8px; margin: 18px 0 8px; font-weight: 800; font-size: 13px; color: var(--muted); }
.share a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #F3F2FC; color: var(--ink); transition: background-color .25s, color .25s, transform .3s var(--spring); }
.share a:hover { background: var(--pink); color: #fff; transform: translateY(-2px); }
.share svg { width: 17px; height: 17px; }
.article h2 { margin: 34px 0 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.55rem; line-height: 1.25; color: var(--ink); }
.article h3 { margin: 22px 0 6px; display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--ink); }
.article h3::before { content: ""; width: 5px; height: 20px; border-radius: 4px; background: var(--yellow-deep); }
.article p, .article li { font-size: 1.05rem; line-height: 1.85; }
.article p + p { margin-top: 14px; }
.article ul { margin-top: 10px; display: grid; gap: 8px; }
.article ul li { position: relative; padding-left: 28px; }
.article ul li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--pink)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c, var(--pink)) 18%, transparent); }
.takeaways { margin-top: 30px; padding: 24px 26px; border-radius: 22px; background: #FFF7E1; border: 1.5px solid #FBE2A0; }
.takeaways h2 { margin: 0 0 10px; font-size: 1.3rem; }
.author { display: flex; gap: 16px; align-items: center; margin-top: 34px; padding: 20px 22px; border-radius: 22px; background: #F6F5FC; }
.author .avatar { width: 58px; height: 58px; font-size: 1.2rem; }
.author b { display: block; font-family: var(--font-display); color: var(--ink); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.post-nav a { padding: 16px 18px; border-radius: 18px; border: 1.5px solid var(--line); background: #fff; transition: transform .3s var(--spring), border-color .25s; }
.post-nav a:hover { transform: translateY(-3px); border-color: var(--pink); }
.post-nav small { display: block; font-weight: 800; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--pink); }
.post-nav b { display: block; margin-top: 4px; font-family: var(--font-display); color: var(--ink); line-height: 1.3; }
.post-nav a:last-child { text-align: right; }
@media (max-width: 639.98px) { .post-nav { grid-template-columns: 1fr; } .post-nav a:last-child { text-align: left; } }
.hero-dark .post-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 18px; font-weight: 800; color: #B9BFEA; }
.hero-dark .post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-dark .post-meta svg { width: 16px; height: 16px; color: var(--yellow); }
.hero-dark.short { padding-bottom: clamp(60px, 7vw, 100px); }

/* Generic small helpers */
.lift { margin-top: clamp(-70px, -5vw, -40px); position: relative; z-index: 2; }
.center-btn { display: flex; justify-content: center; margin-top: clamp(26px, 3vw, 40px); }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.kpi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.kpi > div { padding: 22px; border-radius: 22px; color: #fff; background: linear-gradient(135deg, var(--c), var(--c2, var(--c))); box-shadow: 0 20px 36px -26px var(--c); }
.kpi b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 2.3rem; line-height: 1; }
.kpi span { display: block; margin-top: 6px; font-weight: 700; opacity: .95; }
@media (max-width: 767.98px) { .kpi { grid-template-columns: repeat(2, 1fr); } }
.searchbox { display: flex; align-items: center; gap: 10px; max-width: 560px; margin: 26px auto 0; padding: 8px 8px 8px 18px; border-radius: 999px; background: #fff; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .45); }
.searchbox svg { width: 20px; height: 20px; color: var(--muted); }
.searchbox input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-weight: 700; color: var(--ink); background: transparent; padding: 8px 0; }
.empty-note { display: none; margin-top: 20px; text-align: center; font-weight: 800; color: var(--muted); }
.empty-note.show { display: block; }
.months { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1023.98px) { .months { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 559.98px) { .months { grid-template-columns: 1fr; } }
.month { overflow: hidden; border-radius: 22px; background: #fff; border: 1px solid #EEEDF6; box-shadow: 0 18px 34px -30px rgba(30, 36, 86, .5); transition: transform .4s var(--spring); }
.month:hover { transform: translateY(-5px) rotate(-.6deg); }
.month h3 { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; background: var(--c); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; }
.month h3 small { font-family: var(--font-body); font-size: 12.5px; opacity: .9; }
.month ul { padding: 12px 18px 16px; display: grid; gap: 8px; }
.month li { display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: start; font-weight: 700; line-height: 1.45; font-size: 14.5px; }
.month li b { display: grid; place-items: center; height: 30px; border-radius: 10px; background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); font-size: 13px; }
.month li.hol b { background: #FFE6EE; color: var(--pink); }
.month li.exam b { background: #E9E5FF; color: var(--violet); }
.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 26px; font-weight: 800; font-size: 14px; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 14px; height: 14px; border-radius: 4px; }
.job { display: grid; grid-template-columns: 1fr auto; gap: 14px 22px; align-items: center; padding: 22px 24px; border-radius: 22px; background: #fff; border: 1px solid #EEEDF6; box-shadow: 0 18px 36px -32px rgba(30, 36, 86, .5); transition: transform .4s var(--spring), border-color .3s; }
.job:hover { transform: translateX(6px); border-color: color-mix(in srgb, var(--c) 40%, #fff); }
.job h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: var(--ink); }
.job .meta { margin-top: 6px; }
.job .meta span { padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); }
@media (max-width: 639.98px) { .job { grid-template-columns: 1fr; } }
.notfound { text-align: center; padding-block: clamp(60px, 10vw, 140px); }
.notfound .big404 { font-family: var(--font-display); font-weight: 800; font-size: clamp(6rem, 3rem + 12vw, 13rem); line-height: .9; background: linear-gradient(90deg, var(--pink), var(--orange), var(--yellow-deep), var(--green), var(--teal), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ==========================================================================
   Motion for round-2 parts
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .hero-dark h1, .hero-dark .lead, .hero-dark .chips, .hero-dark .btn-row, .hero-dark .eyebrow-script, .hero-dark .post-meta { animation: rise .8s var(--ease) backwards; }
  .hero-dark .eyebrow-script { animation-delay: .05s; }
  .hero-dark h1 { animation-delay: .15s; }
  .hero-dark .lead, .hero-dark .post-meta { animation-delay: .3s; }
  .hero-dark .chips, .hero-dark .btn-row { animation-delay: .45s; }
  .hero-dark h1 .mark svg path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1s var(--ease) .8s forwards; }
  .hero-dark .orb-1 { animation: spin 60s linear infinite; }
  .hero-dark .orb-2 { animation: spin 45s linear infinite reverse; }

  .hero-split h1, .hero-split .tagline, .hero-split .lead, .hero-split .btn-row, .hero-split .eyebrow-pill, .hero-split .crumbs, .hero-split .chips { animation: rise .8s var(--ease) backwards; }
  .hero-split .eyebrow-pill { animation-delay: .05s; }
  .hero-split h1 { animation-delay: .12s; }
  .hero-split .tagline { animation-delay: .22s; }
  .hero-split .lead { animation-delay: .3s; }
  .hero-split .btn-row, .hero-split .chips { animation-delay: .4s; }
  .stack-main { animation: photo-in 1.1s var(--ease) .2s backwards; }
  .stack-back { animation: back-in 1s var(--spring) .1s backwards; }
  .stack-back.b2 { animation-delay: .25s; }
  .stack-mini { animation: pop-in .8s var(--spring) .7s backwards; }
  .stack .sticker { animation: rise .8s var(--ease) .9s backwards, card-float 6s ease-in-out 1.8s infinite; }
  .stack .sticker.s-bottom { animation-delay: 1.05s, 2.4s; }
  .stack .squiggle path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.4s var(--ease) .9s forwards; }
  .trust { animation: rise .9s var(--ease) .6s backwards; }

  .hero-collage h1, .hero-collage .lead, .hero-collage .crumbs, .hero-collage .eyebrow-script, .hero-collage .chips { animation: rise .8s var(--ease) backwards; }
  .hero-collage h1 { animation-delay: .1s; }
  .hero-collage .lead { animation-delay: .22s; }
  .fan figure { animation: fan-in 1.1s var(--spring) backwards; }
  .fan .f1 { animation-delay: .35s; }
  .fan .f2 { animation-delay: .5s; }
  .fan .f3 { animation-delay: .65s; }

  .hero-map h1, .hero-map .lead, .hero-map .crumbs, .hero-map .btn-row, .hero-map .chips, .hero-map .eyebrow-pill { animation: rise .8s var(--ease) backwards; }
  .hero-map h1 { animation-delay: .1s; }
  .hero-map .lead { animation-delay: .2s; }
  .hero-map .btn-row, .hero-map .chips { animation-delay: .3s; }
  .map-art { animation: pop-in .9s var(--spring) .2s backwards; }
  .map-art .ma-route { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.4s var(--ease) .8s forwards; }
  .map-art .ma-pin { animation: pin-bounce 2.6s var(--ease) 3s infinite; transform-box: fill-box; transform-origin: bottom center; }
}
@keyframes back-in { from { opacity: 0; transform: rotate(-10deg) scale(.8); } }
@keyframes fan-in { from { opacity: 0; transform: translateX(-50%) translateY(60px) rotate(0) scale(.8); } }

/* ==========================================================================
   Round 3: more pieces (FAQ colours, blog cards, areas, toppers, contact)
   ========================================================================== */
@keyframes photo-in { from { opacity: 0; transform: translateY(28px) scale(.94) rotate(-2deg); } }

/* Every FAQ question gets its own crayon colour */
.faq details { --q: var(--orange); border-left: 4px solid transparent; }
.faq details:nth-of-type(6n+2) { --q: var(--teal); }
.faq details:nth-of-type(6n+3) { --q: var(--green); }
.faq details:nth-of-type(6n+4) { --q: var(--pink); }
.faq details:nth-of-type(6n+5) { --q: var(--navy); }
.faq details:nth-of-type(6n) { --q: var(--yellow-deep); }
.faq summary::after { background: var(--q); color: #fff; box-shadow: 0 8px 16px -8px var(--q); }
.faq details[open] { border-color: color-mix(in srgb, var(--q) 30%, #fff); border-left-color: var(--q); }
.faq details[open] summary::after { background: var(--q); }
.faq details:hover summary::after { transform: rotate(90deg) scale(1.08); }
.faq details[open]:hover summary::after { transform: rotate(135deg) scale(1.08); }
.faq-group + .faq-group { margin-top: 30px; }
.faq-group > h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--ink); }
.faq-group > h3 .tt-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: var(--c); color: #fff; box-shadow: 0 10px 18px -10px var(--c); }
.faq-group > h3 .tt-ic svg { width: 22px; height: 22px; }

/* Footer: areas the bus goes to */
.footer-areas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding-bottom: 34px; }
.footer-areas h3 { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: #fff; }
.footer-areas h3 svg { width: 20px; height: 20px; color: var(--yellow); }
.footer-areas .chips { justify-content: flex-start; gap: 8px; }
.footer-areas .chip { padding: 6px 13px; font-size: 13.5px; background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .14); color: #D5D9F5; }
.footer-areas .chip:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* Blog cards (grid) and the coloured "poster" word on a cover photo */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1023.98px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639.98px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 26px; background: #fff; border: 1px solid #EEEDF6; box-shadow: 0 20px 40px -34px rgba(30, 36, 86, .55); transition: transform .45s var(--spring), box-shadow .35s; }
.post-card:hover { transform: translateY(-7px) rotate(-.4deg); box-shadow: 0 34px 56px -34px rgba(30, 36, 86, .6); }
.post-card .pc-body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 18px 22px 22px; }
.post-card h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; line-height: 1.3; color: var(--ink); }
.post-card h3 a:hover { color: var(--c); }
.post-card p { line-height: 1.65; font-size: 15px; }
.post-card .text-link { margin-top: auto; padding-top: 6px; }
.pc-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; font-weight: 800; color: var(--muted); }
.pc-meta span { display: inline-flex; align-items: center; gap: 5px; }
.pc-meta svg { width: 14px; height: 14px; color: var(--c, var(--pink)); }
.cover { position: relative; overflow: hidden; aspect-ratio: 16 / 10; isolation: isolate; }
.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.post-card:hover .cover img, .post-row:hover .cover img { transform: scale(1.07); }
.cover::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 38%, color-mix(in srgb, var(--c) 82%, #10143A) 100%); }
.cover .tag { position: absolute; z-index: 2; left: 12px; top: 12px; padding: 5px 12px; border-radius: 999px; background: #fff; color: var(--c); font-size: 12px; font-weight: 800; box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .5); }
.cover .cover-word { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 12px; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.25rem, 1rem + .8vw, 1.7rem); line-height: 1.05; color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
.cover .cover-word small { display: block; font-family: var(--font-script); font-weight: 700; font-size: .85em; color: var(--yellow); }
.post-row .cover { border-radius: 18px; aspect-ratio: 16 / 11; }
.article .post-cover.cover { aspect-ratio: 16 / 9; }
.article .post-cover .cover-word { font-size: clamp(1.6rem, 1rem + 2.2vw, 2.6rem); left: 26px; bottom: 22px; }

/* Area cards */
.area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(228px, 1fr)); gap: 16px; }
.area-card { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; padding: 20px 20px 18px; border-radius: 24px; background: color-mix(in srgb, var(--c) 8%, #fff); border: 1.5px solid color-mix(in srgb, var(--c) 20%, #fff); transition: transform .45s var(--spring), box-shadow .35s; }
.area-card::after { content: ""; position: absolute; z-index: -1; right: -34px; top: -34px; width: 110px; height: 110px; border-radius: 50%; border: 16px solid color-mix(in srgb, var(--c) 16%, #fff); transition: transform .6s var(--spring); }
.area-card:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 26px 44px -30px var(--c); }
.area-card:hover::after { transform: scale(1.35); }
.area-card .ac-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.area-card .ac-pin { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 15px; background: var(--c); color: #fff; box-shadow: 0 10px 18px -10px var(--c); transition: transform .5s var(--spring); }
.area-card:hover .ac-pin { transform: translateY(-4px) rotate(-8deg); }
.area-card .ac-pin svg { width: 24px; height: 24px; }
.area-card .route { padding: 4px 10px; border-radius: 999px; background: #fff; color: var(--c); font-size: 12px; font-weight: 800; }
.area-card h3 { margin-top: 14px; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--ink); }
.area-card ul { display: grid; gap: 4px; margin-top: 6px; font-size: 14px; font-weight: 700; }
.area-card ul b { color: var(--ink); }
.area-card .text-link { margin-top: auto; padding-top: 14px; color: var(--c); }

/* Toppers / medal cards */
.toppers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1023.98px) { .toppers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479.98px) { .toppers { grid-template-columns: 1fr; } }
.topper { position: relative; overflow: hidden; padding: 0 18px 22px; border-radius: 26px; background: #fff; border: 1px solid #EEEDF6; text-align: center; box-shadow: 0 22px 44px -34px rgba(30, 36, 86, .55); transition: transform .45s var(--spring); }
.topper:hover { transform: translateY(-7px); }
.topper::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 74px; background: linear-gradient(135deg, var(--c), var(--c2, var(--c))); }
.topper .avatar { position: relative; width: 86px; height: 86px; margin: 30px auto 0; font-size: 1.6rem; border: 5px solid #fff; box-shadow: 0 12px 22px -12px rgba(30, 36, 86, .6); }
.topper .medal { position: absolute; z-index: 1; right: 14px; top: 12px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .25); color: #fff; }
.topper .medal svg { width: 20px; height: 20px; }
.topper b { display: block; margin-top: 12px; font-family: var(--font-display); font-size: 1.12rem; color: var(--ink); }
.topper small { display: block; font-weight: 800; color: var(--muted); }
.topper .pct { display: block; margin-top: 8px; font-family: var(--font-display); font-weight: 800; font-size: 2rem; line-height: 1; color: var(--c); }

/* Small action buttons (call / WhatsApp / directions) */
.btn-mini { display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border-radius: 999px; font-weight: 800; font-size: 14px; line-height: 1.2; transition: transform .3s var(--spring), box-shadow .3s; }
.btn-mini svg { width: 16px; height: 16px; stroke-width: 2.4; }
.btn-mini.call { background: var(--yellow); color: var(--ink); box-shadow: 0 10px 18px -12px rgba(255, 160, 20, .9); }
.btn-mini.wa { background: var(--green); color: #fff; box-shadow: 0 10px 18px -12px var(--green); }
.btn-mini.dir { background: #fff; border: 1.5px solid #E2E0EE; color: var(--ink); }
.btn-mini:hover { transform: translateY(-2px); }
.mini-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* Contact: hours band */
.hours-band { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.5fr 1fr auto; gap: 20px 40px; align-items: center; padding: 30px 34px; border-radius: 28px; background: var(--navy); color: #C9CFF5; box-shadow: 0 30px 60px -40px rgba(27, 33, 96, .9); }
.hours-band::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--pink), var(--orange), var(--yellow), var(--green), var(--teal), var(--blue), var(--violet)); }
.hours-band::after { content: ""; position: absolute; right: -50px; bottom: -70px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255, 255, 255, .05); }
.hours-band small { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); }
.hours-band b { color: #fff; }
.hours-band p { line-height: 1.75; font-weight: 700; }
.hours-band .socials { display: flex; gap: 8px; }
.hours-band .socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; transition: background-color .25s, transform .3s var(--spring); }
.hours-band .socials a:hover { background: var(--pink); transform: translateY(-3px); }
.hours-band .socials svg { width: 19px; height: 19px; }
@media (max-width: 899.98px) { .hours-band { grid-template-columns: 1fr; } }

/* Campus / office cards with a photo on top */
.place-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 767.98px) { .place-cards { grid-template-columns: 1fr; } }
.place { overflow: hidden; border-radius: 28px; background: #fff; border: 1px solid #EEEDF6; box-shadow: 0 30px 56px -40px rgba(30, 36, 86, .6); transition: transform .5s var(--spring); }
.place:hover { transform: translateY(-6px); }
.place figure { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 5px solid var(--c); }
.place figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.place:hover figure img { transform: scale(1.06); }
.place-body { padding: 22px 24px 24px; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 7%, #fff) 0, #fff 120px); }
.place-body .tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: #fff; border: 1.5px solid color-mix(in srgb, var(--c) 30%, #fff); color: var(--c); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.place-body h3 { margin-top: 12px; font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: var(--ink); }
.place-body .sub { font-weight: 800; color: var(--c); font-size: 14px; }
.place-info { display: grid; gap: 14px; margin-top: 16px; }
.place-info li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; padding-top: 14px; border-top: 1.5px dashed #EEEDF6; }
.place-info li:first-child { padding-top: 0; border-top: 0; }
.place-info .pi-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); }
.place-info .pi-ic svg { width: 20px; height: 20px; }
.place-info small { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.place-info b { color: var(--ink); line-height: 1.5; }

/* Times in the vertical steps (a day at school) */
.vstep:has(.n.time) { grid-template-columns: 78px 1fr; }
.vstep .n.time { width: 74px; font-size: .95rem; letter-spacing: .02em; }

/* Plain centred hero (no photos) */
.hero-collage.plain { padding-bottom: clamp(56px, 7vw, 96px); }
.hero-collage .note { max-width: 40em; margin: 20px auto 0; padding: 12px 18px; border-radius: 16px; background: #FFF4D6; color: #7A5500; font-weight: 700; font-size: 14.5px; }
.hero-dark .searchbox { margin-top: 28px; }

/* Disclosure tables: buttons inside cells */
.dtable .doc-actions { margin-top: 0; flex-wrap: nowrap; }
.dtable .pill-btn { padding: 6px 11px; font-size: 13px; }
.dtable td.na { color: var(--muted); font-weight: 700; font-size: 14px; }

/* Colour bands */
.bg-peach { background: #FFF4EC; }
.bg-navy { background: var(--navy); color: #C9CFF5; }
.bg-navy .h2 { color: #fff; }
.bg-navy .lead { color: #C9CFF5; }
.bg-navy .eyebrow { background: rgba(255, 255, 255, .1); color: var(--yellow); }

/* Quick links grid (big colourful link tiles) */
.qlinks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1023.98px) { .qlinks { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479.98px) { .qlinks { grid-template-columns: 1fr; } }
.qlink { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 6px; padding: 22px 20px; border-radius: 22px; color: #fff; background: linear-gradient(140deg, var(--c), var(--c2, var(--c))); box-shadow: 0 22px 40px -28px var(--c); transition: transform .45s var(--spring); }
.qlink:hover { transform: translateY(-6px) rotate(-1deg); }
.qlink::after { content: ""; position: absolute; right: -26px; bottom: -26px; width: 110px; height: 110px; border-radius: 50%; border: 16px solid rgba(255, 255, 255, .16); transition: transform .6s var(--spring); }
.qlink:hover::after { transform: scale(1.3); }
.qlink svg { width: 30px; height: 30px; }
.qlink b { margin-top: 6px; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; line-height: 1.2; }
.qlink small { font-weight: 700; opacity: .92; line-height: 1.45; }

/* Doodles behind a section: keep the content above them */
.has-doodles > .container { position: relative; z-index: 1; }
.has-doodles { overflow: hidden; }

/* Campus tour card in the welcome section */
.tour-wrap { position: relative; margin: 0 14px 14px 0; }
.tour-wrap .sticker { z-index: 3; }
.tour-card:has(.tour-thumbs) .tc-text { right: 200px; }
@media (max-width: 559.98px) { .tour-thumbs { display: none; } .tour-card:has(.tour-thumbs) .tc-text { right: 22px; } }

.fee-band .btn { color: var(--ink); }
.fee-band .btn:hover { transform: translateY(-2px) scale(1.02); }

/* Map art extras */
.map-art { position: relative; }
.map-art .ma-badge { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; background: #fff; font-weight: 800; font-size: 14px; color: var(--ink-soft); box-shadow: 0 12px 24px -14px rgba(30, 36, 86, .6); }
.map-art .ma-badge svg { width: 18px; height: 18px; color: var(--accent, var(--blue)); }
.map-art .ma-badge b { color: var(--ink); }

/* Dark hero in other colours, and a round portrait */
.hero-dark.c-violet { background: radial-gradient(40% 70% at 100% 10%, rgba(255, 107, 154, .42), transparent 70%), radial-gradient(36% 60% at 0% 100%, rgba(46, 196, 214, .3), transparent 70%), linear-gradient(160deg, #2E1F7A 0%, #4632AE 60%, #281B66 100%); }
.hero-dark.c-teal { background: radial-gradient(40% 70% at 100% 10%, rgba(255, 197, 61, .3), transparent 70%), radial-gradient(36% 60% at 0% 100%, rgba(52, 102, 224, .4), transparent 70%), linear-gradient(160deg, #0A4659 0%, #0D6E84 60%, #093D4E 100%); }
.hero-dark.c-green { background: radial-gradient(40% 70% at 100% 10%, rgba(255, 197, 61, .28), transparent 70%), radial-gradient(36% 60% at 0% 100%, rgba(46, 196, 214, .3), transparent 70%), linear-gradient(160deg, #134427 0%, #1F6A3B 60%, #103A22 100%); }
.hero-dark.c-pink { background: radial-gradient(40% 70% at 100% 10%, rgba(255, 171, 26, .35), transparent 70%), radial-gradient(36% 60% at 0% 100%, rgba(123, 92, 240, .4), transparent 70%), linear-gradient(160deg, #5E1131 0%, #8E1F4C 60%, #4F0E29 100%); }
.hero-dark.c-orange { background: radial-gradient(40% 70% at 100% 10%, rgba(255, 197, 61, .3), transparent 70%), radial-gradient(36% 60% at 0% 100%, rgba(229, 48, 108, .35), transparent 70%), linear-gradient(160deg, #57210A 0%, #8A3810 60%, #4A1C08 100%); }
.hero-dark .portrait { width: 136px; height: 136px; margin: 22px auto 0; border-radius: 50%; overflow: hidden; border: 5px solid #fff; box-shadow: 0 0 0 10px rgba(255, 255, 255, .08), 0 24px 40px -20px rgba(0, 0, 0, .6); }
.hero-dark .portrait img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) { .hero-dark .portrait { animation: pop-in .9s var(--spring) .1s backwards; } }

/* Status pills (published / ask the office) */
.status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status.ok { background: #E8F6E1; color: #3B8A1F; }
.status.ask { background: #FFF2DB; color: #B26A00; }
.section-dark .checks li { color: #DDE1FF; }
.check-cards { display: grid; gap: 12px; }
.check-cards li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #DDE1FF; line-height: 1.55; transition: transform .35s var(--spring), background-color .3s; }
.check-cards li:hover { transform: translateX(6px); background: rgba(255, 255, 255, .1); }
.check-cards li b { color: #fff; }
.check-cards .ck { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; }
.check-cards .ck svg { width: 16px; height: 16px; stroke-width: 3; }

.place-body .tag svg { width: 15px; height: 15px; flex: none; }

.tiles.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 479.98px) { .tiles.two { grid-template-columns: 1fr; } }

.qlinks.two { grid-template-columns: repeat(2, 1fr); }

/* Anything with the hidden attribute stays hidden, whatever its display */
[hidden] { display: none !important; }

.side { position: static; }
