/* ==========================================================================
   English Through Theater — front-office styles
   Stage identity: night-plum house, red curtain, gold spotlight, warm cream.
   ========================================================================== */

@font-face {
    font-family: 'Fraunces';
    src: url("../fonts/fraunces-latin-wght-normal-cHejlgP.woff2") format('woff2');
    font-weight: 300 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Fraunces';
    src: url("../fonts/fraunces-latin-wght-italic-E1uys8D.woff2") format('woff2');
    font-weight: 300 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url("../fonts/plus-jakarta-sans-latin-wght-normal-ZHdaFJ8.woff2") format('woff2');
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Palette — same identity, "premium" finish: deeper night, champagne gold,
       wine curtain, warm coral, ivory cream. */
    --night: #140a1f;
    --plum: #25123a;
    --plum-soft: #3a1d57;
    --curtain: #a62239;
    --curtain-dark: #5c0e21;
    --gold: #e6ae48;
    --gold-light: #f8dea0;
    --gold-deep: #b07a22;
    --gold-soft: #f8e7c0;
    --coral: #e2582f;
    --coral-light: #f27b51;
    --coral-dark: #bd4120;
    --cream: #fbf7f0;
    --sand: #f3ebdf;
    --ink: #1c1423;
    --muted: #625a6a;
    --line: #e8dfd1;
    --white: #ffffff;
    --success: #1f7a4d;
    --error: #b42318;

    /* Finishes */
    --gradient-gold: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 48%, var(--gold-deep) 100%);
    --gradient-gold-line: linear-gradient(90deg, var(--gold-deep), var(--gold-light) 50%, var(--gold));
    --gradient-coral: linear-gradient(135deg, var(--coral-light) 0%, var(--coral) 45%, var(--coral-dark) 100%);
    --hairline-gold: rgb(230 174 72 / 0.28);

    --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --radius-s: 10px;
    --radius-m: 18px;
    --radius-l: 28px;
    --shadow-s: 0 2px 6px rgb(31 26 36 / 0.06);
    --shadow-m: 0 18px 40px -18px rgb(31 26 36 / 0.25);
    --shadow-glow: 0 24px 70px -24px rgb(230 174 72 / 0.5);

    --container: 1180px;
    --gutter: clamp(1rem, 4vw, 2rem);
    --section-space: clamp(4rem, 9vw, 7.5rem);
    --header-height: 72px;
}

/* --- Base ---------------------------------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 1rem);
    -webkit-text-size-adjust: 100%;
}

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

[hidden] {
    display: none !important;
}

body.has-open-nav {
    overflow: hidden;
}

img,
svg {
    display: block;
    max-width: 100%;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.015em;
    text-wrap: balance;
}

p {
    margin: 0 0 1rem;
}

a {
    color: inherit;
}

:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
    border-radius: 4px;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 100;
    padding: 0.75rem 1.25rem;
    background: var(--gold);
    color: var(--night);
    font-weight: 700;
    border-radius: var(--radius-s);
}

.skip-link:focus {
    top: 1rem;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.icon {
    width: 1.25em;
    height: 1.25em;
    flex-shrink: 0;
}

/* --- Buttons ------------------------------------------------------------- */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 48px;
    padding: 0.8rem 1.5rem;
    border: 2px solid transparent;
    border-radius: 999px;
    font: 700 1rem/1.2 var(--font-body);
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

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

.button:disabled {
    opacity: 0.6;
    cursor: progress;
    transform: none;
}

.button .icon {
    transition: transform 0.2s ease;
}

.button:hover .icon--arrow-right {
    transform: translateX(3px);
}

.button--primary {
    background: var(--gradient-coral);
    color: var(--white);
    box-shadow:
        inset 0 1px 0 rgb(255 255 255 / 0.28),
        0 14px 30px -12px rgb(226 88 47 / 0.75);
}

.button--primary:hover {
    background: var(--gradient-coral);
    filter: brightness(1.06) saturate(1.05);
    box-shadow:
        inset 0 1px 0 rgb(255 255 255 / 0.3),
        0 18px 38px -12px rgb(226 88 47 / 0.85);
}

.button--secondary {
    border-color: var(--plum);
    color: var(--plum);
}

.button--secondary:hover {
    background: var(--plum);
    color: var(--white);
}

