/* =========================
GENERAL
========================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: #17254b;
    background: linear-gradient(145deg, #eefaff, #c9edff);
    font-family: "Fredoka", sans-serif;
}

img,
video {
    max-width: 100%;
}

button,
a {
    font: inherit;
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid #2b55d6;
    outline-offset: 4px;
}

[hidden] {
    display: none !important;
}

.section-label {
    margin: 0 0 16px;
    color: #5870a8;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}


/* =========================
NAVIGATION
========================= */

.menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 17px 6%;
    background: rgba(255, 255, 255, 0.34);
    border-bottom: 1px solid rgba(23, 37, 75, 0.08);
    box-shadow: 0 8px 28px rgba(23, 37, 75, 0.035);
    backdrop-filter: blur(10px);
}

.home {
    display: inline-grid;
    grid-template-columns: auto 1px auto;
    align-items: center;
    column-gap: 14px;
}

.brightsite-home,
.creative-lab-home {
    padding: 0;
    color: rgba(35, 77, 204, 0.82);
    background: transparent;
    border: 0;
    border-radius: 999px;
    box-shadow: none;
    font-family: "Bungee", sans-serif;
    font-size: 18px;
    letter-spacing: 1px;
    text-decoration: none;
}

.brightsite-home {
    display: block;
}

.creative-lab-home {
    align-self: center;
    color: rgba(35, 77, 204, 0.7);
    font-family: "Fredoka", sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.2px;
    line-height: 1.15;
}

.creative-lab-home:hover,
.creative-lab-home.active {
    color: #234dcc;
}

.home img {
    display: block;
    width: 42px;
    height: 45px;
    object-fit: cover;
    mix-blend-mode: normal;
}

.brand-primary {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    justify-self: center;
}

.brand-name {
    color: rgba(35, 77, 204, 0.72);
    font-size: 9px;
    letter-spacing: 1.4px;
    line-height: 1;
}

.brand-divider {
    width: 1px;
    height: 36px;
    margin: 0;
    background: rgba(35, 77, 204, 0.16);
}

.links {
    display: flex;
    gap: 30px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 999px;
    box-shadow: none;
}

.link {
    color: rgba(35, 77, 204, 0.7);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
}

.link:hover {
    color: rgba(35, 77, 204, 0.95);
}

.link.active {
    color: #17254b;
}


/* =========================
CREATIVE LAB HOME
========================= */

.lab-home {
    min-height: calc(100vh - 90px);
}

.lab-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: clamp(50px, 8vw, 110px);
    align-items: center;
    min-height: 720px;
    padding: 82px 7% 105px;
    background: radial-gradient(
        ellipse at 50% 45%,
        #f9fdff 0%,
        #edf9ff 42%,
        #d9f1fc 72%,
        #c5e6f5 100%
    );
}

.lab-hero-copy {
    position: relative;
    width: 100%;
    margin: 0;
    padding-left: 0;
    text-align: left;
}

.lab-hero-copy h1 {
    max-width: 780px;
    margin: 0;
    color: #234dcc;
    font-family: "Bungee", sans-serif;
    font-size: clamp(40px, 4.8vw, 64px);
    line-height: 1;
}

.lab-hero-copy h2 {
    max-width: 900px;
    margin: 14px 0 0;
    color: #17254b;
    font-family: "Bungee", sans-serif;
    font-size: clamp(44px, 6vw, 78px);
    line-height: 1.05;
}

.lab-hero-copy h2 span {
    color: #234dcc;
}

.lab-hero-copy > p:not(.intro-label) {
    max-width: 760px;
    margin: 28px 0 34px;
    color: #52617e;
    font-size: 20px;
    line-height: 1.65;
}

.lab-hero-copy .intro-actions {
    justify-content: flex-start;
}

.lab-hero-visual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    width: 100%;
    margin: 0;
    transform: translateY(-105px) rotate(2deg);
}

.lab-video-tile {
    position: relative;
    min-height: 170px;
    overflow: hidden;
    background: #17254b;
    border: 2px solid #17254b;
    border-radius: 18px;
    box-shadow: 6px 7px 0 rgba(23, 37, 75, 0.2);
}

.lab-video-tile video {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 170px;
    object-fit: cover;
}

.lab-video-tile span {
    position: absolute;
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 8px 10px;
    color: #ffffff;
    background: rgba(23, 37, 75, 0.78);
    border-radius: 9px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-align: center;
    text-transform: uppercase;
    backdrop-filter: blur(5px);
}

.lab-clarity {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    margin-top: 48px;
    padding: 95px 7% 120px;
    background:
        radial-gradient(circle at 50% 12%, rgba(255, 211, 143, 0.2), transparent 32%),
        linear-gradient(180deg, #254f79 0%, #365f83 46%, #27445e 100%);
    border-top: 2px solid rgba(255, 255, 255, 0.35);
}

.lab-clarity::before {
    content: "";
    position: absolute;
    top: -2px;
    left: 50%;
    width: min(280px, 42vw);
    height: 4px;
    z-index: 2;
    background: rgba(226, 239, 250, 0.86);
    border: 0;
    border-radius: 999px;
    box-shadow: none;
    transform: translateX(-50%);
}

.lab-clarity::after {
    content: "";
    position: absolute;
    inset: -320px -180px;
    z-index: 0;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.92) 0 2.2px, transparent 3px),
        radial-gradient(circle, rgba(255, 255, 255, 0.72) 0 1.5px, transparent 2.3px),
        radial-gradient(circle, rgba(255, 255, 255, 0.48) 0 1px, transparent 1.8px);
    background-size: 48px 48px, 72px 72px, 32px 32px;
    opacity: 0.78;
    pointer-events: none;
    transform: translate3d(-144px, -288px, 0);
    animation: lab-snowfall 8s linear infinite;
    will-change: transform;
}

@keyframes lab-snowfall {
    from {
        transform: translate3d(-144px, -288px, 0);
    }

    to {
        transform: translate3d(144px, 0, 0);
    }
}

.lab-clarity-heading {
    position: relative;
    z-index: 2;
    width: min(920px, 100%);
    margin: 0 auto;
    padding: clamp(24px, 3vw, 38px) clamp(28px, 6vw, 68px);
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    text-align: center;
    text-shadow:
        0 2px 3px rgba(7, 24, 42, 0.48),
        0 7px 22px rgba(7, 24, 42, 0.24);
}

.lab-clarity-heading > p {
    margin: 0 0 16px;
    color: #a9e3f7;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.lab-clarity-heading h2 {
    margin: 0;
    color: #ffffff;
    font-family: "Bungee", sans-serif;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.1;
}

.lab-clarity-heading h2 span {
    display: block;
    color: #a9e3f7;
}

.lab-clarity-heading h2 .lab-clarity-heading-dark {
    color: #ffffff;
}

.lab-clarity-heading .lab-clarity-intro {
    position: relative;
    isolation: isolate;
    max-width: 700px;
    margin: 26px auto 0;
    color: #f2f6fb;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.72;
    text-transform: none;
    text-shadow:
        0 2px 3px rgba(7, 24, 42, 0.72),
        0 5px 12px rgba(7, 24, 42, 0.34);
}

.lab-clarity-heading .lab-clarity-intro::before {
    content: "";
    position: absolute;
    inset: -16px -34px;
    z-index: -1;
    background: radial-gradient(
        ellipse at center,
        rgba(7, 24, 42, 0.16) 0%,
        rgba(7, 24, 42, 0.07) 55%,
        rgba(7, 24, 42, 0) 100%
    );
    border-radius: 50%;
    pointer-events: none;
}

.lab-clarity-intro-lead {
    display: block;
    margin-bottom: 7px;
    color: #ffffff;
    font-size: 1.08em;
    font-weight: 600;
}

.lab-clarity-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    gap: 18px;
    width: min(1180px, 100%);
    margin: 54px auto 0;
}

.lab-clarity-grid article {
    position: relative;
    display: block;
    min-height: 0;
    overflow: hidden;
    padding: clamp(34px, 4vw, 46px);
    background: rgba(225, 238, 247, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-top: 3px solid #234dcc;
    border-radius: 18px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 22px 48px rgba(4, 14, 31, 0.24);
    backdrop-filter: none;
}

.lab-clarity-grid article::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: -3px;
    right: -4px;
    left: -4px;
    height: 31px;
    background:
        linear-gradient(180deg, #ffffff 0%, #ffffff 38%, #f2f8fb 66%, #d5e8f2 100%);
    clip-path: polygon(
        0 0,
        100% 0,
        100% 58%,
        95% 66%,
        89% 57%,
        82% 72%,
        75% 61%,
        69% 69%,
        66.5% 100%,
        64.5% 70%,
        57% 62%,
        50% 76%,
        43% 60%,
        36% 71%,
        30% 62%,
        24% 77%,
        18% 63%,
        12% 72%,
        9.5% 94%,
        7.8% 68%,
        0 61%
    );
    filter: drop-shadow(0 3px 3px rgba(143, 184, 205, 0.38));
    pointer-events: none;
}

.lab-clarity-grid article > * {
    position: relative;
    z-index: 3;
}

.lab-clarity-grid article:nth-child(2) {
    background: rgba(216, 234, 244, 0.98);
}

.lab-clarity-grid article:nth-child(3) {
    background: rgba(225, 238, 247, 0.97);
}

.lab-clarity-number {
    margin: 0 0 36px;
    color: #5870a8;
    font-family: "Bungee", sans-serif;
    font-size: 13px;
}

.lab-clarity-label {
    margin: 0 0 12px;
    color: #5870a8;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.lab-clarity-grid h3 {
    margin: 0;
    color: #17254b;
    font-family: "Fredoka", sans-serif;
    font-size: clamp(24px, 2.1vw, 31px);
    font-weight: 600;
    line-height: 1.2;
}

.lab-clarity-grid h3 span {
    color: #234dcc;
}

.lab-clarity-grid article > p:last-child {
    margin: 28px 0 0;
    color: #52617e;
    font-size: 17px;
    line-height: 1.7;
}

.lab-clarity-grid article > p:last-child strong {
    display: block;
    margin-bottom: 10px;
    color: #17254b;
    font-weight: 600;
}

.lab-clarity-takeaway {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 48px auto 0;
    padding: 25px 44px;
    color: #ffffff;
    background: rgba(18, 39, 70, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 14px;
    box-shadow: 0 18px 42px rgba(4, 14, 31, 0.28);
    font-size: clamp(18px, 2vw, 23px);
    font-weight: 600;
    line-height: 1.55;
    text-align: center;
}

.lab-snow-bank {
    position: absolute;
    right: -5%;
    bottom: -34px;
    left: -5%;
    z-index: 2;
    height: 160px;
    background: linear-gradient(180deg, #ffffff 0%, #edf5fa 44%, #c9dae7 100%);
    clip-path: polygon(0 43%, 8% 38%, 18% 42%, 30% 35%, 42% 40%, 56% 33%, 68% 39%, 80% 31%, 91% 37%, 100% 34%, 100% 100%, 0 100%);
    filter: drop-shadow(0 -4px 7px rgba(232, 243, 250, 0.2));
    pointer-events: none;
    transform-origin: center bottom;
    animation: lab-snow-accumulate 7s ease-out both;
}

@keyframes lab-snow-accumulate {
    from {
        opacity: 0.58;
        transform: scaleY(0.48);
    }

    to {
        opacity: 1;
        transform: scaleY(1);
    }
}

.lab-parent-case {
    padding: 115px 7%;
    background: #ffffff;
}

.lab-parent-case-heading {
    width: min(920px, 100%);
    margin: 0 auto 68px;
    text-align: center;
}

.lab-parent-case-heading h2 {
    margin: 0;
    color: #17254b;
    font-family: "Bungee", sans-serif;
    font-size: clamp(36px, 5.2vw, 66px);
    line-height: 1.08;
}

.lab-parent-case-heading > p:last-child {
    max-width: 730px;
    margin: 26px auto 0;
    color: #52617e;
    font-size: 19px;
    line-height: 1.7;
}

.lab-parent-reasons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    width: min(1180px, 100%);
    margin: 0 auto;
    border-top: 1px solid rgba(23, 37, 75, 0.16);
    border-bottom: 1px solid rgba(23, 37, 75, 0.16);
}

.lab-parent-reasons article {
    padding: clamp(30px, 4vw, 48px);
}

.lab-parent-reasons article + article {
    border-left: 1px solid rgba(23, 37, 75, 0.16);
}

.lab-parent-reasons .lab-spark-story {
    background: #eefaff;
}

.lab-reason-label {
    margin: 0 0 16px;
    color: #5870a8;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.lab-parent-reasons h3 {
    margin: 0 0 18px;
    color: #17254b;
    font-family: "Bungee", sans-serif;
    font-size: clamp(22px, 2.4vw, 31px);
    line-height: 1.2;
}

.lab-parent-reasons article > p:last-child {
    margin: 0;
    color: #52617e;
    font-size: 16px;
    line-height: 1.75;
}

.lab-parent-takeaway {
    max-width: 850px;
    margin: 54px auto 0;
    color: #17254b;
    font-size: clamp(20px, 2.2vw, 27px);
    font-weight: 600;
    line-height: 1.55;
    text-align: center;
}

.lab-value {
    padding: 110px 7%;
    background: #fffaf0;
}

.lab-value-heading {
    width: min(900px, 100%);
    margin: 0 auto 58px;
    text-align: center;
}

.lab-value-heading h2,
.lab-courses-preview h2 {
    margin: 0;
    color: #17254b;
    font-family: "Bungee", sans-serif;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.1;
}

.lab-value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    width: min(1120px, 100%);
    margin: 0 auto;
}

.lab-value-grid article {
    padding: 32px;
    background: #ffffff;
    border-top: 3px solid #234dcc;
}

.lab-value-grid article > span {
    color: #5870a8;
    font-family: "Bungee", sans-serif;
    font-size: 13px;
}

.lab-value-grid h3 {
    margin: 22px 0 12px;
    color: #17254b;
    font-family: "Bungee", sans-serif;
    font-size: 21px;
    line-height: 1.2;
}

.lab-value-grid p {
    margin: 0;
    color: #52617e;
    line-height: 1.65;
}

.lab-courses-preview {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 100px 7%;
    background: #eefaff;
}

.lab-courses-preview::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: rgba(238, 250, 255, 0.5);
    pointer-events: none;
}

.lab-brightsite {
    padding: 110px 7% 120px;
    background:
        radial-gradient(circle at 14% 20%, rgba(169, 227, 247, 0.58), transparent 34%),
        radial-gradient(circle at 86% 82%, rgba(255, 238, 196, 0.52), transparent 32%),
        linear-gradient(145deg, #f8fdff 0%, #eaf8fd 54%, #fdf9ef 100%);
    border-top: 1px solid rgba(35, 77, 204, 0.1);
}

.lab-brightsite-header {
    width: min(960px, 100%);
    margin: 0 auto 58px;
    text-align: center;
}

.lab-brightsite-presenter {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.lab-brightsite-lockup {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding-bottom: 14px;
    color: #234dcc;
    font-family: "Bungee", sans-serif;
    font-size: 14px;
    letter-spacing: 2px;
    line-height: 1;
}

.lab-brightsite-lockup img {
    display: block;
    width: 112px;
    height: 120px;
    object-fit: contain;
}

.lab-brightsite-lockup::after {
    content: "";
    position: absolute;
    right: 8px;
    bottom: 0;
    left: 8px;
    height: 2px;
    background: #234dcc;
    border-radius: 999px;
}

.lab-brightsite-program-name {
    margin-top: 10px;
    color: #5870a8;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.lab-brightsite-header h2 {
    margin: 0;
    color: #17254b;
    font-family: "Bungee", sans-serif;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.1;
}

.lab-brightsite-header > p {
    max-width: 790px;
    margin: 25px auto 0;
    color: #52617e;
    font-size: 19px;
    line-height: 1.7;
}

.lab-brightsite-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(980px, 100%);
    margin: 0 auto;
}

.lab-brightsite-gallery {
    width: 100%;
}

.lab-brightsite-photo {
    position: relative;
    min-height: 470px;
    margin: 0;
    overflow: hidden;
    background: #dff5ff;
    border: 2px solid rgba(169, 227, 247, 0.88);
    border-radius: 28px;
    box-shadow:
        0 18px 38px rgba(23, 37, 75, 0.12),
        0 0 0 8px rgba(255, 255, 255, 0.42);
}

.lab-brightsite-photo img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 470px;
    object-fit: cover;
    object-position: center 58%;
}

.lab-brightsite-thumbnails {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.lab-brightsite-thumbnail {
    position: relative;
    display: block;
    min-width: 0;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    background: #dff5ff;
    border: 2px solid transparent;
    border-radius: 15px;
    box-shadow: 0 8px 18px rgba(23, 37, 75, 0.11);
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease,
        transform 160ms ease;
}

.lab-brightsite-thumbnail:hover,
.lab-brightsite-thumbnail:focus-visible {
    border-color: #234dcc;
    box-shadow: 0 10px 22px rgba(23, 37, 75, 0.17);
    transform: translateY(-2px);
    outline: none;
}

.lab-brightsite-thumbnail.active {
    border-color: #234dcc;
}

.lab-brightsite-thumbnail img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.lab-brightsite-thumbnail:nth-child(2) img {
    object-position: center 61%;
}

@media (prefers-reduced-motion: reduce) {
    .lab-brightsite-thumbnail {
        transition: none;
    }
}

.lab-brightsite-showcase > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    padding: 14px 21px;
    color: #ffffff;
    background: #234dcc;
    border: 2px solid #17254b;
    border-radius: 999px;
    box-shadow: 4px 4px 0 #17254b;
    font-weight: 600;
    text-decoration: none;
}

.lab-courses-preview-heading {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 40px;
    width: min(1120px, 100%);
    margin: 0 auto;
}

