/*
 * Site design system: tokens, buttons, headings, cards, sliders, FAQ,
 * CTA banner and the mobile action bar, plus the home page sections.
 * Loaded on every public page after style.css; inner-page layouts live in
 * pages.css. Every class is hp- prefixed so nothing collides with style.css.
 */

:root {
    --hp-navy: #001d42;
    --hp-navy-2: #0b2a5b;
    --hp-ink: #0f1b33;
    --hp-text: #3d4a60;
    --hp-muted: #66758c;
    --hp-gold: #db9712;
    --hp-gold-2: #f5b942;
    --hp-gold-soft: #fff4dc;
    --hp-tint: #f5f7fb;
    --hp-line: #e6ebf2;
    --hp-on-dark: #b9c5d8;
    --hp-radius: 20px;
    --hp-radius-lg: 28px;
    --hp-shadow-sm: 0 1px 2px rgba(15, 27, 51, 0.05), 0 4px 14px rgba(15, 27, 51, 0.05);
    --hp-shadow: 0 2px 4px rgba(15, 27, 51, 0.04), 0 16px 36px rgba(15, 27, 51, 0.09);
    --hp-shadow-lg: 0 24px 60px rgba(0, 29, 66, 0.2);
    --hp-gold-grad: linear-gradient(135deg, #f7c052 0%, #db9712 100%);
    --hp-navy-grad: linear-gradient(150deg, #0b2a5b 0%, #001d42 60%, #00142e 100%);
    --hp-dots: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
}

.hp-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}


/* ================================================================ buttons */
.hp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 26px;
    border: 2px solid transparent;
    border-radius: 14px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.hp-btn i {
    transition: transform 0.25s ease;
}

.hp-btn:hover {
    transform: translateY(-2px);
}

.hp-btn:hover .fa-arrow-right {
    transform: translateX(4px);
}

.hp-btn-primary {
    background: var(--hp-navy);
    color: #fff;
    box-shadow: 0 12px 26px rgba(0, 29, 66, 0.25);
}

.hp-btn-primary:hover {
    background: var(--hp-navy-2);
    box-shadow: 0 16px 32px rgba(0, 29, 66, 0.32);
}

.hp-btn-gold {
    background: var(--hp-gold-grad);
    color: var(--hp-navy);
    box-shadow: 0 12px 26px rgba(219, 151, 18, 0.35);
}

.hp-btn-gold:hover {
    box-shadow: 0 16px 34px rgba(219, 151, 18, 0.45);
}

.hp-btn-ghost {
    background: #fff;
    color: var(--hp-navy);
    border-color: var(--hp-line);
    box-shadow: var(--hp-shadow-sm);
}

.hp-btn-ghost i {
    color: var(--hp-gold);
}

.hp-btn-ghost:hover {
    border-color: var(--hp-navy);
}

.hp-btn-whatsapp {
    background: #1faa53;
    color: #fff;
}

.hp-btn-whatsapp:hover {
    background: #17964a;
}

.hp-btn-outline-light {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

.hp-btn-outline-light:hover {
    background: #fff;
    color: var(--hp-navy);
}

.hp-btn-sm {
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 0.92rem;
}

.hp-btn:focus-visible,
.hp-nav-btn:focus-visible,
.hp-link-btn:focus-visible,
.hp-course-demo:focus-visible,
.hp-faq-item summary:focus-visible,
.hp-stretched:focus-visible,
.hp-mobile-bar a:focus-visible,
.hp-mobile-bar button:focus-visible {
    outline: 3px solid var(--hp-gold-2);
    outline-offset: 3px;
}

.hp-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    padding: 13px 20px;
    border: 2px solid var(--hp-navy);
    border-radius: 12px;
    color: var(--hp-navy);
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.25s ease, color 0.25s ease;
}

.hp-link-btn:hover {
    background: var(--hp-navy);
    color: #fff;
}


/* =================================================== pills and headings */
.hp-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px 9px 12px;
    background: #fff;
    border: 1px solid var(--hp-line);
    border-radius: 999px;
    box-shadow: var(--hp-shadow-sm);
    color: var(--hp-navy);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hp-live-dot {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    animation: hp-ping 1.8s ease-out infinite;
}

@keyframes hp-ping {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
    80%, 100% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
}

.hp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--hp-gold);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hp-eyebrow::before {
    content: '';
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.hp-section {
    padding: 84px 0;
}

.hp-section-tint {
    background: var(--hp-tint);
}

.hp-head {
    max-width: 760px;
    margin: 0 auto 44px;
    text-align: center;
}

.hp-head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    max-width: none;
    text-align: left;
}

.hp-head-row > div:first-child {
    max-width: 720px;
}

.hp-title,
.hp-hero-title,
.hp-cta h2,
.hp-batch-cta h3 {
    text-wrap: balance;
}

.hp-title {
    color: var(--hp-ink);
    font-size: clamp(1.9rem, 3.2vw, 2.7rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.hp-title span {
    color: var(--hp-gold);
}

.hp-sub {
    margin-top: 14px;
    color: var(--hp-muted);
    font-size: 1.05rem;
    line-height: 1.65;
}


/* ================================================================== hero */
.hp-hero {
    position: relative;
    overflow: hidden;
    /* 80px fixed header + 40px breathing room */
    padding: 120px 0 150px;
    background:
        radial-gradient(620px 420px at 6% 10%, rgba(219, 151, 18, 0.16), transparent 65%),
        radial-gradient(720px 520px at 96% 28%, rgba(47, 95, 208, 0.13), transparent 65%),
        linear-gradient(180deg, #fffaf1 0%, #f3f6fc 100%);
}

.hp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(0, 29, 66, 0.09) 1px, transparent 1px);
    background-size: 24px 24px;
    -webkit-mask-image: radial-gradient(ellipse at 30% 30%, #000 0%, transparent 70%);
    mask-image: radial-gradient(ellipse at 30% 30%, #000 0%, transparent 70%);
    pointer-events: none;
}

.hp-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 64px;
}

.hp-hero-title {
    margin: 22px 0 18px;
    color: var(--hp-ink);
    font-size: clamp(2.6rem, 4.6vw, 4.2rem);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -0.03em;
}

.hp-marker {
    position: relative;
    display: inline-block;
    color: var(--hp-gold);
    white-space: nowrap;
}

/* hand-drawn underline */
.hp-marker::after {
    content: '';
    position: absolute;
    left: 2%;
    right: 2%;
    bottom: -0.16em;
    height: 0.28em;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M3 15C70 4 140 3 190 8s80 7 107-3' fill='none' stroke='%23f5b942' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.hp-hero-lead {
    max-width: 540px;
    color: var(--hp-text);
    font-size: 1.15rem;
    line-height: 1.7;
}

.hp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.hp-hero-trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    margin-top: 38px;
}

.hp-avatars {
    display: flex;
}

.hp-avatars img {
    width: 44px;
    height: 44px;
    margin-left: -12px;
    border: 3px solid #fff;
    border-radius: 50%;
    object-fit: cover;
    background: #e9eef6;
    box-shadow: 0 4px 10px rgba(15, 27, 51, 0.1);
}

.hp-avatars img:first-child {
    margin-left: 0;
}

.hp-trust-item strong {
    display: block;
    color: var(--hp-ink);
    font-size: 1.3rem;
    font-weight: 900;
    line-height: 1.1;
}

.hp-trust-item span {
    color: var(--hp-muted);
    font-size: 0.85rem;
    font-weight: 700;
}

.hp-trust-divider {
    width: 1px;
    height: 38px;
    background: #d5dce8;
}

/* photo and floating chips */
/* Capped so the photo is roughly as tall as the copy beside it; a taller
   photo pushes the centred copy (and the CTAs) below the fold on laptops. */
.hp-hero-visual {
    position: relative;
    justify-self: end;
    width: 100%;
    max-width: 540px;
}

.hp-hero-visual::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 180px;
    height: 180px;
    background-image: radial-gradient(var(--hp-gold) 2px, transparent 2px);
    background-size: 16px 16px;
    opacity: 0.45;
}

.hp-hero-visual::after {
    content: '';
    position: absolute;
    left: -46px;
    bottom: -40px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: var(--hp-navy-grad);
}

.hp-hero-frame {
    position: relative;
    z-index: 1;
    overflow: hidden;
    aspect-ratio: 10 / 9.2;
    border: 8px solid #fff;
    border-radius: 32px;
    box-shadow: var(--hp-shadow-lg);
}

.hp-hero-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-chip {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px 12px 12px;
    background: rgba(255, 255, 255, 0.94);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    box-shadow: 0 16px 36px rgba(15, 27, 51, 0.14);
    animation: hp-float 6s ease-in-out infinite;
}

.hp-chip strong {
    display: block;
    color: var(--hp-ink);
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1.2;
}

.hp-chip small {
    display: block;
    color: var(--hp-muted);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hp-chip-icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--hp-gold-soft);
    color: var(--hp-gold);
    font-size: 1.05rem;
}

.hp-chip-a {
    top: 40px;
    left: -48px;
}

/* stays clear of the floating call/WhatsApp buttons on the right edge */
.hp-chip-b {
    right: -16px;
    bottom: 110px;
    animation-delay: -2s;
}

.hp-chip-b .hp-chip-icon {
    background: #e8f0ff;
    color: #2f5fd0;
}

.hp-chip-c {
    bottom: -24px;
    left: 70px;
    animation-delay: -4s;
}

.hp-chip-c .hp-chip-icon {
    background: #e3f6ec;
    color: #1f8a55;
}

@keyframes hp-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}


/* =========================================================== enquiry bar */
.hp-enquiry-wrap {
    position: relative;
    z-index: 3;
    margin-top: -96px;
}

.hp-enquiry {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 230px 1fr;
    align-items: center;
    gap: 14px 30px;
    padding: 30px 32px;
    background: var(--hp-navy-grad);
    border-radius: 24px;
    box-shadow: var(--hp-shadow-lg);
    color: #fff;
}

.hp-enquiry::before {
    content: '';
    position: absolute;
    top: -170px;
    right: -110px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(219, 151, 18, 0.35), transparent 70%);
    pointer-events: none;
}

.hp-enquiry > * {
    position: relative;
}

.hp-enquiry-head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hp-enquiry-icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: var(--hp-gold-grad);
    color: var(--hp-navy);
    font-size: 1.25rem;
}

.hp-enquiry-head h2 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 900;
    line-height: 1.2;
}

.hp-enquiry-head p {
    margin-top: 4px;
    color: var(--hp-on-dark);
    font-size: 0.85rem;
    line-height: 1.45;
}

.hp-enquiry-form {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.05fr) minmax(0, 0.8fr) minmax(0, 1.3fr) auto;
    gap: 10px;
}

.hp-field {
    position: relative;
    display: block;
}

.hp-field > i {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: var(--hp-muted);
    font-size: 0.9rem;
    pointer-events: none;
}

