/* Styles for the homepage and the Liverpool page. Loaded after style.min.css.
   /css/* is cached for a year (_headers): bump ?v= in index.html after editing. */

/* ---------- Hero ---------- */
.hero-header .hero-copy h1 {
    font-size: clamp(2.6rem, 5.5vw, 4.25rem);
    line-height: 1.05;
}

.hero-lead {
    font-size: clamp(1.1rem, 1.6vw, 1.3rem);
    line-height: 1.55;
    max-width: 30rem;
    margin-bottom: 2rem;
    opacity: .95;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem 1.5rem;
    margin-bottom: 1.75rem;
}

.hero-cta {
    padding: .95rem 2.1rem;
    font-weight: 600;
    color: var(--dark);
    border: 3px solid #1f0a4d;
    box-shadow: 0 6px 0 #1f0a4d;
    transition: transform .15s ease, box-shadow .15s ease;
}

.hero-cta:hover,
.hero-cta:focus-visible {
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 0 #1f0a4d;
}

.hero-quiz-link {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, .5);
    text-underline-offset: 4px;
}

.hero-quiz-link:hover,
.hero-quiz-link:focus-visible {
    color: #fff;
    text-decoration-color: var(--secondary);
}

.hero-rating {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    color: #fff;
    font-weight: 500;
}

.hero-rating:hover,
.hero-rating:focus-visible {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.hero-stars {
    color: var(--secondary);
    letter-spacing: .1em;
    font-size: 1.15rem;
}

/* Photo: one real photo in a white frame, gently tilted, with a caption tab */
.hero-photo-col {
    display: flex;
    justify-content: center;
}

.hero-photo {
    position: relative;
    width: min(420px, 100%);
    margin: 0;
    padding: 10px;
    background: #fff;
    border: 3px solid #1f0a4d;
    border-radius: 22px;
    transform: rotate(2deg);
    box-shadow: 12px 12px 0 var(--secondary);
}

.hero-photo img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
}

.hero-photo figcaption {
    position: absolute;
    left: -14px;
    bottom: 28px;
    padding: .5rem 1rem;
    background: var(--secondary);
    color: var(--dark);
    font-weight: 600;
    font-size: .95rem;
    border: 3px solid #1f0a4d;
    border-radius: 999px;
    transform: rotate(-4deg);
}

@media (max-width: 575.98px) {
    .hero-header .hero-copy h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 991.98px) {
    .hero-lead {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-rating {
        justify-content: center;
    }

    .hero-photo {
        width: min(320px, 88%);
        margin-top: .5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-cta,
    .hero-cta:hover {
        transition: none;
        transform: none;
    }
}

/* Menu button: keep "Book a free taster" on one line at laptop/tablet widths */
.navbar-collapse > .btn {
    white-space: nowrap;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .navbar-light .navbar-nav .nav-link {
        margin-right: 16px;
        font-size: 16px;
    }

    .navbar-collapse > .btn {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        margin-left: .5rem !important;
    }
}

/* ---------- Two ways to learn ---------- */
.ways-section {
    padding: 4rem 0 5rem;
    background: var(--light);
}

/* Highlighter-pen mark behind a word */
.hl {
    padding: 0 .2em;
    background: linear-gradient(transparent 55%, var(--secondary) 55%, var(--secondary) 92%, transparent 92%);
}

.ways-intro {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
}

.ways-card {
    --ways-accent: var(--primary);
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 3px solid #1f0a4d;
    border-radius: 24px;
    box-shadow: 9px 9px 0 var(--ways-accent);
    overflow: visible;
    transform: rotate(-1deg);
    transition: transform .2s ease, box-shadow .2s ease;
}

.ways-card--liverpool {
    --ways-accent: var(--secondary);
    transform: rotate(1deg);
}

.ways-card:hover {
    transform: rotate(0) translateY(-4px);
    box-shadow: 12px 12px 0 var(--ways-accent);
}

.ways-media {
    position: relative;
    margin: 12px 12px 0;
}

.ways-media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.ways-tag {
    position: absolute;
    left: 14px;
    bottom: 14px;
    padding: .35rem .85rem;
    background: #fff;
    color: var(--dark);
    font-weight: 600;
    font-size: .9rem;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
}

/* Round price sticker overlapping the photo corner */
.ways-badge {
    position: absolute;
    top: -22px;
    right: -16px;
    width: 104px;
    height: 104px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--secondary);
    color: var(--dark);
    border: 3px solid #1f0a4d;
    font-weight: 600;
    font-size: .85rem;
    line-height: 1.1;
    transform: rotate(10deg);
}

.ways-badge strong {
    font-size: 1.9rem;
    line-height: 1;
}

.ways-card--liverpool .ways-badge {
    background: var(--primary);
    color: #fff;
}

.ways-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.75rem 2rem;
}

.ways-body h3 {
    font-size: 1.7rem;
    margin-bottom: .2rem;
}

.ways-sub {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1.1rem;
}

.ways-list {
    list-style: none;
    margin: 0 0 1.75rem;
    padding: 0;
    flex-grow: 1;
}

