@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;600;700;800&family=Fredoka:wght@500;600;700&display=swap');

:root {
    --teal: #0787a8;
    --teal-dark: #05657f;
    --teal-deep: #064d61;
    --aqua: #dff5f8;
    --aqua-soft: #f2fbfc;
    --ink: #173943;
    --muted: #5e7379;
    --white: #fff;
    --line: #d8edf1;
    --shadow: 0 18px 45px rgba(5, 101, 127, .12)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--ink);
    font-family: 'DM Sans', sans-serif;
    background: #fff
}

a {
    color: inherit
}

.nav {
    height: 94px;
    padding: 0 max(5vw, 24px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, .96);
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px)
}

.logo-link {
    display: block;
    width: 190px;
    height: 78px;
    overflow: hidden;
    position: relative;
    text-decoration: none
}

.logo-link img {
    position: absolute;
    width: 300px;
    max-width: none;
    left: -58px;
    top: -62px
}

.nav nav {
    display: flex;
    gap: 30px
}

.nav nav a {
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    padding: 10px 2px;
    position: relative
}

.nav nav a:after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 3px;
    height: 3px;
    background: var(--teal);
    border-radius: 4px;
    transition: .2s
}

.nav nav a.active,
.nav nav a:hover {
    color: var(--teal-dark)
}

.nav nav a.active:after,
.nav nav a:hover:after {
    right: 0
}

.menu {
    display: none;
    border: 0;
    background: none;
    font-size: 26px;
    color: var(--teal-dark);
    cursor: pointer
}

.hero {
    min-height: 640px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 50px;
    padding: 70px max(7vw, 30px);
    background: radial-gradient(circle at 88% 18%, rgba(7, 135, 168, .12), transparent 25%), linear-gradient(135deg, #fff 15%, var(--aqua-soft) 100%)
}

.hero-copy {
    max-width: 680px
}

.eyebrow {
    font-size: 12px;
    letter-spacing: 2.1px;
    font-weight: 800;
    color: var(--teal-dark);
    text-transform: uppercase
}

h1,
h2,
h3 {
    font-family: 'Fredoka', sans-serif;
    margin-top: 0
}

h1 {
    font-size: clamp(48px, 6vw, 80px);
    line-height: 1;
    margin: 18px 0 25px
}

h1 em {
    color: var(--teal);
    font-style: normal
}

h2 {
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.08
}

.hero p,
.page-hero p {
    font-size: 18px;
    line-height: 1.7;
    max-width: 650px;
    color: var(--muted)
}

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

.btn {
    display: inline-block;
    border: 0;
    border-radius: 999px;
    padding: 15px 24px;
    text-decoration: none;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    transition: .2s
}

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

.primary {
    background: var(--teal);
    color: #fff;
    box-shadow: 0 9px 22px rgba(7, 135, 168, .25)
}

.primary:hover {
    background: var(--teal-dark)
}

.secondary {
    background: #fff;
    border: 2px solid var(--line);
    color: var(--teal-dark)
}

.light {
    background: #fff;
    color: var(--teal-dark)
}

.hero-logo-card {
    min-height: 430px;
    display: grid;
    place-items: center;
    position: relative
}

.hero-logo-card:before,
.hero-logo-card:after {
    content: "✦";
    position: absolute;
    color: var(--teal);
    opacity: .25;
    font-size: 42px
}

.hero-logo-card:before {
    left: 5%;
    top: 8%
}

.hero-logo-card:after {
    right: 7%;
    bottom: 12%;
    font-size: 28px
}

.logo-frame {
    width: min(100%, 520px);
    aspect-ratio: 1.28/1;
    background: #fff;
    border-radius: 48% 42% 45% 40%;
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--line)
}

.logo-frame img {
    position: absolute;
    width: 125%;
    max-width: none;
    left: -12%;
    top: -14%
}



/* Homepage illustrated book artwork */
.hero-art {
    height: 430px;
    position: relative;
    min-width: 0;
}

.book {
    position: absolute;
    left: 20%;
    top: 26%;
    width: 270px;
    height: 190px;
    background: var(--teal);
    border: 10px solid #fff;
    border-radius: 20px 35px 25px 12px;
    transform: rotate(-6deg);
    box-shadow: 18px 22px 0 var(--teal-dark), 0 28px 50px rgba(5, 101, 127, .22);
    display: grid;
    place-items: center;
    text-align: center;
    color: #fff;
    font-family: 'Fredoka', sans-serif;
    font-size: 26px;
    line-height: 1.15;
}