.button--ghost {
    border-color: rgb(248 222 160 / 0.45);
    color: var(--white);
    background: rgb(255 255 255 / 0.03);
}

.button--ghost:hover {
    border-color: var(--gold-light);
    color: var(--gold-light);
    background: rgb(230 174 72 / 0.08);
}

.button--small {
    min-height: 42px;
    padding: 0.55rem 1.15rem;
    font-size: 0.9375rem;
}

.button--large {
    min-height: 56px;
    padding: 1rem 1.9rem;
    font-size: 1.0625rem;
}

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

/* --- Header -------------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    color: var(--white);
    border-bottom: 1px solid var(--hairline-gold);
}

/* The blur lives on a pseudo-element: backdrop-filter on the header itself
   would become the containing block of the fixed mobile menu and clip it. */
.site-header::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgb(20 10 31 / 0.94), rgb(37 18 58 / 0.9));
    backdrop-filter: saturate(160%) blur(14px);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: var(--header-height);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--white);
    text-decoration: none;
}

.brand__logo {
    display: block;
    width: 64px;
    height: auto;
}

.brand__logo--large {
    width: 140px;
}

/* The header logo hangs below the bar: the link keeps the bar's height and the
   image overflows it, so the header itself does not grow. */
.site-header .brand {
    align-self: flex-start;
    align-items: flex-start;
    height: var(--header-height);
    padding-top: 0.4rem;
}

.site-header .brand__logo {
    width: 128px;
    filter: drop-shadow(0 6px 14px rgb(0 0 0 / 0.35));
    transition: transform 0.2s ease;
}

.site-header .brand:hover .brand__logo {
    transform: rotate(-3deg) scale(1.03);
}

@media (max-width: 560px) {
    .site-header .brand__logo {
        width: 96px;
    }
}

.nav-toggle {
    display: none;
    position: relative;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 12px;
    background: rgb(255 255 255 / 0.08);
    color: var(--white);
    cursor: pointer;
}

.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
    position: absolute;
    left: 13px;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle__bar {
    top: 23px;
}

.nav-toggle__bar::before,
.nav-toggle__bar::after {
    content: '';
    left: 0;
}

.nav-toggle__bar::before {
    top: -7px;
}

.nav-toggle__bar::after {
    top: 7px;
}

.is-open .nav-toggle__bar {
    background: transparent;
}

.is-open .nav-toggle__bar::before {
    transform: translateY(7px) rotate(45deg);
}

