:root {
    --bg: #efe3bc;
    --bg-soft: #f8eed7;
    --panel: rgba(251, 244, 226, 0.76);
    --panel-strong: rgba(255, 245, 216, 0.9);
    --ink: #18110d;
    --muted: #615040;
    --line: rgba(24, 17, 13, 0.16);
    --line-strong: rgba(24, 17, 13, 0.28);
    --accent: #c88818;
    --accent-strong: #f2b237;
    --accent-soft: rgba(240, 184, 58, 0.22);
    --shadow: 0 32px 80px rgba(70, 43, 8, 0.12);
    --cut: 28px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 15% 18%, rgba(255, 238, 184, 0.8), transparent 30%),
        radial-gradient(circle at 82% 10%, rgba(231, 187, 79, 0.24), transparent 24%),
        radial-gradient(circle at 72% 45%, rgba(234, 198, 109, 0.18), transparent 26%),
        linear-gradient(180deg, #eadcb1 0%, #efe3bc 42%, #f7edd5 100%);
    min-width: 320px;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.28;
    background:
        repeating-linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.12) 0,
            rgba(255, 255, 255, 0.12) 1px,
            transparent 1px,
            transparent 120px
        ),
        repeating-linear-gradient(
            0deg,
            rgba(24, 17, 13, 0.02) 0,
            rgba(24, 17, 13, 0.02) 1px,
            transparent 1px,
            transparent 120px
        );
    mix-blend-mode: soft-light;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

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

.page {
    position: relative;
    overflow: clip;
}

.shell {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
}

.section {
    position: relative;
    padding: 110px 0;
}

.section-head {
    display: grid;
    gap: 18px;
    max-width: 880px;
    margin-bottom: 44px;
}

.section-kicker {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(24, 17, 13, 0.6);
}

.section-title,
.hero__title {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 0.98;
    letter-spacing: -0.03em;
}

.section-title {
    font-size: clamp(2.25rem, 2rem + 2vw, 4.45rem);
}

.cut-panel {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(255, 247, 228, 0.96), rgba(245, 232, 201, 0.72));
    border: 1px solid rgba(24, 17, 13, 0.12);
    clip-path: polygon(
        0 0,
        calc(100% - var(--cut)) 0,
        100% var(--cut),
        100% 100%,
        var(--cut) 100%,
        0 calc(100% - var(--cut))
    );
    box-shadow: var(--shadow);
}

.cut-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.36);
    opacity: 0.8;
    pointer-events: none;
    clip-path: inherit;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 14px 24px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
    transition: transform 0.35s ease, background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

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

.button--solid {
    color: #fff8ea;
    background: linear-gradient(135deg, #99610d 0%, #c68517 45%, #f4b23a 100%);
    box-shadow: 0 18px 36px rgba(141, 86, 9, 0.28);
}

.button--ghost {
    border: 1px solid var(--line-strong);
    background: rgba(255, 248, 229, 0.3);
    backdrop-filter: blur(14px);
}

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

[data-reveal] {
    opacity: 0;
    transform: translate3d(0, 36px, 0);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.hero {
    padding-top: 48px;
    min-height: 100svh;
    display: flex;
    align-items: center;
}

.hero__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
    gap: 54px;
    align-items: center;
}

.hero__content {
    display: grid;
    gap: 24px;
}

.hero__title {
    font-size: clamp(4rem, 3rem + 4.8vw, 8rem);
    max-width: 8ch;
}

.hero__lead {
    margin: 0;
    font-size: clamp(1.2rem, 1rem + 1vw, 1.75rem);
    line-height: 1.32;
    max-width: 18ch;
}

.hero__sublead {
    margin: 0;
    max-width: 62ch;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--muted);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 6px;
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.hero__stat {
    display: grid;
    gap: 8px;
    padding: 22px 22px 24px;
}

.hero__stat-number {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 1.7rem + 1vw, 3rem);
    line-height: 1;
}