.hp-field input,
.hp-field select {
    width: 100%;
    height: 54px;
    padding: 0 12px 0 40px;
    background: #fff;
    border: 2px solid transparent;
    border-radius: 12px;
    color: var(--hp-ink);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* iPhones zoom the whole page in when a field's text is under 16px */
@media (max-width: 768px) {
    .hp-field input,
    .hp-field select {
        font-size: 16px;
    }
}

.hp-field select {
    padding-right: 34px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2366758c' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
}

.hp-field input:focus,
.hp-field select:focus {
    border-color: var(--hp-gold);
    box-shadow: 0 0 0 4px rgba(219, 151, 18, 0.3);
}

.hp-enquiry-form .hp-btn {
    height: 54px;
    padding: 0 24px;
}

.hp-enquiry-perks {
    grid-column: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 24px;
    list-style: none;
    color: var(--hp-on-dark);
    font-size: 0.86rem;
    font-weight: 700;
}

.hp-enquiry-perks i {
    margin-right: 7px;
    color: var(--hp-gold-2);
}


/* ================================================================ ticker */
.hp-ticker {
    margin-top: 48px;
    padding: 20px 0;
    overflow: hidden;
    border-top: 1px solid var(--hp-line);
    border-bottom: 1px solid var(--hp-line);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.hp-ticker-track {
    display: flex;
    width: max-content;
    animation: hp-marquee 45s linear infinite;
}

.hp-ticker:hover .hp-ticker-track {
    animation-play-state: paused;
}

.hp-ticker ul {
    display: flex;
    list-style: none;
}

.hp-ticker li {
    display: flex;
    align-items: center;
    gap: 30px;
    padding-right: 30px;
    color: var(--hp-navy);
    font-size: 1.2rem;
    font-weight: 900;
    white-space: nowrap;
}

.hp-ticker li:nth-child(even) {
    color: var(--hp-gold);
}

.hp-ticker li::after {
    content: '\2726';
    color: #c7d0de;
    font-size: 0.9rem;
}

@keyframes hp-marquee {
    to { transform: translateX(-50%); }
}


/* ========================================================== why (bento) */
.hp-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.hp-bento-media {
    position: relative;
    overflow: hidden;
    grid-column: 1 / 3;
    grid-row: 1 / 3;
    min-height: 440px;
    margin: 0;
    border-radius: var(--hp-radius-lg);
    box-shadow: var(--hp-shadow);
}

.hp-bento-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.hp-bento-media:hover img {
    transform: scale(1.04);
}

.hp-bento-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 29, 66, 0) 30%, rgba(0, 29, 66, 0.9) 100%);
}

.hp-bento-media figcaption {
    position: absolute;
    right: 28px;
    bottom: 28px;
    left: 28px;
    z-index: 1;
}

.hp-bento-kicker {
    display: block;
    margin-bottom: 14px;
    color: #fff;
    font-size: 1.7rem;
    font-weight: 900;
    line-height: 1.2;
}

.hp-bento-pillars {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
}

.hp-bento-pillars li {
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.14);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-left: 3px solid var(--hp-gold-2);
    border-radius: 10px;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.hp-feature {
    padding: 26px;
    background: #fff;
    border: 1px solid var(--hp-line);
    border-radius: var(--hp-radius);
    box-shadow: var(--hp-shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.hp-feature:hover {
    transform: translateY(-4px);
    border-color: rgba(219, 151, 18, 0.45);
    box-shadow: var(--hp-shadow);
}

.hp-feature-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: var(--hp-gold-soft);
    color: var(--hp-gold);
    font-size: 1.3rem;
    transition: background 0.3s ease, color 0.3s ease;
}

.hp-feature:hover .hp-feature-icon {
    background: var(--hp-navy);
    color: var(--hp-gold-2);
}

.hp-feature h3 {
    margin-bottom: 8px;
    color: var(--hp-ink);
    font-size: 1.15rem;
    font-weight: 900;
    line-height: 1.3;
}

.hp-feature p {
    color: var(--hp-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* the last two features sit on a full-width row, laid out sideways */
.hp-bento > article:nth-of-type(5),
.hp-bento > article:nth-of-type(6) {
    grid-column: span 2;
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.hp-bento > article:nth-of-type(5) .hp-feature-icon,
.hp-bento > article:nth-of-type(6) .hp-feature-icon {
    margin-bottom: 0;
}


/* =============================================================== courses */
.hp-courses {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 22px;
}

.hp-course {
    --c: #2f5fd0;
    --c-soft: #e8f0ff;
    position: relative;
    z-index: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    grid-column: span 2;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--hp-line);
    border-radius: var(--hp-radius);
    box-shadow: var(--hp-shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* two feature cards on top, three below */
.hp-course:nth-child(-n+2) {
    grid-column: span 3;
}

.hp-course:nth-child(5n+2) { --c: #b86f00; --c-soft: #fff1d6; }
.hp-course:nth-child(5n+3) { --c: #1f8a55; --c-soft: #e3f6ec; }
.hp-course:nth-child(5n+4) { --c: #6a4bd1; --c-soft: #efe9ff; }
.hp-course:nth-child(5n+5) { --c: #c93d58; --c-soft: #ffe8ec; }

.hp-course::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: var(--c-soft);
    transform: translate(45%, -45%);
    transition: transform 0.5s ease;
}

.hp-course:hover {
    transform: translateY(-6px);
    border-color: var(--c);
    box-shadow: var(--hp-shadow);
}

.hp-course:hover::before {
    transform: translate(38%, -38%) scale(1.2);
}

/* uploaded course image across the top of the card */
.hp-course-media {
    overflow: hidden;
    margin: -28px -28px 20px;
    aspect-ratio: 16 / 8;
}

.hp-course-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hp-course:hover .hp-course-media img {
    transform: scale(1.05);
}

.hp-course.has-img::before {
    display: none;
}

.hp-course-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
}

.hp-course-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--c-soft);
    color: var(--c);
    font-size: 1.35rem;
}

.hp-course-tag {
    padding: 6px 12px;
    background: #fff;
    border: 1px solid var(--c-soft);
    border-radius: 999px;
    color: var(--c);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: right;
}

.hp-course h3 {
    margin-bottom: 16px;
    color: var(--hp-ink);
    font-size: 1.45rem;
    font-weight: 900;
    line-height: 1.2;
}

.hp-course h3 a {
    color: inherit;
    text-decoration: none;
}

/* whole card is clickable through the title link */
.hp-stretched::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hp-course-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    list-style: none;
}

.hp-course-chips li {
    padding: 7px 12px;
    background: var(--hp-tint);
    border: 1px solid var(--hp-line);
    border-radius: 999px;
    color: var(--hp-text);
    font-size: 0.85rem;
    font-weight: 700;
}

.hp-course-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px dashed var(--hp-line);
}

.hp-course-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--c);
    font-size: 0.92rem;
    font-weight: 900;
}

.hp-course-more i {
    transition: transform 0.25s ease;
}

.hp-course:hover .hp-course-more i {
    transform: translateX(4px);
}

.hp-course-demo {
    position: relative;
    z-index: 2;
    padding: 9px 14px;
    background: var(--hp-gold-soft);
    border: 1px solid rgba(219, 151, 18, 0.35);
    border-radius: 10px;
    color: var(--hp-navy);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
}

.hp-course-demo:hover {
    background: var(--hp-gold);
    color: #fff;
}


/* ======================================================= results (dark) */
.hp-dark {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(700px 420px at 92% 0%, rgba(219, 151, 18, 0.16), transparent 60%),
        radial-gradient(600px 420px at 0% 100%, rgba(47, 95, 208, 0.25), transparent 60%),
        var(--hp-navy-grad);
}

.hp-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--hp-dots);
    background-size: 24px 24px;
    pointer-events: none;
}

.hp-dark > .section-container {
    position: relative;
}

.hp-dark .hp-title {
    color: #fff;
}

.hp-dark .hp-title span {
    color: var(--hp-gold-2);
}

.hp-dark .hp-sub {
    color: var(--hp-on-dark);
}

.hp-dark .hp-eyebrow {
    color: var(--hp-gold-2);
}

/* horizontal scroll-snap slider, shared by achievers and testimonials */
.hp-slider {
    display: flex;
    gap: 20px;
    margin: 0 -6px;
    padding: 8px 6px 28px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.hp-slider::-webkit-scrollbar {
    display: none;
}

.hp-slider > * {
    flex: 0 0 auto;
    scroll-snap-align: start;
}

.hp-slider-nav {
    display: flex;
    flex-shrink: 0;
    gap: 10px;
}

.hp-nav-btn {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    background: #fff;
    border: 1px solid var(--hp-line);
    border-radius: 50%;
    color: var(--hp-navy);
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.hp-nav-btn:hover {
    background: var(--hp-navy);
    border-color: var(--hp-navy);
    color: #fff;
}

.hp-dark .hp-nav-btn {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.hp-dark .hp-nav-btn:hover {
    background: var(--hp-gold);
    border-color: var(--hp-gold);
    color: var(--hp-navy);
}

.hp-topper {
    width: 236px;
    padding: 28px 20px 24px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.hp-topper:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(245, 185, 66, 0.55);
}

.hp-topper-photo {
    width: 112px;
    height: 112px;
    margin: 0 auto 18px;
    padding: 4px;
    border-radius: 50%;
    background: var(--hp-gold-grad);
}

.hp-topper-photo img {
    display: block;
    width: 100%;
    height: 100%;
    border: 3px solid var(--hp-navy-2);
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
}

.hp-topper-rank {
    display: block;
    color: var(--hp-gold-2);
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

.hp-topper-exam {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hp-topper h3 {
    margin-top: 16px;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.hp-topper p {
    margin-top: 6px;
    color: var(--hp-on-dark);
    font-size: 0.85rem;
}

.hp-topper p i {
    margin-right: 4px;
    color: var(--hp-gold-2);
}

.hp-stats {
    display: grid;
    grid-template-columns: 1fr 2.3fr;
    align-items: center;
    gap: 36px;
    margin-top: 48px;
    padding: 34px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
}

.hp-stats-intro h3 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1.25;
}

.hp-stats-intro h3 span {
    color: var(--hp-gold-2);
}

.hp-stats-intro p {
    margin-top: 10px;
    color: var(--hp-on-dark);
    font-size: 0.92rem;
    line-height: 1.6;
}

.hp-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.hp-stat {
    padding: 20px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
}

.hp-stat-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
    border-radius: 12px;
    background: var(--hp-gold-grad);
    color: var(--hp-navy);
}

.hp-stat strong {
    display: block;
    color: #fff;
    font-size: 1.9rem;
    font-weight: 900;
    line-height: 1;
}

.hp-stat em {
    color: var(--hp-gold-2);
    font-style: normal;
}

.hp-stat-label {
    display: block;
    margin-top: 6px;
    color: var(--hp-on-dark);
    font-size: 0.85rem;
    font-weight: 700;
}


/* =============================================================== batches */
.hp-batch {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 24px;
}

.hp-batch-info {
    padding: 42px;
    background: #fff;
    border: 1px solid var(--hp-line);
    border-radius: var(--hp-radius-lg);
    box-shadow: var(--hp-shadow-sm);
}

.hp-batch-info .hp-title {
    margin-bottom: 28px;
}

.hp-batch-slots {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.hp-slot {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    background: var(--hp-tint);
    border: 1px solid var(--hp-line);
    border-radius: 18px;
}

.hp-slot-icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--hp-gold-soft);
    color: var(--hp-gold);
    font-size: 1.15rem;
}

.hp-slot small {
    display: block;
    color: var(--hp-muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hp-slot strong {
    display: block;
    margin-top: 4px;
    color: var(--hp-ink);
    font-size: 1.15rem;
    font-weight: 900;
}

.hp-batch-days {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    color: var(--hp-navy);
    font-weight: 800;
}

.hp-batch-days i {
    color: var(--hp-gold);
}

.hp-batch-cta {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 42px;
    background: var(--hp-gold-grad);
    border-radius: var(--hp-radius-lg);
    color: var(--hp-navy);
}

.hp-batch-cta::before {
    content: '';
    position: absolute;
    top: -90px;
    right: -90px;
    width: 260px;
    height: 260px;
    border: 40px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
}

.hp-batch-cta > * {
    position: relative;
}

.hp-seat-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
}

.hp-batch-cta h3 {
    margin-top: 20px;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.15;
}

.hp-batch-cta p {
    margin-top: 10px;
    color: rgba(0, 29, 66, 0.82);
    font-weight: 600;
    line-height: 1.6;
}

.hp-batch-cta .hp-btn {
    margin-top: 26px;
}


/* ========================================================== testimonials */
.hp-story {
    display: flex;
    flex: 0 0 calc((100% - 40px) / 3);
    flex-direction: column;
    margin: 0;
    padding: 30px;
    background: #fff;
    border: 1px solid var(--hp-line);
    border-radius: var(--hp-radius);
    box-shadow: var(--hp-shadow-sm);
}

.hp-story-quote {
    color: var(--hp-gold-2);
    font-size: 2rem;
}

/* style.css styles every blockquote for blog posts; undo that here */
.hp-story blockquote {
    flex: 1;
    margin: 16px 0 24px;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    color: var(--hp-text);
    font-size: 1.02rem;
    font-style: normal;
    line-height: 1.7;
}

.hp-story figcaption {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid var(--hp-line);
}

.hp-story figcaption img {
    width: 52px;
    height: 52px;
    border: 2px solid var(--hp-gold);
    border-radius: 50%;
    object-fit: cover;
}

.hp-story figcaption strong {
    display: block;
    color: var(--hp-ink);
    font-weight: 900;
}

.hp-story figcaption span {
    color: var(--hp-gold);
    font-size: 0.82rem;
    font-weight: 800;
}


/* ================================================================= blogs */
.hp-blogs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.hp-blog {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--hp-line);
    border-radius: var(--hp-radius);
    box-shadow: var(--hp-shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hp-blog:hover {
    transform: translateY(-6px);
    box-shadow: var(--hp-shadow);
}

.hp-blog-img {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.hp-blog-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hp-blog:hover .hp-blog-img img {
    transform: scale(1.06);
}

.hp-blog-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
    color: var(--hp-navy);
    font-size: 0.75rem;
    font-weight: 900;
}

.hp-blog-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}

.hp-blog-body h3 {
    font-size: 1.2rem;
    font-weight: 900;
    line-height: 1.35;
}

.hp-blog-body h3 a {
    color: var(--hp-ink);
    text-decoration: none;
    transition: color 0.25s ease;
}

.hp-blog-body h3 a:hover {
    color: var(--hp-gold);
}

.hp-blog-body p {
    flex: 1;
    margin-top: 10px;
    color: var(--hp-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.hp-blog-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: var(--hp-gold);
    font-weight: 900;
    text-decoration: none;
}

.hp-blog-more i {
    transition: transform 0.25s ease;
}

.hp-blog-more:hover i {
    transform: translateX(4px);
}


/* =================================================================== faq */
.hp-faq {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
    gap: 60px;
}

.hp-faq-intro {
    position: sticky;
    top: 110px;
}

.hp-help {
    margin-top: 32px;
    padding: 26px;
    background: #fff;
    border: 1px solid var(--hp-line);
    border-radius: var(--hp-radius);
    box-shadow: var(--hp-shadow-sm);
}

.hp-help-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--hp-navy);
    color: var(--hp-gold-2);
    font-size: 1.2rem;
}

.hp-help h3 {
    margin-top: 16px;
    color: var(--hp-ink);
    font-size: 1.2rem;
    font-weight: 900;
}

.hp-help p {
    margin-top: 8px;
    color: var(--hp-muted);
    line-height: 1.6;
}

.hp-help-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.hp-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hp-faq-item {
    background: #fff;
    border: 1px solid var(--hp-line);
    border-radius: 16px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.hp-faq-item[open] {
    border-color: var(--hp-navy);
    box-shadow: var(--hp-shadow);
}

.hp-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px;
    border-radius: 16px;
    color: var(--hp-ink);
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.4;
    list-style: none;
    cursor: pointer;
}

.hp-faq-item summary::-webkit-details-marker {
    display: none;
}

.hp-faq-icon {
    position: relative;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--hp-tint);
    transition: background 0.3s ease;
}

.hp-faq-icon::before,
.hp-faq-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    border-radius: 2px;
    background: var(--hp-navy);
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
}

.hp-faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.hp-faq-item[open] .hp-faq-icon {
    background: var(--hp-gold);
}

.hp-faq-item[open] .hp-faq-icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.hp-faq-answer {
    padding: 0 22px 22px;
    color: var(--hp-muted);
    line-height: 1.7;
}


/* ============================================================ closing CTA */
.hp-cta-band {
    padding: 84px 0;
}

.hp-cta {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.4fr auto;
    align-items: center;
    gap: 36px;
    padding: 60px;
    background: var(--hp-navy-grad);
    border-radius: 32px;
    box-shadow: var(--hp-shadow-lg);
}

.hp-cta::before {
    content: '';
    position: absolute;
    top: -160px;
    right: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(219, 151, 18, 0.35), transparent 70%);
}

