/* =========================================



   BASIC RESET



========================================= */







* {



    margin: 0;



    padding: 0;



    box-sizing: border-box;



}







html {



    scroll-behavior: smooth;



}







body {



    font-family: Arial, Helvetica, sans-serif;



    color: #0d2147;



    background: white;



}







img {



    max-width: 100%;



}











/* =========================================



   HEADER



========================================= */







.site-header {



    min-height: 105px;







    display: flex;



    align-items: center;



    justify-content: space-between;







    padding: 20px 5%;







    background: white;



}











/* LOGO */







.logo {



    display: flex;



    align-items: center;



    gap: 12px;







    color: #0d2147;



    text-decoration: none;







    font-size: 34px;



    font-weight: 900;



}







.logo-lab {



    padding: 10px 12px;







    background: #ffc62f;







    border-radius: 7px;



}











/* NAVIGATION */







.main-nav {



    display: flex;



    align-items: center;



    gap: clamp(20px, 2.6vw, 48px);



}







.main-nav a {



    color: #0d2147;







    text-decoration: none;







    font-size: 17px;



    font-weight: 700;







    transition:



        color 0.2s ease,



        transform 0.2s ease;



}







.main-nav a:hover {



    color: #e89a00;



}











/* =========================================



   HERO



========================================= */







.hero {



    position: relative;







    min-height: 650px;







    display: flex;



    align-items: center;







    padding: 40px 4%;







    background: #fff9ed;







    overflow: hidden;



}











/* HERO TEXT */







.hero-text {



    position: relative;



    z-index: 3;







    width: 49%;



}







.hero-text h1 {



    color: #0d2147;







    font-family: "Arial Narrow", Arial, sans-serif;







    font-size: clamp(60px, 4.8vw, 90px);



    font-weight: 900;







    line-height: 0.93;



    letter-spacing: -3px;



}







.hero-text h1 span {



    display: inline-block;







    padding: 0 8px;







    white-space: nowrap;







    background:



        linear-gradient(



            transparent 67%,



            #ffc62f 67%



        );



}







.hero-text p {



    margin-top: 30px;







    color: #0d2147;







    font-size: 23px;



}











/* HERO BUTTON */







.hero-button {



    display: inline-block;







    margin-top: 34px;



    padding: 18px 34px;







    background: #ffc62f;







    border: 3px solid #0d2147;



    border-radius: 50px;







    color: #0d2147;







    font-size: 18px;



    font-weight: 900;







    text-decoration: none;







    transition:



        transform 0.2s ease,



        box-shadow 0.2s ease;



}







.hero-button:hover {



    transform: translateY(-3px);







    box-shadow: 0 5px 0 #0d2147;



}











/* HERO IMAGE */







.hero-image {



    position: absolute;







    z-index: 1;







    width: 70%;







    right: 0;



    top: 47%;







    transform: translateY(-50%);



}







.hero-image img {



    display: block;







    width: 100%;



    height: auto;







    object-fit: contain;



}











/* =========================================



   PHYSICS



========================================= */







.physics-section {



    padding: 100px 4% 110px;







    background: white;



}











/* SECTION HEADING */







.section-heading {



    margin-bottom: 60px;



}







.section-label {



    margin-bottom: 20px;







    color: #e89a00;







    font-size: 18px;



    font-weight: 800;







    letter-spacing: 4px;



}







.section-heading h2,



.watch-heading h2 {



    color: #0d2147;







    font-family: "Arial Narrow", Arial, sans-serif;







    font-size: clamp(48px, 5vw, 82px);



    font-weight: 900;







    line-height: 1;



    letter-spacing: -2px;



}











/* =========================================



   PHYSICS CARDS



========================================= */







.fields-grid {



    display: grid;







    grid-template-columns: repeat(4, 1fr);







    gap: 30px;







    width: 100%;



}







.field-card {



    position: relative;







    width: 100%;







    aspect-ratio: 0.70;







    overflow: hidden;







    border-radius: 24px;







    text-decoration: none;







    transition:



        transform 0.25s ease,



        box-shadow 0.25s ease;



}







.field-illustration {



    position: absolute;







    width: 100%;



    height: 100%;







    top: 0;



    left: 0;







    display: block;







    object-fit: cover;



}







.field-arrow {



    position: absolute;







    right: 28px;



    bottom: 28px;







    z-index: 2;







    width: 68px;



    height: 68px;







    display: flex;



    align-items: center;



    justify-content: center;







    background: white;







    border-radius: 50%;







    color: #0d2147;







    font-size: 34px;







    transition: transform 0.25s ease;



}







.field-card:hover {



    transform: translateY(-8px);







    box-shadow:



        0 15px 30px rgba(13, 33, 71, 0.15);



}







.field-card:hover .field-arrow {



    transform: translateX(5px);



}











/* =========================================



   BEYOND THE CLASSROOM



========================================= */







.beyond-section {



    width: 100%;







    padding: 20px 4% 90px;







    background: white;



}







.beyond-section img {



    display: block;







    width: 100%;



    height: auto;







    border-radius: 28px;



}











/* =========================================

   WATCH & LEARN

========================================= */



.watch-section {



    padding: 40px 4% 80px;



    background: #fff9ed;



}







.watch-banner {



    position: relative;



    width: 100%;



    overflow: hidden;



    border-radius: 28px;



}







.watch-banner > img {



    display: block;



    width: 100%;



    height: auto;



}











/* =========================================



   YOUTUBE CLICKABLE BUTTONS



========================================= */



/*



   REAL CLICKABLE BUTTONS







   These sit over the buttons that are drawn



   inside watch-learn.png.







   We can fine-tune their positions after seeing



   the image in your browser.



*/







.channel-link {



    position: absolute;







    bottom: 7%;







    width: 23%;



    min-height: 52px;







    display: flex;



    align-items: center;



    justify-content: center;







    border-radius: 40px;







    color: transparent;







    font-size: 0;







    text-decoration: none;







    cursor: pointer;



}







.student-channel {



    left: 13.5%;



}







.teacher-channel {



    right: 13.5%;



}











/*



   Visible focus so keyboard users can still



   identify the clickable area.



*/







.channel-link:focus-visible {



    outline: 4px solid #0d2147;



    outline-offset: 4px;



}











/* =========================================



   FOOTER



========================================= */







.site-footer {



    padding: 65px 6%;







    background: #0d2147;







    color: white;







    text-align: center;



}







.footer-brand {



    display: flex;



    align-items: center;



    justify-content: center;







    gap: 10px;







    margin-bottom: 20px;







    font-size: 30px;



    font-weight: 900;



}







.footer-brand strong {



    padding: 8px 10px;







    background: #ffc62f;







    border-radius: 6px;







    color: #0d2147;



}







.site-footer p {



    font-size: 18px;



}







.footer-small {



    margin-top: 12px;







    opacity: 0.7;







    font-size: 14px !important;



}











/* =========================================



   TABLET



========================================= */







@media (max-width: 1100px) {







    .site-header {



        padding-left: 4%;



        padding-right: 4%;



    }







    .main-nav {



        gap: 18px;



    }







    .main-nav a {



        font-size: 15px;



    }











    /* HERO */







    .hero {



        min-height: 570px;



    }







    .hero-text {



        width: 52%;



    }







    .hero-image {



        width: 65%;



        right: -6%;



    }











    /* PHYSICS */







    .fields-grid {



        grid-template-columns: repeat(2, 1fr);



    }







}











/* =========================================



   MOBILE



========================================= */







@media (max-width: 760px) {







    /* HEADER */







    .site-header {



        height: auto;







        padding: 20px 6%;







        flex-direction: column;







        gap: 20px;



    }







    .main-nav {



        flex-wrap: wrap;



        justify-content: center;







        gap: 14px 22px;



    }







    .main-nav a {



        font-size: 16px;



    }











    /* HERO */







    .hero {



        min-height: auto;







        flex-direction: column;







        padding: 60px 6%;



    }







    .hero-text {



        width: 100%;



    }







    .hero-text h1 {



        font-size: clamp(46px, 13vw, 72px);







        letter-spacing: -2px;



    }







    .hero-text p {



        font-size: 20px;



    }







    .hero-image {



        position: relative;







        width: 120%;







        right: auto;



        top: auto;







        transform: none;







        margin-top: 45px;



    }











    /* PHYSICS */







    .physics-section {



        padding: 75px 6%;



    }







    .section-heading {



        margin-bottom: 45px;



    }







    .section-heading h2,



    .watch-heading h2 {



        font-size: 48px;



    }







    .fields-grid {



        grid-template-columns: 1fr;







        gap: 30px;



    }







    .field-card {



        width: 100%;



        max-width: 480px;







        margin: 0 auto;



    }











    /* BEYOND */







    .beyond-section {



        padding: 10px 4% 65px;



    }







    .beyond-section img {



        border-radius: 18px;



    }











    /* WATCH */







    .watch-section {



        padding: 65px 4%;



    }







    .watch-banner {



        border-radius: 18px;



    }







    /*



       On a very small screen the two illustrated



       cards remain side by side inside the image.



       We keep the invisible links aligned with them.



    */







    .channel-link {



        bottom: 6%;







        min-height: 40px;



    }







}











/* =========================================



   VERY SMALL MOBILE



========================================= */







@media (max-width: 480px) {







    .hero-text h1 {



        font-size: 43px;



    }







    .hero-button {



        padding: 15px 24px;







        font-size: 15px;



    }







    .section-heading h2,



    .watch-heading h2 {



        font-size: 40px;



    }







}



/* =========================================



   PROJECTS PAGE



========================================= */











/* =========================================



   PROJECTS HERO



========================================= */







.projects-hero {



    position: relative;







    min-height: 500px;







    display: grid;



    grid-template-columns: 48% 52%;



    align-items: center;







    padding: 70px 5%;







    background: #fff9ed;







    overflow: hidden;



}











/* LEFT SIDE */







.projects-hero-text {



    position: relative;



    z-index: 2;



}







.projects-hero h1 {



    display: inline-block;







    color: #0d2147;







    font-family: "Arial Narrow", Arial, sans-serif;



    font-size: clamp(70px, 8vw, 125px);



    font-weight: 900;







    line-height: 0.9;



    letter-spacing: -4px;







    background:



        linear-gradient(



            transparent 76%,



            #ffc62f 76%



        );



}







.projects-hero h2 {



    margin-top: 25px;







    color: #0d2147;







    font-size: clamp(26px, 2.3vw, 38px);



    font-weight: 800;



}







.projects-hero-text > p {



    max-width: 620px;







    margin-top: 12px;







    color: #23395d;







    font-size: 19px;



    line-height: 1.5;



}







.projects-intro-strong {



    margin-top: 35px !important;







    color: #0d2147 !important;







    font-weight: 800;



}











/* =========================================



   HERO DESIGN / BUILD / TEST / REFLECT



========================================= */







.projects-hero-art {



    position: relative;







    min-height: 350px;







    display: flex;



    align-items: center;



    justify-content: center;



}







.hero-doodle {



    width: 310px;







    display: flex;



    flex-direction: column;







    gap: 18px;







    padding: 38px 42px;







    background: white;







    border: 2px solid rgba(13, 33, 71, 0.12);



    border-radius: 12px;







    box-shadow:



        12px 14px 0 rgba(255, 198, 47, 0.35);







    transform: rotate(-3deg);



}