.is-open .nav-toggle__bar::after {
    transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.site-nav__list {
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav__list a {
    position: relative;
    padding-block: 0.4rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    color: rgb(255 255 255 / 0.85);
    transition: color 0.2s ease;
}

.site-nav__list a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.site-nav__list a:hover {
    color: var(--white);
}

.site-nav__list a:hover::after {
    transform: scaleX(1);
}

@media (max-width: 960px) {
    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: fixed;
        inset: var(--header-height) 0 0 0;
        flex-direction: column;
        align-items: stretch;
        gap: 2rem;
        padding: 2rem var(--gutter);
        background: var(--night);
        overflow-y: auto;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    }

    .is-open .site-nav {
        visibility: visible;
        opacity: 1;
        transform: none;
    }

    .site-nav__list {
        flex-direction: column;
        gap: 0;
    }

    .site-nav__list a {
        display: block;
        padding: 1rem 0;
        font: 600 1.5rem/1.2 var(--font-display);
        border-bottom: 1px solid rgb(255 255 255 / 0.08);
    }

    .site-nav__list a::after {
        display: none;
    }
}

/* --- Sections & typography helpers --------------------------------------- */

.section {
    padding-block: var(--section-space);
}

.section--tight {
    padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.section--cream {
    background: var(--cream);
}

.section--night {
    background:
        radial-gradient(60% 50% at 50% 0%, rgb(230 174 72 / 0.12) 0%, transparent 70%),
        radial-gradient(120% 80% at 50% 0%, var(--plum-soft) 0%, var(--night) 65%);
    color: var(--white);
}

.section--plum {
    background:
        radial-gradient(70% 60% at 85% 10%, rgb(230 174 72 / 0.1) 0%, transparent 70%),
        linear-gradient(160deg, var(--plum-soft) 0%, var(--plum) 45%, var(--night) 100%);
    color: var(--white);
}

.section__header {
    max-width: 720px;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

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

.section__title {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    margin-bottom: 1.25rem;
}

.section__title em {
    font-style: italic;
    font-weight: 400;
    color: var(--curtain);
}

.section--night .section__title em,
.section--plum .section__title em {
    color: var(--gold);
}

.section__title--small {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.section__lead {
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    color: var(--muted);
}

.section--night .section__lead,
.section--plum .section__lead {
    color: rgb(255 255 255 / 0.75);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
    color: var(--curtain);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: '';
    width: 28px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}

.eyebrow--light {
    color: var(--gold-light);
}

.eyebrow--light::before {
    background: var(--gradient-gold-line);
}

.empty-state {
    text-align: center;
    color: rgb(255 255 255 / 0.75);
}

.empty-state a {
    color: var(--gold);
}

/* --- Hero: a lit stage ----------------------------------------------------- */

.hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(4rem, 10vw, 7.5rem) clamp(5rem, 11vw, 8.5rem);
    background:
        radial-gradient(55% 65% at 72% 32%, rgb(230 174 72 / 0.24) 0%, transparent 62%),
        radial-gradient(45% 55% at 12% 85%, rgb(166 34 57 / 0.22) 0%, transparent 70%),
        linear-gradient(180deg, var(--night) 0%, var(--plum) 70%, #2d1545 100%);
    color: var(--white);
}

.hero__curtain {
    position: absolute;
    top: 0;
    bottom: 0;
    width: clamp(40px, 7vw, 110px);
    background: repeating-linear-gradient(90deg, var(--curtain-dark) 0 14px, var(--curtain) 14px 30px, var(--curtain-dark) 30px 40px);
    box-shadow: inset -20px 0 40px rgb(0 0 0 / 0.45);
    opacity: 0.9;
}

.hero__curtain--left {
    left: 0;
    border-bottom-right-radius: 60% 18%;
}

.hero__curtain--right {
    right: 0;
    transform: scaleX(-1);
    border-bottom-right-radius: 60% 18%;
}

.hero__spotlight {
    position: absolute;
    top: -20%;
    left: 50%;
    width: min(900px, 120vw);
    height: 140%;
    transform: translateX(-10%);
    background: conic-gradient(from 180deg at 50% 0%, transparent 160deg, rgb(253 231 184 / 0.12) 175deg, rgb(253 231 184 / 0.18) 180deg, rgb(253 231 184 / 0.12) 185deg, transparent 200deg);
    pointer-events: none;
}

.hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
    padding-inline: calc(var(--gutter) + clamp(30px, 6vw, 100px));
}

.hero__title {
    font-size: clamp(2.75rem, 7.5vw, 5.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.hero__word {
    display: inline-block;
    white-space: nowrap;
}

.hero__word--2 {
    color: var(--gold);
    font-weight: 400;
    font-style: italic;
}

/* Champagne-gold metallic text; each letter carries the gradient because the
   wave animation transforms letters individually. */
@supports (background-clip: text) {
    .hero__word--2 .hero__letter {
        background: var(--gradient-gold);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        padding-right: 0.02em;
    }
}

/* Wave: each letter rises in turn, like a stage "ola". */
/* Each letter makes a quick hop; 70ms apart, the wave crosses the title in
   ~1.5s, then rests until the next one (3.5s cycle). */
.hero__letter {
    display: inline-block;
    animation: hero-wave 3.5s ease-in-out infinite;
    animation-delay: calc(var(--i) * 70ms);
}

@keyframes hero-wave {
    0%, 16%, 100% { transform: translateY(0); }
    8% { transform: translateY(-0.14em); }
}

/* Phones: the title fills the width, staggered like a theatre poster. */
@media (max-width: 600px) {
    .hero__content {
        container-type: inline-size;
    }

    /* 21cqi: each word spans ~75–80% of the text column, whatever the phone. */
    .hero__title {
        font-size: 21cqi;
        line-height: 1;
    }

    .hero__word {
        display: block;
    }

    .hero__word--2 {
        text-align: right;
    }
}

.hero__tagline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
    margin: 1.5rem 0;
    font: 500 clamp(1.15rem, 2.2vw, 1.5rem)/1.3 var(--font-display);
}

.hero__tagline span:nth-child(1) { color: var(--white); }
.hero__tagline span:nth-child(2) { color: var(--gold); }
.hero__tagline span:nth-child(3) { color: #ff8f6b; }
.hero__tagline span:nth-child(4) { color: var(--gold-soft); }

.hero__lead {
    max-width: 560px;
    color: rgb(255 255 255 / 0.8);
    font-size: clamp(1.05rem, 1.7vw, 1.2rem);
}

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

.hero__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    margin: 2.25rem 0 0;
    padding: 0;
    list-style: none;
    color: rgb(255 255 255 / 0.75);
    font-size: 0.95rem;
    font-weight: 600;
}

.hero__facts li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero__facts .icon {
    color: var(--gold);
}

.stage {
    position: relative;
    aspect-ratio: 1 / 1;
    max-width: 440px;
    margin-inline: auto;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 40%, rgb(253 231 184 / 0.35) 0%, rgb(243 179 61 / 0.12) 35%, transparent 65%);
}

.stage__floor {
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: 12%;
    height: 18%;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgb(253 231 184 / 0.4) 0%, transparent 70%);
}

.stage__mask {
    position: absolute;
    inset: 30% 30% 34%;
    display: grid;
    place-items: center;
    color: var(--gold);
    filter: drop-shadow(0 10px 30px rgb(243 179 61 / 0.5));
}

.stage__mask .icon {
    width: 100%;
    height: 100%;
    stroke-width: 1.2;
}

.bubble {
    position: absolute;
    padding: 0.6rem 1.1rem;
    border-radius: 18px;
    background: linear-gradient(180deg, var(--white), var(--cream));
    color: var(--night);
    font: 700 clamp(0.95rem, 1.6vw, 1.15rem)/1 var(--font-display);
    box-shadow: var(--shadow-m);
    animation: float 6s ease-in-out infinite;
}

.bubble::after {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 22px;
    width: 14px;
    height: 14px;
    background: inherit;
    transform: rotate(45deg);
    border-radius: 2px;
}

.bubble--1 { top: 8%; left: 4%; }
.bubble--2 { top: 18%; right: 0; background: var(--gold); animation-delay: -1.5s; }
.bubble--3 { bottom: 30%; left: -2%; background: var(--coral); color: var(--white); animation-delay: -3s; }
.bubble--4 { bottom: 16%; right: 8%; animation-delay: -4.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (max-width: 860px) {
    .hero__inner {
        /* minmax(0, …): the column never grows to fit a wide child (video, long word). */
        grid-template-columns: minmax(0, 1fr);
        padding-inline: var(--gutter);
    }

    .hero__stage {
        order: -1;
        max-width: 300px;
        width: 100%;
        margin-inline: auto;
    }

    /* The curtains only decorate wide screens: on phones they eat the width. */
    .hero__curtain {
        display: none;
    }
}

/* --- Method pillars -------------------------------------------------------- */

.pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pillar {
    position: relative;
    padding: 2rem 1.75rem;
    border-radius: var(--radius-m);
    background: var(--white);
    box-shadow: var(--shadow-s);
    border: 1px solid var(--line);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pillar:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-m);
}

.pillar__number {
    display: block;
    margin-bottom: 1.25rem;
    color: var(--gold);
    font: 700 0.9rem/1 var(--font-body);
    letter-spacing: 0.12em;
}

.pillar__title {
    margin-bottom: 0.75rem;
    font-size: 2rem;
    color: var(--plum);
}

.pillar__title small {
    display: block;
    margin-top: 0.35rem;
    color: var(--curtain);
    font: 700 0.8rem/1 var(--font-body);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

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

/* --- Benefits -------------------------------------------------------------- */

.benefits {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: start;
}

.benefits__intro {
    position: sticky;
    top: calc(var(--header-height) + 2rem);
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.benefit {
    padding: 1.75rem;
    border-radius: var(--radius-m);
    background: var(--cream);
}

.benefit__icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 1.1rem;
    border-radius: 16px;
    background: var(--plum);
    color: var(--gold);
}

.benefit:nth-child(3n + 2) .benefit__icon {
    background: var(--curtain);
    color: var(--white);
}

.benefit:nth-child(3n) .benefit__icon {
    background: var(--gold);
    color: var(--night);
}

.benefit__title {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

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

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

    .benefits__intro {
        position: static;
    }
}

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

/* --- Offers -------------------------------------------------------------- */

.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.offer-card {
    --accent: var(--gold);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 2rem;
    border-radius: var(--radius-l);
    background: linear-gradient(180deg, rgb(255 255 255 / 0.07), rgb(255 255 255 / 0.02));
    border: 1px solid var(--hairline-gold);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06);
    transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.offer-card--1 { --accent: #ff8f6b; }
.offer-card--2 { --accent: var(--gold-soft); }

.offer-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    background: linear-gradient(180deg, rgb(255 255 255 / 0.1), rgb(255 255 255 / 0.03));
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08), 0 24px 50px -28px rgb(230 174 72 / 0.45);
}

.offer-card__head {
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgb(255 255 255 / 0.12);
}

.offer-card__audience {
    margin-bottom: 0.5rem;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.offer-card__title {
    font-size: 1.65rem;
}

.offer-card__text {
    margin: 0;
    color: rgb(255 255 255 / 0.78);
}

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

.tag {
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    background: rgb(255 255 255 / 0.1);
    font-size: 0.85rem;
    font-weight: 600;
}

.offer-card__facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 0;
}

.offer-card__facts dt {
    color: rgb(255 255 255 / 0.55);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.offer-card__facts dd {
    margin: 0.2rem 0 0;
    font-weight: 600;
}

.offer-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
}

.offer-card__link:hover .icon {
    transform: translateX(4px);
}

.offer-card__link .icon {
    transition: transform 0.2s ease;
}

/* --- Video --------------------------------------------------------------- */

.video {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.video__frame {
    padding: 14px;
    border-radius: var(--radius-l);
    background: linear-gradient(135deg, var(--curtain), var(--curtain-dark));
    box-shadow: var(--shadow-m);
}

.video__screen {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 1rem;
    aspect-ratio: 16 / 9;
    border-radius: calc(var(--radius-l) - 10px);
    background: radial-gradient(circle at 50% 40%, var(--plum-soft) 0%, var(--night) 70%);
    color: var(--white);
    text-align: center;
}

.video__play {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--night);
    box-shadow: var(--shadow-glow);
}

.video__play .icon {
    width: 30px;
    height: 30px;
    margin-left: 4px;
    fill: currentColor;
}

.video__soon {
    margin: 0;
    padding-inline: 1rem;
    color: rgb(255 255 255 / 0.75);
    font-weight: 600;
}

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

/* --- Course timeline ------------------------------------------------------- */

.timeline {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.timeline__step {
    position: relative;
    padding: 4.25rem 1.5rem 1.75rem;
    border-radius: var(--radius-m);
    background: var(--cream);
    counter-increment: step;
}

.timeline__step::before {
    content: counter(step);
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--plum);
    color: var(--gold);
    font: 700 1rem/1 var(--font-display);
}

.timeline__duration {
    position: absolute;
    top: 1.65rem;
    right: 1.5rem;
    color: var(--curtain);
    font-size: 0.85rem;
    font-weight: 800;
}

.timeline__title {
    margin-bottom: 0.6rem;
    font-size: 1.3rem;
    font-style: italic;
}

.timeline__step p {
    margin: 0;
    color: var(--muted);
    font-size: 0.97rem;
}

@media (max-width: 1060px) {
    .timeline {
        grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    }
}

/* --- Testimonials -------------------------------------------------------- */

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.testimonial figure {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
    padding: 2rem;
    border-radius: var(--radius-l);
    background: linear-gradient(180deg, rgb(255 255 255 / 0.08), rgb(255 255 255 / 0.03));
    border: 1px solid var(--hairline-gold);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06);
}

.testimonial__mark {
    height: 2.5rem;
    color: var(--gold);
    font: 700 5rem/1 var(--font-display);
}

.testimonial__quote {
    flex: 1;
    margin: 0 0 1.5rem;
    font: 400 1.2rem/1.5 var(--font-display);
    font-style: italic;
}

.testimonial__quote p {
    margin: 0;
}

.testimonial__author strong {
    display: block;
}

.testimonial__author span {
    color: rgb(255 255 255 / 0.6);
    font-size: 0.9rem;
}

/* --- FAQ ----------------------------------------------------------------- */

.faq {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}

.faq__intro a {
    color: var(--curtain);
    font-weight: 700;
}

.faq__list {
    display: grid;
    gap: 0.75rem;
}

.faq__item {
    border-radius: var(--radius-m);
    background: var(--white);
    border: 1px solid var(--line);
    transition: box-shadow 0.2s ease;
}

.faq__item[open] {
    box-shadow: var(--shadow-m);
}

.faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.faq__question::-webkit-details-marker {
    display: none;
}

.faq__question .icon {
    color: var(--curtain);
    transition: transform 0.25s ease;
}

.faq__item[open] .faq__question .icon {
    transform: rotate(180deg);
}

.faq__answer {
    padding: 0 1.5rem 1.25rem;
    color: var(--muted);
}

.faq__answer p {
    margin: 0;
}

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

/* --- Final call to action ------------------------------------------------ */

.cta {
    position: relative;
    overflow: hidden;
    padding-block: clamp(4.5rem, 10vw, 8rem);
    background:
        radial-gradient(80% 120% at 100% 100%, rgb(242 123 81 / 0.55) 0%, transparent 60%),
        linear-gradient(135deg, #3d0816 0%, var(--curtain-dark) 30%, var(--curtain) 70%, var(--coral) 100%);
    color: var(--white);
    text-align: center;
}

.cta__spotlight {
    position: absolute;
    inset: -40% 20% auto;
    height: 160%;
    background: radial-gradient(ellipse at top, rgb(248 222 160 / 0.38), transparent 60%);
}

.cta__inner {
    position: relative;
    max-width: 760px;
}

.cta__title {
    margin-bottom: 1.25rem;
    font-size: clamp(2.25rem, 5.5vw, 4rem);
    font-weight: 700;
}

.cta__lead {
    margin-bottom: 2rem;
    color: rgb(255 255 255 / 0.88);
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}

.cta .button--primary {
    background: var(--night);
    box-shadow: 0 14px 30px -12px rgb(0 0 0 / 0.5);
}

.cta .button--primary:hover {
    background: var(--plum);
}

/* --- Contact & forms ----------------------------------------------------- */

.contact {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}

.contact__points {
    display: grid;
    gap: 0.75rem;
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
    font-weight: 600;
}

.contact__points li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact__points .icon {
    padding: 4px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--gold-soft);
    color: var(--plum);
}

.contact__card {
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border-radius: var(--radius-l);
    background: var(--cream);
}

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

.form {
    display: grid;
    gap: 1.25rem;
}

.form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

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

.field {
    display: grid;
    gap: 0.4rem;
}

.field--wide {
    grid-column: 1 / -1;
}

.field label {
    font-weight: 700;
    font-size: 0.95rem;
}

.field__optional {
    color: var(--muted);
    font-weight: 500;
}

.field input:not([type='checkbox']),
.field select,
.field textarea {
    width: 100%;
    min-height: 50px;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-s);
    background: var(--white);
    color: var(--ink);
    font: inherit;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--plum);
    box-shadow: 0 0 0 4px rgb(61 31 90 / 0.15);
}

