:root {
    --ink: #102f36;
    --ink-deep: #082229;
    --ink-soft: #31545a;
    --paper: #f7f5f2;
    --white: #ffffff;
    --mist: #e8efef;
    --line: rgba(16, 47, 54, 0.15);
    --turquoise: #35a6aa;
    --turquoise-dark: #126c73;
    --orange: #ff571b;
    --yellow: #ffc52e;
    --purple: #7b358f;
    --red: #e64a5d;
    --error: #a72235;
    --success: #137052;
    --radius-sm: 10px;
    --radius: 22px;
    --radius-lg: 36px;
    --shadow-sm: 0 12px 30px rgba(8, 34, 41, 0.08);
    --shadow: 0 26px 70px rgba(8, 34, 41, 0.14);
    --container: 1240px;
    --header-height: 84px;
    --font-display: "Manrope", "Avenir Next", "Segoe UI", Arial, sans-serif;
    --font-body: "Inter", "Segoe UI", Arial, sans-serif;
}

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

html {
    overflow-x: hidden;
    overflow-x: clip;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
    overflow-x: hidden;
    overflow-x: clip;
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

body.page-locked {
    position: fixed;
    right: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
}

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

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
}

address {
    font-style: normal;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    line-height: 1.03;
    letter-spacing: -0.04em;
}

h2 {
    margin-bottom: 28px;
    font-size: clamp(2.8rem, 6vw, 5.6rem);
    font-weight: 800;
}

h2 em,
h3 em {
    color: var(--turquoise-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    letter-spacing: -0.05em;
}

::selection {
    color: var(--ink-deep);
    background: var(--yellow);
}

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

.container {
    width: min(calc(100% - 48px), var(--container));
    margin-inline: auto;
}

.section {
    position: relative;
    padding: clamp(88px, 10vw, 160px) 0;
}

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

.skip-link {
    position: fixed;
    z-index: 2000;
    top: 12px;
    left: 12px;
    padding: 12px 18px;
    color: var(--white);
    background: var(--ink);
    border-radius: var(--radius-sm);
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: none;
}

.eyebrow {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
    color: var(--turquoise-dark);
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    line-height: 1.2;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 28px;
    height: 3px;
    background: currentColor;
    border-radius: 999px;
    content: "";
}

.lead {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.5vw, 2rem);
    font-weight: 650;
    line-height: 1.35;
    letter-spacing: -0.025em;
}

.button {
    display: inline-flex;
    min-height: 52px;
    padding: 13px 22px;
    gap: 16px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

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

.button:active {
    transform: translateY(0);
}

.button:disabled {
    opacity: 0.62;
    cursor: wait;
    transform: none;
}

.button--primary {
    color: var(--ink-deep);
    background: var(--yellow);
    box-shadow: 0 12px 30px rgba(255, 197, 46, 0.22);
}

.button--primary:hover {
    background: #ffd45e;
    box-shadow: 0 16px 34px rgba(255, 197, 46, 0.3);
}

.button--ghost {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.42);
    backdrop-filter: blur(8px);
}

.button--ghost:hover {
    background: rgba(255, 255, 255, 0.16);
}

.button--ghost-dark {
    color: var(--ink);
    background: transparent;
    border-color: var(--ink);
}

.button--ghost-dark:hover {
    color: var(--white);
    background: var(--ink);
}

.button--back {
    color: var(--ink-soft);
    background: transparent;
    border-color: var(--line);
}

.button--back:hover {
    color: var(--ink);
    background: var(--mist);
}

.button--small {
    min-height: 44px;
    padding: 10px 18px;
    font-size: 0.9rem;
}

.text-link {
    display: inline-flex;
    padding-bottom: 5px;
    gap: 12px;
    border-bottom: 2px solid var(--turquoise);
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 800;
    text-decoration: none;
}

.text-link span {
    transition: transform 180ms ease;
}

.text-link:hover span {
    transform: translate(3px, -3px);
}

/* Header */

.site-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    color: var(--white);
    border-bottom: 1px solid transparent;
    transition: height 200ms ease, color 200ms ease, background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.site-header.is-scrolled {
    height: 70px;
    color: var(--ink);
    background: rgba(247, 245, 242, 0.94);
    border-color: var(--line);
    box-shadow: 0 12px 30px rgba(8, 34, 41, 0.08);
    backdrop-filter: blur(16px);
}

.site-header__inner {
    display: flex;
    height: 100%;
    gap: 28px;
    align-items: center;
}

.brand {
    position: relative;
    display: inline-flex;
    min-width: 116px;
    align-items: baseline;
    color: inherit;
    font-family: var(--font-display);
    font-weight: 850;
    line-height: 1;
    text-decoration: none;
}

.brand__te {
    color: var(--turquoise);
    font-size: 1.05rem;
}

.brand__zet {
    color: var(--orange);
    font-size: 2.25rem;
}

.brand__ka {
    color: inherit;
    font-size: 1.2rem;
}

.main-nav {
    margin-left: auto;
}

.main-nav__list {
    display: flex;
    margin: 0;
    padding: 0;
    gap: clamp(16px, 2.5vw, 38px);
    align-items: center;
    list-style: none;
}

.main-nav__list a {
    position: relative;
    display: inline-block;
    padding: 10px 0;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.main-nav__list a::after {
    position: absolute;
    right: 0;
    bottom: 5px;
    left: 0;
    height: 2px;
    background: var(--yellow);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 180ms ease;
    content: "";
}

.main-nav__list a:hover::after,
.main-nav__list a[aria-current="location"]::after {
    transform: scaleX(1);
    transform-origin: left;
}

.main-nav__toggle {
    display: none;
}

.button--header {
    color: var(--ink-deep);
    background: var(--yellow);
}

/* Hero */

.hero {
    position: relative;
    min-height: 760px;
    min-height: 100svh;
    overflow: hidden;
    color: var(--white);
    background: var(--ink-deep);
}

.hero__media,
.hero__veil {
    position: absolute;
    inset: 0;
}

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__veil {
    background:
        linear-gradient(90deg, rgba(4, 24, 30, 0.94) 0%, rgba(7, 31, 37, 0.75) 36%, rgba(9, 41, 48, 0.14) 69%, rgba(9, 41, 48, 0.03) 100%),
        linear-gradient(0deg, rgba(4, 24, 30, 0.62) 0%, transparent 42%);
}

.hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 760px;
    min-height: 100svh;
    align-items: center;
    padding-top: calc(var(--header-height) + 42px);
    padding-bottom: 80px;
}

.hero__content {
    width: min(660px, 57%);
}

.hero__eyebrow {
    color: #8ce2e4;
}

.hero__title {
    margin-bottom: 32px;
}

.hero-logo {
    display: flex;
    height: clamp(112px, 16vw, 190px);
    align-items: flex-end;
    font-family: var(--font-display);
    font-weight: 900;
    letter-spacing: -0.09em;
    line-height: 0.75;
}

.hero-logo__te {
    align-self: flex-start;
    margin-top: 18px;
    color: var(--turquoise);
    font-size: clamp(2.6rem, 5.2vw, 5.6rem);
}

.hero-logo__z {
    margin-left: -0.03em;
    color: var(--orange);
    font-size: clamp(8.4rem, 16vw, 16rem);
}

.hero-logo__etka {
    margin-bottom: 15px;
    margin-left: -0.16em;
    color: var(--white);
    font-size: clamp(3.8rem, 8.4vw, 8.4rem);
}

.hero__tagline {
    display: block;
    margin-top: 28px;
    font-size: clamp(2rem, 4vw, 4.1rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 0.98;
    text-transform: uppercase;
}

.hero__facts {
    display: flex;
    margin-bottom: 34px;
    gap: 12px 26px;
    flex-wrap: wrap;
}

.hero__facts span {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-display);
    font-size: 0.94rem;
    font-weight: 700;
}

.hero__facts svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--yellow);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

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

.hero__scroll {
    position: absolute;
    z-index: 3;
    right: 34px;
    bottom: 38px;
    display: flex;
    gap: 14px;
    align-items: center;
    color: rgba(255, 255, 255, 0.76);
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-decoration: none;
    text-transform: uppercase;
    transform: rotate(90deg);
    transform-origin: right bottom;
}

.hero__scroll-line {
    display: block;
    width: 54px;
    height: 1px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.38);
}

.hero__scroll-line::after {
    display: block;
    width: 50%;
    height: 100%;
    background: var(--yellow);
    animation: scroll-line 1.8s ease-in-out infinite;
    content: "";
}

@keyframes scroll-line {
    0% { transform: translateX(-120%); }
    55%, 100% { transform: translateX(220%); }
}

/* Fact strip */

.fact-strip {
    position: relative;
    z-index: 4;
    color: var(--ink);
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.fact-strip__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.fact {
    min-height: 132px;
    padding: 30px clamp(20px, 3vw, 42px);
    border-left: 1px solid var(--line);
}

.fact:last-child {
    border-right: 1px solid var(--line);
}

.fact strong,
.fact span {
    display: block;
}

.fact strong {
    margin-bottom: 4px;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    font-weight: 850;
    letter-spacing: -0.035em;
}

.fact span {
    color: var(--ink-soft);
    font-size: 0.9rem;
}

/* Intro */

.intro {
    background:
        radial-gradient(circle at 4% 18%, rgba(53, 166, 170, 0.1), transparent 26%),
        var(--paper);
}

.intro__grid {
    display: grid;
    margin-bottom: 78px;
    gap: clamp(48px, 9vw, 130px);
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
}

.section-heading > p:last-child {
    max-width: 560px;
    color: var(--ink-soft);
}

.intro__copy {
    padding-top: 48px;
}

.intro__copy > p:last-child {
    max-width: 650px;
    color: var(--ink-soft);
    font-size: 1.05rem;
}

.benefit-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
}

.benefit-card {
    position: relative;
    min-height: 330px;
    padding: clamp(28px, 4vw, 46px);
    overflow: hidden;
    border-radius: var(--radius);
}

.benefit-card::after {
    position: absolute;
    right: -38px;
    bottom: -60px;
    width: 190px;
    height: 190px;
    background: rgba(255, 255, 255, 0.13);
    border: 2px solid rgba(255, 255, 255, 0.34);
    border-radius: 46% 54% 41% 59% / 52% 36% 64% 48%;
    transform: rotate(26deg);
    content: "";
}

.benefit-card--turquoise {
    color: var(--ink-deep);
    background: var(--turquoise);
}

.benefit-card--orange {
    color: var(--white);
    background: var(--orange);
}