.hero-doodle span {



    color: #0d2147;







    font-size: 28px;



    font-weight: 900;



}







.hero-doodle span::before {



    content: "✓";







    margin-right: 14px;







    color: #e89a00;



}











/* =========================================



   PROJECTS GALLERY



========================================= */







.projects-gallery {



    padding: 95px 5% 110px;







    background: white;



}











/* TOP HEADING */







.projects-heading {



    display: grid;







    grid-template-columns: 1fr 1fr;







    gap: 80px;







    align-items: end;







    margin-bottom: 55px;



}







.projects-heading h2 {



    color: #0d2147;







    font-family: "Arial Narrow", Arial, sans-serif;







    font-size: clamp(52px, 5vw, 82px);



    font-weight: 900;







    line-height: 0.95;



    letter-spacing: -2px;



}







.projects-heading-copy {



    max-width: 580px;







    padding-left: 30px;







    border-left: 4px solid #ffc62f;



}







.projects-heading-copy strong {



    display: block;







    margin-bottom: 10px;







    color: #0d2147;







    font-size: 21px;



}







.projects-heading-copy p {



    color: #23395d;







    font-size: 17px;



    line-height: 1.55;



}











/* =========================================



   PROJECT GRID



========================================= */







.projects-grid {

    display: grid;

    width: 100%;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 30px;

}











/* =========================================



   PROJECT CARD



========================================= */







.project-card {



    width: 100%;

    min-width: 0;



    display: flex;



    flex-direction: column;







    overflow: hidden;







    background: #fffaf0;







    border: 1px solid rgba(13, 33, 71, 0.10);



    border-radius: 22px;







    transition:



        transform 0.25s ease,



        box-shadow 0.25s ease;



}







.project-card:hover {



    transform: translateY(-7px);







    box-shadow:



        0 18px 35px rgba(13, 33, 71, 0.13);



}











/* =========================================



   PROJECT PHOTO



========================================= */







.project-photo {



    width: 100%;







    aspect-ratio: 16 / 10;







    overflow: hidden;







    background: #f1eee7;



}







.project-photo img {



    display: block;







    width: 100%;



    height: 100%;







    object-fit: cover;







    transition: transform 0.4s ease;



}







.project-card:hover .project-photo img {



    transform: scale(1.04);



}











/* =========================================



   PROJECT CONTENT



========================================= */







.project-content {



    flex: 1;







    display: flex;



    flex-direction: column;







    padding: 25px;



}







.project-content h3 {



    color: #0d2147;







    font-size: 27px;



    font-weight: 900;







    line-height: 1.1;



}







.project-content > p {



    margin-top: 13px;







    color: #23395d;







    font-size: 16px;



    line-height: 1.5;



}











/* =========================================



   PROJECT TAGS



========================================= */







.project-tags {



    display: flex;



    flex-wrap: wrap;







    gap: 8px;







    margin-top: 20px;



    margin-bottom: 23px;



}







.project-tags span {



    padding: 7px 12px;







    background: #e7f3ff;







    border-radius: 30px;







    color: #0d2147;







    font-size: 13px;



    font-weight: 800;



}







.project-tags span:nth-child(2) {



    background: #fff0a8;



}







.project-tags span:nth-child(3) {



    background: #eadfff;



}











/* =========================================



   VIEW PROJECT BUTTON



========================================= */







.project-button {



    align-self: flex-start;







    margin-top: auto;







    padding: 14px 22px;







    background: #ffc62f;







    border: 2px solid #ffc62f;



    border-radius: 30px;







    color: #0d2147;







    font-size: 14px;



    font-weight: 900;







    text-decoration: none;







    transition:



        transform 0.2s ease,



        background 0.2s ease,



        border-color 0.2s ease;



}







.project-button:hover {



    transform: translateY(-2px);







    background: white;







    border-color: #0d2147;



}











/* =========================================



   PROJECTS CLOSING



========================================= */







.projects-closing {



    padding: 90px 6%;







    background: #eaf6ff;







    text-align: center;



}







.projects-closing h2 {



    color: #0d2147;







    font-family: "Arial Narrow", Arial, sans-serif;







    font-size: clamp(44px, 4.5vw, 72px);



    font-weight: 900;







    line-height: 1;



}







.projects-closing h2 span {



    display: inline-block;







    margin-top: 7px;







    background:



        linear-gradient(



            transparent 70%,



            #ffc62f 70%



        );



}







.projects-closing p {



    max-width: 520px;







    margin: 30px auto 0;







    color: #0d2147;







    font-size: 20px;



    line-height: 1.5;



}











/* =========================================



   FOOTER



========================================= */







.site-footer {



    padding: 55px 6%;







    background: #0d2147;







    color: white;







    text-align: center;



}







.footer-brand {



    display: flex;



    justify-content: center;



    align-items: center;







    gap: 8px;







    margin-bottom: 15px;







    font-size: 28px;



    font-weight: 900;



}







.footer-brand strong {



    padding: 6px 9px;







    background: #ffc62f;







    border-radius: 5px;







    color: #0d2147;



}







.site-footer p {



    margin-top: 8px;



}







.footer-small {



    opacity: 0.7;







    font-size: 14px;



}











/* =========================================



   TABLET



========================================= */







@media (max-width: 1000px) {







    .projects-hero {



        grid-template-columns: 1fr 0.75fr;



    }







    .hero-doodle {



        width: 240px;







        padding: 30px;



    }







    .hero-doodle span {



        font-size: 23px;



    }







    .projects-grid {



        grid-template-columns: repeat(2, 1fr);



    }







    .projects-heading {



        gap: 40px;



    }







}











/* =========================================



   MOBILE



========================================= */







@media (max-width: 700px) {







    .projects-hero {



        grid-template-columns: 1fr;







        padding: 60px 6%;



    }







    .projects-hero h1 {



        font-size: 70px;







        letter-spacing: -2px;



    }







    .projects-hero h2 {



        font-size: 27px;



    }







    .projects-hero-art {



        min-height: 280px;







        margin-top: 25px;



    }







    .hero-doodle {



        width: 230px;



    }











    /* PROJECT HEADING */







    .projects-heading {



        grid-template-columns: 1fr;







        gap: 25px;



    }







    .projects-heading-copy {



        padding-left: 20px;



    }











    /* CARDS */







    .projects-grid {



        grid-template-columns: 1fr;



    }







    .projects-gallery {



        padding: 70px 6%;



    }











    /* CLOSING */







    .projects-closing {



        padding: 70px 6%;



    }







}

/* =========================================================

   PROJECT DETAIL PAGE

   Scrapbook / STEM Lab style

========================================================= */



/* =========================================================

   PROJECT DETAIL PAGE — COLORFUL STEM SCRAPBOOK

========================================================= */



#project-page {

    --navy: #0b2b63;

    --yellow: #ffc928;

    --orange: #f2a400;

    --blue: #bfeaff;

    --pink: #ffd7e4;

    --purple: #e8dcff;

    --green: #d9f4d6;

    --cream: #fffaf0;



    background: #fffdf7;

    color: var(--navy);

    overflow: hidden;

}





/* =========================================================

   HERO

========================================================= */



.scrap-project-hero {

    position: relative;



    width: 100%;

    min-height: 650px;



    display: grid;

    grid-template-columns: 48% 52%;

    align-items: center;



    padding: 55px 5% 70px;



    background:

        radial-gradient(circle at 18% 30%, rgba(255, 201, 40, .12), transparent 20%),

        radial-gradient(circle at 78% 45%, rgba(76, 188, 255, .12), transparent 24%),

        #fffaf0;

}





/* little decorative star */



.scrap-project-hero::before {

    content: "✦";

    position: absolute;



    left: 2%;

    top: 47%;



    color: var(--yellow);

    font-size: 46px;



    transform: rotate(-15deg);

}





/* little decorative arrow */



.scrap-project-hero::after {

    content: "↗";

    position: absolute;



    right: 3%;

    top: 10%;



    color: #0876cf;

    font-size: 58px;

    font-weight: 900;



    transform: rotate(-8deg);

}





/* HERO TEXT */



.scrap-hero-text {

    position: relative;

    z-index: 3;

}





.back-projects {

    display: inline-block;



    margin-bottom: 28px;



    color: #0876cf;



    font-size: 14px;

    font-weight: 900;

    letter-spacing: 2px;



    text-decoration: none;



    transition: transform .2s ease;

}





.back-projects:hover {

    transform: translateX(-5px);

}





.scrap-hero-text h1 {

    max-width: 760px;



    color: var(--navy);



    font-family: "Arial Narrow", Arial, sans-serif;



    font-size: clamp(55px, 5.8vw, 96px);

    font-weight: 900;



    line-height: .92;

    letter-spacing: -4px;

}





/* yellow marker line */



.hero-underline {

    width: 78%;

    max-width: 600px;

    height: 13px;



    margin-top: 10px;



    background: var(--yellow);



    border-radius: 60% 30% 55% 35%;



    transform: rotate(-1deg);

}





.scrap-subtitle {

    max-width: 650px;



    margin-top: 27px;



    color: #183a6a;



    font-size: 20px;

    line-height: 1.45;

}





/* TAGS */



.project-detail-tags {

    display: flex;

    flex-wrap: wrap;



    gap: 11px;



    margin-top: 24px;

}





.project-detail-tags span {

    padding: 10px 18px;



    border-radius: 8px;



    color: var(--navy);



    font-size: 13px;

    font-weight: 900;



    box-shadow: 0 3px 0 rgba(11, 43, 99, .08);

}





.project-detail-tags span:nth-child(4n + 1) {

    background: #bfe8ff;

}



.project-detail-tags span:nth-child(4n + 2) {

    background: #ffe37a;

}



.project-detail-tags span:nth-child(4n + 3) {

    background: #dfd1ff;

}



.project-detail-tags span:nth-child(4n + 4) {

    background: #c9f2c7;

}





/* =========================================================

   HERO ILLUSTRATION

========================================================= */



.scrap-hero-art {

    position: relative;

    z-index: 2;



    min-width: 0;



    display: flex;

    align-items: center;

    justify-content: center;

}





.rubik-hero-image {

    display: block;



    width: 118%;

    max-width: 820px;

    height: auto;



    transform: rotate(1deg);



    filter: drop-shadow(0 16px 18px rgba(11, 43, 99, .08));



    transition: transform .35s ease;

}





.rubik-hero-image:hover {

    transform: rotate(1deg) scale(1.025);

}





/* =========================================================

   STORY + HOW DID IT WORK

========================================================= */



.scrap-story-section {

    position: relative;



    max-width: 1650px;



    margin: 0 auto;



    padding: 95px 5% 90px;



    display: grid;

    grid-template-columns: .9fr 1.1fr;



    gap: 75px;



    background: #fffdf7;

}





.section-label {

    margin-bottom: 13px;



    color: var(--orange);



    font-size: 16px;

    font-weight: 900;



    letter-spacing: 4px;

}





.scrap-story h2,

.challenge-area > h2,

.project-detail-heading h2 {

    color: var(--navy);



    font-family: "Arial Narrow", Arial, sans-serif;



    font-size: clamp(38px, 4vw, 62px);

    font-weight: 900;



    line-height: .98;

    letter-spacing: -2px;

}





.scrap-story h2 {

    margin-bottom: 26px;

}





