/*
|--------------------------------------------------------------------------
| TMLC 2027 HOMEPAGE
|--------------------------------------------------------------------------
*/

:root {
    --tmlc-navy: #071a36;
    --tmlc-navy-2: #0b3766;
    --tmlc-blue: #0b72c9;
    --tmlc-sky: #19ade4;
    --tmlc-gold: #ffd338;
    --tmlc-gold-deep: #f4b900;
    --tmlc-text: #15243a;
    --tmlc-muted: #68768a;
    --tmlc-soft: #f4f7fb;
    --tmlc-border: #e1e8f0;
    --tmlc-white: #ffffff;
}

.tmlc-home-2027 {
    font-family: "Inter", sans-serif;
    color: var(--tmlc-text);
    background: #fff;
}

.tmlc-home-2027 h1,
.tmlc-home-2027 h2,
.tmlc-home-2027 h3,
.tmlc-home-2027 h4,
.tmlc-home-2027 h5,
.tmlc-home-2027 h6 {
    font-family: "Inter", sans-serif;
    letter-spacing: -0.035em;
}

.tmlc-topbar {
    background: linear-gradient(90deg, #071a36, #0c4e86);
    color: #fff;
    padding: 10px 0;
    font-size: 12px;
}

.tmlc-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.tmlc-topbar-contact {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.tmlc-topbar-contact span,
.tmlc-topbar-contact a {
    color: rgba(255, 255, 255, .92);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tmlc-topbar-contact i {
    color: var(--tmlc-gold);
}

.tmlc-topbar-tagline {
    color: var(--tmlc-gold);
    font-family: "DM Serif Display", serif;
    font-size: 17px;
    font-style: italic;
}

.tmlc-2027-header {
    background: #fff;
    box-shadow: 0 6px 25px rgba(7, 26, 54, .08);
}

.tmlc-2027-header .navbar {
    padding: 13px 0;
}

.tmlc-brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    text-decoration: none;
    max-width: 390px;
}

.tmlc-brand-crest {
    width: 84px;
    height: 84px;
    object-fit: contain;
    flex-shrink: 0;
}

.tmlc-brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.tmlc-brand-copy strong {
    color: #24316e;
    font-size: 21px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: .95;
    letter-spacing: -.02em;
}

.tmlc-brand-copy strong span {
    display: block;
}

.tmlc-brand-copy small {
    margin-top: 8px;
    color: #dcae00;
    font-family: "DM Serif Display", serif;
    font-size: 15px;
    font-style: italic;
    letter-spacing: .01em;
}

.tmlc-2027-header .navbar-nav {
    gap: 4px;
}

.tmlc-2027-header .nav-link {
    color: #15274a !important;
    font-size: 16px !important;
    font-weight: 700;
    padding: 12px 10px !important;
    border-radius: 8px;
}

.tmlc-2027-header .nav-link:hover,
.tmlc-2027-header .nav-link.active {
    color: var(--tmlc-blue) !important;
}

.tmlc-login-btn,
.tmlc-apply-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 10px 16px;
    border-radius: 11px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
}

.tmlc-login-btn {
    border: 1px solid var(--tmlc-border);
    color: var(--tmlc-navy);
    background: #fff;
}

.tmlc-apply-btn {
    color: var(--tmlc-navy);
    background: linear-gradient(135deg, var(--tmlc-gold), #ffbf00);
    box-shadow: 0 10px 25px rgba(255, 193, 7, .25);
}

.tmlc-apply-btn:hover,
.tmlc-login-btn:hover {
    transform: translateY(-1px);
}

.tmlc-hero-2027 {
    position: relative;
    overflow: hidden;
    padding: 92px 0 118px;
    background:
        linear-gradient(90deg, rgba(4, 21, 45, .97), rgba(6, 40, 73, .88)),
        url("../images/hero-bg.jpg") center/cover no-repeat;
}

.tmlc-hero-2027::after {
    content: "";
    position: absolute;
    right: -130px;
    bottom: -180px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    border: 70px solid rgba(255, 211, 56, .08);
}

.tmlc-hero-content {
    position: relative;
    z-index: 2;
}

.tmlc-eyebrow {
    display: inline-block;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, .77);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .24em;
    text-transform: uppercase;
}

.tmlc-hero-content h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(48px, 6.4vw, 88px);
    line-height: .93;
    font-weight: 900;
    letter-spacing: -.055em;
}

.tmlc-hero-content h1 span {
    display: block;
}

.tmlc-hero-content .hero-open {
    color: var(--tmlc-gold);
}

.tmlc-hero-statement {
    max-width: 680px;
    margin: 25px 0 0;
    color: rgba(255, 255, 255, .9);
    font-size: 22px;
    line-height: 1.45;
    font-weight: 600;
}