.ways-list li {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    padding: .35rem 0;
    color: #3a3647;
}

.ways-list i {
    margin-top: .2rem;
    color: var(--ways-accent);
}

.ways-card--liverpool .ways-list i {
    color: #e08f00;
}

.ways-btn {
    align-self: flex-start;
    padding: .9rem 2rem;
    font-weight: 600;
    border: 3px solid #1f0a4d;
    box-shadow: 0 5px 0 #1f0a4d;
    transition: transform .15s ease, box-shadow .15s ease;
}

.ways-btn:hover,
.ways-btn:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 7px 0 #1f0a4d;
}

.ways-card--liverpool .ways-btn {
    color: var(--dark);
}

@media (max-width: 991.98px) {
    .ways-section {
        padding: 3rem 0 4rem;
    }

    .ways-section .container {
        padding-left: 20px;
        padding-right: 28px;
    }

    .ways-card,
    .ways-card--liverpool {
        transform: none;
        box-shadow: 6px 6px 0 var(--ways-accent);
    }

    .ways-badge {
        width: 88px;
        height: 88px;
        top: -18px;
        right: -10px;
    }

    .ways-badge strong {
        font-size: 1.6rem;
    }

    .ways-body {
        padding: 1.25rem 1.25rem 1.75rem;
    }

    .ways-btn {
        align-self: stretch;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ways-card,
    .ways-card:hover,
    .ways-btn,
    .ways-btn:hover {
        transition: none;
    }
}

/* ---------- Liverpool page ---------- */
.hero-photo--wide {
    width: min(540px, 100%);
    transform: rotate(-1.5deg);
}

.hero-photo--wide figcaption {
    left: auto;
    right: -14px;
    bottom: 24px;
    transform: rotate(3deg);
}

.hero-note {
    margin: -.75rem 0 1.5rem;
    opacity: .9;
}

.detail-card {
    padding: 1.75rem;
}

.detail-card i {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: .9rem;
}

.detail-card h3 {
    font-size: 1.2rem;
    margin-bottom: .4rem;
}

.detail-card p {
    margin-bottom: .4rem;
}

.detail-card a {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.lesson-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.1rem;
}

.steps {
    margin: 0;
    padding: 0;
}

.step-card {
    padding: 1.75rem;
    border: 2px solid var(--light);
    border-radius: 16px;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: .9rem;
    border-radius: 50%;
    background: var(--secondary);
    color: var(--dark);
    font-weight: 700;
    font-size: 1.15rem;
}

.step-card h3 {
    font-size: 1.2rem;
    margin-bottom: .4rem;
}

.step-card p {
    margin: 0;
}

@media (max-width: 991.98px) {
    .hero-photo--wide {
        width: min(440px, 92%);
    }

    .hero-photo--wide figcaption {
        right: -6px;
    }
}

@media (max-width: 767.98px) {
    .hero-header .container,
    #details .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

.hero-header .hero-copy h1.lp-title {
    font-size: clamp(2.1rem, 4vw, 3.3rem);
}

.lp-faq .question {
    font-size: 1.2rem;
    margin-bottom: .4rem;
}

.lp-faq .answer {
    font-size: 1.05rem;
}

@media (max-width: 767.98px) {
    .lp-page .container {
        padding-left: 22px !important;
        padding-right: 22px !important;
    }
}

/* ---------- Sticker style: shared pieces ---------- */
/* Yellow box behind one word in a heading on a dark background (e.g. hero) */
.hl-box {
    display: inline-block;
    padding: 0 .18em .04em;
    background: var(--secondary);
    color: #1f0a4d;
    border-radius: 10px;
    transform: rotate(-2deg);
    line-height: 1.1;
}

/* Chunky outlined button with a solid shadow underneath */
.btn-chunky {
    font-weight: 600;
    border: 3px solid #1f0a4d !important;
    box-shadow: 0 5px 0 #1f0a4d;
    transition: transform .15s ease, box-shadow .15s ease;
}

.btn-chunky:hover,
.btn-chunky:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 7px 0 #1f0a4d;
}

.btn-secondary.btn-chunky {
    color: var(--dark);
}

/* White pill tag on a photo */
.photo-tag {
    position: absolute;
    z-index: 3;
    left: 18px;
    bottom: 22px;
    padding: .4rem .95rem;
    background: #fff;
    color: var(--dark);
    font-weight: 600;
    font-size: .95rem;
    border: 3px solid #1f0a4d;
    border-radius: 999px;
    transform: rotate(-2deg);
}

/* Ryan photo (homepage about section): same layout, sticker frame */
.about-image-container::before,
.about-image-container::after {
    display: none;
}

.about-image-container img {
    border: 3px solid #1f0a4d;
    border-radius: 22px !important;
    box-shadow: 12px 12px 0 var(--primary);
    transform: rotate(-1.5deg);
    transition: transform .2s ease, box-shadow .2s ease;
}

.about-image-container:hover img {
    transform: rotate(0) translateY(-4px);
    box-shadow: 15px 15px 0 var(--primary);
}

@media (max-width: 991.98px) {
    .about-image-container {
        margin-right: 8px;
    }

    .about-image-container img,
    .about-image-container:hover img {
        transform: none;
        box-shadow: 7px 7px 0 var(--primary);
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn-chunky,
    .btn-chunky:hover,
    .about-image-container img {
        transition: none;
    }
}

.detail-card address {
    font-family: 'Quicksand-regular', sans-serif;
    font-style: normal;
    color: #3A3B3C;
    line-height: 1.6;
}

/* ---------- What will your child make? (courses) ---------- */
.make-section {
    padding: 4.5rem 0 4rem;
}

.make-intro {
    font-size: 1.15rem;
    max-width: 44rem;
    margin: 0 auto 1.5rem;
}

.make-card {
    --make-accent: var(--primary);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.75rem 1.6rem 1.5rem;
    background: #fff;
    color: #3a3647;
    border: 3px solid #1f0a4d;
    border-radius: 22px;
    box-shadow: 8px 8px 0 var(--make-accent);
    transition: transform .2s ease, box-shadow .2s ease;
}

.row > div:nth-child(odd) > .make-card {
    transform: rotate(-.8deg);
}

.row > div:nth-child(even) > .make-card {
    transform: rotate(.8deg);
}

a.make-card:hover,
a.make-card:focus-visible {
    color: #3a3647;
    transform: rotate(0) translateY(-4px);
    box-shadow: 11px 11px 0 var(--make-accent);
}

.make-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.4rem;
    height: 3.4rem;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: var(--make-accent);
    color: #fff;
    border: 3px solid #1f0a4d;
    font-size: 1.45rem;
    transform: rotate(-8deg);
}

.make-age {
    position: absolute;
    top: 1.4rem;
    right: 1.25rem;
    padding: .3rem .8rem;
    background: var(--secondary);
    color: var(--dark);
    font-weight: 700;
    font-size: .85rem;
    border: 2px solid #1f0a4d;
    border-radius: 999px;
    transform: rotate(3deg);
}

.make-card h3 {
    font-size: 1.35rem;
    margin-bottom: .2rem;
}

.make-lang {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: .6rem;
}

.make-card p {
    margin-bottom: .75rem;
}

.make-path {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .4rem;
    align-self: flex-start;
    padding: .3rem .75rem;
    background: var(--light);
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 600;
    color: #1f0a4d !important;
}

.make-path i {
    font-size: .75rem;
    color: var(--make-accent);
}

.make-link {
    margin-top: auto;
    padding-top: .5rem;
    font-weight: 700;
    color: var(--primary);
}

.make-link i {
    margin-left: .3rem;
    transition: transform .15s ease;
}

a.make-card:hover .make-link i {
    transform: translateX(4px);
}

/* AI card: filled purple sticker */
.make-card--ai {
    --make-accent: var(--secondary);
    background: var(--primary);
    color: #fff;
}

.make-card--ai p,
.make-card--ai h3 {
    color: #fff;
}

.make-card--ai .make-lang {
    color: var(--secondary);
}

.make-card--ai .make-icon {
    background: var(--secondary);
    color: #1f0a4d;
}

.make-cta {
    margin-top: 3rem;
}

.make-cta p {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

.make-all {
    display: inline-block;
    margin-left: 1.25rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

@media (max-width: 991.98px) {
    .make-section {
        padding: 3.5rem 0 3rem;
    }

    .make-section .container {
        padding-left: 20px;
        padding-right: 28px;
    }

    .row > div:nth-child(n) > .make-card,
    .row > div:nth-child(n) > a.make-card:hover {
        transform: none;
    }

    .make-card {
        box-shadow: 6px 6px 0 var(--make-accent);
    }

    .make-all {
        display: block;
        margin: 1rem 0 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .make-card,
    .make-link i {
        transition: none;
    }
}

/* ---------- Free taster: three steps (purple band) ---------- */
.taster-section {
    padding: 4.5rem 0;
    background: var(--primary);
}

.taster-intro {
    color: #fff;
    font-size: 1.15rem;
    max-width: 40rem;
    margin: 0 auto 2.5rem;
    opacity: .95;
}

.taster-steps {
    margin: 0;
    padding: 0;
}

.step-sticker {
    position: relative;
    height: 100%;
    padding: 2rem 1.6rem 1.6rem;
    background: #fff;
    border: 3px solid #1f0a4d;
    border-radius: 22px;
    box-shadow: 8px 8px 0 var(--secondary);
}

.taster-steps li:nth-child(2) .step-sticker {
    transform: rotate(1deg);
}

.taster-steps li:nth-child(odd) .step-sticker {
    transform: rotate(-1deg);
}

.step-sticker-num {
    position: absolute;
    top: -20px;
    left: 1.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 50%;
    background: var(--secondary);
    color: #1f0a4d;
    border: 3px solid #1f0a4d;
    font-weight: 800;
    font-size: 1.25rem;
    transform: rotate(-8deg);
}

.step-sticker h3 {
    font-size: 1.25rem;
    margin: .4rem 0 .5rem;
}

.step-sticker p {
    margin: 0;
}

.taster-cta {
    margin-top: 3rem;
}

.taster-quiz {
    display: block;
    margin-top: 1.1rem;
    color: #fff;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, .5);
    text-underline-offset: 4px;
}

.taster-quiz:hover,
.taster-quiz:focus-visible {
    color: #fff;
    text-decoration-color: var(--secondary);
}

/* ---------- Reviews ---------- */
.reviews-section {
    padding: 4.5rem 0;
}

.reviews-rating a {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-weight: 600;
    color: var(--dark);
}

.reviews-rating {
    margin-bottom: 2.5rem;
}

.review-card {
    position: relative;
    height: 100%;
    margin: 0;
    padding: 1.75rem 1.75rem 1.5rem;
    background: #fff;
    border: 3px solid #1f0a4d;
    border-radius: 22px;
    box-shadow: 8px 8px 0 var(--primary);
    display: flex;
    flex-direction: column;
}

.reviews-row > div:nth-child(4n+2) .review-card,
.reviews-row > div:nth-child(4n+3) .review-card {
    box-shadow: 8px 8px 0 var(--secondary);
}

.reviews-row > div:nth-child(odd) .review-card {
    transform: rotate(-.6deg);
}

.reviews-row > div:nth-child(even) .review-card {
    transform: rotate(.6deg);
}

.review-card::before {
    content: "\201C";
    position: absolute;
    top: -.6rem;
    right: 1.25rem;
    font-family: Georgia, serif;
    font-size: 5rem;
    line-height: 1;
    color: var(--secondary);
}

.review-stars {
    color: var(--secondary);
    font-size: 1.2rem;
    letter-spacing: .1em;
    margin-bottom: .6rem;
}

.review-card blockquote {
    margin: 0 0 1rem;
    flex-grow: 1;
}

.review-card blockquote p {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #3a3647;
    margin: 0;
}

.review-card figcaption {
    font-weight: 700;
    color: #1f0a4d;
}

.review-card figcaption span {
    font-weight: 500;
    color: #6c757d;
}

.reviews-more {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* ---------- FAQ ---------- */
.home-faq {
    padding: 4.5rem 0 3rem;
}

.faq-card {
    padding: 2.25rem 2.25rem 2rem;
    background: #fff;
    border: 3px solid #1f0a4d;
    border-radius: 24px;
    box-shadow: 9px 9px 0 var(--secondary);
}

.faq-card h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: .4rem;
}

.faq-card p {
    font-size: 1.05rem;
    line-height: 1.65;
    margin-bottom: 1.6rem;
}

.faq-card a {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------- Newsletter (sticker card above the footer) ---------- */
.newsletter-section {
    padding: 1rem 0 4rem;
}

.newsletter-card {
    padding: 2.5rem 2rem;
    background: var(--primary);
    border: 3px solid #1f0a4d;
    border-radius: 24px;
    box-shadow: 9px 9px 0 var(--secondary);
}

.newsletter-card h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.newsletter-card .btn {
    border: 3px solid #1f0a4d;
    color: var(--dark);
}

@media (max-width: 991.98px) {
    .taster-section,
    .reviews-section,
    .home-faq {
        padding: 3.5rem 0;
    }

    .taster-section .container,
    .reviews-section .container,
    .home-faq .container,
    .newsletter-section .container {
        padding-left: 20px;
        padding-right: 28px;
    }

    .taster-steps li:nth-child(n) .step-sticker,
    .reviews-row > div:nth-child(n) .review-card {
        transform: none;
    }

    .step-sticker,
    .review-card {
        box-shadow: 6px 6px 0 var(--secondary);
    }

    .taster-steps {
        row-gap: 2.5rem !important;
    }

    .faq-card {
        padding: 1.75rem 1.25rem 1.25rem;
        box-shadow: 6px 6px 0 var(--secondary);
    }

    .newsletter-card {
        padding: 2rem 1.25rem;
        box-shadow: 6px 6px 0 var(--secondary);
    }
}

/* ---------- Instagram: tall reel cards (3 desktop / 2 tablet / 1 mobile, swipe on smaller screens) ---------- */
.insta-section {
    padding: 4.5rem 0;
    background: var(--light);
}

.insta-intro {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
}

.insta-track {
    --insta-gap: 2rem;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 2 * var(--insta-gap)) / 3);
    gap: var(--insta-gap);
    max-width: 960px;
    margin: 0 auto;
    padding: 6px 14px 22px 6px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.insta-track::-webkit-scrollbar {
    display: none;
}

.insta-card {
    position: relative;
    display: block;
    aspect-ratio: 9 / 16;
    scroll-snap-align: start;
    overflow: hidden;
    background: #1f0a4d;
    border: 3px solid #1f0a4d;
    border-radius: 22px;
    box-shadow: 8px 8px 0 var(--primary);
    transition: transform .2s ease, box-shadow .2s ease;
}

.insta-card:nth-child(even) {
    box-shadow: 8px 8px 0 var(--secondary);
}

.insta-card:hover,
.insta-card:focus-visible {
    transform: translateY(-4px);
}

.insta-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* soft dark fade at the bottom so the caption is readable */
.insta-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 45%;
    background: linear-gradient(transparent, rgba(20, 5, 50, .85));
    pointer-events: none;
}

.insta-tag {
    position: absolute;
    z-index: 2;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .3rem .8rem;
    background: #fff;
    color: #1f0a4d;
    font-weight: 700;
    font-size: .85rem;
    border: 2px solid #1f0a4d;
    border-radius: 999px;
}

.insta-caption {
    position: absolute;
    z-index: 2;
    left: 16px;
    right: 16px;
    bottom: 16px;
    color: #fff;
    font-weight: 600;
    line-height: 1.35;
}

.insta-follow {
    margin: 2.5rem 0 0;
}

@media (max-width: 991.98px) {
    .insta-section {
        padding: 3.5rem 0;
    }

    .insta-track {
        --insta-gap: 1.25rem;
        grid-auto-columns: calc((100% - var(--insta-gap)) / 2 - 1.5rem);
    }
}

@media (max-width: 575.98px) {
    .insta-section .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .insta-track {
        grid-auto-columns: 78%;
    }
}

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

/* DBS badge under the hero rating */
.hero-dbs {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin: 1rem 0 0;
    padding: .4rem 1rem;
    background: #fff;
    color: #1f0a4d;
    font-weight: 700;
    border: 3px solid #1f0a4d;
    border-radius: 999px;
    box-shadow: 4px 4px 0 var(--secondary);
}

.hero-dbs i {
    color: var(--primary);
}

.hero-copy .hero-rating {
    display: flex;
    width: fit-content;
}

@media (max-width: 991.98px) {
    .hero-copy .hero-rating {
        margin: 0 auto;
    }
}

/* ---------- Contact form: sticker style (markup unchanged; icons hidden) ---------- */
.contact-form-container {
    background: #fff;
    border: 3px solid #1f0a4d;
    border-radius: 24px;
    box-shadow: 9px 9px 0 var(--secondary);
    padding: 2.5rem 2.25rem;
}

.contact-form .form-icon {
    display: none;
}

.contact-form .form-label {
    font-family: 'Quicksand-bold', sans-serif;
    font-weight: 700;
    color: #1f0a4d;
    font-size: 1rem;
    margin-bottom: .4rem;
}

.contact-form .form-control {
    padding: .8rem 1rem;
    border: 2px solid #1f0a4d;
    border-radius: 14px;
    background: #fff;
    font-size: 1rem;
    color: #1f0a4d;
    box-shadow: 3px 3px 0 #e6e0f3;
    transition: box-shadow .15s ease, border-color .15s ease;
}

.contact-form .form-control::placeholder {
    color: #8a8597;
}

.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 4px 4px 0 var(--secondary);
    outline: none;
}

.contact-form .form-control[readonly] {
    background: var(--light);
}

.contact-form .form-check-input {
    width: 1.2em;
    height: 1.2em;
    border: 2px solid #1f0a4d;
}

.contact-form .form-check-input:checked {
    background-color: var(--primary);
    border-color: #1f0a4d;
}

.contact-form .form-check-input:focus {
    box-shadow: 0 0 0 .2rem rgba(251, 165, 4, .45);
}

.contact-form .btn[type="submit"] {
    background: var(--primary);
    color: #fff;
    border: 3px solid #1f0a4d;
    box-shadow: 0 5px 0 #1f0a4d;
    transition: transform .15s ease, box-shadow .15s ease;
}

.contact-form .btn[type="submit"]:hover,
.contact-form .btn[type="submit"]:focus-visible {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 7px 0 #1f0a4d;
}

@media (max-width: 768px) {
    .contact-form-container {
        margin: 0;
        padding: 1.75rem 1.25rem;
        box-shadow: 6px 6px 0 var(--secondary);
    }

    .contact-form .form-control {
        padding: .8rem 1rem;
    }
}

/* ---------- Home education (sticker cards) ---------- */
.homeed-section {
    padding: 4.5rem 0;
    background: var(--light);
}

.homeed-card {
    height: 100%;
    padding: 1.75rem 1.4rem;
    background: #fff;
    border: 3px solid #1f0a4d;
    border-radius: 20px;
    box-shadow: 6px 6px 0 var(--primary);
    text-align: center;
}

.homeed-section .row > div:nth-child(even) .homeed-card {
    box-shadow: 6px 6px 0 var(--secondary);
}

.homeed-card i {
    font-size: 2.2rem !important;
    margin-bottom: 1rem !important;
}

.homeed-card h5 {
    color: #1f0a4d;
}

.homeed-card p {
    margin: 0;
}

/* ---------- Blog cards (sticker) ---------- */
.blog-sticker {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 3px solid #1f0a4d;
    border-radius: 22px;
    box-shadow: 8px 8px 0 var(--primary);
    transition: transform .2s ease;
}

#blog .row > article:nth-child(even) .blog-sticker {
    box-shadow: 8px 8px 0 var(--secondary);
}

.blog-sticker:hover {
    transform: translateY(-4px);
}

.blog-sticker .blog-preview-image {
    border-bottom: 3px solid #1f0a4d;
}

.blog-read {
    font-weight: 700;
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 4px;
}

@media (max-width: 991.98px) {
    .homeed-section {
        padding: 3.5rem 0;
    }

    .homeed-section .container,
    #blog .container {
        padding-left: 20px;
        padding-right: 28px;
    }
}