.field--checkbox {
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 0.75rem;
}

.field--checkbox input {
    width: 22px;
    height: 22px;
    margin: 0.15rem 0 0;
    accent-color: var(--coral);
}

.field--checkbox label {
    font-weight: 500;
}

.field--checkbox .field__errors {
    grid-column: 1 / -1;
}

.field__help {
    margin: 0;
    color: var(--muted);
    font-size: 0.875rem;
}

.field--error input:not([type='checkbox']),
.field--error select,
.field--error textarea {
    border-color: var(--error);
}

.field__errors {
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--error);
    font-size: 0.9rem;
    font-weight: 600;
}

.alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-s);
    font-weight: 600;
}

.alert--success {
    background: #e3f4ea;
    color: var(--success);
}

.alert--error {
    background: #fdecea;
    color: var(--error);
}

/* --- Inner pages ----------------------------------------------------------- */

.page-hero {
    padding-block: clamp(3.5rem, 8vw, 6rem);
    background:
        radial-gradient(50% 80% at 80% 0%, rgb(243 179 61 / 0.2) 0%, transparent 60%),
        linear-gradient(180deg, var(--night) 0%, var(--plum) 100%);
    color: var(--white);
}

.page-hero--compact {
    padding-block: clamp(2.75rem, 6vw, 4.5rem);
}

