/* ONLINE FONTS */
/* @import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Poppins:wght@400;600;700&display=swap"); */

/* LOCAL FONTS */
@font-face {
    font-family: "Playfair Display";
    src: url("assets/fonts/PlayfairDisplay-Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "Poppins";
    src: url("assets/fonts/Poppins-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Poppins";
    src: url("assets/fonts/Poppins-SemiBold.ttf") format("truetype");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "Poppins";
    src: url("assets/fonts/Poppins-Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

:root {
    --black: #050505;
    --pink: #ff004b;
    --violet: #8500ff;
    --cyan: #32e9ff;
    --mint: #02f9cd;
    --green: #16ef00;
    --yellow: #ffe879;
}

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

/* ========================================
   PAGE TRANSITIONS
   ======================================== */

@view-transition {
    navigation: auto;
}

::view-transition-old(root) {
    animation: 250ms ease-in both page-fade-out;
}

::view-transition-new(root) {
    animation: 550ms cubic-bezier(0.76, 0, 0.24, 1) both page-reveal;
}

@keyframes page-fade-out {
    from {
        opacity: 1;
    }

    to {
        opacity: 0.35;
    }
}

@keyframes page-reveal {
    from {
        clip-path: inset(100% 0 0 0);
    }

    to {
        clip-path: inset(0 0 0 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    ::view-transition-old(root),
    ::view-transition-new(root) {
        animation: none;
    }
}

/* Dostępność */
@media (prefers-reduced-motion: reduce) {
    ::view-transition-old(root),
    ::view-transition-new(root) {
        animation: none;
    }
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;

    /* Ligatury, również ozdobne dostępne w Playfair Display */

    font-variant-ligatures: common-ligatures contextual discretionary-ligatures;

    font-feature-settings: "liga" 1;
    /* "clig" 1, */
    /* "dlig" 1; */
}

body {
    margin: 0;
    background: #fff;
    color: var(--black);
    font-family: "Poppins", Arial, sans-serif;
    overflow-x: hidden;
}

#dots-container {
    width: 100%;
    height: 1px;
    overflow: visible;
}

button,
input,
select,
textarea {
    font: inherit;
}

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
    padding: 0 20px;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(8px);
}

.brand img {
    width: 178px;
    height: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: clamp(28px, 3.3vw, 54px);
}

.main-nav a {
    position: relative;
    color: #080808;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-align: left;
}

.main-nav a::after {
    position: absolute;
    right: 0;
    bottom: -7px;
    left: 0;
    height: 2px;
    background: var(--violet);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
}

.section-shell,
.hero-inner {
    position: relative;
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
    overflow: visible;
}

.bottom-fade,
.hero-person {
    -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 50%);
    mask-image: linear-gradient(to top, transparent 0%, #000 50%);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.hero {
    position: relative;
    overflow: visible;
    background: #fff;
}

.hero-inner {
    min-height: auto;
}

.hero-person {
    position: relative;
    z-index: 2;
    left: 164px;
    width: 336px;
    height: 839px;
    object-fit: contain;
}

.hero-copy {
    position: absolute;
    z-index: 5;
    top: 138px;
    left: 580px;
    width: 560px;
}

h1,
h2 {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 700;
    letter-spacing: -0.035em;
}

.hero h1 {
    font-size: clamp(62px, 5.5vw, 74px);
    line-height: 1.2;
}

.hero-copy p {
    width: 510px;
    margin: 16px 0 36px;
    font-size: 19px;
    line-height: 1.42;
}

.hero-copy strong,
.contact strong {
    font-weight: 700;
}

.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    min-width: 230px;
    min-height: 59px;
    padding: 14px 26px;
    color: #fff;
    background: var(--violet);
    border-radius: 100px;
    box-shadow: 12px 15px 18px rgba(133, 0, 255, 0.27);
    font-size: 15px;
    font-weight: 700;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.primary-button-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
}

.primary-button-arrow svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 10px 19px 22px rgba(133, 0, 255, 0.32);
}

.slash {
    position: absolute;
    z-index: 3;
    width: 308px;
    height: 448px;
    clip-path: polygon(0 0, 32.1429% 0, 100% 100%, 67.8571% 100%);
    pointer-events: none;
}

.slash-black {
    top: 173px;
    left: -195px;
    background: #000;
}

.slash-green {
    top: 120px;
    left: -74px;
    background: #33f900;
}

.slash-purple {
    top: 263px;
    left: 129px;
    height: 448px;
    background: rgba(108, 2, 254, 0.82);
}

.slash-mint {
    top: 10px;
    right: calc(50% - 820px);
    width: 367px;
    height: 448px;
    background: rgb(73 253 218 / 85%);
    clip-path: polygon(0 0, 43.052% 0, 100% 100%, 56.948% 100%);
}

.slash.slash-mint {
}

.dot-field {
    background-image: radial-gradient(circle, #090909 2px, transparent 2.2px);
    background-size: 24px 24px;
}

.hero-dots {
    position: absolute;
    z-index: 4;
    top: 555px;
    right: -233px;
    display: block;
    width: 374px;
    height: 364px;
    background-image: none;
    object-fit: cover;
    object-position: center center;
}

.about {
    position: relative;
    min-height: 670px;
    overflow: hidden;
}

.about-inner {
}

.about-copy {
    position: absolute;
    z-index: 5;
    top: 205px;
    left: 0;
    width: 45%;
}

.about-copy h2,
.advantages h2 {
    font-size: 74px;
    line-height: 1.1;
}

.about-copy p {
    margin: 30px 0 0;
    font-size: 15px;
    line-height: 1.55;
}

.about-copy .lead {
    margin-top: 12px;
    font-size: 18px;
    line-height: 1.42;
}

.about-person {
    position: absolute;
    z-index: 0;
    top: 0;
    right: 140px;
    width: 513px;
}

.about-mint {
    top: 3px;
    right: -131px;
    height: 448px;
}

.slash-yellow {
    top: 434px;
    right: calc(50% - 830px);
    width: 367px;
    height: 448px;
    background: rgba(255, 232, 121, 0.85);
    clip-path: polygon(0 0, 43.052% 0, 100% 100%, 56.948% 100%);
}

.courses {
    position: relative;
    min-height: 900px;
    overflow: hidden;
    scroll-margin-top: 70px;
}

.section-heading h2,
.contact h2 {
    font-size: 74px;
    line-height: 1.1;
}

.section-heading p {
    margin: 10px 0 0;
    font-size: 18px;
    line-height: 1.45;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-top: 60px;
    padding: 0px;
    overflow: visible;
}

.course-card {
    position: relative;
    z-index: 2;
    text-align: center;
}

.course-image {
    display: block;
    transition: transform 0.3s ease;
}

.course-image:hover {
    transform: translateY(-8px) rotate(-0.3deg);
}

.course-image img {
    width: 100%;
    /* filter: drop-shadow(14px 20px 13px rgba(0, 0, 0, 0.21)); */
    height: 100%;
    box-shadow: 0 10px 39px #0000004d;
}

.course-card .course-image img {
    transform-origin: center;
    transition: transform 0.3s ease-in-out;
}

.course-card .course-image:hover img {
    transform: scale(1.1);
}

.course-card h3 {
    margin: 36px 0 8px;
    font-size: 14px;
    font-weight: 700;
}

.enrol-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    min-height: 38px;
    margin: 0 auto;
    color: #fff;
    background: var(--course-colour);
    border-radius: 100px;
    font-size: 15px;
    font-weight: 700;
    transition:
        transform 0.2s ease,
        filter 0.2s ease;
}

.enrol-button:hover {
    transform: scale(1.2);
}

.course-arc {
    position: absolute;
    width: 330px;
    height: 530px;
    border-radius: 50%;
    pointer-events: none;
}

.course-arc-left {
    top: 100px;
    left: -270px;
    background: #000;
}

.course-arc-right {
    top: 250px;
    right: -278px;
    background: var(--mint);
}

.advantages {
    position: relative;
    min-height: 820px;
    overflow: hidden;
}

.advantages-inner {
    display: grid;
    grid-template-columns: 400px 1fr;
    min-height: 820px;
}

.advantages-title-wrap {
    position: relative;
    padding-top: 140px;
}

.advantages h2 {
    position: relative;
    z-index: 3;
}

.title-dots {
    position: absolute;
    z-index: 1;
    top: 105px;
    left: -40px;
    width: 100px;
    height: 320px;
}

.advantage-slashes span {
    position: absolute;
    bottom: 0;
    width: 332px;
    height: 406px;
    clip-path: polygon(0.137% 0.245%, 43.04% 0.245%, 100% 100%, 57.237% 100%);
}

.advantage-slashes .violet {
    left: -167px;
    background: #6c02fe;
    top: 280px;
}

.advantage-slashes .cyan {
    left: 60px;
    background: #48daff;
}

.feature-wheel {
    position: relative;
    width: 650px;
    height: 650px;
    margin: 112px 0 0 44px;
}

.feature-circle {
    position: absolute;
    top: 80px;
    left: 88px;
    width: 474px;
    height: 474px;
    border: 4px solid var(--cyan);
    border-radius: 50%;
}

.feature-point {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    color: var(--cyan);
    background: transparent;
    border: 0;
    cursor: pointer;
}

.feature-icon {
    display: grid;
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
    place-items: center;
    background: #fff;
    border-radius: 50%;
    transition:
        color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}

.feature-point:hover .feature-icon,
.feature-point:focus-visible .feature-icon {
    transform: scale(1.08);
}

.feature-point.is-active {
    color: var(--violet);
}

.feature-point.is-active .feature-icon {
    color: #fff;
    background: var(--violet);
    box-shadow: 0 9px 22px rgba(133, 0, 255, 0.24);
    transform: scale(1.15);
}

.feature-label {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
}

.feature-point:nth-of-type(1) {
    top: 104px;
    left: 22px;
    flex-direction: row-reverse;
    text-align: right;
}
.feature-point:nth-of-type(2) {
    top: 44px;
    right: -442px;
}
.feature-point:nth-of-type(3) {
    top: 160px;
    right: -528px;
}
.feature-point:nth-of-type(4) {
    right: -441px;
    bottom: -280px;
}
.feature-point:nth-of-type(5) {
    bottom: -220px;
    left: 24px;
    flex-direction: row-reverse;
}
.feature-point:nth-of-type(6) {
    top: -26px;
    left: -53px;
    flex-direction: row-reverse;
}

.feature-copy {
    position: absolute;
    z-index: 2;
    top: 268px;
    left: 137px;
    width: 380px;
    margin: 0;
    font-size: 18px;
    line-height: 1.55;
    text-align: center;
}

.contact {
    position: relative;
    min-height: 930px;
    color: #fff;
    background: var(--black);
}

.contact-inner {
    min-height: 930px;
}

.contact-rings {
    position: absolute;
    top: 370px;
    left: 22px;
    width: 64px;
    height: 445px;
}

.contact-content {
    width: 590px;
    margin: 0 auto;
    padding-top: 90px;
}

.contact-intro {
    margin: 26px 0 32px;
    font-size: 15px;
    line-height: 1.45;
}

.contact form > label,
.form-row label {
    display: block;
}

.contact label > span:first-child,
.form-row label > span:first-child {
    display: block;
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 700;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact input[type="email"],
.contact select,
.contact textarea {
    width: 100%;
    color: #181818;
    background: #f3f3f3;
    border: 2px solid transparent;
    outline: 0;
    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.contact input[type="email"],
.contact select {
    height: 58px;
    padding: 0 23px;
    border-radius: 100px;
}

.contact textarea {
    min-height: 136px;
    margin-top: 2px;
    padding: 18px 22px;
    border-radius: 26px;
    resize: vertical;
}

.contact form > label:nth-child(2) {
    margin-top: 25px;
}

.contact input:focus,
.contact select:focus,
.contact textarea:focus {
    background: #fff;
    border-color: var(--yellow);
}

.newsletter {
    display: grid !important;
    grid-template-columns: 24px 1fr;
    gap: 12px;
    align-items: start;
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.55;
    cursor: pointer;
}

.newsletter input {
    width: 23px;
    height: 23px;
    margin: 2px 0 0;
    accent-color: #222;
}

.newsletter > span {
    margin: 0 !important;
    font-size: inherit !important;
    font-weight: 400 !important;
}

.legal-copy {
    margin: 38px 0 23px;
    font-size: 11px;
    line-height: 1.45;
    text-align: center;
}

.legal-copy a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.submit-button {
    display: block;
    width: 240px;
    height: 60px;
    margin: 0 auto;
    color: #fff;
    background: #242424;
    border: 0;
    border-radius: 100px;
    box-shadow: 10px 13px 18px rgba(0, 0, 0, 0.22);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.submit-button:hover {
    background: #000;
    transform: translateY(-2px);
}

.form-message {
    margin: 20px auto 0;
    padding: 13px 18px;
    color: #181818;
    background: var(--yellow);
    border-radius: 15px;
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
}

footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 92px;
    padding: 20px;
    color: #777;
    background: #fff;
    font-size: 12px;
}

footer i {
    font-style: normal;
}

footer button {
    padding: 0;
    color: inherit;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.facebook {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: end center;
    color: #fff;
    background: #777;
    font:
        700 22px/1 Arial,
        sans-serif;
}

.cookie-backdrop {
    position: fixed;
    z-index: 200;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(1.5px);
}

.cookie-panel {
    position: relative;
    width: min(500px, 100%);
    padding: 31px 32px 33px;
    background: #fff;
    border: 2px solid var(--violet);
    border-radius: 27px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}

.cookie-panel h2 {
    margin: 0 0 7px;
    font-family: "Poppins", Arial, sans-serif;
    font-size: 14px;
    letter-spacing: 0;
}

.cookie-panel p {
    margin: 0;
    font-size: 12px;
    line-height: 1.35;
}

.cookie-close {
    position: absolute;
    top: 8px;
    right: 14px;
    color: #444;
    background: transparent;
    border: 0;
    font-size: 26px;
    cursor: pointer;
}

.cookie-actions {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.cookie-actions button {
    min-height: 44px;
    color: var(--violet);
    background: #fff;
    border: 1.5px solid var(--violet);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.cookie-actions button:hover {
    color: #fff;
    background: var(--violet);
}

.cookie-choice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 18px 0 0;
    padding: 14px;
    background: #f5f5f5;
    border-radius: 13px;
    font-size: 12px;
    font-weight: 600;
}

.switch input {
    position: absolute;
    opacity: 0;
}

.switch span {
    display: block;
    width: 42px;
    height: 24px;
    padding: 3px;
    background: #bbb;
    border-radius: 20px;
    cursor: pointer;
}

.switch span::after {
    display: block;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    content: "";
    transition: transform 0.2s ease;
}

.switch input:checked + span {
    background: var(--violet);
}

.switch input:checked + span::after {
    transform: translateX(18px);
}

.reveal {
    animation: rise-in 0.7s ease both;
}

.course-card:nth-child(2) {
    animation-delay: 0.1s;
}
.course-card:nth-child(3) {
    animation-delay: 0.2s;
}

@keyframes rise-in {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1100px) {
    .main-nav {
        gap: 24px;
    }
    .main-nav a {
        font-size: 11px;
    }
    .hero-copy {
        left: 52%;
        width: 47%;
    }
    .hero-copy p {
        width: 100%;
    }
    .advantages-inner {
        grid-template-columns: 330px 1fr;
    }
    .feature-wheel {
        margin-left: -4px;
        transform: scale(0.9);
        transform-origin: top left;
    }
}

@media (max-width: 809px) {
    .site-header {
        min-height: 68px;
        padding: 0 18px;
    }

    .brand img {
        width: 152px;
    }

    .menu-toggle {
        position: relative;
        z-index: 83;
        display: grid;
        width: 42px;
        height: 42px;
        padding: 9px;
        background: #fff;
        border: 0;
        place-content: center;
        gap: 5px;
    }

    .menu-toggle span {
        display: block;
        width: 24px;
        height: 2px;
        background: #000;
    }

    .main-nav {
        position: fixed;
        z-index: 82;
        top: 0;
        right: 0;
        display: flex;
        width: min(360px, 88vw);
        height: 100dvh;
        padding: 92px 34px 40px;
        flex-direction: column;
        align-items: flex-start;
        gap: 26px;
        background: #fff;
        box-shadow: -20px 0 50px rgba(0, 0, 0, 0.14);
        transform: translateX(110%);
        transition: transform 0.3s ease;
    }

    .main-nav.is-open {
        transform: translateX(0);
    }
    .main-nav a {
        font-size: 16px;
    }

    .section-shell,
    .hero-inner {
        width: min(100% - 32px, 650px);
    }

    .hero-copy {
        top: 38px;
        left: 0;
        width: 100%;
    }

    .hero h1 {
        font-size: clamp(49px, 13vw, 67px);
        line-height: 1.08;
    }

    .hero-copy p {
        width: min(100%, 520px);
        margin-top: 17px;
        font-size: 16px;
    }

    .hero-person {
        left: 50%;
        width: 310px;
        transform: translateX(-50%);
    }

    .slash-black {
        top: 525px;
        left: -195px;
    }
    .slash-black {
        width: 227px;
        height: 331px;
    }
    .slash-green {
        top: 468px;
        left: -79px;
        width: 237px;
        height: 344px;
    }
    .slash-purple {
        top: 567px;
        left: 42%;
        width: 237px;
        height: 344px;
    }
    .hero-dots {
        top: 675px;
        right: -90px;
        width: 228px;
        height: auto;
    }
    .hero .slash-mint {
        display: none;
    }

    .about,
    .about-inner {
    }

    .about-copy {
        /* top: 70px; */
        left: calc(50% - -5px);
        width: 50%;
        /* right: calc(50% - 700px); */
    }

    .about-copy h2,
    .advantages h2,
    .section-heading h2,
    .contact h2 {
        font-size: clamp(48px, 13vw, 68px);
    }

    .about-copy .lead {
        font-size: 16px;
    }
    .about-copy p {
        font-size: 14px;
    }
    .about-person {
        top: 425px;
        right: 50%;
        width: 430px;
        transform: translateX(50%);
    }
    .about-mint {
        top: 505px;
        right: -130px;
        width: 237px;
        height: 344px;
        clip-path: polygon(0 0, 32.1429% 0, 100% 100%, 67.8571% 100%);
    }
    .slash-yellow {
        top: 695px;
        right: -68px;
        width: 237px;
        height: 344px;
        /* clip-path: polygon(0 0, 32.1429% 0, 100% 100%, 67.8571% 100%); */
    }

    .courses {
        min-height: auto;
        padding: 70px 0 110px;
    }

    .section-heading p {
        font-size: 15px;
    }
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 80px;
        width: min(340px, 100%);
        margin: 85px auto 0;
        padding: 0;
    }

    .course-card h3 {
        margin-top: 30px;
    }
    .course-arc {
        display: none;
    }

    .advantages,
    .advantages-inner {
        min-height: 1130px;
    }

    .advantages-inner {
        display: block;
    }

    .advantages-title-wrap {
        height: 310px;
        padding-top: 90px;
    }

    .title-dots {
        top: 55px;
    }
    .advantage-slashes span {
        display: none;
    }

    .feature-wheel {
        left: 50%;
        width: 650px;
        margin: 0;
        transform: translateX(-50%) scale(0.72);
        transform-origin: top center;
    }

    .contact,
    .contact-inner {
        min-height: 1000px;
    }
    .contact-content {
        width: min(100%, 590px);
        padding: 75px 0 70px;
    }
    .contact-intro br {
        display: none;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .contact-rings {
        display: none;
    }

    footer {
        min-height: 120px;
        flex-wrap: wrap;
        text-align: center;
    }
}

@media (max-width: 470px) {
    .hero h1 {
        font-size: 47px;
    }
    .hero-person {
        margin-top: 363px;
    }
    .primary-button {
        min-width: 210px;
    }
    .about,
    .about-inner {
        min-height: 1010px;
        margin-top: 40px;
        overflow: visible;
    }
    .about-copy {
        top: 45px;
    }
    .about-person {
        top: 485px;
        width: 380px;
    }
    .about-mint {
        top: 560px;
    }
    .slash-yellow {
        top: 720px;
    }
    .advantages,
    .advantages-inner {
        min-height: 990px;
    }
    .feature-wheel {
        transform: translateX(-50%) scale(0.57);
    }
    .contact,
    .contact-inner {
        min-height: 1070px;
    }
    .contact-content {
        padding-top: 60px;
    }
    .newsletter {
        font-size: 12px;
    }
    .legal-copy {
        margin-top: 26px;
    }
    .cookie-panel {
        padding: 28px 22px 24px;
    }
}

/* Poznaj Artwork: sekcja odbiorców odtworzona z projektu źródłowego. */
.about-page .audience-section {
    display: flex;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    background: #fff;
}

.about-page .audience-section::before,
.about-page .audience-section::after {
    content: none;
}

.about-page .audience-inner {
    position: relative;
    display: flex;
    width: min(1200px, calc(100% - 80px));
    max-width: 1200px;
    height: max-content;
    margin: 0 auto;
    padding: 80px 0 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    overflow: visible;
}

.about-page .audience-content {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 100px;
    padding: 0;
    align-items: flex-start;
    overflow: visible;
}

.about-page .audience-left,
.about-page .audience-right {
    position: relative;
    display: flex;
    width: 50%;
    height: max-content;
    flex: 0 0 50%;
    flex-direction: column;
    align-items: flex-start;
    overflow: visible;
}

.about-page .audience-left {
    z-index: 1;
    gap: 10px;
    padding: 20px;
}

.about-page .audience-left h2 {
    width: 100%;
    margin: 0;
    color: #000;
    font-family: "Playfair Display", serif;
    font-size: 74px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: normal;
}

.about-page .audience-left h2 > span {
    display: block;
}

.about-page .audience-slashes {
    position: relative;
    width: 66px;
    height: 223px;
    flex: 0 0 223px;
    overflow: visible;
}

.about-page .audience-slash {
    position: absolute;
    display: block;
    transform: skewX(25deg);
}

.about-page .audience-slash-mint {
    top: 31px;
    left: 53px;
    width: 140px;
    height: 215px;
    background: #4afdda;
}

.about-page .audience-slash-cyan {
    top: -28px;
    left: -168px;
    width: 142px;
    height: 194px;
    background: #32e9ff;
}

.about-page .audience-right {
    gap: 0;
    padding: 0 20px;
}

.about-page .audience-dots {
    position: relative;
    width: 100%;
    height: 2px;
    flex: 0 0 2px;
    overflow: visible;
}

.about-page .audience-dots img {
    position: absolute;
    top: 310px;
    right: -430px;
    width: 356px;
    height: auto;
    max-width: none;
    -webkit-mask: linear-gradient(90deg, #000 21.4897%, transparent 23.3583%);
    mask: linear-gradient(90deg, #000 21.4897%, transparent 23.3583%);
}

.about-page .audience-list {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    display: flex;
    width: 90%;
    max-width: 540px;
    margin: 0;
    padding: 0;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    overflow: hidden;
}

.about-page .audience-item {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.about-page .audience-trigger {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 50px;
    margin: 0;
    padding: 15px 20px;
    align-items: center;
    justify-content: space-between;
    border: 0;
    border-radius: 50px;
    background: #33e9ff;
    color: #fff;
    cursor: pointer;
    font-family: "Poppins", Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 20px;
    text-align: left;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.about-page .audience-trigger:focus-visible {
    outline: 2px solid #111;
    outline-offset: 1px;
}

.about-page .audience-toggle {
    position: relative;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.about-page .audience-toggle::before,
.about-page .audience-toggle::after {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    background: #fff;
    content: "";
    transform: translate(-50%, -50%);
    transition:
        width 0.3s ease,
        height 0.3s ease;
}

.about-page .audience-toggle::before {
    width: 18px;
    height: 2px;
}

.about-page .audience-toggle::after {
    width: 2px;
    height: 18px;
}

.about-page .audience-panel {
    width: 100%;
    max-height: 1px;
    padding: 0 20px;
    overflow: hidden;
    opacity: 0;
    transition:
        max-height 0.3s ease,
        padding 0.3s ease,
        opacity 0.2s ease;
}

.about-page .audience-panel p {
    width: 100%;
    margin: 0;
    color: #000;
    font-family: "Poppins", Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
}

.about-page .audience-item.is-open .audience-trigger {
    background: #49fdda;
}

.about-page .audience-item.is-open .audience-toggle::after {
    height: 2px;
}

.about-page .audience-item.is-open .audience-panel {
    max-height: 130px;
    padding: 8px 20px 12px;
    opacity: 1;
}

.about-page .audience-summary {
    width: 100%;
    min-height: 92px;
    margin: 0;
    padding: 10px 0 40px 20px;
    color: #000;
    font-family: "Poppins", Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    text-align: left;
}

@media (max-width: 809px) {
    .about-page .audience-inner {
        width: 100%;
        max-width: 1200px;
        padding: 0;
    }

    .about-page .audience-content {
        flex-direction: column;
    }

    .about-page .audience-left,
    .about-page .audience-right {
        width: 100%;
        flex-basis: auto;
    }

    .about-page .audience-left {
        padding: 20px;
    }

    .about-page .audience-left h2 {
        font-size: 56px;
        line-height: 1.1;
    }

    .about-page .audience-title-lead > span {
        display: block;
    }

    .about-page .audience-slashes,
    .about-page .audience-dots {
        display: none;
    }

    .about-page .audience-right {
        min-height: 451px;
        padding: 21px 20px;
    }

    .about-page .audience-list {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        max-width: none;
        min-height: 407px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-page .audience-trigger,
    .about-page .audience-toggle::before,
    .about-page .audience-toggle::after,
    .about-page .audience-panel {
        transition: 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;
    }
}

/* --------------------------------------------------------------------------
   Podstrony — wspólna, niezależna rekonstrukcja ARTWORK
   -------------------------------------------------------------------------- */

.page-shell {
    position: relative;
    width: min(1160px, calc(100% - 40px));
    margin-inline: auto;
}

.subpage .site-header {
    position: relative;
}

.main-nav a.is-current::after {
    transform: scaleX(1);
}

.subpage h1,
.subpage h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 700;
    letter-spacing: normal;
}

.subpage h1 {
    font-size: clamp(58px, 6vw, 82px);
    line-height: 1.02;
}
.subpage h2 {
    font-size: clamp(52px, 5.4vw, 74px);
    line-height: 1.08;
}
.subpage p {
    line-height: 1.55;
}

/* Poznaj ARTWORK */

.about-page {
    overflow-x: clip;
}

.about-intro {
    min-height: 790px;
    padding: 55px 360px 80px 0;
    overflow: visible;
}

.about-intro-copy {
    position: relative;
    z-index: 3;
}
.about-intro h1 {
    margin-bottom: 22px;
}
.about-intro-copy > p {
    max-width: 760px;
    margin: 0 0 48px;
    font-size: 16px;
    width: 90%;
}
.about-intro h4 {
    margin: 0 0 35px;
    font-size: 17px;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.about-values article {
    text-align: center;
}
.about-values img {
    width: 136px;
    height: 136px;
    margin: 0 auto 14px;
    object-fit: contain;
    transform-origin: center;
    transition: transform 0.3s ease-in-out;
}

.about-values img:hover {
    transform: scale(1.13);
}

.about-values p {
    margin: 0;
    font-size: 12px;
    line-height: 1.25;
}
.about-intro .decor-dots {
    position: absolute;
    top: 115px;
    right: 15px;
    width: 320px;
    height: 320px;
    background-image: radial-gradient(circle, #111 2px, transparent 2.3px);
    background-size: 26px 26px;
    z-index: 1;
}
.slash-about-a {
    position: absolute;
    z-index: 0;
    top: 43px;
    right: 29px;
    width: 242px;
    height: 727px;
    background: #02f9cd;
    transform: skewX(25deg);
    transform-origin: top left;
}

.audience-section {
    position: relative;
    padding: 90px 0 80px;
    overflow: hidden;
    background: #fff;
}

.audience-section::before,
.audience-section::after {
    position: absolute;
    width: 85px;
    height: 320px;
    content: "";
    transform: skewX(25deg);
    transform-origin: top left;
}
.audience-section::before {
    top: 30px;
    left: -25px;
    background: var(--cyan);
    scale: 2;
}
.audience-section::after {
    right: -20px;
    bottom: 20px;
    background: #ff004b;
}
.audience-inner {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 90px;
}
.audience-inner h2 {
    align-self: start;
}
.audience-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 45px;
}
.audience-list article:last-child {
    grid-column: 1 / -1;
    max-width: 48%;
}
.audience-list h3 {
    margin: 0 0 7px;
    font-size: 15px;
}
.audience-list p {
    margin: 0;
    font-size: 14px;
}
.audience-summary {
    grid-column: 2;
    margin: 10px 0 0;
    font-size: 19px;
}

.environment-section {
    display: grid;
    grid-template-columns: 0.86fr 1.14fr;
    gap: 75px;
    padding: 105px 0;
}
.environment-copy p {
    max-width: 465px;
    margin: 25px 0 0;
    font-size: 15px;
}
.environment-gallery {
    display: grid;
    grid-template-columns: 1.3fr 0.85fr;
    gap: 18px;
    align-items: end;
}
.environment-gallery figure {
    margin: 0;
}
.environment-gallery img {
    width: 100%;
    height: 395px;
    object-fit: cover;
    filter: grayscale(1);
}
.environment-gallery figure:last-child img {
    height: 290px;
}
.environment-gallery figcaption {
    margin-top: 8px;
    font-size: 11px;
    color: #777;
}

.authors-section {
    position: relative;
    overflow: hidden;
    padding: 90px 0 100px;
    background: #f7f7f7;
}
.authors-section::before {
    position: absolute;
    top: -100px;
    left: -90px;
    width: 230px;
    height: 520px;
    background: #6c02fe;
    content: "";
    transform: skewX(25deg);
    transform-origin: top left;
}
.authors-inner {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 80px;
    align-items: center;
}
.authors-portraits {
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 42px;
    min-height: 520px;
}
.authors-portraits figure {
    margin: 0;
    text-align: center;
}
.authors-portraits img {
    width: auto;
    max-width: 180px;
    height: 500px;
    object-fit: contain;
    filter: grayscale(1);
}
.authors-portraits figure:first-child img {
    height: 520px;
}
.authors-portraits figcaption {
    margin-top: 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}
.authors-portraits figcaption span {
    font-weight: 400;
    text-transform: none;
}
.authors-copy p {
    margin: 25px 0 0;
    font-size: 16px;
}
.compact-courses {
    min-height: auto;
    padding-bottom: 125px;
}

/* Strony kursów */

.course-page {
    --accent: #ff004b;
    --accent-2: #8500ff;
}
.web-course {
    --accent: #10df8d;
    --accent-2: #24cde0;
}
.dtp-course {
    --accent: #050505;
    --accent-2: #ffe400;
}

.course-hero {
    min-height: 740px;
    overflow: visible;
}
.course-hero-copy {
    position: absolute;
    z-index: 4;
    top: 150px;
    left: 10px;
    max-width: 490px;
    overflow: visible;
    width: 48%;
}
.course-hero-copy h1 {
    margin-bottom: 28px;
}
.course-hero-copy p {
    margin: 0 0 20px;
    font-size: 17px;
    line-height: 1.4;
}
.course-person {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 46%;
    width: 440px;
    /* height: 730px; */
    object-fit: contain;
    object-position: center bottom;
    filter: grayscale(1);
    mix-blend-mode: multiply;
    mask-image: linear-gradient(to top, transparent 0%, #000 30%);
}
.web-course .course-person {
    width: 405px;
}
.dtp-course .course-person {
    width: 390px;
}
.teacher-caption {
    position: absolute;
    z-index: 4;
    top: 555px;
    right: 0;
    width: 220px;
}
.teacher-caption strong,
.teacher-caption span {
    display: block;
}
.teacher-caption strong {
    margin-bottom: 12px;
    font-size: 17px;
}
.teacher-caption span {
    font-size: 15px;
    line-height: 1.45;
}
.course-hero-decor {
    position: absolute;
    z-index: 1;
    top: 0;
    right: -139px;
    width: 360px;
    max-height: 610px;
    object-fit: contain;
}

.web-hero-signal {
    position: absolute;
    z-index: 1;
    top: 492px;
    left: 1119px;
    display: block;
    width: 269px;
    max-width: none;
    height: 9px;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
}

.web-hero-lines {
    position: absolute;
    z-index: 1;
    top: 598px;
    left: 10px;
    width: 189px;
    height: 70px;
    pointer-events: none;
}

.web-hero-lines__image {
    position: absolute;
    top: -577px;
    left: -393px;
    width: 342px;
    height: auto;
    filter: contrast(2) grayscale(1);
}

.web-hero-lines__image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.web-hero-lines__cyan {
    position: absolute;
    top: -278px;
    left: -376px;
    width: 199px;
    height: 285px;
    background: rgb(51, 233, 255);
    transform: skewX(25deg);
    transform-origin: center;
}

.course-cta {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
    padding: 17px 28px;
    color: #fff;
    border-radius: 999px;
    box-shadow: 10px 12px 18px
        color-mix(in srgb, var(--accent) 40%, transparent);
    font-size: 14px;
    font-weight: 700;
    transform-origin: center;
    transition: transform 0.3s ease-in-out;
}

.course-cta:hover {
    transform: scale(1.2);
}

.web-course .course-cta {
    background: linear-gradient(
        90deg,
        rgb(1, 234, 110) 0%,
        rgb(1, 220, 231) 100%
    );
}

.graphic-course .course-cta {
    background: #ff0048;
}

.dtp-course .course-cta {
    color: #fff700;
    background: var(--black);
}
.course-cta span {
    font-size: 28px;
    line-height: 0.6;
}

.course-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 85px;
    align-items: center;
    min-height: 690px;
    padding: 0px 0 85px;
}
.course-projects {
    width: 100%;
    max-width: 570px;
    aspect-ratio: 1 / 1.02;
    object-fit: cover;
}
.graphic-course .course-projects-frame {
    position: relative;
    justify-self: center;
    width: 100%;
    max-width: 570px;
    aspect-ratio: 571 / 582;
}
.graphic-course .course-projects-frame .course-projects {
    width: 100%;
    height: 100%;
    max-width: none;
    aspect-ratio: auto;
}
.graphic-course .course-projects-side-decor {
    position: absolute;
    top: -318px;
    left: -405px;
    width: 358px;
    max-width: none;
    height: 584px;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    user-select: none;
}
.web-course .course-projects {
    filter: none;
}

.web-intro-orbit,
.web-intro-lines {
    position: absolute;
    z-index: 1;
    display: block;
    max-width: none;
    height: auto;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
}

.web-intro-orbit {
    top: -50px;
    left: calc(100% + 46px);
    width: 615px;
}

.web-intro-lines {
    bottom: 8.5px;
    left: calc(56% - 902px);
    width: 783px;
    transform: rotateY(180deg);
}

@media (min-width: 810px) and (max-width: 1199px) {
    .web-hero-signal {
        top: 513px;
        left: calc(100% + 59px);
    }
}

@media (max-width: 809px) {
    .web-hero-signal {
        top: 448px;
        left: 489px;
    }

    .web-intro-lines {
        display: none;
    }
}

.course-intro-copy p {
    margin: 20px 0 0;
    font-size: 15px;
}
.course-intro-copy .lead {
    font-size: 17px;
    font-weight: 600;
}

.course-band {
    position: relative;
    min-height: 590px;
    padding: 115px 0;
    overflow: hidden;
    background-position: center;
    background-size: cover;
}
.course-band::before {
    position: absolute;
    inset: 0;
    content: "";
    background: rgba(255, 255, 255, 0.82);
}
.graphic-band {
    background-image: linear-gradient(
        120deg,
        #fff 5%,
        rgba(255, 0, 75, 0.18) 55%,
        #fff 95%
    );
}
.web-band {
    background-image: url("assets/images/web-background.jpg");
    color: #fff;
}
.web-band::before {
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.68),
        rgba(0, 0, 0, 0.35)
    );
}
.dtp-band {
    background-image: url("assets/images/dtp-background.jpg");
    color: #fff;
}
.dtp-band::before {
    background: rgba(0, 0, 0, 0.58);
}
.band-copy {
    z-index: 1;
    max-width: 760px;
    margin-left: max(40px, calc((100% - 1160px) / 2));
}
.band-copy.centered {
    margin-inline: auto;
    text-align: center;
}
.band-copy p {
    max-width: 710px;
    font-size: 17px;
}
.band-copy .lead {
    font-size: 20px;
    font-weight: 700;
}

.career-section {
    padding: 105px 0;
}
.career-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-top: 45px;
}
.career-columns p {
    margin: 0;
    font-size: 16px;
}

.program-section {
    position: relative;
    padding: 100px 0 110px;
    overflow: hidden;
    background: #fafafa;
}
.program-heading {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 45px;
}
.program-heading p {
    margin: 0 0 10px;
    font-size: 17px;
}
.program-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 0 55px;
    border-bottom: 2px solid #111;
}
.program-tabs button {
    padding: 19px 12px 17px;
    border: 0;
    color: #777;
    background: transparent;
    font-size: 18px;
    cursor: pointer;
}
.program-tabs button.is-active {
    color: #000;
    background: var(--accent);
    font-weight: 700;
}
.web-course .program-tabs button.is-active {
    background: linear-gradient(90deg, #10df8d, #24cde0);
}
.program-panel[hidden] {
    display: none;
}
.program-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    margin-bottom: 55px;
}
.program-intro p {
    margin: 0;
    font-size: 16px;
}
.program-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 45px 60px;
}
.program-grid article {
    min-width: 0;
    text-align: center;
}
.program-grid img {
    width: 100px;
    height: 105px;
    margin: 0 auto 18px;
    object-fit: contain;
}
.program-grid p {
    margin: 0;
    font-size: 14px;
}
.program-grid.text-cards article {
    display: grid;
    min-height: 150px;
    padding: 28px;
    place-items: center;
    border: 1px solid #d5d5d5;
    background: #fff;
}
.web-program {
    grid-template-columns: repeat(3, 1fr);
}

.web-audience {
    padding: 95px 0 105px;
    text-align: center;
}
.web-audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 70px;
    margin-top: 50px;
}
.web-audience-grid img {
    width: 149px;
    height: 149px;
    margin: 0 auto 25px;
}
.web-audience-grid p {
    max-width: 260px;
    margin: auto;
    font-size: 15px;
}

.schedule-section {
    padding: 90px 170px;
    text-align: center;
}
.schedule-section h3 {
    margin: 0 0 18px;
    font-family: "Playfair Display", serif;
    font-size: 30px;
}
.schedule-section p {
    margin: 0;
    font-size: 16px;
}

.price-section {
    padding: 95px 0 110px;
    overflow: hidden;
    background: #fff;
}
.price-section h2 {
    margin-bottom: 45px;
    text-align: center;
}
.course-facts {
    display: grid;
    grid-template-columns: 1.65fr 0.75fr;
    gap: 55px;
    align-items: start;
}
.course-facts table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.course-facts th,
.course-facts td {
    padding: 14px 16px;
    border-bottom: 1px solid #d5d5d5;
    text-align: left;
}
.course-facts th {
    color: #fff;
    background: #111;
}
.course-facts th:last-child {
    background: var(--accent);
}
.course-facts td:last-child {
    width: 37%;
    font-weight: 700;
}
.price-card {
    padding: 45px 30px;
    color: #fff;
    background: var(--accent);
    text-align: center;
    box-shadow: 18px 20px 0 #111;
}
.price-card strong,
.price-card span {
    display: block;
}
.price-card strong {
    font-size: 18px;
}
.price-card span {
    margin: 14px 0;
    font-family: "Playfair Display", serif;
    font-size: 54px;
    font-weight: 700;
}
.price-card p {
    font-size: 13px;
}
.price-card a {
    display: inline-block;
    margin-top: 14px;
    padding: 13px 21px;
    border: 2px solid currentColor;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}
.web-price {
    background: linear-gradient(135deg, #10df8d, #24cde0);
}
.dtp-price {
    color: #ffe400;
    background: #111;
    box-shadow: 18px 20px 0 #ffe400;
}

/* Certyfikat */

.certificate-page {
    min-height: 100vh;
}
.certificate-main {
    min-height: 760px;
    padding: 105px 0 80px;
    overflow: visible;
}
.certificate-copy {
    position: relative;
    z-index: 4;
    width: 44%;
}
.certificate-copy h2 {
    margin: 30px 0 40px;
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    line-height: 1.35;
    letter-spacing: 0;
}
.certificate-copy p {
    margin: 24px 0 0;
    font-size: 16px;
}
.certificate-media {
    position: absolute;
    z-index: 1;
    top: 0px;
    right: 167px;
    height: 722px;
    overflow: visible;
    width: 440px;
}
.certificate-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
.cert-decor {
    position: absolute;
    top: 15px;
    transform: skewX(25deg);
    transform-origin: top left;
}
.cert-cyan {
    right: -10px;
    width: 140px;
    height: 250px;
    background: #48daff;
}
.cert-violet {
    right: -183px;
    width: 157px;
    height: 448px;
    background: #b37af1;
}
.cert-dot-field {
    position: absolute;
    right: -285px;
    bottom: 10px;
    width: 356px;
    height: 356px;
    background-image: radial-gradient(circle, #111 2px, transparent 2.4px);
    background-size: 24px 24px;
}

/* Kontakt */

.standalone-contact-page {
    min-height: 100vh;
}
.standalone-contact {
    position: relative;
    min-height: 750px;
    padding: 30px 20px 70px;
    overflow: hidden;
}
.contact-page-content {
    position: relative;
    z-index: 3;
    width: min(590px, 100%);
    margin: 0 auto;
}
.contact-page-content h1 {
    margin: 0 0 25px;
    text-align: center;
}
.contact-page-lead {
    margin: 0 0 33px;
    text-align: center;
}
.contact-page-content .contact-form > label {
    display: block;
    margin-bottom: 22px;
}
.contact-page-content .contact-form label > span:first-child {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 700;
}
.contact-page-content input,
.contact-page-content textarea {
    width: 100%;
    padding: 16px 22px;
    border: 1.5px solid #111;
    border-radius: 28px;
    background: #fff;
}
.contact-page-content textarea {
    min-height: 102px;
    resize: vertical;
}
.contact-page-content .legal-copy {
    margin: 38px 0;
    text-align: center;
}
.contact-page-content .submit-button {
    color: #fff;
    background: #222;
}
.contact-side-decor {
    position: absolute;
    left: -70px;
    bottom: 65px;
    width: 260px;
    height: 390px;
    background-image: radial-gradient(circle, #111 2px, transparent 2.3px);
    background-size: 24px 24px;
}
.contact-side-decor::before {
    position: absolute;
    inset: -55px auto -20px 95px;
    width: 99px;
    background: #000;
    content: "";
    transform: skewX(25deg);
    transform-origin: top left;
}
.contact-cyan-decor {
    position: absolute;
    top: 145px;
    right: 70px;
    width: 174px;
    height: 270px;
    background: #48daff;
    transform: skewX(25deg);
    transform-origin: top left;
}

/* Polityka i 404 */

.legal-main {
    padding: 90px 10px 100px;
}
.legal-main .legal-intro {
    margin: 0 0 55px;
    font-size: 17px;
    font-weight: 600;
}
.legal-main section {
    margin-top: 55px;
}
.legal-main h1,
.legal-main h2 {
    margin-bottom: 20px;
    font-family: "Poppins", sans-serif;
    font-size: clamp(25px, 3vw, 38px);
    letter-spacing: -0.02em;
}
.legal-main p,
.legal-main li {
    font-size: 14px;
    line-height: 1.65;
}
.legal-main ol,
.legal-main ul {
    padding-left: 24px;
}
.legal-main li + li {
    margin-top: 9px;
}

.error-main {
    display: grid;
    min-height: calc(100vh - 80px);
    padding: 50px 20px;
    place-items: center;
    align-content: center;
    text-align: center;
}
.error-main h1 {
    margin: 0;
    font-size: clamp(170px, 25vw, 310px);
    line-height: 0.85;
}
.error-main h2 {
    max-width: 650px;
    margin: 35px auto;
    font-family: "Poppins", sans-serif;
    font-size: 22px;
    line-height: 1.45;
    letter-spacing: 0;
}

@media (max-width: 1100px) {
    .about-intro {
        padding-right: 290px;
    }
    .about-values {
        grid-template-columns: repeat(2, 1fr);
    }
    .course-person {
        left: 48%;
    }
    .course-hero-decor {
        right: -190px;
    }
    .teacher-caption {
        right: -50px;
    }
    .certificate-media {
        right: 80px;
    }
    .contact-cyan-decor {
        right: 10px;
    }
}

@media (max-width: 809px) {
    .subpage .site-header {
        position: sticky;
    }
    .subpage h1 {
        font-size: clamp(50px, 14vw, 72px);
    }
    .subpage h2 {
        font-size: clamp(45px, 12vw, 66px);
    }

    .about-intro {
        min-height: auto;
        padding: 65px 0 90px;
    }
    .about-intro .decor-dots,
    .slash-about-a {
        display: none;
    }
    .about-values {
        grid-template-columns: repeat(2, 1fr);
        max-width: 560px;
    }
    .audience-inner {
        display: block;
    }
    .audience-list {
        grid-template-columns: 1fr;
        margin-top: 50px;
    }
    .audience-list article:last-child {
        grid-column: auto;
        max-width: none;
    }
    .audience-summary {
        margin-top: 35px;
    }
    .environment-section {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 80px 0;
    }
    .environment-copy p {
        max-width: none;
    }
    .environment-gallery img {
        height: 300px;
    }
    .authors-inner {
        grid-template-columns: 1fr;
    }
    .authors-portraits {
        order: 2;
        min-height: 390px;
        gap: 20px;
    }
    .authors-portraits img,
    .authors-portraits figure:first-child img {
        height: 360px;
        max-width: 145px;
    }

    .course-hero {
        display: flex;
        min-height: auto;
        padding: 65px 0 40px;
        flex-direction: column;
    }
    .course-hero-copy {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
    }
    .course-person {
        position: relative;
        top: auto;
        left: auto;
        align-self: center;
        width: min(420px, 90%);
        height: 620px;
        margin-top: 15px;
    }
    .teacher-caption {
        position: relative;
        top: auto;
        right: auto;
        width: auto;
        margin: -65px 0 30px 55%;
    }
    .course-hero-decor {
        display: none;
    }
    .course-intro {
        grid-template-columns: 1fr;
        gap: 45px;
        padding: 55px 0 80px;
    }
    .course-projects {
        justify-self: center;
    }
    .course-band {
        min-height: auto;
        padding: 85px 0;
    }
    .band-copy {
        margin-inline: auto;
    }
    .career-columns {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .program-heading {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .program-tabs {
        overflow-x: auto;
    }
    .program-tabs button {
        min-width: 210px;
        font-size: 15px;
    }
    .program-intro {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .program-grid,
    .web-program {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }
    .web-audience-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }
    .schedule-section {
        padding: 75px 0;
    }
    .course-facts {
        grid-template-columns: 1fr;
    }
    .price-card {
        max-width: 430px;
        margin-inline: auto;
    }

    .certificate-main {
        display: flex;
        min-height: auto;
        padding: 70px 0 75px;
        flex-direction: column;
    }
    .certificate-copy {
        width: 100%;
    }
    .certificate-media {
        position: relative;
        top: auto;
        right: auto;
        align-self: center;
        width: min(430px, 100%);
        height: 610px;
        margin-top: 45px;
    }
    .cert-decor,
    .cert-dot-field {
        display: none;
    }
    .standalone-contact {
        padding-top: 65px;
    }
    .contact-side-decor,
    .contact-cyan-decor {
        display: none;
    }
}

@media (max-width: 470px) {
    .page-shell {
        width: min(100% - 30px, 1160px);
    }
    .about-values {
        grid-template-columns: 1fr;
    }
    .about-values img {
        width: 150px;
        height: 150px;
    }
    .environment-gallery {
        grid-template-columns: 1fr;
    }
    .environment-gallery img,
    .environment-gallery figure:last-child img {
        height: 260px;
    }
    .authors-portraits img,
    .authors-portraits figure:first-child img {
        height: 300px;
        max-width: 125px;
    }
    .course-hero-copy p {
        font-size: 15px;
    }
    .course-person {
        height: 500px;
    }
    .teacher-caption {
        margin-left: 40%;
    }
    .program-grid,
    .web-program {
        grid-template-columns: 1fr;
    }
    .program-tabs button {
        min-width: 175px;
        padding-inline: 10px;
    }
    .course-facts {
        overflow-x: auto;
    }
    .course-facts table {
        min-width: 620px;
    }
    .certificate-media {
        height: 500px;
    }
    .error-main h2 {
        font-size: 18px;
    }
}

/* Wierne sekcje kursów: tło, program, terminy i interaktywny cennik */

.course-story {
    position: relative;
    isolation: isolate;
    min-height: 900px;
    overflow: hidden;
    color: #fff;
    background: #b90039;
}

.dtp-story {
    min-height: 730px;
    background: #101010;
}
.web-story {
    min-height: 590px;
    background: #5c1646;
}

.story-media,
.story-tint {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.story-media {
    z-index: -4;
    max-width: none;
    object-fit: cover;
    transform: scale(1.035);
    animation: story-drift 18s ease-in-out infinite alternate;
}

.story-tint {
    z-index: -3;
}
.dtp-story .story-tint {
    background: linear-gradient(
        105deg,
        rgba(0, 0, 0, 0.83),
        rgba(0, 0, 0, 0.61)
    );
}
.web-story .story-tint {
    background: linear-gradient(
        100deg,
        rgba(47, 7, 45, 0.81),
        rgba(151, 0, 92, 0.56)
    );
}

.story-content {
    z-index: 3;
    /* display: flex; */
    /* min-height: inherit; */
    padding: 24px 0px;
    flex-direction: column;
    justify-content: space-between;
}

.single-story .story-content {
    justify-content: center;
}
.story-block {
    width: min(735px, 75%);
}
.story-block h2 {
    margin-bottom: 24px;
    color: #fff;
    font-size: 74px;
    line-height: 1.08;
}
.story-block p {
    margin: 0 0 22px;
    font-size: 16px;
    line-height: 1.52;
}
.story-block .lead {
    font-size: 17px;
    font-weight: 700;
}
.dtp-story .story-block {
    width: min(780px, 74%);
}
.web-story .story-block {
    width: min(760px, 72%);
    text-align: left;
}

.story-dots {
    position: relative;
    z-index: 0;
    top: 100px;
    left: calc(50% - 590px);
    width: 123px;
    animation: dots-bob 6s ease-in-out infinite alternate;
}

.story-ring {
    position: absolute;
    z-index: 2;
    bottom: -265px;
    left: -92px;
    width: 383px;
    animation: ring-turn 24s linear infinite;
}

.story-slashes {
    position: absolute;
    z-index: 2;
    top: -115px;
    right: 3.2%;
    width: 190px;
    height: 610px;
    pointer-events: none;
    transform: none;
}

.story-slashes i {
    position: absolute;
    top: 0;
    width: 18px;
    height: 590px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.05),
        rgba(255, 0, 146, 0.62) 70%,
        #ffad16
    );
    transform: skewX(25deg);
    transform-origin: top left;
    animation: slash-float 8s ease-in-out infinite alternate;
}

.story-slashes i:nth-child(1) {
    right: 110px;
    animation-delay: -1.5s;
}
.story-slashes i:nth-child(2) {
    right: 57px;
    animation-delay: -3.5s;
}
.story-slashes i:nth-child(3) {
    right: 4px;
    animation-delay: -5.5s;
}
.dtp-story .story-slashes i {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.08),
        #ffe000 75%,
        #f39a00
    );
}
.web-story .story-slashes i {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.04),
        #25e4c6 75%,
        #28c4e8
    );
}

.motion-ready .reveal-on-scroll {
    opacity: 0;
    transform: translateY(34px);
    transition:
        opacity 0.8s ease,
        transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.motion-ready .reveal-on-scroll.is-visible {
    opacity: 1;
    transform: none;
    margin-bottom: 24px;
}

.program-section {
    position: relative;
    padding: 62px 0 70px;
    overflow: visible;
    background: #fff;
}

.program-section .page-shell {
    position: relative;
    z-index: 4;
    overflow: visible;
}
.program-heading {
    display: block;
    margin: 0 0 38px;
    text-align: center;
}
.program-heading h2 {
    font-size: 64px;
    line-height: 1.12;
}
.program-heading p {
    max-width: 720px;
    margin: 20px auto 0;
    font-size: 13px;
    line-height: 1.45;
}

.program-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    height: 64px;
    margin: 46px 0px;
    overflow: visible;
    border: 0;
    border-radius: 34px;
    background: #ececec;
}

.program-tabs-track {
    display: contents;
}

.program-tabs-cycle {
    display: none;
}

.program-tabs button {
    min-width: 0;
    padding: 12px 18px;
    border: 0;
    border-radius: 34px;
    color: #7a7a7a;
    background: transparent;
    font-size: 17px;
    font-weight: 400;
    transition:
        color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.program-tabs button:hover {
    color: #111;
}
.program-tabs button.is-active,
.web-course .program-tabs button.is-active {
    color: #111;
    background: #fff;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    font-weight: 400;
    transform: scale(1.012);
}

.program-panel {
    min-height: 900px;
}
.web-program-section .program-panel {
    min-height: auto;
}
.program-panel[hidden] {
    display: none;
}
.program-intro {
    display: block;
    max-width: 1120px;
    margin: 0 auto 48px;
    text-align: center;
}
.program-intro p {
    margin: 0 auto 14px;
    font-size: 13px;
    line-height: 1.48;
}
.program-grid,
.web-program {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 42px 54px;
    width: min(1120px, 100%);
    margin-inline: auto;
}

.program-grid article {
    min-width: 0;
    min-height: 205px;
    padding: 0 5px;
    text-align: center;
}
.program-grid img {
    width: 101px;
    height: 112px;
    margin: 0 auto 16px;
    object-fit: contain;
}
.program-grid p {
    max-width: 340px;
    margin: 0 auto;
    font-size: 12.5px;
    line-height: 1.48;
}
.program-grid article:last-child:nth-child(3n + 1) {
    grid-column: 2;
}
.web-program article {
    min-height: 220px;
}
.web-program-section {
    padding-top: 78px;
}

.program-ring {
    position: absolute;
    z-index: 2;
    top: -192px;
    right: -112px;
    width: 383px;
    animation: ring-turn 24s linear infinite;
    height: 383px;
}

/* Graphic Design: pierścień pozostaje nad tłem, ale pod treścią sekcji story. */
.graphic-course .graphic-story {
    isolation: auto;
    /* height: max-content; */
}

.graphic-course .graphic-story .story-media {
    z-index: 0;
}

.graphic-course .graphic-story .story-tint {
    z-index: 1;
}

.graphic-course .graphic-story .story-content,
.graphic-course .graphic-story .story-block {
    position: relative;
    z-index: 3;
    height: fit-content;
}

.graphic-course .graphic-program-section .program-ring {
    z-index: 2;
}

.program-side-art {
    position: absolute;
    z-index: 0;
    right: calc(50vw - 910px);
    bottom: 25px;
    width: 203px;
}
.dtp-program-section .program-side-art {
    top: 440px;
    bottom: auto;
    width: 307px;
}
.program-dtp-left {
    position: absolute;
    z-index: 2;
    left: calc(50vw - 860px);
}
.program-dtp-left-top {
    top: 60px;
    width: 270px;
}
.program-dtp-left-bottom {
    bottom: -420px;
    width: 246px;
    overflow: visible;
}
.web-program-art {
    position: absolute;
    z-index: 0;
    bottom: 0;
    left: -213px;
    width: 467px;
}

.schedule-section {
    position: relative;
    z-index: 4;
    min-height: 190px;
    margin: 0 auto 46px;
    padding: 30px 150px 34px;
    overflow: hidden;
    background: #fafafa;
    text-align: center;
}

.schedule-section > img:not(.web-schedule-art) {
    width: 36px;
    height: 39px;
    margin: 0 auto 13px;
    filter: brightness(0) invert(0);
    object-fit: contain;
}
.schedule-section h3 {
    margin: 0 0 15px;
    font-family: "Poppins", sans-serif;
    font-size: 19px;
    font-weight: 700;
}
.schedule-section p {
    max-width: 900px;
    margin: 0 auto;
    font-size: 12px;
    line-height: 1.55;
}
.web-schedule {
    overflow: visible;
    border-radius: 16px;
    background: linear-gradient(
        90deg,
        rgb(64, 173, 234) 0%,
        rgb(235, 87, 123) 100%
    );
    color: #fff;
}
.web-schedule-art {
    position: absolute;
    z-index: -1;
    pointer-events: none;
}
.web-schedule-art-left {
    bottom: -140px;
    left: -208px;
    width: 142px;
}
.web-schedule-art-right {
    top: -205px;
    right: -20px;
    width: 520px;
    opacity: 0.8;
}

.price-section {
    position: relative;
    padding: 58px 0 72px;
    overflow: hidden;
    background: #f0f0f0;
    --price-accent: #ff004b;
}

.dtp-course .price-section {
    --price-accent: #111;
}
.web-course .price-section {
    --price-accent: #22cdbd;
}
.price-section .page-shell {
    position: relative;
    z-index: 3;
}
.price-section h2 {
    margin: 0 0 42px;
    font-size: 64px;
    line-height: 1.1;
    text-align: center;
}
.price-decor {
    position: absolute;
    z-index: 1;
    top: 0;
    left: -30px;
    width: 230px;
}

.price-layout {
    display: grid;
    grid-template-columns: 185px minmax(0, 760px);
    gap: 42px;
    justify-content: center;
    align-items: center;
}

.price-layout-single {
    display: block;
    width: min(900px, 100%);
    margin: 0 auto;
}
.level-selector {
    position: relative;
    display: flex;
    padding-left: 8px;
    flex-direction: column;
    align-items: flex-start;
}
.level-selector::before {
    position: absolute;
    z-index: -1;
    top: 24px;
    bottom: 24px;
    left: 24px;
    width: 1px;
    background: #a9a9a9;
    content: "";
}
.level-selector button {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 47px;
    padding: 0;
    border: 0;
    color: #8a8a8a;
    background: transparent;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
}

.level-selector button span {
    display: grid;
    /* flex: 0 0 34px; */
    width: 34px;
    height: 34px;
    margin-right: 11px;
    place-items: center;
    border: 1px solid #999;
    border-radius: 50%;
    background: #f0f0f0;
    color: #777;
    transition: 0.2s ease;
}

.level-selector button.is-active {
    color: #6c6c6c;
}
.level-selector button.is-active span {
    border-color: var(--price-accent);
    color: #fff;
    background: var(--price-accent);
    font-weight: 700;
    transform: scale(1.03);
}

.price-table-card {
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}
.price-table-head {
    display: grid;
    grid-template-columns: 1.45fr 0.8fr;
    gap: 25px;
    padding: 25px 34px 12px;
    color: var(--price-accent);
    font-size: 16px;
}
.price-row {
    display: grid;
    grid-template-columns: 28px minmax(0, 1.45fr) minmax(190px, 0.8fr);
    gap: 13px;
    align-items: center;
    min-height: 47px;
    margin: 0 34px;
    padding: 6px 0;
    border-bottom: 1px solid #9f9f9f;
    font-size: 11.7px;
    line-height: 1.22;
}

.price-row::before {
    color: var(--price-accent);
    content: "✓";
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
}
.price-row strong {
    font-size: 11.7px;
    line-height: 1.25;
}
.price-total {
    margin-top: 19px;
    padding: 16px 25px;
    color: #fff;
    background: var(--price-accent);
    font-size: 19px;
    font-weight: 700;
    text-align: center;
}
.dtp-course .price-total {
    color: #ffe300;
}
.price-note {
    max-width: 900px;
    margin: 28px auto 0;
    color: #777;
    font-size: 10.5px;
    line-height: 1.45;
    text-align: center;
}
.price-note a {
    text-decoration: underline;
}

@keyframes story-drift {
    from {
        transform: scale(1.035) translate3d(-0.6%, 0, 0);
    }
    to {
        transform: scale(1.08) translate3d(0.8%, -0.5%, 0);
    }
}

@keyframes dots-bob {
    from {
        transform: translateY(-9px);
    }
    to {
        transform: translateY(12px);
    }
}

@keyframes ring-turn {
    to {
        transform: rotate(360deg);
    }
}

@keyframes slash-float {
    from {
        transform: skewX(25deg) translateY(-18px);
    }
    to {
        transform: skewX(25deg) translateY(22px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .story-media,
    .story-dots,
    .story-ring,
    .program-ring,
    .story-slashes i {
        animation: none;
    }
    .motion-ready .reveal-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (max-width: 809px) {
    .course-story,
    .dtp-story {
        /* min-height: auto; */
    }
    .web-story {
        min-height: 500px;
    }
    .story-content {
        min-height: 790px;
        padding: 58px 0;
        gap: 65px;
        justify-content: center;
    }
    .single-story .story-content {
        min-height: 500px;
    }
    .story-block,
    .dtp-story .story-block,
    .web-story .story-block {
        width: min(100%, 680px);
        min-height: 420px;
    }
    .story-block h2 {
        font-size: clamp(48px, 10vw, 64px);
    }
    .story-block p {
        font-size: 14px;
    }

    .story-ring {
        bottom: -300px;
        left: -170px;
    }
    .story-slashes {
        right: -60px;
        opacity: 0.42;
    }

    .program-section {
        padding: 58px 0 65px;
    }
    .program-heading h2 {
        font-size: clamp(48px, 10vw, 62px);
    }
    .program-tabs {
        grid-template-columns: repeat(3, minmax(175px, 1fr));
        margin-bottom: 38px;
        overflow-x: auto;
        overflow-y: hidden;
    }
    .program-tabs button {
        min-width: 175px;
        padding: 10px 12px;
        font-size: 14px;
    }
    .program-panel {
        min-height: auto;
    }
    .program-intro {
        margin-bottom: 38px;
    }
    .program-grid,
    .web-program {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 38px 28px;
    }
    .program-grid article {
        min-height: 200px;
    }
    .program-grid article:last-child:nth-child(3n + 1) {
        grid-column: auto;
    }
    .program-grid article:last-child:nth-child(2n + 1) {
        grid-column: 1 / -1;
        width: calc(50% - 14px);
        justify-self: center;
    }
    .program-ring {
        right: -250px;
        /* opacity: 0.65; */
    }
    .program-side-art,
    .program-dtp-left,
    .web-program-art {
        opacity: 0.24;
    }

    .schedule-section {
        width: min(100% - 40px, 1160px);
        padding: 30px 40px 34px;
    }
    .web-schedule-art-right {
        display: none;
    }

    .price-section h2 {
        font-size: clamp(48px, 10vw, 62px);
    }
    .price-layout {
        grid-template-columns: 1fr;
        width: min(100%, 760px);
        margin: 0 auto;
    }
    .level-selector {
        flex-direction: row;
        align-items: flex-start;
        justify-content: center;
        padding: 0 0 6px;
        overflow-x: auto;
    }
    .level-selector::before {
        top: 17px;
        right: 50px;
        bottom: auto;
        left: 50px;
        width: auto;
        height: 1px;
    }
    .level-selector button {
        width: auto;
        min-width: 118px;
        min-height: 72px;
        flex-direction: column;
        justify-content: flex-start;
        text-align: center;
    }
    .level-selector button span {
        margin: 0 0 7px;
        background: #f0f0f0;
    }
    .price-decor {
        left: -130px;
        opacity: 0.55;
    }
}

@media (max-width: 470px) {
    .story-content {
        min-height: 850px;
        gap: 45px;
    }
    .single-story .story-content {
        min-height: 520px;
    }
    .story-block h2 {
        font-size: 50px;
    }
    .story-block p {
        margin-bottom: 16px;
        font-size: 13px;
    }
    .story-slashes {
        display: none;
    }

    .program-heading h2 {
        font-size: 49px;
    }
    .program-heading p {
        font-size: 12px;
    }
    .program-tabs {
        height: 58px;
        grid-template-columns: repeat(3, minmax(145px, 1fr));
    }
    .program-tabs button {
        min-width: 145px;
        font-size: 12px;
    }
    .program-grid,
    .web-program {
        grid-template-columns: 1fr;
    }
    .program-grid article,
    .program-grid article:last-child:nth-child(2n + 1) {
        grid-column: auto;
        width: auto;
        min-height: 185px;
    }
    .program-grid p {
        font-size: 12px;
    }
    .program-side-art,
    .program-dtp-left,
    .web-program-art {
        display: none;
    }

    .schedule-section {
        width: min(100% - 30px, 1160px);
        padding: 28px 20px 32px;
    }
    .schedule-section p {
        font-size: 11px;
    }
    .web-schedule-art-left {
        display: none;
    }

    .price-section {
        padding-top: 50px;
    }
    .price-section h2 {
        font-size: 50px;
    }
    .price-layout {
        gap: 24px;
    }
    .level-selector {
        justify-content: flex-start;
    }
    .level-selector button {
        min-width: 105px;
        font-size: 12px;
    }
    .price-table-head {
        grid-template-columns: 1fr auto;
        padding: 22px 20px 12px;
        font-size: 13px;
    }
    .price-row {
        grid-template-columns: 23px minmax(0, 1fr);
        gap: 10px;
        margin: 0 20px;
        padding: 10px 0;
    }
    .price-row strong {
        grid-column: 2;
        color: #111;
    }
    .price-row::before {
        grid-row: 1 / span 2;
        font-size: 25px;
    }
    .price-total {
        font-size: 15px;
    }
    .price-note {
        font-size: 9.5px;
    }
}

/* Typography synchronized with the reference site. */
.main-nav a {
    font-size: 14px;
}

.hero h1,
.about-copy h2,
.advantages h2,
.section-heading h2,
.contact h2,
.subpage h1,
.subpage h2,
.story-block h2,
.program-heading h2,
.price-section h2 {
    font-size: 74px;
}

.hero-copy p,
.about-copy .lead,
.section-heading p,
.feature-copy {
    font-size: 19px;
    max-width: 560px;
}

.about-copy p,
.course-intro-copy p,
.course-intro-copy .lead,
.story-block p,
.story-block .lead,
.band-copy p,
.band-copy .lead,
.career-columns p,
.program-heading p,
.program-intro p,
.program-grid p,
.web-audience-grid p,
.schedule-section p {
    font-size: 15px;
}

.primary-button,
.course-card h3,
.enrol-button,
.contact-intro,
.contact label > span:first-child,
.form-row label > span:first-child,
.newsletter,
.submit-button,
.course-cta,
.contact-page-content .contact-form label > span:first-child {
    font-size: 16px;
}

.contact input[type="email"],
.contact select,
.contact textarea,
.contact-page-content input,
.contact-page-content textarea {
    font-size: 14px;
}

.feature-label {
    font-size: 15px;
}
.legal-copy {
    font-size: 12px;
}

.about-intro-copy > p,
.about-intro h4,
.audience-list h3,
.audience-list p,
.audience-summary {
    font-size: 15px;
}

.about-values p {
    font-size: 14px;
}
.environment-copy p,
.authors-copy p {
    font-size: 19px;
}

.course-hero-copy p {
    font-size: 16px;
}
.teacher-caption strong {
    font-size: 18px;
}
.teacher-caption span {
    font-size: 15px;
}
.program-tabs button,
.level-selector button,
.level-selector button span {
    font-size: 20px;
}
.schedule-section h3 {
    font-size: 24px;
}
.price-table-head {
    font-size: 24px;
}
.price-row,
.price-row strong {
    font-size: 16px;
}
.price-total {
    font-size: 30px;
}
.price-note {
    font-size: 15px;
}

.certificate-copy h2 {
    font-size: 19px;
}
.certificate-copy p {
    font-size: 15px;
}

.legal-main .legal-intro {
    font-size: 19px;
}
.legal-main h1,
.legal-main h2 {
    font-size: 28px;
}
.legal-main p,
.legal-main li {
    font-size: 18px;
}

.error-main h1 {
    font-size: 260px;
}
.error-main h2 {
    font-size: 19px;
}
.error-main .primary-button {
    font-size: 16px;
}

/* Layout synchronized with the responsive reference. */
@media (min-width: 810px) {
    body:not(.subpage) .courses {
        min-height: 750px;
        overflow: visible;
    }
    body:not(.subpage) .contact,
    body:not(.subpage) .contact-inner {
        min-height: 986px;
    }

    .about-intro {
        min-height: 600px;
    }
    .audience-section {
        padding-block: 48px;
    }
    .environment-section {
        padding-block: 55px;
    }
    .authors-section {
        padding-block: 45px 55px;
    }
    .authors-portraits {
        min-height: 450px;
    }
    .authors-portraits img {
        height: 430px;
    }
    .authors-portraits figure:first-child img {
        height: 450px;
    }
    .about-page .compact-courses {
        padding-bottom: 80px;
    }
    .about-page .compact-courses .courses-grid {
        margin-top: 80px;
    }
    .graphic-course .program-section {
        margin-top: -180px;
    }
    .graphic-course .price-section {
        padding-bottom: 143px;
    }

    .web-course .program-section {
        margin-top: -332px;
    }
    .web-program article {
        min-height: 230px;
    }
    .web-course .price-section {
        margin-top: 45px;
        padding-bottom: 143px;
    }

    .dtp-course .price-section {
        margin-top: 74px;
        padding-bottom: 106px;
    }

    .standalone-contact {
        padding-top: 18px;
    }
    .contact-page-content {
        width: 580px;
    }

    .legal-main {
        padding-top: 34px;
    }
    .legal-main section {
        margin-top: 70px;
    }
}

@media (max-width: 809px) {
    .site-header,
    .subpage .site-header {
        position: sticky;
        min-height: 80px;
        padding-inline: 20px;
    }

    .brand img {
        width: 178px;
    }

    .section-shell,
    .page-shell {
        width: calc(100% - 60px);
        overflow: visible;
    }

    .hero-inner {
        width: calc(100% - 60px);
        padding-bottom: 230px;
    }

    /* Strona główna */

    .hero-copy {
        top: 395px;
        left: 0;
        width: 100%;
    }

    .hero h1 {
        font-size: 50px;
        line-height: 1.2;
    }

    .hero-copy p {
        width: 100%;
        margin: 6px 0 28px;
        font-size: 19px;
    }

    .hero-person {
        left: 50%;
        width: 310px;
        height: 440px;
        transform: translateX(-50%);
    }

    .slash-black {
        top: 175px;
        left: -220px;
        width: 227px;
        height: 331px;
    }
    .slash-green {
        top: 56px;
        left: -92px;
        width: 237px;
        height: 344px;
    }
    .slash-purple {
        top: 215px;
        left: 70px;
        width: 237px;
        height: 344px;
    }
    .hero-dots {
        display: none;
    }

    .about-copy {
        top: 64px;
    }
    .about-copy h2,
    .advantages h2 {
        font-size: 60px;
        line-height: 1.2;
    }
    .about-copy .lead {
        font-size: 18px;
    }
    .about-copy p {
        font-size: 15px;
    }
    .about-person {
        top: 390px;
        width: 400px;
    }
    .about-mint {
        top: 455px;
    }
    .slash-yellow {
        top: 635px;
    }

    .courses {
        padding: 43px 0 70px;
    }
    .section-heading h2 {
        font-size: 60px;
        line-height: 1.1;
    }
    .section-heading p {
        font-size: 19px;
        max-width: 450px;
    }
    .courses-grid {
        width: 202px;
        gap: 73px;
        margin-top: 60px;
    }
    .course-card h3 {
        width: 202px;
        margin: 24px 0 8px;
        line-height: 1.1;
    }

    .advantages,
    .advantages-inner {
        min-height: 700px;
    }
    .advantages-title-wrap {
        height: 300px;
        padding-top: 60px;
    }
    .title-dots {
        top: 35px;
        left: -20px;
    }
    .feature-wheel {
        left: 0;
        width: 2140px;
        height: 400px;
        margin: 0;
        transform: none;
    }
    .feature-circle {
        display: none;
    }
    .feature-point {
        top: 35px !important;
        right: auto !important;
        bottom: auto !important;
        flex-direction: row !important;
    }
    .feature-point:nth-of-type(1) {
        left: 45px;
    }
    .feature-point:nth-of-type(2) {
        left: 405px;
    }
    .feature-point:nth-of-type(3) {
        left: 765px;
    }
    .feature-point:nth-of-type(4) {
        left: 1125px;
    }
    .feature-point:nth-of-type(5) {
        left: 1485px;
    }
    .feature-point:nth-of-type(6) {
        left: 1845px;
    }
    .feature-label {
        width: 125px;
    }
    .feature-copy {
        top: 115px;
        left: 53px;
        width: 213px;
        line-height: 1.45;
        text-align: left;
    }

    .contact,
    .contact-inner {
        min-height: 1240px;
    }
    .contact-content {
        width: min(600px, calc(100% - 40px));
        padding: 37px 0 55px;
    }
    .contact h2 {
        font-size: 40px;
        line-height: 1.1;
    }
    .about-page .contact h2 {
        font-size: 36px;
    }
    .contact-intro {
        font-size: 14px;
    }
    .contact label > span:first-child,
    .form-row label > span:first-child,
    .newsletter {
        font-size: 14px;
    }

    /* Poznaj Artwork */
    .subpage.about-page h1,
    .subpage.about-page h2 {
        font-size: 56px;
        line-height: 1.1;
    }
    .about-intro {
        padding: 60px 0 65px;
    }
    .about-values {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 20px;
        max-width: none;
    }
    .about-values img {
        width: 136px;
        height: 136px;
    }

    .audience-section {
        padding: 55px 0 60px;
    }
    .audience-list {
        display: block;
        margin-top: 42px;
    }
    .audience-list article {
        position: relative;
        margin-bottom: 14px;
        padding: 14px 48px 14px 20px;
        border-radius: 999px;
        cursor: pointer;
    }
    .audience-list article::after {
        position: absolute;
        top: 50%;
        right: 18px;
        color: #fff;
        /* content: "+"; */
        font-size: 30px;
        font-weight: 300;
        line-height: 1;
        transform: translateY(-52%);
    }
    .audience-list article.is-open::after {
        /* content: "−"; */
    }
    .audience-list h3 {
        margin: 0;
        color: #fff;
        font-size: 15px;
    }
    .audience-list p {
        display: none;
        margin-top: 13px;
        color: #111;
        font-size: 15px;
    }
    .audience-list article.is-open {
        border-radius: 26px;
    }
    .audience-list article.is-open p {
        display: block;
    }
    .audience-summary {
        grid-column: auto;
        margin-top: 34px;
        font-size: 15px;
    }
    .environment-section {
        gap: 40px;
        padding: 70px 0;
    }
    .authors-section {
        padding: 70px 0 75px;
    }
    .authors-inner {
        gap: 42px;
    }

    /* Kursy */
    .course-hero {
        display: flex;
        padding: 0 10px 55px;
    }
    .course-person {
        order: 1;
        width: min(100%, 430px);
        height: 609px;
        margin: 0 auto;
    }
    .course-hero-copy {
        order: 3;
        width: 100%;
    }
    .course-hero-copy h1 {
        font-size: 74px;
        line-height: 1.1;
    }
    .course-hero-copy p {
        font-size: 18px;
        line-height: 1.45;
    }
    .teacher-caption {
        position: absolute;
        z-index: 5;
        top: 219px;
        right: -5px;
        width: 169px;
        margin: 0;
    }
    .course-hero-decor {
        display: none;
    }
    .web-course .course-hero-decor {
        display: block;
        top: 0;
        right: -125px;
        width: 245px;
    }

    .course-intro {
        gap: 38px;
        padding: 50px 0 70px;
    }
    .course-projects {
        max-width: 570px;
    }
    .course-story .story-content {
        padding-inline: 0;
    }
    .story-block h2 {
        font-size: 74px;
        line-height: 1.1;
    }
    .story-block:nth-child(2) h2 {
        /* max-width: 280px; */
    }
    .story-block p {
        font-size: 15px;
    }

    .program-section {
        padding: 58px 0 62px;
    }
    .program-heading h2 {
        font-size: 74px;
        line-height: 1.1;
    }
    .program-heading p {
        max-width: 350px;
        font-size: 15px;
    }
    .program-tabs {
        display: flex;
        width: 100%;
        height: 72px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }
    .program-tabs button {
        flex: 0 0 100%;
        min-width: 100%;
        font-size: 20px;
        scroll-snap-align: start;
    }

    .graphic-course .program-tabs,
    .dtp-course .program-tabs {
        position: relative;
        left: 50%;
        display: block;
        width: 90vw;
        height: 70px;
        margin: 46px auto;
        overflow: hidden;
        border: 0;
        border-radius: 40px;
        background: transparent;
        box-shadow: rgba(0, 0, 0, 0.6) 8px 11px 63px -20px;
        cursor: pointer;
        scroll-snap-type: none;
        transform: translateX(-50%);
    }

    .graphic-course .program-tabs-track,
    .dtp-course .program-tabs-track {
        position: absolute;
        top: 0;
        left: 50%;
        display: flex;
        width: min(360px, 100%);
        height: 210px;
        flex-direction: column;
        transform: translate(-50%, calc(var(--active-program-tab, 0) * -70px));
        transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
        will-change: transform;
    }

    .graphic-course .program-tabs [data-tab],
    .graphic-course .program-tabs [data-tab].is-active,
    .dtp-course .program-tabs [data-tab],
    .dtp-course .program-tabs [data-tab].is-active {
        flex: 0 0 70px;
        width: 100%;
        min-width: 0;
        height: 70px;
        padding: 14px 50px 14px 30px;
        color: #000;
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        font-size: 24px;
        font-weight: 400;
        scroll-snap-align: none;
        transform: none;
    }

    .graphic-course .program-tabs-cycle,
    .dtp-course .program-tabs-cycle {
        position: absolute;
        z-index: 2;
        top: 13px;
        right: 15px;
        display: flex;
        width: 44px;
        height: 44px;
        min-width: 44px;
        padding: 0;
        align-items: center;
        justify-content: center;
        color: #ff0048;
        background: transparent;
        border: 0;
        border-radius: 50%;
        box-shadow: none;
        cursor: pointer;
    }

    .graphic-course .program-tabs-cycle svg,
    .dtp-course .program-tabs-cycle svg {
        display: block;
        width: 100%;
        height: 100%;
        stroke: #0094e1;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .graphic-course .program-tabs-cycle:focus-visible,
    .dtp-course .program-tabs-cycle:focus-visible {
        outline: 2px solid #ff0048;
        outline-offset: 2px;
    }

    .program-grid-row {
        width: 100vw;
        overflow-x: auto;
        padding: 8px 10px 20px;
        scroll-snap-type: x mandatory;
        transform: translateX(-40px);
        /* padding: 40px; */
    }

    .graphic-course .program-grid-row {
        scrollbar-color: #ff0049 transparent;
        scrollbar-width: auto;
        scrollbar-gutter: stable;
    }

    .web-course .program-grid-row {
        scrollbar-color: var(--cyan) transparent;
        scrollbar-width: auto;
        scrollbar-gutter: stable;
    }

    .dtp-course .program-grid-row {
        scrollbar-color: #0094e1 transparent;
        scrollbar-width: auto;
        scrollbar-gutter: stable;
    }

    .graphic-course .program-grid-row::-webkit-scrollbar,
    .web-course .program-grid-row::-webkit-scrollbar,
    .dtp-course .program-grid-row::-webkit-scrollbar {
        display: block;
        height: 10px;
    }

    .graphic-course .program-grid-row::-webkit-scrollbar-track,
    .web-course .program-grid-row::-webkit-scrollbar-track,
    .dtp-course .program-grid-row::-webkit-scrollbar-track {
        background: transparent;
        border-radius: 999px;
    }

    .graphic-course .program-grid-row::-webkit-scrollbar-thumb {
        background: #ff0049;
        border-radius: 999px;
    }

    .web-course .program-grid-row::-webkit-scrollbar-thumb {
        background: var(--cyan);
        border-radius: 999px;
    }

    .dtp-course .program-grid-row::-webkit-scrollbar-thumb {
        background: #0094e1;
        border-radius: 999px;
    }

    .program-grid,
    .web-program {
        display: flex;
        /* width: 100%; */
        gap: 20px;
        overflow: visible;
        padding: 8px 10px 20px 10px;
    }
    .program-grid article,
    .program-grid article:last-child:nth-child(2n + 1),
    .web-program article {
        flex: 0 0 280px;
        width: 280px;
        height: 320px;
        padding: 44px 25px;
        border-radius: 34px;
        background: #fff;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
        scroll-snap-align: start;
    }
    .program-panel,
    .web-program-section .program-panel {
        min-height: 470px;
        overflow: visible;
        transform: translateX(10px);
    }
    .program-grid img {
        margin-top: 0;
    }

    .schedule-section {
        margin-top: 24px;
    }
    .price-section h2 {
        font-size: 74px;
    }
    .price-table-card {
        overflow: hidden;
    }

    /* Certyfikat */
    .certificate-main {
        display: block;
        min-height: 1050px;
        padding: 507px 0 55px;
    }
    .certificate-copy {
        width: 100%;
    }
    .certificate-copy h1 {
        font-size: 46px;
        line-height: 1.2;
    }
    .certificate-copy h2 {
        margin: 24px 0 34px;
        font-size: 18px;
    }
    .certificate-media {
        position: absolute;
        top: 25px;
        right: 50%;
        width: min(330px, 100%);
        height: 470px;
        margin: 0;
        transform: translateX(50%);
    }

    /* Kontakt, regulamin i 404 */
    .standalone-contact {
        min-height: 886px;
        padding: 18px 0 55px;
    }
    .contact-page-content {
        width: min(600px, calc(100% - 80px));
    }
    .contact-page-content h1 {
        font-size: 44px;
        line-height: 1;
    }
    .contact-page-content .contact-form label > span:first-child {
        font-size: 14px;
    }
    .contact-page-content input,
    .contact-page-content textarea {
        font-size: 14px;
    }

    .legal-main {
        width: calc(100% - 40px);
        padding: 30px 10px 90px;
    }
    .legal-main .legal-intro {
        margin-bottom: 55px;
    }
    .legal-main .legal-intro {
        line-height: 1.4;
    }
    .legal-main section {
        margin-top: 75px;
    }
    .legal-main section + section {
        margin-top: 122px;
    }
    .legal-main p,
    .legal-main li {
        line-height: 1.9;
    }

    .error-main {
        min-height: calc(100vh - 80px);
        margin-top: -40px;
        padding-top: 0;
        align-content: start;
    }
    .error-main h1 {
        font-size: 154px;
        line-height: 1.2;
    }
    .error-main h2 {
        max-width: 330px;
        margin: 18px auto;
        font-size: 14px;
    }
    .error-main .primary-button {
        display: none;
    }
}

@media (max-width: 470px) {
    .about-page .authors-section {
        padding-top: 153px;
        padding-bottom: 183px;
    }
    .about-page .compact-courses {
        padding-bottom: 290px;
    }

    .about-values {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .about-values img {
        width: 136px;
        height: 136px;
    }
    .environment-gallery {
        grid-template-columns: 1.3fr 0.85fr;
    }
    .environment-gallery img {
        height: 260px;
    }
    .environment-gallery figure:last-child img {
        height: 210px;
    }

    .course-person {
        width: 390px;
        height: 579px;
        max-width: calc(100% + 40px);
        object-position: left bottom;
    }
    .course-hero-copy h1,
    .story-block h2,
    .program-heading h2,
    .price-section h2 {
        font-size: 74px;
    }
    .program-heading p {
        font-size: 15px;
    }
    .program-tabs button {
        font-size: 20px;
    }
    .program-grid,
    .web-program {
        grid-template-columns: none;
    }
    .program-grid p {
        font-size: 15px;
    }

    .graphic-course .program-section {
        margin-top: -100px;
    }
    .graphic-course .program-panel {
        min-height: 320px;
    }

    .web-course .program-section {
        margin-top: -225px;
    }
    .web-course .program-panel {
        min-height: 402px;
    }
    .web-course .price-section {
        margin-top: 70px;
        padding-bottom: 183px;
    }

    .dtp-course .program-section {
        margin-top: 130px;
    }
    .dtp-course .price-section {
        margin-top: 130px;
        padding-bottom: 142px;
    }

    .certificate-media {
        height: 470px;
    }
    .contact-page-content {
        width: calc(100% - 80px);
    }
    .legal-main {
        width: 350px;
        max-width: calc(100% - 40px);
    }
}

@media (min-width: 471px) and (max-width: 809px) {
    .about,
    .about-inner {
    }

    .courses-grid {
        gap: 293px;
        margin-top: 258px;
    }

    .about-page .authors-section {
        padding-top: 188px;
        padding-bottom: 183px;
    }
    .about-page .compact-courses {
        padding-bottom: 290px;
    }

    .contact,
    .contact-inner {
        min-height: 982px;
    }

    .graphic-course .program-section {
        margin-top: -100px;
    }
    .graphic-course .price-section {
        margin-top: 50px;
        padding-bottom: 175px;
    }

    .web-course .program-section {
        margin-top: -225px;
    }
    .web-course .program-panel {
        min-height: 402px;
    }
    .web-course .price-section {
        margin-top: 70px;
        padding-bottom: 183px;
    }

    .dtp-course .program-section {
        margin-top: 130px;
    }
    .dtp-course .price-section {
        margin-top: 130px;
        padding-bottom: 142px;
    }

    .certificate-main {
        min-height: 921px;
    }
    .standalone-contact {
        min-height: 766px;
    }
}

/* Osobne warianty sekcji: szeroki układ kołowy i mobilna karuzela kart. */
.mobile-features-layout {
    display: none;
}

@media (min-width: 601px) and (max-width: 809px) {
    .advantages,
    .advantages-inner {
        min-height: 820px;
    }

    .wide-features-layout {
        left: 50%;
        width: 650px;
        height: 650px;
        margin: -20px 0 0;
        transform: translateX(-50%) scale(0.67);
        transform-origin: top center;
    }

    .feature-circle {
        display: block;
    }
    .feature-point:nth-of-type(1) {
        top: 46px !important;
        right: auto !important;
        bottom: auto !important;
        left: 25px !important;
        flex-direction: row-reverse !important;
    }
    .feature-point:nth-of-type(2) {
        top: 78px !important;
        right: -46px !important;
        bottom: auto !important;
        left: auto !important;
        flex-direction: row !important;
    }
    .feature-point:nth-of-type(3) {
        top: 276px !important;
        right: -72px !important;
        bottom: auto !important;
        left: auto !important;
        flex-direction: row !important;
    }
    .feature-point:nth-of-type(4) {
        top: auto !important;
        right: 5px !important;
        bottom: 70px !important;
        left: auto !important;
        flex-direction: row !important;
    }
    .feature-point:nth-of-type(5) {
        top: auto !important;
        right: auto !important;
        bottom: 16px !important;
        left: 42px !important;
        flex-direction: row-reverse !important;
    }
    .feature-point:nth-of-type(6) {
        top: 288px !important;
        right: auto !important;
        bottom: auto !important;
        left: -88px !important;
        flex-direction: row-reverse !important;
    }
    .feature-copy {
        top: 268px;
        left: 137px;
        width: 380px;
        line-height: 1.55;
        text-align: center;
    }
}

@media (max-width: 809px) {
    .advantages,
    .advantages-inner {
        min-height: 675px;
    }

    .advantages-inner {
        width: 100%;
    }

    .advantages-title-wrap {
        width: calc(100% - 40px);
        height: 216px;
        margin-inline: auto;
        padding-top: 66px;
    }

    .title-dots,
    .advantage-slashes,
    .wide-features-layout {
        display: none;
    }

    .mobile-features-layout {
        position: relative;
        display: block;
        width: 100%;
    }

    .mobile-feature-track {
        display: flex;
        width: 100%;
        gap: 60px;
        margin: 0;
        padding: 0 30px 20px;
        overflow-x: auto;
        list-style: none;
        overscroll-behavior-inline: contain;
        scroll-padding-inline: 30px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        align-items: flex-start;
    }

    .mobile-feature-track::-webkit-scrollbar {
        display: none;
    }

    .mobile-feature-card {
        display: flex;
        flex: 0 0 300px;
        height: 421px;
        min-height: 421px;
        padding: 21px 28px 24px;
        align-items: center;
        flex-direction: column;
        border-radius: 39px;
        background: #fff;
        box-shadow: 0 9px 24px rgba(0, 0, 0, 0.14);
        scroll-snap-align: start;
    }

    .mobile-feature-icon {
        display: grid;
        width: 84px;
        height: 84px;
        color: #fff;
        background: var(--violet);
        border-radius: 50%;
        place-items: center;
    }

    .mobile-feature-icon svg {
        width: 48px;
        height: 48px;
    }

    .mobile-feature-card strong {
        margin-top: 15px;
        color: var(--violet);
        font-size: 15px;
        line-height: 1.22;
        text-align: center;
    }

    .mobile-feature-card p {
        width: 226px;
        margin: 46px 0 0;
        font-size: 18px;
        line-height: 1.5;
        text-align: center;
    }

    .mobile-feature-pagination {
        position: absolute;
        right: 0;
        bottom: 3px;
        left: 0;
        display: flex;
        min-height: 38px;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .mobile-feature-pagination button {
        width: 7px;
        height: 7px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: #c8c8c8;
        cursor: pointer;
    }

    .mobile-feature-pagination button.is-active {
        width: 18px;
        border-radius: 999px;
        background: var(--violet);
    }

    .mobile-feature-pagination {
        display: none;
    }
}

@media (max-width: 470px) {
    /* Strona główna: obrazy zachowują naturalne proporcje jak we wzorcu. */
    .hero-person {
        margin-top: 2px;
        left: 45px;
        width: 336px;
        height: auto;
        max-width: none;
        transform: none;
    }

    .hero .slash {
        width: 224px;
        height: 334px;
    }

    .hero .slash-purple {
        top: 56px;
        left: -30px;
    }
    .hero .slash-green {
        top: 20px;
        left: -158px;
    }
    .hero .slash-black {
        top: 56px;
        left: -230px;
    }
    .hero-copy p {
        margin-bottom: 40px;
    }

    .about-copy p:not(.lead) {
        font-size: 14px;
    }
    .about-person {
        top: 315px;
        width: 450px;
        max-width: none;
    }
    .about-mint {
        top: 485px;
    }
    .slash-yellow {
        top: 760px;
        right: -20px;
        z-index: 0;
    }

    /* Strony kursów: osobny mobilny hero oparty na naturalnej proporcji portretu. */
    .course-hero {
        padding-top: 0;
    }

    .course-person {
        height: auto;
        max-width: none;
        margin-top: 0;
        object-fit: contain;
        object-position: center top;
        -webkit-mask-image: linear-gradient(
            to bottom,
            #000 0%,
            #000 68%,
            rgba(0, 0, 0, 0.42) 80%,
            transparent 93%
        );
        mask-image: linear-gradient(
            to bottom,
            #000 0%,
            #000 68%,
            rgba(0, 0, 0, 0.42) 80%,
            transparent 93%
        );
    }

    .graphic-course .course-person {
        width: 376px;
        transform: translateX(-80px);
    }

    .web-course .course-person {
        width: 401px;
        transform: translateX(-88px);
    }

    .dtp-course .course-person {
        width: 348px;
        transform: translateX(-30px);
    }

    .graphic-course .course-hero-copy {
        margin-top: -159px;
    }
    .web-course .course-hero-copy {
        margin-top: -215px;
    }
    .dtp-course .course-hero-copy {
        margin-top: -176px;
    }

    .teacher-caption {
        right: -1px;
    }

    .graphic-course .course-intro,
    .web-course .course-intro {
        gap: 60px;
    }

    .dtp-course .course-intro {
        gap: 144px;
    }

    .course-intro-copy .lead {
        font-size: 15px;
        font-weight: 400;
    }

    .graphic-course .course-intro {
        padding-bottom: 0;
    }

    .graphic-course .course-intro-copy p {
        margin-top: 10px;
        line-height: 1.4;
    }

    .graphic-course .story-block p,
    .dtp-course .story-block p {
        margin-bottom: 16px;
        line-height: 1.45;
    }

    .dtp-course .course-story {
        margin-top: 94px;
    }

    .graphic-story .story-block:nth-child(2) {
        /* margin-top: -40px; */
        min-height: 660px;
    }
    .dtp-story .story-block:nth-child(2) {
        margin-top: -23px;
    }

    .graphic-course .program-section {
        margin-top: -160px;
    }
    .graphic-course .price-section {
        margin-top: -78px;
        padding-bottom: 140px;
    }

    .web-course .program-section {
        margin-top: -370px;
    }
    .web-course .price-section {
        margin-top: 25px;
    }

    .dtp-course .program-section {
        margin-top: 1px;
    }
    .dtp-course .price-section {
        margin-top: 145px;
        padding-bottom: 96px;
    }
}

/* Widok pośredni używany przez wzorzec na wąskich tabletach i dużych telefonach. */
@media (min-width: 601px) and (max-width: 809px) {
    .hero-inner {
        padding-bottom: 0;
    }

    .hero-person {
        left: 422px;
        width: 336px;
        height: 769px;
        max-width: none;
        object-fit: cover;
        object-position: center top;
        transform: none;
    }

    .hero-copy {
        top: 398px;
    }

    .hero-copy p {
        width: 500px;
        margin-bottom: 40px;
    }

    .slash-black {
        top: 50px;
        left: 127px;
        width: 227px;
        height: 331px;
    }

    .slash-green {
        top: 0;
        left: 214px;
        width: 237px;
        height: 334px;
    }

    .slash-purple {
        top: 56px;
        left: 345px;
        width: 227px;
        height: 334px;
    }

    .about,
    .about-inner {
    }

    .about-person {
        top: 21px;
        right: auto;
        left: calc(50% - 390px);
        width: 376px;
        height: 605px;
        max-width: none;
        object-fit: contain;
        transform: none;
    }

    .about-copy h2 {
        transform: translateY(8px);
    }

    .about-copy .lead {
        margin-top: 31px;
    }

    .about-copy p:not(.lead) {
        margin-top: 39px;
    }

    .about-mint {
        top: 655px;
        right: 255px;
        width: 237px;
        height: 344px;
    }

    .slash-yellow {
        top: 305px;
        left: calc(50% - 490px);
        width: 237px;
        height: 344px;
    }

    .courses {
        padding-bottom: 34px;
    }

    .courses-grid {
        width: 432px;
        gap: 83px;
        margin-top: 48px;
    }

    .course-card {
        width: 432px;
    }

    .course-image,
    .course-image img {
        width: 432px;
        height: 547px;
        max-width: none;
    }

    .course-image img {
        object-fit: cover;
    }

    .course-card h3 {
        width: 202px;
        margin: 67px auto 8px;
    }

    .advantages,
    .advantages-inner {
        min-height: 692px;
    }

    .advantages-title-wrap {
        height: 230px;
        padding-top: 58px;
    }

    .advantages h2 {
        transform: translateY(27px);
    }

    .mobile-feature-pagination {
        display: none;
    }

    .contact,
    .contact-inner {
        min-height: 1025px;
    }

    .contact-content {
        padding-top: 60px;
    }

    .contact-intro {
        width: 552px;
        margin-right: auto;
        margin-left: auto;
        text-align: center;
    }

    .contact form {
        width: 580px;
        margin-inline: auto;
    }
}

/* Finalna kalibracja telefonu: geometria zgodna z widokiem wzorcowym 402 px. */
@media (max-width: 470px) {
    .brand img {
        width: 176px;
    }

    /* Strona główna */
    body:not(.subpage) .hero-inner {
        padding-bottom: 110px;
    }

    body:not(.subpage) .hero-person {
        margin-top: 0;
        left: 56px;
        height: 540px;
        object-fit: cover;
        object-position: center top;
    }

    body:not(.subpage) .hero-copy {
        top: 398px;
    }

    body:not(.subpage) .hero .slash-purple {
        left: -21px;
    }
    body:not(.subpage) .hero .slash-green {
        left: -137px;
    }
    body:not(.subpage) .hero .slash-black {
        left: -221px;
    }

    body:not(.subpage) .primary-button {
        width: 230px;
        min-width: 230px;
        padding-inline: 18px;
        gap: 12px;
    }

    body:not(.subpage) .about-copy p:not(.lead) {
        margin-top: 37px;
        line-height: 1.4;
    }

    body:not(.subpage) .about-person {
        top: 480px;
        right: auto;
        left: -20px;
        width: 334px;
        height: 542px;
        max-width: none;
        object-fit: contain;
        transform: none;
    }

    body:not(.subpage) .section-heading p {
        line-height: 1.4;
    }

    body:not(.subpage) .courses {
        padding-bottom: 24px;
    }

    body:not(.subpage) .courses-grid {
        width: 303px;
        gap: 82px;
        margin-top: 50px;
    }

    body:not(.subpage) .course-card,
    body:not(.subpage) .course-image,
    body:not(.subpage) .course-image img {
        width: 303px;
        max-width: none;
    }

    body:not(.subpage) .course-image,
    body:not(.subpage) .course-image img {
        height: 383px;
    }

    body:not(.subpage) .course-image img {
        object-fit: cover;
    }

    body:not(.subpage) .course-card h3 {
        margin: 53px auto 10px;
    }

    body:not(.subpage) .enrol-button {
        min-height: 37px;
        font-size: 12px;
    }

    body:not(.subpage) .advantages,
    body:not(.subpage) .advantages-inner {
        min-height: 721px;
    }

    body:not(.subpage) .contact,
    body:not(.subpage) .contact-inner {
        min-height: 1205px;
    }

    /* Poznaj Artwork */
    .about-page .about-intro {
        min-height: 998px;
    }

    .about-page .audience-section {
        height: 631px;
    }

    .about-page .environment-section {
        min-height: 1103px;
    }

    .about-page .environment-copy,
    .about-page .authors-copy {
        position: relative;
        top: 10px;
    }

    .about-page .authors-section {
        min-height: 1392px;
    }

    .about-page .compact-courses {
        min-height: 1859px;
    }

    .about-page .contact h2 {
        font-size: 36px;
        line-height: 1.1;
    }

    .about-page .contact,
    .about-page .contact-inner {
        min-height: 1205px;
    }

    /* Strony kursów */
    .graphic-course .course-person {
        transform: translateX(-120px);
    }

    .web-course .course-person {
        transform: translateX(-108px);
    }

    .web-course .teacher-caption strong {
        color: var(--black);
    }

    .web-course .teacher-caption span {
        color: var(--black);
    }

    .web-course .course-hero-decor {
        display: none;
    }

    .web-course .course-hero::after {
        position: absolute;
        z-index: 1;
        top: 0;
        right: -30px;
        width: 86px;
        height: 178px;
        background: #b979ed;
        clip-path: polygon(0 0, 100% 0, 100% 100%);
        content: "";
    }

    .dtp-course .course-person {
        transform: translateX(-50px);
    }

    .dtp-course .teacher-caption strong {
        /* color: #737373; */
    }

    .dtp-course .teacher-caption span {
        /* color: #969696; */
    }

    .graphic-course .course-intro-copy {
        position: relative;
        top: -10px;
        width: 86vw;
    }

    .graphic-course .course-story .story-content {
        transform: translateY(20px);
    }

    .graphic-course .course-story {
        min-height: 1134px;
    }

    .graphic-course .program-section {
        margin-top: -191px;
    }

    .graphic-course .price-section {
        min-height: 1845px;
        margin-top: -41px;
    }

    .graphic-course .contact,
    .graphic-course .contact-inner {
        min-height: 1205px;
    }

    .web-course .course-intro-copy {
        position: relative;
        top: -27px;
    }

    .web-course .course-story .story-content {
        transform: translateY(-30px);
    }

    .web-course .web-audience {
        min-height: 1371px;
        margin-top: -138px;
    }

    .web-course .price-section {
        min-height: 1778px;
        margin-top: 24px;
    }

    .web-course .contact,
    .web-course .contact-inner {
        min-height: 1216px;
    }

    .dtp-course .course-intro-copy {
        position: relative;
        top: -11px;
    }

    .dtp-course .course-story .story-content {
        transform: translateY(-43px);
    }

    .dtp-course .course-story {
        min-height: 929px;
    }

    .dtp-course .program-section {
        margin-top: 30px;
    }

    .dtp-course .price-section {
        min-height: 1812px;
    }

    .dtp-course .contact,
    .dtp-course .contact-inner {
        min-height: 1219px;
    }

    .graphic-story .story-block:nth-child(2) h2,
    .dtp-story .story-block:nth-child(2) h2 {
        max-width: none;
        white-space: nowrap;
    }

    /* Certyfikat */
    .certificate-media {
        top: 0;
        right: auto;
        left: 0;
        width: 100%;
        height: 486px;
        transform: none;
    }

    /* Polityka prywatności */
    .legal-main {
        position: relative;
        top: -8px;
        width: 342px;
        max-width: calc(100% - 60px);
        padding-inline: 0;
    }

    .legal-main h1,
    .legal-main h2 {
        line-height: 1.4;
    }

    /* 404 */
    .error-main h1 {
        letter-spacing: -0.075em;
    }

    .error-main h2 {
        max-width: 300px;
        margin: 30px auto;
        line-height: 1.4;
    }

    .standalone-contact {
        min-height: 895px;
    }
}

/* Bezpośredni kontakt e-mail — wspólny wariant dla strony głównej i podstron. */
body .contact.contact-direct-section,
body .contact.contact-direct-section .contact-inner {
    min-height: 540px;
}

.contact-direct-section .contact-content {
    width: min(680px, calc(100% - 40px));
    padding: 100px 0 105px;
    text-align: center;
}

.contact-direct-section .contact-intro {
    max-width: 640px;
    margin: 28px auto 0;
    font-size: 18px;
    line-height: 1.55;
}

.contact-direct-section .contact-rings {
    top: 88px;
}

.direct-contact {
    display: flex;
    align-items: center;
    margin-top: 42px;
    flex-direction: column;
    gap: 14px;
    text-align: center;
}

.direct-contact-label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.direct-contact-email {
    display: inline-flex;
    min-height: 64px;
    padding: 12px 34px;
    align-items: center;
    justify-content: center;
    color: var(--black);
    background: #fae769;
    border-radius: 999px;
    box-shadow: 10px 13px 18px rgba(0, 0, 0, 0.22);
    font-size: clamp(22px, 2.6vw, 32px);
    font-weight: 700;
    line-height: 1.1;
    overflow-wrap: anywhere;
    transform-origin: center;
    transition: transform 0.3s ease-in-out;
}

.direct-contact-email:hover {
    color: #000000;
    box-shadow: 8px 10px 15px rgba(0, 0, 0, 0.25);
    transform: scale(1.2);
}

.direct-contact-email:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 4px;
}

.standalone-contact.direct-contact-page {
    min-height: 650px;
    padding-top: 95px;
}

.direct-contact-page .contact-page-content {
    width: min(660px, calc(100% - 40px));
}

.direct-contact-page .contact-page-lead {
    max-width: 620px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.55;
}

.direct-contact-page .direct-contact {
    margin-top: 42px;
}

@media (max-width: 809px) {
    body .contact.contact-direct-section,
    body .contact.contact-direct-section .contact-inner {
        min-height: 560px;
    }

    .contact-direct-section .contact-content {
        padding: 72px 0 80px;
    }

    .contact-direct-section .contact-intro {
        font-size: 16px;
    }

    .standalone-contact.direct-contact-page {
        min-height: 590px;
        padding: 72px 0 80px;
    }
}

@media (max-width: 470px) {
    body .contact.contact-direct-section,
    body .contact.contact-direct-section .contact-inner {
        min-height: 520px;
    }

    .contact-direct-section .contact-content {
        width: calc(100% - 40px);
        padding: 62px 0 68px;
    }

    .contact-direct-section .contact-intro {
        margin-top: 22px;
        font-size: 15px;
        line-height: 1.5;
    }

    .contact-direct-section .direct-contact {
        margin-top: 32px;
    }

    .direct-contact-email {
        width: 100%;
        min-height: 58px;
        padding-inline: 18px;
        font-size: 20px;
    }

    .standalone-contact.direct-contact-page {
        min-height: 570px;
        padding: 62px 0 72px;
    }

    .direct-contact-page .contact-page-content {
        width: calc(100% - 40px);
    }

    .direct-contact-page .contact-page-lead {
        font-size: 15px;
        line-height: 1.5;
    }
}

/* Krótszy wariant CTA na stronach kursów. */
.course-page .contact.contact-direct-section,
.course-page .contact.contact-direct-section .contact-inner {
    min-height: 540px;
}

.course-page .contact-direct-section .contact-content {
    padding-bottom: 60px;
}

@media (max-width: 809px) {
    .course-page .contact.contact-direct-section,
    .course-page .contact.contact-direct-section .contact-inner {
        min-height: 500px;
    }

    .course-page .contact-direct-section .contact-content {
        padding-bottom: 55px;
    }
}

@media (max-width: 470px) {
    .course-page .contact.contact-direct-section,
    .course-page .contact.contact-direct-section .contact-inner {
        min-height: 450px;
    }

    .course-page .contact-direct-section .contact-content {
        padding-bottom: 44px;
    }
}

/* Nagłówek i nawigacja zsynchronizowane ze stroną wzorcową. */
body {
    padding-top: 80px;
}

.site-header,
.subpage .site-header {
    position: fixed;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    max-width: none;
    height: 80px;
    min-height: 80px;
    margin: 0;
    padding: 0;
    opacity: 1;
    border-bottom: 0;
    translate: none;
    transform: translateY(0);
    transition:
        transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
        opacity 0.28s ease;
    will-change: transform, opacity;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1600px;
    height: 100%;
    margin-inline: auto;
    padding-inline: 20px;
    box-sizing: border-box;
}

.site-header.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(-100% - 2px));
}

.site-header.is-menu-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.brand {
    position: relative;
    z-index: 84;
}

@media (max-width: 809px) {
    .site-header,
    .subpage .site-header {
        min-height: 80px;
        padding: 0;
        background: #fff;
        backdrop-filter: none;
    }

    .site-header__inner {
        padding-inline: 20px;
    }

    .brand img {
        width: 176px;
    }

    .menu-toggle {
        position: relative;
        z-index: 85;
        display: block;
        width: 40px;
        height: 80px;
        padding: 0;
        background: transparent;
        border: 0;
    }

    .menu-toggle span {
        position: absolute;
        top: 50%;
        left: 8px;
        display: block;
        width: 24px;
        height: 2px;
        margin: 0;
        background: #000;
        transform-origin: center;
        transition:
            transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1),
            opacity 0.2s ease;
    }

    .menu-toggle span:nth-child(1) {
        transform: translateY(-5px);
    }

    .menu-toggle span:nth-child(2) {
        transform: translateY(5px);
    }

    .menu-toggle span:nth-child(3) {
        display: none;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(2) {
        transform: rotate(-45deg);
    }

    .menu-toggle:focus-visible {
        outline: 2px solid #111;
        outline-offset: -5px;
    }

    .main-nav {
        position: fixed;
        z-index: 82;
        top: 0;
        right: 0;
        left: 0;
        display: flex;
        visibility: hidden;
        width: 100%;
        height: auto;
        min-height: min(443px, 100dvh);
        max-height: 100dvh;
        padding: 100px 20px 29px;
        overflow-y: auto;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        opacity: 0;
        background: #fff;
        box-shadow: 0 18px 35px rgba(0, 0, 0, 0.08);
        pointer-events: none;
        transform: translateY(-105%);
        transition:
            transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
            opacity 0.24s ease,
            visibility 0s linear 0.35s;
    }

    .main-nav.is-open {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
        transition-delay: 0s;
    }

    .main-nav a {
        display: flex;
        min-height: 34px;
        align-items: flex-start;
        font-size: 14px;
        line-height: 1.2;
    }

    .main-nav a::after {
        display: none;
    }
}

/* Legal — aktualna polityka prywatności i zasady korzystania */
.footer-legal-link {
    color: inherit;
    border: 0;
    line-height: 1.35;
    text-decoration: none;
}

.footer-legal-link:visited,
.footer-legal-link:hover,
.footer-legal-link:focus-visible,
.footer-legal-link:active {
    color: inherit;
    text-decoration: none;
}

.footer-legal-link:focus-visible,
.legal-page a:focus-visible {
    outline: 2px solid var(--violet);
    outline-offset: 4px;
}

body.legal-page .legal-main {
    width: min(920px, calc(100% - 48px));
    max-width: none;
    padding: 82px 0 110px;
}

body.legal-page .legal-hero {
    margin: 0 0 76px;
}

body.legal-page .legal-eyebrow {
    margin: 0 0 18px;
    color: var(--violet);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

body.legal-page .legal-hero h1 {
    max-width: 850px;
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(52px, 7vw, 88px);
    line-height: 0.98;
    letter-spacing: -0.045em;
    margin-bottom: 24px;
}

body.legal-page .legal-intro {
    max-width: 800px;
    margin: 34px 0 0;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.6;
}

body.legal-page .legal-updated {
    margin: 18px 0 0;
    color: #777;
    font-size: 13px;
}

body.legal-page .legal-facts {
    display: flex;
    margin: 34px 0 0;
    padding: 0;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    list-style: none;
}

body.legal-page .legal-facts li {
    margin: 0;
    padding: 10px 16px;
    border: 1.5px solid #111;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

body.legal-page .legal-main section,
body.legal-page .legal-main section + section {
    margin: 0;
    padding: 54px 0;
    border-top: 1px solid #d8d8d8;
}

body.legal-page .legal-main section:last-child {
    padding-bottom: 0;
}

body.legal-page .legal-main h2 {
    max-width: 760px;
    margin: 0 0 24px;
    font-family: "Poppins", Arial, sans-serif;
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

body.legal-page .legal-main p,
body.legal-page .legal-main li,
body.legal-page .legal-company-data dt,
body.legal-page .legal-company-data dd {
    font-size: 15px;
    line-height: 1.75;
}

body.legal-page .legal-main p {
    margin: 0;
}

body.legal-page .legal-main p + p,
body.legal-page .legal-main p + ul,
body.legal-page .legal-main ul + p {
    margin-top: 20px;
}

body.legal-page .legal-main ul:not(.legal-facts) {
    margin-bottom: 0;
    padding-left: 22px;
}

body.legal-page .legal-main ul:not(.legal-facts) li + li {
    margin-top: 11px;
}

body.legal-page .legal-main section a {
    color: #5f00b8;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

body.legal-page .legal-main code {
    padding: 0.1em 0.35em;
    background: #f0f0f0;
    border-radius: 4px;
    font-size: 0.92em;
}

body.legal-page .legal-company-data {
    margin: 28px 0;
    border-top: 1px solid #d8d8d8;
}

body.legal-page .legal-company-data > div {
    display: grid;
    padding: 15px 0;
    border-bottom: 1px solid #d8d8d8;
    grid-template-columns: 170px 1fr;
    gap: 24px;
}

body.legal-page .legal-company-data dt {
    font-weight: 700;
}

body.legal-page .legal-company-data dd {
    margin: 0;
}

@media (max-width: 809px) {
    body.legal-page .legal-main {
        top: auto;
        width: min(100% - 40px, 680px);
        max-width: none;
        padding: 46px 0 82px;
    }

    body.legal-page .legal-hero {
        margin-bottom: 54px;
    }

    body.legal-page .legal-hero h1 {
        font-size: clamp(44px, 12vw, 68px);
        line-height: 1;
    }

    body.legal-page .legal-intro {
        margin-top: 28px;
        font-size: 17px;
        line-height: 1.55;
    }

    body.legal-page .legal-main section,
    body.legal-page .legal-main section + section {
        margin: 0;
        padding: 42px 0;
    }

    body.legal-page .legal-main h2 {
        margin-bottom: 20px;
        font-size: 24px;
        line-height: 1.25;
    }

    body.legal-page .legal-main p,
    body.legal-page .legal-main li,
    body.legal-page .legal-company-data dt,
    body.legal-page .legal-company-data dd {
        font-size: 14px;
        line-height: 1.7;
    }

    body.legal-page .legal-company-data > div {
        grid-template-columns: 1fr;
        gap: 2px;
    }
}

@media (max-width: 470px) {
    footer {
        gap: 14px;
    }

    footer > span {
        flex: 0 0 100%;
    }

    footer > i:first-of-type {
        display: none;
    }

    body.legal-page .legal-main {
        width: calc(100% - 40px);
    }

    body.legal-page .legal-facts {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Ostateczne odseparowanie nowej sekcji od starszych reguł podstrony. */
body.subpage.about-page .audience-section {
    height: auto;
    min-height: 0;
    overflow: visible;
}

body.subpage.about-page .audience-summary {
    display: block;
}

@media (max-width: 809px) {
    body.subpage.about-page .audience-left h2 {
        font-size: 56px;
        line-height: 1.1;
    }
}

/* Interaktywna galeria środowiska — układ i stany zgodne z wersją Framer. */
body.about-page .environment-gallery {
    container-type: inline-size;
    position: relative;
    display: block;
    align-self: center;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

body.about-page .environment-gallery__image {
    position: absolute;
    overflow: hidden;
    border-radius: 20px;
    will-change: top, left, width, height, transform, opacity;
    transition:
        top 650ms cubic-bezier(0.22, 1, 0.36, 1),
        left 650ms cubic-bezier(0.22, 1, 0.36, 1),
        width 650ms cubic-bezier(0.22, 1, 0.36, 1),
        height 650ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 650ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 350ms ease;
}

body.about-page .environment-gallery__image img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
    filter: none;
    user-select: none;
}

body.about-page .environment-gallery__image--primary {
    z-index: 2;
    top: 50%;
    left: 0;
    width: 100%;
    height: calc(100cqw / 1.6129);
    opacity: 1;
    transform: translateY(-50%);
}

body.about-page .environment-gallery__image--primary img {
    object-position: center center;
}

body.about-page .environment-gallery__image--secondary {
    z-index: 1;
    top: 44px;
    left: 50%;
    width: min(500px, calc(100% - 40px));
    height: 40px;
    opacity: 0.6;
    transform: translateX(-50%);
}

body.about-page .environment-gallery__image--secondary img {
    object-position: center top;
}

body.about-page
    .environment-gallery.is-secondary-active
    .environment-gallery__image--primary {
    z-index: 1;
    top: 418px;
    left: 50%;
    width: min(500px, calc(100% - 40px));
    height: 40px;
    opacity: 0.6;
    transform: translateX(-50%);
}

body.about-page
    .environment-gallery.is-secondary-active
    .environment-gallery__image--secondary {
    z-index: 2;
    top: 50%;
    left: 0;
    width: 100%;
    height: calc(100cqw / 1.6129);
    opacity: 1;
    transform: translateY(-50%);
}

body.about-page .environment-gallery__toggle {
    position: absolute;
    z-index: 3;
    top: calc(50% - 22px);
    left: calc(50% - 22px);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    overflow: hidden;
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    transition: transform 180ms ease;
}

body.about-page .environment-gallery__toggle span {
    position: relative;
    top: -1px;
    font-family: "Poppins", sans-serif;
    font-size: 36px;
    font-weight: 400;
    line-height: 1;
}

body.about-page .environment-gallery:hover .environment-gallery__toggle,
body.about-page
    .environment-gallery:focus-visible
    .environment-gallery__toggle {
    transform: scale(1.2);
}

@media (max-width: 470px) {
    body.about-page .environment-gallery {
        justify-self: center;
        width: min(350px, 100%);
        height: 500px;
    }

    body.about-page .environment-gallery__image--primary {
        top: 30px;
        left: 0;
        width: 100%;
        height: 440px;
        transform: none;
    }

    body.about-page .environment-gallery__image--secondary {
        top: 14px;
        left: 20px;
        width: calc(100% - 40px);
        height: 40px;
        transform: none;
    }

    body.about-page
        .environment-gallery.is-secondary-active
        .environment-gallery__image--primary {
        top: 446px;
        left: 20px;
        width: calc(100% - 40px);
        height: 40px;
        transform: none;
    }

    body.about-page
        .environment-gallery.is-secondary-active
        .environment-gallery__image--secondary {
        top: 30px;
        left: 0;
        width: 100%;
        height: 440px;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.about-page .environment-gallery__image,
    body.about-page .environment-gallery__toggle {
        transition: none;
    }
}

/* Sekcja autorów odtworzona z układu Framer. */
body.about-page .authors-section {
    position: relative;
    min-height: 0;
    padding: 0 0 60px;
    overflow: hidden;
    background: #fff;
}

body.about-page .authors-section::before {
    content: none;
}

body.about-page .authors-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: min(calc(100% - 80px), 1200px);
    height: 600px;
    margin: 0 auto;
}

body.about-page .authors-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45%;
    height: 600px;
}

body.about-page .authors-decoration {
    position: absolute;
    z-index: 1;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 384px;
    transform: translateX(-50%);
    pointer-events: none;
}

body.about-page .authors-decoration__slash {
    position: absolute;
    top: -123px;
    left: -283px;
    width: 163px;
    height: 275px;
    background: #000;
    transform: skewX(25deg);
}

body.about-page .authors-decoration__circle {
    position: absolute;
    bottom: -937px;
    left: -966px;
    width: 804px;
    height: 804px;
    border-radius: 50%;
    background: #49fdda;
}

body.about-page .authors-portrait-stage {
    position: relative;
    z-index: 2;
    width: 90%;
    height: 600px;
    overflow: visible;
    background: #fff;
}

body.about-page .author-portrait {
    position: absolute;
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    filter: brightness(1) contrast(1) grayscale(1);
    transition: filter 240ms ease;
}

body.about-page .author-portrait--lukasz {
    top: 0;
    left: 20px;
    width: 155px;
    height: 560px;
}

body.about-page .author-portrait--pawel {
    top: 7px;
    left: 225px;
    width: 136px;
    height: 546px;
}

body.about-page .author-portrait img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    user-select: none;
}

body.about-page .author-portrait.is-active {
    filter: brightness(1) contrast(1) grayscale(0);
}

body.about-page .author-portrait__plus {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    overflow: hidden;
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 36px;
    font-weight: 400;
    line-height: 1;
    transition: transform 180ms ease;
}

body.about-page .author-portrait--lukasz .author-portrait__plus {
    top: 189px;
    left: 56px;
}

body.about-page .author-portrait--pawel .author-portrait__plus {
    top: 179px;
    left: 46px;
}

body.about-page .author-portrait:hover .author-portrait__plus,
body.about-page .author-portrait:focus-visible .author-portrait__plus {
    transform: scale(1.2);
}

body.about-page .author-profile {
    position: absolute;
    z-index: 10;
    top: 185px;
    right: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    min-height: 0;
    padding: 20px;
    border-radius: 8px;
    background: #00f9cd;
    color: #fff;
    cursor: pointer;
    animation: author-profile-in 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.about-page .author-profile[hidden] {
    display: none;
}

body.about-page .author-profile__heading,
body.about-page .author-profile__bio {
    width: 100%;
}

body.about-page .author-profile h3,
body.about-page .author-profile p {
    margin: 0;
    color: #fff;
    font-family: "Poppins", sans-serif;
}

body.about-page .author-profile h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 22.5px;
}

body.about-page .author-profile__heading p {
    font-size: 15px;
    font-weight: 400;
    line-height: 22.5px;
}

body.about-page .author-profile__bio p {
    font-size: 15px;
    font-weight: 400;
    line-height: 21px;
}

body.about-page .author-profile__bio p + p {
    margin-top: 21px;
}

body.about-page .authors-copy {
    position: relative;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 30px;
    width: 50%;
    height: min-content;
    padding: 20px;
}

body.about-page .authors-copy h2 {
    width: 100%;
    margin: 0;
    font-family: "Playfair Display", serif;
    font-size: 74px;
    font-weight: 700;
    line-height: 1.1;
}

body.about-page .authors-copy__text {
    display: grid;
    gap: 26.6px;
    width: 100%;
}

body.about-page .authors-copy__text p {
    width: 100%;
    margin: 0;
    font-size: 19px;
    line-height: 1.4;
}

body.about-page .authors-copy__spacer {
    position: relative;
    width: 100%;
    height: 20px;
}

body.about-page .authors-copy__spacer span {
    position: absolute;
    top: -254px;
    right: -270px;
    bottom: -143px;
    width: 163px;
    background: #ee374c;
    transform: skewX(25deg);
}

@keyframes author-profile-in {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 809px) {
    body.about-page .authors-section {
        min-height: 0;
        padding: 0 0 127px;
    }

    body.about-page .authors-inner {
        flex-direction: column;
        width: 100%;
        height: auto;
    }

    body.about-page .authors-copy {
        order: 0;
        width: 100%;
        padding: 20px;
    }

    body.about-page .authors-copy h2 {
        font-size: 56px;
        line-height: 1.2;
    }

    body.about-page .authors-copy__spacer,
    body.about-page .authors-decoration {
        display: none;
    }

    body.about-page .authors-visual {
        order: 1;
        width: 100%;
        height: 642px;
        padding: 21px 0;
    }

    body.about-page .authors-portrait-stage {
        width: 90%;
        height: 600px;
        margin: 0 auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.about-page .author-portrait,
    body.about-page .author-portrait__plus {
        transition: none;
    }

    body.about-page .author-profile {
        animation: none;
    }
}

/* Kurs Graphic Designer: sekcja ceny odtworzona na podstawie oryginalnego komponentu. */
.graphic-course .graphic-price-section {
    --price-accent: #ff0048;
    min-height: 0;
    margin: 0;
    padding: 0;
    background: #f1f1f1;
    overflow: hidden;
}

.graphic-course .graphic-price-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding: 40px 10px;
    gap: 40px;
}

.graphic-course .graphic-price-section h2 {
    width: 100%;
    margin: 0;
    overflow: hidden;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 74px;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
}

.graphic-course .graphic-price-section .price-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 860px;
    margin: 0;
    padding: 20px;
    gap: 0;
    overflow: hidden;
}

.graphic-course .graphic-price-section .level-selector {
    position: relative;
    z-index: 0;
    display: block;
    flex: 0 0 22%;
    width: 22%;
    min-width: 200px;
    height: 445px;
    padding: 0 0 100px;
    overflow: visible;
}

.graphic-course .graphic-price-section .level-selector::before {
    position: absolute;
    z-index: -1;
    top: 6px;
    bottom: 106px;
    left: 22px;
    width: 1px;
    height: auto;
    background: #777;
    content: "";
}

.graphic-course .graphic-price-section .level-selector button {
    position: absolute;
    left: 0;
    display: grid;
    grid-template-columns: 45px minmax(0, 1fr);
    align-items: center;
    width: 100%;
    height: 45px;
    min-height: 45px;
    padding: 0;
    border: 0;
    color: #777;
    background: transparent;
    font-size: 20px;
    line-height: 24px;
    text-align: left;
    cursor: pointer;
}

.graphic-course .graphic-price-section .level-selector button:nth-child(1) {
    top: 0;
}

.graphic-course .graphic-price-section .level-selector button:nth-child(2) {
    top: 75px;
}

.graphic-course .graphic-price-section .level-selector button:nth-child(3) {
    top: 150px;
}

.graphic-course .graphic-price-section .level-selector button:nth-child(4) {
    top: 225px;
}

.graphic-course .graphic-price-section .level-selector button:nth-child(5) {
    top: 300px;
}

.graphic-course .graphic-price-section .level-selector .level-number {
    display: grid;
    width: 45px;
    height: 45px;
    margin: 0;
    place-items: center;
    border: 1px solid #777;
    border-radius: 50%;
    color: #777;
    background: #f1f1f1;
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    transform: none;
    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background-color 0.2s ease;
}

.graphic-course .graphic-price-section .level-selector .level-name {
    display: block;
    width: auto;
    height: auto;
    margin: 0 0 0 8px;
    border: 0;
    border-radius: 0;
    color: #777;
    background: transparent;
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    transform: none;
}

.graphic-course
    .graphic-price-section
    .level-selector
    button.is-active
    .level-number {
    border-color: var(--price-accent);
    color: #fff;
    background: var(--price-accent);
    font-weight: 700;
    transform: none;
}

.graphic-course .graphic-price-section .price-table-card {
    display: flex;
    flex: 0 0 78%;
    flex-direction: column;
    width: 78%;
    overflow: visible;
    border-radius: 16px;
    background: transparent;
    box-shadow: none;
}

.graphic-course .graphic-price-section .price-table-body {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 24px 4px 32px;
    border-radius: 16px 16px 0 0;
    background: #fff;
}

.graphic-course .graphic-price-section .price-table-head,
.graphic-course .graphic-price-section .price-row {
    display: grid;
    grid-template-columns: 48px 52% 34%;
    align-items: center;
    width: 100%;
    gap: 12px;
}

.graphic-course .graphic-price-section .price-table-head {
    min-height: 42px;
    padding: 0 0 4px;
    color: var(--price-accent);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.graphic-course .graphic-price-section .price-table-head strong:first-child {
    grid-column: 2;
}

.graphic-course .graphic-price-section .price-table-head strong {
    font-weight: 700;
}

.graphic-course .graphic-price-section .price-rows {
    width: 100%;
    margin-top: 10px;
}

.graphic-course .graphic-price-section .price-row {
    position: relative;
    min-height: 38px;
    margin: 0;
    padding: 0;
    border: 0;
    color: #000;
    font-size: 16px;
    line-height: 1.2;
}

.graphic-course .graphic-price-section .price-row:not(:last-child) {
    margin-bottom: 21px;
}

.graphic-course .graphic-price-section .price-row:not(:last-child)::after {
    position: absolute;
    bottom: -11px;
    left: 7%;
    width: 86%;
    height: 1px;
    background: #000;
    content: "";
}

.graphic-course .graphic-price-section .price-row::before {
    width: 29px;
    height: 15px;
    margin: -5px 0 0 8px;
    border-bottom: 8px solid var(--price-accent);
    border-left: 8px solid var(--price-accent);
    border-radius: 1px;
    color: transparent;
    content: "";
    font-size: 0;
    line-height: 0;
    transform: rotate(-45deg);
}

.graphic-course .graphic-price-section .price-row span,
.graphic-course .graphic-price-section .price-row strong {
    min-width: 0;
    font-size: 16px;
    line-height: 1.2;
}

.graphic-course .graphic-price-section .price-row strong {
    color: #000;
    font-weight: 700;
}

.graphic-course .graphic-price-section .price-total {
    display: grid;
    min-height: 76px;
    margin: 0;
    padding: 20px 35px;
    place-items: center;
    border-radius: 0 0 16px 16px;
    color: #fff;
    background: var(--price-accent);
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.graphic-course .graphic-price-section .price-note {
    width: 100%;
    max-width: 96%;
    min-height: 84px;
    margin: 0 auto;
    padding-top: 42px;
    color: #777;
    font-size: 15px;
    line-height: 21px;
    text-align: center;
}

.graphic-course .graphic-price-section .price-note a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 809px) {
    .graphic-course .graphic-price-section .price-layout {
        flex-direction: column;
        min-width: 0;
        padding: 20px;
    }

    .graphic-course .graphic-price-section .level-selector {
        display: flex;
        flex: 0 0 125px;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-width: 0;
        height: 125px;
        padding: 40px 20px;
        gap: 8px;
        overflow: visible;
    }

    .graphic-course .graphic-price-section .level-selector::before {
        display: none;
    }

    .graphic-course .graphic-price-section .level-selector button,
    .graphic-course .graphic-price-section .level-selector button:nth-child(n) {
        position: relative;
        top: auto;
        left: auto;
        display: flex;
        flex: 0 0 45px;
        flex-direction: row;
        width: 45px;
        min-width: 45px;
        height: 45px;
        justify-content: flex-start;
    }

    .graphic-course .graphic-price-section .level-selector button.is-active {
        flex-basis: auto;
        width: auto;
    }

    .graphic-course .graphic-price-section .level-selector .level-name {
        display: none;
        flex: 0 0 auto;
        margin-left: 10px;
        white-space: nowrap;
    }

    .graphic-course
        .graphic-price-section
        .level-selector
        button.is-active
        .level-name {
        display: block;
    }

    .graphic-course .graphic-price-section .price-table-card {
        flex: 0 0 auto;
        width: 100%;
    }

    .graphic-course .graphic-price-section .price-total {
        font-size: 26px;
        line-height: 1.2;
    }

    .graphic-course .graphic-price-section .price-row::before,
    .graphic-course .graphic-price-section .price-row span,
    .graphic-course .graphic-price-section .price-row strong {
        grid-column: auto;
        grid-row: auto;
    }
}

@media (max-width: 470px) {
    .graphic-course .graphic-price-section h2 {
        padding-inline: 50px;
    }

    .graphic-course .graphic-price-section .price-row,
    .graphic-course .graphic-price-section .price-row span,
    .graphic-course .graphic-price-section .price-row strong {
        line-height: 19.5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .graphic-course .graphic-price-section .level-selector .level-number {
        transition: none;
    }
}

/* Kurs Operator DTP: niebieski wariant wspólnego komponentu ceny. */
.dtp-price-scope {
    width: 100%;
}

.dtp-course .dtp-price-section {
    --price-accent: #0094e1;
}

@media (min-width: 810px) {
    .dtp-price-scope .dtp-price-section .level-selector {
        height: 341px;
        padding-bottom: 141px;
    }

    .dtp-price-scope .dtp-price-section .level-selector::before {
        top: 17px;
        bottom: auto;
        height: 150px;
    }
}

@media (max-width: 470px) {
    .dtp-price-scope .dtp-price-section .price-row:nth-child(1) {
        min-height: 83.1875px;
    }

    .dtp-price-scope .dtp-price-section .price-row:nth-child(4) {
        min-height: 78px;
    }
}

/* Kurs Web Designer: pojedyncza tabela z dekoracjami i gradientem ceny. */
.web-price-scope {
    width: 100%;
}

.web-course .web-price-section {
    --price-accent: #00e2ea;
    overflow: visible;
}

.web-price-scope .web-price-section .graphic-price-inner {
    position: relative;
    z-index: 2;
}

.web-price-scope .web-price-section .price-total {
    background: linear-gradient(90deg, #01ea6e 0%, #01dce7 100%);
}

.web-price-scope .web-price-section .price-value {
    min-width: 0;
    color: #000;
    font-weight: 400;
}

.web-price-scope .web-price-section .price-value strong {
    color: inherit;
    font-weight: 700;
}

.web-price-decor {
    position: absolute;
    z-index: 1;
    display: block;
    max-width: none;
    pointer-events: none;
}

.web-price-decor-orbit {
    top: -214px;
    right: -692px;
    width: 983px;
    height: 983px;
}

.web-price-decor-wave {
    top: -131px;
    left: -120px;
    width: 142px;
    height: 215px;
}

.web-price-decor-grid {
    top: 843px;
    left: calc(50% - 964px);
    width: 704px;
    height: 468px;
}

@media (max-width: 809px) {
    .web-price-decor-orbit {
        right: -982px;
    }

    .web-price-decor-wave {
        left: -160px;
    }

    .web-price-decor-grid {
        display: none;
    }
}

@media (max-width: 470px) {
    .web-price-scope .web-price-section .price-row:nth-child(1) {
        /* min-height: 156px; */
    }

    .web-price-scope .web-price-section .price-row:nth-child(1) .price-value {
        /* max-width: 88px; */
        overflow-wrap: anywhere;
    }

    .web-price-scope .web-price-section .price-row:nth-child(4) {
        min-height: 78px;
    }

    .web-price-scope .web-price-section .price-row:nth-child(7) {
        min-height: 97.5px;
    }

    .web-price-scope .web-price-section .price-row:nth-child(8) {
        min-height: 117px;
        height: 117px;
    }

    .web-price-scope .web-price-section .price-row:nth-child(8) span,
    .web-price-scope .web-price-section .price-row:nth-child(8) strong {
        font-size: 16px;
        letter-spacing: -0.75px;
    }
}

/* Kurs Web Designer: wspólna sekcja „Jak uczymy?” / „Dla kogo ten kurs?” */
.web-story-showcase {
    position: relative;
    isolation: isolate;
    width: 100%;
    height: 901px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(#c46cec 37%, #e9171c);
}

.web-story-showcase__media {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
    pointer-events: none;
}

.web-story-showcase__dots {
    position: absolute;
    z-index: -1;
    top: 93px;
    left: calc(50% - 986px);
    width: 344px;
    height: auto;
    max-width: none;
    pointer-events: none;
    filter: brightness(0) invert(1);
}

.web-story-showcase__cyan {
    position: absolute;
    z-index: -1;
    top: 852px;
    left: calc(50% + 664px);
    width: 214px;
    height: 459px;
    background: var(--cyan);
    pointer-events: none;
    transform: skewX(25deg);
    transform-origin: 50% 50%;
}

.web-story-showcase__content {
    position: absolute;
    z-index: 1;
    top: 49%;
    left: 50%;
    display: flex;
    width: min(1080px, 90vw);
    margin: 0;
    padding: 20px;
    flex-direction: column;
    gap: 24px;
    transform: translate(-50%, -50%);
}

.web-story-showcase__spacer {
    flex: 0 0 60px;
}

.web-story-showcase__teaching {
    display: flex;
    width: min(700px, 100%);
    margin-inline: auto;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
}

.web-story-showcase h2 {
    margin: 0;
    color: #fff;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 74px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.04em;
    text-align: center;
}

.web-story-showcase__teaching p,
.web-story-showcase__audience p {
    margin: 0;
    font-size: 15px;
    line-height: 1.4;
    text-align: center;
}

.web-story-showcase__teaching strong,
.web-story-showcase__audience strong {
    font-weight: 700;
}

.web-story-showcase__audience {
    display: flex;
    width: 100%;
    margin-inline: auto;
    flex-direction: column;
    gap: 40px;
}

.web-story-showcase__audience-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.web-story-showcase__audience-grid article {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.web-story-showcase__audience-grid img {
    width: 149px;
    height: 149px;
    max-width: none;
    object-fit: contain;
}

.web-story-showcase__audience-grid p {
    width: min(240px, 100%);
}

.motion-ready .web-story-showcase__content.reveal-on-scroll {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 150px));
    transition:
        opacity 0.8s ease,
        transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.motion-ready .web-story-showcase__content.reveal-on-scroll.is-visible {
    margin-bottom: 0;
    opacity: 1;
    transform: translate(-50%, -50%);
}

@media (max-width: 1199px) and (min-width: 810px) {
    .web-story-showcase__teaching p,
    .web-story-showcase__audience p {
        font-size: 15px;
    }
}

@media (max-width: 809px) {
    .web-story-showcase {
        height: auto;
    }

    .web-story-showcase__dots,
    .web-story-showcase__cyan {
        display: none;
    }

    .web-story-showcase__content {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        height: auto;
        transform: none;
    }

    .web-story-showcase__spacer--top {
        flex-basis: 20px;
    }

    .web-story-showcase__spacer--middle {
        flex-basis: 5px;
    }

    .web-story-showcase__spacer--bottom {
        flex-basis: 40px;
    }

    .web-story-showcase__teaching,
    .web-story-showcase__audience {
        width: 100%;
    }

    .web-story-showcase h2 {
        font-size: 74px;
        line-height: 1.1;
    }

    .web-story-showcase__teaching p,
    .web-story-showcase__audience p {
        font-size: 15px;
    }

    .web-story-showcase__audience-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .motion-ready .web-story-showcase__content.reveal-on-scroll {
        transform: translateY(150px);
    }

    .motion-ready .web-story-showcase__content.reveal-on-scroll.is-visible {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .motion-ready .web-story-showcase__content.reveal-on-scroll {
        margin-bottom: 0;
        opacity: 1;
        transform: translate(-50%, -50%);
        transition: none;
    }
}

@media (max-width: 809px) and (prefers-reduced-motion: reduce) {
    .motion-ready .web-story-showcase__content.reveal-on-scroll {
        transform: none;
    }
}

/* Nowa sekcja zawiera już blok odbiorców, więc program nie może być
   przesuwany nad nią ujemnym marginesem ze starego układu. */
.web-course .web-story-showcase + .program-section {
    margin-top: 0;
}

/* Dekoracja cyjanowa rozpoczyna się w sekcji historii, ale zgodnie ze
   wzorcem powinna pozostać widoczna również nad początkiem programu. */
.web-course .web-story-showcase {
    z-index: 1;
    overflow: visible;
}

.web-course .web-story-showcase__cyan {
    z-index: 0;
}

.web-course .web-story-showcase + .program-section {
    z-index: 0;
}

/* Oryginalne dekoracje strony Kurs Operator DTP. */
.dtp-hero-decor {
    position: absolute;
    z-index: 1;
    display: block;
    max-width: none;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
}

.dtp-hero-decor-left {
    top: clamp(77px, calc(667px - 46.1vw), 294px);
    left: -534px;
    width: 509px;
    height: 493px;
}

.dtp-hero-decor-right {
    top: clamp(299px, calc(592px - 22.9vw), 407px);
    left: calc(50% + 383px);
    width: 460px;
    height: 608px;
}

.dtp-program-spark {
    position: absolute;
    z-index: 5;
    display: block;
    width: 88px;
    height: 88px;
    max-width: none;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
}

.dtp-program-spark-top {
    top: 80px;
    right: calc(50vw - 643px);
}

.dtp-program-spark-bottom {
    bottom: 70px;
    left: calc(50vw - 644px);
}

.dtp-contact-cmyk {
    position: absolute;
    z-index: 3;
    top: -10px;
    left: 50%;
    display: flex;
    width: 464px;
    height: 20px;
    align-items: center;
    overflow: hidden;
    transform: translateX(-50%);
}

.dtp-contact-cmyk span {
    display: flex;
    width: 64px;
    height: 16px;
    flex: 0 0 64px;
    overflow: hidden;
}

.dtp-contact-cmyk span:last-child {
    width: 16px;
    flex-basis: 16px;
}

.dtp-contact-cmyk i {
    display: block;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.dtp-contact-cmyk i:nth-child(4n + 1) {
    background: rgb(1, 148, 225);
}

.dtp-contact-cmyk i:nth-child(4n + 2) {
    background: rgb(255, 13, 126);
}

.dtp-contact-cmyk i:nth-child(4n + 3) {
    background: rgb(255, 245, 2);
}

.dtp-contact-cmyk i:nth-child(4n + 4) {
    background: rgb(27, 19, 17);
}

@media (max-width: 1199px) and (min-width: 810px) {
    .dtp-program-spark-top {
        right: -45px;
    }

    .dtp-program-spark-bottom {
        left: -46px;
    }
}

@media (max-width: 809px) {
    .dtp-hero-decor-left {
        top: calc(939px - 44.5vw);
        left: -534px;
    }

    .dtp-hero-decor-right {
        top: 229px;
        left: 333px;
    }

    .dtp-program-spark {
        display: none;
    }
}

@media (max-width: 470px) {
    .dtp-hero-decor-left {
        left: -534px;
    }

    .dtp-hero-decor-right {
        left: 333px;
    }
}
/* Sekcja „Jak uczymy?” kursu DTP — układ zgodny ze stroną wzorcową */
.dtp-story-showcase {
    position: relative;
    display: flex;
    width: 100%;
    overflow: hidden;
    color: #fff;
    background: rgb(78, 68, 71);
}

.dtp-story-showcase__media {
    position: absolute;
    z-index: 1;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
}

.dtp-story-showcase__inner {
    position: relative;
    z-index: 2;
    display: flex;
    width: min(100%, 1200px);
    margin-inline: auto;
    overflow: hidden;
}

.dtp-story-showcase__content {
    display: flex;
    flex: 0 0 60%;
    width: 60%;
    max-width: 720px;
    padding: 90px 20px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    overflow: hidden;
}

.dtp-story-showcase__content h2,
.dtp-story-showcase__content p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #fff;
}

.dtp-story-showcase__content h2 {
    width: 100%;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 74px;
    font-weight: 700;
    line-height: 1.1;
}

.dtp-story-showcase__content p {
    width: 100%;
    font-family: "Poppins", Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
}

.dtp-story-showcase__content .dtp-story-showcase__narrow-copy {
    width: 89%;
}

.dtp-story-showcase__content #co-dalej {
    width: 89%;
}

.dtp-story-showcase__section-spacer {
    flex: 0 0 60px;
    width: 92px;
    height: 60px;
}

.dtp-story-showcase__bottom-spacer {
    display: none;
}

.dtp-story-showcase__cmyk {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 0;
    display: flex;
    width: 45%;
    height: 6px;
    overflow: hidden;
}

.dtp-story-showcase__cmyk i {
    display: block;
    flex: 1 1 25%;
    height: 100%;
}

.dtp-story-showcase__cmyk i:nth-child(1) {
    background: rgb(1, 148, 225);
}

.dtp-story-showcase__cmyk i:nth-child(2) {
    background: rgb(255, 13, 126);
}

.dtp-story-showcase__cmyk i:nth-child(3) {
    background: rgb(255, 245, 2);
}

.dtp-story-showcase__cmyk i:nth-child(4) {
    background: rgb(27, 19, 17);
}

.motion-ready .dtp-story-showcase__content.reveal-on-scroll {
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(150px);
    transition:
        opacity 0.8s ease,
        transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.motion-ready .dtp-story-showcase__content.reveal-on-scroll.is-visible {
    margin-bottom: 0;
    opacity: 1;
    transform: none;
}

@media (max-width: 1199px) {
    .dtp-story-showcase__content p {
        font-size: 14px;
    }
}

@media (max-width: 809px) {
    .dtp-story-showcase__media {
        right: auto;
        left: 50%;
        width: 1781px;
        transform: translateX(-50%);
    }

    .dtp-story-showcase__inner {
        flex-direction: column;
        align-items: center;
    }

    .dtp-story-showcase__content {
        flex: 0 0 auto;
        width: min(100%, 720px);
    }

    .dtp-story-showcase__section-spacer {
        flex-basis: 5px;
        height: 5px;
    }

    .dtp-story-showcase__bottom-spacer {
        display: block;
        flex: 0 0 48px;
        width: 156px;
        height: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .motion-ready .dtp-story-showcase__content.reveal-on-scroll {
        margin-bottom: 0;
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.dtp-course #zainteresowany > .contact-inner > div > h2 {
    color: #fae769;
}

.graphic-course #zainteresowany,
.graphic-course #zainteresowany > .contact-inner {
    color: #fff;
    background: #ff0048;
}

body:not([class]) #kontakt,
body:not([class]) #kontakt > .contact-inner,
.about-page #kontakt,
.about-page #kontakt > .contact-inner {
    color: #fff;
    background: #ff0048;
}

.web-course #zainteresowany,
.web-course #zainteresowany > .contact-inner {
    color: var(--black);
    background: var(--cyan);
}

.graphic-course #zainteresowany .direct-contact-email,
.graphic-course #zainteresowany .direct-contact-email:hover,
.graphic-course #zainteresowany .direct-contact-email:focus-visible,
.web-course #zainteresowany .direct-contact-email,
.web-course #zainteresowany .direct-contact-email:hover,
.web-course #zainteresowany .direct-contact-email:focus-visible,
body:not([class]) #kontakt .direct-contact-email,
body:not([class]) #kontakt .direct-contact-email:hover,
body:not([class]) #kontakt .direct-contact-email:focus-visible,
.about-page #kontakt .direct-contact-email,
.about-page #kontakt .direct-contact-email:hover,
.about-page #kontakt .direct-contact-email:focus-visible {
    color: #fff;
    background: var(--black);
}

.standalone-contact-page .direct-contact-email,
.standalone-contact-page .direct-contact-email:hover,
.standalone-contact-page .direct-contact-email:focus-visible {
    color: #000;
    background: var(--cyan);
}

/* Tabele cen kursów: pionowy układ par informacji wyłącznie na telefonach. */
@media (max-width: 470px) {
    .graphic-course .graphic-price-section .price-table-head,
    .graphic-course .graphic-price-section .price-row {
        grid-template-columns: 48px minmax(0, 1fr);
        column-gap: 12px;
        row-gap: 6px;
    }

    .graphic-course
        .graphic-price-section
        .price-table-head
        strong:first-child {
        grid-column: 2;
    }

    .graphic-course .graphic-price-section .price-table-head strong:last-child {
        display: none;
    }

    .graphic-course .graphic-price-section .price-row::before {
        grid-column: 1;
        grid-row: 1 / span 2;
    }

    .graphic-course .graphic-price-section .price-row > span,
    .graphic-course .graphic-price-section .price-row > strong {
        grid-column: 2;
        grid-row: auto;
    }

    .web-price-scope .web-price-section .price-row:nth-child(8) {
        height: auto;
    }
}

.web-course .web-schedule .schedule-icon[src$="schedule-calendar.png"] {
    filter: brightness(0) invert(1);
}

@media (min-width: 810px) {
    body:not(.subpage) .about-person {
        right: auto;
        left: calc(50% - 50px);
    }
}

/* Strona główna: sekcje wynikają z zawartości i pozostają w naturalnym przepływie. */
body:not([class]) > main#top {
    display: flex;
    flex-direction: column;
    gap: 0;
}

body:not([class]) > main#top > section {
    flex: 0 0 auto;
    height: auto;
    min-height: 0;
    margin: 0;
    overflow: visible;
}

body:not([class]) > main#top .hero-inner,
body:not([class]) > main#top .about-inner,
body:not([class]) > main#top .advantages-inner,
body:not([class]) > main#top .contact-inner {
    height: auto;
    min-height: 0;
    margin-top: 0;
}

/* Hero: zdjęcie i tekst współtworzą wysokość jednego wiersza Grid. */
body:not([class]) > main#top .hero-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-bottom: 0;
}

body:not([class]) > main#top .hero-person {
    grid-column: 1;
    grid-row: 1;
}

body:not([class]) > main#top .hero-copy {
    position: relative;
    top: auto;
    left: auto;
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    margin-top: 138px;
}

/* About: tekst i portret są elementami układu, a nie warstwami bez wysokości. */
body:not([class]) > main#top .about-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 513px);
    align-items: start;
}

body:not([class]) > main#top .about-copy {
    position: relative;
    top: auto;
    left: auto;
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    margin-top: 205px;
}

body:not([class]) > main#top .about-person {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    height: auto;
    max-width: 513px;
    margin: 0;
    justify-self: center;
    transform: none;
}

@media (min-width: 601px) and (max-width: 809px) {
    body:not([class]) > main#top .hero-inner {
        grid-template-columns: 1fr;
    }

    body:not([class]) > main#top .hero-person,
    body:not([class]) > main#top .hero-copy {
        grid-column: 1;
        grid-row: 1;
    }

    body:not([class]) > main#top .hero-copy {
        margin-top: 398px;
    }

    body:not([class]) > main#top .about-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body:not([class]) > main#top .about-copy {
        grid-column: 2;
        margin-top: 64px;
    }

    body:not([class]) > main#top .about-person {
        grid-column: 1;
        width: 376px;
        max-width: none;
        margin-top: 21px;
    }
}

@media (max-width: 600px) {
    body:not([class]) > main#top .hero-inner,
    body:not([class]) > main#top .about-inner {
        grid-template-columns: 1fr;
    }

    body:not([class]) > main#top .hero-person,
    body:not([class]) > main#top .hero-copy,
    body:not([class]) > main#top .about-copy,
    body:not([class]) > main#top .about-person {
        grid-column: 1;
        grid-row: 1;
    }

    body:not([class]) > main#top .hero-copy {
        margin-top: 398px;
    }

    body:not([class]) > main#top .about-copy {
        width: 100%;
        margin-top: 45px;
    }

    body:not([class]) > main#top .about-person {
        width: min(450px, 100%);
        max-width: none;
        margin-top: 480px;
    }
}

@media (max-width: 470px) {
    .graphic-course .course-projects-frame .course-projects {
        width: 100%;
        max-width: none;
    }
}