.hero__stat-label {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--muted);
}

.hero__art {
    position: relative;
    min-height: 720px;
}

.hero__cluster {
    position: absolute;
    inset: 80px 24px 90px 20px;
}

.hero__badge,
.hero__slab {
    position: absolute;
    z-index: 3;
    padding: 20px 24px;
    width: min(100%, 260px);
}

.hero__badge {
    top: 10px;
    right: 18px;
    display: grid;
    gap: 8px;
}

.hero__badge span,
.hero__slab span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(24, 17, 13, 0.55);
}

.hero__badge strong,
.hero__slab p {
    margin: 0;
    font-weight: 600;
    line-height: 1.55;
}

.hero__badge--alt {
    top: auto;
    right: auto;
    left: 0;
    bottom: 158px;
}

.hero__slab {
    right: 52px;
    bottom: 0;
    width: min(100%, 300px);
}

.hero__veil,
.hero__spark {
    position: absolute;
    pointer-events: none;
}

.hero__veil {
    inset: auto -8vw 8% auto;
    width: 48vw;
    height: 48vw;
    max-width: 720px;
    max-height: 720px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%, rgba(253, 205, 88, 0.34), rgba(253, 205, 88, 0.08) 34%, transparent 66%);
    filter: blur(10px);
}

.hero__spark {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0) 70%);
    mix-blend-mode: screen;
    filter: blur(18px);
}

.hero__spark--left {
    top: 150px;
    left: -20px;
}

.hero__spark--right {
    right: 8%;
    bottom: 18%;
}

.candle {
    position: absolute;
    bottom: 0;
    width: var(--w);
    height: var(--h);
    background:
        linear-gradient(180deg, #fcecb8 0%, #f4ca6d 32%, #d69520 76%, #a46708 100%);
    clip-path: polygon(12% 0, 88% 0, 100% 10%, 100% 100%, 0 100%, 0 10%);
    box-shadow:
        inset 12px 0 24px rgba(255, 255, 255, 0.24),
        inset -18px 0 24px rgba(132, 77, 8, 0.16),
        0 20px 60px rgba(132, 77, 8, 0.22);
}

.candle::before {
    content: "";
    position: absolute;
    top: -42px;
    left: calc(50% - 4px);
    width: 8px;
    height: 26px;
    background: linear-gradient(180deg, #3b2509 0%, #19120b 100%);
    border-radius: 999px;
}

.candle::after {
    content: "";
    position: absolute;
    top: -92px;
    left: 50%;
    width: 34px;
    height: 58px;
    transform: translateX(-50%);
    background:
        radial-gradient(circle at 50% 30%, rgba(255, 248, 220, 0.94) 0 18%, rgba(255, 216, 135, 0.92) 22%, rgba(250, 166, 54, 0.88) 55%, rgba(250, 166, 54, 0) 72%);
    filter: blur(0.8px);
    clip-path: polygon(50% 0, 82% 24%, 100% 62%, 76% 100%, 24% 100%, 0 62%, 18% 24%);
    animation: flame 2.4s ease-in-out infinite;
}

.candle--a {
    --w: 152px;
    --h: 470px;
    left: 12%;
}

.candle--b {
    --w: 112px;
    --h: 360px;
    left: 34%;
    bottom: 12px;
}

.candle--c {
    --w: 176px;
    --h: 560px;
    left: 50%;
}

.candle--d {
    --w: 120px;
    --h: 310px;
    right: 8%;
    bottom: 34px;
}

.hero__smoke {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(146, 130, 116, 0.36);
    filter: blur(1px);
    opacity: 0.56;
}

.hero__smoke--one {
    width: 220px;
    height: 120px;
    left: 40%;
    top: 22%;
    border-top-color: transparent;
    border-left-color: transparent;
    transform: rotate(-16deg);
    animation: smoke 10s ease-in-out infinite;
}

.hero__smoke--two {
    width: 180px;
    height: 80px;
    left: 18%;
    top: 28%;
    border-right-color: transparent;
    border-bottom-color: transparent;
    animation: smoke 12s ease-in-out infinite reverse;
}

.hero__smoke--three {
    width: 150px;
    height: 70px;
    right: 10%;
    top: 18%;
    border-right-color: transparent;
    border-top-color: transparent;
    transform: rotate(12deg);
    animation: smoke 9s ease-in-out infinite;
}

.audience__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.audience__item {
    display: grid;
    gap: 16px;
    min-height: 230px;
    padding: 28px 30px 32px;
}

.audience__item:nth-child(2n) {
    transform: translateY(28px);
}

.audience__index {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    line-height: 1;
    color: rgba(24, 17, 13, 0.28);
}

.audience__item h3,
.program__column h3,
.format__item h3 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.45rem, 1.2rem + 0.7vw, 2rem);
    font-weight: 600;
    line-height: 1.08;
}