.tmlc-hero-statement strong {
    color: #fff;
}

.tmlc-programme-pills {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.tmlc-programme-pills span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.tmlc-programme-pills i {
    color: var(--tmlc-gold);
}

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

.tmlc-primary-cta,
.tmlc-secondary-cta,
.tmlc-gold-cta,
.tmlc-secondary-dark-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 54px;
    padding: 13px 22px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 850;
    transition: .2s ease;
}

.tmlc-primary-cta,
.tmlc-gold-cta {
    background: linear-gradient(135deg, var(--tmlc-gold), #ffbf00);
    color: var(--tmlc-navy);
    box-shadow: 0 12px 30px rgba(255, 193, 7, .23);
}

.tmlc-secondary-cta {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .46);
    background: rgba(255, 255, 255, .05);
}

.tmlc-primary-cta:hover,
.tmlc-gold-cta:hover {
    transform: translateY(-2px);
    color: var(--tmlc-navy);
}

.tmlc-secondary-cta:hover {
    color: #fff;
    background: rgba(255, 255, 255, .1);
}

.tmlc-hero-info-panel {
    position: relative;
    z-index: 2;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 22px;
    background: rgba(4, 22, 46, .67);
    backdrop-filter: blur(9px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, .18);
}

.tmlc-info-row {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 7px;
}

.tmlc-info-row + .tmlc-info-row {
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.tmlc-info-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 52px;
    border-radius: 15px;
    color: #fff;
    background: #0876ca;
    font-size: 19px;
}

.tmlc-info-icon.gold {
    background: var(--tmlc-gold);
    color: var(--tmlc-navy);
}

.tmlc-info-row strong,
.tmlc-info-row span {
    display: block;
}

.tmlc-info-row strong {
    color: #fff;
    font-size: 16px;
}

.tmlc-info-row span {
    margin-top: 3px;
    color: rgba(255, 255, 255, .68);
    font-size: 12px;
}

.tmlc-programme-strip {
    position: relative;
    z-index: 5;
    margin-top: -58px;
    padding-bottom: 28px;
}

.tmlc-programme-strip .container {
    padding: 18px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 20px 55px rgba(7, 26, 54, .12);
}

.tmlc-programme-card {
    height: 100%;
    display: flex;
    gap: 15px;
    padding: 18px;
    border: 1px solid var(--tmlc-border);
    border-radius: 16px;
    color: inherit;
    text-decoration: none;
    transition: .2s ease;
}

.tmlc-programme-card:hover {
    transform: translateY(-3px);
    border-color: #cbd7e5;
    color: inherit;
}

.tmlc-programme-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 50px;
    border-radius: 50%;
    font-size: 18px;
}

.tmlc-programme-icon.blue {
    background: #e7f3ff;
    color: var(--tmlc-blue);
}

.tmlc-programme-icon.gold {
    background: #fff3c0;
    color: #8d6500;
}

.tmlc-programme-card h3 {
    margin: 2px 0 6px;
    font-size: 16px;
    font-weight: 850;
    color: var(--tmlc-navy);
}

.tmlc-programme-card p {
    margin: 0 0 9px;
    color: var(--tmlc-muted);
    font-size: 12px;
    line-height: 1.55;
}

.tmlc-card-link {
    color: var(--tmlc-blue);
    font-size: 11px;
    font-weight: 800;
}

.tmlc-card-link i {
    margin-left: 4px;
}

.tmlc-section {
    padding: 90px 0;
}

.tmlc-registration-section {
    background: #fff;
}

.tmlc-section-label {
    display: inline-block;
    margin-bottom: 13px;
    color: var(--tmlc-blue);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .11em;
}

.tmlc-section-label.light {
    color: #a8dcff;
}

.tmlc-section-heading h2 {
    margin: 0;
    color: var(--tmlc-navy);
    font-size: clamp(36px, 4vw, 54px);
    line-height: 1.04;
    font-weight: 900;
}

.tmlc-section-heading h2 span {
    color: var(--tmlc-blue);
}

.tmlc-section-heading p {
    max-width: 680px;
    margin-top: 18px;
    color: var(--tmlc-muted);
    font-size: 15px;
    line-height: 1.8;
}

.tmlc-image-stack {
    position: relative;
    min-height: 510px;
}

.tmlc-main-image {
    width: 82%;
    height: 470px;
    overflow: hidden;
    border-radius: 22px;
}

.tmlc-main-image img,
.tmlc-small-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tmlc-small-image {
    position: absolute;
    right: 0;
    bottom: 8px;
    width: 43%;
    height: 235px;
    overflow: hidden;
    border: 8px solid #fff;
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(7, 26, 54, .13);
}