.hp-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--hp-dots);
    background-size: 24px 24px;
    pointer-events: none;
}

.hp-cta > * {
    position: relative;
    z-index: 1;
}

.hp-cta h2 {
    color: #fff;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hp-cta p {
    max-width: 560px;
    margin-top: 12px;
    color: var(--hp-on-dark);
    font-size: 1.05rem;
    line-height: 1.6;
}

.hp-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}


/* =============================================== floating contact dock */
/* WhatsApp and call buttons, bottom right. A label slides out on hover or
   keyboard focus; the dock lifts clear of the footer's bottom bar. */
.fab-dock {
    position: fixed;
    right: 22px;
    bottom: 26px;
    z-index: 950;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    transition: transform 0.35s ease;
    /* "backwards", not "both": a retained end state would override the
       .is-raised transform below */
    animation: fab-in 0.5s 0.8s ease backwards;
}

.fab-dock.is-raised {
    transform: translateY(-84px);
}

@keyframes fab-in {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}

.fab {
    position: relative;
    display: block;
    border-radius: 50%;
    text-decoration: none;
}

.fab-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* white inner ring and top gloss */
.fab-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 55%);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.28);
    pointer-events: none;
}

.fab-wa .fab-icon {
    background: linear-gradient(145deg, #3ee07a 0%, #16a34a 100%);
    box-shadow: 0 12px 26px rgba(22, 163, 74, 0.38);
    font-size: 1.65rem;
}

/* soft "live" ring around WhatsApp */
.fab-wa .fab-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid #22c55e;
    border-radius: 50%;
    animation: fab-ring 2.6s ease-out infinite;
}

@keyframes fab-ring {
    0% { opacity: 0.7; transform: scale(1); }
    80%, 100% { opacity: 0; transform: scale(1.55); }
}