.lab-courses-preview-heading > div {
    max-width: 800px;
}

.lab-courses-preview-heading > a {
    flex: 0 0 auto;
    color: #234dcc;
    font-weight: 600;
    text-decoration: none;
}

.lab-course-paths {
    position: absolute;
    z-index: -2;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    pointer-events: none;
}

.lab-course-path {
    overflow: hidden;
}

.lab-course-path img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.62;
    filter: saturate(0.82) contrast(0.9);
}

.lab-course-path:nth-child(2) {
    background: #cfd0d1;
}

.lab-course-path:nth-child(2) img {
    object-fit: contain;
}

.lab-course-path:nth-child(3) {
    background: #5f6162;
}

.lab-course-path:nth-child(3) img {
    object-fit: contain;
    object-position: center;
}

/* Keep the three-card presentation comfortable on smaller laptops. */
@media (min-width: 901px) and (max-width: 1250px) {
    .lab-clarity {
        padding: 76px 5.75% 94px;
    }

    .lab-clarity-heading {
        width: min(860px, 100%);
        padding: 34px 48px 38px;
    }

    .lab-clarity-heading h2 {
        font-size: clamp(44px, 4.7vw, 58px);
    }

    .lab-clarity-heading .lab-clarity-intro {
        max-width: 720px;
        margin-top: 22px;
        font-size: 17px;
        line-height: 1.58;
    }

    .lab-clarity-grid {
        gap: 16px;
        margin-top: 42px;
    }

    .lab-clarity-grid article {
        padding: 32px 30px 34px;
    }

    .lab-clarity-grid h3 {
        font-size: clamp(23px, 2.05vw, 27px);
    }

    .lab-clarity-grid article > p:last-child {
        margin-top: 22px;
        font-size: 16px;
        line-height: 1.62;
    }

    .lab-clarity-takeaway {
        margin-top: 38px;
    }
}

@media (max-width: 900px) {
    .lab-hero,
    .lab-value-grid,
    .lab-parent-reasons {
        grid-template-columns: 1fr;
    }

    .lab-hero-visual {
        grid-template-columns: repeat(2, 1fr);
        width: min(680px, 100%);
        margin: 0 auto;
        margin-top: 50px;
        transform: none;
    }

    .lab-courses-preview {
        padding-right: 6%;
        padding-left: 6%;
    }

    .lab-courses-preview-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .lab-brightsite-photo,
    .lab-brightsite-photo img {
        min-height: 380px;
    }

    .lab-parent-reasons article + article {
        border-top: 1px solid rgba(23, 37, 75, 0.16);
        border-left: 0;
    }

    .lab-clarity-grid article {
        display: block;
        min-height: 0;
        padding: 36px 34px 38px;
    }

    .lab-clarity-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
        gap: 18px;
        margin-top: 38px;
        padding-bottom: 0;
        overflow-x: visible;
    }

    .lab-clarity-grid article:first-child {
        grid-column: 1 / -1;
    }

    .lab-clarity-grid article:first-child > p:last-child {
        max-width: 720px;
    }

    .lab-clarity-grid article > p:last-child {
        margin-top: 26px;
    }

}

@media (max-width: 760px) {
    .lab-clarity {
        padding-right: 5%;
        padding-left: 5%;
    }

}

@media (max-width: 600px) {
    .lab-clarity-heading {
        border-radius: 18px;
    }

    .lab-clarity-grid article {
        display: block;
        padding: 30px 26px;
    }

    .lab-clarity-grid article > p:last-child {
        margin-top: 22px;
    }

    .lab-brightsite {
        padding: 82px 6% 90px;
    }

    .lab-brightsite-photo,
    .lab-brightsite-photo img {
        min-height: 300px;
    }
}


/* =========================
INNER PAGES
========================= */

.inner-page {
    min-height: calc(100vh - 94px);
    padding: 80px 6% 110px;
}

.inner-hero {
    width: min(900px, 100%);
    margin: 0 auto 70px;
    text-align: center;
}

.inner-hero h1 {
    margin: 0;
    color: #17254b;
    font-family: "Bungee", sans-serif;
    font-size: clamp(46px, 7vw, 86px);
    line-height: 1.05;
}

.inner-hero > p:not(.intro-label) {
    max-width: 720px;
    margin: 28px auto 0;
    color: #52617e;
    font-size: 20px;
    line-height: 1.65;
}

.inner-hero-actions {
    justify-content: center;
    margin-top: 32px;
}

.about-page-main {
    min-height: calc(100vh - 94px);
    padding: clamp(64px, 8vw, 110px) 6% clamp(76px, 9vw, 120px);
}

.about-location-hero {
    width: min(1220px, 100%);
    margin: 0 auto;
}

.about-location-copy {
    width: min(900px, 100%);
    margin: 0 auto;
    text-align: center;
}

.about-location-copy h1 {
    max-width: 900px;
    margin: 0 auto;
    color: #17254b;
    font-family: "Bungee", sans-serif;
    font-size: clamp(43px, 5.3vw, 74px);
    line-height: 1.05;
}

.about-location-copy > p:last-child {
    max-width: 720px;
    margin: 28px auto 0;
    color: #52617e;
    font-size: clamp(17px, 1.6vw, 20px);
    line-height: 1.7;
}

.about-photo-gallery {
    width: 100%;
}

.about-building-photo {
    position: relative;
    width: min(520px, calc(100% - 20px));
    margin: clamp(44px, 6vw, 72px) auto 0;
}

.about-building-photo::before {
    content: "";
    position: absolute;
    inset: 20px -20px -20px 20px;
    z-index: -1;
    background: #cfeaf5;
    border-radius: 30px;
}

.about-building-photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
    border: 3px solid #234dcc;
    border-radius: 30px;
    box-shadow: 0 24px 58px rgba(23, 37, 75, 0.17);
}

.about-building-photo figcaption {
    position: absolute;
    right: 20px;
    bottom: 18px;
    padding: 9px 14px;
    color: #ffffff;
    background: rgba(23, 37, 75, 0.82);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.about-thumbnail-rail {
    position: relative;
    width: min(520px, calc(100% - 20px));
    margin: 22px auto 0;
    padding: 0 44px;
}

.about-photo-thumbnails {
    display: grid;
    grid-auto-columns: calc((100% - 48px) / 5);
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
}

.about-photo-thumbnails::-webkit-scrollbar {
    display: none;
}

.about-photo-thumbnails .lab-brightsite-thumbnail {
    scroll-snap-align: start;
}

.about-gallery-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    color: #234dcc;
    cursor: pointer;
    background: #ffffff;
    border: 1px solid rgba(35, 77, 204, 0.28);
    border-radius: 50%;
    box-shadow: 0 7px 18px rgba(23, 37, 75, 0.16);
    font: inherit;
    transform: translateY(-50%);
    transition: opacity 160ms ease, transform 160ms ease;
}

.about-gallery-arrow:hover:not(:disabled) {
    transform: translateY(-50%) scale(1.06);
}

.about-gallery-arrow:disabled {
    cursor: default;
    opacity: 0.28;
}

.about-gallery-arrow-previous {
    left: 0;
}

.about-gallery-arrow-next {
    right: 0;
}

.about-address {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 48px;
    width: min(1220px, 100%);
    margin: clamp(72px, 9vw, 120px) auto 0;
    padding: clamp(30px, 4vw, 46px) clamp(28px, 5vw, 58px);
    background: #e4f3f9;
    border-left: 5px solid #234dcc;
    border-radius: 0 22px 22px 0;
}

.about-address h2 {
    max-width: 700px;
    margin: 0;
    color: #17254b;
    font-family: "Bungee", sans-serif;
    font-size: clamp(26px, 3.4vw, 44px);
    line-height: 1.15;
}

.about-address address {
    display: grid;
    gap: 3px;
    min-width: 250px;
    color: #52617e;
    font-size: 17px;
    font-style: normal;
    line-height: 1.45;
}

.about-address address span:first-child {
    color: #234dcc;
    font-weight: 600;
}

.about-address address strong {
    color: #17254b;
    font-size: 20px;
    font-weight: 600;
}

@media (max-width: 900px) {
    .about-building-photo {
        width: min(720px, calc(100% - 18px));
    }

    .about-photo-thumbnails {
        grid-auto-columns: calc((100% - 36px) / 4);
    }
}

@media (max-width: 600px) {
    .about-page-main {
        padding-right: 5%;
        padding-left: 5%;
    }

    .about-location-copy h1 {
        font-size: clamp(36px, 11vw, 48px);
    }

    .about-building-photo::before {
        inset: 12px -12px -12px 12px;
        border-radius: 22px;
    }

    .about-building-photo img {
        height: auto;
        aspect-ratio: 4 / 3;
        border-radius: 22px;
    }

    .about-building-photo figcaption {
        right: 12px;
        bottom: 12px;
        font-size: 10px;
    }

    .about-thumbnail-rail {
        margin-top: 17px;
        padding-right: 38px;
        padding-left: 38px;
    }

    .about-photo-thumbnails {
        grid-auto-columns: calc((100% - 18px) / 3);
        gap: 9px;
    }

    .about-gallery-arrow {
        width: 31px;
        height: 31px;
    }

    .about-address {
        grid-template-columns: 1fr;
        gap: 24px;
        border-left-width: 4px;
    }
}

@media (max-width: 400px) {
    .about-photo-thumbnails {
        grid-auto-columns: calc((100% - 9px) / 2);
    }
}

.course-catalog {
    display: grid;
    gap: 28px;
    width: min(1120px, 100%);
    margin: 0 auto;
}

.course-card {
    display: grid;
    grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
    min-height: 390px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.76);
    border: 2px solid rgba(23, 37, 75, 0.18);
    border-radius: 24px;
}

.course-card-featured {
    border-color: #2b55d6;
}

.course-card-coming {
    background: rgba(238, 244, 248, 0.7);
}

.course-card-media {
    min-height: 100%;
    overflow: hidden;
    background: #dff5ff;
}

.course-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: pixelated;
}

.course-card-modeling .course-card-media img {
    image-rendering: auto;
}

.course-card-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 100%;
    padding: 42px;
    color: #234dcc;
    background:
        radial-gradient(circle at 20% 20%, rgba(19, 181, 241, 0.2), transparent 36%),
        #eefaff;
}

.course-card-marker span {
    font-family: "Bungee", sans-serif;
    font-size: clamp(72px, 10vw, 126px);
    line-height: 1;
}

.course-card-marker small {
    color: #5870a8;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
}

.course-card-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(32px, 5vw, 54px);
}

.course-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0;
    color: #234dcc;
    background: rgba(35, 77, 204, 0.08);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.course-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    width: 100%;
    margin: 0 0 14px;
}

.course-status::before {
    content: "";
    width: 8px;
    height: 8px;
    background: currentColor;
    border-radius: 50%;
    box-shadow: 0 0 8px currentColor;
    opacity: 0.9;
}

.course-status-available {
    color: #2f985b;
    background: transparent;
}

.course-status-unavailable,
.course-status-full {
    color: #c64d55;
    background: transparent;
}

.course-number {
    margin: 0;
    color: #5870a8;
    font-family: "Bungee", sans-serif;
    font-size: 14px;
}

.course-card-content h2 {
    margin: 0;
    color: #17254b;
    font-family: "Bungee", sans-serif;
    font-size: clamp(28px, 3.3vw, 46px);
    line-height: 1.15;
}

.course-card-content > p:not(.course-number) {
    margin: 22px 0 28px;
    color: #52617e;
    font-size: 17px;
    line-height: 1.7;
}

.course-card a,
.course-note {
    margin-top: auto;
    color: #234dcc;
    font-weight: 600;
}

.course-card a {
    text-decoration: none;
}

.course-note {
    color: #5870a8;
    font-size: 14px;
}

@media (max-width: 900px) {
    .course-card {
        grid-template-columns: 1fr;
    }

    .course-card-media,
    .course-card-marker {
        min-height: 300px;
    }

    .course-card-media img {
        max-height: 440px;
    }
}

@media (max-width: 520px) {
    .course-card-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}



/* =========================
HERO SECTION
========================= */

.intro {
    min-height: calc(100vh - 80px);
    padding: 70px 6%;

    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(380px, 1fr);

    align-items: center;
    gap: 70px;

    overflow: hidden;

    background: transparent;
}

.intro-text {
    position: relative;
    z-index: 2;
}

.intro-label {
    margin: 0 0 18px;
    color: #234dcc;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.intro h1 {
    max-width: 700px;
    margin: 0 0 28px;
    color: #17254b;
    font-family: "Bungee", sans-serif;
    font-size: clamp(48px, 5.2vw, 78px);
    line-height: 1.05;
}

.intro h1 span {
    display: block;
    color: #234dcc;
}

.intro-description {
    max-width: 620px;
    margin: 0 0 35px;
    color: #52617e;
    font-size: 21px;
    line-height: 1.6;
}

.intro-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.intro-button,
.enrollment-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 16px 22px;

    color: white;
    background: #234dcc;

    border: 3px solid #17254b;
    border-radius: 8px;

    box-shadow: 6px 6px 0 #17254b;

    font-weight: 600;
    text-decoration: none;

    transition:
        transform 160ms ease,
        box-shadow 160ms ease;
}

.intro-button:hover,
.enrollment-button:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0 #17254b;
}

.intro-button-secondary {
    color: #17254b;
    background: #ffffff;
}


/* =========================
HERO VIDEO
========================= */

.intro-image {
    width: 100%;
    overflow: hidden;

    background: #17254b;

    border: 4px solid #17254b;
    border-radius: 20px;

    box-shadow: 14px 14px 0 #17254b;
}

.intro-image video {
    display: block;
    width: 100%;
    height: auto;
}


/* =========================
COURSE GROWTH
========================= */

.course-growth {
    position: relative;
    padding: 45px 6% 120px;
    overflow: hidden;
    background: #fffaf0;
}

.growth-introduction {
    position: relative;
    max-width: 1400px;
    min-height: 760px;
    margin: 0 auto 45px;
    overflow: hidden;
}

.pamphlet-spread {
    position: absolute;
    inset: 0 0 auto;
    width: 100%;
    height: 650px;
    overflow: hidden;
}

.pamphlet-spread::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;

    background:
        linear-gradient(
            to bottom,
            rgba(255, 250, 240, 0) 0%,
            rgba(255, 250, 240, 0.05) 30%,
            rgba(255, 250, 240, 0.28) 48%,
            rgba(255, 250, 240, 0.72) 65%,
            #fffaf0 82%,
            #fffaf0 100%
        );
}

.pamphlet-spread img {
    position: absolute;
    top: -25px;
    left: 50%;

    display: block;
    width: min(1280px, 112%);
    max-width: none;
    height: auto;

    opacity: 0.7;

    filter:
        saturate(0.72)
        contrast(0.92);

    transform: translateX(-50%);
}

.pamphlet-spread video {
    position: absolute;
    top: -70px;
    left: 50%;
    display: block;
    width: min(1180px, 100%);
    height: 650px;
    object-fit: cover;
    opacity: 0.66;
    filter: saturate(0.72) contrast(0.92);
    transform: translateX(-50%);
}

.modeling-page .week-tabs {
    grid-template-columns: repeat(10, 1fr);
}

/* =========================
3D MODELING — MONO STUDIO THEME
========================= */

.modeling-page {
    color: #111;
    background: #f2f2ef;
}

.modeling-page .menu {
    background: rgba(250, 250, 247, 0.96);
    border-bottom: 1px solid #111;
    box-shadow: none;
    backdrop-filter: blur(16px);
}

.modeling-page .brand-name,
.modeling-page .creative-lab-home,
.modeling-page .link {
    color: #111;
}

.modeling-page .brand-divider {
    background: #111;
}

.modeling-page .link::after {
    background: #111;
}

.modeling-page .intro {
    position: relative;
    isolation: isolate;
    min-height: 720px;
    color: #fff;
    background: #090909;
    overflow: hidden;
}

.modeling-page .intro::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.16;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.24) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.24) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(90deg, #000, transparent 72%);
}

.modeling-page .intro-text {
    position: relative;
    z-index: 2;
}

.modeling-page .intro-label {
    display: inline-flex;
    width: fit-content;
    padding: 8px 12px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.modeling-page .intro h1,
.modeling-page .growth-heading h2,
.modeling-page .enrollment-heading h2 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
    letter-spacing: -0.055em;
}

.modeling-page .intro h1 {
    max-width: 720px;
    color: #fff;
    font-size: clamp(58px, 7.4vw, 112px);
    line-height: 0.88;
    text-transform: uppercase;
}

.modeling-page .intro h1 span {
    display: block;
    color: #fff;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.9);
}

.modeling-page .intro-description {
    max-width: 580px;
    color: #c9c9c9;
}

.modeling-page .intro-button {
    color: #090909;
    background: #fff;
    border: 1px solid #fff;
    border-radius: 3px;
    box-shadow: none;
}

.modeling-page .intro-button:hover {
    color: #fff;
    background: transparent;
    transform: translateY(-2px);
}

.modeling-page .intro-button-secondary {
    color: #fff;
    background: transparent;
}

.modeling-page .intro-button-secondary:hover {
    color: #090909;
    background: #fff;
}

.modeling-page .intro-image {
    padding: 8px;
    background: #fff;
    border: 1px solid #fff;
    border-radius: 3px;
    box-shadow: 22px 22px 0 rgba(255, 255, 255, 0.12);
    transform: rotate(1.5deg);
}

.modeling-page .intro-image video {
    filter: grayscale(1) contrast(1.12);
}

.modeling-page .course-growth {
    background: #f2f2ef;
    border-top: 1px solid #111;
}

.modeling-page .pamphlet-spread video {
    opacity: 0.58;
    filter: grayscale(1) contrast(1.2);
}