.tmlc-image-badge {
    position: absolute;
    left: 22px;
    bottom: 28px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 17px;
    border-radius: 13px;
    background: var(--tmlc-gold);
    color: var(--tmlc-navy);
    box-shadow: 0 12px 30px rgba(0,0,0,.12);
}

.tmlc-image-badge i {
    font-size: 22px;
}

.tmlc-image-badge small,
.tmlc-image-badge strong {
    display: block;
}

.tmlc-image-badge small {
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .08em;
}

.tmlc-image-badge strong {
    font-size: 22px;
    line-height: 1;
}

.tmlc-check-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 28px 0 30px;
}

.tmlc-check-grid div {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 14px;
    border-radius: 11px;
    background: var(--tmlc-soft);
    color: #273750;
    font-size: 12px;
    font-weight: 700;
}

.tmlc-check-grid i {
    color: var(--tmlc-blue);
}

.tmlc-challenge-promo {
    padding: 35px 0 85px;
}

.tmlc-challenge-box {
    position: relative;
    overflow: hidden;
    padding: 48px;
    border-radius: 26px;
    background:
        radial-gradient(circle at 100% 0%, rgba(25,173,228,.32), transparent 30%),
        linear-gradient(135deg, #061a35, #0b4f91);
    color: #fff;
}

.tmlc-challenge-box::after {
    content: "π";
    position: absolute;
    right: 50px;
    top: -80px;
    color: rgba(255,255,255,.03);
    font-family: Georgia, serif;
    font-size: 330px;
}

.tmlc-challenge-box h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(36px, 4vw, 56px);
    line-height: 1;
    font-weight: 900;
}

.tmlc-challenge-box h2 span {
    color: var(--tmlc-gold);
}

.tmlc-challenge-box p {
    max-width: 680px;
    margin: 17px 0 0;
    color: rgba(255,255,255,.72);
    line-height: 1.7;
}

.tmlc-challenge-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.tmlc-challenge-tags span {
    padding: 8px 11px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.tmlc-challenge-tags i {
    color: var(--tmlc-gold);
    margin-right: 5px;
}

.tmlc-challenge-action {
    position: relative;
    z-index: 2;
    padding: 28px;
    border-radius: 20px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    text-align: center;
}

.tmlc-challenge-icon {
    width: 74px;
    height: 74px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--tmlc-gold);
    color: var(--tmlc-navy);
    font-family: Georgia, serif;
    font-size: 40px;
    font-weight: 800;
}

.tmlc-challenge-action strong {
    display: block;
    margin-bottom: 18px;
    color: #fff;
    font-size: 16px;
}

.tmlc-subjects-section {
    background: var(--tmlc-soft);
}

.tmlc-subject-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-top: 40px;
}

.tmlc-subject-chip {
    min-height: 110px;
    padding: 17px;
    border-radius: 15px;
    background: #fff;
    border: 1px solid var(--tmlc-border);
    text-align: center;
    color: var(--tmlc-navy);
    text-decoration: none;
    transition: .2s ease;
}

.tmlc-subject-chip:hover {
    transform: translateY(-3px);
    color: var(--tmlc-blue);
    box-shadow: 0 10px 30px rgba(7,26,54,.07);
}

.tmlc-subject-chip span {
    width: 43px;
    height: 43px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #edf6ff;
    color: var(--tmlc-blue);
}

.tmlc-subject-chip strong {
    font-size: 12px;
}

.tmlc-secondary-dark-cta {
    border: 1px solid #cad5e2;
    color: var(--tmlc-navy);
    background: #fff;
}

.tmlc-how-section {
    background: #fff;
}

.tmlc-step-card {
    position: relative;
    height: 100%;
    padding: 26px;
    border-radius: 18px;
    border: 1px solid var(--tmlc-border);
    background: #fff;
}

.tmlc-step-number {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 12px;
    background: var(--tmlc-navy);
    color: var(--tmlc-gold);
    font-weight: 900;
}

.tmlc-step-card h3 {
    margin: 0 0 9px;
    color: var(--tmlc-navy);
    font-size: 19px;
    font-weight: 850;
}

.tmlc-step-card p {
    margin: 0;
    color: var(--tmlc-muted);
    font-size: 13px;
    line-height: 1.65;
}

.tmlc-final-cta {
    padding: 35px 0 85px;
}

.tmlc-final-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 42px;
    border-radius: 23px;
    background: #071a36;
    color: #fff;
}

.tmlc-final-cta-box > div > span {
    color: var(--tmlc-gold);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
}

.tmlc-final-cta-box h2 {
    margin: 7px 0 8px;
    color: #fff;
    font-size: 36px;
    font-weight: 900;
}

.tmlc-final-cta-box p {
    margin: 0;
    color: rgba(255,255,255,.68);
}

.tmlc-footer-brand {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 32px;
    text-align: left;
}

.tmlc-footer-brand img {
    width: 76px;
}

