/* ==========================================================================
   Talk In Tenses – landing page
   Structure: tokens → base → layout → components → sections → breakpoints,
   then feature blocks (games, awards, booking modal, header, workshops).
   Later numbered blocks deliberately refine earlier ones, so keep the order.
   Table of contents: search for the numbered banners ("/* ---- N." or "   N.").
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
    /* Colour */
    --c-ink: #1f1b4d; /* headings, strong text */
    --c-text: #5a5780; /* body copy */
    --c-muted: #8b88a8; /* captions, placeholders */
    --c-accent: #d9443a; /* primary action */
    --c-accent-dark: #b3453b; /* text links */
    --c-accent-soft: #ffe9e6; /* pill backgrounds, borders */
    --c-glow: rgba(244, 102, 92, 0.35);
    --c-line: #ececf3;
    --c-surface: #ffffff;
    --c-tint: #f7f6fc;
    --c-gold: #f5b942;
    /* Type */
    --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-head: "Plus Jakarta Sans", "DM Sans", system-ui, sans-serif;
    /* Shape & depth */
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-pill: 999px;
    --shadow-soft: 0 12px 32px rgba(31, 27, 77, 0.08);
    --shadow-lift: 0 24px 60px rgba(31, 27, 77, 0.14);
    /* Spacing */
    --space-section: clamp(3.5rem, 8vw, 6.5rem);
    --gutter: clamp(1.25rem, 5vw, 4.5rem);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--c-text);
    background: var(--c-surface);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    margin: 0;
    font-family: var(--font-head);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--c-ink);
}

p {
    margin: 0 0 1rem;
}

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
}

:focus-visible {
    outline: 3px solid var(--c-ink);
    outline-offset: 3px;
}

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

    *, *::before, *::after {
        transition: none !important;
        animation: none !important;
    }
}

/* ---------- 3. Layout ---------- */
.container {
    width: 100%;
    max-width: 1160px;
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.container--narrow {
    max-width: 860px;
}

.section__head--center {
    margin-inline: auto;
    text-align: center;
}

.section__title {
    font-size: clamp(2rem, 4.5vw, 3rem);
}

.section__sub {
    margin-top: 0.9rem;
    font-size: 1.125rem;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.grid--features {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.grid--pricing {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: stretch;
}

.grid--reviews {
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

/* ---------- 4. Components ---------- */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 1.9rem;
    font: 700 1rem/1 var(--font-body);
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

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

.btn--primary {
    color: #fff;
    background: var(--c-accent);
    box-shadow: 0 10px 24px var(--c-glow);
}

    .btn--primary:hover {
        background: #c23a31;
        box-shadow: 0 14px 30px var(--c-glow);
    }

.btn--outline {
    color: var(--c-ink);
    background: transparent;
    border-color: var(--c-ink);
}

    .btn--outline:hover {
        color: #fff;
        background: var(--c-ink);
    }

.btn--sm {
    padding: 0.7rem 1.4rem;
    font-size: 0.95rem;
}

.btn--block {
    width: 100%;
}

/* Cards */
.card {
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

/* Text link */

/* Check list */
.checklist {
    display: grid;
    gap: 0.6rem;
    margin-block: 1.25rem 1.75rem;
}

    .checklist li {
        position: relative;
        padding-left: 1.75rem;
        color: var(--c-ink);
    }

        .checklist li::before {
            content: "✓";
            position: absolute;
            left: 0;
            font-weight: 700;
            color: var(--c-accent);
        }

/* Pill / badge */
.pill {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    margin: 0;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--c-ink);
    border: 1px solid #ffc9c2;
    border-radius: var(--radius-pill);
    background: #fff;
}

/* Image placeholders – delete the dashed look once real <img> tags are in */
.photo {
    display: grid;
    place-items: center;
    padding: 1rem;
    text-align: center;
    font-size: 0.95rem;
    color: var(--c-muted);
    background: var(--c-tint);
    border-radius: var(--radius-lg);
    object-fit: cover;
}

/* Floating chips */
.chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.1rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--c-ink);
    background: #fff;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-soft);
    white-space: nowrap;
}

/* ---------- 5. Sections ---------- */

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 4.5rem;
}

.site-header__actions {
    display: flex;
    align-items: center;
}

.site-nav {
    display: none;
}

    .site-nav a {
        font-weight: 500;
        color: var(--c-ink);
        text-decoration: none;
    }

        .site-nav a:hover {
            color: var(--c-accent-dark);
        }

.site-header__actions .btn--outline {
    display: none;
}

@media (min-width: 700px) {
    .site-header__actions .btn--outline {
        display: inline-flex;
    }
}

@media (min-width: 900px) {
    .site-nav {
        display: flex;
    }
}

.logo {
    text-decoration: none;
}

/* Hero */
.hero {
    overflow: hidden;
}

.hero__inner {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--c-ink);
}

.hero__title {
    letter-spacing: -0.045em;
    line-height: 1.02;
}

.hero__lead {
    max-width: 36rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero__visual {
    position: relative;
}

    .hero__visual .photo {
        position: absolute;
    }

.photo--kid {
    width: 46%;
    height: 52%;
    left: 4%;
    top: 18%;
    transform: rotate(-3deg);
}

.photo--teen {
    width: 40%;
    height: 46%;
    right: 4%;
    top: 0;
    transform: rotate(3deg);
}

.photo--adult {
    width: 42%;
    height: 40%;
    right: 10%;
    bottom: 4%;
}

/* Features */

.feature__title {
    font-size: 1.35rem;
    letter-spacing: -0.02em;
}

/* Programs */
.program {
    align-items: flex-start;
}

.program__audience {
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 0.85rem;
}

.program__title {
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
}

.program__outcome {
    margin-bottom: 1.25rem;
}

/* Bootcamp offer */
.offer {
    max-width: 760px;
    margin-inline: auto;
    padding: clamp(1.75rem, 5vw, 3rem);
    text-align: center;
    background: var(--c-tint);
    border-radius: var(--radius-lg);
}

.offer__tag {
    margin-bottom: 0.75rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--c-accent-dark);
}

.offer__title {
    margin-bottom: 0.75rem;
    font-size: clamp(2rem, 4.5vw, 2.75rem);
}

.offer .checklist {
    justify-content: center;
    width: fit-content;
    margin-inline: auto;
    text-align: left;
}

.offer__price {
    display: grid;
    gap: 0.15rem;
    margin-bottom: 1.75rem;
}

.offer__old {
    color: var(--c-muted);
}

.offer__new {
    font-family: var(--font-head);
    font-size: clamp(2.5rem, 7vw, 4rem);
    letter-spacing: -0.04em;
    color: var(--c-ink);
}