.story-intro {

    margin-bottom: 20px;



    color: #183a6a;



    font-size: 20px;

    font-weight: 700;



    line-height: 1.5;

}





.story-details {

    display: flex;

    flex-direction: column;



    gap: 17px;

}





.story-details p {

    color: #24466f;



    font-size: 17px;

    line-height: 1.65;

}





/* =========================================================

   CHALLENGE CARDS

========================================================= */



.challenge-area > h2 {

    display: inline-block;



    margin-bottom: 0;

}





.challenge-underline {

    width: 72%;

    height: 8px;



    margin-top: 7px;



    background: var(--yellow);



    border-radius: 100%;



    transform: rotate(-1deg);

}





.challenge-grid {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));



    gap: 18px;



    margin-top: 32px;

}





.challenge-card {

    position: relative;



    min-height: 205px;



    padding: 25px;



    border: 2px solid rgba(11, 43, 99, .08);

    border-radius: 22px;



    box-shadow: 5px 7px 0 rgba(11, 43, 99, .07);



    transition:

        transform .25s ease,

        box-shadow .25s ease;

}





.challenge-card:hover {

    transform: translateY(-7px) rotate(0deg) !important;



    box-shadow: 7px 12px 0 rgba(11, 43, 99, .09);

}





.challenge-card:nth-child(1) {

    background: #fff3bd;

    transform: rotate(-1deg);

}





.challenge-card:nth-child(2) {

    background: #d9f2ff;

    transform: rotate(1deg);

}





.challenge-card:nth-child(3) {

    background: #e9ddff;

    transform: rotate(1deg);

}





.challenge-card:nth-child(4) {

    background: #d9f3d4;

    transform: rotate(-1deg);

}





.challenge-icon {

    margin-bottom: 10px;



    font-size: 35px;

}





.challenge-card h3 {

    margin-bottom: 10px;



    color: var(--navy);



    font-size: 17px;

    font-weight: 900;

}





.challenge-card p {

    color: #183a6a;



    font-size: 15px;

    line-height: 1.45;

}





/* =========================================================

   QUOTE

========================================================= */



.scrap-highlight {

    position: relative;



    width: min(1250px, 90%);



    margin: 30px auto 100px;



    padding: 50px 7%;



    text-align: center;

}





.scrap-highlight::before {

    content: "";



    position: absolute;

    z-index: 0;



    left: 5%;

    right: 5%;



    top: 23%;

    bottom: 15%;



    background: #fff0a8;



    border-radius: 42% 58% 47% 53% / 35% 45% 55% 65%;



    transform: rotate(-1deg);

}





.highlight-icon {

    position: relative;

    z-index: 2;



    display: block;



    margin-bottom: 10px;



    font-size: 54px;

}





.scrap-highlight p {

    position: relative;

    z-index: 2;



    max-width: 1050px;



    margin: 0 auto;



    color: var(--navy);



    font-size: clamp(30px, 3.5vw, 53px);

    font-weight: 900;

    font-style: italic;



    line-height: 1.15;

}





.quote-underline {

    position: relative;

    z-index: 2;



    width: 55%;

    height: 8px;



    margin: 17px auto 0;



    background: var(--yellow);



    border-radius: 50%;



    transform: rotate(1deg);

}





/* =========================================================

   PROJECT IN ACTION

========================================================= */



.scrap-gallery-section {

    padding: 90px max(5%, calc((100vw - 1500px) / 2));



    background: #fffaf0;

}





.project-detail-heading {

    margin-bottom: 45px;

}





.scrap-photo-grid {

    display: grid;



    grid-template-columns: repeat(4, minmax(0, 1fr));



    gap: 22px;



    align-items: center;

}





.project-scrap-photo {

    position: relative;



    padding: 9px;



    background: white;



    border: 7px solid var(--yellow);



    box-shadow: 6px 9px 0 rgba(11, 43, 99, .10);



    transition: transform .25s ease;

}





.project-scrap-photo::before {

    content: "";



    position: absolute;

    z-index: 3;



    width: 60px;

    height: 18px;



    left: 50%;

    top: -14px;



    transform: translateX(-50%) rotate(-3deg);



    background: rgba(255, 211, 77, .78);

}





.project-scrap-photo:nth-child(1) {

    border-color: #ffd43b;

    transform: rotate(-3deg);

}





.project-scrap-photo:nth-child(2) {

    border-color: #91ddf8;

    transform: rotate(2deg);

}





.project-scrap-photo:nth-child(3) {

    border-color: #ffb7d1;

    transform: rotate(-2deg);

}





.project-scrap-photo:nth-child(4) {

    border-color: #9be3ac;

    transform: rotate(3deg);

}





.project-scrap-photo:nth-child(2)::before {

    background: rgba(123, 211, 242, .72);

}





.project-scrap-photo:nth-child(3)::before {

    background: rgba(255, 178, 206, .72);

}





.project-scrap-photo:nth-child(4)::before {

    background: rgba(255, 215, 76, .75);

}





.project-scrap-photo:hover {

    transform: translateY(-8px) rotate(0deg);

}





.project-scrap-photo img {

    display: block;



    width: 100%;

    height: 260px;



    object-fit: cover;

}





/* =========================================================

   WATCH IT IN ACTION

========================================================= */



.scrap-video-section {

    position: relative;



    padding: 95px max(5%, calc((100vw - 1500px) / 2)) 110px;



    background: #fffdf7;

}





.scrap-video-section::after {

    content: "☆";



    position: absolute;



    right: 3%;

    top: 70px;



    color: #0876cf;



    font-size: 52px;



    transform: rotate(15deg);

}





.scrap-video-grid {

    display: grid;



    grid-template-columns: repeat(4, minmax(0, 1fr));



    gap: 24px;

}





.scrap-video {

    position: relative;



    padding: 9px 9px 20px;



    border: 2px solid rgba(11, 43, 99, .08);

    border-radius: 7px;



    box-shadow: 5px 8px 0 rgba(11, 43, 99, .08);



    transition: transform .25s ease;

}





.scrap-video:nth-child(1) {

    background: #fff0a8;

    transform: rotate(-1deg);

}





.scrap-video:nth-child(2) {

    background: #d7f2ff;

    transform: rotate(1deg);

}





.scrap-video:nth-child(3) {

    background: #ffdce7;

    transform: rotate(-1deg);

}





.scrap-video:nth-child(4) {

    background: #d9f4d6;

    transform: rotate(1deg);

}





.scrap-video::before {

    content: "";



    position: absolute;

    z-index: 4;



    width: 55px;

    height: 17px;



    left: 50%;

    top: -11px;



    background: rgba(255, 211, 77, .8);



    transform: translateX(-50%) rotate(-3deg);

}





.scrap-video:hover {

    transform: translateY(-7px) rotate(0deg);

}





.scrap-video-frame {

    position: relative;



    width: 100%;

    aspect-ratio: 16 / 9;



    overflow: hidden;



    background: var(--navy);

}





.scrap-video-frame iframe {

    position: absolute;



    inset: 0;



    width: 100%;

    height: 100%;



    border: 0;

}





.scrap-video h3 {

    padding: 17px 7px 0;



    color: var(--navy);



    font-size: 16px;

    font-weight: 900;



    line-height: 1.25;

}





/* =========================================================

   ERROR

========================================================= */



.project-error-page {

    min-height: 60vh;



    padding: 100px 6%;



    text-align: center;

}





.project-error-page h1 {

    margin-bottom: 20px;



    font-size: 3rem;

}





.project-error-page a {

    display: inline-block;



    margin-top: 30px;



    color: var(--navy);



    font-weight: 900;

}





/* =========================================================

   TABLET

========================================================= */



@media (max-width: 1050px) {



    .scrap-project-hero {

        grid-template-columns: 1fr 1fr;



        padding-left: 4%;

        padding-right: 4%;

    }





    .scrap-hero-text h1 {

        font-size: clamp(48px, 6vw, 70px);

    }





    .rubik-hero-image {

        width: 125%;

    }





    .scrap-story-section {

        grid-template-columns: 1fr;



        gap: 60px;

    }





    .scrap-photo-grid,

    .scrap-video-grid {

        grid-template-columns: repeat(2, 1fr);

    }



}





/* =========================================================

   MOBILE

========================================================= */



@media (max-width: 720px) {



    .scrap-project-hero {

        min-height: auto;



        grid-template-columns: 1fr;



        padding: 45px 6% 55px;

    }





    .scrap-hero-text h1 {

        font-size: 52px;



        letter-spacing: -2px;

    }





    .scrap-subtitle {

        font-size: 18px;

    }





    .scrap-hero-art {

        margin-top: 30px;

    }





    .rubik-hero-image {

        width: 115%;

    }





    .scrap-story-section {

        padding: 70px 6%;



        grid-template-columns: 1fr;



        gap: 55px;

    }





    .challenge-grid {

        grid-template-columns: 1fr;

    }





    .scrap-gallery-section,

    .scrap-video-section {

        padding-left: 6%;

        padding-right: 6%;

    }





    .scrap-photo-grid,

    .scrap-video-grid {

        grid-template-columns: 1fr;

    }





    .project-scrap-photo img {

        height: auto;

    }





    .scrap-highlight {

        margin-bottom: 60px;

    }





    .scrap-highlight p {

        font-size: 30px;

    }



}

/* =========================================================

   COMIC SECTION DIVIDERS

========================================================= */



/* Sections that receive a comic divider */



.scrap-gallery-section,

.scrap-video-section {

    position: relative;

}





/* -----------------------------------------

   THICK HAND-DRAWN COMIC LINE

\----------------------------------------- */



.scrap-gallery-section::before,

.scrap-video-section::before {

    content: "";



    position: absolute;



    top: 0;

    left: 50%;



    width: 90%;

    max-width: 1500px;

    height: 10px;



    transform: translateX(-50%) rotate(-0.15deg);



    background: #0b2b63;



    border-radius:

        45% 55% 42% 58% /

        55% 42% 58% 45%;



    clip-path: polygon(

        0 35%,

        8% 15%,

        18% 30%,

        29% 8%,

        39% 28%,

        51% 12%,

        62% 30%,

        73% 10%,

        84% 26%,

        100% 8%,

        100% 75%,

        88% 62%,

        76% 82%,

        65% 65%,

        52% 88%,

        40% 68%,

        27% 84%,

        15% 64%,

        0 80%

    );

}





/* First divider = yellow accent underneath */



.scrap-gallery-section::after {

    content: "";



    position: absolute;



    top: 11px;

    left: 50%;



    width: 82%;

    max-width: 1350px;

    height: 5px;



    transform: translateX(-50%) rotate(0.2deg);



    background: #ffc928;



    border-radius: 50%;

}





/* Second divider = blue + yellow */



.scrap-video-section::after {

    content: "";



    position: absolute;



    top: 11px;

    left: 50%;



    width: 82%;

    max-width: 1350px;

    height: 5px;



    transform: translateX(-50%) rotate(-0.2deg);



    background: #ffc928;



    border-radius: 50%;

}





/* Give the headings a little breathing room */



.scrap-gallery-section {

    padding-top: 65px;

}



.scrap-video-section {

    padding-top: 65px;

}





/* MOBILE */