.tmlc-footer-brand strong,
.tmlc-footer-brand span {
    display: block;
}

.tmlc-footer-brand strong {
    color: #fff;
    font-size: 19px;
    font-weight: 850;
}

.tmlc-footer-brand span {
    margin-top: 4px;
    color: var(--tmlc-gold);
    font-family: "DM Serif Display", serif;
    font-style: italic;
}

@media (max-width: 1199px) {
    .tmlc-brand-copy {
        display: none;
    }

    .tmlc-brand {
        max-width: 95px;
    }

    .tmlc-subject-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 991px) {
    .tmlc-topbar-tagline {
        display: none;
    }

    .tmlc-topbar-inner {
        justify-content: center;
    }

    .tmlc-topbar-contact {
        justify-content: center;
        gap: 12px 18px;
    }

    .tmlc-hero-2027 {
        padding: 72px 0 105px;
    }

    .tmlc-hero-info-panel {
        margin-top: 5px;
    }

    .tmlc-image-stack {
        max-width: 680px;
        margin: 0 auto;
    }

    .tmlc-subject-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .tmlc-final-cta-box {
        display: block;
        text-align: center;
    }

    .tmlc-final-cta-box .tmlc-gold-cta {
        margin-top: 22px;
    }
}

@media (max-width: 767px) {
    .tmlc-topbar-contact span:first-child,
    .tmlc-topbar-contact a:last-child {
        display: none;
    }

    .tmlc-brand-crest {
        width: 68px;
        height: 68px;
    }

    .tmlc-hero-2027 {
        padding: 58px 0 96px;
    }

    .tmlc-hero-content h1 {
        font-size: 52px;
    }

    .tmlc-hero-statement {
        font-size: 17px;
    }

    .tmlc-programme-pills {
        gap: 10px 16px;
    }

    .tmlc-hero-actions {
        display: grid;
    }

    .tmlc-primary-cta,
    .tmlc-secondary-cta {
        width: 100%;
    }

    .tmlc-programme-strip {
        margin-top: -45px;
    }

    .tmlc-section {
        padding: 65px 0;
    }

    .tmlc-image-stack {
        min-height: 420px;
    }

    .tmlc-main-image {
        width: 92%;
        height: 390px;
    }

    .tmlc-small-image {
        height: 185px;
        width: 46%;
    }

    .tmlc-check-grid {
        grid-template-columns: 1fr;
    }

    .tmlc-challenge-box {
        padding: 30px 22px;
    }

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

    .tmlc-final-cta-box {
        padding: 30px 20px;
    }

    .tmlc-final-cta-box h2 {
        font-size: 30px;
    }

    .tmlc-footer-brand {
        display: block;
        text-align: center;
    }

    .tmlc-footer-brand img {
        margin-bottom: 12px;
    }
}


/* ================================================================
   TMLC 2027 ABOUT PAGE
   ================================================================ */

.tmlc-about-page {
    background: #fff;
}

.tmlc-about-hero {
    position: relative;
    overflow: hidden;
    padding: 86px 0 96px;
    background:
        radial-gradient(circle at 86% 15%, rgba(25,173,228,.22), transparent 27%),
        linear-gradient(120deg, #061a35 0%, #0a315d 56%, #0b5794 100%);
}

.tmlc-about-hero::before {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -180px;
    width: 500px;
    height: 500px;
    border: 65px solid rgba(255,211,56,.08);
    border-radius: 50%;
}

.tmlc-about-hero .container {
    position: relative;
    z-index: 2;
}

.tmlc-about-hero h1 {
    max-width: 850px;
    margin: 10px 0 18px;
    color: #fff;
    font-size: clamp(46px, 6vw, 78px);
    line-height: .98;
    font-weight: 900;
    letter-spacing: -.055em;
}

.tmlc-about-hero h1 span {
    color: var(--tmlc-gold);
}

.tmlc-about-hero p {
    max-width: 720px;
    margin: 0;
    color: rgba(255,255,255,.78);
    font-size: 17px;
    line-height: 1.75;
}

.tmlc-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 27px;
    color: rgba(255,255,255,.58);
    font-size: 12px;
    font-weight: 700;
}

.tmlc-breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.tmlc-about-intro {
    padding: 92px 0;
}

.tmlc-about-photo-grid {
    position: relative;
    min-height: 520px;
}

.tmlc-about-photo-main {
    width: 82%;
    height: 490px;
    overflow: hidden;
    border-radius: 24px;
}

.tmlc-about-photo-main img,
.tmlc-about-photo-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tmlc-about-photo-small {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 45%;
    height: 235px;
    overflow: hidden;
    border: 8px solid #fff;
    border-radius: 22px;
    box-shadow: 0 18px 45px rgba(7,26,54,.15);
}