.book:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    height: 100%;
    border-left: 3px solid rgba(255, 255, 255, .55);
}

.book span {
    position: relative;
    z-index: 1;
}

.book i {
    position: absolute;
    right: 24px;
    top: 20px;
    color: #fff;
    font-style: normal;
}

.sun {
    position: absolute;
    right: 8%;
    top: 2%;
    font-size: 65px;
    color: var(--teal);
    opacity: .35;
}

.wand {
    position: absolute;
    left: 8%;
    bottom: 10%;
    font-size: 72px;
    color: var(--teal-dark);
    transform: rotate(-25deg);
}

.cloud {
    position: absolute;
    color: #fff;
    font-size: 75px;
    text-shadow: 0 8px 18px rgba(5, 101, 127, .15);
}

.c1 {
    left: 2%;
    top: 2%;
}

.c2 {
    right: 0;
    bottom: 5%;
}

.stars {
    position: absolute;
    right: 12%;
    top: 40%;
    font-size: 38px;
    color: var(--teal);
    transform: rotate(15deg);
    opacity: .65;
}

.intro {
    text-align: center;
    padding: 90px max(6vw, 25px)
}

.intro>p {
    max-width: 680px;
    margin: -18px auto 45px;
    color: var(--muted);
    line-height: 1.7
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    max-width: 1100px;
    margin: auto;
    text-align: left
}

.cards article {
    background: #fff;
    padding: 32px;
    border-radius: 25px;
    border: 1px solid var(--line);
    box-shadow: 0 14px 35px rgba(5, 101, 127, .07);
    transition: .2s
}

.cards article:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow)
}

.cards h3 {
    font-size: 23px;
    margin: 18px 0 8px
}

.cards p {
    color: var(--muted);
    line-height: 1.6
}

.cards a {
    color: var(--teal-dark);
    font-weight: 800;
    text-decoration: none
}

.icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 27px;
    background: var(--aqua)
}

.pink,
.yellow,
.blue {
    background: var(--aqua)
}

.why {
    padding: 85px max(8vw, 30px);
    background: var(--aqua-soft);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center
}

.why p {
    line-height: 1.7;
    color: var(--muted)
}

.ticks {
    display: grid;
    gap: 14px;
    margin-top: 25px;
    font-weight: 700
}

.ticks span:first-letter {
    color: var(--teal)
}

.quote {
    background: #fff;
    padding: 55px;
    border-radius: 35px;
    box-shadow: 15px 15px 0 var(--aqua)
}

.quote>span {
    font-family: serif;
    font-size: 80px;
    line-height: .3;
    color: var(--teal)
}

.quote p {
    font-family: 'Fredoka';
    font-size: 30px;
    color: var(--ink)
}

.quote b {
    color: var(--teal-dark)
}

.cta {
    text-align: center;
    padding: 80px 25px;
    background: linear-gradient(135deg, var(--teal-dark), var(--teal));
    color: #fff
}

.cta>span {
    font-size: 35px;
    color: #fff
}

.cta h2 {
    margin: 12px 0
}

.cta p {
    margin: 0 0 25px;
    color: #e5f8fb
}

.page-hero {
    text-align: center;
    padding: 90px 25px 75px;
    background: linear-gradient(135deg, #fff, var(--aqua-soft))
}

.page-hero h1 {
    font-size: clamp(48px, 6vw, 76px);
    max-width: 900px;
    margin: 18px auto 25px
}

.page-hero p {
    margin: auto
}

.page-logo {
    width: 120px;
    height: 85px;
    overflow: hidden;
    position: relative;
    margin: 0 auto 18px
}

.page-logo img {
    position: absolute;
    width: 210px;
    max-width: none;
    left: -45px;
    top: -48px
}

.about-grid {
    padding: 85px max(8vw, 30px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px
}

.about-grid>div>p {
    line-height: 1.8;
    color: var(--muted);
    font-size: 17px
}

.values {
    display: grid;
    gap: 16px
}

.values article {
    padding: 25px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 10px 25px rgba(5, 101, 127, .05)
}

.values b {
    color: var(--teal);
    font-size: 13px
}

.values h3 {
    margin: 5px 0;
    font-size: 22px
}

.values p {
    margin: 0;
    color: var(--muted)
}

.contact-wrap {
    max-width: 1050px;
    margin: auto;
    padding: 70px 25px 90px;
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 60px
}

.contact-note {
    padding: 35px
}

.bigstar {
    font-size: 50px;
    color: var(--teal)
}

.contact-note p {
    color: var(--muted);
    line-height: 1.7
}

.contact-note>a {
    display: block;
    color: var(--teal-dark);
    font-weight: 800;
    margin: 25px 0;
    overflow-wrap: anywhere
}

.mini {
    padding: 20px;
    background: var(--aqua);
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.6
}

.contact-wrap form {
    background: #fff;
    padding: 35px;
    border-radius: 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--line)
}

.contact-wrap label {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
    font-weight: 800;
    font-size: 14px
}

.contact-wrap input,
.contact-wrap select,
.contact-wrap textarea {
    width: 100%;
    border: 1px solid #cfe3e7;
    border-radius: 13px;
    padding: 14px;
    font: inherit;
    background: #fff;
    outline: none
}

.contact-wrap input:focus,
.contact-wrap select:focus,
.contact-wrap textarea:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(7, 135, 168, .12)
}