@media (max-width: 575.98px) {
    .insta-follow .btn {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
        font-size: 1.05rem;
    }
}

/* Showcase video cards: play button + inline playback */
.insta-play {
    position: absolute;
    z-index: 2;
    top: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    background: var(--secondary);
    color: #1f0a4d;
    border: 3px solid #1f0a4d;
    box-shadow: 4px 4px 0 #1f0a4d;
    font-size: 1.1rem;
    padding-left: .15rem;
    transition: transform .15s ease;
}

.insta-card.is-playable:hover .insta-play,
.insta-card.is-playable:focus-visible .insta-play {
    transform: scale(1.08);
}

.insta-card.is-playable {
    cursor: pointer;
}

.insta-card video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #1f0a4d;
}

.insta-card.is-playing::after,
.insta-card.is-playing .insta-play,
.insta-card.is-playing .insta-caption,
.insta-card.is-playing .insta-tag {
    display: none;
}

.insta-card.is-playing:hover {
    transform: none;
}

/* =====================================================================
   Homepage refresh, Dec 2026: calmer hero, FAQ accordion, mobile swipe
   rows, compact blog list, sticky taster bar and spacing fixes.
   ===================================================================== */

/* ---------- Hero: one button, then a quiet trust line ---------- */
.hero-actions {
    margin-bottom: 1.5rem;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 1.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #fff;
    font-weight: 500;
}