.modeling-page .pamphlet-spread::after {
    background: linear-gradient(
        to bottom,
        rgba(242, 242, 239, 0) 0%,
        rgba(242, 242, 239, 0.08) 34%,
        rgba(242, 242, 239, 0.74) 67%,
        #f2f2ef 87%
    );
}

.modeling-page .section-label,
.modeling-page .week-roadmap-label {
    color: #111;
}

.modeling-page .growth-heading h2,
.modeling-page .growth-heading h2 span {
    color: #111;
}

.modeling-page .growth-heading h2 span {
    font-weight: 400;
}

.modeling-page .week-tabs {
    background: #fff;
    border: 1px solid #111;
    border-radius: 3px;
}

.modeling-page .week-tab {
    color: #555;
    border-color: #c8c8c5;
}

.modeling-page .week-tab:hover {
    color: #111;
    background: #e5e5e1;
}

.modeling-page .week-tab.active {
    color: #fff;
    background: #111;
}

.modeling-page .week-details {
    color: #fff;
    background: #111;
    border-color: #111;
    border-radius: 0 0 3px 3px;
}

.modeling-page .week-details-number,
.modeling-page .week-details h3 {
    color: #fff;
}

.modeling-page .week-details h3,
.modeling-page .growth-step h3 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.modeling-page .week-details p {
    color: #c9c9c9;
}

.modeling-page .growth-description p {
    color: #343434;
}

.modeling-page .growth-step {
    background: transparent;
    border-top: 1px solid #111;
}

.modeling-page .step-number {
    color: #111;
}

.modeling-page .growth-step h3 {
    color: #111;
}

.modeling-page .enrollment-section {
    color: #fff;
    background: #090909;
    border-top: 1px solid #fff;
}

.modeling-page .enrollment-heading .section-label,
.modeling-page .enrollment-heading h2,
.modeling-page .enrollment-intro,
.modeling-page .enrollment-benefits,
.modeling-page .enrollment-detail-number,
.modeling-page .enrollment-detail-copy strong {
    color: #fff;
}

.modeling-page .enrollment-detail-copy small {
    color: #aaa;
}

.modeling-page .enrollment-signup {
    background: #f7f7f4;
    border: 1px solid #fff;
    border-radius: 3px;
    box-shadow: 20px 20px 0 rgba(255, 255, 255, 0.1);
}

.modeling-page .enrollment-button {
    color: #fff;
    background: #111;
    border-radius: 3px;
}