.fab-call .fab-icon {
    background: linear-gradient(145deg, #1a4fd6 0%, #0b2a5b 100%);
    box-shadow: 0 12px 26px rgba(26, 79, 214, 0.38);
}

.fab-call .fab-icon i {
    animation: fab-ring-phone 3.2s ease-in-out infinite;
}

/* the handset gives a short "ring" every few seconds */
@keyframes fab-ring-phone {
    0%, 70%, 100% { transform: rotate(0); }
    74% { transform: rotate(-14deg); }
    78% { transform: rotate(12deg); }
    82% { transform: rotate(-10deg); }
    86% { transform: rotate(8deg); }
    90% { transform: rotate(0); }
}

.fab:hover .fab-icon,
.fab:focus-visible .fab-icon {
    transform: translateY(-3px) scale(1.06);
}

.fab-wa:hover .fab-icon {
    box-shadow: 0 16px 32px rgba(22, 163, 74, 0.48);
}

.fab-call:hover .fab-icon {
    box-shadow: 0 16px 32px rgba(26, 79, 214, 0.48);
}

.fab:focus-visible {
    outline: none;
}

.fab:focus-visible .fab-icon {
    outline: 3px solid #f5b942;
    outline-offset: 3px;
}

/* label pill to the left of the button */
.fab-tip {
    position: absolute;
    top: 50%;
    right: calc(100% + 14px);
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 9px 14px;
    background: #0f1b33;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(15, 27, 51, 0.25);
    color: #fff;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translate(8px, -50%);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.fab-tip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -5px;
    width: 10px;
    height: 10px;
    background: #0f1b33;
    border-radius: 2px;
    transform: translateY(-50%) rotate(45deg);
}

.fab-tip strong {
    font-size: 0.88rem;
    font-weight: 800;
}

.fab-tip small {
    color: #b9c5d8;
    font-size: 0.72rem;
    font-weight: 700;
}

.fab:hover .fab-tip,
.fab:focus-visible .fab-tip {
    opacity: 1;
    transform: translate(0, -50%);
}

@media (prefers-reduced-motion: reduce) {
    .fab-dock,
    .fab-wa .fab-icon::before,
    .fab-call .fab-icon i {
        animation: none;
    }
}


/* ================================================= mobile action bar */
.hp-mobile-bar {
    display: none;
}


/* ============================================================ responsive */
@media (max-width: 1150px) {
    .hp-hero-grid {
        gap: 48px;
    }

    .hp-chip-a {
        left: -20px;
    }

    .hp-chip-b {
        right: -14px;
    }

    .hp-enquiry {
        grid-template-columns: 1fr;
    }

    .hp-enquiry-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hp-enquiry-form .hp-btn {
        grid-column: 1 / -1;
    }

    .hp-enquiry-perks {
        grid-column: auto;
    }

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

    .hp-bento-media {
        grid-column: 1 / -1;
        grid-row: auto;
        min-height: 340px;
    }

    .hp-bento > article:nth-of-type(n) {
        grid-column: auto;
        display: block;
    }

    .hp-bento > article:nth-of-type(n) .hp-feature-icon {
        margin-bottom: 18px;
    }

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

    .hp-course,
    .hp-course:nth-child(-n+2) {
        grid-column: auto;
    }

    .hp-course:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    .hp-stats {
        grid-template-columns: 1fr;
    }

    .hp-story {
        flex-basis: calc((100% - 20px) / 2);
    }

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

    /* two columns: show two posts rather than leave one hanging */
    .hp-blogs > .hp-blog:nth-child(3) {
        display: none;
    }
}

@media (max-width: 900px) {
    .hp-section,
    .hp-cta-band {
        padding: 64px 0;
    }

    .hp-hero {
        padding: 112px 0 150px;
    }

    .hp-hero-grid {
        grid-template-columns: 1fr;
    }

    .hp-hero-visual {
        justify-self: center;
        max-width: 520px;
    }

    .hp-head-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

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

    .hp-batch {
        grid-template-columns: 1fr;
    }

    .hp-faq {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .hp-faq-intro {
        position: static;
    }

    .hp-cta {
        grid-template-columns: 1fr;
        padding: 44px 36px;
    }

    .hp-cta-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    /* the bar below replaces the floating call/WhatsApp buttons */
    .fab-dock {
        display: none;
    }

    body {
        padding-bottom: 84px;
    }

    /* Bar switched off in Admin > Settings > Show / Hide: no reserved
       space, and the floating buttons come back so phones keep a way to
       call or message. */
    body.no-mobile-bar {
        padding-bottom: 0;
    }

    body.no-mobile-bar .fab-dock {
        display: flex;
    }

    .hp-mobile-bar {
        position: fixed;
        right: 12px;
        bottom: 12px;
        left: 12px;
        z-index: 900;
        display: grid;
        grid-template-columns: 1fr 1fr 1.7fr;
        gap: 8px;
        padding: 8px;
        background: rgba(255, 255, 255, 0.96);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        border: 1px solid var(--hp-line);
        border-radius: 18px;
        box-shadow: 0 16px 40px rgba(15, 27, 51, 0.2);
    }

    .hp-mobile-bar a,
    .hp-mobile-bar button {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        height: 48px;
        padding: 0 8px;
        background: var(--hp-tint);
        border: 0;
        border-radius: 12px;
        color: var(--hp-navy);
        font-family: inherit;
        font-size: 0.88rem;
        font-weight: 800;
        text-decoration: none;
        white-space: nowrap;
        cursor: pointer;
    }

    .hp-mobile-bar a:nth-child(2) i {
        color: #1faa53;
        font-size: 1.1rem;
    }

    .hp-mobile-bar .hp-mobile-bar-main {
        background: var(--hp-gold-grad);
    }
}

@media (max-width: 640px) {
    .hp-section,
    .hp-cta-band {
        padding: 56px 0;
    }

    .hp-hero {
        padding: 110px 0 130px;
    }

    .hp-hero-lead {
        font-size: 1.05rem;
    }

    .hp-hero-actions {
        flex-direction: column;
    }

    .hp-hero-actions .hp-btn {
        width: 100%;
    }

    /* keep the proof row on one line at phone width */
    .hp-hero-trust {
        gap: 12px;
        margin-top: 30px;
    }

    .hp-avatars img {
        width: 36px;
        height: 36px;
        margin-left: -10px;
    }

    .hp-trust-item strong {
        font-size: 1.1rem;
    }

    .hp-trust-item span {
        font-size: 0.76rem;
    }

    .hp-hero-visual::before {
        top: -16px;
        right: -8px;
        width: 120px;
        height: 120px;
    }

    .hp-hero-visual::after {
        left: -24px;
        width: 150px;
        height: 150px;
    }

    .hp-hero-frame {
        border-width: 6px;
        border-radius: 24px;
    }

    .hp-chip {
        padding: 9px 14px 9px 9px;
        gap: 10px;
    }

    .hp-chip strong {
        font-size: 0.92rem;
    }

    .hp-chip-icon {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }

    .hp-chip-a {
        top: 18px;
        left: -6px;
    }

    .hp-chip-b {
        right: -6px;
        bottom: 90px;
    }

    .hp-chip-c {
        left: 16px;
    }

    .hp-enquiry-wrap {
        margin-top: -80px;
    }

    .hp-enquiry {
        padding: 24px 18px;
        border-radius: 20px;
    }

    .hp-enquiry-form {
        grid-template-columns: 1fr;
    }

    .hp-ticker {
        margin-top: 44px;
        padding: 16px 0;
    }

    .hp-ticker li {
        font-size: 1rem;
    }

    .hp-head {
        margin-bottom: 36px;
    }

    .hp-bento {
        grid-template-columns: 1fr;
    }

    .hp-bento-media {
        min-height: 280px;
    }

    .hp-bento-kicker {
        font-size: 1.35rem;
    }

    .hp-courses {
        grid-template-columns: 1fr;
    }

    .hp-course {
        padding: 24px;
    }

    .hp-course-media {
        margin: -24px -24px 18px;
    }

    .hp-topper {
        width: 210px;
    }

    .hp-stats {
        padding: 24px 18px;
    }

    .hp-stat strong {
        font-size: 1.6rem;
    }

    .hp-batch-info,
    .hp-batch-cta {
        padding: 30px 22px;
    }

    .hp-batch-slots {
        grid-template-columns: 1fr;
    }

    .hp-batch-cta h3 {
        font-size: 1.6rem;
    }

    .hp-story {
        flex-basis: 86%;
        padding: 24px;
    }

    .hp-blogs {
        grid-template-columns: 1fr;
    }

    .hp-blogs > .hp-blog:nth-child(3) {
        display: flex;
    }

    .hp-cta {
        padding: 36px 22px;
        border-radius: 24px;
    }

    .hp-cta-actions {
        flex-direction: column;
    }

    .hp-cta-actions .hp-btn {
        width: 100%;
    }
}

@media (max-width: 400px) {
    .hp-avatars img:nth-child(n+4) {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hp-chip,
    .hp-live-dot,
    .hp-ticker-track {
        animation: none;
    }

    .hp-slider {
        scroll-behavior: auto;
    }
}


/* ========================================================= site theme */
/* Aligns the shared components with the home banner: navy-to-royal
   buttons, royal-blue highlighted words with the gold hand underline, and
   a cream dotted surface for alternating sections. */
.hp-btn-primary {
    background: linear-gradient(135deg, #0b2a5b 0%, #1a4fd6 100%);
    box-shadow: 0 12px 26px rgba(26, 79, 214, 0.26);
}

.hp-btn-primary:hover {
    background: linear-gradient(135deg, #001d42 0%, #1540b3 100%);
    box-shadow: 0 16px 32px rgba(26, 79, 214, 0.34);
}

.hp-title span,
.hp-marker {
    background: linear-gradient(90deg, #0b2a5b 0%, #1a4fd6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hp-dark .hp-title span {
    background: none;
    color: var(--hp-gold-2);
}

.hp-nav-btn:hover {
    background: #1a4fd6;
    border-color: #1a4fd6;
}

.hp-section-cream {
    background-color: #fffaf0;
    background-image:
        radial-gradient(560px 420px at 100% 0%, rgba(219, 151, 18, 0.12), transparent 70%),
        radial-gradient(rgba(0, 29, 66, 0.08) 1.2px, transparent 1.2px);
    background-size: 100% 100%, 22px 22px;
}

/* cards hidden by a filter must leave the slider */
.hp-slider > [hidden] {
    display: none;
}


/* ============================================================ results */
/* "Hall of fame": navy stage, filterable achiever cards with a gold rank
   ribbon, a closing "your name next" card and the stats bar. */
.rs-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(700px 460px at 92% -8%, rgba(245, 185, 66, 0.18), transparent 60%),
        radial-gradient(640px 460px at -6% 108%, rgba(26, 79, 214, 0.38), transparent 60%),
        linear-gradient(160deg, #0b2a5b 0%, #001d42 55%, #00142e 100%);
    color: #fff;
}

.rs-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.rs-glow {
    position: absolute;
    top: 70px;
    right: -130px;
    width: 340px;
    height: 340px;
    border: 42px solid rgba(245, 185, 66, 0.07);
    border-radius: 50%;
    pointer-events: none;
}

.rs-section > .section-container {
    position: relative;
    z-index: 1;
}

.rs-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 30px;
}

.rs-head .hp-eyebrow {
    color: #f5b942;
}

.rs-title {
    max-width: 720px;
    color: #fff;
    font-size: clamp(1.9rem, 3.2vw, 2.7rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.rs-title span {
    color: #f5b942;
}

.rs-sub {
    max-width: 640px;
    margin-top: 14px;
    color: #b9c5d8;
    font-size: 1.02rem;
    line-height: 1.65;
}

.rs-tools {
    display: flex;
    flex-shrink: 0;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

.rs-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.rs-pill {
    height: 38px;
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: #dbe4f3;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.rs-pill:hover {
    border-color: #f5b942;
    color: #fff;
}

.rs-pill.is-active {
    background: linear-gradient(135deg, #f7c052 0%, #db9712 100%);
    border-color: transparent;
    color: #001d42;
}

.rs-pill:focus-visible {
    outline: 3px solid #f5b942;
    outline-offset: 2px;
}

.rs-section .hp-nav-btn {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.rs-section .hp-nav-btn:hover {
    background: #f5b942;
    border-color: #f5b942;
    color: #001d42;
}

.rs-rail {
    gap: 18px;
}

.rs-card {
    --r1: #4d7fe8;
    --r2: #0b2a5b;
    display: flex;
    flex-direction: column;
    width: 250px;
    padding: 10px 10px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.rs-gold  { --r1: #f7c052; --r2: #a86400; }
.rs-royal { --r1: #8fa9ff; --r2: #3b52c9; }
.rs-teal  { --r1: #3fd0b4; --r2: #0a5e4f; }

.rs-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(245, 185, 66, 0.55);
}

.rs-photo {
    position: relative;
    aspect-ratio: 4 / 4.4;
    background: linear-gradient(160deg, var(--r1) 0%, var(--r2) 100%);
    border-radius: 18px;
}

.rs-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 18px;
    object-fit: cover;
    object-position: center 15%;
}

.rs-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: linear-gradient(180deg, transparent 55%, rgba(0, 20, 46, 0.55) 100%);
    pointer-events: none;
}

.rs-exam {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
    max-width: calc(100% - 20px);
    overflow: hidden;
    padding: 5px 9px;
    background: rgba(0, 20, 46, 0.6);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border-left: 3px solid #f5b942;
    border-radius: 8px;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

/* gold ribbon straddling the bottom edge of the photo */
.rs-rank {
    position: absolute;
    bottom: -18px;
    left: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: calc(100% - 12px);
    padding: 8px 18px;
    background: linear-gradient(135deg, #ffd36b 0%, #e9a51f 100%);
    border: 3px solid #0b2a5b;
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
    color: #001d42;
    font-size: 1.2rem;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    transform: translateX(-50%);
}

.rs-rank i {
    font-size: 0.75em;
}

.rs-body {
    padding: 32px 8px 0;
    text-align: center;
}

.rs-body h3 {
    overflow: hidden;
    color: #fff;
    font-size: 1.08rem;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rs-body p {
    margin-top: 5px;
    color: #b9c5d8;
    font-size: 0.82rem;
}

.rs-body p i {
    margin-right: 3px;
    color: #f5b942;
}

.rs-next {
    align-items: center;
    justify-content: center;
    padding: 28px 22px;
    background: linear-gradient(160deg, rgba(245, 185, 66, 0.16) 0%, rgba(245, 185, 66, 0.03) 100%);
    border: 1.5px dashed rgba(245, 185, 66, 0.6);
    text-align: center;
}

.rs-next-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd36b 0%, #e9a51f 100%);
    box-shadow: 0 12px 26px rgba(233, 165, 31, 0.35);
    color: #001d42;
    font-size: 1.5rem;
}

.rs-next h3 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1.25;
}

.rs-next p {
    margin: 8px 0 18px;
    color: #c3cfe2;
    font-size: 0.88rem;
    line-height: 1.6;
}

.rs-stats {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr);
    align-items: center;
    gap: 32px;
    margin-top: 36px;
    padding: 30px 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
}

.rs-stats-intro h3 {
    color: #fff;
    font-size: 1.45rem;
    font-weight: 900;
    line-height: 1.25;
}

.rs-stats-intro h3 span {
    color: #f5b942;
}

.rs-stats-intro p {
    margin-top: 8px;
    color: #b9c5d8;
    font-size: 0.9rem;
    line-height: 1.6;
}

.rs-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rs-stat {
    padding: 6px 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.rs-stat-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f7c052 0%, #db9712 100%);
    color: #001d42;
}

.rs-stat strong {
    display: block;
    color: #fff;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

.rs-stat em {
    color: #f5b942;
    font-style: normal;
}

.rs-stat-label {
    display: block;
    margin-top: 6px;
    color: #b9c5d8;
    font-size: 0.84rem;
    font-weight: 700;
}


/* ============================================================ batches */
/* Batch slots as "tickets" with a perforated stub; navy-to-royal CTA. */
.bt-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
    align-items: stretch;
    gap: 32px;
}

.bt-info .hp-title {
    margin-bottom: 14px;
}

.bt-days {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    background: #fff;
    border: 1px solid #f1e3c4;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(15, 27, 51, 0.05);
    color: #0f1b33;
    font-size: 0.92rem;
    font-weight: 800;
}

.bt-days i {
    color: #db9712;
}

.bt-tickets {
    display: grid;
    gap: 16px;
    margin-top: 26px;
}

.bt-ticket {
    --t: #b86f00;
    --t1: #ffcb66;
    --t2: #ec8500;
    --t-soft: #fff4dc;
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr) auto;
    align-items: center;
    overflow: hidden;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 1px 2px rgba(15, 27, 51, 0.05), 0 12px 28px rgba(15, 27, 51, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bt-ticket-alt {
    --t: #1a4fd6;
    --t1: #8fa9ff;
    --t2: #1a4fd6;
    --t-soft: #e8efff;
}

.bt-ticket:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(15, 27, 51, 0.12);
}

.bt-stub {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    align-self: stretch;
    padding: 18px 10px;
    background: linear-gradient(160deg, var(--t-soft) 0%, #fff 100%);
    border-right: 2px dashed #e3e8f0;
}

/* punched notches at the tear line */
.bt-stub::before,
.bt-stub::after {
    content: '';
    position: absolute;
    right: -11px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fffaf0;
}

.bt-stub::before {
    top: -10px;
}

.bt-stub::after {
    bottom: -10px;
}

.bt-stub i {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(145deg, var(--t1), var(--t2));
    box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.12), 0 10px 18px -8px var(--t2);
    color: #fff;
    font-size: 1.3rem;
}

.bt-stub span {
    color: var(--t);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.bt-main {
    min-width: 0;
    padding: 18px 22px;
}

.bt-main small {
    display: block;
    color: #66758c;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.bt-main strong {
    display: block;
    margin: 4px 0 8px;
    color: #0f1b33;
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1.15;
}

.bt-meta {
    color: #66758c;
    font-size: 0.8rem;
    font-weight: 700;
}

.bt-meta i {
    margin-right: 4px;
    color: var(--t);
}

.bt-reserve {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 46px;
    margin-right: 20px;
    padding: 0 18px;
    background: #001d42;
    border: 0;
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s ease;
}

.bt-reserve:hover {
    background: #1a4fd6;
}

.bt-reserve i {
    font-size: 0.8em;
}

.bt-cta {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 36px 32px;
    background:
        radial-gradient(360px 280px at 100% 0%, rgba(245, 185, 66, 0.3), transparent 70%),
        linear-gradient(160deg, #1a4fd6 0%, #0b2a5b 55%, #001d42 100%);
    border-radius: 28px;
    box-shadow: 0 24px 50px rgba(11, 42, 91, 0.3);
    color: #fff;
}

.bt-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
}

.bt-cta > * {
    position: relative;
    z-index: 1;
}

.bt-seats {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    padding: 7px 14px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: #ffe0a3;
    font-size: 0.8rem;
    font-weight: 800;
}

.bt-cta h3 {
    margin-top: 18px;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.15;
}

.bt-cta > p {
    margin-top: 8px;
    color: #c3cfe2;
    line-height: 1.6;
}

.bt-checks {
    display: grid;
    gap: 10px;
    margin: 20px 0 24px;
    list-style: none;
}

.bt-checks li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.bt-checks i {
    color: #f5b942;
}

.bt-contact {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.bt-contact a {
    display: inline-flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.bt-contact a:hover {
    background: #fff;
    color: #001d42;
}

.bt-reserve:focus-visible,
.bt-contact a:focus-visible {
    outline: 3px solid #f5b942;
    outline-offset: 2px;
}


/* ======================================================= testimonials */
/* Spotlight: one large story at a time on a card "deck", chosen from the
   students' faces on the left; auto-advances (see main.js). */
.ts-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(520px 420px at 100% 10%, rgba(26, 79, 214, 0.08), transparent 70%),
        radial-gradient(480px 380px at 0% 100%, rgba(219, 151, 18, 0.1), transparent 70%),
        #f5f7fb;
}

/* oversized quote glyph behind the stage */
.ts-bg-quote {
    position: absolute;
    top: -0.18em;
    right: 4%;
    color: rgba(26, 79, 214, 0.06);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(16rem, 30vw, 28rem);
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.ts-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.35fr);
    align-items: center;
    gap: 56px;
}

.ts-picker {
    margin-top: 28px;
    padding: 18px;
    background: #fff;
    border: 1px solid #e8edf4;
    border-radius: 20px;
    box-shadow: 0 4px 14px rgba(15, 27, 51, 0.05);
}

.ts-picker-label {
    color: #66758c;
    font-size: 0.86rem;
    line-height: 1.45;
}

.ts-picker-label strong {
    color: #0f1b33;
    font-weight: 900;
}

.ts-faces {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.ts-face {
    position: relative;
    width: 52px;
    height: 52px;
    padding: 0;
    background: #e9eef6;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #e3e8f0;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    opacity: 0.7;
}

.ts-face img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.ts-face:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.ts-face.is-active {
    opacity: 1;
    box-shadow: 0 0 0 3px #f5b942, 0 8px 18px rgba(219, 151, 18, 0.3);
    transform: scale(1.08);
}

.ts-face:focus-visible {
    outline: 3px solid #1a4fd6;
    outline-offset: 3px;
}

.ts-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
}

.ts-count {
    margin-left: 8px;
    color: #8592a6;
    font-size: 0.95rem;
    font-weight: 800;
}

.ts-count strong {
    color: #0f1b33;
    font-size: 1.3rem;
    font-weight: 900;
}

/* ---- stage: two faded cards behind the active one make a deck */
.ts-stage {
    position: relative;
    display: grid;
    padding: 0 18px 30px 0;
}

.ts-stage::before,
.ts-stage::after {
    content: '';
    position: absolute;
    right: 0;
    left: 18px;
    border-radius: 30px;
    pointer-events: none;
}

.ts-stage::before {
    top: 18px;
    bottom: 12px;
    background: #fff;
    border: 1px solid #e8edf4;
    box-shadow: 0 10px 30px rgba(15, 27, 51, 0.06);
    transform: rotate(2.2deg);
}

.ts-stage::after {
    top: 34px;
    bottom: 0;
    z-index: -1;
    background: linear-gradient(135deg, #f5b942 0%, #1a4fd6 100%);
    opacity: 0.18;
    transform: rotate(4.5deg);
}

/* every slide shares one grid cell; only the active one is shown */
.ts-spot {
    --q1: #1a4fd6;
    --q2: #0b2a5b;
    position: relative;
    z-index: 1;
    grid-area: 1 / 1;
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    min-height: 360px;
    margin: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e8edf4;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(15, 27, 51, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.985);
    transition: opacity 0.45s ease, transform 0.45s ease, visibility 0s linear 0.45s;
}

.ts-spot.is-active {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.45s ease, transform 0.45s ease, visibility 0s;
}

.ts-gold  { --q1: #e9a51f; --q2: #8a5300; }
.ts-royal { --q1: #7c5ce6; --q2: #3b2a8c; }
.ts-teal  { --q1: #19b394; --q2: #0a5e4f; }

.ts-person {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 32px 20px;
    background:
        radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px) 0 0 / 16px 16px,
        linear-gradient(160deg, var(--q1) 0%, var(--q2) 100%);
    color: #fff;
    text-align: center;
}

.ts-person::after {
    content: '';
    position: absolute;
    right: -60px;
    bottom: -60px;
    width: 160px;
    height: 160px;
    border: 26px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.ts-photo {
    position: relative;
    z-index: 1;
    display: block;
    width: 136px;
    height: 136px;
    padding: 5px;
    background: linear-gradient(135deg, #ffd36b 0%, #e9a51f 100%);
    border-radius: 50%;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.25);
}

.ts-photo img {
    display: block;
    width: 100%;
    height: 100%;
    background: #fff;
    border: 4px solid #fff;
    border-radius: 50%;
    object-fit: cover;
}

.ts-person figcaption {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.ts-person strong {
    font-size: 1.2rem;
    font-weight: 900;
    line-height: 1.2;
}

.ts-rank {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    color: #ffe08a;
    font-size: 0.78rem;
    font-weight: 800;
}

.ts-words {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 44px;
}

.ts-mark {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #ffd36b 0%, #e9a51f 100%);
    box-shadow: 0 12px 24px rgba(233, 165, 31, 0.3);
    color: #001d42;
    font-size: 1.35rem;
}

/* style.css styles every blockquote for blog posts; reset it here */
.ts-words blockquote {
    margin: 24px 0 22px;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    color: #0f1b33;
    font-size: clamp(1.2rem, 1.8vw, 1.55rem);
    font-style: normal;
    font-weight: 700;
    line-height: 1.55;
    letter-spacing: -0.01em;
}

.ts-sign {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #8592a6;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ts-sign::before {
    content: '';
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: var(--q1);
}

.ts-progress {
    position: absolute;
    right: 18px;
    bottom: 8px;
    left: 18px;
    z-index: 2;
    height: 4px;
    overflow: hidden;
    background: rgba(15, 27, 51, 0.08);
    border-radius: 999px;
}

.ts-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #1a4fd6, #f5b942);
    border-radius: 999px;
}

.ts-progress span.is-running {
    width: 100%;
    transition: width linear;
}

/* without JavaScript every story is listed */
.ts-section:not(.is-ready) .ts-stage {
    gap: 20px;
}

.ts-section:not(.is-ready) .ts-spot {
    grid-area: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
}

.ts-section:not(.is-ready) .ts-stage::before,
.ts-section:not(.is-ready) .ts-stage::after,
.ts-section:not(.is-ready) .ts-progress,
.ts-section:not(.is-ready) .ts-controls {
    display: none;
}

@media (max-width: 1000px) {
    .ts-grid {
        gap: 36px;
    }
}

@media (max-width: 700px) {
    .ts-stage {
        padding: 0 10px 26px 0;
    }

    .ts-stage::before,
    .ts-stage::after {
        left: 10px;
        border-radius: 24px;
    }

    /* person strip across the top, words below */
    .ts-spot {
        grid-template-columns: 1fr;
        min-height: 0;
        border-radius: 24px;
    }

    .ts-person {
        flex-direction: row;
        justify-content: flex-start;
        gap: 16px;
        padding: 20px;
        text-align: left;
    }

    .ts-person figcaption {
        align-items: flex-start;
    }

    .ts-photo {
        flex-shrink: 0;
        width: 84px;
        height: 84px;
        padding: 3px;
    }

    .ts-photo img {
        border-width: 3px;
    }

    .ts-words {
        padding: 24px 22px 26px;
    }

    .ts-mark {
        width: 46px;
        height: 46px;
        border-radius: 14px;
        font-size: 1.1rem;
    }

    .ts-words blockquote {
        margin: 16px 0;
        font-size: 1.1rem;
    }

    .ts-progress {
        right: 10px;
        left: 10px;
        bottom: 6px;
    }

    .ts-face {
        width: 46px;
        height: 46px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ts-spot,
    .ts-spot.is-active {
        transition: none;
    }
}


/* ============================================================== blogs */
.bl-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 24px;
}

.bl-grid-single {
    grid-template-columns: 1fr;
}

.bl-lead {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 440px;
    overflow: hidden;
    background: #0b2a5b;
    border-radius: 26px;
    box-shadow: 0 20px 44px rgba(15, 27, 51, 0.16);
    text-decoration: none;
}

.bl-lead img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.bl-lead::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 20, 46, 0) 22%, rgba(0, 20, 46, 0.92) 100%);
}

.bl-lead:hover img {
    transform: scale(1.05);
}

.bl-lead-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    padding: 30px;
    color: #fff;
}

.bl-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bl-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.16);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    color: #fff;
    font-size: 0.74rem;
    font-weight: 800;
}

.bl-chip-gold {
    background: linear-gradient(135deg, #f7c052 0%, #db9712 100%);
    border-color: transparent;
    color: #001d42;
}

.bl-lead-title {
    font-size: clamp(1.4rem, 2.2vw, 1.95rem);
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

.bl-lead-text {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
    line-height: 1.6;
}

.bl-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 16px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.8rem;
    font-weight: 700;
}

.bl-meta i {
    margin-right: 4px;
}

.bl-read {
    margin-left: auto;
    color: #f5b942;
    font-weight: 900;
}

.bl-read i {
    margin: 0 0 0 4px;
    transition: transform 0.2s ease;
}

.bl-lead:hover .bl-read i {
    transform: translateX(3px);
}

.bl-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bl-item {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 12px;
    background: #fff;
    border: 1px solid #e8edf4;
    border-radius: 20px;
    box-shadow: 0 4px 14px rgba(15, 27, 51, 0.05);
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.bl-item:hover {
    transform: translateY(-3px);
    border-color: transparent;
    box-shadow: 0 18px 36px rgba(15, 27, 51, 0.12);
}

.bl-thumb {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 14px;
}

.bl-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.bl-item:hover .bl-thumb img {
    transform: scale(1.06);
}

.bl-item-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.bl-kicker {
    color: #1a4fd6;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bl-item strong {
    display: -webkit-box;
    overflow: hidden;
    color: #0f1b33;
    font-size: 1.02rem;
    font-weight: 900;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.bl-item .bl-meta {
    color: #8592a6;
    gap: 4px 12px;
}

.bl-go {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-right: 6px;
    border-radius: 50%;
    background: #f1f4f9;
    color: #0f1b33;
    font-size: 0.8rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.bl-item:hover .bl-go {
    background: #1a4fd6;
    color: #fff;
}

.bl-topics {
    padding: 18px 20px;
    background: #f7f9fc;
    border: 1px dashed #d5dce8;
    border-radius: 20px;
}

.bl-topics-title {
    display: block;
    margin-bottom: 12px;
    color: #0f1b33;
    font-size: 0.9rem;
    font-weight: 900;
}

.bl-topics-title i {
    margin-right: 6px;
    color: #db9712;
}

.bl-topics-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bl-topics-list a {
    padding: 8px 14px;
    background: #fff;
    border: 1px solid #e3e8f0;
    border-radius: 999px;
    color: #0f1b33;
    font-size: 0.84rem;
    font-weight: 800;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.bl-topics-list a:hover {
    background: #1a4fd6;
    border-color: #1a4fd6;
    color: #fff;
}

.bl-all {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding: 18px 20px;
    background: linear-gradient(135deg, #0b2a5b 0%, #1a4fd6 100%);
    border-radius: 18px;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    transition: box-shadow 0.2s ease;
}

.bl-all span i {
    margin-right: 8px;
    color: #f5b942;
}

.bl-all:hover {
    box-shadow: 0 14px 30px rgba(26, 79, 214, 0.3);
}

.bl-lead:focus-visible,
.bl-item:focus-visible,
.bl-all:focus-visible {
    outline: 3px solid #93b4ee;
    outline-offset: 3px;
}


@media (max-width: 1000px) {
    .rs-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .rs-tools {
        align-items: flex-start;
    }

    .rs-pills {
        justify-content: flex-start;
    }

    .rs-stats {
        grid-template-columns: 1fr;
    }

    .bt-grid,
    .ts-grid,
    .bl-grid {
        grid-template-columns: 1fr;
    }

    .bl-lead {
        min-height: 380px;
    }
}

@media (max-width: 640px) {
    .rs-card {
        width: 220px;
    }

    .rs-stats {
        padding: 22px 18px;
    }

    .rs-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 0;
    }

    .rs-stat {
        padding: 4px 14px;
    }

    .rs-stat:nth-child(odd) {
        border-left: 0;
        padding-left: 0;
    }

    .rs-stat strong {
        font-size: 1.6rem;
    }

    .bt-ticket {
        grid-template-columns: 92px minmax(0, 1fr);
    }

    .bt-main {
        padding: 16px;
    }

    .bt-main strong {
        font-size: 1.3rem;
    }

    /* the stub runs the full height so its notches stay on the tear line */
    .bt-stub {
        grid-row: 1 / span 2;
    }

    .bt-reserve {
        grid-column: 2;
        justify-content: center;
        margin: 0 16px 16px;
    }

    .bt-cta {
        padding: 28px 22px;
    }

    .bt-cta h3 {
        font-size: 1.6rem;
    }

    .bl-lead {
        min-height: 340px;
        border-radius: 22px;
    }

    .bl-lead-body {
        padding: 22px;
    }

    .bl-item {
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 12px;
        padding: 10px;
    }

    .bl-go {
        display: none;
    }
}


/* ============================================================ why SLC */
/* Navy intro panel on the left (photo as a faint backdrop), numbered
   feature cards with the banner's 3D icons on the right. */
.wy-section {
    position: relative;
    background:
        radial-gradient(480px 360px at 100% 0%, rgba(219, 151, 18, 0.08), transparent 70%),
        #fff;
}

.wy-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
    align-items: stretch;
    gap: 28px;
}

.wy-panel {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
    padding: 40px 36px 36px;
    background: linear-gradient(160deg, #0b2a5b 0%, #001d42 70%);
    border-radius: 28px;
    box-shadow: 0 24px 50px rgba(0, 29, 66, 0.22);
    color: #fff;
}

.wy-panel-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.16;
    mix-blend-mode: luminosity;
}

/* gold glow and dot grid over the photo */
.wy-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(320px 260px at 100% 0%, rgba(245, 185, 66, 0.28), transparent 70%),
        radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px) 0 0 / 22px 22px;
    pointer-events: none;
}

.wy-panel-body,
.wy-panel-foot {
    position: relative;
    z-index: 1;
}

.wy-panel .hp-eyebrow {
    color: #f5b942;
}

.wy-title {
    color: #fff;
    font-size: clamp(2rem, 3vw, 2.7rem);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.wy-title span {
    color: #f5b942;
}

.wy-desc {
    margin-top: 16px;
    color: #c3cfe2;
    font-size: 1rem;
    line-height: 1.7;
}

.wy-pillars {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
    list-style: none;
}

.wy-pillars li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    color: #fff;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.wy-pillars i {
    color: #f5b942;
}

.wy-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.wy-stats > div {
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
}

.wy-stats strong {
    display: block;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1.1;
}

.wy-stats span {
    display: block;
    margin-top: 2px;
    color: #b9c5d8;
    font-size: 0.8rem;
    font-weight: 700;
}

.wy-seats {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 18px 0 16px;
    color: #ffe0a3;
    font-size: 0.9rem;
    font-weight: 800;
}

.wy-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.wy-card {
    --w1: #b18cf6;
    --w2: #7c4ddb;
    --w-soft: #f3edff;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 26px 26px 24px;
    background: #fff;
    border: 1px solid #e8edf4;
    border-radius: 22px;
    box-shadow: 0 1px 2px rgba(15, 27, 51, 0.04), 0 10px 26px rgba(15, 27, 51, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.wy-card:nth-child(6n+2) { --w1: #8fa9ff; --w2: #4f5fe0; --w-soft: #eef1ff; }
.wy-card:nth-child(6n+3) { --w1: #58e3c4; --w2: #0f9f86; --w-soft: #e6f8f4; }
.wy-card:nth-child(6n+4) { --w1: #ffcb66; --w2: #ec8500; --w-soft: #fff4e0; }
.wy-card:nth-child(6n+5) { --w1: #ff9bb0; --w2: #e0456a; --w-soft: #ffeef2; }
.wy-card:nth-child(6n+6) { --w1: #7fd2ff; --w2: #1f8fe3; --w-soft: #e8f5fe; }

/* soft colour corner that grows on hover */
.wy-card::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--w-soft);
    transition: transform 0.4s ease;
}

.wy-card:hover {
    transform: translateY(-5px);
    border-color: transparent;
    box-shadow: 0 22px 44px rgba(15, 27, 51, 0.12);
}

.wy-card:hover::before {
    transform: scale(1.35);
}

.wy-card > * {
    position: relative;
}

.wy-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
}

.wy-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    overflow: hidden;
    background: linear-gradient(145deg, var(--w1), var(--w2));
    border-radius: 16px;
    box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.12), 0 10px 18px -8px var(--w2);
    color: #fff;
    font-size: 1.35rem;
}

.wy-icon::after {
    content: '';
    position: absolute;
    top: -30%;
    left: -20%;
    width: 90%;
    height: 70%;
    background: rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    transform: rotate(-20deg);
}

.wy-num {
    color: transparent;
    font-size: 2.1rem;
    font-weight: 900;
    line-height: 1;
    -webkit-text-stroke: 1.5px var(--w2);
    opacity: 0.35;
}

.wy-card h3 {
    color: #0f1b33;
    font-size: 1.15rem;
    font-weight: 900;
    line-height: 1.3;
}

.wy-card p {
    margin-top: 8px;
    color: #66758c;
    font-size: 0.94rem;
    line-height: 1.65;
}

@media (max-width: 1000px) {
    .wy-grid {
        grid-template-columns: 1fr;
    }

    .wy-panel {
        padding: 34px 28px 28px;
    }
}

@media (max-width: 640px) {
    .wy-cards {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .wy-panel {
        padding: 28px 22px 24px;
        border-radius: 22px;
    }

    /* compact rows on phones: icon beside the text, less scrolling */
    .wy-card {
        display: grid;
        grid-template-columns: 46px minmax(0, 1fr);
        column-gap: 14px;
        padding: 18px;
        border-radius: 18px;
    }

    .wy-card-top {
        grid-row: 1 / span 2;
        margin: 0;
    }

    .wy-icon {
        width: 46px;
        height: 46px;
        border-radius: 14px;
        font-size: 1.1rem;
    }

    .wy-num {
        display: none;
    }

    .wy-card h3 {
        font-size: 1.05rem;
    }

    .wy-card p {
        margin-top: 4px;
        font-size: 0.9rem;
        line-height: 1.55;
    }
}


/* ============================================================ courses */
/* Sticky intro card on the left, horizontal programme cards on the right:
   illustrated cover, title, key facts, subjects, badge and actions. */
.cr-head {
    margin-bottom: 36px;
}

.cr-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.5fr);
    align-items: start;
    gap: 32px;
}

.cr-aside {
    position: sticky;
    top: 104px;
}

.cr-panel {
    padding: 28px;
    background: #fff;
    border: 1px solid #e8edf4;
    border-radius: 26px;
    box-shadow: 0 1px 2px rgba(15, 27, 51, 0.04), 0 14px 32px rgba(15, 27, 51, 0.07);
}

.cr-panel h3 {
    color: #0f1b33;
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

.cr-panel > p {
    margin-top: 10px;
    color: #66758c;
    font-size: 0.95rem;
    line-height: 1.65;
}

.cr-visual {
    position: relative;
    overflow: hidden;
    margin: 22px 0;
    aspect-ratio: 4 / 3.6;
    background: linear-gradient(160deg, #dfe8fb 0%, #b9cbef 100%);
    border-radius: 20px;
}

.cr-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cr-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 29, 66, 0) 45%, rgba(0, 29, 66, 0.55) 100%);
}

.cr-float {
    position: absolute;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(15, 27, 51, 0.16);
    color: #0f1b33;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.2;
}

.cr-float > i {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: #fff4dc;
    color: #db9712;
    font-size: 0.85rem;
}

.cr-float small {
    display: block;
    color: #66758c;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.cr-float-a {
    top: 14px;
    left: 14px;
}

.cr-float-b {
    top: 50%;
    right: 14px;
}

.cr-float-b > i {
    background: #e3f6ec;
    color: #1f8a55;
}

.cr-float-c {
    bottom: 14px;
    left: 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #001d42;
    color: #fff;
}

.cr-float-c strong {
    color: #f5b942;
    font-size: 1.25rem;
    font-weight: 900;
}

.cr-float-c small {
    color: #c3cfe2;
}

.cr-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Courses page: the list alone, two cards per row on wide screens */
.cr-page .cr-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cr-page .cr-card {
    grid-template-columns: 170px minmax(0, 1fr);
}

/* an odd last card sits centred under the pair above it */
.cr-page .cr-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 9px);
}

/* half-width cards: facts as three boxes, category may wrap */
.cr-page .cr-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 14px;
}

.cr-page .cr-meta li,
.cr-page .cr-meta li:first-child {
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    padding: 8px 10px;
    background: #f5f7fb;
    border: 0;
    border-radius: 10px;
    font-size: 0.84rem;
}

.cr-page .cr-meta span {
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.cr-page .cr-meta strong {
    line-height: 1.25;
}

.cr-page .cr-cover-tag {
    white-space: normal;
}

@media (max-width: 1150px) {
    .cr-page .cr-list {
        display: flex;
        max-width: 860px;
        margin: 0 auto;
    }

    .cr-page .cr-card:last-child:nth-child(odd) {
        width: auto;
    }
}

.cr-card {
    --c1: #0b2a5b;
    --c2: #1a4fd6;
    --c-soft: #e8efff;
    --c-ink: #1a4fd6;
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 22px;
    padding: 16px;
    background: #fff;
    border: 1px solid #e8edf4;
    border-radius: 24px;
    box-shadow: 0 1px 2px rgba(15, 27, 51, 0.04), 0 10px 26px rgba(15, 27, 51, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cr-card:nth-child(5n+2) { --c1: #8a5300; --c2: #eaa628; --c-soft: #fff4dc; --c-ink: #b86f00; }
.cr-card:nth-child(5n+3) { --c1: #0a5e4f; --c2: #19b394; --c-soft: #e3f6ef; --c-ink: #0f8a6f; }
.cr-card:nth-child(5n+4) { --c1: #3b2a8c; --c2: #7c5ce6; --c-soft: #efe9ff; --c-ink: #6a4bd1; }
.cr-card:nth-child(5n+5) { --c1: #8c1f3a; --c2: #e0556f; --c-soft: #ffe8ec; --c-ink: #c93d58; }

.cr-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px rgba(15, 27, 51, 0.12);
}

/* illustrated cover: gradient, rings and a large 3D icon */
.cr-cover {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 196px;
    background:
        radial-gradient(circle at 80% 15%, rgba(255, 255, 255, 0.22) 0 38px, transparent 39px),
        radial-gradient(circle at 12% 95%, rgba(255, 255, 255, 0.12) 0 60px, transparent 61px),
        radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px) 0 0 / 14px 14px,
        linear-gradient(150deg, var(--c2) 0%, var(--c1) 100%);
    border-radius: 18px;
    text-decoration: none;
}

/* with an uploaded photo: the photo fills the cover, tinted in the
   course colour at the bottom; the icon shrinks to a corner chip */
.cr-cover.has-img {
    background: var(--c1);
}

.cr-cover.has-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cr-cover.has-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, transparent 32%),
        linear-gradient(180deg, transparent 50%, var(--c1) 100%);
}

.cr-card:hover .cr-cover.has-img img {
    transform: scale(1.05);
}

.cr-cover.has-img > span {
    z-index: 1;
}

.cr-cover.has-img .cr-cover-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 1rem;
    transform: none;
}

.cr-card:hover .cr-cover.has-img .cr-cover-icon {
    transform: none;
}

.cr-cover-num {
    position: absolute;
    top: 12px;
    left: 14px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.cr-cover-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    overflow: hidden;
    background: linear-gradient(145deg, #fff 0%, #eef2fa 100%);
    border-radius: 22px;
    box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.08), 0 16px 26px rgba(0, 0, 0, 0.22);
    color: var(--c-ink);
    font-size: 2rem;
    transform: rotate(-6deg);
    transition: transform 0.3s ease;
}

.cr-card:hover .cr-cover-icon {
    transform: rotate(0deg) scale(1.05);
}

.cr-cover-tag {
    position: absolute;
    right: 10px;
    bottom: 10px;
    left: 10px;
    overflow: hidden;
    padding: 6px 8px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 10px;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-align: center;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.cr-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 6px 6px 4px 0;
}

.cr-body h3 {
    font-size: 1.4rem;
    font-weight: 900;
    line-height: 1.25;
}

.cr-body h3 a {
    color: #0f1b33;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cr-body h3 a:hover {
    color: var(--c-ink);
}

.cr-sub {
    margin-top: 4px;
    color: #66758c;
    font-size: 0.94rem;
}

.cr-meta {
    display: flex;
    flex-wrap: wrap;
    margin-top: 16px;
    list-style: none;
}

.cr-meta li {
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding: 0 16px;
    color: #0f1b33;
    font-size: 0.9rem;
}

.cr-meta li:first-child {
    padding-left: 0;
}

.cr-meta li + li {
    border-left: 1px solid #dfe5ee;
}

.cr-meta span {
    color: #8592a6;
    font-weight: 600;
}

.cr-meta strong {
    font-weight: 900;
}

.cr-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
    list-style: none;
}

.cr-chips li {
    padding: 5px 10px;
    background: var(--c-soft);
    border-radius: 8px;
    color: var(--c-ink);
    font-size: 0.8rem;
    font-weight: 800;
}

.cr-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 18px;
}

.cr-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: linear-gradient(90deg, #fff4dc 0%, rgba(255, 244, 220, 0) 100%);
    border-left: 3px solid #f5b942;
    border-radius: 8px;
    color: #8a5300;
    font-size: 0.85rem;
    font-weight: 800;
}

.cr-badge i {
    color: #e59a00;
}

.cr-badge-alt {
    background: linear-gradient(90deg, #e3f6ec 0%, rgba(227, 246, 236, 0) 100%);
    border-left-color: #22c55e;
    color: #146c43;
}

.cr-badge-alt i {
    color: #1f8a55;
}

.cr-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cr-demo {
    height: 44px;
    padding: 0 16px;
    background: transparent;
    border: 1.5px solid #dfe5ee;
    border-radius: 12px;
    color: #0f1b33;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 800;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.cr-demo:hover {
    border-color: #0f1b33;
}

.cr-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 20px;
    background: #001d42;
    border-radius: 12px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
    transition: background 0.2s ease;
}

.cr-more i {
    font-size: 0.8em;
    transition: transform 0.2s ease;
}

.cr-more:hover {
    background: #1a4fd6;
}

.cr-more:hover i {
    transform: translateX(3px);
}

.cr-demo:focus-visible,
.cr-more:focus-visible,
.cr-body h3 a:focus-visible {
    outline: 3px solid #93b4ee;
    outline-offset: 2px;
}

@media (max-width: 1100px) {
    .cr-grid {
        grid-template-columns: 1fr;
    }

    .cr-aside {
        position: static;
    }

    /* the intro card goes landscape above the list */
    .cr-panel {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
        grid-template-rows: auto auto 1fr;
        column-gap: 28px;
    }

    .cr-panel h3,
    .cr-panel > p,
    .cr-panel > .hp-btn {
        grid-column: 1;
    }

    .cr-panel > .hp-btn {
        align-self: end;
        margin-top: 18px;
    }

    .cr-visual {
        grid-row: 1 / span 3;
        grid-column: 2;
        margin: 0;
    }
}

@media (max-width: 700px) {
    .cr-panel {
        display: block;
        padding: 22px;
    }

    .cr-visual {
        margin: 18px 0;
    }

    .cr-card,
    .cr-page .cr-card {
        /* .cr-page repeated: its two-column rule above is more specific and
           would otherwise keep the photo beside the text on a phone */
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 12px;
        border-radius: 20px;
    }

    /* the cover becomes a short banner across the top */
    .cr-cover {
        flex-direction: row;
        justify-content: flex-start;
        gap: 14px;
        min-height: 0;
        padding: 16px 16px 16px 44px;
    }

    .cr-cover-num {
        top: 50%;
        transform: translateY(-50%);
    }

    .cr-cover-icon {
        width: 54px;
        height: 54px;
        border-radius: 16px;
        font-size: 1.4rem;
    }

    .cr-cover-tag {
        position: static;
        flex: 1;
        text-align: left;
    }

    /* a photo needs more height than the icon-only strip */
    .cr-cover.has-img {
        align-items: flex-end;
        min-height: 170px;
        padding: 12px;
    }

    .cr-cover.has-img .cr-cover-num {
        top: 14px;
        transform: none;
    }

    .cr-body {
        padding: 0 6px 6px;
    }

    .cr-body h3 {
        font-size: 1.25rem;
    }

    /* facts become three small boxes, label above value */
    .cr-meta {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        margin-top: 14px;
    }

    .cr-meta li,
    .cr-meta li:first-child {
        flex-direction: column;
        gap: 2px;
        min-width: 0;
        padding: 8px 10px;
        background: #f5f7fb;
        border: 0;
        border-radius: 10px;
        font-size: 0.84rem;
    }

    .cr-meta li + li {
        border-left: 0;
    }

    .cr-meta span {
        font-size: 0.7rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .cr-meta strong {
        line-height: 1.25;
    }

    .cr-foot {
        flex-direction: column;
        align-items: stretch;
    }

    .cr-actions > * {
        flex: 1;
        justify-content: center;
    }
}


/* ================================================================ banner */
/*
 * Home banner: headline on the left, four achiever cards on the right in
 * a staggered row, programme tiles overlapping the bottom edge. Achiever
 * photos can be ordinary photos or transparent PNG cut-outs.
 */
.bn-hero {
    position: relative;
    overflow: hidden;
    /* 80px fixed header + breathing room */
    padding: 116px 0 48px;
    background-color: #fffaf0;
    background-image:
        linear-gradient(180deg, rgba(243, 246, 251, 0) 60%, #f3f6fb 100%),
        radial-gradient(520px 520px at 88% 12%, rgba(219, 151, 18, 0.14), transparent 70%),
        radial-gradient(460px 460px at 6% 90%, rgba(26, 79, 214, 0.08), transparent 70%),
        radial-gradient(rgba(0, 29, 66, 0.1) 1.2px, transparent 1.2px);
    background-size: 100% 100%, 100% 100%, 100% 100%, 22px 22px;
}

/* decorative rings */
.bn-spark {
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    pointer-events: none;
}

.bn-spark-a {
    top: 96px;
    right: -90px;
    width: 300px;
    height: 300px;
    border: 34px solid rgba(219, 151, 18, 0.1);
}

.bn-spark-b {
    top: 112px;
    left: 35%;
    width: 22px;
    height: 22px;
    border: 5px solid #f5b942;
}

.bn-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr);
    align-items: center;
    gap: 40px;
}

/* ---- copy */

.bn-title {
    color: #0f1b33;
    letter-spacing: -0.02em;
}

.bn-title-top {
    display: block;
    font-size: clamp(2rem, 3.2vw, 2.9rem);
    font-weight: 700;
    line-height: 1.15;
}

.bn-title-main {
    position: relative;
    display: inline-block;
    margin-top: 4px;
    padding-bottom: 0.12em;
    background: linear-gradient(90deg, #001d42 0%, #1a4fd6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: clamp(2.6rem, 4.4vw, 4rem);
    font-weight: 900;
    line-height: 1.08;
}

/* SLC's hand-drawn gold underline */
.bn-title-main::after {
    content: '';
    position: absolute;
    right: 2%;
    bottom: -0.1em;
    left: 2%;
    height: 0.26em;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M3 15C70 4 140 3 190 8s80 7 107-3' fill='none' stroke='%23f5b942' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.bn-lead {
    max-width: 440px;
    margin-top: 22px;
    color: #4b5563;
    font-size: 1.05rem;
    line-height: 1.65;
}

.bn-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 22px;
    margin-top: 32px;
}

.bn-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    height: 58px;
    padding: 0 30px;
    background: linear-gradient(135deg, #0b2a5b 0%, #1a4fd6 100%);
    border: 0;
    border-radius: 16px;
    box-shadow: 0 14px 28px rgba(11, 42, 91, 0.28);
    color: #fff;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.bn-btn i {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f5b942;
    color: #001d42;
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.bn-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(11, 42, 91, 0.34);
}

.bn-btn:hover i {
    transform: translateX(3px);
}

.bn-call {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0f1b33;
    font-weight: 800;
    text-decoration: none;
}

.bn-call i {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff4dc;
    color: #db9712;
    font-size: 0.85rem;
}

.bn-call:hover {
    color: #1a4fd6;
}

/* ---- achiever cards */
/* Staggered: the 2nd and 4th card sit lower than the 1st and 3rd. */
.bn-stars {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
    gap: 16px;
    padding-top: 8px;
}

.bn-stars-empty {
    grid-template-columns: minmax(0, 320px);
    justify-content: center;
}

.bn-star {
    --bn-bg: linear-gradient(180deg, #dfe7f5 0%, #b9c9e6 100%);
    --bn-ink: rgba(0, 29, 66, 0.94);
    --bn-accent: #f5b942;
    min-width: 0;
    margin: 0;
}

.bn-star:nth-of-type(even) {
    margin-top: 44px;
}

.bn-star-gold {
    --bn-bg: linear-gradient(180deg, #fff1d2 0%, #f3d08a 100%);
    --bn-ink: rgba(120, 72, 0, 0.94);
    --bn-accent: #ffe08a;
}

.bn-star-royal {
    --bn-bg: linear-gradient(180deg, #e3eafe 0%, #aebff4 100%);
    --bn-ink: rgba(22, 56, 160, 0.94);
    --bn-accent: #f5b942;
}

.bn-star-teal {
    --bn-bg: linear-gradient(180deg, #dcf3f0 0%, #9fd8cf 100%);
    --bn-ink: rgba(10, 88, 86, 0.94);
    --bn-accent: #ffe08a;
}

/* leaf shape: large radius on two opposite corners */
.bn-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 10 / 15.5;
    background: var(--bn-bg);
    border: 4px solid #fff;
    border-radius: 72px 18px 72px 18px;
    box-shadow: 0 20px 40px rgba(15, 27, 51, 0.16);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bn-star:hover .bn-card {
    transform: translateY(-4px);
    box-shadow: 0 26px 48px rgba(15, 27, 51, 0.2);
}

.bn-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
}

/* dark wash so the white caption reads on any photo */
.bn-card::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 55%;
    background: linear-gradient(180deg, transparent 0%, var(--bn-ink) 78%);
    pointer-events: none;
}

.bn-medal {
    position: absolute;
    top: 14px;
    right: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: calc(100% - 24px);
    padding: 7px 12px;
    background: linear-gradient(135deg, #ffd36b 0%, #e9a51f 100%);
    border: 2px solid #fff;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
    color: #001d42;
    font-size: clamp(0.82rem, 1.1vw, 1rem);
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.bn-medal i {
    font-size: 0.85em;
}

.bn-star-gold .bn-medal,
.bn-star-teal .bn-medal {
    background: linear-gradient(135deg, #0b2a5b 0%, #001d42 100%);
    color: #ffd36b;
}

.bn-info {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 0 16px 20px;
}

.bn-exam {
    max-width: 100%;
    overflow: hidden;
    padding: 4px 9px;
    background: rgba(255, 255, 255, 0.16);
    border-left: 3px solid var(--bn-accent);
    border-radius: 6px;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.bn-name {
    max-width: 100%;
    overflow: hidden;
    margin-top: 4px;
    color: #fff;
    font-size: clamp(0.98rem, 1.3vw, 1.18rem);
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bn-meta {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.76rem;
    font-weight: 600;
}

.bn-meta i {
    margin-right: 3px;
    color: var(--bn-accent);
}

/* floating trophy (in the first card's rounded-off corner) and stat chip */
.bn-badge {
    position: absolute;
    top: 0;
    left: -18px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 26px rgba(15, 27, 51, 0.16);
    color: #db9712;
    font-size: 1.3rem;
    transform: rotate(-8deg);
    pointer-events: none;
}

.bn-stat {
    position: absolute;
    top: -12px;
    left: 50%;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px 8px 8px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 26px rgba(15, 27, 51, 0.14);
    transform: translateX(-50%);
    pointer-events: none;
}

.bn-stat > i {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #e8efff;
    color: #1a4fd6;
    font-size: 0.9rem;
}

.bn-stat strong {
    display: block;
    color: #0f1b33;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.1;
}

.bn-stat small {
    display: block;
    color: #6b7280;
    font-size: 0.7rem;
    font-weight: 800;
    white-space: nowrap;
}

/* ---- programme tiles */
.bn-tiles {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.bn-tile {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 14px;
    background: #fff;
    border: 1px solid rgba(15, 27, 51, 0.05);
    border-bottom: 3px solid transparent;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(15, 27, 51, 0.1);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.bn-tile:hover {
    transform: translateY(-3px);
    border-bottom-color: #db9712;
    box-shadow: 0 16px 36px rgba(15, 27, 51, 0.16);
}

.bn-tile-icon {
    --t1: #b18cf6;
    --t2: #7c4ddb;
    position: relative;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    overflow: hidden;
    background: linear-gradient(145deg, var(--t1), var(--t2));
    border-radius: 14px;
    box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.12), 0 8px 16px -6px var(--t2);
    color: #fff;
    font-size: 1.3rem;
}

/* glossy highlight, for a "3D" icon feel */
.bn-tile-icon::after {
    content: '';
    position: absolute;
    top: -30%;
    left: -20%;
    width: 90%;
    height: 70%;
    background: rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    transform: rotate(-20deg);
}

.bn-tile:nth-child(5n+2) .bn-tile-icon { --t1: #8fa9ff; --t2: #4f5fe0; }
.bn-tile:nth-child(5n+3) .bn-tile-icon { --t1: #58e3c4; --t2: #0f9f86; }
.bn-tile:nth-child(5n+4) .bn-tile-icon { --t1: #7fd2ff; --t2: #1f8fe3; }
.bn-tile:nth-child(5n+5) .bn-tile-icon { --t1: #ffcb66; --t2: #ec8500; }

.bn-tile-text {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

/* names and categories wrap instead of being cut off */
.bn-tile-text strong {
    color: #0f1b33;
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.bn-tile-text small {
    margin-top: 2px;
    color: #6b7280;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.3;
}

.bn-tile-go {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    background: #fff4dc;
    border-radius: 50%;
    color: #b87800;
    font-size: 0.68rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.bn-tile:hover .bn-tile-go {
    background: #db9712;
    color: #fff;
}

.bn-btn:focus-visible,
.bn-call:focus-visible,
.bn-tile:focus-visible {
    outline: 3px solid #93b4ee;
    outline-offset: 3px;
}

/* the lead form follows the banner instead of overlapping a hero */
.bn-hero + .hp-enquiry-wrap {
    margin-top: 0;
    padding-top: 40px;
    background: linear-gradient(180deg, #f3f6fb 0%, #fff 100%);
}

@media (max-width: 1150px) {
    .bn-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .bn-copy {
        max-width: 640px;
    }

    .bn-spark-b {
        display: none;
    }

    .bn-badge {
        left: -10px;
    }
}

@media (max-width: 900px) {
    /* achiever cards become a swipeable rail */
    .bn-stars {
        display: flex;
        align-items: flex-start;
        gap: 14px;
        margin: 0 -5.5%;
        padding: 8px 5.5% 6px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .bn-stars::-webkit-scrollbar {
        display: none;
    }

    .bn-star {
        flex: 0 0 38%;
        scroll-snap-align: start;
    }

    .bn-star:nth-of-type(even) {
        margin-top: 28px;
    }

    .bn-badge,
    .bn-stat {
        display: none;
    }

    /* two per row, an odd last tile takes the full width */
    .bn-tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 24px;
    }

    .bn-tile:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}

/* Tablet width, before the hamburger menu takes over at 768px: the
   desktop nav's 40px gaps no longer fit, so links wrapped onto two lines. */
@media (min-width: 769px) and (max-width: 1000px) {
    .header .logo {
        width: 150px;
    }

    .navmenu,
    .navmenu ul {
        gap: 20px;
    }

    .navmenu ul li {
        font-size: 15px;
    }

    .navmenu a,
    .nav-links a {
        white-space: nowrap;
    }
}

@media (max-width: 640px) {
    .bn-hero {
        padding: 104px 0 36px;
    }

    .bn-spark-a {
        top: 70px;
        right: -120px;
    }

    .bn-lead {
        font-size: 1rem;
    }

    .bn-actions {
        flex-direction: column;
        align-items: stretch;
        margin-top: 26px;
    }

    .bn-btn {
        justify-content: center;
        width: 100%;
    }

    .bn-call {
        justify-content: center;
    }

    .bn-stars {
        margin: 0 -3%;
        padding: 8px 3% 6px;
    }

    .bn-star {
        flex-basis: 56%;
    }

    .bn-card {
        border-radius: 56px 16px 56px 16px;
    }

    .bn-tiles {
        gap: 10px;
    }

    .bn-tile {
        gap: 10px;
        padding: 12px;
        border-radius: 14px;
    }

    .bn-tile-icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        font-size: 1.05rem;
    }

    .bn-tile-text strong {
        font-size: 0.95rem;
    }

    .bn-tile-go {
        display: none;
    }
}

/* ========================================================== chat widget */
/* "Ask SLC" launcher bottom-left and the chat panel (assets/js/chat.js).
   Printed only when the assistant is on; on phones the launcher sits above
   the bottom bar and the panel fills the screen. */
.ch-launcher {
    position: fixed;
    left: 22px;
    bottom: 26px;
    z-index: 955;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px 8px 8px;
    background: var(--hp-navy-grad);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 14px 34px rgba(0, 29, 66, 0.35);
    color: #fff;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: fab-in 0.5s 0.9s ease backwards;
}

.ch-launcher:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(0, 29, 66, 0.4);
}

.ch-launcher[aria-expanded="true"] {
    display: none;
}

.ch-launcher-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--hp-gold-grad);
    color: var(--hp-navy);
    font-size: 1.15rem;
}

.ch-panel {
    position: fixed;
    left: 22px;
    bottom: 26px;
    z-index: 960;
    display: flex;
    flex-direction: column;
    width: 380px;
    max-width: calc(100vw - 44px);
    height: 600px;
    max-height: calc(100vh - 52px);
    overflow: hidden;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 30px 80px rgba(0, 20, 46, 0.35);
    animation: hp-modal-in 0.3s ease;
}

.ch-panel[hidden] {
    display: none;
}

.ch-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--hp-navy-grad);
    color: #fff;
}

.ch-avatar {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--hp-gold-grad);
    color: var(--hp-navy);
    font-size: 1.1rem;
}

.ch-head-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.ch-head-text strong {
    font-size: 1rem;
}

.ch-head-text small {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--hp-on-dark);
    font-size: 0.74rem;
    font-weight: 700;
}

.ch-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

.ch-close {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
}

.ch-close:hover {
    background: rgba(255, 255, 255, 0.22);
}

.ch-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 14px;
    overflow-y: auto;
    background: #f5f7fb;
}

.ch-msg {
    max-width: 86%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 0.92rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.ch-assistant {
    align-self: flex-start;
    background: #fff;
    border: 1px solid var(--hp-line);
    border-bottom-left-radius: 6px;
    color: var(--hp-ink);
}

.ch-user {
    align-self: flex-end;
    background: var(--hp-navy);
    border-bottom-right-radius: 6px;
    color: #fff;
}

.ch-msg p {
    margin: 0;
}

.ch-msg p + p,
.ch-msg p + ul {
    margin-top: 6px;
}

.ch-msg ul {
    margin: 0;
    padding-left: 18px;
}

.ch-msg li + li {
    margin-top: 3px;
}

.ch-msg a {
    color: #1a4fd6;
    font-weight: 800;
    text-decoration: underline;
}

.ch-user a {
    color: #fff;
}

.ch-lead {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #e3f6ec;
    border-color: #b8e6cc;
    color: #146c43;
    font-weight: 800;
}

.ch-lead i {
    color: #22a06b;
    font-size: 1.1rem;
}

.ch-typing {
    display: flex;
    gap: 5px;
    padding: 14px 16px;
}

.ch-typing span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #9aa8bc;
    animation: ch-blink 1.2s infinite ease-in-out;
}

.ch-typing span:nth-child(2) { animation-delay: 0.2s; }
.ch-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes ch-blink {
    0%, 80%, 100% { opacity: 0.3; transform: translateY(0); }
    40% { opacity: 1; transform: translateY(-3px); }
}

.ch-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 14px 10px;
    background: #f5f7fb;
}

.ch-chips[hidden] {
    display: none;
}

.ch-chip {
    padding: 7px 12px;
    background: #fff;
    border: 1.5px solid var(--hp-line);
    border-radius: 999px;
    color: var(--hp-navy);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.ch-chip:hover {
    border-color: var(--hp-gold);
    background: #fff8e6;
}

.ch-form {
    display: flex;
    gap: 8px;
    padding: 12px 14px;
    background: #fff;
    border-top: 1px solid var(--hp-line);
}

.ch-form input {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    border: 1.5px solid var(--hp-line);
    border-radius: 12px;
    font: inherit;
    font-size: 16px;
    outline: none;
}

.ch-form input:focus {
    border-color: var(--hp-gold);
    box-shadow: 0 0 0 3px rgba(219, 151, 18, 0.25);
}

.ch-form button {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 46px;
    border: 0;
    border-radius: 12px;
    background: var(--hp-gold-grad);
    color: var(--hp-navy);
    font-size: 1rem;
    cursor: pointer;
}

.ch-form button:disabled {
    opacity: 0.6;
    cursor: default;
}

.ch-foot {
    margin: 0;
    padding: 0 14px 10px;
    background: #fff;
    color: var(--hp-muted);
    font-size: 0.7rem;
    text-align: center;
}

@media (max-width: 768px) {
    .ch-launcher {
        left: 14px;
        bottom: 96px;
        gap: 0;
        padding: 8px;
    }

    .ch-launcher-text {
        display: none;
    }

    body.no-mobile-bar .ch-launcher {
        bottom: 22px;
    }

    .ch-panel {
        left: 0;
        bottom: 0;
        width: 100%;
        max-width: none;
        height: 100%;
        max-height: 100dvh;
        border-radius: 0;
        animation: ch-fade 0.25s ease;
    }

    @keyframes ch-fade {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    body.ch-open {
        overflow: hidden;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ch-launcher,
    .ch-panel {
        animation: none;
    }

    .ch-typing span {
        animation: none;
        opacity: 0.6;
    }
}