.hero-trust li {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
}

.hero-trust a {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    color: #fff;
}

.hero-trust a:hover,
.hero-trust a:focus-visible {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.hero-trust i {
    color: var(--secondary);
    font-size: 1.05rem;
}

@media (max-width: 991.98px) {
    .hero-trust {
        flex-direction: column;
        align-items: center;
    }

    .hero-photo {
        width: min(290px, 80%);
    }
}

/* ---------- FAQ: tap a question to open it ---------- */
.faq-card {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.faq-item + .faq-item {
    border-top: 2px solid #ece6f7;
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 0;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary h3 {
    margin: 0;
}

.faq-item summary::after {
    content: '+';
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--secondary);
    color: #1f0a4d;
    border: 2px solid #1f0a4d;
    font-weight: 800;
    font-size: 1.2rem;
    line-height: 1;
    transition: transform .2s ease;
}

.faq-item[open] summary::after {
    content: '\2212';
    background: #fff;
}

.faq-item summary:focus-visible {
    outline: 3px solid var(--secondary);
    outline-offset: 4px;
    border-radius: 8px;
}

.faq-card .faq-item p {
    margin: -.2rem 0 1.25rem;
}

@media (max-width: 991.98px) {
    .faq-card {
        padding-top: .5rem;
        padding-bottom: .5rem;
    }

    .faq-item summary h3 {
        font-size: 1.05rem;
    }
}

/* ---------- Contact form: remove the old purple bar and lift effect ---------- */
.contact-form-container::before {
    display: none !important;
}

.contact-form-container:hover {
    transform: none;
    box-shadow: 9px 9px 0 var(--secondary);
}

@media (max-width: 991.98px) {
    #contact-form .container {
        padding-left: 20px;
        padding-right: 28px;
    }

    .contact-form-container:hover {
        box-shadow: 6px 6px 0 var(--secondary);
    }
}

/* ---------- Phones: swipe rows for courses and reviews ---------- */
@media (max-width: 767.98px) {
    .make-section .row,
    .reviews-row {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 0;
        flex-wrap: nowrap;
        margin: 0 -28px 0 -20px;
        padding: 6px 28px 18px 20px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 20px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .make-section .row::-webkit-scrollbar,
    .reviews-row::-webkit-scrollbar {
        display: none;
    }

    .make-section .row > div,
    .reviews-row > div {
        flex: 0 0 84%;
        max-width: 84%;
        scroll-snap-align: start;
    }

    .make-intro,
    .reviews-rating {
        margin-bottom: 1.25rem;
    }

    .make-cta {
        margin-top: 1.5rem;
    }

    .swipe-hint {
        display: block;
    }
}

.swipe-hint {
    display: none;
    margin: .25rem 0 0;
    text-align: center;
    font-size: .9rem;
    color: #6c6880;
}

/* ---------- Phones: showcase reels run to the screen edge ---------- */
@media (max-width: 575.98px) {
    .insta-track {
        margin: 0 -20px;
        padding-left: 20px;
        padding-right: 20px;
        scroll-padding-left: 20px;
        scrollbar-width: none;
    }

    .insta-track::-webkit-scrollbar {
        display: none;
    }
}

/* ---------- Phones: blog as a compact list ---------- */
@media (max-width: 767.98px) {
    #blog h2 {
        margin-bottom: 1.75rem !important;
    }

    #blog .row {
        --bs-gutter-y: 1rem;
    }

    #blog .blog-sticker {
        flex-direction: row;
        box-shadow: 5px 5px 0 var(--primary);
    }

    #blog .row > article:nth-child(even) .blog-sticker {
        box-shadow: 5px 5px 0 var(--secondary);
    }

    #blog .blog-preview-image {
        flex: 0 0 104px;
        height: auto !important;
        border-bottom: 0;
        border-right: 3px solid #1f0a4d;
    }

    #blog .blog-sticker > .p-4 {
        padding: .9rem 1rem !important;
        justify-content: center;
    }

    #blog .blog-category,
    #blog .blog-sticker .text-muted {
        display: none !important;
    }

    #blog .blog-sticker h3 {
        font-size: 1.02rem !important;
        margin-bottom: .45rem !important;
    }

    #blog .blog-read {
        font-size: .92rem;
    }

    #blog .text-center.mt-5 {
        margin-top: 2rem !important;
    }
}