.form-note {
    font-size: 12px !important;
    color: #6c7f84 !important;
    margin: 14px 0 0 !important
}

footer {
    text-align: center;
    padding: 42px 25px;
    background: var(--teal-deep);
    color: #fff
}

.footer-logo {
    width: 150px;
    height: 100px;
    overflow: hidden;
    position: relative;
    margin: 0 auto 8px;
    background: #fff;
    border-radius: 18px
}

.footer-logo img {
    position: absolute;
    width: 255px;
    max-width: none;
    left: -53px;
    top: -58px
}

footer p {
    color: #d9f0f4;
    margin: 15px 0 7px
}

footer>a {
    color: #fff;
    text-decoration: none;
    font-weight: 700
}

footer small {
    display: block;
    color: #a9d3dc;
    margin-top: 26px
}

@media(max-width:780px) {
    .nav {
        height: 78px
    }

    .logo-link {
        width: 155px;
        height: 68px
    }

    .logo-link img {
        width: 260px;
        left: -53px;
        top: -55px
    }

    .nav nav {
        display: none;
        position: absolute;
        top: 78px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px 28px;
        flex-direction: column;
        gap: 5px;
        box-shadow: 0 15px 25px rgba(5, 101, 127, .12)
    }

    .nav nav.open {
        display: flex
    }

    .menu {
        display: block
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 55px
    }

    .hero-logo-card {
        min-height: 330px
    }

    .logo-frame {
        width: min(100%, 430px)
    }

    .cards,
    .why,
    .about-grid,
    .contact-wrap {
        grid-template-columns: 1fr
    }

    .cards {
        max-width: 500px
    }

    .why,
    .about-grid {
        gap: 35px
    }

    .contact-wrap {
        gap: 15px
    }

    .quote {
        padding: 38px
    }

    .hero h1 {
        font-size: 52px
    }

    .hero p {
        font-size: 16px
    }
}

@media(max-width:430px) {
    .hero {
        padding-left: 22px;
        padding-right: 22px
    }

    .hero h1 {
        font-size: 45px
    }

    .hero-logo-card {
        min-height: 280px
    }

    .actions .btn {
        width: 100%;
        text-align: center
    }

    .contact-note,
    .contact-wrap form {
        padding: 25px
    }
}

@media(max-width:780px) {
    .hero-art {
        height: 330px;
    }

    .book {
        left: 20%;
        top: 26%;
        width: 220px;
        height: 155px;
        font-size: 21px;
    }

    .sun {
        font-size: 55px;
    }

    .wand {
        font-size: 58px;
    }
}

@media(max-width:430px) {
    .hero-art {
        height: 280px;
    }

    .book {
        left: 15%;
        top: 25%;
        width: 190px;
        height: 135px;
        font-size: 19px;
        border-width: 8px;
    }

    .sun {
        font-size: 48px;
    }

    .wand {
        font-size: 50px;
    }

    .stars {
        font-size: 30px;
    }
}

/* Embedded logo (image data lives inside each HTML file) */
.embedded-logo{display:flex;align-items:center;width:190px;height:76px;overflow:hidden;text-decoration:none}
.embedded-logo img{display:block;width:100%;height:100%;object-fit:contain}
@media(max-width:780px){.embedded-logo{width:155px;height:64px}.embedded-footer-logo{width:150px;height:92px}}