.benefit-card--purple {
    color: var(--white);
    background: var(--purple);
}

.benefit-card__number {
    display: block;
    margin-bottom: 84px;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 800;
    opacity: 0.76;
}

.benefit-card h3 {
    margin-bottom: 14px;
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 850;
}

.benefit-card p {
    position: relative;
    z-index: 1;
    max-width: 290px;
    margin-bottom: 0;
    opacity: 0.9;
}

/* Program */

.program-section {
    overflow: hidden;
    color: var(--white);
    background: var(--ink-deep);
}

.program-section__paint {
    position: absolute;
    inset: 0 0 auto;
    height: min(880px, 58vw);
    background:
        linear-gradient(180deg, rgba(8, 34, 41, 0.15), var(--ink-deep) 96%),
        url("../img/paint/paint-program-1366.webp") center top / cover no-repeat;
    opacity: 0.82;
}

.program-section::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 280px;
    background: linear-gradient(180deg, rgba(8, 34, 41, 0.36), transparent);
    pointer-events: none;
    content: "";
}

.program-section .container {
    position: relative;
    z-index: 2;
}

.section-heading--center {
    max-width: 840px;
    margin: 0 auto 90px;
    text-align: center;
}

.section-heading--center .eyebrow {
    justify-content: center;
}

.section-heading--center > p:last-child {
    margin-inline: auto;
}

.section-heading--light h2 em {
    color: #92ebed;
}

.section-heading--light > p,
.section-heading--light > p:last-child {
    color: rgba(255, 255, 255, 0.76);
}

.section-heading--light .eyebrow {
    color: var(--yellow);
}

.timeline {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.timeline::before {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 118px;
    width: 2px;
    background: rgba(255, 255, 255, 0.2);
    transform-origin: top;
    content: "";
}

.js .timeline::before {
    transform: scaleY(var(--timeline-progress, 0));
}

.timeline__item {
    position: relative;
    display: grid;
    min-height: 170px;
    padding-bottom: 24px;
    grid-template-columns: 88px 60px 1fr;
}

.timeline__time {
    padding-top: 34px;
    color: rgba(255, 255, 255, 0.78);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 800;
    text-align: right;
}

.timeline__dot {
    position: relative;
    z-index: 2;
    width: 18px;
    height: 18px;
    margin: 38px auto 0;
    background: var(--accent, var(--turquoise));
    border: 5px solid var(--ink-deep);
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--accent, var(--turquoise));
}

.timeline__item--turquoise { --accent: var(--turquoise); }
.timeline__item--orange { --accent: var(--orange); }
.timeline__item--purple { --accent: #ad65c1; }
.timeline__item--red { --accent: var(--red); }
.timeline__item--yellow { --accent: var(--yellow); }

.program-card {
    position: relative;
    padding: 32px 38px 28px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: var(--radius);
    color: var(--ink);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.13);
}

.program-card::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 6px;
    background: var(--accent);
    content: "";
}