/* ---------- Phones: tighter taster steps ---------- */
@media (max-width: 767.98px) {
    .taster-intro {
        margin-bottom: 2rem;
    }

    .taster-steps {
        row-gap: 1.75rem !important;
    }

    .step-sticker {
        padding: 1.5rem 1.25rem 1.2rem 1.25rem;
    }

    .step-sticker h3 {
        font-size: 1.15rem;
    }

    .taster-cta {
        margin-top: 2rem;
    }
}

/* ---------- Sticky "Book a free taster" bar (phones and tablets) ---------- */
.sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    padding: .7rem 16px calc(.7rem + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 3px solid #1f0a4d;
    transform: translateY(115%);
    transition: transform .25s ease;
}

.sticky-cta.is-visible {
    transform: none;
}

.sticky-cta-btn {
    display: block;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: .8rem 1rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--dark);
    border: 3px solid #1f0a4d;
    box-shadow: 0 4px 0 #1f0a4d;
}

.sticky-cta-btn:hover,
.sticky-cta-btn:focus-visible {
    color: var(--dark);
}

@media (min-width: 992px) {
    .sticky-cta {
        display: none;
    }
}

/* The floating back-to-top button covers content on phones; the sticky bar replaces it */
@media (max-width: 991.98px) {
    .back-to-top {
        display: none !important;
    }

    /* The columns here have no gutter padding, so the row must not pull them outwards */
    #pricing .row {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 767.98px) {
    .make-path {
        border-radius: 12px;
    }
}

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

