﻿/*
    STYLE GUIDE

*/

@import url('https://fonts.cdnfonts.com/css/reey');

:root {
    --teal: #76A2AA;
    --mauve: #B7AAB0;
    --cream: #FBF8F6;
    --soft: #F4EFED;
    --white: #FFFFFF;
    --ink: #2F2F2F;
    --muted: rgba(47, 47, 47, 0.72);
    --container: 1120px;
    --radius: 18px;
    --radius-lg: 26px;
    --hairline: 1px solid rgba(47, 47, 47, 0.10);
    --shadow-soft: 0 16px 50px rgba(0, 0, 0, 0.10);
}

@font-face {
    font-family: 'TT Prosto Sans Condensed';
    src: url('../tt_prosto_sans/TTProstoSans-TrialRegular.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    background: var(--cream);
    color: var(--ink);
    line-height: 1.65;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
video {
    max-width: 100%;
    display: block;
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin: 0 auto;
}

h1,
h2,
h3 {
    font-family: 'TT Prosto Sans Condensed', "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    margin: 0;
}

h1 {
    font-size: clamp(40px, 5vw, 60px);
}

h2 {
    font-size: clamp(28px, 3.4vw, 42px);
}

h3 {
    font-size: 20px;
    font-weight: 700;
}

.h-raleway {
    font-family: 'TT Prosto Sans Condensed', "Raleway", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    letter-spacing: 0.1px;
}

.muted {
    color: var(--muted);
}

.small {
    font-size: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: 0.2px;
    line-height: 1.2;
    white-space: nowrap;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.18s ease, opacity 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

    .btn:hover,
    .btn:focus {
        transform: translateY(-1px);
        text-decoration: none;
    }

    .btn:active {
        transform: translateY(1px);
    }

.btn-primary {
    background: var(--teal);
    color: var(--white);
    border-color: var(--teal);
}

    .btn-primary:hover,
    .btn-primary:focus {
        background: #678f96;
        color: var(--white);
        border-color: #678f96;
    }

.btn-soft {
    background: rgba(118, 162, 170, 0.12);
    border-color: rgba(118, 162, 170, 0.32);
    color: var(--teal);
}

    .btn-soft:hover,
    .btn-soft:focus {
        background: rgba(118, 162, 170, 0.18);
        border-color: rgba(118, 162, 170, 0.5);
        color: var(--teal);
    }

.btn-light {
    background: var(--white);
    color: var(--teal);
    border-color: rgba(255, 255, 255, 0.95);
}

    .btn-light:hover,
    .btn-light:focus {
        background: rgba(255, 255, 255, 0.92);
        color: var(--teal);
        border-color: rgba(255, 255, 255, 0.92);
    }

.btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.55);
    color: var(--white);
}

    .btn-outline:hover,
    .btn-outline:focus {
        background: rgba(255, 255, 255, 0.10);
        border-color: rgba(255, 255, 255, 0.78);
        color: var(--white);
    }

.btn-outline-dark {
    background: transparent;
    border-color: rgba(47, 47, 47, 0.22);
    color: var(--ink);
}

    .btn-outline-dark:hover,
    .btn-outline-dark:focus {
        background: rgba(47, 47, 47, 0.04);
        border-color: rgba(47, 47, 47, 0.38);
        color: var(--ink);
    }

header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(251, 248, 246, 0.88);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(47, 47, 47, 0.08);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
}

.brand {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 220px;
}

    .brand strong {
        font-family: "Outfit", sans-serif;
        font-size: 20px;
        font-weight: 700;
    }

    .brand span {
        font-size: 12px;
        color: var(--muted);
        font-weight: 800;
    }

nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    color: rgba(47, 47, 47, 0.84);
    font-weight: 800;
}

    nav a {
        padding: 8px 10px;
        border-radius: 12px;
    }

        nav a:hover,
        nav a:focus {
            background: rgba(118, 162, 170, 0.10);
        }

.nav-cta {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    min-width: 220px;
}

.hero {
    position: relative;
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: stretch;
}

