﻿
:root {
    --red: #b61d23;
    --blue: #2563eb;
    --slate: #475569;
    --light: #f8fafc;
    --teal: #14bba6;
    --rust: #7c2d12;
    --amber: #f59e0b;
    --cream: #fff7ed;
    --navy: #1e3a8a;
    --display: "Bricolage Grotesque", sans-serif;
    --body: "Poppins", sans-serif;
    --script: "Great Vibes", cursive;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body);
    color: var(--slate);
    background: var(--light);
    overflow-x: hidden;
}

img, svg {
    display: block;
}

.wrap {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 32px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--body);
    font-weight: 600;
    font-size: 12.5px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 18px;
}

    .eyebrow::before {
        content: "";
        width: 26px;
        height: 2px;
        background: var(--red);
        display: inline-block;
    }

h1, h2, h3 {
    font-family: var(--display);
    color: var(--navy);
    font-weight: 700;
}



/* ---------- HERO ---------- */
.hero {
    position: relative;
    color: #fff;
    padding: 50px 0 50px;
    overflow: hidden;
    background-image: url('../images/myimages/summerschool/bs1.png');
    background-repeat: no-repeat;
    background-size: cover;
}
section.summerschoolhero::before {
    content: "";
    background: radial-gradient(ellipse 900px 500px at 82% -10%, rgba(20, 187, 166, .35), transparent 60%), radial-gradient(ellipse 700px 500px at -10% 110%, rgba(245, 158, 11, .20), transparent 55%), linear-gradient(160deg, #14205ecf 0%, #1e3a8ae8 46%, #1b3a86d6 100%);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, black, transparent 75%);
    pointer-events: none;
}
.summerschoolhero .hero-inner {
    position: relative;
    z-index: 2;
    display: block;
    align-items: center;
    max-width: 1180px;
}
.hero .eyebrow {
    color: var(--amber);
}

    .hero .eyebrow::before {
        background: var(--amber);
    }

.hero h1 {
    font-size: clamp(38px,5.4vw,64px);
    line-height: 1.08;
    letter-spacing: -.02em;
    color: #fff;
}

    .hero h1 em {
        font-style: normal;
        font-family: var(--script);
        color: var(--amber);
        font-size: 1.28em;
        font-weight: 400;
        padding: 0 4px;
    }

.hero p.lead {
    margin-top: 26px;
    font-size: 18.5px;
    line-height: 1.75;
    color: #d7dcf5;
    max-width: 620px;
}

.hero-note {
    margin-top: 14px;
    font-size: 15.5px;
    color: #aab3de;
    line-height: 1.7;
    max-width: 600px;
    font-style: italic;
}

/* ---------- SECTION SHELLS ---------- */
section {
    padding: 40px 0;
}
.bg-cream {
    background: var(--cream);
}

.bg-light {
    background: var(--light);
}

.bg-navy {
    background: linear-gradient(150deg,#152a6b, var(--navy) 60%, #16357d);
    color: #e8ecfb;
}
.theworldbest {
    color: #e8ecfb;
    background: url('../images/myimages/summerschool/bs2.png');
    background-repeat: no-repeat;
    background-size: cover;
}
.theworldbest::before {
    content: "";
    background: linear-gradient(150deg, #152a6be0, #1e3a8adb 60%, #16357deb);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
}
.theworldbest .wrap {
    position: relative;
}
.bg-navy h2, .bg-navy h3 {
    color: #fff;
}
.section-head {
    max-width: 700px;
    margin-bottom: 25px;
}
.bg-cream .section-head h2 {
    margin: 0;
}
.section-head h2 {
    font-size: clamp(28px,3.4vw,40px);
    line-height: 1.18;
    letter-spacing: -.015em;
    margin-top: 0;
}
.section-head p.deck {
    font-size: 17px;
    line-height: 25px;
    color: var(--slate);
    margin: 0 0 12px 0;
    font-weight: 300;
}
.bg-navy .section-head p.deck {
    color: #c4cbf0;
}

/* ---------- SECTION I : split + reasons list ---------- */
.split {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 64px;
    align-items: start;
}
.split p {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 12px;
    color: var(--slate);
    font-weight: 300;
}
.reasons-card {
    background: #fff;
    border: 1px solid rgba(30,58,138,.08);
    border-radius: 22px;
    padding: 38px 36px;
    box-shadow: 0 20px 45px -22px rgba(30,58,138,.28);
}
.reasons-card h3 {
    font-size: 15px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--red);
    font-family: var(--body);
    font-weight: 700;
    margin-bottom: 22px;
}
.reasons-card ul {
    list-style: none;
    padding: 0;
}
.reasons-card li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    font-size: 15.5px;
    color: var(--navy);
    font-weight: 500;
    padding: 13px 0;
    border-top: 1px dashed rgba(30,58,138,.14);
}
.reasons-card li:first-child {
    border-top: none;
    padding-top: 0;
}
.reasons-card li .tick {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border-radius: 7px;
    background: rgba(20,187,166,.15);
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-top: 1px;
}
/* ---------- SECTION II : category boxes ---------- */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
}