/* ---------- Phones: review cards keep their own height in the swipe row ---------- */
@media (max-width: 767.98px) {
    .reviews-row {
        align-items: flex-start;
    }

    .reviews-row .review-card {
        height: auto;
    }
}

/* ---------- Contact form: every field lines up (style.min.css pads .col-12 differently) ---------- */
.contact-form .row > [class*="col-"] {
    padding-left: calc(var(--bs-gutter-x) * .5);
    padding-right: calc(var(--bs-gutter-x) * .5);
}

/* ---------- Phones: newsletter inputs the same width ---------- */
@media (max-width: 575.98px) {
    #newsletter-form .form-control {
        max-width: none !important;
    }
}

/* ---------- Phones: shorter footer (course and quick links side by side) ---------- */
@media (max-width: 767.98px) {
    .footer .side-padding {
        --bs-gutter-y: 2.25rem;
    }

    .footer .side-padding > .col-lg-2 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* ---------- FAQ on a tinted band so it separates from the contact form below ---------- */
.home-faq {
    background: var(--light);
}

.home-faq + #contact-form {
    padding-top: 4rem !important;
}

/* ---------- About page ---------- */
.about-quote {
    max-width: 32rem;
    margin: 0 0 2rem;
}

.about-quote p {
    color: #fff;
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    line-height: 1.55;
    margin-bottom: .5rem;
    opacity: .95;
}