.program-card__type {
    margin-bottom: 8px;
    color: var(--turquoise-dark);
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.program-card h3 {
    max-width: 690px;
    margin-bottom: 12px;
    font-size: clamp(1.5rem, 2.6vw, 2.2rem);
    font-weight: 830;
}

.program-card__people {
    margin-bottom: 3px;
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 700;
}

.program-card__meta {
    margin-bottom: 12px;
    color: var(--ink-soft);
    font-size: 0.86rem;
}

.program-card details {
    margin-top: 20px;
    border-top: 1px solid var(--line);
}

.program-card summary {
    display: flex;
    padding: 18px 0 2px;
    align-items: center;
    justify-content: space-between;
    color: var(--ink-soft);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.program-card summary::-webkit-details-marker {
    display: none;
}

.program-card summary span {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    background: var(--mist);
    border-radius: 50%;
    color: var(--ink);
    font-size: 1.2rem;
    transition: transform 180ms ease;
}

.program-card details[open] summary span {
    transform: rotate(45deg);
}

.program-card details p {
    max-width: 700px;
    margin: 16px 0 5px;
    color: var(--ink-soft);
}

/* Venue */

.venue {
    background: var(--paper);
}

.venue::before {
    position: absolute;
    top: 0;
    right: 7%;
    width: 180px;
    height: 180px;
    background: var(--yellow);
    border-radius: 55% 45% 38% 62% / 42% 54% 46% 58%;
    opacity: 0.16;
    transform: translateY(-42%) rotate(18deg);
    content: "";
}

.venue__grid {
    display: grid;
    gap: clamp(46px, 8vw, 110px);
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
}

.venue__media {
    position: relative;
    min-width: 0;
}

.venue__media picture,
.venue__media img {
    display: block;
    width: 100%;
}

.venue__media picture {
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.venue__media img {
    aspect-ratio: 1.25;
    object-fit: cover;
}

.js .venue__media {
    clip-path: inset(0 100% 0 0 round var(--radius-lg));
}

.venue__badge {
    position: absolute;
    right: -24px;
    bottom: -24px;
    display: grid;
    width: 118px;
    height: 118px;
    place-items: center;
    color: var(--ink-deep);
    background: var(--yellow);
    border: 8px solid var(--paper);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 850;
    line-height: 1.1;
    text-align: center;
    transform: rotate(8deg);
}

.venue__content address {
    margin-bottom: 32px;
    color: var(--ink-soft);
    font-size: 1.05rem;
}

.venue__content address strong {
    color: var(--ink);
}

.venue__facts {
    display: grid;
    margin: 0 0 34px;
    padding: 0;
    gap: 16px;
    grid-template-columns: 1fr 1fr;
}

.venue__facts div {
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.venue__facts dt {
    color: var(--ink-soft);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.venue__facts dd {
    margin: 5px 0 0;
    font-family: var(--font-display);
    font-weight: 750;
}

/* Partners */

.partners {
    padding: 0 0 clamp(90px, 10vw, 150px);
}

.partners__grid {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    grid-template-columns: 1fr 1fr;
}

.partner {
    position: relative;
    display: grid;
    min-height: 300px;
    padding: 44px;
    align-content: center;
    justify-items: center;
    text-align: center;
}

.partner + .partner {
    border-left: 1px solid var(--line);
}

.partner--organizer {
    color: var(--ink);
    background: var(--white);
}

.partner--patron {
    color: #173d75;
    background: var(--yellow);
}

.partner__label {
    position: absolute;
    top: 22px;
    left: 24px;
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.65;
}

.partner strong {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.2vw, 1.9rem);
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.partner small {
    margin-top: 4px;
    opacity: 0.7;
}

.hospital-mark {
    display: flex;
    height: 64px;
    margin-bottom: 22px;
    gap: 4px;
    align-items: center;
    flex-direction: column;
}

.hospital-mark i {
    display: block;
    width: 52px;
    height: 12px;
    border-radius: 100% 30% 70% 35%;
    transform: rotate(-4deg);
}

.hospital-mark i:nth-child(1) { width: 18px; background: var(--turquoise); }
.hospital-mark i:nth-child(2) { width: 55px; background: var(--yellow); }
.hospital-mark i:nth-child(3) { width: 40px; background: var(--purple); }
.hospital-mark i:nth-child(4) { width: 29px; background: var(--orange); }

.partner__hands {
    display: grid;
    width: 80px;
    height: 80px;
    margin-bottom: 16px;
    place-items: center;
    border: 3px solid currentColor;
    border-radius: 49% 51% 46% 54% / 56% 42% 58% 44%;
    font-size: 3rem;
}

/* Registration */

.registration-section {
    overflow: hidden;
    background:
        radial-gradient(circle at 100% 0%, rgba(53, 166, 170, 0.16), transparent 30%),
        radial-gradient(circle at 0% 30%, rgba(255, 87, 27, 0.1), transparent 27%),
        #eef2f1;
}

.registration-intro {
    display: grid;
    margin-bottom: 72px;
    gap: clamp(38px, 8vw, 100px);
    grid-template-columns: 0.9fr 1.1fr;
    align-items: end;
}

.price-cards {
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr 1fr;
}

.price-card {
    padding: 24px 26px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(16, 47, 54, 0.12);
    border-radius: var(--radius);
}

.price-card--primary {
    color: var(--white);
    background: var(--ink);
}

.price-card > span,
.price-card strong {
    display: block;
}

.price-card > span {
    margin-bottom: 14px;
    font-size: 0.78rem;
    font-weight: 750;
    opacity: 0.72;
}

.price-card strong {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: -0.05em;
    line-height: 1;
}

.price-card strong small {
    font-size: 0.75rem;
    letter-spacing: 0;
}

.price-cards > p {
    margin: 2px 8px 0;
    grid-column: 1 / -1;
    color: var(--ink-soft);
    font-size: 0.8rem;
}

.registration {
    max-width: 920px;
    margin-inline: auto;
}

.form-progress {
    display: grid;
    margin: 0 0 44px;
    padding: 0;
    grid-template-columns: repeat(3, 1fr);
    list-style: none;
}

.form-progress--invoice {
    grid-template-columns: repeat(4, 1fr);
}

.form-progress li {
    position: relative;
    display: grid;
    place-items: center;
    color: var(--ink-soft);
}

.form-progress li::before {
    position: absolute;
    z-index: 0;
    top: 18px;
    right: 50%;
    left: -50%;
    height: 2px;
    background: rgba(16, 47, 54, 0.15);
    content: "";
}

.form-progress li:first-child::before {
    display: none;
}

.form-progress li span {
    position: relative;
    z-index: 1;
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    place-items: center;
    background: #dde5e4;
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 850;
}

.form-progress li b {
    position: absolute;
    top: calc(100% + 7px);
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-display);
    font-size: 0.76rem;
    white-space: nowrap;
}

.form-progress li.is-complete span {
    color: var(--white);
    background: var(--turquoise-dark);
}

.form-progress li.is-complete::before,
.form-progress li[aria-current="step"]::before {
    background: var(--turquoise-dark);
}

.form-progress li[aria-current="step"] {
    color: var(--ink);
}

.form-progress li[aria-current="step"] span {
    color: var(--ink-deep);
    background: var(--yellow);
    box-shadow: 0 0 0 5px rgba(255, 197, 46, 0.24);
}

#registration-form {
    padding: clamp(28px, 5vw, 62px);
    background: var(--white);
    border: 1px solid rgba(16, 47, 54, 0.1);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.form-step {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.js .form-step[hidden] {
    display: none;
}

.no-js .conditional-panel[hidden] {
    display: block;
}

.form-step legend {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    padding: 0;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 850;
    letter-spacing: -0.045em;
    line-height: 1.1;
}

.form-step legend span {
    display: block;
    margin-bottom: 8px;
    color: var(--turquoise-dark);
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.form-step legend[tabindex="-1"]:focus {
    outline: none;
}

.form-step__lead {
    margin-bottom: 36px;
    color: var(--ink-soft);
}

.field-grid {
    display: grid;
    gap: 20px;
}

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

.field-grid--2 {
    grid-template-columns: 1fr 1fr;
}

.field-grid--2-1 {
    grid-template-columns: 2fr 1fr;
}

.field-grid--1-2 {
    grid-template-columns: 1fr 2fr;
}

.field {
    position: relative;
    margin-bottom: 22px;
}

.field label {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-display);
    font-size: 0.86rem;
    font-weight: 750;
}

.field label small {
    color: var(--ink-soft);
    font-weight: 500;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 52px;
    padding: 13px 15px;
    color: var(--ink);
    background: #fbfcfb;
    border: 1.5px solid #c9d4d3;
    border-radius: var(--radius-sm);
    outline: none;
    transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.field textarea {
    min-height: 130px;
    resize: vertical;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
    border-color: #93aaa8;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    background: var(--white);
    border-color: var(--turquoise-dark);
    box-shadow: 0 0 0 4px rgba(53, 166, 170, 0.14);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(167, 34, 53, 0.1);
}

.field input:disabled {
    color: #6c7d7c;
    background: #e9eeee;
    cursor: not-allowed;
}

.field-hint,
.field-error,
.field-counter {
    display: block;
    margin-top: 6px;
    font-size: 0.75rem;
    line-height: 1.35;
}

.field-hint,
.field-counter {
    color: #617775;
}

.field-error {
    min-height: 1em;
    color: var(--error);
    font-weight: 700;
}

.field-counter {
    text-align: right;
}

.choice-grid {
    display: grid;
    margin-bottom: 28px;
    gap: 14px;
    grid-template-columns: 1fr 1fr;
}

.choice-grid--compact .choice-card {
    min-height: 92px;
}

.choice-card,
.check-card {
    position: relative;
    display: flex;
    min-width: 0;
    color: var(--ink);
    background: #f8faf9;
    border: 1.5px solid #d1dcda;
    border-radius: var(--radius);
    cursor: pointer;
    transition: border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.choice-card {
    min-height: 128px;
    padding: 22px;
    gap: 16px;
    align-items: flex-start;
}

.choice-card:hover,
.check-card:hover {
    background: var(--white);
    border-color: #8ca8a5;
}

.choice-card:has(input:checked),
.check-card:has(input:checked) {
    background: #f3fbfa;
    border-color: var(--turquoise-dark);
    box-shadow: 0 0 0 3px rgba(53, 166, 170, 0.12);
}

.choice-card input,
.check-card input {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    margin: 2px 0 0;
    accent-color: var(--turquoise-dark);
}

.choice-card > span,
.check-card > span {
    display: block;
    min-width: 0;
}

.choice-card small,
.choice-card strong,
.check-card strong,
.check-card small {
    display: block;
}

.choice-card small {
    margin-bottom: 10px;
    color: var(--ink-soft);
    font-size: 0.78rem;
}

.choice-card strong {
    font-family: var(--font-display);
    font-size: 1.25rem;
    letter-spacing: -0.025em;
}

.choice-card strong em {
    font-size: 0.7rem;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0;
}

.payment-details {
    display: grid;
    margin: 0 0 30px;
    padding: 18px 20px;
    gap: 4px;
    color: var(--white);
    background: var(--ink-deep);
    border-left: 5px solid var(--yellow);
    border-radius: var(--radius-sm);
}

.payment-details span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.payment-details strong {
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 2.6vw, 1.45rem);
    letter-spacing: 0.02em;
    overflow-wrap: anywhere;
}

.payment-details small {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.75rem;
}

.payment-details__account-label {
    margin-top: 9px;
}

.choice-card .choice-card__gross {
    margin: 6px 0 0;
    color: var(--teal-dark);
    font-weight: 800;
}

.check-card {
    min-height: 86px;
    margin-bottom: 16px;
    padding: 18px 20px;
    gap: 14px;
    align-items: flex-start;
}

.check-card strong {
    font-family: var(--font-display);
    font-size: 0.9rem;
    line-height: 1.4;
}

.check-card small {
    margin-top: 4px;
    color: var(--ink-soft);
    font-size: 0.78rem;
    line-height: 1.45;
}

.check-card small a {
    color: var(--turquoise-dark);
    font-weight: 800;
}

.check-card--required {
    border-left: 4px solid var(--yellow);
}

.conditional-panel {
    margin: -6px 0 32px;
    padding: 22px;
    background: #eef6f5;
    border-radius: var(--radius);
}

.conditional-panel > :last-child {
    margin-bottom: 0;
}

.divider {
    height: 1px;
    margin: 40px 0;
    background: var(--line);
}

.form-subtitle {
    margin-bottom: 20px;
    font-size: 1.3rem;
    letter-spacing: -0.025em;
}

.form-step__tax-note {
    margin: 28px 0 0;
    padding: 16px 18px;
    color: var(--ink-soft);
    background: #fff6d9;
    border-left: 4px solid var(--yellow);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    line-height: 1.55;
}

.invoice-document-instructions {
    display: grid;
    margin-bottom: 22px;
    gap: 16px;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: start;
}

.invoice-document-instructions__number {
    display: grid;
    width: 42px;
    height: 42px;
    color: var(--ink-deep);
    background: var(--yellow);
    border-radius: 50%;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 850;
}

.invoice-document-instructions h3 {
    margin: 2px 0 6px;
    font-size: 1.05rem;
}

.invoice-document-instructions p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.button--download {
    min-height: 44px;
    margin-top: 14px;
    padding: 10px 16px;
    color: var(--turquoise-dark);
    background: var(--white);
    border: 1.5px solid var(--turquoise-dark);
}

.button--download:hover {
    color: var(--white);
    background: var(--turquoise-dark);
}

.upload-field {
    margin: 28px 0 18px;
}

.upload-field__input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.upload-dropzone {
    display: flex;
    min-height: 220px;
    padding: 30px;
    color: var(--ink);
    background: #f4faf9;
    border: 2px dashed #86aaa6;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.upload-dropzone:hover,
.upload-dropzone.is-dragover,
.upload-field__input:focus + .upload-dropzone {
    background: #e8f6f4;
    border-color: var(--turquoise-dark);
    box-shadow: 0 0 0 4px rgba(53, 166, 170, 0.12);
}

.upload-field__input[aria-invalid="true"] + .upload-dropzone {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(167, 34, 53, 0.1);
}

.upload-dropzone__icon {
    display: grid;
    width: 52px;
    height: 52px;
    margin-bottom: 13px;
    color: var(--white);
    background: var(--turquoise-dark);
    border-radius: 50%;
    place-items: center;
    font-size: 1.5rem;
    font-weight: 800;
}

.upload-dropzone strong {
    font-family: var(--font-display);
    font-size: 1.1rem;
}

.upload-dropzone > span:not(.upload-dropzone__icon) {
    margin-top: 3px;
    color: var(--ink-soft);
    font-size: 0.86rem;
}

.upload-dropzone small {
    margin-top: 12px;
    color: #526d6a;
    font-size: 0.75rem;
    font-weight: 750;
}

.upload-file {
    display: grid;
    min-height: 92px;
    padding: 18px 20px;
    gap: 14px;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    background: #eff9f5;
    border: 1.5px solid #86cbb5;
    border-radius: var(--radius);
    align-items: center;
}

.upload-file__mark {
    display: grid;
    width: 42px;
    height: 42px;
    color: var(--white);
    background: #178161;
    border-radius: 50%;
    place-items: center;
    font-weight: 850;
}

.upload-file strong,
.upload-file small {
    display: block;
    overflow-wrap: anywhere;
}

.upload-file strong {
    font-family: var(--font-display);
    font-size: 0.9rem;
}

.upload-file small {
    margin-top: 3px;
    color: var(--ink-soft);
}

.upload-file button {
    padding: 8px;
    color: var(--error);
    background: transparent;
    border: 0;
    font-weight: 800;
    text-decoration: underline;
    cursor: pointer;
}

.invoice-document-confirmation {
    margin-top: 4px;
}

.form-actions {
    display: flex;
    margin-top: 34px;
    gap: 12px;
    align-items: center;
    justify-content: flex-end;
}

.form-message {
    margin: 0 0 18px;
    padding: 15px 18px;
    border: 1px solid;
    border-radius: var(--radius-sm);
    font-weight: 700;
}

.form-message.is-error {
    color: #7e1325;
    background: #fff0f3;
    border-color: #e5a5b1;
}

.form-message.is-success {
    color: #0d5c43;
    background: #ebfaf4;
    border-color: #99d6c2;
}

.honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

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

.review__section {
    padding: 22px 24px;
    background: #f5f8f7;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.review__heading {
    display: flex;
    margin-bottom: 16px;
    align-items: center;
    justify-content: space-between;
}

.review__heading h3 {
    margin: 0;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

.review__heading button {
    padding: 5px 0;
    color: var(--turquoise-dark);
    background: none;
    border: 0;
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: underline;
    cursor: pointer;
}

.review dl {
    display: grid;
    margin: 0;
    gap: 10px 20px;
    grid-template-columns: 1fr 1fr;
}

.review dl div {
    min-width: 0;
}

.review dt {
    color: var(--ink-soft);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.review dd {
    margin: 2px 0 0;
    overflow-wrap: anywhere;
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 700;
}

.recaptcha-wrap {
    margin-top: 24px;
}

.success-panel {
    padding: clamp(38px, 7vw, 72px);
    color: var(--ink);
    background: var(--yellow);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
}

.success-panel__mark {
    display: grid;
    width: 74px;
    height: 74px;
    margin: 0 auto 26px;
    place-items: center;
    color: var(--white);
    background: var(--success);
    border-radius: 50%;
    font-size: 2rem;
    font-weight: 900;
}

.success-panel .eyebrow {
    justify-content: center;
    color: var(--ink-soft);
}

.success-panel h1,
.success-panel h3 {
    margin-bottom: 18px;
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 850;
}

.success-panel__details {
    display: grid;
    max-width: 690px;
    margin: 34px auto;
    padding: 22px 0;
    border-top: 1px solid rgba(16, 47, 54, 0.24);
    border-bottom: 1px solid rgba(16, 47, 54, 0.24);
    grid-template-columns: repeat(2, 1fr);
}

.success-panel__details div + div {
    border-left: 1px solid rgba(16, 47, 54, 0.24);
}

.success-panel__details dt {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.success-panel__details dd {
    margin: 5px 0 0;
    font-family: var(--font-display);
    font-weight: 850;
}

.success-panel__details small {
    display: block;
    margin-top: 4px;
    color: var(--ink-soft);
    font-size: .76rem;
}

.success-panel__note {
    max-width: 620px;
    margin: 0 auto 30px;
}

.notice {
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.notice h3 {
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.notice p {
    margin-bottom: 0;
}

/* FAQ */

.faq {
    background: var(--white);
}

.faq__grid {
    display: grid;
    gap: clamp(48px, 9vw, 130px);
    grid-template-columns: 0.72fr 1.28fr;
}

.faq-list {
    border-top: 1px solid var(--line);
}

.faq-list details {
    border-bottom: 1px solid var(--line);
}

.faq-list summary {
    display: flex;
    min-height: 86px;
    padding: 22px 0;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-display);
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 750;
    letter-spacing: -0.02em;
    cursor: pointer;
    list-style: none;
}

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

.faq-list summary span {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    color: var(--ink);
    background: var(--yellow);
    border-radius: 50%;
    font-size: 1.45rem;
    transition: transform 180ms ease;
}

.faq-list details[open] summary span {
    transform: rotate(45deg);
}

.faq-list details p {
    max-width: 700px;
    padding: 0 54px 26px 0;
    color: var(--ink-soft);
}

/* Contact */

.contact {
    position: relative;
    overflow: hidden;
    padding: clamp(100px, 12vw, 180px) 0;
    background: #e6e9e8;
}

.contact__paint {
    position: absolute;
    inset: 0;
    background: url("../img/paint/paint-contact-1366.webp") center / cover no-repeat;
    opacity: 0.76;
}

.contact::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(238, 241, 240, 0.92), rgba(238, 241, 240, 0.58));
    content: "";
}

.contact__inner {
    position: relative;
    z-index: 2;
    display: grid;
    gap: clamp(48px, 9vw, 140px);
    grid-template-columns: 0.9fr 1.1fr;
}

.contact__details {
    display: grid;
    gap: 0;
    align-content: center;
}

.contact__details > a,
.contact__details > div {
    display: block;
    padding: 22px 0;
    border-bottom: 1px solid rgba(16, 47, 54, 0.22);
    text-decoration: none;
}

.contact__details > :first-child {
    border-top: 1px solid rgba(16, 47, 54, 0.22);
}

.contact__details span,
.contact__details strong {
    display: block;
}

.contact__details span {
    margin-bottom: 4px;
    color: var(--ink-soft);
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact__details strong {
    font-family: var(--font-display);
    font-size: clamp(1rem, 2vw, 1.45rem);
    letter-spacing: -0.025em;
    overflow-wrap: anywhere;
}

.contact__details a:hover strong {
    color: var(--turquoise-dark);
}

/* Footer */

.site-footer {
    position: relative;
    z-index: 2;
    padding: 72px 0 30px;
    color: var(--white);
    background: var(--ink-deep);
    isolation: isolate;
}

.site-footer__top {
    display: grid;
    padding-bottom: 54px;
    gap: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    grid-template-columns: 1fr 1fr 1fr;
    align-items: end;
}

.brand--footer {
    font-size: 1.4rem;
}

.site-footer__top > p {
    margin: 0;
    color: rgba(255, 255, 255, 0.65);
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.25;
}

.site-footer__bottom a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
}

.site-footer__bottom a:hover {
    color: var(--yellow);
}

.site-footer__contact {
    text-align: right;
    overflow-wrap: anywhere;
}

.site-footer__contact strong {
    color: var(--white);
}

.site-footer__bottom {
    display: flex;
    padding-top: 26px;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
}

.site-footer__bottom small {
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.72rem;
}

.site-footer__legal {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: center;
}

.mobile-cta {
    display: none;
}

/* Progressive reveal */

.js [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
}

.js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
    transition: opacity 520ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Keep the first painted frame consistent with the GSAP hero intro. */
.js [data-hero-item] {
    opacity: 0;
    transform: translateY(32px);
}

.js [data-hero-item].is-visible {
    opacity: 1;
    transform: none;
}

/* Documents */

.document-page {
    min-height: 100vh;
    padding: 120px 0 80px;
    background: var(--paper);
}

.document {
    max-width: 850px;
    margin-inline: auto;
    padding: clamp(28px, 6vw, 68px);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.document h1 {
    margin-bottom: 22px;
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    font-weight: 850;
}

.document h2 {
    margin: 48px 0 16px;
    font-size: 1.6rem;
}

.document ul {
    padding-left: 22px;
}

.document-notice {
    margin-bottom: 34px;
    padding: 18px;
    color: #653f00;
    background: #fff6d9;
    border: 1px solid #e6c75e;
    border-radius: var(--radius-sm);
}

/* Tablet */

@media (max-width: 1024px) {
    :root {
        --header-height: 74px;
    }

    .container {
        width: min(calc(100% - 36px), var(--container));
    }

    .hero__content {
        width: 68%;
    }

    .hero__veil {
        background:
            linear-gradient(90deg, rgba(4, 24, 30, 0.93) 0%, rgba(7, 31, 37, 0.72) 50%, rgba(9, 41, 48, 0.16) 88%),
            linear-gradient(0deg, rgba(4, 24, 30, 0.58), transparent 46%);
    }

    .fact {
        padding-inline: 20px;
    }

    .intro__grid,
    .registration-intro,
    .contact__inner {
        gap: 55px;
    }

    .venue__grid {
        gap: 55px;
        grid-template-columns: 1.08fr 0.92fr;
    }
}

@media (max-width: 880px) {
    .button--header {
        margin-left: auto;
    }

    .main-nav {
        order: 3;
        margin-left: 0;
    }

    .main-nav__toggle {
        display: grid;
        width: 46px;
        height: 46px;
        padding: 12px;
        gap: 5px;
        place-content: center;
        color: inherit;
        background: transparent;
        border: 1px solid currentColor;
        border-radius: 50%;
        cursor: pointer;
    }

    .main-nav__toggle span:not(.sr-only) {
        display: block;
        width: 20px;
        height: 2px;
        background: currentColor;
        border-radius: 999px;
        transition: transform 180ms ease, opacity 180ms ease;
    }

    .main-nav__toggle[aria-expanded="true"] span:nth-child(2) {
        transform: translateY(7px) rotate(45deg);
    }

    .main-nav__toggle[aria-expanded="true"] span:nth-child(3) {
        opacity: 0;
    }

    .main-nav__toggle[aria-expanded="true"] span:nth-child(4) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .main-nav__list {
        position: fixed;
        z-index: -1;
        inset: 0;
        display: flex;
        padding: 118px 28px 44px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        color: var(--white);
        background: var(--ink-deep);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-15px);
        transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
    }

    .main-nav__list.is-open {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .main-nav__list a {
        font-size: clamp(2rem, 8vw, 4rem);
        letter-spacing: -0.04em;
    }

    .site-header.is-scrolled .main-nav__list {
        color: var(--white);
    }

    .fact-strip__grid {
        grid-template-columns: 1fr 1fr;
    }

    .fact:nth-child(2) {
        border-right: 1px solid var(--line);
    }

    .fact:nth-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }

    .intro__grid,
    .registration-intro,
    .faq__grid,
    .contact__inner {
        grid-template-columns: 1fr;
    }

    .intro__copy {
        padding-top: 0;
    }

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

    .benefit-card:last-child {
        grid-column: 1 / -1;
    }

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

    .venue__content {
        max-width: 650px;
    }

    .venue__badge {
        right: 12px;
    }

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

    .partner + .partner {
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .contact__details {
        max-width: 720px;
    }
}

/* Mobile */

@media (max-width: 640px) {
    :root {
        --header-height: 68px;
        --radius: 18px;
        --radius-lg: 24px;
    }

    html {
        scroll-padding-top: 82px;
    }

    body {
        padding-bottom: 72px;
        font-size: 15px;
    }

    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .section {
        padding: 82px 0;
    }

    h2 {
        font-size: clamp(2.55rem, 13vw, 4rem);
    }

    .site-header__inner {
        gap: 10px;
    }

    .brand {
        min-width: 102px;
    }

    .brand__zet {
        font-size: 1.9rem;
    }

    .button--header {
        display: none;
    }

    .main-nav {
        margin-left: auto;
    }

    .hero,
    .hero__inner {
        min-height: 720px;
        min-height: 100svh;
    }

    .hero__inner {
        align-items: flex-end;
        padding-top: 100px;
        padding-bottom: 92px;
    }

    .hero__media img {
        object-position: 64% center;
    }

    .hero__veil {
        background:
            linear-gradient(0deg, rgba(4, 24, 30, 0.97) 0%, rgba(5, 26, 32, 0.84) 45%, rgba(8, 39, 45, 0.23) 82%),
            linear-gradient(90deg, rgba(5, 25, 31, 0.72), transparent);
    }

    .hero__content {
        width: 100%;
    }

    .hero__eyebrow {
        margin-bottom: 12px;
        font-size: 0.64rem;
    }

    .hero-logo {
        height: 105px;
    }

    .hero-logo__te {
        font-size: 2.35rem;
    }

    .hero-logo__z {
        font-size: 8.2rem;
    }

    .hero-logo__etka {
        margin-bottom: 10px;
        font-size: 4rem;
    }

    .hero__tagline {
        margin-top: 18px;
        font-size: clamp(1.7rem, 8.7vw, 2.55rem);
    }

    .hero__facts {
        margin-bottom: 24px;
        gap: 8px 16px;
    }

    .hero__facts span {
        font-size: 0.78rem;
    }

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

    .hero__actions .button {
        width: 100%;
    }

    .hero__scroll {
        display: none;
    }

    .fact-strip__grid {
        width: 100%;
    }

    .fact {
        min-height: 106px;
        padding: 22px 16px;
    }

    .fact strong {
        font-size: 1.12rem;
    }

    .fact span {
        font-size: 0.74rem;
    }

    .intro__grid {
        margin-bottom: 48px;
        gap: 28px;
    }

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

    .benefit-card,
    .benefit-card:last-child {
        min-height: 250px;
        grid-column: auto;
    }

    .benefit-card__number {
        margin-bottom: 46px;
    }

    .section-heading--center {
        margin-bottom: 56px;
    }

    .program-section__paint {
        height: 720px;
        opacity: 0.58;
    }

    .timeline::before {
        left: 12px;
    }

    .timeline__item {
        min-height: 0;
        padding-bottom: 20px;
        grid-template-columns: 26px 1fr;
    }

    .timeline__time {
        grid-column: 2;
        grid-row: 1;
        padding: 0 0 7px;
        text-align: left;
    }

    .timeline__dot {
        width: 14px;
        height: 14px;
        margin: 5px auto 0;
        grid-column: 1;
        grid-row: 1 / span 2;
    }

    .program-card {
        padding: 24px 22px 22px;
        grid-column: 2;
        grid-row: 2;
    }

    .program-card h3 {
        font-size: 1.45rem;
    }

    .program-card__people {
        font-size: 0.86rem;
    }

    .venue__grid {
        gap: 54px;
    }

    .venue__media img {
        aspect-ratio: 1;
    }

    .venue__badge {
        right: 12px;
        bottom: -38px;
        width: 92px;
        height: 92px;
        border-width: 6px;
        font-size: 0.75rem;
    }

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

    .partner {
        min-height: 250px;
        padding: 38px 24px;
    }

    .registration-intro {
        margin-bottom: 48px;
        gap: 26px;
    }

    .price-cards {
        grid-template-columns: 1fr;
    }

    .price-cards > p {
        grid-column: auto;
    }

    .form-progress {
        margin-bottom: 18px;
    }

    .form-progress li {
        justify-content: center;
    }

    .form-progress li b {
        display: none;
    }

    .form-progress li span {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    #registration-form {
        padding: 26px 18px;
    }

    .form-step legend {
        font-size: 1.8rem;
    }

    .field-grid--2,
    .field-grid--2-1,
    .field-grid--1-2,
    .participant-grid,
    .choice-grid {
        grid-template-columns: 1fr;
    }

    .choice-card {
        min-height: 92px;
    }

    .conditional-panel {
        padding: 14px;
    }

    .invoice-document-instructions {
        grid-template-columns: 36px minmax(0, 1fr);
    }

    .invoice-document-instructions__number {
        width: 36px;
        height: 36px;
    }

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

    .upload-dropzone {
        min-height: 190px;
        padding: 24px 16px;
    }

    .upload-file {
        padding: 15px;
        grid-template-columns: 36px minmax(0, 1fr);
    }

    .upload-file__mark {
        width: 36px;
        height: 36px;
    }

    .upload-file button {
        grid-column: 2;
        justify-self: start;
    }

    .form-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .form-actions .button {
        width: 100%;
    }

    .review dl {
        grid-template-columns: 1fr;
    }

    .success-panel__details {
        grid-template-columns: 1fr;
    }

    .success-panel__details div {
        padding: 12px 0;
    }

    .success-panel__details div + div {
        border-top: 1px solid rgba(16, 47, 54, 0.24);
        border-left: 0;
    }

    .faq__grid {
        gap: 32px;
    }

    .faq-list summary {
        min-height: 76px;
    }

    .faq-list details p {
        padding-right: 0;
    }

    .contact {
        padding: 82px 0;
    }

    .contact__details strong {
        font-size: 0.95rem;
    }

    .site-footer {
        padding-top: 58px;
    }

    .site-footer__top {
        grid-template-columns: 1fr;
    }

    .site-footer__contact {
        text-align: left;
    }

    .site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .mobile-cta {
        position: fixed;
        z-index: 900;
        right: 8px;
        bottom: 8px;
        left: 8px;
        display: flex;
        min-height: 62px;
        padding: 8px 9px 8px 16px;
        align-items: center;
        justify-content: space-between;
        color: var(--white);
        background: rgba(8, 34, 41, 0.96);
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 999px;
        box-shadow: 0 12px 32px rgba(8, 34, 41, 0.28);
        backdrop-filter: blur(14px);
        transform: translateY(140%);
        transition: transform 220ms ease;
    }

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

    .mobile-cta > span {
        display: flex;
        flex-direction: column;
    }

    .mobile-cta strong {
        font-family: var(--font-display);
        line-height: 1.1;
    }

    .mobile-cta small {
        color: rgba(255, 255, 255, 0.62);
        font-size: 0.65rem;
    }
}

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

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

    .js [data-reveal],
    .js [data-hero-item] {
        opacity: 1;
        transform: none;
    }

    .js .venue__media {
        clip-path: none;
    }

    .js .timeline::before {
        transform: none;
    }
}

@media print {
    .site-header,
    .hero__scroll,
    .mobile-cta,
    .button,
    .main-nav {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }

    .hero {
        min-height: auto;
        padding: 60px 0;
        color: #000;
        background: #fff;
    }

    .hero__media,
    .hero__veil,
    .program-section__paint,
    .contact__paint {
        display: none;
    }

    .program-section,
    .site-footer {
        color: #000;
        background: #fff;
    }

    .program-card {
        box-shadow: none;
        border: 1px solid #bbb;
    }
}

/* --------------------------------------------------------------------------
   Układ zwarty - odwzorowanie dostarczonej wizualizacji
   -------------------------------------------------------------------------- */

.hero,
.hero__inner {
    min-height: clamp(680px, 56vw, 780px);
}

.hero__inner {
    padding-top: calc(var(--header-height) + 28px);
    padding-bottom: 54px;
}

.hero__content {
    width: min(610px, 52%);
}

.hero__title {
    margin: 0;
}

.hero-logo {
    height: clamp(180px, 21vw, 290px);
}

.hero-logo__te {
    margin-top: 8px;
    font-size: clamp(4rem, 7vw, 7.4rem);
}

.hero-logo__z {
    font-size: clamp(12rem, 21vw, 21rem);
}

.hero-logo__etka {
    margin-bottom: 22px;
    font-size: clamp(5.2rem, 10vw, 10rem);
}

.hero__tagline {
    margin-top: 38px;
    font-size: clamp(2rem, 3.5vw, 3.45rem);
}

.about-mosaic {
    padding: 0;
    background: var(--white);
}

.about-mosaic .container {
    width: min(calc(100% - 48px), var(--container));
}

.about-mosaic__grid {
    display: grid;
    min-height: 690px;
    grid-template-columns: 46% 29% 25%;
    grid-template-rows: 310px 380px;
}

.about-mosaic__copy {
    display: flex;
    min-width: 0;
    padding: 46px 54px 38px 0;
    flex-direction: column;
    grid-row: 1 / 3;
}

.about-mosaic__copy .eyebrow {
    margin-bottom: 12px;
}

.about-mosaic__copy h2 {
    margin-bottom: 24px;
    color: var(--turquoise);
    font-size: clamp(2rem, 3.25vw, 3.35rem);
    line-height: 1.02;
}

.about-mosaic__copy > p:not(.eyebrow) {
    max-width: 560px;
    margin-bottom: 14px;
    color: #6d6565;
    font-size: clamp(0.96rem, 1.35vw, 1.18rem);
    line-height: 1.52;
}

.about-mosaic__organizer {
    display: flex;
    margin-top: auto;
    gap: 14px;
    align-items: center;
}

.about-mosaic__organizer .hospital-mark {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
}

.about-mosaic__organizer p {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 0.78rem;
    line-height: 1.25;
}

.about-mosaic__label {
    display: flex;
    padding: 44px 40px;
    align-items: flex-start;
    color: var(--white);
    background: var(--turquoise);
}

.about-mosaic__label strong {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.2vw, 3rem);
    letter-spacing: -0.05em;
    line-height: 0.95;
}

.about-mosaic__details {
    padding: 38px 34px;
    color: #716969;
    background: #f0eeee;
}

.about-mosaic__details p {
    margin-bottom: 22px;
    font-family: var(--font-display);
    font-size: 1.06rem;
    line-height: 1.22;
}

.about-mosaic__details address {
    margin-bottom: 20px;
    font-size: 0.98rem;
    line-height: 1.35;
}

.about-mosaic__details a {
    color: var(--turquoise-dark);
    font-size: 0.78rem;
    font-weight: 800;
}

.about-mosaic__photo {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    background: var(--mist);
}

.about-mosaic__photo picture,
.about-mosaic__photo img {
    display: block;
    width: 100%;
    height: 100%;
}

.about-mosaic__photo img {
    object-fit: cover;
}

.js .about-mosaic__photo {
    clip-path: inset(0 100% 0 0);
}

.about-mosaic__patron {
    display: flex;
    padding: 36px 34px 26px;
    flex-direction: column;
    color: #655e5e;
    background: var(--yellow);
}

.about-mosaic__patron > span:first-child {
    margin-bottom: 6px;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.about-mosaic__patron > strong {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 1.9vw, 1.65rem);
    line-height: 1.12;
}

.about-mosaic__hands {
    display: grid;
    width: 104px;
    height: 104px;
    margin: auto auto 0;
    place-items: center;
    color: #3156aa;
    border: 3px solid currentColor;
    border-radius: 48% 52% 42% 58%;
    font-size: 3.6rem;
    transform: rotate(-9deg);
}

.program-section {
    padding: 78px 0 88px;
}

.program-section .container {
    position: relative;
}

.program-section__heading {
    max-width: 760px;
    margin: 0 auto 38px;
    color: var(--white);
    text-align: center;
}

.program-section__heading .eyebrow {
    justify-content: center;
    margin-bottom: 10px;
    color: var(--yellow);
}

.program-section__heading h2 {
    margin-bottom: 10px;
    font-size: clamp(2.8rem, 5vw, 4.8rem);
}

.program-section__heading > p:last-child {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.9rem;
}

.timeline {
    display: grid;
    max-width: none;
    gap: 22px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline::before {
    display: none;
}

.timeline__item {
    display: block;
    min-height: 0;
    padding: 0;
}

.timeline__time,
.timeline__dot {
    display: none;
}

.program-card {
    display: flex;
    min-height: 210px;
    height: 100%;
    padding: 18px 30px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 12px;
    box-shadow: 0 16px 36px rgba(8, 34, 41, 0.16);
    text-align: center;
    transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

button.program-card:hover {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 22px 44px rgba(8, 34, 41, 0.2);
    transform: translateY(-3px);
}

.program-card::before {
    top: auto;
    right: 28%;
    bottom: 0;
    left: 28%;
    width: auto;
    height: 4px;
}

.program-card__type {
    margin-bottom: 8px;
    font-size: 0.6rem;
}

.program-card h3 {
    max-width: 100%;
    margin: 0;
    font-size: clamp(1rem, 1.2vw, 1.22rem);
    line-height: 1.12;
    overflow-wrap: anywhere;
}

.program-card time {
    margin-bottom: 9px;
    color: var(--turquoise-dark);
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 850;
    line-height: 1;
}

.program-card__people {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.3;
}

.program-card__meta {
    display: block;
    margin: 5px 0 0;
    overflow: visible;
    font-size: 0.7rem;
    line-height: 1.3;
}

.registration-section {
    padding: 84px 0 92px;
}

.registration-intro {
    display: block;
    max-width: 940px;
    margin: 0 auto 38px;
    text-align: center;
}

.registration-intro .eyebrow {
    justify-content: center;
    margin-bottom: 8px;
}

.registration-intro h2 {
    margin-bottom: 18px;
    color: var(--turquoise);
    font-size: clamp(2.8rem, 5.8vw, 5.4rem);
}

.registration-intro > p:last-child {
    max-width: 820px;
    margin: 0 auto;
    color: var(--ink-soft);
    font-size: 1.05rem;
}

.registration {
    max-width: 980px;
}

.js .registration [hidden] {
    display: none !important;
}

.registration-section--complete .registration-intro,
.registration--complete .form-progress,
.registration--complete .form-message {
    display: none !important;
}

.registration--complete .success-panel {
    width: 100%;
}

#registration-form {
    padding: clamp(28px, 4vw, 44px);
}

.form-step legend {
    font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.form-step__lead {
    margin-bottom: 24px;
}

.field {
    margin-bottom: 14px;
}

.field input,
.field select,
.field textarea {
    min-height: 48px;
    padding: 11px 14px;
}

.field textarea {
    min-height: 100px;
}

.check-card {
    min-height: 74px;
    margin-bottom: 12px;
    padding: 14px 17px;
}

.choice-card {
    min-height: 104px;
    padding: 18px;
}

.form-actions {
    margin-top: 24px;
}

.contact {
    min-height: 500px;
    padding: 92px 0;
}

.contact__inner {
    gap: clamp(48px, 8vw, 110px);
    grid-template-columns: 0.85fr 1.15fr;
}

.contact .section-heading h2 {
    margin-bottom: 24px;
    color: var(--turquoise);
    font-size: clamp(3.4rem, 6vw, 6rem);
}

.contact .section-heading address {
    color: var(--ink-soft);
    font-size: 0.96rem;
    line-height: 1.5;
}

.contact__details > a,
.contact__details > div {
    padding: 15px 0;
}

.contact__details strong {
    font-size: clamp(0.94rem, 1.55vw, 1.2rem);
}

.site-footer {
    padding: 36px 0 22px;
}

.site-footer__top {
    padding-bottom: 26px;
    align-items: center;
}

.site-footer__bottom {
    padding-top: 18px;
}

@media (max-width: 1024px) {
    .about-mosaic__grid {
        min-height: 620px;
        grid-template-columns: 44% 31% 25%;
        grid-template-rows: 290px 330px;
    }

    .about-mosaic__copy {
        padding: 34px 34px 30px 0;
    }

    .about-mosaic__copy > p:not(.eyebrow) {
        font-size: 0.9rem;
    }

    .about-mosaic__label,
    .about-mosaic__details,
    .about-mosaic__patron {
        padding: 30px 24px;
    }

    .timeline {
        gap: 16px;
    }

    .program-card {
        min-height: 190px;
        padding: 20px 16px;
    }
}

@media (max-width: 880px) {
    .hero,
    .hero__inner {
        min-height: 680px;
    }

    .hero__content {
        width: 68%;
    }

    .about-mosaic .container {
        width: min(calc(100% - 36px), var(--container));
    }

    .about-mosaic__grid {
        min-height: 0;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto 260px 300px;
    }

    .about-mosaic__copy {
        min-height: 520px;
        padding: 48px 24px;
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .about-mosaic__copy > p:not(.eyebrow) {
        max-width: 690px;
        font-size: 1rem;
    }

    .about-mosaic__label,
    .about-mosaic__details,
    .about-mosaic__photo,
    .about-mosaic__patron {
        grid-column: auto;
        grid-row: auto;
    }

    .timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .program-card {
        min-height: 180px;
    }

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

@media (max-width: 640px) {
    .hero,
    .hero__inner {
        min-height: 650px;
    }

    .hero__inner {
        padding-bottom: 62px;
    }

    .hero__content {
        width: 100%;
    }

    .hero-logo {
        height: 118px;
    }

    .hero-logo__te {
        margin-top: 8px;
        font-size: 2.75rem;
    }

    .hero-logo__z {
        font-size: 9.2rem;
    }

    .hero-logo__etka {
        margin-bottom: 10px;
        font-size: 4.4rem;
    }

    .hero__tagline {
        margin-top: 22px;
        font-size: clamp(1.75rem, 9vw, 2.3rem);
    }

    .about-mosaic .container {
        width: 100%;
    }

    .about-mosaic__grid {
        display: grid;
        grid-template-columns: 36% 64%;
        grid-template-rows: auto 330px 280px;
    }

    .about-mosaic__copy {
        min-height: 0;
        padding: 58px 28px 46px;
        grid-column: 1 / -1;
    }

    .about-mosaic__copy h2 {
        font-size: 2.25rem;
    }

    .about-mosaic__organizer {
        margin-top: 26px;
    }

    .about-mosaic__label {
        min-height: 0;
        padding: 32px 20px;
    }

    .about-mosaic__details {
        padding: 30px 22px;
    }

    .about-mosaic__details p {
        margin-bottom: 16px;
        font-size: 0.92rem;
    }

    .about-mosaic__details address {
        font-size: 0.82rem;
    }

    .about-mosaic__photo {
        height: auto;
    }

    .about-mosaic__patron {
        min-height: 0;
        padding: 26px 18px 18px;
    }

    .about-mosaic__patron > strong {
        font-size: 1rem;
    }

    .about-mosaic__hands {
        width: 72px;
        height: 72px;
        font-size: 2.4rem;
    }

    .program-section {
        padding: 62px 0 68px;
    }

    .program-section__heading {
        margin-bottom: 26px;
    }

    .program-section__heading h2 {
        font-size: 2.8rem;
    }

    .program-section__heading > p:last-child {
        font-size: 0.78rem;
    }

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

    .program-card {
        min-height: 160px;
        padding: 16px 10px;
    }

    .program-card h3 {
        font-size: 1rem;
    }

    .program-card__type {
        font-size: 0.5rem;
    }

    .program-card__people {
        display: block;
        overflow: visible;
        font-size: 0.66rem;
    }

    .program-card__meta {
        font-size: 0.6rem;
    }

    .registration-section {
        padding: 66px 0 76px;
    }

    .registration-intro {
        margin-bottom: 30px;
    }

    .registration-intro h2 {
        font-size: 2.8rem;
    }

    .registration-intro > p:last-child {
        font-size: 0.92rem;
    }

    #registration-form {
        padding: 24px 18px;
    }

    .contact {
        min-height: 0;
        padding: 72px 0;
    }

    .site-footer__top {
        padding-bottom: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .js .about-mosaic__photo {
        clip-path: none;
    }
}

/* --------------------------------------------------------------------------
   Pełnoekranowe slajdy - desktop
   -------------------------------------------------------------------------- */

@media (min-width: 901px) {
    html.fullpage-mode {
        scroll-snap-type: y mandatory;
        overscroll-behavior-y: none;
        scroll-padding-top: 0;
    }

    .fullpage-mode main > section {
        width: 100%;
        height: 100vh;
        height: 100svh;
        min-height: 100vh;
        min-height: 100svh;
        overflow: hidden;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .fullpage-mode .hero {
        height: 100vh;
        height: 100svh;
        min-height: 100vh;
        min-height: 100svh;
    }

    .fullpage-mode .hero__inner {
        height: 100%;
        min-height: 100%;
    }

    .hero__inner {
        padding-top: calc(var(--header-height) + clamp(16px, 3vh, 30px));
        padding-bottom: clamp(30px, 6vh, 58px);
    }

    .about-mosaic {
        padding-top: var(--header-height);
    }

    .about-mosaic .container,
    .about-mosaic__grid {
        height: 100%;
        min-height: 0;
    }

    .about-mosaic__grid {
        grid-template-rows: 44% 56%;
    }

    .about-mosaic__copy {
        padding-top: clamp(24px, 5vh, 48px);
        padding-bottom: clamp(22px, 4vh, 38px);
    }

    .program-section {
        padding: calc(var(--header-height) + clamp(10px, 2vh, 20px)) 0 clamp(20px, 4vh, 38px);
    }

    .program-section .container {
        display: flex;
        height: 100%;
        min-height: 0;
        flex-direction: column;
    }

    .program-section__heading {
        margin-bottom: clamp(14px, 2.5vh, 28px);
        flex: 0 0 auto;
    }

    .program-section__heading h2 {
        font-size: clamp(2.5rem, min(5vw, 7vh), 4.6rem);
    }

    .timeline {
        min-height: 0;
        flex: 1 1 auto;
        gap: clamp(10px, 1.8vh, 20px);
        grid-template-columns: repeat(8, minmax(0, 1fr));
        grid-template-rows: repeat(4, minmax(0, 1fr));
    }

    .timeline__item {
        grid-column: span 2;
    }

    .timeline__item:nth-last-child(3) {
        grid-column: 2 / span 2;
    }

    .timeline__item,
    .program-card {
        min-height: 0;
    }

    .program-card {
        padding: clamp(9px, 1.2vh, 14px) clamp(24px, 2vw, 30px);
    }

    .registration-section {
        padding: calc(var(--header-height) + clamp(8px, 1.6vh, 16px)) 0 clamp(18px, 3vh, 30px);
    }

    .registration-section > .container {
        display: flex;
        width: min(calc(100% - 64px), 1480px);
        height: 100%;
        min-height: 0;
        flex-direction: column;
    }

    .registration-intro {
        display: grid;
        width: 100%;
        max-width: none;
        margin-bottom: clamp(12px, 2vh, 22px);
        gap: 4px clamp(28px, 4vw, 64px);
        flex: 0 0 auto;
        grid-template-areas:
            "eyebrow summary"
            "title price";
        grid-template-columns: minmax(420px, 0.85fr) minmax(0, 1.15fr);
        align-items: center;
        text-align: left;
    }

    .registration-intro .eyebrow {
        grid-area: eyebrow;
        justify-content: flex-start;
    }

    .registration-intro h2 {
        margin: 0;
        grid-area: title;
        font-size: clamp(2.35rem, min(4.3vw, 6.2vh), 4.4rem);
    }

    .registration-intro > p:nth-of-type(2) {
        margin: 0;
        grid-area: summary;
    }

    .registration-intro > p:nth-of-type(3) {
        max-width: none;
        margin: 0;
        grid-area: price;
    }

    .registration-intro > p:last-child {
        font-size: clamp(0.82rem, 1.5vh, 1rem);
    }

    .registration {
        display: flex;
        width: 100%;
        max-width: none;
        min-height: 0;
        flex: 1 1 auto;
        flex-direction: column;
    }

    .form-progress,
    .form-message {
        flex: 0 0 auto;
    }

    .form-progress {
        width: min(100%, 1120px);
        margin-bottom: clamp(30px, 4vh, 36px);
        margin-inline: auto;
    }

    #registration-form,
    .success-panel {
        min-height: 0;
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-gutter: stable;
    }

    #registration-form {
        flex: 1 1 auto;
        padding: clamp(10px, 1.5vh, 18px) clamp(24px, 3vw, 42px);
    }

    .form-step legend {
        margin-bottom: 6px;
        font-size: clamp(1.65rem, min(2.5vw, 4.6vh), 2.35rem);
    }

    .form-step legend span {
        margin-bottom: 5px;
    }

    .form-step__lead {
        margin-bottom: clamp(12px, 2vh, 18px);
    }

    .participant-grid {
        gap: clamp(10px, 1.6vh, 16px) 18px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .participant-grid .field {
        margin-bottom: 0;
    }

    .participant-grid__workplace {
        grid-column: 1 / -1;
    }

    .field input,
    .field select {
        min-height: 46px;
        padding-block: 10px;
    }

    .form-actions {
        margin-top: clamp(12px, 2vh, 20px);
    }

    .choice-grid {
        margin-bottom: clamp(12px, 2vh, 20px);
    }

    .choice-card {
        min-height: 88px;
        padding: 14px 18px;
    }

    .choice-grid--compact .choice-card {
        min-height: 68px;
    }

    .divider {
        margin: clamp(14px, 2.4vh, 24px) 0;
    }

    .form-subtitle {
        margin-bottom: 12px;
    }

    .review {
        grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    }

    .review__section {
        padding: 18px 20px;
    }

    .success-panel {
        flex: 1 1 auto;
    }

    .registration--complete .success-panel {
        display: flex;
        height: 100%;
        padding: clamp(20px, 3vh, 30px);
        overflow: hidden;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .registration--complete .success-panel__mark {
        width: clamp(54px, 7vh, 66px);
        height: clamp(54px, 7vh, 66px);
        margin-bottom: clamp(10px, 1.8vh, 16px);
        font-size: 1.7rem;
    }

    .registration--complete .success-panel .eyebrow {
        margin-bottom: clamp(5px, 1vh, 9px);
    }

    .registration--complete .success-panel h3 {
        margin-bottom: clamp(8px, 1.4vh, 14px);
        font-size: clamp(2.7rem, min(5vw, 7vh), 4.5rem);
        line-height: 0.98;
    }

    .registration--complete .success-panel > p:not(.eyebrow):not(.success-panel__note) {
        margin-bottom: 0;
    }

    .registration--complete .success-panel__details {
        width: min(100%, 720px);
        margin: clamp(12px, 2vh, 20px) auto;
        padding: clamp(10px, 1.5vh, 14px) 0;
    }

    .registration--complete .success-panel__note {
        margin-bottom: clamp(10px, 1.7vh, 18px);
    }

    .contact {
        display: flex;
        padding: var(--header-height) 0 0;
        flex-direction: column;
    }

    .contact__inner {
        min-height: 0;
        padding-top: clamp(18px, 4vh, 44px);
        padding-bottom: clamp(18px, 4vh, 44px);
        flex: 1 1 auto;
        align-items: center;
    }

    .site-footer {
        position: relative;
        z-index: 2;
        padding: clamp(16px, 2.5vh, 28px) 0 clamp(10px, 1.8vh, 18px);
        flex: 0 0 auto;
    }

    .site-footer__top {
        padding-bottom: clamp(10px, 1.8vh, 18px);
    }

    .site-footer__bottom {
        padding-top: clamp(8px, 1.5vh, 14px);
    }
}

@media (min-width: 1200px) {
    .fullpage-mode .participant-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .fullpage-mode .participant-grid__registry {
        grid-column: span 2;
    }

    .fullpage-mode .participant-grid__workplace {
        grid-column: auto;
    }
}

@media (min-width: 901px) and (max-height: 780px) {
    .about-mosaic__copy h2 {
        margin-bottom: 15px;
        font-size: clamp(1.85rem, 4.8vh, 2.75rem);
    }

    .about-mosaic__copy > p:not(.eyebrow) {
        margin-bottom: 9px;
        font-size: clamp(0.78rem, 1.75vh, 0.94rem);
        line-height: 1.4;
    }

    .about-mosaic__organizer .hospital-mark {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .about-mosaic__label,
    .about-mosaic__details,
    .about-mosaic__patron {
        padding: 22px;
    }

    .about-mosaic__details p {
        margin-bottom: 12px;
        font-size: 0.9rem;
    }

    .about-mosaic__details address {
        margin-bottom: 12px;
        font-size: 0.82rem;
    }

    .about-mosaic__hands {
        width: 72px;
        height: 72px;
        font-size: 2.5rem;
    }

    .program-section__heading .eyebrow {
        margin-bottom: 3px;
    }

    .program-section__heading h2 {
        margin-bottom: 3px;
    }

    .program-section__heading > p:last-child {
        font-size: 0.72rem;
    }

    .program-card__type {
        margin-bottom: 3px;
        font-size: 0.52rem;
    }

    .program-card h3 {
        margin-bottom: 4px;
        font-size: clamp(0.9rem, 2.05vh, 1.2rem);
    }

    .program-card time {
        margin-bottom: 3px;
        font-size: 0.76rem;
    }

    .program-card__people,
    .program-card__meta {
        font-size: 0.62rem;
        line-height: 1.2;
    }

    .program-card__meta {
        -webkit-line-clamp: 2;
    }

    .registration-intro .eyebrow {
        margin-bottom: 2px;
    }

    .registration-intro h2 {
        font-size: clamp(2.2rem, 6vh, 3.5rem);
    }

    .form-progress li span {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }

    .form-progress li::before {
        top: 15px;
    }

    .contact .section-heading h2 {
        margin-bottom: 12px;
        font-size: clamp(3rem, 8vh, 4.6rem);
    }

    .contact__details > a,
    .contact__details > div {
        padding: 10px 0;
    }
}

@media (max-width: 900px) {
    html.fullpage-mode {
        scroll-snap-type: none;
    }

    .fullpage-mode main > section {
        width: 100%;
        height: auto;
        overflow: visible;
        scroll-snap-align: none;
    }
}

/* --------------------------------------------------------------------------
   Znak TeZetka - układ zgodny z identyfikacją z wizualizacji
   -------------------------------------------------------------------------- */

.tezetka-logo {
    position: relative;
    display: inline-block;
    flex: 0 0 auto;
    line-height: 0;
}

.tezetka-logo img {
    display: block;
    width: 100%;
    height: auto;
}

.tezetka-logo--compact {
    width: 70px;
}

.tezetka-logo--hero {
    width: clamp(400px, 39.5vw, 540px);
}

.tezetka-logo__dark {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.tezetka-logo__light,
.tezetka-logo__dark {
    transition: opacity 180ms ease;
}

.site-header.is-scrolled .tezetka-logo__light {
    opacity: 0;
}

.site-header.is-scrolled .tezetka-logo__dark {
    opacity: 1;
}

.brand {
    align-items: center;
}

.brand--footer {
    align-self: center;
}

@media (max-width: 640px) {
    .tezetka-logo--compact {
        width: 62px;
    }

    .tezetka-logo--hero {
        width: min(100%, 340px);
    }
}

/* --------------------------------------------------------------------------
   Oryginalne znaki organizatora i patrona
   -------------------------------------------------------------------------- */

.hero__hospital-logo {
    position: absolute;
    z-index: 3;
    right: clamp(34px, 4vw, 62px);
    bottom: clamp(30px, 5vh, 46px);
    width: clamp(58px, 5.5vw, 78px);
    height: auto;
}

.about-mosaic__organizer {
    display: block;
}

.about-mosaic__organizer img {
    display: block;
    width: min(100%, 390px);
    height: auto;
}

.about-mosaic__patron-logo {
    display: block;
    width: 100%;
    max-height: calc(100% - 34px);
    margin: auto 0 0;
    object-fit: contain;
    object-position: center bottom;
}

@media (min-width: 901px) {
    .about-mosaic .container {
        width: calc(100% - max(24px, calc((100vw - var(--container)) / 2)));
        max-width: none;
        margin-right: 0;
        margin-left: max(24px, calc((100vw - var(--container)) / 2));
    }
}

@media (max-width: 640px) {
    .hero__hospital-logo {
        right: 20px;
        bottom: 22px;
        width: 48px;
    }

    .about-mosaic__organizer img {
        width: min(100%, 330px);
    }

.about-mosaic__patron-logo {
        max-height: calc(100% - 28px);
    }
}

/* --------------------------------------------------------------------------
   Mobilne menu oraz szczegóły programu
   -------------------------------------------------------------------------- */

.program-card {
    width: 100%;
    margin: 0;
    appearance: none;
    font: inherit;
    cursor: pointer;
}

.program-card:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 4px;
}

.program-card__hint {
    position: absolute;
    top: 14px;
    right: 14px;
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    color: var(--turquoise-dark);
    border: 1px solid rgba(18, 108, 115, 0.25);
    border-radius: 50%;
    font-size: 0.8rem;
    line-height: 1;
    transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.program-card:hover .program-card__hint,
.program-card:focus-visible .program-card__hint {
    color: var(--white);
    background: var(--turquoise-dark);
    transform: translate(2px, -2px);
}

.program-card.is-celebrating {
    animation: program-card-celebrate 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.program-emoji-burst {
    position: fixed;
    z-index: 3900;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

.program-emoji-burst__particle {
    position: absolute;
    top: 0;
    left: 0;
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    line-height: 1;
    opacity: 0;
    filter: drop-shadow(0 4px 5px rgba(8, 34, 41, 0.28));
    transform: translate(-50%, -50%) scale(0.25);
    animation: program-emoji-pop 950ms cubic-bezier(0.16, 0.75, 0.25, 1) var(--burst-delay) forwards;
    will-change: transform, opacity;
}

@keyframes program-card-celebrate {
    0%, 100% { transform: translateY(-3px) scale(1); }
    45% { transform: translateY(-3px) scale(1.035) rotate(-0.5deg); }
    70% { transform: translateY(-3px) scale(0.99) rotate(0.35deg); }
}

@keyframes program-emoji-pop {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(0deg) scale(0.25);
    }
    14% { opacity: 1; }
    72% { opacity: 1; }
    100% {
        opacity: 0;
        transform: translate(calc(-50% + var(--burst-x)), calc(-50% + var(--burst-y))) rotate(var(--burst-rotation)) scale(1.16);
    }
}

@keyframes program-emoji-fade {
    0%, 100% { opacity: 0; }
    24%, 70% { opacity: 1; }
}

.program-emoji-burst--reduced .program-emoji-burst__particle {
    transform: translate(calc(-50% + var(--burst-x)), calc(-50% + var(--burst-y)));
    animation-name: program-emoji-fade;
    animation-duration: 650ms;
}

/* Cookies and legal information */

.legal-acceptance {
    margin: 24px 0 8px;
}

.legal-acceptance .check-card {
    margin-bottom: 4px;
}

.legal-acceptance a {
    color: var(--turquoise-dark);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.cookie-notice {
    position: fixed;
    z-index: 3500;
    right: 24px;
    bottom: 24px;
    left: 24px;
    display: flex;
    width: min(860px, calc(100% - 48px));
    margin-inline: auto;
    padding: 20px 22px;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    color: var(--white);
    background: rgba(8, 34, 41, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(16px);
    transition: opacity 200ms ease, transform 200ms ease;
}

.cookie-notice[hidden] {
    display: none !important;
}

.cookie-notice.is-closing {
    opacity: 0;
    transform: translateY(18px);
}

.cookie-notice__content {
    display: flex;
    min-width: 0;
    gap: 14px;
    align-items: center;
}

.cookie-notice__icon {
    flex: 0 0 auto;
    font-size: 2rem;
}

.cookie-notice strong {
    display: block;
    margin-bottom: 3px;
    font-family: var(--font-display);
    font-size: 0.96rem;
}

.cookie-notice p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.8rem;
    line-height: 1.45;
}

.cookie-notice__actions {
    display: flex;
    flex: 0 0 auto;
    gap: 12px;
    align-items: center;
}

.cookie-notice__actions a {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.78rem;
    font-weight: 750;
    text-underline-offset: 3px;
}

.cookie-notice__actions button {
    min-height: 42px;
    padding: 10px 17px;
    color: var(--ink-deep);
    background: var(--yellow);
    border: 0;
    border-radius: 999px;
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 850;
    cursor: pointer;
}

.legal-header {
    position: relative;
    z-index: 2;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.legal-header__inner {
    display: flex;
    min-height: 88px;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
}

.legal-header__brand {
    display: block;
    width: 58px;
}

.legal-header__brand img {
    width: 100%;
    height: auto;
}

.legal-page.document-page {
    padding-top: 64px;
}

.legal-document {
    max-width: 980px;
}

.legal-document h1 {
    max-width: 760px;
}

.legal-document__updated {
    margin-bottom: 16px;
    color: var(--turquoise-dark);
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 800;
}

.legal-document__lead {
    max-width: 760px;
    color: var(--ink-soft);
    font-size: 1.08rem;
}

.legal-toc {
    display: grid;
    margin: 40px 0 64px;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.legal-toc a {
    display: flex;
    min-height: 86px;
    padding: 18px;
    gap: 12px;
    align-items: center;
    color: var(--ink);
    background: var(--mist);
    border-radius: 14px;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
}

.legal-toc span,
.legal-section__number {
    color: var(--turquoise-dark);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
}

.legal-section {
    padding-top: 38px;
    scroll-margin-top: 24px;
    border-top: 1px solid var(--line);
}

.legal-section + .legal-section {
    margin-top: 70px;
}

.legal-section__number {
    margin-bottom: 6px;
    font-family: var(--font-display);
    font-weight: 850;
}

.legal-document .legal-section h2 {
    margin: 0 0 30px;
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.legal-document h3 {
    margin: 30px 0 9px;
    font-family: var(--font-display);
    font-size: 1.08rem;
    line-height: 1.35;
    letter-spacing: -0.015em;
}

.legal-document p,
.legal-document li {
    color: var(--ink-soft);
}

.legal-document li + li {
    margin-top: 8px;
}

.legal-document a:not(.button):not(.legal-toc a) {
    color: var(--turquoise-dark);
    text-underline-offset: 3px;
}

.legal-document__footer {
    display: flex;
    margin-top: 64px;
    padding-top: 28px;
    gap: 22px;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--line);
}

@media (max-width: 720px) {
    .site-footer__legal {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .cookie-notice {
        right: 12px;
        bottom: 12px;
        left: 12px;
        width: calc(100% - 24px);
        padding: 17px;
        gap: 16px;
        align-items: stretch;
        flex-direction: column;
    }

    .cookie-notice__actions {
        justify-content: space-between;
    }

    .legal-header__inner {
        min-height: 72px;
    }

    .legal-page.document-page {
        padding: 30px 0 56px;
    }

    .legal-document {
        padding: 26px 20px;
        border-radius: 20px;
    }

    .legal-toc {
        margin: 30px 0 48px;
        grid-template-columns: 1fr;
    }

    .legal-toc a {
        min-height: 62px;
    }

    .legal-section + .legal-section {
        margin-top: 52px;
    }

    .legal-document__footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

.program-modal[hidden] {
    display: none !important;
}

.program-modal {
    position: fixed;
    z-index: 4000;
    inset: 0;
    display: grid;
    padding: max(18px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
    place-items: center;
    opacity: 0;
    transition: opacity 200ms ease;
}

.program-modal__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background: rgba(4, 24, 30, 0.82);
    border: 0;
    cursor: default;
}

.program-modal__dialog {
    --modal-accent: var(--turquoise);
    position: relative;
    display: flex;
    width: min(760px, 100%);
    max-height: min(780px, calc(100vh - 36px));
    max-height: min(780px, calc(100dvh - 36px));
    overflow: hidden;
    flex-direction: column;
    color: var(--ink);
    background: var(--paper);
    border-top: 6px solid var(--modal-accent);
    border-radius: 26px;
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.35);
    opacity: 0;
    transform: translateY(24px) scale(0.985);
    transition: opacity 200ms ease, transform 220ms ease;
}

.program-modal--yellow .program-modal__dialog { --modal-accent: var(--yellow); }
.program-modal--turquoise .program-modal__dialog { --modal-accent: var(--turquoise); }
.program-modal--orange .program-modal__dialog { --modal-accent: var(--orange); }
.program-modal--purple .program-modal__dialog { --modal-accent: var(--purple); }
.program-modal--red .program-modal__dialog { --modal-accent: var(--red); }

.program-modal.is-open,
.program-modal.is-open .program-modal__dialog {
    opacity: 1;
}

.program-modal.is-open .program-modal__dialog {
    transform: none;
}

.program-modal__header {
    display: flex;
    padding: clamp(26px, 5vw, 46px);
    gap: 28px;
    flex: 0 0 auto;
    align-items: flex-start;
    justify-content: space-between;
}

.program-modal__type {
    margin: 0 0 8px;
    color: var(--turquoise-dark);
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.program-modal__header h2 {
    max-width: 620px;
    margin: 0;
    font-size: clamp(1.75rem, 5vw, 3.2rem);
    line-height: 1.06;
}

.program-modal__header time {
    display: block;
    margin-top: 12px;
    color: var(--turquoise-dark);
    font-family: var(--font-display);
    font-weight: 850;
}

.program-modal__close {
    position: relative;
    width: 46px;
    height: 46px;
    padding: 0;
    flex: 0 0 46px;
    color: var(--ink);
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 50%;
    cursor: pointer;
    transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.program-modal__close:hover,
.program-modal__close:focus-visible {
    color: var(--white);
    background: var(--ink);
    outline: none;
    transform: rotate(6deg);
}

.program-modal__close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
}

.program-modal__close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.program-modal__close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.program-modal__body {
    min-height: 0;
    padding: 0 clamp(26px, 5vw, 46px) clamp(30px, 6vw, 52px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    -webkit-overflow-scrolling: touch;
}

.program-modal__people {
    margin: 0 0 5px;
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 2.3vw, 1.3rem);
    font-weight: 800;
    line-height: 1.4;
}

.program-modal__meta {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.program-modal__description {
    margin: 26px 0 0;
    padding-top: 24px;
    color: var(--ink);
    border-top: 1px solid var(--line);
    font-size: 1rem;
    line-height: 1.75;
}

@media (max-width: 880px) {
    .site-header.is-scrolled {
        backdrop-filter: none;
    }

    body.menu-open .site-header,
    body.menu-open .site-header.is-scrolled {
        height: var(--header-height);
        color: var(--white);
        background: transparent;
        border-color: transparent;
        box-shadow: none;
    }

    .site-header__inner {
        position: relative;
    }

    .brand--header,
    .button--header,
    .main-nav__toggle {
        position: relative;
        z-index: 3;
    }

    .main-nav__list {
        z-index: 2;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        min-height: 100svh;
        max-height: 100dvh;
        padding: calc(88px + env(safe-area-inset-top)) 28px calc(28px + env(safe-area-inset-bottom));
        gap: clamp(4px, 2vh, 18px);
        justify-content: center;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .main-nav__list a {
        font-size: clamp(1.8rem, min(9vw, 8vh), 3.6rem);
        line-height: 1.05;
    }

    body.menu-open .tezetka-logo__light {
        opacity: 1;
    }

    body.menu-open .tezetka-logo__dark {
        opacity: 0;
    }
}

@media (max-width: 640px) {
    .program-card__hint {
        top: 9px;
        right: 9px;
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }

    .program-modal {
        padding: max(10px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
        place-items: start center;
    }

    .program-modal__dialog {
        width: 100%;
        max-height: calc(100vh - 20px);
        max-height: calc(100dvh - 20px);
        border-radius: 22px;
        transform: translateY(34px);
    }

    .program-modal__header {
        padding: 25px 22px 22px;
        gap: 16px;
    }

    .program-modal__header h2 {
        font-size: clamp(1.65rem, 8.4vw, 2.5rem);
    }

    .program-modal__close {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .program-modal__body {
        padding: 0 22px calc(30px + env(safe-area-inset-bottom));
    }
}

@media (prefers-reduced-motion: reduce) {
    .program-modal,
    .program-modal__dialog {
        transition: none;
    }
}