.audience__item p,
.format__item p,
.author__text p {
    margin: 0;
    line-height: 1.78;
    color: var(--muted);
}

.learn__grid,
.showcase__grid,
.order__grid,
.author__grid,
.faq__grid {
    display: grid;
    gap: 36px;
    align-items: start;
}

.learn__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.learn__intro {
    position: sticky;
    top: 28px;
    display: grid;
    gap: 24px;
}

.learn__seal {
    display: inline-grid;
    gap: 8px;
    width: fit-content;
    padding: 22px 24px;
}

.learn__seal span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(24, 17, 13, 0.56);
}

.learn__seal strong {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 600;
}

.learn__list {
    display: grid;
    gap: 14px;
}

.learn__point {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 18px;
    padding: 22px 0;
    border-bottom: 1px solid rgba(24, 17, 13, 0.14);
}

.learn__point-mark {
    position: relative;
    width: 18px;
    height: 18px;
    margin-top: 6px;
}

.learn__point-mark::before,
.learn__point-mark::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #8f5e0d, #f3b63d);
    clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.learn__point p {
    margin: 0;
    font-size: 1.06rem;
    line-height: 1.78;
}

.program__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.program__column {
    display: grid;
    gap: 22px;
    padding: 28px 26px 32px;
    min-height: 100%;
}

.program__column ul {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.program__column li {
    position: relative;
    padding-left: 18px;
    line-height: 1.7;
    color: var(--muted);
}

.program__column li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.86em;
    width: 7px;
    height: 7px;
    background: linear-gradient(135deg, #9b650f, #f0b53a);
    transform: rotate(45deg);
}

.showcase__grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.95fr);
    align-items: center;
}

.showcase__content {
    display: grid;
    gap: 28px;
}

.showcase__ticker {
    border-top: 1px solid rgba(24, 17, 13, 0.15);
    border-bottom: 1px solid rgba(24, 17, 13, 0.15);
    padding: 18px 0;
    overflow: hidden;
}

.showcase__track {
    display: flex;
    gap: 14px;
    width: max-content;
    animation: ticker 28s linear infinite;
}