.about-quote footer {
    font-weight: 600;
    color: var(--secondary);
}

.about-story {
    padding: 4.5rem 0;
}

.story-card {
    position: relative;
    padding: 2.75rem 2.5rem 2.25rem;
    background: #fff;
    border: 3px solid #1f0a4d;
    border-radius: 24px;
    box-shadow: 9px 9px 0 var(--primary);
    font-size: 1.08rem;
    line-height: 1.7;
}

.story-card p {
    margin-bottom: 1.1rem;
}

.story-badge {
    position: absolute;
    top: -18px;
    right: 24px;
    padding: .35rem 1rem;
    background: var(--secondary);
    color: #1f0a4d;
    font-weight: 800;
    border: 3px solid #1f0a4d;
    border-radius: 999px;
    transform: rotate(3deg);
}

.about-team {
    padding: 4.5rem 0;
    background: var(--light);
}

.team-card {
    height: 100%;
    padding: 2rem 2rem 1.75rem;
    background: #fff;
    border: 3px solid #1f0a4d;
    border-radius: 24px;
    box-shadow: 8px 8px 0 var(--primary);
    transform: rotate(-1deg);
    transition: transform .2s ease;
}

.team-card--alt {
    box-shadow: 8px 8px 0 var(--secondary);
    transform: rotate(1deg);
}