@media (max-width: 720px) {



    .scrap-gallery-section::before,

    .scrap-video-section::before {

        width: 88%;

        height: 8px;

    }



    .scrap-gallery-section::after,

    .scrap-video-section::after {

        width: 78%;

        height: 4px;

    }



}





/* =========================================================

   PROJECT DETAIL - LAYOUT IMPROVEMENTS

   ========================================================= */





/* ---------------------------------------------------------

   HERO

   Give the text and image their own safe space

   --------------------------------------------------------- */



.scrap-project-hero {

    display: grid;

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

    align-items: center;



    gap: 70px;



    padding-left: 6%;

    padding-right: 6%;

}





.scrap-hero-text {

    width: 100%;

    max-width: 720px;

    position: relative;

    z-index: 2;

}





.scrap-hero-art {

    width: 100%;

    max-width: 620px;



    justify-self: center;



    position: relative;

    z-index: 1;

}





.rubik-hero-image {

    display: block;



    width: 100%;

    max-width: 620px;

    height: auto;



    object-fit: contain;

}





/* ---------------------------------------------------------

   THE STORY

   Now that it is alone, centre the whole section

   --------------------------------------------------------- */



.scrap-story-section {

    display: block;



    width: 100%;



    padding: 85px 6% 90px;

}





.scrap-story {

    width: 100%;

    max-width: 760px;



    margin: 0 auto;

}





/* Keep the text itself left aligned.

   We are centring the BLOCK, not every sentence. */



.scrap-story .section-label,

.scrap-story h2,

.scrap-story p {

    text-align: left;

}





/* ---------------------------------------------------------

   RESPONSIVE

   --------------------------------------------------------- */



@media (max-width: 1000px) {



    .scrap-project-hero {

        grid-template-columns: 1fr 0.8fr;

        gap: 40px;

    }



    .scrap-hero-art {

        max-width: 480px;

    }



    .rubik-hero-image {

        max-width: 480px;

    }



}





@media (max-width: 760px) {



    .scrap-project-hero {

        grid-template-columns: 1fr;

    }



    .scrap-hero-art {

        max-width: 520px;

        margin: 20px auto 0;

    }



}



/* =========================================================

   HEADER - KEEP CONTENT TOGETHER ON LARGE SCREENS / ZOOM OUT

   ========================================================= */



.site-header {

    width: 100%;



    display: flex;

    align-items: center;

    justify-content: space-between;



    padding: 20px max(5%, calc((100% - 1500px) / 2));



    box-sizing: border-box;

}





.logo {

    flex-shrink: 0;

}





.main-nav {

    display: flex;

    align-items: center;



    gap: clamp(22px, 2vw, 42px);



    margin-left: auto;

}





/* Prevent menu items from separating or wrapping strangely */



.main-nav a {

    white-space: nowrap;

}





/* =========================================================

   TABLET

   ========================================================= */



@media (max-width: 900px) {



    .site-header {

        padding: 18px 5%;

    }



    .main-nav {

        gap: 18px;

    }



}





/* =========================================================

   MOBILE

   ========================================================= */



@media (max-width: 700px) {



    .site-header {

        flex-direction: column;

        gap: 18px;

    }



    .main-nav {

        width: 100%;



        justify-content: center;

        flex-wrap: wrap;



        gap: 12px 20px;



        margin-left: 0;

    }



}

/* =========================================================
   CLEAN GLOBAL LAYOUT CORRECTIONS
   ========================================================= */

:root {
    --font-heading: "Arial Narrow", Arial, Helvetica, sans-serif;
    --font-body: Arial, Helvetica, sans-serif;
    --content-max: 1500px;
}

body {
    font-family: var(--font-body);
}

/* Stable header at normal size and when zooming out */
.site-header {
    width: 100%;
    min-height: 105px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px max(5%, calc((100% - var(--content-max)) / 2));
    background: #ffffff;
    box-sizing: border-box;
}

.logo {
    flex-shrink: 0;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: clamp(20px, 2vw, 42px);
    margin-left: auto;
}

.main-nav a {
    white-space: nowrap;
}

/* Consistent heading family */
.hero-text h1,
.section-heading h2,
.watch-heading h2,
.projects-hero h1,
.projects-heading h2,
.projects-closing h2,
.scrap-hero-text h1,
.scrap-story h2,
.challenge-area > h2,
.project-detail-heading h2 {
    font-family: var(--font-heading);
}

/* Project detail hero: text and image behave as one centered composition */
.scrap-project-hero {
    width: 100%;
    min-height: 590px;
    display: grid;
    grid-template-columns: minmax(420px, 620px) minmax(360px, 520px);
    justify-content: center;
    align-items: center;
    column-gap: clamp(45px, 5vw, 90px);
    padding: 55px 5% 70px;
    box-sizing: border-box;
}

.scrap-hero-text {
    width: 100%;
    max-width: 620px;
    position: relative;
    z-index: 3;
}

.scrap-hero-art {
    width: 100%;
    max-width: 520px;
    min-width: 0;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: start;
}

.rubik-hero-image {
    display: block;
    width: 100%;
    max-width: 520px;
    height: auto;
    object-fit: contain;
}

/* Story is a centered reading column */
.scrap-story-section {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 85px 6% 90px;
    box-sizing: border-box;
}

.scrap-story {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
}

.scrap-story .section-label,
.scrap-story h2,
.scrap-story p {
    text-align: left;
}

@media (max-width: 1050px) {
    .scrap-project-hero {
        grid-template-columns: minmax(330px, 1fr) minmax(300px, .8fr);
        column-gap: 40px;
    }

    .scrap-hero-art,
    .rubik-hero-image {
        max-width: 470px;
    }
}

@media (max-width: 900px) {
    .site-header {
        padding: 18px 5%;
    }

    .main-nav {
        gap: 18px;
    }
}

@media (max-width: 720px) {
    .site-header {
        flex-direction: column;
        gap: 18px;
    }

    .main-nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px 20px;
        margin-left: 0;
    }

    .scrap-project-hero {
        min-height: auto;
        grid-template-columns: 1fr;
        row-gap: 38px;
        padding: 45px 6% 55px;
    }

    .scrap-hero-art {
        max-width: 520px;
        margin: 0 auto;
        justify-self: center;
    }

    .rubik-hero-image {
        max-width: 520px;
    }

    .scrap-story-section {
        padding: 70px 6%;
    }
}

/* =========================================================
   PROJECT DETAIL — FINAL VISUAL ADJUSTMENTS
   ========================================================= */


/* 1. Remove blue arrow from project hero */

.scrap-project-hero::after {
    display: none;
}


/* 2. Divider between HERO and THE STORY */

.scrap-story-section {
    position: relative;
    border-top: 8px solid #0b2b63;
}


/* Yellow hand-drawn accent under the navy divider */

.scrap-story-section::before {
    content: "";

    position: absolute;
    top: 7px;
    left: 50%;

    width: 82%;
    max-width: 1350px;
    height: 4px;

    transform: translateX(-50%) rotate(-0.15deg);

    background: #ffc928;
    border-radius: 50%;
}


/* 3. Consistent typography inside THE STORY */

.story-intro,
.story-details p {
    font-family: var(--font-body);

    color: #183a6a;

    font-size: 18px;
    line-height: 1.65;

    font-weight: 400;
}


/* First paragraph can still have a little emphasis,
   without looking like a different font */

.story-intro {
    font-weight: 600;
    margin-bottom: 22px;
}
/* =========================================================
   PROJECT HERO IMAGE FRAME
   ========================================================= */

.scrap-hero-art {
    position: relative;
}


/* Yellow handmade frame */

.scrap-hero-art::before {
    content: "";

    position: absolute;

    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;

    border: 6px solid #ffc928;

    transform: rotate(-1deg);

    z-index: -1;
}


/* Photo */

.rubik-hero-image {
    position: relative;
    z-index: 2;

    display: block;

    width: 100%;
    height: auto;

    border: 3px solid #0b2b63;

    box-shadow: 12px 14px 0 rgba(11, 43, 99, 0.10);
}
/* =========================================================
   BOOKS & RESOURCES
   STEM LAB
========================================================= */

#books-page {
    --books-navy: #0b2b63;
    --books-yellow: #ffc928;
    --books-cream: #fffaf0;
    --books-blue: #cfeeff;
    --books-green: #dcefd4;

    background: #fffdf7;
    color: var(--books-navy);
}


/* =========================================================
   BOOKS HERO
========================================================= */

.books-hero {
    position: relative;

    width: 100%;
    min-height: 510px;

    display: grid;
    grid-template-columns: 52% 48%;
    align-items: center;

    padding: 65px max(6%, calc((100% - 1500px) / 2)) 70px;

    background:
        radial-gradient(
            circle at 10% 70%,
            rgba(191, 234, 255, 0.45),
            transparent 18%
        ),
        radial-gradient(
            circle at 88% 30%,
            rgba(255, 201, 40, 0.18),
            transparent 22%
        ),
        #fffaf0;

    overflow: hidden;
}


/* HERO TEXT */

.books-hero-text {
    position: relative;
    z-index: 3;

    max-width: 720px;
}

.books-hero .section-label {
    margin-bottom: 18px;

    color: #0876cf;

    font-size: 14px;
    font-weight: 900;
    letter-spacing: 4px;
}

.books-hero h1 {
    margin: 0;

    color: var(--books-navy);

    font-family: var(--font-heading);
    font-size: clamp(58px, 6vw, 92px);
    font-weight: 900;

    line-height: 0.88;
    letter-spacing: -3px;
}

.books-yellow-line {
    width: 420px;
    max-width: 80%;
    height: 10px;

    margin: 22px 0 25px;

    background: var(--books-yellow);

    border-radius: 50%;

    transform: rotate(-1deg);
}

.books-hero h2 {
    margin: 0 0 18px;

    color: var(--books-navy);

    font-family: var(--font-heading);
    font-size: clamp(27px, 2.5vw, 39px);
    font-weight: 800;

    line-height: 1.05;
}