.tmlc-about-year-badge {
    position: absolute;
    left: 22px;
    bottom: 28px;
    padding: 15px 18px;
    border-radius: 15px;
    background: var(--tmlc-gold);
    color: var(--tmlc-navy);
    box-shadow: 0 14px 35px rgba(0,0,0,.13);
}

.tmlc-about-year-badge small,
.tmlc-about-year-badge strong {
    display: block;
}

.tmlc-about-year-badge small {
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .12em;
}

.tmlc-about-year-badge strong {
    margin-top: 2px;
    font-size: 23px;
    font-weight: 900;
}

.tmlc-about-copy .tmlc-section-heading p {
    max-width: none;
}

.tmlc-purpose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 28px;
}

.tmlc-purpose-card {
    padding: 21px;
    border: 1px solid var(--tmlc-border);
    border-radius: 17px;
    background: #fff;
}

.tmlc-purpose-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border-radius: 13px;
    background: #eaf5ff;
    color: var(--tmlc-blue);
}

.tmlc-purpose-card:nth-child(2) .tmlc-purpose-icon {
    background: #fff2b8;
    color: #8b6500;
}

.tmlc-purpose-card h3 {
    margin: 0 0 8px;
    color: var(--tmlc-navy);
    font-size: 17px;
    font-weight: 850;
}

.tmlc-purpose-card p {
    margin: 0;
    color: var(--tmlc-muted);
    font-size: 12px;
    line-height: 1.65;
}

.tmlc-about-focus {
    padding: 85px 0;
    background: var(--tmlc-soft);
}

.tmlc-focus-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 42px;
}

.tmlc-focus-card {
    height: 100%;
    padding: 27px 23px;
    border: 1px solid var(--tmlc-border);
    border-radius: 19px;
    background: #fff;
    transition: .2s ease;
}

.tmlc-focus-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(7,26,54,.08);
}

.tmlc-focus-card .icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 19px;
    border-radius: 15px;
    background: var(--tmlc-navy);
    color: var(--tmlc-gold);
    font-size: 19px;
}

.tmlc-focus-card h3 {
    margin: 0 0 9px;
    color: var(--tmlc-navy);
    font-size: 18px;
    font-weight: 850;
}

.tmlc-focus-card p {
    margin: 0;
    color: var(--tmlc-muted);
    font-size: 12px;
    line-height: 1.7;
}

.tmlc-approach-2027 {
    padding: 92px 0;
}

.tmlc-approach-panel {
    overflow: hidden;
    border-radius: 26px;
    background: var(--tmlc-navy);
}

.tmlc-approach-image {
    min-height: 570px;
    height: 100%;
}

.tmlc-approach-image img {
    width: 100%;
    height: 100%;
    min-height: 570px;
    object-fit: cover;
}

.tmlc-approach-content {
    padding: 58px 52px;
}

.tmlc-approach-content h2 {
    margin: 0 0 17px;
    color: #fff;
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.05;
    font-weight: 900;
}

.tmlc-approach-content h2 span {
    color: var(--tmlc-gold);
}

.tmlc-approach-content > p {
    color: rgba(255,255,255,.69);
    line-height: 1.75;
}

.tmlc-approach-list {
    margin-top: 28px;
}

.tmlc-approach-item {
    display: flex;
    gap: 15px;
    padding: 17px 0;
    border-top: 1px solid rgba(255,255,255,.1);
}

.tmlc-approach-item .number {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    border-radius: 10px;
    background: var(--tmlc-gold);
    color: var(--tmlc-navy);
    font-size: 11px;
    font-weight: 900;
}

.tmlc-approach-item strong {
    display: block;
    color: #fff;
    font-size: 14px;
}

.tmlc-approach-item span {
    display: block;
    margin-top: 4px;
    color: rgba(255,255,255,.58);
    font-size: 11px;
    line-height: 1.55;
}

.tmlc-about-programmes {
    padding: 85px 0;
    background: var(--tmlc-soft);
}

.tmlc-about-programme-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 40px;
}

.tmlc-about-programme-card {
    position: relative;
    overflow: hidden;
    padding: 30px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--tmlc-border);
}

.tmlc-about-programme-card::after {
    content: "";
    position: absolute;
    right: -38px;
    top: -38px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: #eef6ff;
}

.tmlc-about-programme-card .icon {
    position: relative;
    z-index: 2;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border-radius: 14px;
    background: var(--tmlc-blue);
    color: #fff;
    font-size: 19px;
}

.tmlc-about-programme-card:nth-child(2) .icon {
    background: var(--tmlc-gold);
    color: var(--tmlc-navy);
}

.tmlc-about-programme-card h3 {
    margin: 0 0 10px;
    color: var(--tmlc-navy);
    font-size: 22px;
    font-weight: 900;
}