.team-card:hover {
    transform: none;
}

.team-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.team-head h3 {
    margin: 0 0 .35rem;
    font-size: 1.4rem;
}

.team-avatar {
    flex: 0 0 auto;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 3px solid #1f0a4d;
    object-fit: cover;
    object-position: 50% 20%;
}

.team-avatar--initial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary);
    color: #1f0a4d;
    font-family: 'Montserrat-bold', sans-serif;
    font-weight: 800;
    font-size: 2rem;
}

.team-role {
    display: inline-block;
    padding: .2rem .8rem;
    background: var(--light);
    color: var(--primary);
    font-weight: 700;
    font-size: .9rem;
    border-radius: 999px;
}

.about-page .taster-section .taster-intro {
    margin-bottom: 2rem;
}

@media (max-width: 991.98px) {
    .about-quote {
        margin-left: auto;
        margin-right: auto;
    }

    .about-story,
    .about-team {
        padding: 3.5rem 0;
    }

    .about-story .container,
    .about-team .container {
        padding-left: 20px;
        padding-right: 28px;
    }

    .story-card {
        padding: 2.25rem 1.25rem 1.5rem;
        box-shadow: 6px 6px 0 var(--primary);
        font-size: 1rem;
    }

    .team-card,
    .team-card--alt {
        padding: 1.5rem 1.25rem;
        transform: none;
    }

    .team-card {
        box-shadow: 6px 6px 0 var(--primary);
    }

    .team-card--alt {
        box-shadow: 6px 6px 0 var(--secondary);
    }
}

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

/* ---------- Blog landing page ---------- */
.blog-hero {
    padding-bottom: 1rem;
}

.blog-list {
    padding: 4.5rem 0 5rem;
}

.blog-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .6rem;
    margin-bottom: 2.75rem;
}

.blog-filters button {
    padding: .45rem 1.2rem;
    background: #fff;
    color: #1f0a4d;
    font-weight: 700;
    border: 3px solid #1f0a4d;
    border-radius: 999px;
    box-shadow: 3px 3px 0 #1f0a4d;
    transition: transform .15s ease, box-shadow .15s ease;
}

.blog-filters button:hover {
    transform: translateY(-1px);
}

.blog-filters button.active {
    background: var(--secondary);
    box-shadow: 3px 3px 0 var(--primary);
}

.blog-filters button:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

.blog-page .blog-item {
    padding-bottom: .75rem;
}

.blog-page .blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: #fff;
    border: 3px solid #1f0a4d;
    border-radius: 22px;
    box-shadow: 8px 8px 0 var(--primary);
    transition: transform .2s ease;
}

.blog-page .blog-item:nth-child(even) .blog-card {
    box-shadow: 8px 8px 0 var(--secondary);
}

.blog-page .blog-item:hover .blog-card {
    transform: translateY(-4px);
}

.blog-page .blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-bottom: 3px solid #1f0a4d;
}

.blog-page .blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-page .blog-overlay {
    display: none;
}

.blog-page .blog-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.4rem 1.4rem 1.5rem;
}

.blog-page .blog-category {
    align-self: flex-start;
    margin-bottom: .8rem;
    padding: .2rem .75rem;
    background: var(--light);
    color: var(--primary);
    font-size: .85rem;
    font-weight: 700;
    border-radius: 999px;
}

.blog-page .blog-title {
    margin-bottom: .6rem;
    font-size: 1.2rem;
    line-height: 1.35;
    color: #1f0a4d;
}

.blog-page .blog-excerpt {
    flex: 1;
    margin-bottom: 1rem;
    color: #5f5a70;
    line-height: 1.6;
}

.blog-page .blog-meta {
    display: flex;
    justify-content: space-between;
    padding-top: .8rem;
    border-top: 2px solid #ece6f7;
    font-size: .88rem;
    color: #7a7590;
}

.blog-page .read-more-btn {
    font-weight: 700;
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.blog-page .read-more-btn::after {
    content: '';
    position: absolute;
    inset: 0;
}

.blog-page .blog-card {
    position: relative;
}

.blog-page .taster-section .taster-intro {
    margin-bottom: 2rem;
}

@media (max-width: 991.98px) {
    .blog-list {
        padding: 3.5rem 0 4rem;
    }

    .blog-list .container {
        padding-left: 20px;
        padding-right: 28px;
    }

    .blog-page .blog-card,
    .blog-page .blog-item:nth-child(even) .blog-card {
        box-shadow: 6px 6px 0 var(--primary);
    }

    .blog-page .blog-item:nth-child(even) .blog-card {
        box-shadow: 6px 6px 0 var(--secondary);
    }
}

@media (max-width: 575.98px) {
    .blog-page .blog-image {
        height: 180px;
    }

    .blog-page .blog-excerpt {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

@media (prefers-reduced-motion: reduce) {
    .blog-page .blog-card,
    .blog-filters button {
        transition: none;
    }
}