.books-hero-text > p:last-child {
    max-width: 590px;

    margin: 0;

    color: #29496f;

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


/* =========================================================
   HERO BOOK ILLUSTRATION
========================================================= */

.books-hero-art {
    position: relative;

    min-height: 350px;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* STACK */

.book-stack {
    position: relative;

    width: min(440px, 85%);

    display: flex;
    flex-direction: column;

    transform: rotate(-2deg);
}

.stack-book {
    position: relative;

    height: 67px;

    display: flex;
    align-items: center;

    padding: 0 38px;

    margin-top: -4px;

    border: 4px solid var(--books-navy);
    border-radius: 12px 20px 20px 8px;

    color: var(--books-navy);

    font-family: var(--font-heading);
    font-size: 25px;
    font-weight: 900;
    letter-spacing: 2px;

    box-shadow: 7px 8px 0 rgba(11, 43, 99, 0.09);
}

.stack-book::after {
    content: "";

    position: absolute;

    right: 14px;
    top: 10px;
    bottom: 10px;

    width: 58px;

    border-left: 3px solid rgba(11, 43, 99, 0.25);
    border-right: 3px solid rgba(11, 43, 99, 0.25);

    opacity: 0.55;
}

.stack-red {
    width: 85%;
    margin-left: 11%;

    background: #f46b62;

    transform: rotate(2deg);
}

.stack-blue {
    width: 94%;
    margin-left: 3%;

    background: #77c9f3;

    transform: rotate(-1deg);
}

.stack-green {
    width: 88%;
    margin-left: 9%;

    background: #9bd09b;

    transform: rotate(1deg);
}

.stack-yellow {
    width: 100%;

    background: #ffd45a;

    transform: rotate(-1deg);
}


/* MUG */

.books-mug {
    position: absolute;

    right: 4%;
    bottom: 10px;

    width: 100px;
    height: 100px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--books-yellow);

    border: 5px solid var(--books-navy);
    border-radius: 12px 12px 25px 25px;

    font-size: 45px;

    transform: rotate(4deg);

    box-shadow: 7px 8px 0 rgba(11, 43, 99, 0.08);
}

.books-mug::after {
    content: "";

    position: absolute;

    right: -35px;
    top: 20px;

    width: 37px;
    height: 47px;

    border: 5px solid var(--books-navy);
    border-left: 0;

    border-radius: 0 25px 25px 0;
}


/* =========================================================
   LIBRARY
========================================================= */

.books-library {
    width: 100%;
    box-sizing: border-box;

    padding: 85px 5% 110px;

    background: #ffffff;
}


/* SECTION TITLE */

.books-section-heading {
    margin-bottom: 50px;
}

.books-section-heading .section-label {
    margin: 0 0 8px;

    color: #0876cf;

    font-size: 13px;
    font-weight: 900;
    letter-spacing: 4px;
}

.books-section-heading h2 {
    margin: 0;

    color: var(--books-navy);

    font-family: var(--font-heading);
    font-size: clamp(40px, 4vw, 62px);
    font-weight: 900;

    letter-spacing: -2px;
}


/* =========================================================
   BOOK GRID
========================================================= */

.books-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 32px;
}


/* =========================================================
   BOOK CARD
========================================================= */