.cat-box {
    background: #fff;
    border-radius: 18px;
    padding: 28px 24px;
    border: 1px solid rgba(30,58,138,.09);
    position: relative;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

    .cat-box:hover {
        transform: translateY(-6px);
        box-shadow: 0 22px 40px -18px rgba(30,58,138,.32);
        border-color: transparent;
    }
    .cat-box .num {
        font-family: var(--display);
        font-weight: 700;
        font-size: 13px;
        color: #ae2220;
        letter-spacing: .05em;
        margin-bottom: 14px;
        display: flex;
        height: 100px;
        width: 100px;
        border: 2px dashed #ae2220;
        align-items: center;
        justify-content: center;
    }
        .cat-box .num img {
            height: 80px;
            filter: brightness(0) saturate(100%) invert(19%) sepia(49%) saturate(3945%) hue-rotate(355deg) brightness(101%) contrast(81%);
        }
    .cat-box h4 {
        font-family: var(--display);
        font-size: 18.5px;
        color: var(--navy);
        font-weight: 700;
    }

    .cat-box::after {
        content: "";
        position: absolute;
        left: 24px;
        bottom: 0;
        height: 3px;
        width: 34px;
        background: var(--amber);
        border-radius: 3px;
    }

/* ---------- SECTION III : boxed experience points ---------- */
.exp-wrap {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 60px;
    align-items: center;
}

.exp-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
p.rightsidefirstpara {
    grid-column-start: 1;
    grid-column-end: 3;
    font-weight: 300;
    line-height: 23px;
    font-size: 15px;
    margin: 0;
}
.exp-box {
    background: linear-gradient(160deg,#fff, var(--cream));
    border: 1px solid rgba(124,45,18,.14);
    border-radius: 16px;
    padding: 15px 15px;
    font-size: 14px;
    font-weight: 600;
    color: var(--rust);
    line-height: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
    .exp-box img {
        height: 50px;
        filter: brightness(0) saturate(100%) invert(19%) sepia(49%) saturate(3945%) hue-rotate(355deg) brightness(101%) contrast(81%);
    }
.section-head p.deck span {
    font-size: 25px;
    color: #ae2220;
    font-family: var(--display);
    font-weight: 600;
}
.exp-questions {
    background: #fff;
    border-radius: 20px;
    padding: 34px;
    border-left: 4px solid var(--blue);
    box-shadow: 0 18px 40px -22px rgba(37,99,235,.35);
}

    .exp-questions .q {
        font-size: 15px;
        color: var(--slate);
        font-weight: 600;
        margin-bottom: 14px;
    }

        .exp-questions .q span {
            color: var(--blue);
        }
    .exp-questions .a {
        font-size: 20px;
        line-height: 25px;
        color: #ae2220;
        font-weight: 600;
        font-family: var(--display);
        font-style: italic;
    }
/* ---------- SECTION IV : notebook / marginalia ---------- */
.notebook {
    background: #fff;
    border-radius: 26px;
    padding: 25px 25px;
    position: relative;
    box-shadow: 0 30px 60px -30px rgba(30,58,138,.3);
    border: 1px solid rgba(30,58,138,.08);
}
.notebook-quotes {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 34px 46px;
    margin-top: 10px;
}

.quote-note {
    font-family: var(--script);
    font-size: 29px;
    line-height: 1.4;
    color: var(--navy);
    position: relative;
    padding-left: 22px;
}

    .quote-note:nth-child(2n) {
        color: var(--red);
        transform: rotate(-.6deg);
    }

    .quote-note:nth-child(2n+1) {
        transform: rotate(.5deg);
    }

    .quote-note::before {
        content: "";
        position: absolute;
        left: 0;
        top: 6px;
        bottom: 6px;
        width: 3px;
        background: var(--teal);
        border-radius: 3px;
    }
.reality-strip {
    margin-top: 30px;
    background: linear-gradient(120deg, var(--rust), #9a3412);
    color: #fff8f1;
    border-radius: 20px;
    padding: 34px 40px;
    display: flex;
    align-items: center;
    gap: 26px;
}
p.bottomfourpoints {
    margin: 13px 0 0 0;
    font-size: 16px;
    line-height: 24px;
    font-weight: 300;
    color: var(--slate);
}
    p.bottomfourpoints span {
        font-size: 25px;
        font-weight: 600;
        font-family: var(--display);
        color: #ae2220;
    }
    .reality-strip .tag {
        font-family: var(--body);
        font-weight: 700;
        font-size: 12.5px;
        letter-spacing: .18em;
        text-transform: uppercase;
        background: rgba(255,255,255,.16);
        padding: 8px 16px;
        border-radius: 100px;
        flex: 0 0 auto;
    }

    .reality-strip p {
        font-size: 16.5px;
        line-height: 1.6;
        font-weight: 500;
    }

/* ---------- SECTION V : university cultures ---------- */
.uni-list {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
}
.theworldbest h2 span {
    color: #f59e0b;
}
.uni-row {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 34px;
    padding: 28px 0;
    border-top: 1px solid rgba(255,255,255,.14);
    align-items: baseline;
}

    .uni-row:last-child {
        border-bottom: 1px solid rgba(255,255,255,.14);
    }

    .uni-row h4 {
        font-family: var(--display);
        font-size: 21px;
        color: var(--amber);
        font-weight: 700;
    }
    .uni-row p {
        font-size: 16px;
        line-height: 24px;
        color: #d6dbf4;
        margin: 0;
    }
/* ---------- SECTION VI : evidence chips ---------- */
.evidence-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 8px;
}
.chip {
    font-family: var(--body);
    font-weight: 600;
    font-size: 14.5px;
    color: var(--navy);
    background: #fff;
    border: 1.5px solid var(--blue);
    padding: 12px 22px;
    border-radius: 100px;
    box-shadow: none;
    animation: unset;
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}
.evidence-wrap .chip img {
    height: 50px;
    filter: brightness(0) saturate(100%) invert(20%) sepia(34%) saturate(2806%) hue-rotate(201deg) brightness(98%) contrast(95%);
}
.chip:nth-child(3n+2) img {
    filter: brightness(0) saturate(100%) invert(32%) sepia(45%) saturate(714%) hue-rotate(124deg) brightness(95%) contrast(98%);
}
.chip:nth-child(3n) img {
    filter: brightness(0) saturate(100%) invert(13%) sepia(87%) saturate(4249%) hue-rotate(349deg) brightness(86%) contrast(89%);
}
p.deck.lastpara span {
    font-size: 25px;
    font-family: var(--display);
    font-weight: 600;
    color: #ae2220;
}
.futureapplication .section-head h2 {
    margin: 0 0 20px 0;
}
p.deck.lastpara {
    font-weight: 300;
    margin: 20px 0 0 0;
}
    .chip:nth-child(3n+2) {
        border-color: var(--teal);
        color: #0b6b60;
    }

    .chip:nth-child(3n) {
        border-color: var(--red);
        color: var(--red);
    }

/* ---------- SECTION VII : criteria grid ---------- */
.criteria-intro {
    font-size: 16px;
    line-height: 24px;
    color: var(--slate);
    max-width: 760px;
    margin-bottom: 14px;
    font-weight: 300;
}
.criteria-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 16px;
}
.criteria-card {
    background: var(--navy);
    background: linear-gradient(155deg, var(--navy), #16357d);
    color: #fff;
    border-radius: 16px;
    padding: 24px 20px;
    font-family: var(--display);
    font-weight: 600;
    font-size: 15.5px;
    min-height: 96px;
    display: flex;
    align-items: flex-start;
    line-height: 1.3;
    flex-direction: column;
}
    .criteria-card img {
        height: 60px;
        margin: 0 0 10px 0;
        filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%);
    }

    .criteria-card.alt {
        background: linear-gradient(155deg, var(--teal), #0d8d80);
    }

.criteria-goal {
    margin-top: 40px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--slate);
    max-width: 760px;
    border-left: 3px solid var(--amber);
    padding-left: 22px;
}

/* ---------- SECTION VIII : closing ---------- */
.closing {
    text-align: center;
    padding: 40px 0 50px;
    background: radial-gradient(ellipse 800px 400px at 50% 0%, rgba(20,187,166,.14), transparent 60%), var(--cream);
}
    .closing .script-lead {
        font-family: var(--script);
        font-size: 44px;
        color: var(--red);
        margin-bottom: 6px;
    }

    .closing h2 {
        font-size: clamp(30px,4.3vw,50px);
        max-width: 820px;
        margin: 0 auto 26px;
        line-height: 1.18;
    }
    .closing p {
        font-size: 18px;
        color: var(--slate);
        max-width: 600px;
        margin: 0 auto;
        line-height: 1.8;
        font-weight: 300;
    }
.closing-words {
    margin-top: 34px;
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

    .closing-words span {
        font-family: var(--display);
        font-weight: 700;
        font-size: 16px;
        color: var(--navy);
        position: relative;
    }

        .closing-words span::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: -6px;
            height: 3px;
            background: var(--amber);
            border-radius: 2px;
        }

/* ---------- FINAL CTA ---------- */
.final-cta {
    background: linear-gradient(135deg, var(--navy), #0f2359 55%, var(--rust));
    color: #fff;
    text-align: center;
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

    .final-cta::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 30% 30%, rgba(20,187,166,.25), transparent 55%);
    }

    .final-cta .inner {
        position: relative;
        z-index: 2;
    }

    .final-cta h2 {
        color: #fff;
        font-size: clamp(28px,3.6vw,42px);
        margin-bottom: 20px;
    }

    .final-cta p {
        color: #d3d9f4;
        font-size: 16.5px;
        margin-bottom: 36px;
    }

.cta-row {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid rgba(255,255,255,.5);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 15px 28px;
    border-radius: 100px;
    transition: background .25s ease, border-color .25s ease;
}

    .btn-outline:hover {
        background: rgba(255,255,255,.1);
        border-color: #fff;
    }
.twobtnwrrap {
    margin: 30px 0 0 0;
}
.summerschoolhero .btn-primary:hover {
    border: 1px solid #ffffff6b !important;
    color: #fff;
}
@media (max-width:860px) {
    .split, .exp-wrap {
        grid-template-columns: 1fr;
        gap: 38px;
    }

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

    .notebook-quotes {
        grid-template-columns: 1fr;
    }

    .exp-boxes {
        grid-template-columns: 1fr;
    }

    .uni-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

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

    .notebook {
        padding: 36px 24px;
    }

    .reality-strip {
        flex-direction: column;
        align-items: flex-start;
    }
}

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

    .criteria-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 90px 0 100px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
    }
}