.offer__note {
    font-size: 0.95rem;
    color: var(--c-muted);
}

/* Pricing */
.plan {
    position: relative;
    display: flex;
    flex-direction: column;
}

.plan__name {
    font-size: 1.5rem;
    letter-spacing: -0.02em;
}

.plan__price {
    margin-bottom: 0;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 2.75rem;
    letter-spacing: -0.04em;
    color: var(--c-ink);
}

    .plan__price span {
        font-family: var(--font-body);
        font-weight: 400;
        font-size: 1rem;
        letter-spacing: 0;
        color: var(--c-muted);
    }

.plan .checklist {
    flex: 1;
}

/* Founder */
.founder {
    display: grid;
    gap: 2.5rem;
    align-items: start;
}

.award {
    display: inline-block;
    margin: 1rem 0 0;
    padding: 0.55rem 1.1rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--c-ink);
    background: #fff6e0;
    border-radius: var(--radius-pill);
}

.founder__timeline-title {
    margin: 2rem 0 1.25rem;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
}

.timeline {
    position: relative;
    display: grid;
    gap: 1.5rem;
    padding-left: 1.75rem;
    border-left: 2px solid var(--c-line);
}

/* Scholarship callout */
.callout {
    max-width: 820px;
    margin-inline: auto;
    padding: clamp(1.75rem, 5vw, 3rem);
    text-align: center;
    background: var(--c-ink);
    border-radius: var(--radius-lg);
}

    .callout, .callout p {
        color: #dcdaf2;
    }

.callout__title {
    margin-bottom: 1rem;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: #fff;
}

.callout p {
    max-width: 36rem;
    margin-inline: auto;
    margin-bottom: 1.5rem;
}

/* Reviews */
.review {
    display: flex;
    flex-direction: column;
    margin: 0;
}

.video {
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 16 / 10;
    margin-bottom: 1.25rem;
    padding: 0;
    color: var(--c-muted);
    background: var(--c-tint);
    border: 0;
    border-radius: var(--radius-md);
    cursor: pointer;
    overflow: hidden;
}

    .video:hover .video__play {
        transform: scale(1.1);
    }

.video__play {
    font-size: 1.75rem;
    transition: transform 0.2s ease;
}

.video iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.review__stars {
    margin-bottom: 0.6rem;
    color: var(--c-accent-dark);
    letter-spacing: 0.1em;
}

.review__quote {
    flex: 1;
    margin: 0 0 1.25rem;
}

.review figcaption {
    display: grid;
}

    .review figcaption strong {
        color: var(--c-ink);
    }

    .review figcaption span {
        font-size: 0.95rem;
        color: var(--c-muted);
    }

/* FAQ */
.faq {
    display: grid;
    gap: 0.9rem;
}

.faq__item {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-md);
}

.faq__q {
    font-size: 1rem;
    letter-spacing: 0;
}

.faq__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1.25rem 1.5rem;
    font: 700 1.05rem/1.4 var(--font-body);
    text-align: left;
    color: var(--c-ink);
    background: none;
    border: 0;
    border-radius: var(--radius-md);
    cursor: pointer;
}

.faq__icon {
    position: relative;
    flex: none;
    width: 14px;
    height: 14px;
}

    .faq__icon::before, .faq__icon::after {
        content: "";
        position: absolute;
        inset: 50% 0 auto 0;
        height: 3px;
        margin-top: -1.5px;
        background: var(--c-accent-dark);
        border-radius: 2px;
        transition: transform 0.25s ease;
    }

    .faq__icon::after {
        transform: rotate(90deg);
    }

.faq__toggle[aria-expanded="true"] .faq__icon::after {
    transform: rotate(0deg);
}

.faq__a {
    padding: 0 1.5rem 1.25rem;
}

    .faq__a p {
        margin: 0;
    }

/* Final CTA */
.cta {
    text-align: center;
    background: var(--c-tint);
}

.cta__title {
    font-size: clamp(2rem, 5vw, 3.25rem);
}

.cta__sub {
    margin: 0.9rem 0 2rem;
    font-size: 1.15rem;
}

.cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* Footer */
.site-footer {
    text-align: center;
}

.social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.75rem;
    margin-bottom: 1.25rem;
}

    .social a {
        color: var(--c-text);
        text-decoration: none;
    }

        .social a:hover {
            color: var(--c-accent-dark);
            text-decoration: underline;
            text-underline-offset: 4px;
        }

.site-footer__copy {
    margin: 0;
    font-size: 0.9rem;
    color: var(--c-muted);
}

/* Games */
.section--tint {
    background: var(--c-tint);
}

.games {
    max-width: 820px;
    margin-inline: auto;
}

.games__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.games__tab {
    padding: 0.7rem 1.3rem;
    font: 700 0.95rem/1 var(--font-body);
    color: var(--c-ink);
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

    .games__tab:hover {
        border-color: var(--c-ink);
    }

    .games__tab.is-active {
        color: #fff;
        background: var(--c-ink);
        border-color: var(--c-ink);
    }

.games__panel {
    padding: clamp(1.25rem, 4vw, 2.25rem);
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.games__bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
    margin-bottom: 1.5rem;
}

.games__intro, .games__score {
    margin: 0;
    font-size: 0.95rem;
}

.games__score {
    font-weight: 700;
    color: var(--c-ink);
}

.games__q {
    margin: 0 0 1.25rem;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--c-ink);
}