.page-hero__title {
    max-width: 820px;
    margin-bottom: 1rem;
    font-size: clamp(2.25rem, 5.5vw, 4rem);
    font-weight: 700;
}

.page-hero__lead {
    max-width: 680px;
    margin: 0;
    color: rgb(255 255 255 / 0.8);
    font-size: clamp(1.05rem, 1.7vw, 1.25rem);
}

.breadcrumb {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: rgb(255 255 255 / 0.6);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgb(255 255 255 / 0.85);
}

.offer-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}

.prose {
    font-size: 1.125rem;
}

.offer-detail__aside {
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
    display: grid;
    gap: 0.75rem;
    padding: 2rem;
    border-radius: var(--radius-l);
    background: var(--cream);
}

.facts {
    display: grid;
    gap: 1rem;
    margin: 0 0 1rem;
}

.facts dt {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.facts dd {
    margin: 0.15rem 0 0;
    font-weight: 600;
}

.link-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
}

.link-card {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0.25rem 1rem;
    padding: 1.5rem;
    border-radius: var(--radius-m);
    background: var(--white);
    text-decoration: none;
    border: 1px solid var(--line);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.link-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-m);
}

.link-card span {
    grid-column: 1;
    color: var(--muted);
}

.link-card .icon {
    grid-row: 1 / span 2;
    grid-column: 2;
    color: var(--curtain);
}