.hero-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: #222;
}

    .hero-media video,
    .hero-media img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: scale(1.02);
    }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(900px 600px at 18% 18%, rgba(118, 162, 170, 0.35), transparent 58%), linear-gradient(to top, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.28) 55%, rgba(0, 0, 0, 0.18));
}

.hero-inner {
    position: relative;
    width: 100%;
    display: flex;
    align-items: flex-end;
    padding: 52px 0;
}

.hero-content {
    max-width: 72ch;
    color: var(--white);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.92);
    font-weight: 800;
    font-size: 13px;
    backdrop-filter: blur(6px);
}

    .eyebrow .dot {
        width: 10px;
        height: 10px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.12);
    }

.hero-content p {
    margin: 14px 0 22px;
    font-size: 18px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.90);
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.hero-note {
    margin-top: 12px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.84);
}

section {
    padding: 92px 0;
}

.section-soft {
    background: var(--soft);
    border-top: var(--hairline);
    border-bottom: var(--hairline);
}

.section-head {
    max-width: 74ch;
    margin: 0 auto 28px;
    text-align: center;
}

    .section-head p {
        margin: 10px 0 0;
    }

.about-banner {
    width: min(980px, 100%);
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.70);
    border: 1px solid rgba(47, 47, 47, 0.10);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
}

.about-img {
    min-height: 340px;
    background: linear-gradient(135deg, rgba(183, 170, 176, 0.22), rgba(118, 162, 170, 0.14)), url("../img/Caz.png");
    background-size: cover;
    background-position: center;
    position: relative;
}

    .about-img::after {
        content: "Swap for her portrait / family photo";
        position: absolute;
        left: 14px;
        top: 14px;
        font-size: 12px;
        font-weight: 900;
        color: rgba(47, 47, 47, 0.72);
        background: rgba(255, 255, 255, 0.75);
        border: 1px solid rgba(47, 47, 47, 0.12);
        padding: 8px 10px;
        border-radius: 999px;
    }