.showcase__track span,
.order__notes span {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(24, 17, 13, 0.76);
    border: 1px solid rgba(24, 17, 13, 0.14);
    background: rgba(255, 248, 229, 0.52);
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

.showcase__visual {
    position: relative;
    min-height: 520px;
    padding: 32px;
    background:
        radial-gradient(circle at 50% 18%, rgba(255, 226, 153, 0.82), transparent 26%),
        linear-gradient(180deg, rgba(255, 248, 230, 0.84), rgba(239, 219, 171, 0.76));
}

.showcase__glow {
    position: absolute;
    inset: auto 18% 16% 18%;
    height: 130px;
    background: radial-gradient(circle, rgba(255, 210, 99, 0.48), rgba(255, 210, 99, 0));
    filter: blur(18px);
}

.showcase__wax {
    position: absolute;
    left: 14%;
    bottom: 14%;
    width: 34%;
    height: 64%;
    background:
        linear-gradient(180deg, #fbedba 0%, #f1c768 34%, #d69219 74%, #af6d08 100%);
    clip-path: polygon(12% 0, 88% 0, 100% 12%, 100% 100%, 0 100%, 0 12%);
    box-shadow: inset 18px 0 28px rgba(255, 255, 255, 0.28), 0 24px 70px rgba(115, 68, 6, 0.2);
}

.showcase__wax::before,
.showcase__wax::after {
    content: "";
    position: absolute;
}

.showcase__wax::before {
    top: -10%;
    left: 50%;
    width: 18px;
    height: 28px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #26180b, #160e09);
}

.showcase__wax::after {
    top: -22%;
    left: calc(50% - 20px);
    width: 40px;
    height: 72px;
    background:
        radial-gradient(circle at 50% 26%, rgba(255, 251, 235, 0.92) 0 15%, rgba(255, 225, 141, 0.92) 19%, rgba(249, 163, 50, 0.85) 54%, rgba(249, 163, 50, 0) 72%);
    clip-path: polygon(50% 0, 84% 24%, 100% 58%, 78% 100%, 22% 100%, 0 58%, 16% 24%);
    animation: flame 2.8s ease-in-out infinite;
}

.showcase__wax--small {
    left: auto;
    right: 18%;
    width: 18%;
    height: 48%;
}

.showcase__wax--thin {
    left: 54%;
    width: 12%;
    height: 56%;
}

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

.format__item {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 26px;
    padding: 24px 0 26px;
    border-top: 1px solid rgba(24, 17, 13, 0.14);
}

.format__item:last-child {
    border-bottom: 1px solid rgba(24, 17, 13, 0.14);
}

.format__number {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 2.2rem + 1vw, 4rem);
    line-height: 0.92;
    color: rgba(24, 17, 13, 0.24);
}

.order__grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
}

.order__content {
    display: grid;
    gap: 26px;
}

.order__course {
    display: grid;
    gap: 8px;
    width: fit-content;
    padding: 22px 24px;
    min-width: min(100%, 460px);
}

.order__course-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(24, 17, 13, 0.58);
}

.order__course strong {
    font-size: clamp(1.2rem, 1rem + 0.9vw, 1.8rem);
    line-height: 1.4;
}

.order__price {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 1.7rem + 1.4vw, 3.2rem);
    line-height: 1;
    color: #9f6810;
}

.order__notes {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.order__form {
    display: grid;
    gap: 18px;
    padding: 30px;
    background:
        linear-gradient(160deg, rgba(255, 250, 237, 0.86), rgba(239, 221, 178, 0.86));
}

.order__form label {
    display: grid;
    gap: 10px;
}

.order__form label span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(24, 17, 13, 0.56);
}