.tmlc-about-programme-card p {
    margin: 0;
    color: var(--tmlc-muted);
    font-size: 13px;
    line-height: 1.7;
}

.tmlc-about-programme-card a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 18px;
    color: var(--tmlc-blue);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.tmlc-about-cta {
    padding: 75px 0;
}

.tmlc-about-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 44px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 95% 0%, rgba(25,173,228,.25), transparent 30%),
        var(--tmlc-navy);
}

.tmlc-about-cta-box span {
    color: var(--tmlc-gold);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
}

.tmlc-about-cta-box h2 {
    margin: 7px 0 8px;
    color: #fff;
    font-size: 38px;
    font-weight: 900;
}

.tmlc-about-cta-box p {
    max-width: 650px;
    margin: 0;
    color: rgba(255,255,255,.66);
}

@media (max-width: 991px) {
    .tmlc-focus-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tmlc-about-programme-grid {
        grid-template-columns: 1fr;
    }

    .tmlc-approach-content {
        padding: 42px 30px;
    }

    .tmlc-about-cta-box {
        display: block;
        text-align: center;
    }

    .tmlc-about-cta-box .tmlc-gold-cta {
        margin-top: 22px;
    }
}

@media (max-width: 767px) {
    .tmlc-about-hero {
        padding: 60px 0 72px;
    }

    .tmlc-about-hero h1 {
        font-size: 48px;
    }

    .tmlc-about-intro {
        padding: 65px 0;
    }

    .tmlc-about-photo-grid {
        min-height: 420px;
        margin-bottom: 35px;
    }

    .tmlc-about-photo-main {
        width: 92%;
        height: 390px;
    }

    .tmlc-about-photo-small {
        width: 48%;
        height: 180px;
    }

    .tmlc-purpose-grid,
    .tmlc-focus-grid {
        grid-template-columns: 1fr;
    }

    .tmlc-approach-image,
    .tmlc-approach-image img {
        min-height: 340px;
    }

    .tmlc-about-cta-box {
        padding: 30px 20px;
    }

    .tmlc-about-cta-box h2 {
        font-size: 30px;
    }
}


/* ================================================================
   TMLC 2027 SUBJECTS PAGE
   ================================================================ */

.tmlc-subjects-page {
    background: #fff;
}

.tmlc-subjects-hero {
    position: relative;
    overflow: hidden;
    padding: 82px 0 90px;
    background:
        radial-gradient(circle at 88% 18%, rgba(255,211,56,.14), transparent 25%),
        radial-gradient(circle at 72% 82%, rgba(25,173,228,.2), transparent 28%),
        linear-gradient(120deg, #061a35 0%, #0a315d 58%, #0b5794 100%);
}

.tmlc-subjects-hero::after {
    content: "π";
    position: absolute;
    right: 4%;
    top: -62px;
    color: rgba(255,255,255,.04);
    font-family: Georgia, serif;
    font-size: 330px;
    font-weight: 700;
}

.tmlc-subjects-hero .container {
    position: relative;
    z-index: 2;
}

.tmlc-subjects-hero h1 {
    max-width: 880px;
    margin: 10px 0 20px;
    color: #fff;
    font-size: clamp(46px, 6vw, 76px);
    line-height: .98;
    font-weight: 900;
    letter-spacing: -.055em;
}

.tmlc-subjects-hero h1 span {
    color: var(--tmlc-gold);
}

.tmlc-subjects-hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(255,255,255,.78);
    font-size: 17px;
    line-height: 1.75;
}

.tmlc-hero-stat-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.tmlc-hero-stat {
    min-width: 150px;
    padding: 14px 17px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 14px;
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(6px);
}

.tmlc-hero-stat strong,
.tmlc-hero-stat span {
    display: block;
}

.tmlc-hero-stat strong {
    color: var(--tmlc-gold);
    font-size: 22px;
    font-weight: 900;
}

.tmlc-hero-stat span {
    margin-top: 3px;
    color: rgba(255,255,255,.7);
    font-size: 10px;
    font-weight: 700;
}

.tmlc-critical-subjects {
    padding: 80px 0 35px;
}

.tmlc-critical-intro {
    max-width: 820px;
    margin: 0 auto 34px;
    text-align: center;
}

.tmlc-critical-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.tmlc-critical-card {
    position: relative;
    overflow: hidden;
    min-height: 440px;
    padding: 34px;
    border-radius: 26px;
    color: #fff;
    box-shadow: 0 18px 55px rgba(7,26,54,.12);
}