.about-copy {
    padding: 26px 26px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

    .about-copy p {
        margin: 0;
        font-weight: 700;
        color: rgba(47, 47, 47, 0.74);
    }

.about-actions {
    margin-top: 10px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    width: min(1120px, 100%);
    margin: 0 auto;
    align-items: stretch;
}

.tile {
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(47, 47, 47, 0.10);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

    .tile:hover {
        transform: translateY(-2px);
        box-shadow: 0 18px 52px rgba(0, 0, 0, 0.10);
    }

.tile-topline {
    height: 6px;
    background: linear-gradient(90deg, rgba(118, 162, 170, 0.95), rgba(183, 170, 176, 0.90));
}

.tile-body {
    padding: 18px 18px 14px;
}

.tile-tag {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(118, 162, 170, 0.10);
    border: 1px solid rgba(118, 162, 170, 0.22);
    color: rgba(118, 162, 170, 0.95);
    font-weight: 900;
    font-size: 12px;
    letter-spacing: 0.2px;
    margin-bottom: 10px;
}

.tile p {
    margin: 10px 0 0;
    color: rgba(47, 47, 47, 0.74);
    font-weight: 700;
}

.tile-foot {
    margin-top: auto;
    padding: 14px 18px 18px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.course {
    background: linear-gradient(180deg, rgba(118, 162, 170, 0.10), rgba(183, 170, 176, 0.10));
    border-top: 1px solid rgba(47, 47, 47, 0.10);
    border-bottom: 1px solid rgba(47, 47, 47, 0.10);
}

.course-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 26px;
    align-items: center;
    width: min(980px, 100%);
    margin: 0 auto;
}

.course-media {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(47, 47, 47, 0.10);
    min-height: 360px;
    background: linear-gradient(135deg, rgba(183, 170, 176, 0.18), rgba(118, 162, 170, 0.14)), url("../img/sleepLab.png");
    background-size: cover;
    background-position: center;
    position: relative;
}

    .course-media::after {
        content: "Swap for course/workbook image";
        position: absolute;
        left: 14px;
        top: 14px;
        font-size: 12px;
        font-weight: 900;
        color: rgba(47, 47, 47, 0.72);
        background: rgba(255, 255, 255, 0.75);
        border: 1px solid rgba(47, 47, 47, 0.12);
        padding: 8px 10px;
        border-radius: 999px;
    }

.course-copy p {
    margin: 12px 0 18px;
    font-weight: 700;
    color: rgba(47, 47, 47, 0.74);
}

.course-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.kindwords {
    padding: 72px 0;
    background: radial-gradient(900px 450px at 15% 30%, rgba(183, 170, 176, 0.28), transparent 62%), radial-gradient(900px 450px at 85% 25%, rgba(118, 162, 170, 0.28), transparent 62%), rgba(255, 255, 255, 0.35);
    border-top: 1px solid rgba(47, 47, 47, 0.10);
    border-bottom: 1px solid rgba(47, 47, 47, 0.10);
}

.kw-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 18px;
}

.quote {
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(47, 47, 47, 0.10);
    border-radius: var(--radius);
    padding: 18px 18px 16px;
    position: relative;
}

    .quote::before {
        content: "\201C";
        position: absolute;
        top: 6px;
        left: 12px;
        font-family: "Outfit", sans-serif;
        font-size: 54px;
        color: rgba(183, 170, 176, 0.55);
        line-height: 1;
    }

    .quote p {
        margin: 22px 0 12px;
        font-weight: 700;
        color: rgba(47, 47, 47, 0.78);
    }

    .quote .who {
        display: flex;
        justify-content: space-between;
        gap: 10px;
        flex-wrap: wrap;
        font-weight: 900;
        color: rgba(47, 47, 47, 0.62);
        font-size: 13px;
    }

.stars {
    color: var(--teal);
}

.cta {
    padding: 86px 0;
    background: radial-gradient(900px 420px at 10% 15%, rgba(183, 170, 176, 0.26), transparent 60%), radial-gradient(900px 420px at 90% 20%, rgba(255, 255, 255, 0.16), transparent 62%), var(--teal);
    color: var(--white);
}

.cta-inner {
    width: min(980px, 100%);
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

    .cta-inner p {
        margin: 12px auto 22px;
        max-width: 72ch;
        color: rgba(255, 255, 255, 0.92);
        font-weight: 700;
    }


.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    width: min(1120px, 100%);
    margin: 0 auto;
}

.post {
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(47, 47, 47, 0.10);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.post-thumb {
    height: 170px;
    background: linear-gradient(135deg, rgba(183, 170, 176, 0.22), rgba(118, 162, 170, 0.14));
    border-bottom: 1px solid rgba(47, 47, 47, 0.10);
    position: relative;
    overflow: hidden;
}

    .post-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .post-thumb::after {
        content: "Blog image";
        position: absolute;
        left: 14px;
        top: 14px;
        font-size: 12px;
        font-weight: 900;
        color: rgba(47, 47, 47, 0.62);
        background: rgba(255, 255, 255, 0.70);
        border: 1px solid rgba(47, 47, 47, 0.12);
        padding: 8px 10px;
        border-radius: 999px;
    }

.post-body {
    padding: 16px 18px 18px;
}

.post-meta {
    font-size: 12px;
    font-weight: 900;
    color: rgba(47, 47, 47, 0.58);
    letter-spacing: 0.2px;
    text-transform: uppercase;
}

.post p {
    margin: 10px 0 0;
    color: rgba(47, 47, 47, 0.72);
    font-weight: 700;
}

.post-foot {
    margin-top: auto;
    padding: 0 18px 18px;
}

.ig {
    background: rgba(255, 255, 255, 0.35);
    border-top: 1px solid rgba(47, 47, 47, 0.10);
    border-bottom: 1px solid rgba(47, 47, 47, 0.10);
}

.ig-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    width: min(1120px, 100%);
    margin: 0 auto;
}

.ig-tile {
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(118, 162, 170, 0.22), rgba(183, 170, 176, 0.22));
    border: 1px solid rgba(47, 47, 47, 0.10);
    position: relative;
    overflow: hidden;
}

    .ig-tile::after {
        content: "IG";
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 900;
        color: rgba(47, 47, 47, 0.45);
    }

.cta-mini {
    padding: 86px 0;
    background: radial-gradient(900px 420px at 10% 15%, rgba(183, 170, 176, 0.26), transparent 60%), radial-gradient(900px 420px at 90% 20%, rgba(255, 255, 255, 0.16), transparent 62%), var(--teal);
    color: var(--white);
}