.book-card {
    position: relative;

    display: grid;
    grid-template-columns: minmax(150px, 43%) 1fr;

    min-height: 440px;

    padding: 22px;

    background: #fffdf8;

    border: 1px solid #eee7d8;
    border-radius: 18px;

    box-shadow:
        0 12px 30px rgba(11, 43, 99, 0.08),
        5px 6px 0 rgba(255, 201, 40, 0.12);

    overflow: hidden;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.book-card:hover {
    transform: translateY(-6px) rotate(-0.3deg);

    box-shadow:
        0 18px 35px rgba(11, 43, 99, 0.13),
        7px 8px 0 rgba(255, 201, 40, 0.18);
}


/* =========================================================
   BOOK COVER
========================================================= */

.book-cover-area {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 5px 10px 5px 0;
}

.book-cover-area::before {
    content: "";

    position: absolute;

    width: 72%;
    height: 24px;

    top: -4px;
    left: 13%;

    background: rgba(255, 201, 40, 0.55);

    transform: rotate(-3deg);

    z-index: 2;
}

.book-cover {
    position: relative;

    display: block;

    width: 100%;
    max-width: 240px;
    max-height: 390px;

    object-fit: contain;

    border-radius: 4px;

    box-shadow:
        8px 10px 18px rgba(11, 43, 99, 0.18);

    z-index: 1;
}


/* COVER PLACEHOLDER */

.book-cover-placeholder {
    width: 100%;
    max-width: 220px;

    aspect-ratio: 0.7;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #e8dcff;

    border: 3px solid var(--books-navy);

    color: var(--books-navy);

    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 900;
}


/* =========================================================
   BOOK INFORMATION
========================================================= */

.book-card-content {
    display: flex;
    flex-direction: column;

    padding: 18px 5px 10px 15px;
}

.book-category {
    align-self: flex-start;

    display: inline-block;

    margin-bottom: 18px;
    padding: 8px 13px;

    background: #fff0b6;

    border-radius: 9px;

    color: #735600;

    font-size: 12px;
    font-weight: 800;
}

.book-card h3 {
    margin: 0 0 14px;

    color: var(--books-navy);

    font-family: var(--font-heading);
    font-size: clamp(23px, 1.8vw, 30px);
    font-weight: 900;

    line-height: 1.05;
}

.book-card-content p {
    margin: 0 0 20px;

    color: #34506f;

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


/* PDF INFORMATION */

.book-format {
    margin-top: auto;
    margin-bottom: 14px;

    padding-top: 15px;

    border-top: 2px solid rgba(255, 201, 40, 0.55);

    color: var(--books-navy);

    font-size: 14px;
    font-weight: 700;
}


/* =========================================================
   READ BUTTON
========================================================= */

.book-read-button {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 12px 18px;

    background: var(--books-navy);

    border-radius: 10px;

    color: #ffffff;

    font-size: 14px;
    font-weight: 800;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.book-read-button:hover {
    background: #0876cf;

    transform: translateX(3px);
}


/* =========================================================
   EMPTY LIBRARY
========================================================= */

.books-empty {
    max-width: 650px;

    padding: 45px;

    background: var(--books-cream);

    border: 3px dashed var(--books-yellow);
    border-radius: 20px;
}

.books-empty h3 {
    margin-top: 0;

    color: var(--books-navy);

    font-family: var(--font-heading);
    font-size: 30px;
}

.books-empty p {
    color: #34506f;

    line-height: 1.6;
}


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

@media (max-width: 1150px) {

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

    .books-hero {
        grid-template-columns: 52% 48%;
    }

    .stack-book {
        font-size: 20px;
    }

}


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

@media (max-width: 850px) {

    .books-hero {
        grid-template-columns: 1fr;

        gap: 45px;

        padding-top: 55px;
    }

    .books-hero-art {
        min-height: 330px;
    }

    .book-stack {
        max-width: 430px;
    }

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

    .book-card {
        max-width: 720px;
    }

}


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

@media (max-width: 560px) {

    .books-hero {
        padding: 45px 6% 55px;
    }

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

    .books-yellow-line {
        width: 270px;
    }

    .books-hero-art {
        min-height: 290px;
    }

    .stack-book {
        height: 54px;

        padding-left: 20px;

        font-size: 17px;
    }

    .books-mug {
        width: 72px;
        height: 72px;

        font-size: 32px;
    }

    .books-library {
        padding: 65px 6% 80px;
    }

    .book-card {
        grid-template-columns: 1fr;

        padding: 22px;
    }

    .book-cover-area {
        padding: 5px 0 25px;
    }

    .book-cover {
        max-width: 230px;
    }

    .book-card-content {
        padding: 5px;
    }

}
/* =========================================================
   BOOKS HERO — FINAL APPROVED DESIGN
========================================================= */

.books-hero.books-hero-image {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 0;

    padding: 20px max(3%, calc((100% - 1600px) / 2));

    background: #fffaf0;

    overflow: hidden;
}

.books-hero-image img {
    display: block;

    width: 72%;
    max-width: none;
    height: auto;

    object-fit: contain;
}


/* MOBILE */

@media (max-width: 700px) {

    .books-hero.books-hero-image {
        padding: 20px 3%;
    }

    .books-hero-image img {
        width: 145%;
        max-width: none;
    }

}
/* =========================================================
   BOOK COLLECTION — FINAL VISUAL ADJUSTMENTS
   Keep approved Books hero unchanged
========================================================= */

.books-library {
    padding-top: 65px;
    padding-bottom: 100px;
}


/* ---------- SECTION HEADING ---------- */

.books-section-heading {
    margin-bottom: 42px;
}

.books-section-heading .section-label {
    margin-bottom: 10px;

    font-size: 13px;
    letter-spacing: 4px;
}

.books-section-heading h2 {
    font-size: clamp(38px, 3.3vw, 56px);
    line-height: 1;
    letter-spacing: -1.5px;
}


/* =========================================================
   GRID
========================================================= */

.books-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 28px;
}


/* =========================================================
   BOOK CARD
========================================================= */

.book-card {
    display: grid;

    grid-template-columns: 42% 58%;

    min-height: 365px;

    padding: 20px;

    background: #fffdf8;

    border-radius: 16px;
}


/* =========================================================
   COVER
========================================================= */

.book-cover-area {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 8px 14px 8px 4px;
}


/* little handmade tape */

.book-cover-area::before {
    width: 72px;
    height: 17px;

    top: 0;
    left: 50%;

    transform: translateX(-50%) rotate(-3deg);

    background: rgba(255, 201, 40, 0.55);
}


.book-cover {
    width: auto;
    max-width: 100%;

    height: 300px;
    max-height: 300px;

    object-fit: contain;

    box-shadow:
        7px 9px 16px rgba(11, 43, 99, 0.16);
}


/* =========================================================
   BOOK TEXT
========================================================= */

.book-card-content {
    padding: 15px 4px 8px 12px;
}


.book-category {
    margin-bottom: 15px;

    padding: 7px 11px;

    font-size: 11px;
}


.book-card h3 {
    margin-bottom: 13px;

    font-size: clamp(22px, 1.55vw, 27px);

    line-height: 1.08;
    letter-spacing: -0.4px;
}


.book-card-content p {
    margin-bottom: 15px;

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


/* =========================================================
   PDF LINE
========================================================= */

.book-format {
    margin-top: auto;
    margin-bottom: 12px;

    padding-top: 12px;

    font-size: 13px;
}


/* =========================================================
   BUTTON
========================================================= */

.book-read-button {
    min-height: 44px;

    padding: 10px 15px;

    border-radius: 9px;

    font-size: 13px;
}


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

@media (max-width: 1200px) {

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

}


@media (max-width: 760px) {

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

    .book-card {
        grid-template-columns: 40% 60%;

        max-width: 650px;
    }

}


@media (max-width: 520px) {

    .book-card {
        grid-template-columns: 1fr;
    }

    .book-cover {
        height: 290px;
    }

    .book-card-content {
        padding: 15px 5px 5px;
    }

}
/* =========================================================
   BOOK CARD — COVER POSITION FIX
========================================================= */

.book-card {
    align-items: stretch;
}

/* Cover column */

.book-cover-area {
    position: relative;

    display: flex;
    align-items: flex-start;
    justify-content: center;

    padding: 35px 14px 10px 4px;
}


/* Tape attached to the book */

.book-cover-area::before {
    content: "";

    position: absolute;

    width: 78px;
    height: 18px;

    top: 20px;
    left: 50%;

    transform: translateX(-50%) rotate(-3deg);

    background: rgba(255, 201, 40, 0.58);

    z-index: 3;
}


/* Book itself */

.book-cover {
    display: block;

    width: auto;
    max-width: 100%;

    height: 300px;
    max-height: 300px;

    object-fit: contain;

    margin: 0;

    border-radius: 3px;

    box-shadow:
        7px 10px 17px rgba(11, 43, 99, 0.18);
}


/* Information starts at similar height */

.book-card-content {
    padding: 30px 4px 8px 12px;
}
/* =========================================================
   BOOK CARD — FINAL COMPACT ADJUSTMENT
========================================================= */

.book-card {
    min-height: 0;
    padding: 18px;
}

.book-cover-area {
    padding-top: 28px;
    padding-bottom: 4px;
}

.book-cover-area::before {
    top: 14px;
}

.book-card-content {
    padding-top: 24px;
    padding-bottom: 4px;
}
/* =========================================================
   READ BOOK PAGE
========================================================= */

.single-book-page {
    min-height: calc(100vh - 105px);
    padding: 55px max(6%, calc((100% - 1450px) / 2)) 90px;
    background: #fffaf0;
}


/* BACK TO BOOKS */

.single-book-back {
    margin-bottom: 38px;
}

.single-book-back a {
    display: inline-block;
    color: #0b2b63;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    border-bottom: 3px solid #ffc928;
    transition: transform 0.2s ease;
}

.single-book-back a:hover {
    transform: translateX(-4px);
}


/* =========================================================
   MAIN BOOK AREA
========================================================= */

.single-book-intro {
    max-width: 1180px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 390px 1fr;
    gap: 85px;
    align-items: center;
}


/* =========================================================
   COVER
========================================================= */

.single-book-cover {
    position: relative;

    display: flex;
    justify-content: center;
}

.single-book-cover::before {
    content: "";

    position: absolute;

    width: 105px;
    height: 25px;

    top: -13px;
    left: 50%;

    background: rgba(255, 201, 40, 0.72);

    transform: translateX(-50%) rotate(-3deg);

    z-index: 3;
}

.single-book-cover img {
    display: block;

    width: 100%;
    max-width: 350px;
    height: auto;

    border-radius: 4px;

    box-shadow:
        12px 16px 0 rgba(11, 43, 99, 0.08),
        0 15px 35px rgba(11, 43, 99, 0.16);
}


/* =========================================================
   BOOK INFORMATION
========================================================= */

.single-book-info {
    max-width: 650px;
}

.single-book-category {
    display: inline-block;

    margin-bottom: 22px;
    padding: 9px 16px;

    background: #fff0b6;

    border-radius: 10px;

    color: #755600;

    font-size: 13px;
    font-weight: 800;
}

.single-book-info h1 {
    margin: 0 0 24px;

    color: #0b2b63;

    font-family: var(--font-heading);
    font-size: clamp(46px, 5vw, 72px);
    font-weight: 900;

    line-height: 0.98;
    letter-spacing: -2px;
}

.single-book-info p {
    max-width: 570px;

    margin: 0;

    color: #29496f;

    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.65;
}


/* DIVIDER */

.single-book-divider {
    width: 100%;
    max-width: 520px;
    height: 4px;

    margin: 30px 0 22px;

    background: #ffc928;

    border-radius: 50%;

    transform: rotate(-0.3deg);
}


/* =========================================================
   PDF
========================================================= */

.single-book-format {
    margin-bottom: 20px;

    color: #0b2b63;

    font-size: 14px;
    font-weight: 800;
}


/* =========================================================
   READ BUTTON
========================================================= */

.single-book-read {
    width: 100%;
    max-width: 320px;
    min-height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 12px 24px;

    background: #0b2b63;

    border-radius: 11px;

    color: #ffffff;

    font-size: 15px;
    font-weight: 800;
    text-decoration: none;

    box-shadow: 5px 6px 0 rgba(255, 201, 40, 0.45);

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.single-book-read:hover {
    background: #0876cf;

    transform: translateY(-3px);
}


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

@media (max-width: 900px) {

    .single-book-intro {
        grid-template-columns: 310px 1fr;
        gap: 50px;
    }

    .single-book-cover img {
        max-width: 300px;
    }

}


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

@media (max-width: 700px) {

    .single-book-page {
        padding: 40px 6% 70px;
    }

    .single-book-intro {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .single-book-cover img {
        max-width: 280px;
    }

    .single-book-info {
        max-width: 100%;
    }

    .single-book-info h1 {
        font-size: 43px;
    }

    .single-book-read {
        max-width: 100%;
    }

}
/* =========================================================
   BOOK READER — FINAL LAYOUT
========================================================= */

.book-reader-body {
    background: #f7f3e9;
}


/* MAIN AREA */

.book-reader-page {
    width: 100%;
    padding: 35px max(4%, calc((100% - 1500px) / 2)) 60px;
}


/* =========================================================
   TOP BAR
========================================================= */

.book-reader-top {
    max-width: 1400px;
    margin: 0 auto 25px;

    display: grid;
    grid-template-columns: 180px 1fr 180px;
    align-items: center;
    gap: 25px;
}


/* BACK */

.book-reader-back {
    justify-self: start;

    color: #0b2b63;

    font-size: 14px;
    font-weight: 800;
    text-decoration: none;

    border-bottom: 3px solid #ffc928;
}

.book-reader-back:hover {
    transform: translateX(-3px);
}


/* TITLE */

.book-reader-title {
    text-align: center;
}

.book-reader-title span {
    display: block;

    margin-bottom: 4px;

    color: #0876cf;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 3px;
}

.book-reader-title h1 {
    margin: 0;

    color: #0b2b63;

    font-family: var(--font-heading);
    font-size: clamp(25px, 2.4vw, 38px);
    font-weight: 900;

    line-height: 1.05;
}


/* OPEN PDF */

.book-reader-open {
    justify-self: end;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 16px;

    background: #fff0b6;

    border-radius: 9px;

    color: #0b2b63;

    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}


/* =========================================================
   PDF VIEWER
========================================================= */

.book-reader-frame {
    width: 100%;
    max-width: 1400px;

    height: calc(100vh - 245px);
    min-height: 650px;

    margin: 0 auto;

    padding: 10px;

    background: #ffffff;

    border: 3px solid #0b2b63;
    border-radius: 14px;

    box-shadow:
        8px 10px 0 rgba(255, 201, 40, 0.55),
        0 15px 35px rgba(11, 43, 99, 0.12);

    overflow: hidden;
}


.book-reader-frame iframe {
    display: block;

    width: 100%;
    height: 100%;

    border: 0;
    border-radius: 8px;

    background: #eeeeee;
}


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

@media (max-width: 900px) {

    .book-reader-top {
        grid-template-columns: 1fr auto;
    }

    .book-reader-title {
        grid-column: 1 / -1;
        grid-row: 1;

        margin-bottom: 12px;
    }

    .book-reader-back {
        grid-column: 1;
        grid-row: 2;
    }

    .book-reader-open {
        grid-column: 2;
        grid-row: 2;
    }

    .book-reader-frame {
        height: calc(100vh - 280px);
        min-height: 550px;
    }

}


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

@media (max-width: 600px) {

    .book-reader-page {
        padding: 25px 4% 45px;
    }

    .book-reader-title h1 {
        font-size: 25px;
    }

    .book-reader-frame {
        height: 70vh;
        min-height: 500px;

        padding: 5px;

        border-width: 2px;
    }

}
/* =========================================================
   PROJECTS HERO — FINAL
   ========================================================= */

.projects-hero-image {
    width: 100%;
    background: #fff8eb;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.projects-hero-image img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
}
/* =========================================================
   PROJECTS PAGE — FINAL RESPONSIVE WIDTH
   ========================================================= */

.projects-gallery {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    margin: 0;
}

.projects-gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 50px;
}

.projects-gallery-header h2 {
    white-space: nowrap;
}

/* Project cards */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

/* Tablet */
@media (max-width: 1000px) {

    .projects-gallery {
        width: 92%;
    }

    .projects-gallery-header {
        gap: 30px;
    }

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

/* Mobile */
@media (max-width: 700px) {

    .projects-gallery-header {
        display: block;
    }

    .projects-gallery-header h2 {
        white-space: normal;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }
}
/* =========================================================
   PROJECTS IN ACTION — KEEP TITLE ON ONE LINE
   ========================================================= */

.projects-gallery-header {
    display: grid;
    grid-template-columns: max-content 1fr;
    align-items: center;
    gap: 70px;
}

.projects-gallery-header h2 {
    white-space: nowrap;
    width: max-content;
    margin: 0;
}

.projects-gallery-intro {
    max-width: 520px;
    justify-self: end;
}
/* =========================================================
   PROJECTS IN ACTION — HEADING FINAL
   ========================================================= */

.projects-heading {
    display: grid;
    grid-template-columns: max-content 1fr;
    align-items: center;
    column-gap: 110px;
    width: 100%;
}

.projects-heading h2 {
    white-space: nowrap;
    width: max-content;
    margin: 0;

    .projects-heading-copy {
    justify-self: end;
    width: 100%;
    max-width: 520px;
    padding-left: 24px;
    border-left: 4px solid #ffc928;
}

.projects-heading-copy strong {
    display: block;
    color: #0b2b63;
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 7px;
}

.projects-heading-copy p {
    margin: 0;
    color: #29496f;
    font-size: 16px;
    line-height: 1.5;
}
}
/* =========================================================
   STEM LAB — SHARED SECTION DIVIDER
   ========================================================= */

/* =========================================================
   STEM LAB — COMIC SECTION DIVIDER
   ========================================================= */

/* =========================================================
   STEM LAB — HAND-DRAWN COMIC DIVIDER
   ========================================================= */

.section-divider {
    position: relative;
    width: 100%;
    height: 24px;
    background: transparent;
    overflow: visible;
}

/* BLUE BRUSH STROKE */
.section-divider::before {
    content: "";
    position: absolute;

    left: -1%;
    width: 102%;
    top: 2px;

    height: 11px;
    background: #0b2b63;

    border-radius: 45% 55% 40% 60% / 60% 40% 55% 45%;

    transform:
        rotate(0.10deg)
        skewX(-0.4deg);
}

/* YELLOW BRUSH STROKE */
.section-divider::after {
    content: "";
    position: absolute;

    left: 3%;
    width: 92%;
    top: 14px;

    height: 5px;
    background: #ffc928;

    border-radius: 60% 40% 55% 45% / 40% 60% 45% 55%;

    transform:
        rotate(-0.13deg)
        skewX(0.6deg);
}
/* =========================================================
   STEM LAB — ABOUT PAGE
   Based on the approved About illustration
========================================================= */

#about-page {
    width: 100%;
    overflow: hidden;
    background: #fffdf8;
    color: #0b2b63;
}

#about-page p {
    font-family: var(--font-body);
}


/* =========================================================
   ABOUT HERO
========================================================= */

.about-hero {
    position: relative;
    width: 100%;
    max-width: 1600px;
    min-height: 500px;
    margin: 0 auto;
    padding: 55px 5% 45px;

    display: grid;
    grid-template-columns: 42% 48%;
    align-items: center;
    gap: 5%;

    box-sizing: border-box;
    background: #fffdf8;
}


/* soft blue brush behind hero text */

.about-hero-content {
    position: relative;
    z-index: 3;
    padding: 35px 20px 35px 30px;
}

.about-hero-content::before {
    content: "";
    position: absolute;
    z-index: -1;

    left: -20px;
    top: 5px;

    width: 105%;
    height: 95%;

    background:
        linear-gradient(
            90deg,
            rgba(204, 242, 238, 0.82),
            rgba(220, 246, 242, 0.45)
        );

    border-radius:
        44% 56% 48% 52% /
        12% 18% 14% 20%;

    transform: rotate(-1deg);
}


.about-kicker {
    margin: 0 0 10px;

    color: #ef796f;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.05em;
}


.about-hero h1 {
    margin: 0 0 18px;

    color: #0b2b63;

    font-family: var(--font-heading);
    font-size: clamp(55px, 5vw, 84px);
    line-height: 0.98;

    font-weight: 700;
    letter-spacing: -1px;
}


.about-hero-intro {
    max-width: 520px;
    margin: 0;

    color: #183a6a;

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


.about-heart {
    display: block;

    margin-top: 15px;
    margin-left: auto;
    width: max-content;

    font-size: 36px;

    transform: rotate(-8deg);
}


/* =========================================================
   HERO PHOTO
========================================================= */

.about-hero-photo {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 690px;

    justify-self: center;
}


.about-hero-photo::before {
    content: "";

    position: absolute;

    inset: -10px;

    background: #f5e3c8;

    border-radius:
        12% 4% 10% 3% /
        6% 11% 4% 9%;

    transform: rotate(-1.2deg);

    z-index: -1;
}


.about-hero-photo img {
    display: block;

    width: 100%;
    height: 390px;

    object-fit: cover;
    object-position: center;

    border-radius:
        3% 7% 4% 8% /
        6% 3% 8% 4%;

    box-shadow:
        0 12px 24px rgba(11, 43, 99, 0.08);
}


/* =========================================================
   HERO STICKY NOTE
========================================================= */

.about-sticky-note {
    position: absolute;
    z-index: 5;

    right: 2.5%;
    bottom: 25px;

    width: 190px;

    padding: 28px 20px 22px;

    background: #ffdcd7;

    color: #0b2b63;

    box-shadow:
        5px 8px 15px rgba(11, 43, 99, 0.10);

    transform: rotate(-5deg);

    text-align: center;
}


.about-sticky-note::before {
    content: "";

    position: absolute;

    width: 60px;
    height: 16px;

    top: -8px;
    left: 50%;

    transform:
        translateX(-50%)
        rotate(3deg);

    background: rgba(255, 202, 73, 0.70);
}


.about-sticky-note p {
    margin: 0;

    font-family: var(--font-heading);
    font-size: 20px;
    line-height: 1.3;
}


.about-sticky-note span {
    display: block;

    margin-top: 5px;

    font-size: 28px;
}


/* =========================================================
   STORY + HOW I THINK ABOUT LEARNING
========================================================= */

.about-story-learning {
    width: 100%;
    max-width: 1500px;

    margin: 0 auto;

    padding: 65px 5% 45px;

    display: grid;
    grid-template-columns: 1fr 1fr;

    box-sizing: border-box;
}


.about-story,
.about-learning {
    position: relative;

    min-height: 480px;

    padding: 15px 55px;

    box-sizing: border-box;
}


.about-story {
    border-right: 1px solid rgba(11, 43, 99, 0.13);
}


.about-section-title {
    display: flex;
    align-items: flex-start;
    gap: 20px;

    margin-bottom: 25px;
}


.about-icon {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 58px;

    color: #0b2b63;

    font-size: 48px;
    line-height: 1;
}


.about-section-title h2 {
    position: relative;

    margin: 0;

    color: #0b2b63;

    font-family: var(--font-heading);

    font-size: clamp(35px, 3vw, 52px);
    line-height: 1.05;

    font-weight: 700;
}


.about-title-brush {
    position: relative;
    z-index: 1;

    display: inline-block;

    padding: 4px 18px;

    color: #0b2b63;

    font-family: var(--font-heading);

    font-size: clamp(29px, 2.4vw, 40px);
    font-weight: 700;
    line-height: 1.1;
}


.about-title-brush::before {
    content: "";

    position: absolute;
    z-index: -1;

    inset: 0 -10px;

    border-radius:
        40% 60% 45% 55% /
        55% 40% 60% 45%;

    transform: rotate(-1deg);
}


.about-title-brush-pink::before {
    background: #ffd9d2;
}


.about-title-brush-green::before {
    background: #d7f3e5;
}


.about-title-brush-blue::before {
    background: #d9efff;
}


.about-story > p,
.about-learning > p,
.about-journey-content > p {
    color: #183a6a;

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


/* =========================================================
   STACK OF BOOKS
========================================================= */

.about-books-illustration {
    position: relative;

    width: 260px;

    margin:
        45px
        auto
        10px;

    transform: rotate(-1deg);
}


.about-book {
    position: relative;

    width: 230px;

    margin: -2px auto;

    padding: 9px 20px;

    box-sizing: border-box;

    border: 2px solid #0b2b63;
    border-radius: 5px 12px 5px 10px;

    color: #0b2b63;

    font-family: var(--font-heading);

    font-size: 20px;
    letter-spacing: 0.08em;

    text-align: center;

    box-shadow:
        5px 3px 0 rgba(11, 43, 99, 0.06);
}


.about-book-pink {
    background: #f8aaa7;
}


.about-book-blue {
    background: #91cef1;
}


.about-book-green {
    background: #9edec9;
}


.about-book-yellow {
    background: #ffd875;
}


.about-bulb {
    position: absolute;

    right: -15px;
    top: -55px;

    font-size: 43px;

    transform: rotate(8deg);
}


/* handwritten note */

.about-hand-note {
    color: #0b2b63;

    font-family: var(--font-heading);

    font-size: 21px;
    line-height: 1.25;

    transform: rotate(-5deg);
}


.about-story-note {
    position: absolute;

    left: 30%;

    bottom: 5px;
}


.about-story-note span {
    display: inline-block;

    margin-left: 15px;

    font-size: 40px;

    transform: rotate(15deg);
}


/* =========================================================
   LEARNING QUOTE
========================================================= */

.about-learning-quote {
    position: relative;

    max-width: 470px;

    margin: 40px auto 0;

    padding: 32px 45px;

    box-sizing: border-box;

    background: #ffdcd8;

    border-radius:
        20% 8% 18% 7% /
        14% 20% 9% 18%;

    color: #0b2b63;

    font-family: var(--font-heading);

    font-size: 23px;
    line-height: 1.45;

    text-align: center;
}


.quote-mark {
    position: absolute;

    top: -15px;
    left: 25px;

    color: #ef796f;

    font-size: 68px;
    line-height: 1;
}


.quote-heart {
    position: absolute;

    right: 15px;
    bottom: 5px;

    font-size: 31px;
}


/* =========================================================
   ALWAYS LEARNING
========================================================= */

.about-always-learning {
    width: 100%;
    max-width: 1500px;

    margin: 0 auto;

    padding: 35px 5% 70px;

    display: grid;
    grid-template-columns: 46% 48%;
    gap: 6%;

    align-items: center;

    box-sizing: border-box;
}


/* journey photo */

.about-journey-photo {
    position: relative;

    width: 100%;
}


.about-journey-photo::before {
    content: "";

    position: absolute;

    inset: -9px;

    z-index: -1;

    background: #dbeeff;

    border-radius:
        8% 2% 7% 4% /
        4% 8% 3% 7%;

    transform: rotate(-1deg);
}


.about-journey-photo img {
    display: block;

    width: 100%;
    height: 390px;

    object-fit: cover;
    object-position: center;

    border-radius:
        3% 7% 4% 6% /
        7% 3% 6% 4%;
}


.about-photo-note {
    position: absolute;

    left: -15px;
    bottom: -15px;

    padding: 18px 22px;

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

    color: #0b2b63;

    font-family: var(--font-heading);

    font-size: 20px;
    line-height: 1.3;

    transform: rotate(-6deg);

    box-shadow:
        4px 6px 10px rgba(11, 43, 99, 0.08);
}


.about-photo-note span {
    display: block;

    margin-top: 4px;

    text-align: right;

    font-size: 27px;
}


/* journey copy */

.about-journey-content {
    position: relative;

    padding: 20px 15px;
}


.about-mountains {
    margin-top: 30px;

    display: flex;
    align-items: flex-end;
    justify-content: flex-end;

    gap: 3px;

    height: 90px;

    color: #0b2b63;

    overflow: hidden;
}


.about-mountains span {
    display: inline-block;

    font-size: 85px;
    line-height: 0.7;

    transform: scaleX(1.5);
}


.about-mountains span:first-child {
    font-size: 50px;
}


/* =========================================================
   STUDENTS + TEACHERS
========================================================= */

.about-community {
    width: min(1500px, 94%);

    margin: 0 auto 60px;

    padding: 30px 35px 40px;

    box-sizing: border-box;

    background:
        linear-gradient(
            90deg,
            #fff2ef,
            #fff7f4
        );

    border-radius: 34px;
}


.about-community-heading {
    display: flex;
    align-items: center;

    gap: 18px;

    margin-bottom: 30px;
}


.about-community-heading h2 {
    position: relative;
    z-index: 1;

    margin: 0;

    padding: 4px 25px;

    color: #0b2b63;

    font-family: var(--font-heading);

    font-size: clamp(34px, 3vw, 48px);
    line-height: 1.1;
}


.about-community-heading h2::before {
    content: "";

    position: absolute;
    z-index: -1;

    inset: 2px -5px;

    background: #ffd8d4;

    border-radius:
        50% 40% 55% 45% /
        50% 60% 40% 55%;

    transform: rotate(-0.5deg);
}


.about-community-icon {
    font-size: 48px;
}


.about-community-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 28px;
}


.about-audience-card {
    min-height: 270px;

    padding: 30px;

    display: grid;
    grid-template-columns: 110px 1fr;

    gap: 25px;

    box-sizing: border-box;

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

    border-radius: 28px;
}


.about-audience-icon {
    width: 100px;
    height: 100px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #dceeff;

    border-radius: 50%;

    font-size: 47px;
}


.about-audience-card:nth-child(2)
.about-audience-icon {
    background: #d8f3e6;
}


.about-audience-content h3 {
    display: inline-block;

    margin: 0 0 20px;

    padding: 7px 20px;

    border-radius: 30px;

    color: #0b2b63;

    font-family: var(--font-heading);

    font-size: 27px;
}


.about-students-title {
    background: #d9efff;
}


.about-teachers-title {
    background: #d7f3e5;
}


.about-audience-content ul {
    list-style: none;

    margin: 0;
    padding: 0;
}


.about-audience-content li {
    display: flex;
    align-items: flex-start;

    gap: 12px;

    margin-bottom: 13px;

    color: #183a6a;

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


.about-audience-content li span {
    display: inline-flex;

    flex-shrink: 0;

    width: 24px;
    height: 24px;

    align-items: center;
    justify-content: center;

    background: #aee8d5;

    border-radius: 50%;

    color: #0b2b63;

    font-weight: 700;
}


/* =========================================================
   CLOSING MESSAGE
========================================================= */

.about-closing {
    position: relative;

    width: min(900px, 85%);

    margin: 0 auto 70px;

    padding: 25px 70px;

    box-sizing: border-box;

    background: #dcefff;

    border-radius:
        45% 55% 46% 54% /
        28% 35% 25% 38%;

    text-align: center;
}


.about-closing p {
    margin: 0;

    color: #0b2b63;

    font-family: var(--font-heading) !important;

    font-size: 26px;
    line-height: 1.35;
}


.about-closing p strong {
    font-weight: 700;
}


.about-closing-leaf {
    position: absolute;

    left: 30px;
    top: 15px;

    font-size: 43px;

    transform: rotate(-20deg);
}


.about-closing-heart {
    position: absolute;

    right: 40px;
    bottom: 12px;

    font-size: 34px;
}


.about-paper-plane {
    position: absolute;

    right: -90px;
    bottom: 0;

    color: #0b2b63;

    font-size: 45px;

    transform: rotate(-25deg);
}


/* =========================================================
   ABOUT — RESPONSIVE
========================================================= */

@media (max-width: 1050px) {

    .about-hero {
        grid-template-columns: 44% 51%;
        gap: 5%;

        padding-left: 4%;
        padding-right: 4%;
    }

    .about-sticky-note {
        right: 1%;
        width: 160px;
    }

    .about-story,
    .about-learning {
        padding-left: 30px;
        padding-right: 30px;
    }

    .about-audience-card {
        grid-template-columns: 85px 1fr;
    }

    .about-audience-icon {
        width: 78px;
        height: 78px;

        font-size: 37px;
    }
}


@media (max-width: 820px) {

    .about-hero {
        display: flex;
        flex-direction: column;

        padding: 35px 7%;
    }

    .about-hero-content {
        width: 100%;
    }

    .about-hero-photo {
        margin-top: 30px;
    }

    .about-hero-photo img {
        height: auto;
        max-height: 480px;
    }

    .about-sticky-note {
        position: relative;

        right: auto;
        bottom: auto;

        align-self: flex-end;

        margin-top: -45px;
        margin-right: 15px;
    }


    .about-story-learning {
        grid-template-columns: 1fr;

        padding-left: 7%;
        padding-right: 7%;
    }

    .about-story,
    .about-learning {
        min-height: 0;

        padding: 35px 0;
    }

    .about-story {
        border-right: 0;
        border-bottom:
            1px solid rgba(11, 43, 99, 0.13);
    }

    .about-story-note {
        position: relative;

        left: auto;
        bottom: auto;

        width: max-content;

        margin: 25px auto;
    }


    .about-always-learning {
        grid-template-columns: 1fr;

        padding-left: 7%;
        padding-right: 7%;
    }

    .about-journey-content {
        margin-top: 45px;
    }


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


@media (max-width: 560px) {

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

    .about-hero-intro {
        font-size: 18px;
    }

    .about-sticky-note {
        width: 145px;
    }

    .about-sticky-note p {
        font-size: 17px;
    }


    .about-section-title {
        gap: 10px;
    }

    .about-icon {
        min-width: 42px;

        font-size: 37px;
    }

    .about-title-brush {
        font-size: 28px;
    }


    .about-journey-photo img {
        height: 300px;
    }


    .about-community {
        width: 94%;

        padding: 25px 18px;
    }

    .about-community-heading {
        align-items: flex-start;
    }

    .about-community-heading h2 {
        padding: 4px 10px;

        font-size: 31px;
    }

    .about-community-icon {
        font-size: 37px;
    }


    .about-audience-card {
        display: block;

        padding: 25px 20px;
    }

    .about-audience-icon {
        margin-bottom: 18px;
    }


    .about-closing {
        width: 88%;

        padding: 25px 35px;
    }

    .about-closing p {
        font-size: 21px;
    }

    .about-paper-plane {
        display: none;
    }

}
/* =========================================================
   ABOUT HERO IMAGE
========================================================= */

.about-hero-image {
    width: 100%;
    background: #fffdf8;

    display: flex;
    justify-content: center;
    align-items: center;

    overflow: hidden;
}

.about-hero-image img {
    display: block;

    width: 100%;
    max-width: 1600px;
    height: auto;
}
/* =========================================================
   ABOUT — STORY + LEARNING IMAGE
========================================================= */

.about-story-learning-image {
    width: 100%;
    background: #fffdf8;

    display: flex;
    justify-content: center;
    align-items: center;

    overflow: hidden;
}

.about-story-learning-image img {
    display: block;

    width: 100%;
    max-width: 1600px;
    height: auto;
}
/* =========================================================
   ABOUT — ALWAYS LEARNING IMAGE
========================================================= */

.about-always-learning-image {
    width: 100%;
    background: #fffdf8;

    display: flex;
    justify-content: center;
    align-items: center;

    overflow: hidden;
}

.about-always-learning-image img {
    display: block;

    width: 100%;
    max-width: 1600px;
    height: auto;
}
/* =========================================================
   ABOUT — STUDENTS + TEACHERS IMAGE
========================================================= */

.about-students-teachers-image {
    width: 100%;
    background: #fffdf8;

    display: flex;
    justify-content: center;
    align-items: center;

    overflow: hidden;
}

.about-students-teachers-image img {
    display: block;

    width: 100%;
    max-width: 1600px;
    height: auto;
}
/* =========================================================
   STEM LAB — SIMULATIONS PAGE
========================================================= */

#simulations-page {
    background-color: #fffaf0;
    background-image:
        linear-gradient(rgba(24, 58, 106, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(24, 58, 106, 0.045) 1px, transparent 1px);
    background-size: 28px 28px;

    min-height: 70vh;
    padding-bottom: 90px;
}


/* =========================================================
   INTRO / TITLE
========================================================= */

.simulations-intro {
    width: min(92%, 1500px);
    margin: 0 auto;
    padding: 55px 0 35px;

    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 70px;
    align-items: center;
}


.simulations-intro-title {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}


.simulations-bulb {
    font-size: 54px;
    line-height: 1;
    margin-top: 4px;
}


.simulations-intro h1 {
    display: inline-block;

    margin: 0 0 12px;

    padding: 4px 28px 8px;

    color: #0b2b63;

    font-family: var(--font-heading);
    font-size: clamp(48px, 5vw, 76px);
    line-height: 1;

    background: #d9efff;

    border-radius: 48% 52% 44% 56% / 56% 45% 55% 44%;

    transform: rotate(-0.5deg);
}


.simulations-intro-title p {
    margin: 0;

    max-width: 600px;

    color: #183a6a;

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


/* =========================================================
   SEARCH + FILTERS
========================================================= */

.simulations-tools {
    width: 100%;
}


.simulation-search {
    display: flex;
    align-items: center;

    width: 100%;

    padding: 0 18px;

    background: #f5fbff;

    border: 3px solid #9ed8f8;
    border-radius: 12px;

    box-sizing: border-box;
}


.simulation-search span {
    color: #0b2b63;
    font-size: 28px;

    margin-right: 10px;
}


.simulation-search input {
    width: 100%;

    padding: 15px 0;

    border: none;
    outline: none;

    background: transparent;

    color: #183a6a;

    font-family: var(--font-body);
    font-size: 17px;
}


.simulation-search input::placeholder {
    color: #71859d;
}


.simulation-filters {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: 16px;
}


.simulation-filter {
    border: 2px solid #c7e6f7;

    background: #e9f5fc;

    color: #0b2b63;

    padding: 10px 19px;

    border-radius: 14px;

    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.15s ease,
        background 0.15s ease;
}


.simulation-filter:hover {
    transform: translateY(-2px);
}


.simulation-filter.active {
    background: #ffc928;
    border-color: #ffc928;
}


/* =========================================================
   SIMULATIONS LIBRARY
========================================================= */

.simulations-library {
    width: min(92%, 1500px);
    margin: 0 auto;
}


/* =========================================================
   GRID
========================================================= */

.simulations-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 34px 28px;
}


/* =========================================================
   SIMULATION CARD
========================================================= */

.simulation-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-width: 0;

    background:
        linear-gradient(
            rgba(255, 250, 240, 0.94),
            rgba(255, 250, 240, 0.94)
        );

    border: 4px solid #2e67ad;

    padding: 20px;

    box-sizing: border-box;

    box-shadow:
        9px 10px 0 rgba(11, 43, 99, 0.08);

    transform: rotate(-0.15deg);
}


.simulation-card:nth-child(even) {
    transform: rotate(0.15deg);
}


/* =========================================================
   TAPE
========================================================= */

.simulation-tape {
    position: absolute;

    z-index: 5;

    top: -16px;
    left: 50%;

    width: 92px;
    height: 30px;

    transform:
        translateX(-50%)
        rotate(-2deg);

    background: rgba(236, 210, 137, 0.72);

    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.06);
}


/* =========================================================
   COVER
========================================================= */

.simulation-cover-area {
    position: relative;

    width: 100%;

    margin-bottom: 18px;
}


.simulation-cover {
    display: block;

    width: 100%;
    height: 245px;

    object-fit: cover;

    border: 3px solid #182433;

    box-sizing: border-box;
}


.simulation-cover-placeholder {
    width: 100%;
    height: 245px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #dceefa;

    border: 3px solid #182433;

    box-sizing: border-box;

    color: #0b2b63;

    font-size: 22px;
    font-weight: 800;
}


/* =========================================================
   CATEGORY LABEL
========================================================= */

.simulation-category {
    position: absolute;

    left: 12px;
    bottom: -10px;

    display: inline-block;

    padding: 9px 17px;

    background: #ffc928;

    color: #111;

    border: 3px solid #17212e;

    box-shadow:
        4px 4px 0 rgba(0, 0, 0, 0.08);

    font-size: 15px;
    font-weight: 800;

    transform: rotate(-1deg);
}


/* =========================================================
   CARD CONTENT
========================================================= */

.simulation-card-content {
    display: flex;
    flex-direction: column;

    flex: 1;

    padding: 4px 6px 2px;
}


.simulation-card-content h2 {
    margin: 0 0 12px;

    color: #151515;

    font-family: var(--font-heading);
    font-size: clamp(28px, 2.2vw, 40px);
    line-height: 1.03;
}


.simulation-card-content p {
    margin: 0 0 30px;

    color: #252525;

    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.45;
}


/* =========================================================
   OPEN SIMULATION
========================================================= */

.simulation-open {
    align-self: flex-start;

    margin-top: auto;

    padding-bottom: 7px;

    color: #2465ad;

    border-bottom: 5px solid #2e67ad;

    text-decoration: none;

    font-family: monospace;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.4px;

    transition:
        transform 0.15s ease,
        color 0.15s ease;
}


.simulation-open:hover {
    color: #0b2b63;
    transform: translateX(4px);
}


/* =========================================================
   EMPTY / NO RESULTS
========================================================= */

.simulations-empty,
.simulations-no-results {
    padding: 80px 30px;

    text-align: center;

    color: #0b2b63;
}


.simulations-empty h2,
.simulations-no-results h3 {
    margin-bottom: 10px;

    font-family: var(--font-heading);
    font-size: 34px;
}


.simulations-empty p,
.simulations-no-results p {
    font-size: 17px;
}


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

@media (max-width: 1100px) {

    .simulations-intro {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

}


@media (max-width: 700px) {

    .simulations-intro {
        width: 90%;
        padding-top: 35px;
    }

    .simulations-intro-title {
        gap: 10px;
    }

    .simulations-bulb {
        font-size: 38px;
    }

    .simulations-intro h1 {
        font-size: 45px;
        padding-left: 18px;
        padding-right: 18px;
    }

    .simulations-intro-title p {
        font-size: 17px;
    }

    .simulations-library {
        width: 90%;
    }

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

    .simulation-cover {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .simulation-cover-placeholder {
        height: auto;
        aspect-ratio: 16 / 9;
    }

}
/* =========================================================
   BACK TO STEM LAB SIMULATIONS
   ========================================================= */

main > a.back-to-simulations {
    display: inline-flex;
    align-items: center;

    margin-bottom: 12px;
    padding: 8px 14px;

    background: #fff4cc;
    border: 2px solid #0b2b63;
    border-radius: 8px;

    color: #0b2b63 !important;
    text-decoration: none !important;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;

    transition: transform 0.15s ease,
                background 0.15s ease;
}

main > a.back-to-simulations:hover {
    background: #ffc928;
    color: #0b2b63 !important;
    text-decoration: none !important;
    transform: translateX(-3px);
}