@media (max-width: 860px) {
    .offer-detail {
        grid-template-columns: 1fr;
    }

    .offer-detail__aside {
        position: static;
    }
}

/* --- Registration -------------------------------------------------------- */

.registration {
    max-width: 860px;
}

.registration__form {
    gap: 2rem;
}

.step {
    margin: 0;
    padding: clamp(1.5rem, 4vw, 2.25rem);
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    background: var(--white);
    box-shadow: var(--shadow-s);
}

.step__title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0;
    margin-bottom: 1.5rem;
    font: 600 1.5rem/1.2 var(--font-display);
}

.step__number {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--plum);
    color: var(--gold);
    font-size: 1.05rem;
}

.step__hint {
    color: var(--muted);
}

.slot-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
}

.slot {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0 0.75rem;
    padding: 1rem 1.1rem;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-m);
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.slot input {
    grid-row: span 2;
    width: 22px;
    height: 22px;
    accent-color: var(--coral);
}

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

.slot:has(input:checked) {
    border-color: var(--coral);
    background: #fff4ef;
}

.registration__success {
    padding: clamp(2rem, 5vw, 3rem);
    border-radius: var(--radius-l);
    background: var(--cream);
    text-align: center;
}

.registration__success-icon {
    display: inline-grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin-bottom: 1.25rem;
    border-radius: 50%;
    background: var(--success);
    color: var(--white);
}