.games__options {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.games__option {
    padding: 0.9rem 1.1rem;
    font: 500 1rem/1.3 var(--font-body);
    text-align: left;
    color: var(--c-ink);
    background: #fff;
    border: 2px solid var(--c-line);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

    .games__option:hover:not(:disabled) {
        border-color: var(--c-ink);
    }

    .games__option:disabled {
        cursor: default;
        color: var(--c-ink);
    }

    .games__option.is-correct {
        border-color: #1f8a5b;
        background: #e8f6ef;
    }

        .games__option.is-correct::after {
            content: " ✓";
            font-weight: 700;
            color: #1f8a5b;
        }

    .games__option.is-wrong {
        border-color: var(--c-accent);
        background: var(--c-accent-soft);
    }

        .games__option.is-wrong::after {
            content: " ✗";
            font-weight: 700;
            color: var(--c-accent-dark);
        }

.games__tiles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.games__tile {
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.9rem;
    font: 800 1.35rem/1 var(--font-head);
    text-transform: uppercase;
    color: var(--c-ink);
    background: var(--c-accent-soft);
    border-radius: 12px;
}

.games__hint {
    margin-bottom: 1rem;
}

.games__answer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.games__input {
    flex: 1 1 200px;
    padding: 0.85rem 1.2rem;
    font: 500 1.05rem/1.2 var(--font-body);
    color: var(--c-ink);
    border: 2px solid var(--c-line);
    border-radius: var(--radius-pill);
}

    .games__input:focus-visible {
        border-color: var(--c-ink);
        outline-offset: 2px;
    }

.games__feedback {
    min-height: 1.6em;
    margin: 1.25rem 0 0;
    font-weight: 500;
    color: var(--c-ink);
}

    .games__feedback.is-correct {
        color: #1b7a52;
    }

    .games__feedback.is-wrong {
        color: var(--c-accent-dark);
    }

.games__footer {
    display: flex;
    justify-content: flex-end;
}

.btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.games__result {
    padding: 1rem 0;
    text-align: center;
}

.games__result-score {
    margin-bottom: 0.75rem;
    font-size: clamp(2.25rem, 6vw, 3.5rem);
}

.games__result-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

/* ---------- 6. Breakpoints ---------- */
@media (min-width: 900px) {
    .hero__inner {
        grid-template-columns: 1.15fr 1fr;
    }

    .founder {
        grid-template-columns: 0.8fr 1.2fr;
        gap: 4rem;
    }
}

@media (max-width: 599px) {

    .chip {
        font-size: 0.85rem;
        padding: 0.55rem 0.9rem;
    }

    .btn {
        width: 100%;
    }

    .site-header .btn {
        width: auto;
    }

    .card {
        padding: 1.5rem;
    }
}

/* ---------- 7. Games v2: Word of the Day, Flashcards, Hangman, Sentence Builder ---------- */
.games [hidden] {
    display: none !important;
}

.games .btn {
    width: auto;
}

.games__footer {
    flex-wrap: wrap;
    gap: 0.75rem;
}

.games__footer--split {
    justify-content: space-between;
}

.games__footer-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.games__tabs {
    row-gap: 0.5rem;
}

/* Word of the Day */
.wotd {
    padding: 0.5rem 0 1rem;
    text-align: center;
}

.wotd__date {
    margin-bottom: 0.75rem;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--c-accent-dark);
}

.wotd__word {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: clamp(2.5rem, 8vw, 4rem);
    letter-spacing: -0.04em;
}

.wotd__say {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    font-size: 1.2rem;
    background: var(--c-accent-soft);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease;
}

    .wotd__say:hover {
        transform: scale(1.08);
    }

.wotd__pos {
    margin: 0.25rem 0 1rem;
    font-style: italic;
    color: var(--c-muted);
}

.wotd__meaning {
    max-width: 34rem;
    margin: 0 auto 1.25rem;
    font-size: 1.2rem;
    color: var(--c-ink);
}

.wotd__example {
    max-width: 34rem;
    margin: 0 auto;
    padding: 1rem 1.25rem;
    color: var(--c-ink);
    background: var(--c-accent-soft);
    border-radius: var(--radius-md);
}

/* Flip flashcards (3D) */
.flip__card {
    display: block;
    width: 100%;
    max-width: 520px;
    height: 260px;
    margin: 0 auto;
    padding: 0;
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    border-radius: var(--radius-lg);
    cursor: pointer;
    perspective: 1200px;
}

.flip__inner {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.flip__card.is-flipped .flip__inner {
    transform: rotateY(180deg);
}

.flip__face {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.5rem;
    text-align: center;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.flip__face--front {
    color: #fff;
    background: var(--c-ink);
}

.flip__face--back {
    color: var(--c-ink);
    background: var(--c-accent-soft);
    transform: rotateY(180deg);
}

.flip__label {
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.7;
}

.flip__word {
    font: 800 clamp(2rem, 6vw, 3rem)/1.1 var(--font-head);
    letter-spacing: -0.03em;
}

.flip__tip {
    font-size: 0.9rem;
    opacity: 0.75;
}

.flip__meaning {
    font: 700 1.25rem/1.35 var(--font-head);
}

.flip__example {
    font-style: italic;
}

/* Hangman */
.hm {
    display: grid;
    gap: 1.5rem;
    align-items: center;
}

.hm__svg {
    width: 100%;
    max-width: 200px;
    margin-inline: auto;
    fill: none;
    stroke: var(--c-ink);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hm__part {
    stroke: var(--c-accent);
    opacity: 0;
    transition: opacity 0.2s ease;
}

    .hm__part.is-shown {
        opacity: 1;
    }

.hm__word {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    min-height: 3rem;
    margin-bottom: 1.25rem;
}

.hm__slot {
    display: grid;
    place-items: center;
    width: 2.2rem;
    height: 2.8rem;
    font: 800 1.5rem/1 var(--font-head);
    text-transform: uppercase;
    color: var(--c-ink);
    border-bottom: 4px solid var(--c-ink);
}

    .hm__slot.is-missed {
        color: var(--c-accent-dark);
        border-color: var(--c-accent);
    }

.hm__keys {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(2.5rem, 1fr));
    gap: 0.4rem;
}

.hm__key {
    padding: 0.6rem 0;
    font: 700 1rem/1 var(--font-body);
    text-transform: uppercase;
    color: var(--c-ink);
    background: #fff;
    border: 2px solid var(--c-line);
    border-radius: 12px;
    cursor: pointer;
}

    .hm__key:hover:not([aria-disabled="true"]) {
        border-color: var(--c-ink);
    }

    .hm__key[aria-disabled="true"] {
        cursor: default;
        opacity: 0.5;
    }

    .hm__key.is-hit {
        background: #e8f6ef;
        border-color: #1f8a5b;
    }

    .hm__key.is-miss {
        background: var(--c-accent-soft);
        border-color: var(--c-accent);
    }

/* Sentence builder */
.sb__label {
    margin: 1.25rem 0 0.5rem;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-muted);
}

    .sb__label:first-child {
        margin-top: 0;
    }

.sb__answer, .sb__bank {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    min-height: 4.25rem;
    padding: 0.8rem;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.sb__answer {
    align-items: center;
    background: #fff;
    border: 2px dashed #c9c6de;
}

    .sb__answer:empty::before {
        content: "Drag or tap words here to build your sentence";
        color: var(--c-muted);
    }

.sb__bank {
    background: var(--c-tint);
}

.sb__answer.is-over, .sb__bank.is-over {
    background: var(--c-accent-soft);
    border-color: var(--c-ink);
}

.sb__answer.is-correct {
    background: #e8f6ef;
    border-style: solid;
    border-color: #1f8a5b;
}

.sb__answer.is-wrong {
    border-style: solid;
    border-color: var(--c-accent);
}

.sb__chip {
    padding: 0.6rem 1.05rem;
    font: 700 1rem/1.2 var(--font-body);
    color: var(--c-ink);
    background: #fff;
    border: 2px solid var(--c-line);
    border-radius: var(--radius-pill);
    box-shadow: 0 2px 0 var(--c-line);
    cursor: grab;
    touch-action: manipulation;
    user-select: none;
}

    .sb__chip:hover:not(:disabled) {
        border-color: var(--c-ink);
    }

    .sb__chip:active {
        cursor: grabbing;
    }

    .sb__chip.is-dragging {
        opacity: 0.4;
    }

    .sb__chip:disabled {
        cursor: default;
    }

@media (min-width: 700px) {
    .hm {
        grid-template-columns: 200px 1fr;
    }
}

@media (max-width: 599px) {
    .flip__card {
        height: 230px;
    }
}

/* Word of the Day: phonetic spelling under the word */
.wotd__phonetic {
    margin: 0.25rem 0 0;
    font-size: 1.15rem;
    letter-spacing: 0.02em;
    color: var(--c-text);
}

/* ---------- 8. More games: Snakes & Ladders, Memory Match, Speed Round ---------- */

/* Snakes & Ladders */
.sn__controls { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.75rem 1.25rem; margin-bottom: 1rem; }
.sn__controls label { display: grid; gap: 0.25rem; font-weight: 700; font-size: 0.85rem; color: var(--c-ink); }
.sn__controls select {
    padding: 0.55rem 0.9rem;
    font: 500 0.95rem/1.2 var(--font-body);
    color: var(--c-ink);
    background: #fff;
    border: 2px solid var(--c-line);
    border-radius: var(--radius-pill);
}
.sn__start { display: flex; align-items: center; gap: 0.5rem; min-height: 2rem; margin-bottom: 0.5rem; font-size: 0.85rem; font-weight: 700; color: var(--c-muted); }
.sn__boardwrap { position: relative; width: 100%; max-width: 600px; margin: 0 auto 1rem; }
.sn__board {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 2px;
    width: 100%;
    margin: 0;
    padding: 2px;
    background: var(--c-line);
    border-radius: var(--radius-md);
}
.sn__cell {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    aspect-ratio: 1;
    min-width: 0;
    padding: 2px 3px;
    overflow: hidden;
    background: #fff;
}
.sn__cell:nth-child(odd) { background: var(--c-tint); }
.sn__cell--ladder { background: #e8f6ef !important; }
.sn__cell--snake { background: var(--c-accent-soft) !important; }
.sn__cell--goal { background: #fff6e0 !important; }
.sn__num { font-size: 0.6rem; line-height: 1; color: var(--c-muted); }
.sn__tag { font-size: 0.6rem; line-height: 1; font-weight: 700; color: var(--c-ink); text-align: right; }
.sn__tokens { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 1px; }
.sn__art { position: absolute; inset: 2px; z-index: 1; width: calc(100% - 4px); height: calc(100% - 4px); pointer-events: none; }
.sn__token {
    display: inline-grid;
    place-items: center;
    width: 1.15rem;
    height: 1.15rem;
    font-size: 0.65rem;
    font-weight: 800;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(31, 27, 77, 0.4);
}
.sn__token--p1 { background: var(--c-accent); }
.sn__token--p2 { background: #2563eb; }
.sn__play { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 0.5rem; }
.sn__dice { font-size: 2.5rem; line-height: 1; color: var(--c-ink); }
.sn__question { min-height: 1rem; }

/* Memory Match */
.mm__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; max-width: 640px; margin: 0 auto; }
.mm__card {
    position: relative;
    aspect-ratio: 4 / 3;
    padding: 0;
    font: inherit;
    background: none;
    border: 0;
    cursor: pointer;
    perspective: 800px;
}
.mm__inner { position: absolute; inset: 0; transition: transform 0.45s ease; transform-style: preserve-3d; }
.mm__card.is-flipped .mm__inner { transform: rotateY(180deg); }
.mm__face {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 0.35rem;
    text-align: center;
    border-radius: var(--radius-md);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
.mm__face--front { font: 800 1.75rem/1 var(--font-head); color: #fff; background: var(--c-ink); }
.mm__face--back { transform: rotateY(180deg); font-size: 0.72rem; line-height: 1.25; color: var(--c-ink); background: var(--c-accent-soft); border: 2px solid #ffc9c2; }
.mm__face--word { font: 800 1rem/1.2 var(--font-head); background: #fff6e0; border-color: #f5d58a; }
.mm__card.is-matched .mm__face--back { background: #e8f6ef; border-color: #1f8a5b; }
.mm__card:focus-visible { outline: 3px solid var(--c-ink); outline-offset: 2px; border-radius: var(--radius-md); }

/* Speed Round */
.sp__track { height: 10px; margin-bottom: 1.25rem; overflow: hidden; background: var(--c-line); border-radius: var(--radius-pill); }
.sp__bar { width: 100%; height: 100%; background: var(--c-accent); transition: width 0.2s linear; }

@media (max-width: 599px) {
    .sn__num, .sn__tag { font-size: 0.5rem; }
    .sn__cell { padding: 1px 2px; }
    .sn__token { width: 0.95rem; height: 0.95rem; font-size: 0.55rem; border-width: 1px; }
    .mm__grid { gap: 0.4rem; }
    .mm__face--back { font-size: 0.6rem; }
    .mm__face--word { font-size: 0.8rem; }
}
@media (prefers-reduced-motion: reduce) {
    .mm__inner, .sp__bar { transition: none; }
}

/* ==========================================================================
   9. Awards
   ========================================================================== */
.awards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    gap: 1.75rem;
    max-width: 960px;
    margin: 0 auto;
}

.award-card {
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(31, 27, 77, 0.08);
}

.award-card__img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: var(--c-tint);
}

.award-card__body {
    padding: 1.25rem 1.5rem 1.5rem;
    text-align: left;
}

.award-card__badge {
    display: inline-block;
    margin-bottom: 0.6rem;
    padding: 0.2rem 0.75rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--c-ink);
    background: var(--c-gold);
    border-radius: 999px;
}

.award-card__title {
    margin: 0 0 0.3rem;
    font-size: 1.25rem;
    color: var(--c-ink);
}

.award-card__event {
    margin: 0 0 0.75rem;
    font-weight: 600;
    color: var(--c-accent-dark);
}

.award-card__meta {
    margin: 0.2rem 0;
    font-size: 0.92rem;
    font-weight: 400;
    color: var(--c-text);
}
/* ==========================================================================
   10. Booking window (Calendly inside our own modal)
   ========================================================================== */
body.is-modal-open {
    overflow: hidden;
}

.cal-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3.25rem 1rem 1rem;
    background: rgba(31, 27, 77, 0.6);
}

.cal-modal__box {
    position: relative;
    width: min(100%, 1000px);
    height: min(100%, 780px);
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
}

.cal-modal__stage {
    position: relative;
    flex: 1;
    min-height: 0;
}

.cal-modal__help {
    margin: 0;
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
    text-align: center;
    color: var(--c-text);
    background: var(--c-tint);
    border-top: 1px solid var(--c-line);
}

    .cal-modal__help a {
        font-weight: 700;
        color: var(--c-accent-dark);
    }

.cal-modal__frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.cal-modal__loading {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    margin: 0;
    color: var(--c-text);
}

.cal-modal__close {
    position: absolute;
    top: 0.6rem;
    right: 0.9rem;
    z-index: 2;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    font-size: 1.7rem;
    line-height: 1;
    color: var(--c-ink);
    background: #fff;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}


/* ==========================================================================
   11. Floating WhatsApp button
   ========================================================================== */
.wa-float {
    position: fixed;
    right: 1.1rem;
    bottom: 1.1rem;
    z-index: 900;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.1rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
    background: #1fa855;
    border-radius: 999px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

    .wa-float:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
    }

    .wa-float:focus-visible {
        outline: 3px solid var(--c-ink);
        outline-offset: 2px;
    }

@media (max-width: 520px) {
    .wa-float span {
        display: none;
    }

    .wa-float {
        padding: 0.85rem;
    }
}

/* ==========================================================================
   12. Interactive cards: "Why us" features and program tiles
   ========================================================================== */
.tone--coral {
    --tone: #d9443a;
    --tone-soft: #ffe9e6;
}

.tone--violet {
    --tone: #6c4cf1;
    --tone-soft: #efeaff;
}

.tone--amber {
    --tone: #c98600;
    --tone-soft: #fff1cf;
}

.tone--teal {
    --tone: #0f9d8a;
    --tone-soft: #dcf6f1;
}

.tone--blue {
    --tone: #2f6fed;
    --tone-soft: #e3ecff;
}

.icon-tile {
    display: grid;
    place-items: center;
    width: 3.4rem;
    height: 3.4rem;
    margin-bottom: 1.1rem;
    color: var(--tone);
    background: var(--tone-soft);
    border-radius: 18px;
    transition: background 0.25s ease, color 0.25s ease, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

    .icon-tile svg {
        width: 1.7rem;
        height: 1.7rem;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.feature-wrap, .program-wrap {
    display: flex;
}

.feature {
    flex: 1;
    padding: 1.7rem 1.5rem 1.8rem;
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px rgba(31, 27, 77, 0.04);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature__title {
    color: var(--c-ink);
}

.feature p:last-child {
    margin-bottom: 0;
}

.program {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 2rem 1.75rem 1.9rem;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

    .program::before {
        content: "";
        position: absolute;
        inset: 0 0 auto 0;
        height: 5px;
        background: var(--tone);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.4s ease;
    }

    .program::after {
        content: "";
        position: absolute;
        z-index: -1;
        inset: 0;
        background: radial-gradient(120% 90% at 100% 0%, var(--tone-soft), transparent 62%);
        opacity: 0;
        transition: opacity 0.35s ease;
    }

.program__audience {
    padding: 0.2rem 0.7rem;
    background: var(--tone-soft);
    color: var(--tone);
    border-radius: var(--radius-pill);
}

.program__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 700;
    color: var(--tone);
    text-decoration: none;
}

    .program__cta::after {
        content: "";
        position: absolute;
        inset: 0;
    }

.program__arrow {
    width: 1.15rem;
    height: 1.15rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.25s ease;
}

.program__cta:focus-visible {
    outline: 3px solid var(--c-ink);
    outline-offset: 4px;
    border-radius: 6px;
}

@media (hover: hover) {
    .feature:hover {
        transform: translateY(-8px);
        border-color: var(--tone);
        box-shadow: var(--shadow-lift);
    }

        .feature:hover .icon-tile,
        .program:hover .icon-tile {
            background: var(--tone);
            color: #fff;
            transform: rotate(-6deg) scale(1.1);
        }

    .program:hover {
        transform: translateY(-12px) scale(1.03);
        border-color: var(--tone);
        box-shadow: 0 32px 64px rgba(31, 27, 77, 0.2);
        z-index: 2;
    }

        .program:hover::before {
            transform: scaleX(1);
        }

        .program:hover::after {
            opacity: 1;
        }

        .program:hover .program__arrow {
            transform: translateX(6px);
        }
}

.program:focus-within {
    border-color: var(--tone);
    box-shadow: 0 0 0 3px var(--tone-soft), var(--shadow-lift);
}

    .program:focus-within::before {
        transform: scaleX(1);
    }

.program:active {
    transform: scale(0.99);
}

@media (prefers-reduced-motion: reduce) {
    .feature, .program, .icon-tile, .program::before, .program::after, .program__arrow {
        transition: none;
    }

        .feature:hover, .program:hover {
            transform: none;
        }
}

/* ==========================================================================
   13. Meet the founder
   ========================================================================== */
.founder__media {
    position: relative;
}

.founder__photo {
    position: relative;
    margin: 0 0 2.2rem;
    padding: 14px;
    background: linear-gradient(145deg, var(--c-accent-soft), #efeaff 70%);
    border-radius: 32px;
    box-shadow: var(--shadow-soft);
}

    .founder__photo img {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 5;
        object-fit: cover;
        object-position: top center;
        border-radius: 22px;
    }

.founder__badge {
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    bottom: -1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    background: #fff;
    border: 1px solid #f1dfae;
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(31, 27, 77, 0.16);
}

    .founder__badge strong {
        display: block;
        font-size: 0.95rem;
        color: var(--c-ink);
    }

    .founder__badge small {
        display: block;
        font-size: 0.8rem;
        color: var(--c-text);
    }

.founder__badge-icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 2.6rem;
    height: 2.6rem;
    color: #8a5a00;
    background: #fff1cf;
    border-radius: 14px;
}

    .founder__badge-icon svg,
    .journey__icon svg {
        width: 1.4rem;
        height: 1.4rem;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.founder__eyebrow {
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--c-accent-dark);
}

.founder__pillars {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.25rem 0 1.5rem;
    padding: 0;
    list-style: none;
}

    .founder__pillars li {
        padding: 0.35rem 0.9rem;
        font-weight: 700;
        font-size: 0.85rem;
        color: var(--c-ink);
        background: var(--c-tint);
        border: 1px solid var(--c-line);
        border-radius: var(--radius-pill);
    }

.founder__mission {
    margin-bottom: 2rem;
    padding: 1.1rem 1.4rem;
    background: linear-gradient(135deg, #fff6e0, #fff);
    border-left: 5px solid var(--c-gold);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

    .founder__mission p {
        margin: 0;
        font-size: 1.1rem;
        font-weight: 500;
        color: var(--c-ink);
    }

    .founder__mission .founder__mission-label {
        margin-bottom: 0.3rem;
        font-size: 0.8rem;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: #8a5a00;
    }

.journey {
    position: relative;
    display: grid;
    gap: 1rem;
    margin: 0 0 2rem;
    padding: 0;
    list-style: none;
}

    .journey::before {
        content: "";
        position: absolute;
        left: 1.45rem;
        top: 1.5rem;
        bottom: 1.5rem;
        width: 2px;
        background: var(--c-line);
    }

.journey__item {
    position: relative;
    display: flex;
    gap: 1rem;
    padding: 0.9rem 1.1rem 0.9rem 0.9rem;
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-md);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.journey__icon {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    flex: none;
    width: 2.6rem;
    height: 2.6rem;
    color: var(--c-accent);
    background: var(--c-accent-soft);
    border-radius: 14px;
}

.journey__text h4 {
    margin: 0 0 0.2rem;
    font-size: 1.05rem;
    color: var(--c-ink);
}

.journey__text p {
    margin: 0;
    font-size: 0.95rem;
}

.journey__link {
    display: inline-block;
    margin-top: 0.4rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--c-accent-dark);
}

.journey__item.is-award {
    background: linear-gradient(135deg, #fff9e8, #fff);
    border-color: #f1dfae;
}

    .journey__item.is-award .journey__icon {
        color: #8a5a00;
        background: #ffe7a8;
    }

@media (hover: hover) {
    .journey__item:hover {
        transform: translateX(6px);
        border-color: var(--c-accent);
        box-shadow: var(--shadow-soft);
    }

    .journey__item.is-award:hover {
        border-color: #e0b44a;
    }
}

.founder__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

@media (min-width: 900px) {
    .founder__media {
        position: sticky;
        top: 6.5rem;
    }
}

@media (max-width: 599px) {
    .founder__badge {
        left: 0.75rem;
        right: 0.75rem;
    }
}

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

        .journey__item:hover {
            transform: none;
        }
}

/* ==========================================================================
   14. Header: solid at the top, frosted glass once the page scrolls
   ========================================================================== */
.site-header {
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid transparent;
    transition: background-color 0.35s ease, backdrop-filter 0.35s ease, -webkit-backdrop-filter 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

    .site-header.is-scrolled {
        background: rgba(255, 255, 255, 0.55);
        -webkit-backdrop-filter: blur(18px) saturate(180%);
        backdrop-filter: blur(18px) saturate(180%);
        border-bottom-color: rgba(255, 255, 255, 0.6);
        box-shadow: 0 8px 32px rgba(31, 27, 77, 0.10), inset 0 -1px 0 rgba(31, 27, 77, 0.05);
    }

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .site-header.is-scrolled {
        background: rgba(255, 255, 255, 0.97);
    }
}

@media (prefers-reduced-transparency: reduce) {
    .site-header.is-scrolled {
        background: #fff;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
}


/* ==========================================================================
   15. Workshops page
   ========================================================================== */
.page-hero {
    padding: 4.5rem 0 3rem;
    text-align: center;
    background: radial-gradient(90% 120% at 50% 0%, var(--c-accent-soft), transparent 70%);
}

.page-hero__eyebrow {
    margin-bottom: 0.75rem;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--c-accent-dark);
}

.page-hero h1 {
    max-width: 18ch;
    margin: 0 auto 1rem;
    font-size: clamp(2rem, 5vw, 3.3rem);
    line-height: 1.1;
    color: var(--c-ink);
}

.page-hero__lead {
    max-width: 40rem;
    margin: 0 auto 1.75rem;
    font-size: 1.1rem;
}

.page-hero__trust {
    margin: 1.5rem 0 0;
    font-size: 0.92rem;
}

    .page-hero__trust a {
        font-weight: 700;
        color: var(--c-accent-dark);
    }

.workshop__list {
    flex: 1;
    display: grid;
    align-content: start;
    gap: 0.65rem;
    margin: 0 0 1.5rem;
    padding: 0;
    list-style: none;
}

    .workshop__list li {
        position: relative;
        padding-left: 1.7rem;
    }

        .workshop__list li::before {
            content: "\2713";
            position: absolute;
            left: 0;
            top: 0.1rem;
            display: grid;
            place-items: center;
            width: 1.2rem;
            height: 1.2rem;
            font-size: 0.75rem;
            font-weight: 800;
            color: #fff;
            background: var(--tone);
            border-radius: 50%;
        }

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin: 0 0 3rem;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

    .steps li {
        padding: 1.6rem 1.5rem;
        background: var(--c-surface);
        border: 1px solid var(--c-line);
        border-radius: var(--radius-md);
        counter-increment: step;
    }

        .steps li::before {
            content: counter(step);
            display: grid;
            place-items: center;
            width: 2.4rem;
            height: 2.4rem;
            margin-bottom: 0.9rem;
            font-weight: 800;
            color: #fff;
            background: var(--c-accent);
            border-radius: 50%;
        }

    .steps h3 {
        margin: 0 0 0.4rem;
        color: var(--c-ink);
    }

    .steps p {
        margin: 0;
    }

.cta-band {
    padding: 2.75rem 1.5rem;
    text-align: center;
    color: #e9e7ff;
    background: linear-gradient(135deg, var(--c-ink), #3b2f9e);
    border-radius: var(--radius-lg);
}

    .cta-band h2 {
        margin: 0 0 0.5rem;
        color: #fff;
    }

    .cta-band p {
        margin: 0 auto 1.5rem;
    }

/* Hero photos: make the pictures fill their rounded frames */
/* Hero photos: make the pictures fill their rounded frames */
.hero__visual .photo {
    box-shadow: 0 18px 40px rgba(31, 27, 77, 0.18);
}

/* ==========================================================================
   16. Header fit (six nav links)
   ========================================================================== */
.site-header__inner {
    gap: 1rem;
}

.site-nav a,
.site-header .btn,
.site-header__actions .btn {
    white-space: nowrap; /* never wrap "Why Us" or the buttons */
}

.site-nav {
    gap: 1.25rem;
    font-size: 0.95rem;
}

.site-header__actions {
    gap: 0.5rem;
    flex-shrink: 0;
}

.site-header .btn--sm {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
}

/* Menu only appears where it really fits; below that the buttons stay */
@media (max-width: 1199px) {
    .site-nav {
        display: none;
    }
}

@media (min-width: 1200px) {
    .site-nav {
        display: flex;
        gap: 1.75rem;
        font-size: 1rem;
    }
}

/* Logo: no white box behind it on the glass header */
.logo img {
    background: transparent;
    mix-blend-mode: multiply;
}

/* ==========================================================================
   17. Layout fixes from the screen recording
   ========================================================================== */

/* Programs: 3 cards on top, the last 2 centred underneath (no empty slot) */
.grid--programs {
    grid-template-columns: repeat(6, 1fr);
}

    .grid--programs > .program-wrap {
        grid-column: span 2;
    }

        .grid--programs > .program-wrap:nth-child(4) {
            grid-column: 2 / span 2;
        }

        .grid--programs > .program-wrap:nth-child(5) {
            grid-column: 4 / span 2;
        }

@media (max-width: 899px) {
    .grid--programs {
        grid-template-columns: repeat(2, 1fr);
    }

        .grid--programs > .program-wrap,
        .grid--programs > .program-wrap:nth-child(4),
        .grid--programs > .program-wrap:nth-child(5) {
            grid-column: auto;
        }

            .grid--programs > .program-wrap:last-child {
                grid-column: 1 / -1;
            }
}

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

        .grid--programs > .program-wrap:last-child {
            grid-column: auto;
        }
}

/* Hero: title no longer leaves "with" alone on a line; photos get more room */

@media (max-width: 599px) {
    .hero__visual {
        min-height: 360px;
    }
}

/* ==========================================================================
   18. Header with no bar: floating pill appears only after scrolling
   ========================================================================== */
.site-header,
.site-header.is-scrolled {
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom-color: transparent;
    box-shadow: none;
}

.site-header__inner {
    margin-top: 0.6rem;
    padding-inline: 1.25rem;
    border: 1px solid transparent;
    border-radius: 999px;
    transition: min-height 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease, -webkit-backdrop-filter 0.3s ease;
}

.site-header.is-scrolled .site-header__inner {
    background: rgba(255, 255, 255, 0.84);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    backdrop-filter: blur(16px) saturate(180%);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 30px rgba(31, 27, 77, 0.12);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .site-header.is-scrolled .site-header__inner {
        background: rgba(255, 255, 255, 0.97);
    }
}

/* logo a little larger again (the new logo has built-in spacing) */

/* progress line now sits on the very top edge of the screen */

.hero__visual .photo {
    overflow: hidden;
    border: 6px solid #fff;
    border-radius: var(--radius-lg);
    background: var(--c-tint);
}

    .hero__visual .photo > img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 25%;
    }
/* ==========================================================================
   19. Big round logo that hangs below the slim pill
   ========================================================================== */
.logo {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

    .logo img {
        height: 100px; /* big enough to read the curved name */
        width: auto;
        margin-top: -8px; /* pulls it up so the pill stays slim */
        margin-bottom: -24px; /* lets it hang below the pill */
        filter: drop-shadow(0 6px 10px rgba(31, 27, 77, 0.18));
        transition: height 0.3s ease, margin 0.3s ease;
    }

/* after scrolling: smaller, tucked in */
.site-header.is-scrolled .logo img {
    height: 60px;
    margin-top: -4px;
    margin-bottom: -8px;
}

@media (max-width: 599px) {
    .logo img {
        height: 64px;
        margin-top: -6px;
        margin-bottom: -14px;
    }

    .site-header.is-scrolled .logo img {
        height: 50px;
        margin-top: -3px;
        margin-bottom: -6px;
    }
}

/* Disabled buttons (e.g. "Coming Soon!") */
.btn[disabled],
.btn[disabled]:hover {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
    filter: grayscale(0.25);
}

/* ==========================================================================
   20. Learning paths (replaces the Pricing cards)
   ========================================================================== */
.path {
    gap: 0;
}

.path__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.path__num {
    padding: 0.35rem 0.75rem;
    font: 800 0.85rem/1 var(--font-head);
    letter-spacing: 0.08em;
    color: var(--tone);
    background: var(--tone-soft);
    border-radius: var(--radius-pill);
}

.path__audience {
    margin: 0;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--c-muted);
    text-align: right;
}

.path .plan__name {
    margin: 0;
}

.path__tag {
    margin: 0.4rem 0 0.8rem;
    font: 700 1.02rem/1.35 var(--font-head);
    color: var(--tone);
}

.path__label {
    margin: 0;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--c-ink);
}

.path .checklist {
    margin-block: 0.7rem 1.5rem;
    gap: 0.55rem;
    font-size: 0.97rem;
    align-content: start;
}

    .path .checklist li::before {
        color: var(--tone);
    }

.path__list {
    flex: 1;
    margin-top: 0.9rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--c-line);
}

.path__fee {
    margin: 0 0 1.1rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--c-line);
}

    .path__fee .plan__price {
        font-size: 2.2rem;
    }

.plan__price--text {
    font-size: 1.2rem !important;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.path .btn {
    padding-inline: 1rem;
    text-align: center;
    justify-content: center;
}

.path__closing {
    max-width: 38rem;
    margin: 2.5rem auto 0;
    text-align: center;
    font: 700 1.15rem/1.45 var(--font-head);
    color: var(--c-ink);
}

/* Line everything up across the three cards: names, taglines, text, lists, prices and buttons
   share the same rows (CSS subgrid). Older browsers simply keep the normal stacked layout. */
@supports (grid-template-rows: subgrid) {
    .grid--paths > .path {
        display: grid;
        grid-row: span 6;
        grid-template-rows: subgrid;
        row-gap: 0;
        align-content: start;
    }

    .grid--paths {
        row-gap: 0;
        column-gap: 1.5rem;
    }

        .grid--paths > .path {
            margin-bottom: 1.5rem;
        }

    .path__fee {
        align-self: stretch;
    }
    /* names sit right above their taglines, even when one name needs two lines */
    .grid--paths > .path > .plan__name {
        align-self: end;
    }
}
/* ==========================================================================
   21. Polish pass: consistent headings, spacing, equal-height cards
   ========================================================================== */

/* --- calmer vertical rhythm (gaps were ~200px) --- */
.section {
    padding-block: clamp(3.5rem, 6vw, 5.5rem);
}

.section--tight {
    padding-block: clamp(2rem, 4vw, 3.5rem);
}

.section__head {
    margin-bottom: 2.25rem;
}

/* --- every section heading is centred and reads the same --- */
.section__head {
    max-width: 46rem;
    margin-inline: auto;
    text-align: center;
}

.section__sub {
    margin-inline: auto;
    max-width: 40rem;
    text-wrap: balance;
}

.section__head--center .section__sub {
    max-width: 46rem;
}

/* --- hero: buttons visible without scrolling, chips off the faces --- */
.hero {
    padding-block: clamp(1.5rem, 3vw, 2.5rem) clamp(3rem, 5vw, 4.5rem);
}

.hero__title {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    margin-bottom: 1.1rem;
    text-wrap: balance;
}

.hero__lead {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

.hero__actions {
    margin-top: 1.25rem;
}

.hero__visual {
    min-height: 520px;
}

.chip--sessions {
    right: 1%;
    top: 47%;
}

.chip--mentors {
    left: 0;
    bottom: 24%;
}

.chip--kit {
    left: 18%;
    bottom: 0;
}

/* --- Why us: titles reserve two lines so every body starts at the same height --- */
.feature__title {
    margin-bottom: 0.6rem;
}

@media (min-width: 900px) {
    .feature__title {
        min-height: 2.5em;
        display: flex;
        align-items: flex-start;
    }
}

/* --- Programs: equal-height tiles, links pinned to the bottom --- */
.program-wrap {
    height: 100%;
}

.program {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.program__outcome {
    flex: 1;
}

.program__cta {
    margin-top: auto;
}

/* --- Awards: both cards the same height, rows line up --- */
.awards {
    align-items: stretch;
}

.award-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.award-card__body {
    flex: 1;
}

@media (min-width: 760px) {
    .award-card__event {
        min-height: 3.1em;
    }
}

/* --- Bootcamp card: a little tighter --- */
.offer {
    padding-block: clamp(2rem, 4vw, 3rem);
}

/* --- Games: keep the tab pills centred and compact --- */
.games__tabs {
    justify-content: center;
}

/* ==========================================================================
   22. Polish pass 2: games, reviews, FAQ, CTA, footer
   ========================================================================== */

/* --- Games: no big empty hole between the answers and the Next button --- */
.games__stage {
    min-height: 0;
}

.games__footer {
    margin-top: 1.5rem;
}

.games__tabs {
    margin-bottom: 1.5rem;
}

/* --- Reviews: hide the empty grey video boxes until a real video link is added --- */
.video[data-video-src=""] {
    display: none;
}

.review {
    padding: 1.6rem 1.5rem 1.75rem;
}

.review__quote {
    font-size: 1.02rem;
    line-height: 1.65;
}

.review figcaption {
    padding-top: 1rem;
    border-top: 1px solid var(--c-line);
}

/* --- FAQ: comfortable width, tighter rows --- */
#faq .container {
    max-width: 820px;
}

/* --- Final call-to-action: closer to the content above and below --- */
.cta {
    padding-block: clamp(3rem, 6vw, 4.5rem);
}

.cta__title {
    text-wrap: balance;
}

/* --- Footer: a clear divider, roomier links --- */
.site-footer {
    padding-block: 2.25rem 2.5rem;
    border-top: 1px solid var(--c-line);
}

    .site-footer .social {
        gap: 0.6rem 1.75rem;
        margin-bottom: 1.25rem;
    }

        .site-footer .social a {
            font-weight: 600;
            color: var(--c-ink);
        }

            .site-footer .social a:hover {
                color: var(--c-accent-dark);
            }

/* ==========================================================================
   23. Mobile menu (hamburger + dropdown, below 1200px)
   The nav is hidden below 1200px by section 16. Here it becomes a dropdown panel that
   script.js opens by adding .is-open. At 1200px and up none of this applies.
   ========================================================================== */
.site-header__inner {
    position: relative; /* the dropdown is positioned against the pill */
}

.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; /* 44px = comfortable tap target */
    height: 44px;
    padding: 0;
    border: 1px solid var(--c-line);
    border-radius: 50%;
    background: var(--c-surface);
    color: var(--c-ink);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

/* The three lines are drawn with one bar plus its ::before and ::after */
.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.nav-toggle__bar {
    position: relative;
}

    .nav-toggle__bar::before,
    .nav-toggle__bar::after {
        content: "";
        position: absolute;
        left: 0;
    }

    .nav-toggle__bar::before { top: -6px; }
    .nav-toggle__bar::after { top: 6px; }

/* Open state: the three lines turn into an X */
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-6px) rotate(-45deg); }

/* The extra "Book Free Consultation" link exists only for the dropdown */
.site-nav__book {
    display: none;
}

/* Phones and tablets: dropdown panel under the pill */
@media (max-width: 1199px) {
    .site-nav.is-open {
        display: flex;
        flex-direction: column;
        gap: 0;
        position: absolute;
        top: calc(100% + 0.5rem);
        left: 0;
        right: 0;
        max-height: calc(100vh - 6.5rem); /* never taller than the screen... */
        max-height: calc(100dvh - 6.5rem); /* ...and correct on phones whose browser bar moves */
        overflow-y: auto;
        padding: 0.5rem;
        border: 1px solid var(--c-line);
        border-radius: var(--radius-md);
        background: var(--c-surface);
        box-shadow: var(--shadow-lift);
    }

    .site-nav.is-open a {
        padding: 0.9rem 1rem; /* big tap targets */
        border-radius: 12px;
        font-size: 1.05rem;
    }

    .site-nav.is-open a:hover,
    .site-nav.is-open a:focus-visible {
        background: var(--c-tint);
    }

    /* Book button sits at the bottom of the dropdown, styled like the other outline buttons */
    .site-nav.is-open .site-nav__book {
        display: block;
        margin-top: 0.5rem;
        border: 2px solid var(--c-ink);
        border-radius: var(--radius-pill);
        text-align: center;
        font-weight: 700;
    }

    /* While the menu is open the pill gets a solid background so the dropdown looks attached to it */
    .site-header.is-menu-open .site-header__inner {
        background: rgba(255, 255, 255, 0.97);
        border-color: rgba(255, 255, 255, 0.8);
        box-shadow: 0 10px 30px rgba(31, 27, 77, 0.12);
    }
}

/* Desktop: no hamburger */
@media (min-width: 1200px) {
    .nav-toggle {
        display: none;
    }
}

/* Very small phones: tighter header so logo + Join Course + hamburger always fit */
@media (max-width: 380px) {
    .site-header__inner {
        padding-inline: 0.75rem;
        gap: 0.5rem;
    }

    .site-header .btn--sm {
        padding: 0.55rem 0.8rem;
        font-size: 0.85rem;
    }
}

/* ==========================================================================
   24. Touch-friendly sizes (phones and tablets)
   Text-style links get invisible extra height so a thumb can hit them (about 44px).
   ========================================================================== */
@media (max-width: 1199px) {
    .program__cta,
    .site-header .btn--sm {
        min-height: 44px;
    }

    .program__cta {
        display: inline-flex;
        align-items: center;
    }

    .award-card__badge {
        font-size: 0.75rem; /* 12px: smallest text on the site */
    }
}