.tmlc-critical-card.maths {
    background:
        radial-gradient(circle at 93% 12%, rgba(255,255,255,.16), transparent 23%),
        linear-gradient(135deg, #073d72, #0b72c9);
}

.tmlc-critical-card.physics {
    background:
        radial-gradient(circle at 90% 8%, rgba(255,211,56,.18), transparent 26%),
        linear-gradient(135deg, #301c63, #5f3dbd);
}

.tmlc-critical-card::after {
    position: absolute;
    right: 20px;
    bottom: -65px;
    color: rgba(255,255,255,.06);
    font-family: Georgia, serif;
    font-size: 230px;
    line-height: 1;
}

.tmlc-critical-card.maths::after {
    content: "∑";
}

.tmlc-critical-card.physics::after {
    content: "⚛";
}

.tmlc-critical-card > * {
    position: relative;
    z-index: 2;
}

.tmlc-critical-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.13);
    border: 1px solid rgba(255,255,255,.17);
    color: #fff;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .08em;
}

.tmlc-critical-icon {
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 25px 0 22px;
    border-radius: 19px;
    background: var(--tmlc-gold);
    color: var(--tmlc-navy);
    font-size: 27px;
}

.tmlc-critical-card h2 {
    margin: 0;
    color: #fff;
    font-size: 37px;
    font-weight: 900;
}

.tmlc-critical-card > p {
    max-width: 570px;
    margin: 14px 0 0;
    color: rgba(255,255,255,.76);
    line-height: 1.72;
    font-size: 13px;
}

.tmlc-topic-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.tmlc-topic-chips span {
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.11);
    border: 1px solid rgba(255,255,255,.15);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
}

.tmlc-critical-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.tmlc-critical-actions a {
    min-height: 45px;
    padding: 10px 15px;
    border-radius: 11px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 850;
}

.tmlc-critical-primary {
    background: var(--tmlc-gold);
    color: var(--tmlc-navy);
}

.tmlc-critical-secondary {
    border: 1px solid rgba(255,255,255,.28);
    color: #fff;
}

.tmlc-infographic-strip {
    padding: 42px 0 75px;
}

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

.tmlc-info-stat-card {
    position: relative;
    overflow: hidden;
    min-height: 190px;
    padding: 24px;
    border-radius: 19px;
    border: 1px solid var(--tmlc-border);
    background: #fff;
}

.tmlc-info-stat-card.blue {
    background: #eaf5ff;
    border-color: #d4e9fc;
}

.tmlc-info-stat-card.gold {
    background: #fff7da;
    border-color: #f1df9b;
}

.tmlc-info-stat-card.purple {
    background: #f2edff;
    border-color: #ddd2ff;
}

.tmlc-info-stat-card.green {
    background: #eaf8ef;
    border-color: #cdebd7;
}

.tmlc-info-stat-icon {
    width: 47px;
    height: 47px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    border-radius: 14px;
    background: #fff;
    color: var(--tmlc-navy);
    box-shadow: 0 8px 22px rgba(7,26,54,.06);
}

.tmlc-info-stat-card strong {
    display: block;
    color: var(--tmlc-navy);
    font-size: 17px;
    font-weight: 900;
}

.tmlc-info-stat-card p {
    margin: 7px 0 0;
    color: #627083;
    font-size: 11px;
    line-height: 1.6;
}

.tmlc-subject-catalogue {
    padding: 85px 0;
    background: var(--tmlc-soft);
}

.tmlc-subject-catalogue-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
    margin-top: 42px;
}

.tmlc-subject-card-2027 {
    position: relative;
    overflow: hidden;
    height: 100%;
    padding: 25px;
    border-radius: 19px;
    border: 1px solid var(--tmlc-border);
    background: #fff;
    transition: .2s ease;
}

.tmlc-subject-card-2027:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 38px rgba(7,26,54,.08);
}

.tmlc-subject-card-2027.highlight-maths {
    border-top: 4px solid #0b72c9;
}

.tmlc-subject-card-2027.highlight-science {
    border-top: 4px solid #7047cf;
}

.tmlc-subject-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}

.tmlc-subject-card-icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: #edf6ff;
    color: var(--tmlc-blue);
    font-size: 20px;
}

.tmlc-subject-card-2027:nth-child(3n+2) .tmlc-subject-card-icon {
    background: #fff3bf;
    color: #8a6500;
}

.tmlc-subject-card-2027:nth-child(3n) .tmlc-subject-card-icon {
    background: #f1ebff;
    color: #6741c2;
}

.tmlc-subject-card-tag {
    padding: 6px 8px;
    border-radius: 999px;
    background: #f3f6f9;
    color: #6b7786;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .05em;
}

.tmlc-subject-card-2027 h3 {
    margin: 21px 0 9px;
    color: var(--tmlc-navy);
    font-size: 20px;
    font-weight: 900;
}

.tmlc-subject-card-2027 p {
    min-height: 62px;
    margin: 0;
    color: var(--tmlc-muted);
    font-size: 12px;
    line-height: 1.7;
}

.tmlc-subject-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #edf1f4;
}