@media (max-width: 760px) {
    .modeling-page .intro {
        min-height: auto;
    }

    .modeling-page .intro h1 {
        font-size: clamp(48px, 15vw, 78px);
    }

    .modeling-page .intro-image {
        box-shadow: 10px 10px 0 rgba(255, 255, 255, 0.12);
    }

    .modeling-page .week-tabs {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Silver refinement for the 3D course */

.modeling-page {
    background: #dfe2e3;
}

.modeling-page .menu {
    background: rgba(226, 229, 230, 0.96);
    border-bottom-color: #777d81;
}

.modeling-page .brand-primary img {
    filter: grayscale(1) contrast(1.25);
}

.modeling-page .intro {
    background:
        radial-gradient(circle at 82% 20%, rgba(210, 215, 218, 0.2), transparent 30%),
        linear-gradient(135deg, #101214 0%, #24282b 55%, #111315 100%);
}

.modeling-page .intro-label {
    color: #eef1f2;
    background: rgba(209, 214, 216, 0.08);
    border-color: #838a8e;
}

.modeling-page .intro-description {
    color: #c5cacc;
}

.modeling-page .intro-button {
    color: #111315;
    background: linear-gradient(145deg, #ffffff, #bcc2c5);
    border-color: #d9dddf;
}

.modeling-page .intro-button-secondary {
    color: #eef1f2;
    background: rgba(255, 255, 255, 0.04);
    border-color: #949a9d;
}

.modeling-page .intro-image {
    background: linear-gradient(145deg, #f7f8f8, #9da3a6);
    border-color: #d9dddf;
    box-shadow: 22px 22px 0 rgba(156, 163, 167, 0.2);
}

.modeling-page .course-growth {
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.55), transparent 38%),
        #dfe2e3;
    border-top-color: #747a7e;
}

.modeling-page .pamphlet-spread::after {
    background: linear-gradient(
        to bottom,
        rgba(223, 226, 227, 0) 0%,
        rgba(223, 226, 227, 0.1) 34%,
        rgba(223, 226, 227, 0.78) 67%,
        #dfe2e3 87%
    );
}

.modeling-page .week-tabs {
    background: rgba(244, 245, 245, 0.72);
    border-color: #777d81;
    box-shadow: 0 12px 30px rgba(43, 48, 51, 0.08);
}

.modeling-page .week-tab {
    color: #53595d;
    border-color: #adb2b5;
}

.modeling-page .week-tab:hover {
    color: #111315;
    background: #c9cdcf;
}

.modeling-page .week-tab.active {
    color: #fff;
    background: linear-gradient(145deg, #4b5155, #191c1e);
}

.modeling-page .week-details {
    background: linear-gradient(120deg, #33383b, #151719);
    border-color: #686f73;
}

.modeling-page .growth-step {
    border-top-color: #6f767a;
}

.modeling-page .enrollment-section {
    background:
        radial-gradient(circle at 12% 18%, rgba(201, 207, 210, 0.18), transparent 28%),
        linear-gradient(140deg, #24282b, #0f1112 72%);
    border-top-color: #9ba1a4;
}

.modeling-page .enrollment-signup {
    background: linear-gradient(145deg, #f4f5f5, #c8ccce);
    border-color: #f3f5f5;
    box-shadow: 20px 20px 0 rgba(174, 181, 184, 0.14);
}

/* 3D course energy and navigation details */

.modeling-page .brand-primary img {
    filter: brightness(0) contrast(1.5);
}

.modeling-page .menu {
    position: relative;
    background:
        linear-gradient(100deg, rgba(255, 255, 255, 0.82), transparent 42%),
        linear-gradient(#eef0f1, #c9ced0);
    border-bottom: 0;
}

.modeling-page .menu::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #111 0 18%, #8e969a 18% 76%, #111 76%);
}

.modeling-page .home {
    padding: 5px 12px 5px 8px;
    background: rgba(255, 255, 255, 0.34);
    border: 1px solid rgba(17, 19, 21, 0.16);
    border-radius: 8px;
}

.modeling-page .links {
    gap: 8px;
}

.modeling-page .link {
    padding: 9px 14px;
    border: 1px solid transparent;
    border-radius: 999px;
    transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.modeling-page .link::after {
    display: none;
}

.modeling-page .link:hover,
.modeling-page .link.active {
    color: #fff;
    background: #16191b;
    border-color: #16191b;
}

.modeling-page .links .link:last-child {
    color: #111315;
    border-color: #747b7f;
}

.modeling-page .links .link:last-child:hover {
    color: #fff;
    background: #16191b;
}

.modeling-ticker {
    position: relative;
    z-index: 4;
    overflow: hidden;
    color: #121416;
    background: linear-gradient(90deg, #aeb4b7, #f4f5f5 48%, #9da4a8);
    border-bottom: 1px solid #646b6f;
    white-space: nowrap;
}

.modeling-ticker div {
    display: flex;
    width: max-content;
    align-items: center;
    gap: 22px;
    padding: 9px 0;
    animation: modelingTicker 24s linear infinite;
}

.modeling-ticker span {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2.4px;
    text-transform: uppercase;
}

.modeling-ticker i {
    color: #646b6f;
    font-size: 7px;
    font-style: normal;
}

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

.modeling-page .intro h1 span {
    color: transparent;
    background: linear-gradient(105deg, #858d91, #fff 48%, #8b9397 78%, #e4e7e8);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-stroke: 0;
}

/* Unified blue-metal palette */

.modeling-page {
    color: #15213a;
    background: #dbe3ed;
}

.modeling-page .intro-image {
    background: #9fadc0;
    border-color: #b8c5d5;
    box-shadow: 14px 14px 0 #263b61;
}

.modeling-page .course-growth {
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.66), transparent 40%),
        #dbe3ed;
    border-top-color: #8798b1;
}

.modeling-page .pamphlet-spread::after {
    background: linear-gradient(
        to bottom,
        rgba(219, 227, 237, 0) 0%,
        rgba(219, 227, 237, 0.12) 34%,
        rgba(219, 227, 237, 0.8) 68%,
        #dbe3ed 88%
    );
}

.modeling-page .growth-heading h2,
.modeling-page .growth-heading h2 span,
.modeling-page .growth-step h3 {
    color: #14223d;
}

.modeling-page .growth-heading h2 span {
    color: #365783;
}

.modeling-page .growth-description p {
    color: #31425b;
}

.modeling-page .growth-step {
    border-top-color: #8294ad;
}

.modeling-page .week-tabs {
    background: rgba(246, 249, 253, 0.82);
    border-color: #7d90ad;
    box-shadow: 0 12px 30px rgba(35, 57, 93, 0.1);
}

.modeling-page .week-tab {
    color: #4b5f7e;
    border-color: #a6b3c5;
}

.modeling-page .enrollment-section {
    background:
        radial-gradient(circle at 12% 18%, rgba(108, 137, 189, 0.22), transparent 30%),
        linear-gradient(140deg, #1c2b48, #0d1423 72%);
    border-top-color: #7188ae;
}

.modeling-page .enrollment-signup {
    background: linear-gradient(145deg, #f5f8fc, #c5d0df);
    border-color: #e8eef6;
    box-shadow: 20px 20px 0 rgba(52, 78, 121, 0.2);
}

.modeling-page .enrollment-form input {
    background: #f8fbff;
    border-color: #8ea0ba;
}

.modeling-page .intro-image {
    position: relative;
    border-radius: 12px;
}

.modeling-page .intro-image::before,
.modeling-page .intro-image::after {
    content: "";
    position: absolute;
    z-index: 3;
    width: 9px;
    height: 9px;
    background: #141719;
    border: 2px solid #c6cbcd;
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.modeling-page .intro-image::before {
    top: 12px;
    left: 12px;
}

.modeling-page .intro-image::after {
    right: 12px;
    bottom: 12px;
}

.modeling-frame-label {
    position: absolute;
    top: -31px;
    right: 6px;
    color: #c7ccce;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@media (max-width: 760px) {
    .modeling-page .home {
        padding: 4px 8px;
    }

    .modeling-page .link {
        padding: 7px 10px;
    }

    .modeling-ticker div {
        padding: 7px 0;
    }
}

.growth-heading {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 3;

    width: 100%;
    max-width: 1000px;
    padding-bottom: 25px;
}

.growth-heading h2 {
    max-width: 950px;
    margin: 0;

    color: #17254b;

    font-family: "Bungee", sans-serif;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.08;
}

.growth-heading h2 span {
    display: block;
    color: #2b55d6;
}


/* =========================
TEN-WEEK ROADMAP
========================= */

.week-roadmap {
    width: min(1120px, 100%);
    margin: 0 auto 70px;
}

.week-roadmap-label {
    margin: 0 0 13px;
    color: #2b55d6;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.week-tabs {
    display: grid;
    grid-template-columns: repeat(10, 1fr);

    overflow: hidden;

    background: rgba(255, 255, 255, 0.42);

    border: 1px solid rgba(23, 37, 75, 0.14);
    border-radius: 14px;
}

.week-tab {
    min-width: 0;
    padding: 16px 5px;

    color: #465574;
    background: transparent;

    border: 0;
    border-right: 1px solid rgba(23, 37, 75, 0.11);

    font-size: 12px;
    font-weight: 600;

    cursor: pointer;

    transition:
        color 180ms ease,
        background-color 180ms ease;
}

.week-tab:last-child {
    border-right: 0;
}

.week-tab:hover {
    color: #2b55d6;
    background: rgba(43, 85, 214, 0.06);
}

.week-tab.active {
    color: white;
    background: #2b55d6;
}

.week-details {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 24px;
    align-items: center;

    min-height: 125px;
    padding: 22px 26px;

    background: rgba(233, 247, 255, 0.66);

    border-right: 1px solid rgba(23, 37, 75, 0.12);
    border-bottom: 1px solid rgba(23, 37, 75, 0.12);
    border-left: 1px solid rgba(23, 37, 75, 0.12);
    border-radius: 0 0 14px 14px;

    animation: showWeek 220ms ease;
}

@keyframes showWeek {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.week-details-number {
    color: #2b55d6;
    font-family: "Bungee", sans-serif;
    font-size: 13px;
}

.week-details h3 {
    margin: 0 0 6px;

    color: #17254b;

    font-family: "Bungee", sans-serif;
    font-size: 21px;
    line-height: 1.2;
}

.week-details p {
    max-width: 720px;
    margin: 0;

    color: #52617e;

    font-size: 16px;
    line-height: 1.5;
}


/* =========================
GROWTH CONTENT
========================= */

.growth-content {
    display: grid;
    grid-template-columns:
        minmax(0, 0.85fr)
        minmax(0, 1.15fr);

    align-items: start;
    gap: 100px;

    max-width: 1400px;
    margin: 0 auto;
}

.growth-description {
    max-width: 540px;
    color: #465574;
    font-size: 20px;
    line-height: 1.7;
}

.growth-description p {
    margin: 0 0 28px;
}

.growth-steps {
    border-top: 3px solid #17254b;
}

.growth-step {
    display: grid;
    grid-template-columns: 75px 1fr;
    gap: 25px;

    padding: 28px 0;

    border-bottom: 2px solid #d5dae3;
}

.step-number {
    color: #2b55d6;
    font-family: "Bungee", sans-serif;
    font-size: 18px;
}

.growth-step h3 {
    margin: 0 0 10px;

    color: #17254b;

    font-family: "Bungee", sans-serif;
    font-size: 23px;
}

.growth-step p {
    max-width: 520px;
    margin: 0;

    color: #52617e;

    font-size: 17px;
    line-height: 1.6;
}


/* =========================
SKILLS SECTION
========================= */

.skills-section {
    padding: 110px 0 120px;
    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #dff5ff,
            #c9edff
        );
}

.skills-heading {
    width: min(1050px, 88%);
    margin: 0 auto 55px;
    text-align: center;
}

.skills-heading h2 {
    max-width: 1050px;
    margin: 0 auto;

    color: #17254b;

    font-family: "Bungee", sans-serif;
    font-size: clamp(42px, 5vw, 70px);
    line-height: 1.08;
}

.skills-heading h2 span {
    display: block;
    color: #2b55d6;
}

.skills-introduction {
    max-width: 760px;
    margin: 28px auto 0;

    color: #52617e;

    font-size: 20px;
    line-height: 1.7;
}


/* =========================
SLIDER
========================= */

.skills-slider {
    position: relative;

    width: min(1240px, 94%);
    margin: 0 auto;
    padding: 8px 8px 12px;

    overflow: hidden;

    background: rgba(238, 250, 255, 0.72);

    border: 2px solid rgba(23, 37, 75, 0.18);
    border-radius: 26px;
}

.skills-slider-window {
    width: 100%;
    overflow-x: hidden;
    overflow-y: visible;

    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;

    border-radius: 22px;
    outline: none;
}

.skills-slider-window::-webkit-scrollbar {
    display: none;
}

.skills-slider-track {
    display: flex;
    align-items: flex-start;
    gap: 1%;

    padding: 5px 1% 12px;
}


/* =========================
ALL SLIDES
========================= */

.skill-slide {
    position: relative;

    flex: 0 0 98%;
    width: 98%;
    height: 770px;
    min-height: 770px;
    max-height: 770px;

    padding: clamp(38px, 5vw, 68px);

    overflow: hidden;

    background:
        radial-gradient(
            circle at 92% 94%,
            rgba(43, 85, 214, 0.055) 0 150px,
            transparent 151px
        ),
        #fffaf0;

    border: 3px solid #17254b;
    border-radius: 26px;

    box-shadow: 9px 11px 0 #17254b;

    scroll-snap-align: center;
}

.skill-slide-number {
    color: #2b55d6;
    font-family: "Bungee", sans-serif;
    font-size: 18px;
}

.skill-slide-label {
    margin: 0;

    color: #2b55d6;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2.3px;

    text-transform: uppercase;
}

.skill-slide h3 {
    color: #17254b;
    font-family: "Bungee", sans-serif;
}


/* =========================
FLIP CARDS
========================= */

.skill-slide.flip-slide {
    padding: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
    perspective: 1800px;
}

.flip-card-inner {
    position: relative;

    display: grid;

    width: 100%;
    height: 770px;

    transform-style: preserve-3d;

    transition:
        transform 650ms
        cubic-bezier(0.22, 0.8, 0.25, 1);
}

.flip-slide.is-flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-face {
    position: relative;
    grid-area: 1 / 1;

    width: 100%;
    height: 770px;

    overflow: hidden;

    border: 3px solid #17254b;
    border-radius: 26px;

    box-shadow: 9px 11px 0 #17254b;

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.flip-card-front {
    transform: rotateY(0deg);
}

.flip-card-back {
    background:
        radial-gradient(
            circle at 92% 94%,
            rgba(43, 85, 214, 0.06) 0 150px,
            transparent 151px
        ),
        linear-gradient(
            145deg,
            #eefaff,
            #e6f6ff
        );

    transform: rotateY(180deg);
}


/* =========================
BUTTONS
========================= */

.flip-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;

    padding: 14px 20px;

    color: white;
    background: #2b55d6;

    border: 3px solid #17254b;
    border-radius: 8px;

    box-shadow: 5px 5px 0 #17254b;

    font-size: 16px;
    font-weight: 600;

    cursor: pointer;

    transition:
        transform 160ms ease,
        box-shadow 160ms ease;
}

.flip-button:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0 #17254b;
}

.flip-button:active {
    transform: translate(3px, 3px);
    box-shadow: 2px 2px 0 #17254b;
}


/* =========================
SLIDE 1 FRONT
========================= */

.gravity-slide .flip-card-front {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding: 38px 48px 30px;

    background:
        radial-gradient(
            circle at 92% 94%,
            rgba(43, 85, 214, 0.055) 0 150px,
            transparent 151px
        ),
        linear-gradient(
            145deg,
            #fffaf0,
            #fffdf7
        );

    text-align: center;
}

.gravity-question-header {
    width: min(790px, 100%);
    margin: 0 auto;
}

.gravity-question-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.gravity-question-header h3 {
    max-width: 760px;
    margin: 0 auto;

    font-size: clamp(46px, 5vw, 68px);
    line-height: 1;
}

.gravity-question-introduction {
    max-width: 690px;
    margin: 24px auto 0;

    color: #52617e;

    font-size: 19px;
    line-height: 1.55;
}

.jump-sequence-picture {
    display: flex;
    justify-content: center;
    align-items: center;

    width: min(650px, 86%);
    margin: 20px auto 0;
}

.jump-sequence-picture img {
    display: block;
    width: 100%;
    max-height: 235px;

    object-fit: contain;
    image-rendering: pixelated;
}

.gravity-question-caption {
    width: min(660px, 88%);
    margin: 15px auto 0;
    padding: 14px 22px;

    background: rgba(230, 246, 255, 0.68);

    border: 1px solid rgba(23, 37, 75, 0.06);
    border-radius: 13px;
}

.gravity-question-caption span {
    display: block;
    margin-bottom: 5px;

    color: #2b55d6;

    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;

    text-transform: uppercase;
}

.gravity-question-caption p {
    margin: 0;

    color: #52617e;

    font-size: 16px;
    line-height: 1.5;
}

.gravity-slide .reveal-answer {
    margin-top: 24px;
}


/* =========================
SLIDE 1 BACK
========================= */

.gravity-answer-simple {
    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 28px 44px 25px;

    text-align: center;
}

.gravity-simple-header {
    width: min(720px, 100%);
    margin: 0 auto;
}

.gravity-simple-header h3 {
    max-width: 690px;
    margin: 6px auto 0;

    font-size: clamp(31px, 3.5vw, 45px);
    line-height: 1.05;
}

.speed-y-definition {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 22px;
    align-items: center;

    width: min(700px, 100%);
    margin: 17px auto 0;
    padding: 15px 20px;

    background: rgba(255, 255, 255, 0.68);

    border: 1px solid rgba(23, 37, 75, 0.1);
    border-radius: 14px;

    text-align: left;
}

.speed-y-definition h4 {
    margin: 0;

    color: #17254b;

    font-family: "Bungee", sans-serif;
    font-size: 15px;
    line-height: 1.25;
}

.speed-y-definition p {
    margin: 0;

    color: #465574;

    font-size: 14px;
    line-height: 1.45;
}

.speed-y-definition strong {
    color: #17254b;
}

.gravity-motion {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;

    width: min(660px, 100%);
    margin: 16px auto 12px;
}

.motion-stage {
    display: flex;
    flex-direction: column;
    align-items: center;

    color: #17254b;

    text-align: center;
}

.motion-symbol {
    display: grid;
    place-items: center;

    width: 52px;
    height: 52px;
    margin-bottom: 9px;

    color: white;
    background: #2b55d6;

    border: 3px solid #17254b;
    border-radius: 15px;

    box-shadow: 4px 4px 0 #17254b;

    font-family: "Bungee", sans-serif;
    font-size: 21px;
}

.motion-top .motion-symbol {
    color: #17254b;
    background: #fffaf0;
}

.motion-falling .motion-symbol {
    background: #dd803f;
}

.motion-stage strong {
    font-family: "Bungee", sans-serif;
    font-size: 13px;
    line-height: 1.2;
}

.motion-stage small {
    margin-top: 4px;

    color: #52617e;

    font-size: 12px;
    line-height: 1.3;
}

.gravity-simple-lower {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(180px, 205px);

    gap: 24px;
    align-items: center;

    width: min(700px, 100%);
    margin: 0 auto;
    padding: 16px 20px;

    background: rgba(255, 255, 255, 0.62);

    border: 1px solid rgba(23, 37, 75, 0.09);
    border-radius: 18px;

    box-shadow: 0 14px 34px rgba(23, 37, 75, 0.055);
}

.gravity-story {
    text-align: left;
}

.gravity-story p {
    margin: 0;
    padding: 9px 0;

    color: #52617e;

    font-size: 13.5px;
    line-height: 1.4;
}

.gravity-story p + p {
    border-top: 1px solid rgba(23, 37, 75, 0.12);
}

.gravity-story strong {
    display: block;
    margin-bottom: 2px;
    color: #17254b;
    font-size: 14px;
}

.gravity-code-preview {
    margin: 0;
    padding: 11px;

    background: rgba(255, 255, 255, 0.94);

    border: 1px solid rgba(43, 85, 214, 0.18);
    border-radius: 14px;
}

.gravity-code-preview figcaption {
    margin-bottom: 8px;

    color: #2b55d6;

    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.3px;

    text-transform: uppercase;
}

.gravity-code-preview img {
    display: block;
    width: 100%;
    max-height: 200px;
    object-fit: contain;
}

.gravity-answer-simple .return-question {
    margin-top: auto;
}


/* =========================
SLIDE 2 FRONT
========================= */

.problem-solving-slide .problem-slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding: 38px 48px 30px;

    background:
        radial-gradient(
            circle at 92% 94%,
            rgba(43, 85, 214, 0.055) 0 150px,
            transparent 151px
        ),
        linear-gradient(
            145deg,
            #fffaf0,
            #fffdf7
        );

    text-align: center;
}

.problem-slide-header {
    width: min(790px, 100%);
    margin: 0 auto;
}

.problem-slide-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.problem-slide-title {
    max-width: 760px;
    margin: 0 auto;

    font-size: clamp(46px, 5vw, 68px);
    line-height: 1;
}

.problem-slide-description {
    max-width: 690px;
    margin: 24px auto 0;

    color: #52617e;

    font-size: 19px;
    line-height: 1.55;
}

.collision-problem-picture {
    display: flex;
    justify-content: center;
    align-items: center;

    width: min(650px, 86%);
    margin: 20px auto 0;
}

.collision-problem-picture img {
    display: block;
    width: 100%;
    max-height: 235px;

    object-fit: contain;
    image-rendering: pixelated;
}

.problem-slide-challenge {
    width: min(660px, 88%);
    margin: 15px auto 0;
    padding: 14px 22px;

    background: rgba(230, 246, 255, 0.68);

    border: 1px solid rgba(23, 37, 75, 0.06);
    border-radius: 13px;
}

.problem-slide-challenge span {
    display: block;
    margin-bottom: 5px;

    color: #2b55d6;

    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;

    text-transform: uppercase;
}

.problem-slide-challenge p {
    margin: 0;

    color: #52617e;

    font-size: 16px;
    line-height: 1.5;
}

.problem-slide .reveal-answer {
    margin-top: 24px;
}


/* =========================
SLIDE 2 BACK
========================= */

.problem-solving-slide .collision-answer {
    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 30px 48px 25px;

    text-align: center;
}

.collision-answer-header {
    width: min(720px, 100%);
    margin: 0 auto 12px;
}

.collision-answer-header h3 {
    max-width: 680px;
    margin: 5px auto 7px;

    font-size: clamp(29px, 3.2vw, 43px);
    line-height: 1.04;
}

.collision-answer-header > p:last-child {
    margin: 0 auto;
    color: #52617e;
    font-size: 15px;
    line-height: 1.45;
}

.collision-code-lesson {
    display: grid;
    grid-template-columns:
        minmax(210px, 0.62fr)
        minmax(0, 1.38fr);

    gap: 24px;
    align-items: center;

    width: min(720px, 100%);
    margin: 5px auto 0;
    padding: 18px 20px;

    background: rgba(255, 255, 255, 0.62);

    border: 1px solid rgba(23, 37, 75, 0.09);
    border-radius: 18px;

    box-shadow: 0 14px 34px rgba(23, 37, 75, 0.055);
}

.collision-code-preview {
    width: 100%;
    margin: 0;
    padding: 12px;

    background: rgba(255, 255, 255, 0.92);

    border: 1px solid rgba(43, 85, 214, 0.18);
    border-radius: 15px;
}

.collision-code-preview figcaption {
    margin-bottom: 8px;

    color: #2b55d6;

    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.4px;

    text-transform: uppercase;
}

.collision-code-preview img {
    display: block;
    width: 100%;
    max-height: 310px;
    object-fit: contain;
}

.collision-plain-steps {
    display: grid;
    text-align: left;
}

.collision-plain-steps > div {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 9px;

    padding: 9px 0;
}

.collision-plain-steps > div + div {
    border-top: 1px solid rgba(23, 37, 75, 0.11);
}

.collision-plain-steps span {
    padding-top: 2px;

    color: #2b55d6;

    font-family: "Bungee", sans-serif;
    font-size: 10px;
}

.collision-plain-steps p {
    margin: 0;

    color: #465574;

    font-size: 13.5px;
    line-height: 1.4;
}

.collision-plain-steps p strong {
    color: #17254b;
}

.collision-plain-steps code {
    grid-column: 2;
    justify-self: start;

    margin-top: 5px;
    padding: 5px 8px;

    color: #8b4319;
    background: #fff7ed;

    border: 1px solid rgba(227, 124, 51, 0.36);
    border-radius: 7px;

    font-family: "Fredoka", sans-serif;
    font-size: 11px;
    font-weight: 600;
}

.collision-simple-takeaway {
    width: min(630px, 100%);
    margin: 14px auto 0;

    color: #465574;

    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
}

.collision-answer .return-question {
    margin-top: auto;
}


/* =========================
SLIDE 3
========================= */

.growth-mindset-slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
}

.growth-mindset-header {
    width: min(760px, 100%);
}

.growth-mindset-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.growth-mindset-header h3 {
    max-width: 760px;
    margin: 0 auto;

    font-size: clamp(40px, 4.6vw, 62px);
    line-height: 1.05;
}

.growth-mindset-header > p {
    max-width: 680px;
    margin: 24px auto 0;

    color: #465574;

    font-size: 19px;
    line-height: 1.55;
}

.learning-loop {
    display: grid;
    grid-template-columns:
        1fr auto
        1fr auto
        1fr;

    align-items: center;
    gap: 18px;

    width: min(800px, 100%);
    margin: 48px auto 0;
}

.learning-loop-step {
    min-height: 175px;
    padding: 24px 18px;

    background: rgba(233, 247, 255, 0.72);

    border: 1px solid rgba(43, 85, 214, 0.15);
    border-radius: 16px;
}

.learning-loop-step span {
    display: block;
    margin-bottom: 14px;

    color: #2b55d6;

    font-family: "Bungee", sans-serif;
    font-size: 13px;
}

.learning-loop-step strong {
    display: block;

    color: #17254b;

    font-family: "Bungee", sans-serif;
    font-size: 21px;
}

.learning-loop-step p {
    margin: 10px 0 0;

    color: #52617e;

    font-size: 15px;
    line-height: 1.45;
}

.learning-loop-arrow {
    color: rgba(43, 85, 214, 0.55);
    font-size: 26px;
    font-weight: 600;
}

.growth-mindset-takeaway {
    width: min(680px, 90%);
    margin: 38px auto 0;
    padding: 17px 22px;

    background: rgba(255, 255, 255, 0.66);

    border-left: 5px solid #2b55d6;
    border-radius: 0 13px 13px 0;
}

.growth-mindset-takeaway span {
    display: block;
    margin-bottom: 6px;

    color: #2b55d6;

    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.8px;

    text-transform: uppercase;
}

.growth-mindset-takeaway p {
    margin: 0;

    color: #687591;

    font-size: 16px;
    line-height: 1.5;
}


/* =========================
SLIDER CONTROLS
========================= */

.skills-slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;

    width: 100%;
    margin: 14px auto 4px;
}

.slider-arrow {
    display: grid;
    place-items: center;

    width: 52px;
    height: 52px;
    padding: 0;

    color: white;
    background: #2b55d6;

    border: 3px solid #17254b;
    border-radius: 50%;

    box-shadow: 4px 4px 0 #17254b;

    font-size: 24px;
    font-weight: 600;

    cursor: pointer;
}

.slider-arrow:hover:not(:disabled) {
    transform: translateY(-2px);
}

.slider-arrow:active:not(:disabled) {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 #17254b;
}

.slider-arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.slider-dots {
    display: flex;
    align-items: center;
    gap: 10px;
}

.slider-dot {
    width: 11px;
    height: 11px;
    padding: 0;

    background: rgba(23, 37, 75, 0.25);

    border: 0;
    border-radius: 50%;

    cursor: pointer;

    transition:
        width 180ms ease,
        background-color 180ms ease;
}

.slider-dot.active {
    width: 32px;
    background: #2b55d6;
    border-radius: 10px;
}


/* =========================
ENROLLMENT
========================= */

.enrollment-section {
    padding: 120px 6%;
    background: #fff3d8;
}

.enrollment-content {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
    gap: clamp(46px, 7vw, 88px);
    align-items: center;
    width: min(1100px, 100%);
    margin: 0 auto;
    overflow: hidden;
    padding: clamp(44px, 6vw, 76px);
    background: #f7fcff;
    border: 3px solid #17254b;
    border-radius: 28px;
    box-shadow: 8px 9px 0 #17254b;
}

.enrollment-heading {
    text-align: left;
}

.enrollment-content h2 {
    margin: 0;
    color: #17254b;
    font-family: "Bungee", sans-serif;
    font-size: clamp(58px, 8vw, 96px);
    letter-spacing: -2px;
    line-height: 1;
    text-transform: uppercase;
}

.enrollment-intro {
    max-width: 580px;
    margin: 28px 0 0;
    color: #52617e;
    font-size: 19px;
    line-height: 1.6;
}

.enrollment-form h3 {
    margin: 0 0 8px;
    color: #17254b;
    font-family: "Bungee", sans-serif;
    font-size: 22px;
}

.enrollment-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    margin-top: 42px;
    border-top: 1px solid rgba(23, 37, 75, 0.18);
    border-bottom: 1px solid rgba(23, 37, 75, 0.18);
}

.enrollment-detail {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    min-height: 108px;
    padding: 22px 20px 22px 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.enrollment-detail + .enrollment-detail {
    padding-right: 0;
    padding-left: 24px;
    border-left: 1px solid rgba(23, 37, 75, 0.18);
}

.enrollment-benefits {
    display: grid;
    gap: 13px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.enrollment-benefits li {
    position: relative;
    padding-left: 29px;
    color: #687591;
    font-size: 15px;
    line-height: 1.45;
}

.enrollment-benefits li::before {
    content: "✓";
    position: absolute;
    top: 0;
    left: 0;
    color: #2b55d6;
    font-weight: 600;
}

.enrollment-detail-number {
    color: #2b55d6;
    font-family: "Bungee", sans-serif;
    font-size: clamp(32px, 3.5vw, 46px);
    line-height: 1;
}

.enrollment-detail-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.enrollment-detail-copy strong {
    color: #17254b;
    font-size: 16px;
    font-weight: 600;
}

.enrollment-detail-copy small {
    color: #52617e;
    font-size: 14px;
}

.enrollment-form {
    padding: clamp(26px, 5vw, 42px);
    background: #ffffff;
    border: 1px solid rgba(23, 37, 75, 0.24);
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(23, 37, 75, 0.1);
}

.enrollment-form-intro {
    margin: 0 0 22px;
    color: #687591;
    font-size: 15px;
    line-height: 1.5;
}

.enrollment-form label {
    display: block;
    margin: 14px 0 7px;
    color: #17254b;
    font-size: 14px;
    font-weight: 600;
}

.enrollment-form input {
    width: 100%;
    min-height: 48px;
    padding: 10px 13px;
    color: #17254b;
    background: #f8fcff;
    border: 2px solid rgba(23, 37, 75, 0.3);
    border-radius: 10px;
    font: inherit;
    outline: none;
}

.enrollment-form input:focus {
    border-color: #2b55d6;
    box-shadow: 0 0 0 3px rgba(43, 85, 214, 0.12);
}

.enrollment-availability {
    margin: 20px 0 0;
    color: #52617e;
    font-size: 16px;
}

.enrollment-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin-top: 12px;
    border: 2px solid #17254b;
    cursor: pointer;
}

.enrollment-button span {
    font-size: 22px;
    line-height: 1;
}

.enrollment-question {
    margin: 24px 0 0;
    color: #687591;
    font-size: 15px;
    text-align: center;
}

.enrollment-question a {
    color: #2b55d6;
    font-weight: 600;
}

/* Shared secondary blue used by the menu and supporting details. */
.week-details p,
.skills-introduction,
.gravity-question-introduction,
.gravity-question-caption p,
.motion-stage small,
.gravity-code-preview figcaption,
.problem-slide-description,
.problem-slide-challenge p,
.collision-answer-header > p:last-child,
.learning-loop-step p,
.growth-mindset-takeaway p,
.enrollment-benefits li,
.enrollment-detail-copy small,
.enrollment-form-intro,
.enrollment-availability,
.enrollment-question {
    color: #5870a8;
}


/* =========================
TABLET
========================= */

@media (max-width: 950px) {
    .intro {
        grid-template-columns: 1fr;
        gap: 55px;

        min-height: auto;
        padding: 65px 6% 90px;
    }

    .intro-image {
        width: calc(100% - 14px);
        max-width: 700px;
    }

    .growth-content {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .growth-description {
        max-width: 680px;
    }

    .pamphlet-spread img {
        width: 130%;
    }
}


/* =========================
SMALL TABLETS
========================= */

@media (max-width: 800px) {
    .skills-section {
        padding: 80px 0 90px;
    }

    .skills-heading {
        margin-bottom: 45px;
    }

    .skills-introduction {
        font-size: 18px;
    }

    .skills-slider {
        width: 96%;
        padding: 7px 7px 10px;
        border-radius: 22px;
    }

    .skill-slide,
    .flip-card-inner,
    .flip-card-face {
        height: 720px;
        min-height: 720px;
        max-height: 720px;
    }

    .gravity-slide .flip-card-front,
    .problem-solving-slide .problem-slide {
        justify-content: flex-start;
        padding: 34px 30px 26px;
    }

    .gravity-question-header h3,
    .problem-slide-title {
        font-size: clamp(40px, 7vw, 56px);
    }

    .gravity-question-introduction,
    .problem-slide-description {
        font-size: 17px;
    }

    .gravity-answer-simple,
    .problem-solving-slide .collision-answer {
        padding: 25px 28px 22px;
    }

    .speed-y-definition {
        grid-template-columns: 150px 1fr;
        gap: 15px;
    }

    .gravity-simple-lower {
        grid-template-columns: 1fr 170px;
        gap: 16px;
    }

    .collision-code-lesson {
        grid-template-columns: 185px 1fr;
        gap: 17px;
        padding: 16px;
    }

    .collision-code-preview img {
        max-height: 260px;
    }

    .week-tabs {
        display: flex;
        overflow-x: auto;
        scrollbar-width: thin;
    }

    .week-tab {
        flex: 0 0 88px;
    }

    .learning-loop {
        gap: 10px;
    }

    .learning-loop-step {
        min-height: 165px;
        padding: 20px 12px;
    }
}


/* =========================
MOBILE
========================= */

@media (max-width: 600px) {
    .menu {
        padding: 18px 5%;
    }

    .home img {
        width: 34px;
        height: 36px;
    }

    .brand-name {
        font-size: 9px;
    }

    .brand-divider {
        height: 30px;
        margin: 0;
    }

    .creative-lab-home {
        max-width: 58px;
        font-size: 11px;
        line-height: 1.1;
    }

    .links {
        gap: 13px;
        padding: 0;
    }

    .link {
        font-size: 13px;
    }

    .intro {
        padding: 50px 6% 75px;
    }

    .intro h1 {
        font-size: clamp(40px, 12vw, 58px);
    }

    .intro-description {
        font-size: 18px;
    }

    .intro-image {
        box-shadow: 9px 9px 0 #17254b;
    }

    .course-growth {
        padding: 30px 5% 85px;
    }

    .growth-introduction {
        min-height: 570px;
        margin-bottom: 35px;
    }

    .pamphlet-spread {
        height: 450px;
    }

    .pamphlet-spread img {
        top: 10px;
        width: 165%;
    }

    .growth-heading h2 {
        font-size: clamp(36px, 10vw, 50px);
    }

    .week-roadmap {
        margin-bottom: 50px;
    }

    .week-details {
        grid-template-columns: 1fr;
        gap: 7px;
        padding: 20px;
    }

    .growth-step {
        grid-template-columns: 45px 1fr;
        gap: 12px;
    }

    .growth-step h3 {
        font-size: 19px;
    }

    .skills-heading h2 {
        font-size: 37px;
    }

    .skill-slide,
    .flip-card-inner,
    .flip-card-face {
        height: 890px;
        min-height: 890px;
        max-height: 890px;
    }

    .gravity-slide .flip-card-front,
    .problem-solving-slide .problem-slide {
        padding: 28px 20px 24px;
    }

    .gravity-question-header h3,
    .problem-slide-title {
        font-size: 34px;
    }

    .gravity-question-introduction,
    .problem-slide-description {
        margin-top: 18px;
        font-size: 16px;
    }

    .jump-sequence-picture,
    .collision-problem-picture {
        width: 100%;
    }

    .gravity-question-caption,
    .problem-slide-challenge {
        width: 100%;
    }

    .gravity-slide .reveal-answer,
    .problem-slide .reveal-answer {
        width: 100%;
    }

    .gravity-answer-simple,
    .problem-solving-slide .collision-answer {
        padding: 24px 18px;
    }

    .gravity-simple-header h3,
    .collision-answer-header h3 {
        font-size: 29px;
    }

    .speed-y-definition {
        grid-template-columns: 1fr;
        gap: 6px;
        text-align: center;
    }

    .gravity-motion {
        gap: 8px;
    }

    .motion-symbol {
        width: 46px;
        height: 46px;
        font-size: 18px;
    }

    .motion-stage strong {
        font-size: 11px;
    }

    .motion-stage small {
        font-size: 10px;
    }

    .gravity-simple-lower {
        grid-template-columns: 1fr;
    }

    .gravity-code-preview {
        width: min(190px, 70%);
        margin: 0 auto;
    }

    .collision-code-lesson {
        grid-template-columns: 1fr;
    }

    .collision-code-preview {
        width: min(210px, 72%);
        margin: 0 auto;
    }

    .collision-code-preview img {
        max-height: 190px;
    }

    .collision-plain-steps > div {
        padding: 7px 0;
    }

    .collision-plain-steps p {
        font-size: 13px;
    }

    .learning-loop {
        grid-template-columns: 1fr;
        gap: 12px;

        margin-top: 30px;
    }

    .learning-loop-arrow {
        display: none;
    }

    .learning-loop-step {
        min-height: 0;
        padding: 17px;
    }

    .growth-mindset-header h3 {
        font-size: 34px;
    }

    .growth-mindset-header > p {
        font-size: 16px;
    }

    .growth-mindset-takeaway {
        width: 100%;
        margin-top: 26px;
    }

    .slider-arrow {
        width: 45px;
        height: 45px;
    }

    .skills-slider-controls {
        gap: 14px;
    }

    .slider-dots {
        gap: 7px;
    }

    .slider-dot {
        width: 9px;
        height: 9px;
    }

    .slider-dot.active {
        width: 25px;
    }

    .enrollment-section {
        padding: 80px 5%;
    }

    .enrollment-content {
        padding: 45px 22px;
        border-radius: 21px;
        box-shadow: 8px 9px 0 #17254b;
    }

    .enrollment-content h2 {
        font-size: clamp(58px, 16vw, 96px);
        letter-spacing: -2px;
    }

    .enrollment-details {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .enrollment-content {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .enrollment-detail {
        min-height: 105px;
    }

    .enrollment-button {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .enrollment-details {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .enrollment-detail + .enrollment-detail {
        padding-left: 0;
        border-top: 1px solid rgba(23, 37, 75, 0.18);
        border-left: 0;
    }

    .enrollment-form {
        padding: 22px 18px;
    }
}


/* =========================
RESPONSIVE REFINEMENT
========================= */

@media (max-width: 900px) {
    .lab-hero {
        min-height: auto;
        gap: 46px;
        padding: 64px 6% 82px;
    }

    .lab-hero-visual {
        margin-top: 0;
    }

    .lab-clarity,
    .lab-brightsite {
        padding-top: 82px;
        padding-bottom: 94px;
    }

    .lab-courses-preview {
        padding-top: 78px;
        padding-bottom: 82px;
    }

    .inner-page {
        padding-top: 64px;
        padding-bottom: 90px;
    }

    .inner-hero {
        margin-bottom: 52px;
    }

    .enrollment-content {
        grid-template-columns: 1fr;
        gap: 48px;
        max-width: 760px;
    }
}

@media (max-width: 700px) {
    .menu {
        flex-direction: column;
        gap: 12px;
        padding: 14px 5% 12px;
    }

    .home {
        column-gap: 16px;
    }

    .home img {
        width: 40px;
        height: 43px;
    }

    .brand-name {
        font-size: 9px;
    }

    .brand-divider {
        height: 34px;
    }

    .creative-lab-home {
        max-width: none;
        font-size: 13px;
    }

    .links {
        justify-content: center;
        gap: clamp(22px, 9vw, 46px);
        width: 100%;
        padding-top: 0;
        border: 0;
        border-radius: 0;
    }

    .link {
        min-height: 34px;
        padding: 7px 2px;
        font-size: 14px;
        line-height: 20px;
    }
}

@media (max-width: 600px) {
    .section-label,
    .intro-label {
        font-size: 11px;
        letter-spacing: 2.1px;
    }

    .intro {
        gap: 42px;
        padding: 48px 5% 68px;
    }

    .intro h1 {
        font-size: clamp(38px, 10.5vw, 46px);
        line-height: 1.08;
    }

    .intro-description {
        margin-bottom: 30px;
        font-size: 17px;
        line-height: 1.65;
    }

    .intro-actions {
        gap: 13px;
    }

    .intro-button,
    .enrollment-button {
        padding: 14px 18px;
        box-shadow: 5px 5px 0 #17254b;
    }

    .lab-hero {
        gap: 40px;
        padding: 48px 6% 66px;
    }

    .lab-hero-copy h1 {
        font-size: clamp(34px, 9.5vw, 40px);
    }

    .lab-hero-copy h2 {
        margin-top: 12px;
        font-size: clamp(34px, 9.5vw, 40px);
        line-height: 1.08;
    }

    .lab-hero-copy > p:not(.intro-label) {
        margin: 24px 0 30px;
        font-size: 17px;
        line-height: 1.65;
    }

    .lab-hero-visual {
        gap: 10px;
    }

    .lab-video-tile,
    .lab-video-tile video {
        min-height: 132px;
    }

    .lab-video-tile {
        border-radius: 14px;
        box-shadow: 4px 5px 0 rgba(23, 37, 75, 0.2);
    }

    .lab-video-tile span {
        right: 7px;
        bottom: 7px;
        left: 7px;
        padding: 7px 5px;
        font-size: 9px;
        letter-spacing: 0.45px;
    }

    .lab-clarity {
        margin-top: 0;
        padding: 68px 5% 84px;
    }

    .lab-clarity-heading {
        padding: 30px 22px;
    }

    .lab-clarity-heading h2 {
        font-size: clamp(31px, 9vw, 38px);
        line-height: 1.12;
    }

    .lab-clarity-heading .lab-clarity-intro {
        margin-top: 22px;
        font-size: 16px;
        line-height: 1.6;
    }

    .lab-clarity-grid {
        grid-template-columns: 1fr;
        margin-top: 30px;
        padding-bottom: 0;
        overflow-x: visible;
        gap: 14px;
    }

    .lab-clarity-grid article:first-child {
        grid-column: auto;
    }

    .lab-clarity-grid article {
        padding: 28px 24px;
    }

    .lab-clarity-grid h3 {
        font-size: 24px;
    }

    .lab-clarity-grid article > p:last-child {
        margin-top: 22px;
        font-size: 16px;
        line-height: 1.65;
    }

    .lab-clarity-takeaway {
        margin-top: 30px;
        padding: 21px 22px;
        font-size: 17px;
    }

    .lab-brightsite {
        padding: 72px 5% 82px;
    }

    .lab-brightsite-header {
        margin-bottom: 40px;
    }

    .lab-brightsite-lockup img {
        width: 88px;
        height: 94px;
    }

    .lab-brightsite-header h2,
    .lab-courses-preview h2 {
        font-size: clamp(32px, 9vw, 39px);
        line-height: 1.12;
    }

    .lab-brightsite-header > p {
        margin-top: 21px;
        font-size: 17px;
        line-height: 1.65;
    }

    .lab-brightsite-photo,
    .lab-brightsite-photo img {
        min-height: 260px;
    }

    .lab-brightsite-photo {
        border-radius: 24px;
    }

    .lab-brightsite-thumbnails {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 11px;
        margin-top: 17px;
    }

    .lab-courses-preview {
        gap: 28px;
        padding: 68px 6% 72px;
    }

    .lab-courses-preview::after {
        background: rgba(238, 250, 255, 0.62);
    }

    .inner-page {
        padding: 50px 5% 76px;
    }

    .inner-hero {
        margin-bottom: 42px;
    }

    .inner-hero h1 {
        font-size: clamp(36px, 10vw, 44px);
        line-height: 1.1;
    }

    .inner-hero > p:not(.intro-label) {
        margin-top: 22px;
        font-size: 17px;
        line-height: 1.65;
    }

    .about-basics {
        gap: 15px;
    }

    .about-basics article {
        padding: 28px 24px;
    }

    .course-catalog {
        gap: 20px;
    }

    .course-card {
        min-height: 0;
        border-radius: 18px;
    }

    .course-card-media,
    .course-card-marker {
        min-height: 220px;
    }

    .course-card-content {
        padding: 28px 24px 32px;
    }

    .course-card-marker span {
        font-size: 70px;
    }

    .course-card-content h2 {
        font-size: 31px;
    }

    .course-card-content > p:not(.course-number) {
        margin: 18px 0 24px;
        font-size: 16px;
        line-height: 1.65;
    }

    .growth-introduction {
        min-height: 520px;
    }

    .pamphlet-spread {
        height: 405px;
    }

    .growth-heading h2 {
        font-size: clamp(34px, 9vw, 40px);
        line-height: 1.12;
    }

    .week-tabs {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        overflow: hidden;
    }

    .week-tab {
        flex: none;
        min-height: 44px;
        padding: 11px 2px;
        border-bottom: 1px solid rgba(23, 37, 75, 0.11);
        font-size: 10px;
    }

    .week-tab:nth-child(5n) {
        border-right: 0;
    }

    .week-tab:nth-child(n + 6) {
        border-bottom: 0;
    }

    .growth-description {
        font-size: 18px;
        line-height: 1.65;
    }

    .skills-heading {
        width: 90%;
        margin-bottom: 36px;
    }

    .skills-heading h2 {
        font-size: clamp(31px, 8.7vw, 37px);
        line-height: 1.12;
    }

    .skills-introduction {
        margin-top: 22px;
        font-size: 17px;
        line-height: 1.65;
    }

    .skills-slider {
        border-radius: 18px;
    }

    .gravity-question-header h3,
    .problem-slide-title {
        font-size: 30px;
        line-height: 1.12;
    }

    .growth-mindset-slide {
        padding-right: 20px;
        padding-left: 20px;
    }

    .growth-mindset-header h3 {
        font-size: 26px;
        line-height: 1.14;
    }

    .enrollment-section {
        padding: 66px 4%;
    }

    .enrollment-content {
        padding: 38px 20px;
        border-width: 2px;
        border-radius: 18px;
        box-shadow: 6px 7px 0 #17254b;
    }

    .enrollment-content h2 {
        font-size: clamp(50px, 14vw, 62px);
    }

    .enrollment-intro {
        margin-top: 22px;
        font-size: 17px;
    }
}


/* =========================
REDUCED MOTION
========================= */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .flip-card-inner,
    .skills-slider-window {
        scroll-behavior: auto;
        transition: none;
    }

    .lab-clarity::after {
        animation: none;
    }

    .lab-snow-bank {
        animation: none;
    }
}

/* Keep the 3D course on the Mario page's layout and shapes. */

.modeling-page .brand-primary img {
    filter: brightness(0) contrast(1.5);
}

.modeling-page .menu {
    position: static;
    background: rgba(226, 229, 230, 0.96);
    border-bottom: 1px solid rgba(17, 19, 21, 0.12);
    box-shadow: 0 8px 28px rgba(17, 19, 21, 0.04);
}

.modeling-page .menu::after {
    content: none;
}

.modeling-page .home {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.modeling-page .links {
    gap: 30px;
}

.modeling-page .link,
.modeling-page .links .link:last-child {
    padding: 0;
    color: #555c60;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.modeling-page .link:hover,
.modeling-page .link.active,
.modeling-page .links .link:last-child:hover {
    color: #111315;
    background: transparent;
    border: 0;
}

.modeling-page .intro-button {
    color: #171a1c;
    background: linear-gradient(145deg, #fff, #c7ccce);
    border: 3px solid #303538;
    border-radius: 8px;
    box-shadow: 6px 6px 0 #303538;
}

.modeling-page .intro-button:hover {
    color: #171a1c;
    background: linear-gradient(145deg, #fff, #c7ccce);
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0 #303538;
}

.modeling-page .intro-button-secondary {
    color: #171a1c;
    background: #fff;
}

.modeling-page .intro-image {
    position: static;
    padding: 0;
    background: #b8bec1;
    border: 4px solid #b8bec1;
    border-radius: 20px;
    box-shadow: 14px 14px 0 #50565a;
    transform: none;
}

.modeling-page .intro-image::before,
.modeling-page .intro-image::after {
    content: none;
}

@media (max-width: 760px) {
    .modeling-page .home,
    .modeling-page .link {
        padding: 0;
    }
}

/* Electric-blue accents for the 3D course */

.modeling-page .intro {
    background:
        radial-gradient(circle at 82% 20%, rgba(50, 73, 126, 0.28), transparent 30%),
        linear-gradient(135deg, #101214 0%, #24282b 55%, #111315 100%);
}

.modeling-page .intro-label {
    color: #d8deeb;
    border-color: rgba(91, 111, 157, 0.78);
}

.modeling-page .link:hover,
.modeling-page .link.active {
    color: #243d73;
}

.modeling-page .intro-button {
    color: #fff;
    background: #213a70;
    border-color: #17254b;
    box-shadow: 6px 6px 0 #17254b;
}

.modeling-page .intro-button:hover {
    color: #fff;
    background: #294781;
    box-shadow: 8px 8px 0 #17254b;
}

.modeling-page .intro-button-secondary,
.modeling-page .intro-button-secondary:hover {
    color: #17254b;
    background: #fff;
}

.modeling-page .section-label,
.modeling-page .week-roadmap-label,
.modeling-page .step-number {
    color: #29477f;
}

.modeling-page .week-tab:hover {
    color: #203765;
    background: #d9dee8;
}

.modeling-page .week-tab.active {
    color: #fff;
    background: #213a70;
}

.modeling-page .week-details {
    background: linear-gradient(120deg, #253d70, #101827);
}

.modeling-page .week-details-number {
    color: #b7c2da;
}

.modeling-page .enrollment-button {
    background: #213a70;
    border-color: #111b33;
    box-shadow: 6px 6px 0 #111b33;
}

/* Midnight-blue course navigation */

.modeling-page .menu {
    background: linear-gradient(110deg, #eef1f3 0%, #cbd3dc 42%, #9eafc5 72%, #cbd2db 100%);
    border-bottom-color: #75869e;
    box-shadow: 0 8px 28px rgba(25, 43, 76, 0.14);
}

.modeling-page .brand-name {
    color: #111315;
}

.modeling-page .brand-divider {
    background: rgba(25, 43, 76, 0.34);
}

.modeling-page .creative-lab-home {
    color: #1b2f59;
}

.modeling-page .link,
.modeling-page .links .link:last-child {
    color: #273c65;
}

.modeling-page .link:hover,
.modeling-page .link.active,
.modeling-page .links .link:last-child:hover {
    color: #101c35;
}

@media (max-width: 760px) {
    .modeling-page .menu {
        background: linear-gradient(122deg, #eef1f3 0%, #cbd3dc 52%, #9eafc5 100%);
    }
}

/* Dark menu with a blue-lit edge */

.modeling-page .menu {
    background:
        radial-gradient(circle at 78% 120%, rgba(53, 76, 121, 0.12), transparent 48%),
        linear-gradient(110deg, #15181d, #19202a 58%, #12171f 100%);
    border-bottom: 0;
    box-shadow: none;
}

.modeling-page .intro {
    background:
        radial-gradient(circle at 82% 20%, rgba(50, 73, 126, 0.12), transparent 30%),
        linear-gradient(135deg, #15181d 0%, #1b2028 55%, #11151b 100%);
}

.modeling-page .intro h1 span {
    color: transparent;
    background: linear-gradient(
        110deg,
        #7388aa 0%,
        #dfe5ee 34%,
        #9cacca 58%,
        #eef2f6 76%,
        #7187ab 100%
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-stroke: 0;
}

.modeling-page .brand-primary {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.modeling-page .brand-primary img {
    filter: grayscale(1) brightness(0) invert(1) opacity(0.9);
}

.modeling-page .brand-name {
    color: #e1e5eb;
}

.modeling-page .brand-divider {
    background: rgba(160, 181, 224, 0.55);
}

.modeling-page .creative-lab-home {
    color: #d9dee7;
}

.modeling-page .link,
.modeling-page .links .link:last-child {
    color: #aeb6c4;
}

.modeling-page .link:hover,
.modeling-page .link.active,
.modeling-page .links .link:last-child:hover {
    color: #fff;
}

/* Arduino course — the 3D page structure with a circuit-inspired palette */

.arduino-page {
    color: #132d34;
    background: #dce9e9;
}

.arduino-page .intro {
    background:
        radial-gradient(circle at 82% 20%, rgba(0, 174, 181, 0.16), transparent 31%),
        linear-gradient(135deg, #111a1d 0%, #16272b 55%, #0d1518 100%);
}

.arduino-page .intro-label {
    color: #c9eeee;
    border-color: rgba(63, 185, 188, 0.7);
}

.arduino-page .intro h1 span {
    color: transparent;
    background: linear-gradient(
        110deg,
        #55bfc1 0%,
        #ddffff 35%,
        #7dd4d5 58%,
        #efffff 76%,
        #3fa7aa 100%
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-stroke: 0;
}

.arduino-page .intro-description {
    color: #c6d7d9;
}

.arduino-page .intro-button {
    color: #fff;
    background: #087f85;
    border-color: #064f55;
    box-shadow: 6px 6px 0 #064f55;
}

.arduino-page .intro-button:hover {
    color: #fff;
    background: #0a9399;
    box-shadow: 8px 8px 0 #064f55;
}

.arduino-page .intro-button-secondary,
.arduino-page .intro-button-secondary:hover {
    color: #123b40;
    background: #f3ffff;
}

.arduino-page .intro-image {
    background: #7eaaaa;
    border-color: #9bc4c5;
    box-shadow: 14px 14px 0 #17494e;
}

.arduino-page .intro-image video {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    filter: saturate(0.9) contrast(1.04);
}

.arduino-page .course-growth {
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.68), transparent 40%),
        #dce9e9;
    border-top-color: #729b9d;
}

.arduino-page .pamphlet-spread video {
    opacity: 0.72;
    filter: saturate(0.82) contrast(1.02);
}

.arduino-page .pamphlet-spread::after {
    background: linear-gradient(
        to bottom,
        rgba(220, 233, 233, 0) 0%,
        rgba(220, 233, 233, 0.1) 34%,
        rgba(220, 233, 233, 0.58) 64%,
        #dce9e9 88%
    );
}

.arduino-page .section-label,
.arduino-page .week-roadmap-label,
.arduino-page .step-number {
    color: #087a80;
}

.arduino-page .growth-heading h2,
.arduino-page .growth-step h3 {
    color: #132d34;
}

.arduino-page .growth-heading h2 span {
    color: #32767a;
}

.arduino-page .growth-description p {
    color: #35545b;
}

.arduino-page .growth-step {
    border-top-color: #78a0a2;
}

.arduino-page .week-tabs {
    background: rgba(247, 255, 255, 0.82);
    border-color: #78a1a3;
    box-shadow: 0 12px 30px rgba(21, 76, 80, 0.1);
}

.arduino-page .week-tab {
    color: #45686d;
    border-color: #a3bfc0;
}

.arduino-page .week-tab:hover {
    color: #075f64;
    background: #d1e7e7;
}

.arduino-page .week-tab.active {
    color: #fff;
    background: #087f85;
}

.arduino-page .week-details {
    background: linear-gradient(120deg, #116b70, #10282d);
    border-color: #4e9396;
}

.arduino-page .week-details-number {
    color: #a9e4e5;
}

.arduino-page .enrollment-section {
    background:
        radial-gradient(circle at 12% 18%, rgba(41, 164, 168, 0.2), transparent 30%),
        linear-gradient(140deg, #16383d, #09181b 72%);
    border-top-color: #5d9295;
}

.arduino-page .enrollment-signup {
    background: linear-gradient(145deg, #f4ffff, #c6dddd);
    border-color: #e5f4f4;
    box-shadow: 20px 20px 0 rgba(17, 91, 96, 0.22);
}

.arduino-page .enrollment-form input {
    background: #f8ffff;
    border-color: #80a9ab;
}

.arduino-page .enrollment-button {
    background: #087f85;
    border-color: #064f55;
    box-shadow: 6px 6px 0 #064f55;
}

.arduino-page .week-details-concepts {
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    color: #d9f4f4;
    border-top: 1px solid rgba(169, 228, 229, 0.28);
}

.arduino-page .week-details-concepts strong {
    color: #a9e4e5;
}

.arduino-final-project,
.arduino-take-home,
.arduino-practice {
    padding: clamp(4.5rem, 8vw, 8rem) clamp(1.5rem, 7vw, 7rem);
}

.arduino-final-project {
    color: #efffff;
    background:
        radial-gradient(circle at 82% 22%, rgba(56, 183, 187, 0.18), transparent 30%),
        linear-gradient(140deg, #173b40, #0c2024 72%);
    border-top: 1px solid #5d9295;
}

.arduino-final-heading,
.arduino-take-home-heading,
.arduino-practice-heading {
    max-width: 1050px;
    margin: 0 auto clamp(2.4rem, 5vw, 4.5rem);
}

.arduino-final-heading h2,
.arduino-take-home-heading h2,
.arduino-practice-heading h2 {
    max-width: 900px;
    margin-top: 0.8rem;
    font-family: "Bungee", sans-serif;
    font-size: clamp(2.35rem, 5vw, 5.4rem);
    line-height: 1.02;
    letter-spacing: 0.01em;
}

.arduino-final-heading h2 span,
.arduino-take-home-heading h2 span,
.arduino-practice-heading h2 span {
    color: #57bfc2;
}

.arduino-final-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    max-width: 1180px;
    margin: 0 auto;
}

.arduino-final-copy,
.arduino-take-home-copy {
    display: grid;
    gap: 1.25rem;
}

.arduino-final-copy p,
.arduino-take-home-copy p {
    font-size: clamp(1.06rem, 1.5vw, 1.3rem);
    line-height: 1.7;
}

.arduino-final-copy p {
    color: #d2e5e6;
}

.arduino-final-visual {
    overflow: hidden;
    border: 2px solid #76b6b8;
    border-radius: 28px;
    background: #0b171a;
    box-shadow: 14px 14px 0 rgba(4, 18, 21, 0.55);
}

.arduino-final-visual video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.arduino-take-home {
    color: #17363c;
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.72), transparent 45%),
        #d8e9e9;
}

.arduino-take-home-heading,
.arduino-take-home-copy {
    max-width: 1050px;
    margin-right: auto;
    margin-left: auto;
}

.arduino-take-home-copy {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.arduino-take-home-copy p {
    padding-top: 1.25rem;
    color: #35545b;
    border-top: 3px solid #70a4a6;
}

.arduino-practice {
    color: #17363c;
    background: #eff7f7;
    border-top: 1px solid #aac6c7;
}

.arduino-practice-heading,
.arduino-practice-grid {
    max-width: 1180px;
    margin-right: auto;
    margin-left: auto;
}

.arduino-practice-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1.25rem;
}

.arduino-practice-grid article {
    grid-column: span 2;
    min-height: 235px;
    padding: clamp(1.4rem, 2.5vw, 2rem);
    border: 1px solid #9abbbc;
    border-top: 5px solid #087f85;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 12px 28px rgba(24, 78, 82, 0.08);
}

.arduino-practice-grid article:nth-child(4) {
    grid-column: 2 / span 2;
}

.arduino-practice-grid article > span {
    color: #3c9296;
    font-family: "Bungee", sans-serif;
    font-size: 0.95rem;
}

.arduino-practice-grid h3 {
    margin: 1rem 0 0.75rem;
    color: #132d34;
    font-family: "Bungee", sans-serif;
    font-size: clamp(1.2rem, 2vw, 1.65rem);
    line-height: 1.15;
}

.arduino-practice-grid p {
    color: #456268;
    font-size: 1.03rem;
    line-height: 1.58;
}

@media (max-width: 900px) {
    .arduino-final-grid {
        grid-template-columns: 1fr;
    }

    .arduino-final-visual {
        max-width: 720px;
    }

    .arduino-take-home-copy {
        grid-template-columns: 1fr;
    }

    .arduino-practice-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .arduino-practice-grid article,
    .arduino-practice-grid article:nth-child(4) {
        grid-column: auto;
    }

    .arduino-practice-grid article:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 580px) {
    .arduino-final-project,
    .arduino-take-home,
    .arduino-practice {
        padding: 4rem 1.1rem;
    }

    .arduino-final-heading h2,
    .arduino-take-home-heading h2,
    .arduino-practice-heading h2 {
        font-size: clamp(2rem, 11vw, 3.1rem);
    }

    .arduino-practice-grid {
        grid-template-columns: 1fr;
    }

    .arduino-practice-grid article:last-child {
        grid-column: auto;
    }
}

/* Shared course-outcome slides: keeps 3D Modeling and Arduino on the Mario page flow. */

.course-story-slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 700px;
    min-height: 700px;
    max-height: 700px;
    text-align: center;
}

.course-story-header {
    width: min(920px, 100%);
    margin: 0 auto clamp(2rem, 4vw, 3.25rem);
}

.course-story-header h3 {
    max-width: 900px;
    margin: 0 auto;
    font-size: clamp(2.3rem, 4.8vw, 4.4rem);
    line-height: 1.04;
}

.course-story-split {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
    width: min(1030px, 100%);
    margin: 0 auto;
    text-align: left;
}

.course-story-copy {
    display: grid;
    gap: 1rem;
}

.course-story-copy p,
.course-story-columns p,
.course-skill-grid p {
    color: #52617e;
    font-size: 1.05rem;
    line-height: 1.58;
}

.course-story-split video,
.course-story-split img {
    display: block;
    width: 100%;
    max-height: 345px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border: 2px solid #8395be;
    border-radius: 20px;
    box-shadow: 8px 9px 0 rgba(23, 37, 75, 0.2);
}

.course-story-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
    width: min(1040px, 100%);
    margin: 0 auto;
    text-align: left;
}

.course-story-columns p {
    padding: 1.4rem;
    background: rgba(235, 248, 255, 0.72);
    border-top: 4px solid #2b55d6;
    border-radius: 0 0 14px 14px;
}

.course-skill-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
    width: min(1050px, 100%);
    margin: 0 auto;
    text-align: left;
}

.course-skill-grid > div {
    grid-column: span 2;
    padding: 1.25rem;
    background: rgba(235, 248, 255, 0.72);
    border: 1px solid rgba(43, 85, 214, 0.18);
    border-radius: 15px;
}

.course-skill-grid > div:nth-child(4) {
    grid-column: 2 / span 2;
}

.course-skill-grid strong {
    display: block;
    margin-bottom: 0.55rem;
    color: #17254b;
    font-family: "Bungee", sans-serif;
    font-size: 1.05rem;
    line-height: 1.2;
}

.arduino-page .course-skills-section {
    background: linear-gradient(145deg, #e4f2f2, #cfe4e4);
}

.arduino-page .course-skills-section .skills-heading h2,
.arduino-page .course-story-slide h3,
.arduino-page .course-skill-grid strong {
    color: #132d34;
}

.arduino-page .course-skills-section .skills-heading h2 span,
.arduino-page .course-story-slide .skill-slide-number,
.arduino-page .course-story-slide .skill-slide-label {
    color: #087f85;
}

.arduino-page .course-skills-section .skills-slider {
    background: rgba(242, 253, 253, 0.76);
    border-color: rgba(18, 77, 81, 0.25);
}

.arduino-page .course-story-slide {
    background: linear-gradient(145deg, #fbffff, #e9f4f4);
    border-color: #173b40;
    box-shadow: 9px 11px 0 #173b40;
}

.arduino-page .course-story-copy p,
.arduino-page .course-story-columns p,
.arduino-page .course-skill-grid p {
    color: #466368;
}

.arduino-page .course-story-columns p,
.arduino-page .course-skill-grid > div {
    background: rgba(224, 242, 242, 0.74);
    border-color: rgba(8, 127, 133, 0.2);
}

.arduino-page .course-story-columns p {
    border-top-color: #087f85;
}

.arduino-page .course-story-split video {
    border-color: #65a7aa;
    box-shadow: 8px 9px 0 rgba(19, 59, 64, 0.24);
}

.arduino-page .course-skills-section .slider-arrow {
    background: #087f85;
    border-color: #173b40;
    box-shadow: 4px 4px 0 #173b40;
}

@media (max-width: 760px) {
    .course-story-slide {
        justify-content: flex-start;
        height: 920px;
        min-height: 920px;
        max-height: 920px;
        padding: 34px 22px;
    }

    .course-story-header {
        margin-bottom: 1.8rem;
    }

    .course-story-header h3 {
        font-size: clamp(2rem, 8.8vw, 3rem);
        line-height: 1.08;
    }

    .course-story-split,
    .course-story-columns {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .course-story-split video,
    .course-story-split img {
        max-height: 270px;
        order: -1;
    }

    .course-story-columns p {
        padding: 1rem 1.1rem;
    }

    .course-skill-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .course-skill-grid > div,
    .course-skill-grid > div:nth-child(4) {
        grid-column: auto;
        padding: 1rem;
    }

    .course-skill-grid > div:last-child {
        grid-column: 1 / -1;
    }

    .course-skill-grid strong {
        font-size: 0.9rem;
    }

    .course-skill-grid p {
        font-size: 0.9rem;
        line-height: 1.42;
    }
}

@media (max-width: 480px) {
    .course-story-slide {
        height: 980px;
        min-height: 980px;
        max-height: 980px;
    }

    .course-story-copy p,
    .course-story-columns p {
        font-size: 0.95rem;
        line-height: 1.48;
    }
}

/* Keep every course signup as clear and readable as the Mario signup. */
.modeling-page .enrollment-section,
.arduino-page .enrollment-section {
    color: #17254b;
    background: #fff3d8;
    border-top: 0;
}

.modeling-page .enrollment-content,
.arduino-page .enrollment-content {
    background: #f7fcff;
    border: 3px solid #17254b;
    border-radius: 28px;
    box-shadow: 8px 9px 0 #17254b;
}

.modeling-page .enrollment-heading .section-label,
.arduino-page .enrollment-heading .section-label {
    color: #5870a8;
}

.modeling-page .enrollment-heading h2,
.arduino-page .enrollment-heading h2 {
    color: #17254b;
    font-family: "Bungee", sans-serif;
    font-weight: 400;
    letter-spacing: -2px;
}

.modeling-page .enrollment-intro,
.arduino-page .enrollment-intro,
.modeling-page .enrollment-detail-copy small,
.arduino-page .enrollment-detail-copy small,
.modeling-page .enrollment-benefits li,
.arduino-page .enrollment-benefits li,
.modeling-page .enrollment-form-intro,
.arduino-page .enrollment-form-intro,
.modeling-page .enrollment-availability,
.arduino-page .enrollment-availability,
.modeling-page .enrollment-question,
.arduino-page .enrollment-question {
    color: #5870a8;
}

.modeling-page .enrollment-detail-number,
.arduino-page .enrollment-detail-number,
.modeling-page .enrollment-benefits li::before,
.arduino-page .enrollment-benefits li::before,
.modeling-page .enrollment-question a,
.arduino-page .enrollment-question a {
    color: #2b55d6;
}

.modeling-page .enrollment-detail-copy strong,
.arduino-page .enrollment-detail-copy strong,
.modeling-page .enrollment-form h3,
.arduino-page .enrollment-form h3,
.modeling-page .enrollment-form label,
.arduino-page .enrollment-form label {
    color: #17254b;
}

.modeling-page .enrollment-signup,
.arduino-page .enrollment-signup {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.modeling-page .enrollment-form,
.arduino-page .enrollment-form {
    color: #17254b;
    background: #fff;
    border: 1px solid rgba(23, 37, 75, 0.24);
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(23, 37, 75, 0.1);
}

.modeling-page .enrollment-form input,
.arduino-page .enrollment-form input {
    color: #17254b;
    background: #f8fcff;
    border-color: rgba(23, 37, 75, 0.3);
}

.modeling-page .enrollment-form input:focus,
.arduino-page .enrollment-form input:focus {
    border-color: #2b55d6;
    box-shadow: 0 0 0 3px rgba(43, 85, 214, 0.12);
}

.modeling-page .enrollment-button,
.arduino-page .enrollment-button {
    color: #fff;
    background: #234dcc;
    border: 3px solid #17254b;
    border-radius: 8px;
    box-shadow: 6px 6px 0 #17254b;
}

.modeling-page .enrollment-button:hover,
.arduino-page .enrollment-button:hover {
    box-shadow: 8px 8px 0 #17254b;
}

/* =========================
BRIGHTSITE — PARENT HOMEPAGE
========================= */

.brightsite-page {
    color: #17254b;
    background: #f8fcff;
}

.brightsite-page .menu {
    position: relative;
    z-index: 20;
    background: rgba(250, 253, 255, 0.92);
    border-bottom-color: rgba(23, 37, 75, 0.12);
}

.brightsite-page .brightsite-nav-lab {
    padding: 9px 15px;
    color: #fff;
    background: #234dcc;
    border-radius: 999px;
}

.brightsite-page .brightsite-nav-lab:hover {
    color: #fff;
    background: #17254b;
}

.brightsite-main {
    overflow: hidden;
}

.brightsite-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
    gap: clamp(44px, 6vw, 88px);
    align-items: center;
    min-height: 710px;
    padding: clamp(74px, 9vw, 122px) 7%;
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 220, 136, 0.45), transparent 29%),
        radial-gradient(circle at 91% 82%, rgba(147, 220, 246, 0.46), transparent 31%),
        #f7fcff;
}

.brightsite-hero::after {
    content: "";
    position: absolute;
    right: -85px;
    bottom: -120px;
    width: 270px;
    height: 270px;
    background: #f8c452;
    border-radius: 50%;
    opacity: 0.22;
}

.brightsite-hero-copy {
    position: relative;
    z-index: 2;
}

.brightsite-hero-copy h1 {
    max-width: 760px;
    margin: 0;
    color: #17254b;
    font-family: "Bungee", sans-serif;
    font-size: clamp(54px, 7vw, 104px);
    line-height: 0.96;
    letter-spacing: -2px;
}

.brightsite-hero-copy h1 span {
    color: #234dcc;
}

.brightsite-hero-copy > p:not(.intro-label) {
    max-width: 660px;
    margin: 29px 0 34px;
    color: #52617e;
    font-size: clamp(18px, 1.5vw, 21px);
    line-height: 1.65;
}

.brightsite-hero-photo {
    position: relative;
    z-index: 2;
    margin: 0;
    padding: 10px;
    background: #fff;
    border: 3px solid #17254b;
    border-radius: 28px;
    box-shadow: 16px 18px 0 #17254b;
    transform: rotate(1.2deg);
}

.brightsite-hero-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 18px;
}

.brightsite-hero-photo figcaption {
    position: absolute;
    right: 24px;
    bottom: 24px;
    padding: 10px 15px;
    color: #fff;
    background: rgba(23, 37, 75, 0.9);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.brightsite-purpose {
    padding: clamp(82px, 10vw, 140px) 7%;
    color: #fff;
    background:
        radial-gradient(circle at 86% 14%, rgba(255, 207, 103, 0.16), transparent 30%),
        #17254b;
    text-align: center;
}

.brightsite-purpose .section-label {
    color: #a9def4;
}

.brightsite-purpose h2 {
    max-width: 1000px;
    margin: 0 auto;
    font-family: "Bungee", sans-serif;
    font-size: clamp(42px, 6vw, 78px);
    line-height: 1.05;
}

.brightsite-purpose h2 span {
    color: #f7c85f;
}

.brightsite-purpose > p:last-child {
    max-width: 740px;
    margin: 30px auto 0;
    color: #d6e4f2;
    font-size: clamp(18px, 1.7vw, 22px);
    line-height: 1.68;
}

.brightsite-programs {
    padding: clamp(82px, 9vw, 126px) 7%;
    background: #fff8e8;
}

.brightsite-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.65fr);
    gap: clamp(34px, 7vw, 96px);
    align-items: end;
    width: min(1180px, 100%);
    margin: 0 auto 52px;
}

.brightsite-section-heading h2 {
    margin: 0;
    color: #17254b;
    font-family: "Bungee", sans-serif;
    font-size: clamp(40px, 5vw, 68px);
    line-height: 1.05;
}

.brightsite-section-heading > p {
    margin: 0 0 4px;
    color: #52617e;
    font-size: 18px;
    line-height: 1.65;
}

.brightsite-program-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
    width: min(1180px, 100%);
    margin: 0 auto;
}

.brightsite-program-card {
    display: grid;
    grid-template-columns: minmax(190px, 0.82fr) minmax(0, 1.18fr);
    min-height: 330px;
    overflow: hidden;
    background: #fff;
    border: 2px solid #17254b;
    border-radius: 24px;
    box-shadow: 7px 8px 0 rgba(23, 37, 75, 0.16);
}

.brightsite-program-card-featured {
    grid-column: 1 / -1;
    grid-template-columns: minmax(390px, 1.1fr) minmax(0, 0.9fr);
    min-height: 450px;
    border-color: #234dcc;
    box-shadow: 9px 10px 0 #234dcc;
}

.brightsite-program-image {
    position: relative;
    min-height: 100%;
    overflow: hidden;
    background: #dceefa;
}

.brightsite-program-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brightsite-program-image span {
    position: absolute;
    top: 18px;
    left: 18px;
    padding: 8px 12px;
    color: #fff;
    background: #234dcc;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.brightsite-program-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(28px, 4vw, 54px);
}

.brightsite-program-number {
    margin: 0 0 12px;
    color: #f0a825;
    font-family: "Bungee", sans-serif;
    font-size: 15px;
    letter-spacing: 2px;
}

.brightsite-program-copy h3 {
    margin: 0;
    color: #17254b;
    font-family: "Bungee", sans-serif;
    font-size: clamp(28px, 3vw, 46px);
    line-height: 1.08;
}

.brightsite-program-copy > p:not(.brightsite-program-number) {
    margin: 19px 0 0;
    color: #52617e;
    font-size: 17px;
    line-height: 1.62;
}

.brightsite-program-copy > a,
.brightsite-place-copy > a {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    margin-top: 28px;
    color: #234dcc;
    font-weight: 600;
    text-decoration: none;
}

.brightsite-program-copy > a:hover,
.brightsite-place-copy > a:hover {
    color: #17254b;
}

.brightsite-lab-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
    gap: clamp(45px, 7vw, 100px);
    align-items: center;
    padding: clamp(88px, 10vw, 140px) 7%;
    background: #e8f6fc;
}

.brightsite-lab-photo {
    overflow: hidden;
    padding: 8px;
    background: #fff;
    border: 3px solid #17254b;
    border-radius: 26px;
    box-shadow: 14px 15px 0 #17254b;
    transform: rotate(-1deg);
}

.brightsite-lab-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 17px;
}

.brightsite-lab-copy h2,
.brightsite-place-copy h2 {
    margin: 0;
    color: #17254b;
    font-family: "Bungee", sans-serif;
    font-size: clamp(38px, 4.5vw, 62px);
    line-height: 1.07;
}

.brightsite-lab-copy > p:not(.section-label),
.brightsite-place-copy > p:not(.section-label) {
    margin: 25px 0 30px;
    color: #52617e;
    font-size: 18px;
    line-height: 1.68;
}

.brightsite-place {
    display: grid;
    grid-template-columns: minmax(360px, 0.78fr) minmax(0, 1.22fr);
    gap: clamp(45px, 7vw, 100px);
    align-items: center;
    padding: clamp(88px, 10vw, 140px) 7%;
    background: #fff;
}

.brightsite-place > img {
    display: block;
    width: 100%;
    max-height: 650px;
    object-fit: cover;
    border: 3px solid #17254b;
    border-radius: 28px;
    box-shadow: 12px 13px 0 #f2bd43;
}

.brightsite-place address {
    display: grid;
    gap: 3px;
    margin-top: 26px;
    color: #52617e;
    font-size: 17px;
    font-style: normal;
    line-height: 1.45;
}

.brightsite-place address strong {
    color: #17254b;
    font-size: 20px;
}

@media (max-width: 960px) {
    .brightsite-hero,
    .brightsite-lab-feature,
    .brightsite-place {
        grid-template-columns: 1fr;
    }

    .brightsite-hero-photo {
        width: min(720px, calc(100% - 18px));
        margin: 0 auto;
    }

    .brightsite-section-heading {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .brightsite-program-card,
    .brightsite-program-card-featured {
        grid-template-columns: 1fr;
    }

    .brightsite-program-image {
        min-height: 300px;
    }

    .brightsite-lab-photo {
        order: 2;
    }
}

@media (max-width: 700px) {
    .brightsite-page .links {
        gap: 12px;
    }

    .brightsite-page .brightsite-nav-lab {
        padding: 7px 11px;
    }

    .brightsite-hero {
        min-height: auto;
        gap: 48px;
        padding: 58px 6% 82px;
    }

    .brightsite-hero-copy h1 {
        font-size: clamp(46px, 13vw, 68px);
        line-height: 1;
    }

    .brightsite-hero-photo {
        padding: 6px;
        border-radius: 21px;
        box-shadow: 9px 10px 0 #17254b;
    }

    .brightsite-hero-photo img {
        border-radius: 13px;
    }

    .brightsite-hero-photo figcaption {
        right: 14px;
        bottom: 14px;
        font-size: 10px;
    }

    .brightsite-purpose,
    .brightsite-programs,
    .brightsite-lab-feature,
    .brightsite-place {
        padding-right: 6%;
        padding-left: 6%;
    }

    .brightsite-program-grid {
        grid-template-columns: 1fr;
    }

    .brightsite-program-card-featured {
        grid-column: auto;
        min-height: 0;
        box-shadow: 6px 7px 0 #234dcc;
    }

    .brightsite-program-card {
        min-height: 0;
        border-radius: 19px;
    }

    .brightsite-program-image {
        min-height: 240px;
        aspect-ratio: 4 / 3;
    }

    .brightsite-program-copy {
        padding: 28px 24px 32px;
    }

    .brightsite-program-copy h3 {
        font-size: 31px;
    }

    .brightsite-lab-photo,
    .brightsite-place > img {
        border-radius: 20px;
        box-shadow: 8px 9px 0 #17254b;
    }

    .brightsite-place > img {
        min-height: 360px;
        box-shadow: 8px 9px 0 #f2bd43;
    }
}

/* BrightSite is the parent organization: centered identity and a grander entrance. */
.brightsite-page .brightsite-menu {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 28px;
    min-height: 112px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.brightsite-menu-left {
    justify-self: start;
}

.brightsite-menu-right {
    display: flex;
    justify-self: end;
}

.brightsite-centered-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #234dcc;
    font-family: "Bungee", sans-serif;
    font-size: 11px;
    letter-spacing: 2px;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
}

.brightsite-centered-brand img {
    display: block;
    width: 58px;
    height: 62px;
    object-fit: contain;
}

.brightsite-page .brightsite-hero {
    display: block;
    min-height: auto;
    padding-top: clamp(72px, 8vw, 112px);
    padding-bottom: clamp(100px, 11vw, 152px);
    text-align: center;
}

.brightsite-page .brightsite-hero-copy {
    width: min(1050px, 100%);
    margin: 0 auto;
}

.brightsite-hero-mark {
    display: block;
    width: clamp(88px, 8vw, 122px);
    height: auto;
    margin: 0 auto 22px;
    object-fit: contain;
}

.brightsite-page .brightsite-hero-copy h1 {
    max-width: 1080px;
    margin: 0 auto;
    font-size: clamp(58px, 8.5vw, 126px);
    line-height: 0.94;
}

.brightsite-page .brightsite-hero-copy > p:not(.intro-label) {
    max-width: 780px;
    margin-right: auto;
    margin-left: auto;
}

.brightsite-page .brightsite-hero-copy .intro-actions {
    justify-content: center;
}

.brightsite-page .brightsite-hero-photo {
    width: min(1180px, calc(100% - 26px));
    margin: clamp(62px, 7vw, 92px) auto 0;
    transform: none;
}

.brightsite-page .brightsite-hero-photo img {
    aspect-ratio: 16 / 7;
    object-position: center 45%;
}

.brightsite-page .brightsite-purpose {
    padding-top: clamp(105px, 12vw, 170px);
    padding-bottom: clamp(105px, 12vw, 170px);
}

.brightsite-page .brightsite-purpose h2 {
    font-size: clamp(48px, 7vw, 92px);
}

.brightsite-page .brightsite-programs {
    padding-top: clamp(105px, 11vw, 160px);
    padding-bottom: clamp(105px, 11vw, 160px);
}

.brightsite-page .brightsite-section-heading {
    width: min(1240px, 100%);
    margin-bottom: 68px;
}

.brightsite-page .brightsite-program-grid {
    width: min(1240px, 100%);
    gap: 32px;
}

.brightsite-page .brightsite-program-card {
    box-shadow: 10px 11px 0 rgba(23, 37, 75, 0.16);
}

.brightsite-page .brightsite-program-card-featured {
    min-height: 500px;
    box-shadow: 12px 13px 0 #234dcc;
}

.brightsite-page .brightsite-lab-feature,
.brightsite-page .brightsite-place {
    padding-top: clamp(110px, 12vw, 175px);
    padding-bottom: clamp(110px, 12vw, 175px);
}

@media (max-width: 700px) {
    .brightsite-page .brightsite-menu {
        grid-template-areas:
            "brand brand"
            "left right";
        grid-template-columns: 1fr auto;
        gap: 13px 18px;
        min-height: 0;
        padding: 12px 5% 14px;
    }

    .brightsite-menu-left {
        grid-area: left;
        gap: 18px;
    }

    .brightsite-centered-brand {
        grid-area: brand;
    }

    .brightsite-menu-right {
        grid-area: right;
    }

    .brightsite-centered-brand img {
        width: 50px;
        height: 54px;
    }

    .brightsite-page .brightsite-hero {
        padding-top: 52px;
        padding-bottom: 84px;
    }

    .brightsite-hero-mark {
        width: 82px;
        margin-bottom: 17px;
    }

    .brightsite-page .brightsite-hero-copy h1 {
        font-size: clamp(45px, 13.5vw, 66px);
        line-height: 0.98;
    }

    .brightsite-page .brightsite-hero-photo {
        margin-top: 48px;
    }

    .brightsite-page .brightsite-hero-photo img {
        aspect-ratio: 4 / 3;
    }

    .brightsite-page .brightsite-purpose h2 {
        font-size: clamp(38px, 10.5vw, 52px);
    }

    .brightsite-page .brightsite-program-card,
    .brightsite-page .brightsite-program-card-featured {
        box-shadow: 6px 7px 0 rgba(23, 37, 75, 0.18);
    }

    .brightsite-page .brightsite-program-card-featured {
        box-shadow: 7px 8px 0 #234dcc;
    }
}

/* BrightSite navigation: a bold parent-brand bar with a centered drop badge. */
.brightsite-page .brightsite-menu {
    position: relative;
    isolation: isolate;
    min-height: 104px;
    padding-top: 0;
    padding-bottom: 0;
    color: #fff;
    background:
        radial-gradient(circle at 18% 0%, rgba(255, 205, 82, 0.2), transparent 28%),
        radial-gradient(circle at 82% 120%, rgba(77, 148, 255, 0.32), transparent 34%),
        linear-gradient(110deg, #101f48 0%, #244fca 50%, #12234f 100%);
    border-bottom: 4px solid #f2bd43;
    box-shadow: 0 12px 34px rgba(16, 31, 72, 0.24);
    backdrop-filter: none;
}

.brightsite-page .brightsite-menu::before,
.brightsite-page .brightsite-menu::after {
    content: "";
    position: absolute;
    top: 21px;
    width: 86px;
    height: 2px;
    z-index: -1;
    background: linear-gradient(90deg, transparent, rgba(255, 224, 139, 0.72));
}

.brightsite-page .brightsite-menu::before {
    left: 30%;
}

.brightsite-page .brightsite-menu::after {
    right: 30%;
    transform: scaleX(-1);
}

.brightsite-page .brightsite-menu .link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.brightsite-page .brightsite-menu .link:hover {
    color: #ffd36b;
}

.brightsite-page .brightsite-centered-brand {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 5;
    width: 172px;
    min-height: 146px;
    padding: 15px 18px 24px;
    color: #fff;
    background:
        radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.17), transparent 38%),
        linear-gradient(155deg, #2b5ce0, #142d6b 76%);
    border: 3px solid #f5c451;
    border-top: 0;
    border-radius: 0 0 90px 90px;
    box-shadow: 0 13px 0 rgba(23, 37, 75, 0.18), 0 20px 36px rgba(11, 27, 68, 0.3);
    transform: translateX(-50%);
}

.brightsite-page .brightsite-centered-brand::after {
    content: "";
    position: absolute;
    right: 22px;
    bottom: 13px;
    left: 22px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #f7cd6d, transparent);
}

.brightsite-page .brightsite-centered-brand img {
    width: 70px;
    height: 75px;
    filter: drop-shadow(0 3px 7px rgba(4, 15, 49, 0.28));
}

.brightsite-page .brightsite-centered-brand span {
    color: #fff;
    font-size: 12px;
    letter-spacing: 2.5px;
    text-shadow: 0 2px 6px rgba(3, 15, 48, 0.35);
}

.brightsite-page .brightsite-nav-lab {
    color: #17254b;
    background: linear-gradient(145deg, #ffe08a, #f2b82f);
    border: 2px solid #fff0ba;
    box-shadow: 4px 5px 0 rgba(6, 19, 56, 0.46);
}

.brightsite-page .brightsite-nav-lab:hover {
    color: #17254b;
    background: #fff0ba;
}

.brightsite-page .brightsite-hero {
    padding-top: clamp(112px, 11vw, 158px);
}

@media (max-width: 700px) {
    .brightsite-page .brightsite-menu {
        grid-template-areas: "left right";
        grid-template-columns: 1fr auto;
        align-items: center;
        min-height: 146px;
        padding: 88px 5% 15px;
    }

    .brightsite-page .brightsite-menu::before,
    .brightsite-page .brightsite-menu::after {
        display: none;
    }

    .brightsite-page .brightsite-centered-brand {
        top: 0;
        width: 142px;
        min-height: 111px;
        padding: 8px 14px 17px;
        border-radius: 0 0 74px 74px;
    }

    .brightsite-page .brightsite-centered-brand img {
        width: 51px;
        height: 55px;
    }

    .brightsite-page .brightsite-centered-brand span {
        font-size: 9px;
        letter-spacing: 2px;
    }

    .brightsite-page .brightsite-menu .link {
        font-size: 12px;
    }

    .brightsite-page .brightsite-nav-lab {
        padding: 7px 10px;
    }

    .brightsite-page .brightsite-hero {
        padding-top: 76px;
    }
}

/* BrightSite polish: photo-led opening and a tighter, integrated brand crest. */
.brightsite-page .brightsite-menu {
    grid-template-columns: 1fr 1fr;
    min-height: 94px;
}

.brightsite-page .brightsite-menu-right {
    grid-column: 2;
}

.brightsite-page .brightsite-centered-brand {
    width: 158px;
    min-height: 120px;
    padding: 10px 15px 13px;
    border-radius: 0 0 80px 80px;
    box-shadow: 0 8px 0 rgba(23, 37, 75, 0.14), 0 14px 25px rgba(11, 27, 68, 0.25);
}

.brightsite-page .brightsite-centered-brand::after {
    right: 29px;
    bottom: 9px;
    left: 29px;
}

.brightsite-page .brightsite-centered-brand img {
    width: 58px;
    height: 62px;
}

.brightsite-page .brightsite-brand-arc {
    display: block;
    width: 128px;
    height: 32px;
    margin: -1px auto 0;
    overflow: visible;
}

.brightsite-page .brightsite-brand-arc path {
    fill: none;
}

.brightsite-page .brightsite-brand-arc text {
    fill: #fff7dc;
    font-family: "Bungee", sans-serif;
    font-size: 13px;
    letter-spacing: 1.8px;
    text-shadow: 0 2px 5px rgba(3, 15, 48, 0.4);
}

.brightsite-page .brightsite-hero {
    display: flex;
    align-items: center;
    min-height: clamp(680px, 78vh, 820px);
    padding: clamp(112px, 13vw, 170px) 7% clamp(90px, 10vw, 130px);
    text-align: left;
    background:
        linear-gradient(90deg, rgba(11, 26, 64, 0.94) 0%, rgba(16, 40, 91, 0.88) 39%, rgba(19, 51, 112, 0.53) 67%, rgba(15, 35, 77, 0.2) 100%),
        linear-gradient(0deg, rgba(5, 17, 45, 0.35), transparent 45%),
        url("images/brightsite place img.jpg") center 62% / cover no-repeat;
    border-bottom: 8px solid #f2bd43;
}

.brightsite-page .brightsite-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 20%, rgba(58, 142, 255, 0.25), transparent 32%),
        linear-gradient(135deg, rgba(255, 205, 82, 0.12), transparent 42%);
}

.brightsite-page .brightsite-hero::after {
    right: clamp(28px, 6vw, 90px);
    bottom: -31px;
    z-index: 2;
    width: 62px;
    height: 62px;
    background: #f2bd43;
    border: 8px solid #fff;
    opacity: 1;
    box-shadow: 0 8px 0 #234dcc;
}

.brightsite-page .brightsite-hero-copy {
    width: min(820px, 68%);
    margin: 0;
    padding: clamp(26px, 4vw, 48px) 0;
}

.brightsite-page .brightsite-hero-copy .intro-label {
    display: inline-flex;
    margin-bottom: 24px;
    padding: 9px 14px;
    color: #17254b;
    background: #f2bd43;
    border-radius: 999px;
    box-shadow: 4px 5px 0 rgba(5, 17, 45, 0.55);
}

.brightsite-page .brightsite-hero-copy h1 {
    max-width: 900px;
    margin: 0;
    color: #fff;
    font-family: "Fredoka", sans-serif;
    font-size: clamp(60px, 7.4vw, 108px);
    font-weight: 600;
    line-height: 0.94;
    letter-spacing: -3.5px;
    text-shadow: 0 4px 18px rgba(3, 14, 39, 0.34);
}

.brightsite-page .brightsite-hero-copy h1 span {
    color: #f4c95d;
}

.brightsite-page .brightsite-hero-copy > p:not(.intro-label) {
    max-width: 675px;
    margin: 29px 0 34px;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(18px, 1.45vw, 22px);
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(3, 14, 39, 0.55);
}

.brightsite-page .brightsite-hero-copy .intro-actions {
    justify-content: flex-start;
}

.brightsite-page .brightsite-hero .intro-button {
    color: #17254b;
    background: #f4c95d;
    border-color: #f4c95d;
    box-shadow: 0 10px 24px rgba(4, 17, 46, 0.24);
}

.brightsite-page .brightsite-hero .intro-button:hover {
    background: #ffd871;
}

.brightsite-page .brightsite-hero .intro-button-secondary {
    color: #fff;
    background: rgba(17, 39, 84, 0.56);
    border-color: rgba(255, 255, 255, 0.72);
    box-shadow: 0 10px 24px rgba(4, 17, 46, 0.22);
    backdrop-filter: blur(8px);
}

.brightsite-page .brightsite-hero .intro-button-secondary:hover {
    color: #17254b;
    background: #fff;
}

@media (max-width: 700px) {
    .brightsite-page .brightsite-menu {
        min-height: 126px;
        padding: 75px 5% 13px;
    }

    .brightsite-page .brightsite-centered-brand {
        width: 130px;
        min-height: 96px;
        padding: 6px 10px 9px;
        border-radius: 0 0 66px 66px;
    }

    .brightsite-page .brightsite-centered-brand img {
        width: 45px;
        height: 48px;
    }

    .brightsite-page .brightsite-brand-arc {
        width: 108px;
        height: 27px;
        margin-top: -2px;
    }

    .brightsite-page .brightsite-brand-arc text {
        font-size: 12px;
        letter-spacing: 1.3px;
    }

    .brightsite-page .brightsite-hero {
        align-items: flex-end;
        min-height: 720px;
        padding: 105px 6% 75px;
        background:
            linear-gradient(0deg, rgba(8, 24, 60, 0.96) 0%, rgba(13, 39, 88, 0.78) 55%, rgba(13, 39, 88, 0.24) 100%),
            url("images/brightsite place img.jpg") 68% center / cover no-repeat;
    }

    .brightsite-page .brightsite-hero-copy {
        width: 100%;
        padding: 0;
    }

    .brightsite-page .brightsite-hero-copy .intro-label {
        margin-bottom: 18px;
        font-size: 11px;
    }

    .brightsite-page .brightsite-hero-copy h1 {
        font-size: clamp(44px, 13vw, 64px);
        letter-spacing: -2px;
    }

    .brightsite-page .brightsite-hero-copy > p:not(.intro-label) {
        margin: 22px 0 28px;
        font-size: 16px;
        line-height: 1.55;
    }

    .brightsite-page .brightsite-hero::after {
        right: 24px;
        bottom: -23px;
        width: 46px;
        height: 46px;
        border-width: 6px;
        box-shadow: 0 6px 0 #234dcc;
    }
}

/* Airier BrightSite navigation palette. */
.brightsite-page .brightsite-menu {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 20;
    color: #17254b;
    background:
        radial-gradient(circle at 16% -10%, rgba(255, 220, 125, 0.18), transparent 31%),
        linear-gradient(110deg, rgba(224, 244, 255, 0.94), rgba(195, 228, 250, 0.92) 50%, rgba(225, 246, 255, 0.9));
    border-bottom: 1px solid rgba(255, 255, 255, 0.68);
    box-shadow: 0 10px 26px rgba(11, 31, 69, 0.09);
    backdrop-filter: blur(12px) saturate(1.12);
}

.brightsite-page .brightsite-menu::after {
    top: auto;
    right: 0;
    bottom: -18px;
    left: 0;
    width: auto;
    height: 18px;
    background: linear-gradient(to bottom, rgba(197, 229, 249, 0.26), transparent);
    transform: none;
}

.brightsite-page .brightsite-menu::before,
.brightsite-page .brightsite-menu::after {
    height: 3px;
    background: linear-gradient(90deg, transparent, #f0b638 52%, #78c9e8);
    border-radius: 999px;
}

.brightsite-page .brightsite-menu .link {
    color: #253b64;
}

.brightsite-page .brightsite-menu .link:hover {
    color: #d77b27;
}

.brightsite-page .brightsite-centered-brand {
    color: #17254b;
    background:
        radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.8) 40%, transparent 65%),
        linear-gradient(155deg, rgba(244, 251, 255, 0.98), rgba(215, 240, 255, 0.95) 80%);
    border-color: rgba(79, 157, 211, 0.58);
    box-shadow: 0 7px 0 rgba(72, 151, 208, 0.11), 0 13px 24px rgba(38, 98, 143, 0.14);
}

.brightsite-page .brightsite-centered-brand::after {
    background: linear-gradient(90deg, transparent, #d99e1d, transparent);
}

.brightsite-page .brightsite-brand-arc text {
    fill: #203867;
    text-shadow: none;
}

.brightsite-page .brightsite-nav-lab {
    color: #20345c;
    background: linear-gradient(145deg, #ffd66f, #f4b83e);
    border-color: #f0b538;
    box-shadow: 0 6px 15px rgba(190, 126, 16, 0.18);
}

.brightsite-page .brightsite-nav-lab:hover {
    color: #20345c;
    background: #ffe496;
}

/* Final header blend: one calm blue surface with a softly attached crest. */
.brightsite-page .brightsite-menu {
    --brightsite-center-half: 66px;
    --brightsite-menu-gloss: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.42) 18%, rgba(255, 255, 255, 0.12) 46%, rgba(82, 154, 196, 0.12) 76%, transparent 100%);
    --brightsite-menu-wash: linear-gradient(#cceafb, #cceafb);
    --brightsite-menu-line: #f8fdff;
    --brightsite-tab-start: 88px;
    position: relative;
    min-height: 88px;
    padding-block: 0;
    background: var(--brightsite-menu-gloss), var(--brightsite-menu-wash);
    background-size: 100% var(--brightsite-tab-start), 100% 100%;
    background-repeat: no-repeat;
    border-bottom: 1px solid #a9cfe5;
    box-shadow: inset 0 2px 0 var(--brightsite-menu-line), 0 3px 8px rgba(42, 91, 121, 0.09);
    backdrop-filter: none;
}

.brightsite-page .brightsite-menu::before,
.brightsite-page .brightsite-menu::after {
    display: none;
}

.brightsite-page .brightsite-main {
    padding-top: 4px;
    background: linear-gradient(#cceafb, #f4fbff 850px);
}

.brightsite-page .brightsite-menu .link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #193b57;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-underline-offset: 6px;
}

.brightsite-page .brightsite-menu .link:hover {
    color: #173a5c;
    text-decoration: underline;
}

.brightsite-page .brightsite-centered-brand {
    grid-area: auto;
    width: 132px;
    height: 120px;
    min-height: 0;
    padding: 0;
    background-color: #cceafb;
    background-image: var(--brightsite-menu-gloss);
    background-size: 100% var(--brightsite-tab-start);
    background-repeat: no-repeat;
    border-radius: 0 0 66px 66px;
    border: 0;
    box-shadow: inset 0 2px 0 var(--brightsite-menu-line);
}

.brightsite-page .brightsite-centered-brand img {
    position: absolute;
    top: 4px;
    left: 50%;
    width: 78px;
    height: 84px;
    transform: translateX(-50%);
    filter: saturate(1.3) contrast(1.08) drop-shadow(0 -1px 0 rgba(255, 255, 255, 0.95)) drop-shadow(0 1px 0 rgba(136, 102, 25, 0.55)) drop-shadow(0 3px 2px rgba(30, 72, 115, 0.25));
}

/* A reflected highlight follows the mark itself, never the blue badge. */
.brightsite-page .brightsite-centered-brand::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 50%;
    width: 78px;
    height: 84px;
    transform: translateX(-50%);
    z-index: 1;
    background: linear-gradient(135deg, transparent 18%, rgba(255, 255, 255, 0.85) 30%, rgba(255, 255, 255, 0.15) 39%, transparent 48%, rgba(255, 255, 255, 0.65) 65%, transparent 77%);
    -webkit-mask: url("images/brightsite-mark-menu.png") center / contain no-repeat;
    mask: url("images/brightsite-mark-menu.png") center / contain no-repeat;
    pointer-events: none;
}

.brightsite-page .brightsite-brand-arc {
    position: absolute;
    inset: auto auto -3px 50%;
    width: 126px;
    height: 35px;
    margin: 0;
    transform: translateX(-50%);
    filter: drop-shadow(0 -1px 0 rgba(255, 255, 255, 0.9)) drop-shadow(0 1px 1px rgba(30, 72, 115, 0.22));
}

.brightsite-page .brightsite-brand-arc text {
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.brightsite-page .brightsite-centered-brand::after {
    content: "";
    display: block;
    position: absolute;
    inset: 0;
    z-index: -1;
    width: auto;
    height: auto;
    background: transparent;
    border: 2px solid var(--brightsite-menu-line);
    border-top: 0;
    border-radius: inherit;
    clip-path: inset(var(--brightsite-tab-start) 0 0);
    pointer-events: none;
}

.brightsite-page .brightsite-menu .brightsite-nav-lab {
    justify-content: center;
    color: #204f73;
    background: linear-gradient(180deg, #fff, #edf7fd);
    border: 1px solid #b4d1e4;
    border-radius: 8px;
    padding: 0 18px;
    box-shadow: 0 2px 4px rgba(35, 76, 106, 0.04);
}

.brightsite-page .brightsite-menu .brightsite-nav-lab:hover {
    color: #173a5c;
    background: #cfe5f3;
    border-color: #82afcb;
    text-decoration: none;
}

/* A bright first impression that keeps the real BrightSite room visible. */
.brightsite-page .brightsite-hero {
    margin: 0 clamp(10px, 1.6vw, 24px) 20px;
    min-height: clamp(610px, 75vh, 760px);
    padding: 96px 6% 70px;
    border: 3px solid rgba(255, 255, 255, 0.96);
    border-radius: 28px;
    outline: 1px solid #b9dff1;
    box-shadow: 0 12px 30px rgba(74, 125, 151, 0.13);
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(29, 73, 126, 0.68) 0%, rgba(39, 91, 147, 0.48) 42%, rgba(102, 173, 213, 0.16) 72%, rgba(220, 243, 252, 0.08) 100%),
        linear-gradient(0deg, rgba(16, 51, 91, 0.14), rgba(205, 238, 250, 0.08) 62%, rgba(222, 245, 252, 0.18)),
        url("images/brightsite place img.jpg") center 62% / cover no-repeat;
}

.brightsite-page .brightsite-hero::before {
    background: linear-gradient(to bottom, rgba(226, 245, 255, 0.65), rgba(226, 245, 255, 0.12) 70px, transparent 140px);
    border-radius: inherit;
}

.brightsite-page .brightsite-hero::after {
    display: none;
}

.brightsite-page .brightsite-hero-copy {
    padding: 0;
}

@media (max-width: 700px) {
    .brightsite-page .brightsite-menu {
        --brightsite-center-half: 61px;
        --brightsite-tab-start: 96px;
        min-height: 96px;
        padding: 4px 4%;
        gap: 0;
    }

    .brightsite-page .brightsite-menu-left {
        width: fit-content;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .brightsite-page .brightsite-centered-brand {
        width: 122px;
        height: 122px;
        border-radius: 0 0 61px 61px;
    }

    .brightsite-page .brightsite-centered-brand img,
    .brightsite-page .brightsite-centered-brand::before {
        top: 7px;
        width: 70px;
        height: 75px;
    }

    .brightsite-page .brightsite-brand-arc {
        width: 114px;
        height: 32px;
    }

    .brightsite-page .brightsite-menu .link {
        font-size: 12px;
    }

    .brightsite-page .brightsite-menu .brightsite-nav-lab {
        padding: 0;
        font-size: 12px;
    }

    .brightsite-page .brightsite-hero {
        min-height: 640px;
        padding: 70px 6% 52px;
        border-radius: 20px;
        background:
            linear-gradient(0deg, rgba(22, 61, 105, 0.76) 0%, rgba(38, 91, 144, 0.47) 58%, rgba(202, 237, 250, 0.1) 100%),
            url("images/brightsite place img.jpg") 68% center / cover no-repeat;
    }

    .brightsite-page .brightsite-hero-copy {
        width: 100%;
        padding-bottom: 0;
    }
}

@media (max-width: 380px) {
    .brightsite-page .brightsite-menu {
        --brightsite-center-half: 58px;
    }
    .brightsite-page .brightsite-menu .brightsite-nav-lab {
        max-width: 76px;
        text-align: center;
        line-height: 1.2;
    }

    .brightsite-page .brightsite-centered-brand {
        width: 116px;
        height: 122px;
    }

    .brightsite-page .brightsite-centered-brand img {
        width: 70px;
        height: 75px;
    }
}