.cta-mini-inner {
    text-align: left;
    width: min(980px, 100%);
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    box-shadow: var(--shadow-soft);
}

    .cta-mini-inner h3 {
        color: var(--white);
    }

    .cta-mini-inner p {
        margin: 10px 0 0;
        color: rgba(255, 255, 255, 0.92);
        font-weight: 700;
        max-width: 70ch;
    }

footer {
    padding: 40px 0 34px;
    background: rgba(255, 255, 255, 0.35);
    border-top: 1px solid rgba(47, 47, 47, 0.10);
}

.footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.certs {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.cert {
    width: 120px;
    height: 54px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.70);
    border: 1px solid rgba(47, 47, 47, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: rgba(47, 47, 47, 0.55);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(47, 47, 47, 0.10);
    padding-top: 16px;
    color: rgba(47, 47, 47, 0.66);
    font-weight: 800;
    font-size: 14px;
}

@media (max-width: 980px) {
    .nav {
        flex-wrap: wrap;
    }

    .brand,
    .nav-cta {
        min-width: auto;
    }

    .about-banner,
    .course-grid,
    .tiles,
    .kw-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .ig-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767.98px) {
    .container {
        width: min(var(--container), calc(100% - 32px));
    }

    section,
    .cta,
    .kindwords,
    .cta-mini {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .hero {
        min-height: auto;
    }

    .hero-inner {
        min-height: calc(100vh - 64px);
        padding: 36px 0;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-actions,
    .about-actions,
    .course-actions,
    .tile-foot,
    .nav-cta,
    .cta-mini-inner {
        flex-direction: column;
        align-items: stretch;
    }

    nav {
        width: 100%;
        justify-content: flex-start;
    }

    .btn {
        width: 100%;
    }

    .cta-inner,
    .cta-mini-inner,
    .about-copy,
    .tile-body,
    .tile-foot,
    .post-body,
    .post-foot {
        padding-left: 16px;
        padding-right: 16px;
    }

    .ig-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Subtle CTA enhancement (gentle glow + lift) */
.cta-mini-inner {
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .cta-mini-inner:hover {
        transform: translateY(-3px);
        box-shadow: 0 20px 60px rgba(0,0,0,0.16);
    }

    /* soft animated glow layer */
    .cta-mini-inner::before {
        content: "";
        position: absolute;
        inset: -1px;
        border-radius: inherit;
        background: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.25), transparent 60%), radial-gradient(circle at 80% 20%, rgba(255,255,255,0.18), transparent 60%);
        opacity: 0;
        transition: opacity 0.4s ease;
        pointer-events: none;
    }

    .cta-mini-inner:hover::before {
        opacity: 1;
    }

/* button micro-interaction */
.cta-mini .btn,
.cta .btn {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

    .cta-mini .btn:hover,
    .cta .btn:hover {
        box-shadow: 0 12px 30px rgba(0,0,0,0.16);
    }

/* optional gentle pulse for primary CTA */
@keyframes ctaPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255,255,255,0.35);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255,255,255,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255,255,255,0);
    }
}

.cta-mini .btn-primary:hover {
    animation: ctaPulse 1.4s ease-out;
}


.BlogHomeContainer a {
    font-family: 'Reey';
    line-height: 2;
    color: #76A2AA
}

    .BlogHomeContainer a:hover {
        color: #b7abb0;
        text-decoration: none;
    }

.BlogHomeContainer.Button {
    font-family: 'Poppins';
}

.BlogHomeImage {
    overflow: hidden;
}

    .BlogHomeImage img {
        max-width: 100%;
        transition: all 0.8s;
        display: block;
        width: 100%;
        height: auto;
        transform: scale(1);
    }

    .BlogHomeImage:hover img {
        transform: scale(1.1);
        overflow: hidden;
    }

.BlogImg {
    position: relative;
    top: -240px;
    z-index: -1;
}

.BlogArticleBody {
    margin-top: -400px;
    background-color: #ffffff;
}

.BlogHomeWrap {
    min-height: 675px;
}