.registration__success-icon .icon {
    width: 34px;
    height: 34px;
}

/* --- Footer -------------------------------------------------------------- */

.site-footer {
    padding-top: clamp(3rem, 6vw, 4.5rem);
    background: linear-gradient(180deg, var(--night), #0d0615);
    border-top: 1px solid var(--hairline-gold);
    color: rgb(255 255 255 / 0.75);
}

.site-footer__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    padding-bottom: 2.5rem;
}

.site-footer__tagline {
    margin: 1rem 0 0;
    font-family: var(--font-display);
    font-style: italic;
    color: var(--gold);
}

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__links a {
    text-decoration: none;
    font-weight: 600;
}

.site-footer__links a:hover {
    color: var(--gold);
}

.site-footer__legal {
    padding-block: 1.5rem;
    border-top: 1px solid rgb(255 255 255 / 0.08);
    font-size: 0.875rem;
}

.site-footer__legal p {
    margin: 0;
}

/* --- Reveal on scroll ---------------------------------------------------- */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* --- Narrow single-form pages (password…) --------------------------------- */

.narrow {
    max-width: 560px;
}

/* --- Phase 4: content-driven sections, legal pages ------------------------ */

.video__screen {
    position: relative;
    overflow: hidden;
}

.video__poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
}

.video__play {
    position: relative;
    border: 0;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.video__play:hover {
    transform: scale(1.06);
}

.video__notice {
    position: relative;
    margin: 0;
    padding-inline: 1rem;
    color: rgb(255 255 255 / 0.7);
    font-size: 0.85rem;
}

.video__player {
    width: 100%;
    height: 100%;
    border: 0;
    background: #000;
}

.tag-list--dark .tag {
    background: var(--sand);
    color: var(--plum);
}

.objectives {
    margin-top: 2.5rem;
    padding: 1.75rem 2rem;
    border-radius: var(--radius-m);
    background: var(--cream);
}

.objectives__title {
    margin-bottom: 0.75rem;
    font-size: 1.35rem;
}

.objectives ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.5rem 2rem;
    margin: 0;
    padding-left: 1.2rem;
}