.order__form input {
    width: 100%;
    min-height: 58px;
    padding: 0 18px;
    border: 1px solid rgba(24, 17, 13, 0.14);
    background: rgba(255, 251, 242, 0.68);
    color: var(--ink);
    outline: none;
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.order__form input:focus {
    border-color: rgba(200, 136, 24, 0.52);
    background: rgba(255, 251, 242, 0.94);
}

.reviews__rail {
    overflow: hidden;
    padding: 14px 0 6px;
}

.reviews__track {
    display: flex;
    gap: 18px;
    width: max-content;
    animation: ticker 34s linear infinite;
}

.reviews__note {
    position: relative;
    width: 300px;
    min-height: 220px;
    padding: 28px 24px 24px;
    display: grid;
    align-content: start;
    gap: 12px;
    transform: rotate(-1.5deg);
}

.reviews__note:nth-child(2n) {
    transform: rotate(1.6deg) translateY(14px);
}

.reviews__note:nth-child(3n) {
    transform: rotate(-0.6deg) translateY(-6px);
}

.reviews__quote {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    line-height: 0.8;
    color: rgba(200, 136, 24, 0.58);
}

.reviews__note p {
    margin: 0;
    line-height: 1.78;
    color: var(--muted);
}

.faq__grid {
    grid-template-columns: minmax(0, 0.76fr) minmax(0, 1fr);
}

.faq__list {
    display: grid;
    gap: 14px;
}

.faq__item {
    border: 1px solid rgba(24, 17, 13, 0.14);
    background: rgba(255, 248, 229, 0.52);
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.faq__button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 24px 22px;
    border: 0;
    background: transparent;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
}

.faq__button span:first-child {
    font-size: 1.04rem;
    font-weight: 700;
    line-height: 1.55;
}

.faq__icon {
    position: relative;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
}

.faq__icon::before,
.faq__icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 2px;
    background: linear-gradient(135deg, #8f5f0d, #f0b53a);
    transform: translate(-50%, -50%);
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.faq__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq__button[aria-expanded="true"] .faq__icon::after {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg) scaleX(0.3);
}

.faq__answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.38s ease;
}

.faq__answer.is-open {
    grid-template-rows: 1fr;
}

.faq__answer p {
    overflow: hidden;
    margin: 0;
    padding: 0 24px 24px;
    line-height: 1.78;
    color: var(--muted);
}

.author__grid {
    grid-template-columns: minmax(340px, 0.84fr) minmax(0, 1fr);
    align-items: center;
}

.author__visual {
    display: grid;
    gap: 24px;
    padding: 30px;
    min-height: 520px;
    background:
        radial-gradient(circle at 30% 24%, rgba(250, 217, 132, 0.64), transparent 22%),
        linear-gradient(155deg, rgba(255, 250, 237, 0.92), rgba(236, 218, 175, 0.84));
}

.author__portrait {
    position: relative;
    min-height: 320px;
    display: grid;
    align-content: end;
    padding: 26px;
    background:
        radial-gradient(circle at 50% 18%, rgba(255, 251, 242, 0.88), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(205, 184, 138, 0.34)),
        linear-gradient(145deg, #c39b49 0%, #f2d186 46%, #ecd29b 100%);
    clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 26px 100%, 0 calc(100% - 26px));
}

.author__portrait::before {
    content: "";
    position: absolute;
    inset: 14% 22% 14% 22%;
    background:
        radial-gradient(circle at 50% 24%, rgba(255, 247, 232, 0.92), rgba(255, 247, 232, 0) 34%),
        linear-gradient(180deg, rgba(91, 58, 18, 0.14), rgba(91, 58, 18, 0.02)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
    clip-path: polygon(50% 0, 76% 12%, 84% 28%, 86% 46%, 79% 72%, 68% 100%, 32% 100%, 21% 72%, 14% 46%, 16% 28%, 24% 12%);
    opacity: 0.8;
}

.author__portrait span,
.author__portrait strong {
    position: relative;
    z-index: 1;
}

.author__portrait span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(24, 17, 13, 0.56);
}

.author__portrait strong {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.1rem, 1.8rem + 1vw, 3.4rem);
    line-height: 1;
}

.author__certificate {
    justify-self: end;
    width: min(100%, 220px);
    min-height: 180px;
    padding: 22px;
    display: grid;
    align-content: space-between;
    background:
        linear-gradient(135deg, rgba(255, 250, 236, 0.92), rgba(226, 244, 212, 0.84));
    border: 1px solid rgba(84, 133, 72, 0.24);
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.author__certificate span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(45, 92, 36, 0.72);
}

.author__certificate strong {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    line-height: 1.18;
}

.author__content {
    display: grid;
    gap: 22px;
}

.author__text {
    display: grid;
    gap: 12px;
    max-width: 620px;
}

.author__signature {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2rem, 1.4rem + 2vw, 3.5rem);
    color: #9f6810;
}