.tmlc-subject-card-footer span {
    color: #778291;
    font-size: 9px;
    font-weight: 700;
}

.tmlc-subject-card-footer a {
    color: var(--tmlc-blue);
    text-decoration: none;
    font-size: 11px;
    font-weight: 850;
}

.tmlc-combination-section {
    padding: 90px 0;
}

.tmlc-combination-panel {
    padding: 45px;
    border-radius: 25px;
    background:
        radial-gradient(circle at 95% 10%, rgba(25,173,228,.18), transparent 27%),
        var(--tmlc-navy);
}

.tmlc-combination-panel h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(34px, 4vw, 49px);
    font-weight: 900;
    line-height: 1.05;
}

.tmlc-combination-panel h2 span {
    color: var(--tmlc-gold);
}

.tmlc-combination-panel > .row > div > p {
    margin: 15px 0 0;
    color: rgba(255,255,255,.67);
    line-height: 1.7;
}

.tmlc-combination-steps {
    display: grid;
    gap: 10px;
}

.tmlc-combination-step {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 14px;
    border-radius: 13px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.1);
}

.tmlc-combination-step span {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    border-radius: 10px;
    background: var(--tmlc-gold);
    color: var(--tmlc-navy);
    font-size: 10px;
    font-weight: 900;
}

.tmlc-combination-step strong {
    color: #fff;
    font-size: 12px;
}

.tmlc-subject-challenge-banner {
    padding: 0 0 85px;
}

.tmlc-subject-challenge-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding: 37px 40px;
    border-radius: 22px;
    background: linear-gradient(110deg, #fff2ba, #fff9e5);
    border: 1px solid #efd579;
}

.tmlc-subject-challenge-inner h3 {
    margin: 6px 0 7px;
    color: var(--tmlc-navy);
    font-size: 28px;
    font-weight: 900;
}

.tmlc-subject-challenge-inner p {
    margin: 0;
    color: #6b6040;
}

@media (max-width: 991px) {
    .tmlc-critical-grid,
    .tmlc-subject-catalogue-grid {
        grid-template-columns: 1fr 1fr;
    }

    .tmlc-infographic-grid {
        grid-template-columns: 1fr 1fr;
    }

    .tmlc-subject-challenge-inner {
        display: block;
        text-align: center;
    }

    .tmlc-subject-challenge-inner .tmlc-primary-cta {
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    .tmlc-subjects-hero {
        padding: 58px 0 70px;
    }

    .tmlc-subjects-hero h1 {
        font-size: 47px;
    }

    .tmlc-hero-stat-row,
    .tmlc-critical-grid,
    .tmlc-infographic-grid,
    .tmlc-subject-catalogue-grid {
        grid-template-columns: 1fr;
        display: grid;
    }

    .tmlc-hero-stat {
        width: 100%;
    }

    .tmlc-critical-card {
        min-height: 0;
        padding: 27px 22px;
    }

    .tmlc-critical-card h2 {
        font-size: 31px;
    }

    .tmlc-combination-panel {
        padding: 30px 22px;
    }

    .tmlc-subject-challenge-inner {
        padding: 28px 20px;
    }
}

/* =========================================================
   MOBILE TMLC BRAND FIX
   ========================================================= */

@media (max-width: 767px) {

    .tmlc-2027-header .navbar-brand.tmlc-brand {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        max-width: calc(100% - 70px) !important;
        margin-right: 0 !important;
        padding: 8px 0 !important;
        text-decoration: none !important;
    }

    .tmlc-2027-header .tmlc-brand-crest {
        display: block !important;
        width: 54px !important;
        height: 54px !important;
        max-width: 54px !important;
        object-fit: contain !important;
        flex: 0 0 54px !important;
    }

    .tmlc-2027-header .tmlc-brand-copy {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        min-width: 0 !important;
        flex: 1 1 auto !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .tmlc-2027-header .tmlc-brand-copy strong {
        display: block !important;
        margin: 0 !important;
        color: #071a36 !important;
        font-size: 13px !important;
        font-weight: 900 !important;
        line-height: 1.05 !important;
        letter-spacing: -0.02em !important;
        white-space: normal !important;
    }

    .tmlc-2027-header .tmlc-brand-copy strong span {
        display: block !important;
        margin-top: 2px !important;
        color: #0b72c9 !important;
    }

    .tmlc-2027-header .tmlc-brand-copy small {
        display: block !important;
        margin-top: 4px !important;
        color: #68778a !important;
        font-size: 7px !important;
        font-weight: 700 !important;
        line-height: 1.1 !important;
        letter-spacing: 0.03em !important;
        white-space: nowrap !important;
    }

    .tmlc-2027-header .navbar-toggle {
        margin-left: auto !important;
        flex: 0 0 auto !important;
    }
}