.faq__category {
    margin: 1.25rem 0 0.25rem;
    color: var(--curtain);
    font: 800 0.8rem/1.2 var(--font-body);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

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

.faq__answer {
    white-space: normal;
}

.testimonial__author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.testimonial__photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
}

.site-footer__legal-links {
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__legal-links a {
    text-decoration: none;
}

.site-footer__legal-links a:hover {
    color: var(--gold);
}

.legal {
    max-width: 820px;
}

.legal h2 {
    margin: 2.25rem 0 0.75rem;
    font-size: 1.5rem;
}

.legal ul {
    padding-left: 1.25rem;
}

.legal li {
    margin-bottom: 0.4rem;
}

.legal a,
.field--checkbox label a {
    color: var(--curtain);
}

/* --- Hero presentation video ------------------------------------------------ */
/* The frame follows the video's own ratio (--video-ratio, e.g. 9 / 16), so the
   picture fills it without black bars. Vertical videos become a tall column at
   the top of the hero; landscape ones get a wider column. */

.hero__inner--video-portrait,
.hero__inner--video-landscape {
    align-items: start;
}

.hero__inner--video-landscape {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
}

.hero__stage--video {
    align-self: start;
    width: 100%;
}

.stage--video {
    display: flex;
    justify-content: center;
    aspect-ratio: auto;
    max-width: none;
    padding: 2.25rem 0.75rem;
    border-radius: 0;
    background: radial-gradient(55% 65% at 50% 50%, rgb(253 231 184 / 0.28) 0%, transparent 70%);
}

.hero-video {
    position: relative;
    z-index: 1;
    padding: 10px;
    border-radius: var(--radius-l);
    background: linear-gradient(145deg, var(--gold-light) 0%, var(--gold-deep) 18%, var(--curtain) 55%, var(--curtain-dark) 100%);
    box-shadow: 0 30px 60px -25px rgb(0 0 0 / 0.65), var(--shadow-glow);
}

.hero__stage--landscape .hero-video {
    width: 100%;
}

/* Tall but never taller than the screen. */
.hero__stage--portrait .hero-video {
    height: min(72vh, 680px);
}

.hero-video .video__screen {
    aspect-ratio: var(--video-ratio, 16 / 9);
    border-radius: calc(var(--radius-l) - 8px);
}

.hero__stage--portrait .hero-video .video__screen {
    height: 100%;
    width: auto;
}

.video__poster--frame {
    opacity: 0.85;
}

.stage--video .bubble {
    z-index: 2;
}

.stage--video .bubble--1 { top: 0.5rem; left: 4%; }
.stage--video .bubble--2 { top: 3.5rem; right: 0; }
.stage--video .bubble--3 { bottom: 4rem; left: 0; }
.stage--video .bubble--4 { bottom: 0.5rem; right: 6%; }

@media (max-width: 860px) {
    .hero__inner--video-landscape,
    .hero__inner--video-portrait {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero__stage--video {
        order: 0;
        max-width: none;
    }

    /* On phones a vertical video is sized by the width (centred), its height
       following its own ratio, instead of a fixed height forcing the width. */
    .stage--video {
        padding-inline: 0;
    }

    .hero__stage--portrait .hero-video {
        width: 100%;
        height: auto;
    }

    .hero__stage--portrait .hero-video .video__screen {
        width: 100%;
        height: auto;
    }
}