@keyframes flame {
    0%,
    100% {
        transform: translateX(-50%) scaleY(1) rotate(-2deg);
        filter: blur(0.7px);
    }
    50% {
        transform: translateX(-50%) scale(1.04, 0.94) rotate(4deg);
        filter: blur(1px);
    }
}

@keyframes smoke {
    0%,
    100% {
        transform: translate3d(0, 0, 0) rotate(-8deg);
        opacity: 0.42;
    }
    50% {
        transform: translate3d(10px, -16px, 0) rotate(8deg);
        opacity: 0.64;
    }
}

@keyframes ticker {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

@media (max-width: 1180px) {
    .hero__grid,
    .learn__grid,
    .showcase__grid,
    .order__grid,
    .faq__grid,
    .author__grid {
        grid-template-columns: 1fr;
    }

    .hero__art {
        min-height: 640px;
    }

    .learn__intro {
        position: static;
    }

    .program__grid {
        grid-template-columns: 1fr;
    }

    .author__visual {
        order: 2;
    }
}

@media (max-width: 920px) {
    .section {
        padding: 88px 0;
    }

    .shell {
        width: min(100% - 28px, 1240px);
    }

    .hero {
        padding-top: 26px;
    }

    .hero__art {
        min-height: 560px;
    }

    .hero__stats,
    .audience__grid {
        grid-template-columns: 1fr;
    }

    .audience__item:nth-child(2n) {
        transform: none;
    }

    .showcase__visual {
        min-height: 420px;
    }

    .format__item {
        grid-template-columns: 72px 1fr;
    }
}

@media (max-width: 720px) {
    :root {
        --cut: 18px;
    }

    .section-head,
    .hero__content {
        gap: 16px;
    }

    .hero__lead,
    .hero__sublead,
    .learn__point p,
    .faq__button span:first-child,
    .audience__item p,
    .reviews__note p {
        font-size: 0.96rem;
    }

    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .button {
        width: 100%;
    }

    .hero__art {
        min-height: 500px;
    }

    .hero__cluster {
        inset: 90px 0 104px;
    }

    .candle--a {
        --w: 118px;
        --h: 360px;
        left: 0;
    }

    .candle--b {
        --w: 84px;
        --h: 270px;
        left: 25%;
    }

    .candle--c {
        --w: 136px;
        --h: 430px;
        left: 46%;
    }

    .candle--d {
        --w: 90px;
        --h: 240px;
        right: 4%;
    }

    .hero__badge,
    .hero__badge--alt,
    .hero__slab {
        width: 220px;
        padding: 16px 18px;
    }

    .hero__badge {
        right: 0;
    }

    .hero__badge--alt {
        bottom: 126px;
        left: 0;
    }

    .hero__slab {
        right: 16px;
    }

    .order__form,
    .author__visual {
        padding: 22px;
    }
}

@media (max-width: 540px) {
    .section {
        padding: 76px 0;
    }

    .shell {
        width: calc(100% - 20px);
    }

    .hero__title {
        max-width: none;
    }

    .hero__art {
        min-height: 440px;
    }

    .hero__cluster {
        inset: 110px 0 96px;
    }

    .hero__badge,
    .hero__badge--alt,
    .hero__slab {
        position: absolute;
        width: 190px;
    }

    .hero__badge {
        top: 0;
    }

    .hero__badge--alt {
        left: 0;
        bottom: 104px;
    }

    .hero__slab {
        right: 0;
        bottom: 0;
    }

    .candle--a {
        --w: 88px;
        --h: 280px;
    }

    .candle--b {
        --w: 70px;
        --h: 210px;
    }

    .candle--c {
        --w: 108px;
        --h: 340px;
    }

    .candle--d {
        --w: 72px;
        --h: 180px;
    }

    .format__item {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .reviews__note {
        width: 260px;
        min-height: 210px;
    }

    .author__portrait {
        min-height: 260px;
    }
}

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

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

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
