@font-face {
    font-family: "Geomanist";
    src: url("assets/fonts/geomanist/geomanist-regular.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Geomanist";
    src: url("assets/fonts/geomanist/geomanist-medium.woff2") format("woff2");
    font-style: normal;
    font-weight: 600 900;
    font-display: swap;
}

:root {
    --primary: #044142;
    --teal: #1ad8d2;
    --light: #cafcfa;
    --white: #fff;
    --danger: #d62f2f;
    --container: 1192px;
    /* Fluid typography: minimum at 390px, maximum at 1920px. */
    --hero-header: clamp(42px, calc(7.05882vw + 14.4706px), 150px);
    --hero-icon-text: clamp(18px, calc(1.11111vw + 13.6667px), 35px);
    --heading-xxl: clamp(48px, calc(3.39869vw + 34.7451px), 100px);
    --heading-xl: clamp(38px, calc(1.43791vw + 32.3922px), 60px);
    --heading-lg: clamp(34px, calc(1.37255vw + 28.6471px), 55px);
    --heading-md: clamp(28px, calc(.784314vw + 24.9412px), 40px);
    --heading-card: clamp(18px, calc(.130719vw + 17.4902px), 20px);
    --heading-speaker: clamp(21px, calc(.196078vw + 20.2353px), 24px);
    --heading-contact: clamp(24px, calc(1.43791vw + 18.3922px), 46px);
    --body-xxl: clamp(38px, calc(1.43791vw + 32.3922px), 60px);
    --body-xl: clamp(23px, calc(.718954vw + 20.1961px), 34px);
    --body-lg: clamp(21px, calc(.588235vw + 18.7059px), 30px);
    --body-28: clamp(19px, calc(.588235vw + 18.7059px), 28px);
    --body-md: clamp(16px, calc(.261438vw + 14.9804px), 20px);
    --body-card: clamp(14px, calc(.392157vw + 12.4706px), 20px);
    --body-speaker: clamp(14px, calc(.130719vw + 15.4902px), 16px);
    --body-location: clamp(20px, calc(.392157vw + 18.4706px), 26px);
    --body-contact: clamp(15px, calc(.457516vw + 13.2157px), 22px);
    --body-sm: clamp(15px, calc(.130719vw + 14.4902px), 17px);
    --body-xs: clamp(13px, calc(.0653595vw + 12.7451px), 14px);
    --body-consent: clamp(13px, calc(.196078vw + 12.2353px), 16px);
    --form-label: clamp(18px, calc(.261438vw + 16.9804px), 22px);
    --button-size: clamp(24px, calc(.718954vw + 21.1961px), 35px);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--primary);
    background: var(--white);
    font-family: "Geomanist", Arial, sans-serif;
    font-size: var(--body-md);
    line-height: 1.35;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

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

a {
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 12px 18px;
    color: var(--primary);
    background: var(--white);
    transform: translateY(-160%);
    transition: transform 180ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

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

.container-copy {
    width: min(calc(100% - 64px), 1360px);
}

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

.heading-xxl,
.heading-xl,
.heading-lg,
.heading-md {
    margin: 0;
    font-weight: 700;
}

.heading-xxl {
    font-size: var(--heading-xxl);
    text-transform: uppercase;
    line-height: .98;
}

.heading-xl {
    font-size: var(--heading-xl);
    text-transform: uppercase;
    line-height: 1.2;
}

.heading-lg {
    font-size: var(--heading-lg);
    line-height: 1.2;
}

.heading-md {
    font-size: var(--heading-md);
    line-height: .98;
}

.body-xl {
    font-size: var(--body-xl);
}

.body-md {
    font-size: var(--body-md);
}

.site-header {
    position: fixed;
    z-index: 100;
    inset: 0 0 auto;
    color: var(--white);
    padding: 80px 0;
    backdrop-filter: blur(8px);
    transition: padding 280ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
    padding: 24px 0;
    background: rgba(4, 65, 66, .96);
    box-shadow: 0 6px 24px rgba(0, 0, 0, .18);
}

.header-inner {
    width: min(calc(100% - 64px), 1720px);
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 100px;
}

.brand {
    display: block;
    flex: 0 1 390px;
    transition: flex-basis 280ms ease;
}

.brand-event {
    
}

.brand img {
    width: min(390px, 100%);
    height: auto;
    transition: width 280ms ease;
}

.site-header.is-scrolled .brand {
    flex-basis: 160px;
}

.site-header.is-scrolled .brand img {
    width: 160px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: clamp(28px, 4vw, 82px);
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
}

.main-nav a {
    position: relative;
    padding: 11px 0 8px;
    text-decoration: none;
}

.main-nav a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--teal);
    transform: scaleX(0);
    transition: transform 180ms ease;
}

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

.main-nav a.is-active:not(.nav-cta) {
    color: var(--teal);
}

.nav-cta {
    min-width: 166px;
    text-align: center;
    color: var(--primary);
    background: var(--teal);
    border-radius: 999px;
    transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.nav-cta:hover,
.nav-cta:focus-visible,
.nav-cta.is-active {
    color: var(--primary);
    background: var(--white);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    padding: 10px;
    color: inherit;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    margin: 5px 0;
    background: currentColor;
    border-radius: 3px;
    transition: transform 180ms ease, opacity 180ms ease;
}

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

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

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

.hero {
    position: relative;
    min-height: 1080px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: var(--primary) url("assets/images/hero-bg.png") center / cover no-repeat;
    isolation: isolate;
}

.hero-overlay {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 65, 66, .8), rgba(4, 65, 66, .38)), rgba(0, 50, 51, .12);
}

.hero-content {
    padding-top: 5%;
    text-align: center;
}

.hero h1 {
    margin: 42px 0 70px;
    font-size: var(--hero-header);
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: .98;
}

.event-facts {
    width: min(100%, 1120px);
    margin: 0 auto 58px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.event-fact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    font-size: var(--hero-icon-text);
}

.event-fact img {
    width: 40px;
    object-fit: contain;
}

.button {
    min-height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 52px 10px;
    font-size: var(--button-size);
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    border: 3px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.button-primary {
    color: var(--primary);
    background: var(--teal);
}

.button-primary:hover,
.button-primary:focus-visible {
    color: var(--white);
    background: var(--primary);
    border-color: var(--teal);
    box-shadow: 0 10px 28px rgba(26, 216, 210, .2);
    transform: translateY(-3px);
}

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

.intro {
    padding: 78px 0 30px;
    text-align: center;
}

.intro-copy {
    max-width: 1140px;
    margin: 44px auto 32px;
    font-size: var(--body-28);
    line-height: 1.25;
}

.intro .heading-md {
    margin-top: 34px;
}

.topic-grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.topic-card {
    position: relative;
    width: 100%;
    min-width: 0;
    color: var(--primary);
}

.topic-card::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    background: var(--teal);
    -webkit-mask: url("assets/mask/chevron-vertical-single.svg") 0 0 / 100% 100% no-repeat;
    mask: url("assets/mask/chevron-vertical-single.svg") 0 0 / 100% 100% no-repeat;
    content: "";
}

.topic-card:hover,
.topic-card:focus-within {
    z-index: 10;
}

.topic-card__wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: clamp(20px, 3vw, 46px) clamp(18px, 2.4vw, 28px) 20%;
}

.topic-card img {
    width: clamp(44px, 5vw, 74px);
    height: clamp(44px, 5vw, 75px);
    margin-bottom: 16px;
    object-fit: contain;
}

.topic-card h4 {
    margin: 0 0 22px;
    font-size: var(--heading-card);
    font-weight: 700;
    line-height: 1.1;
}

.source-hint {
    position: relative;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

.source-hint__trigger {
    width: 1em;
    height: 1em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: currentColor;
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: help;
}

.source-hint__trigger svg {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 2;
}

.source-hint__trigger:focus-visible {
    outline: 3px solid var(--white);
    outline-offset: 3px;
}

.source-hint__content {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: calc(100% + 12px);
    width: min(320px, calc(100vw - 48px));
    padding: 14px 16px;
    color: var(--white);
    background: var(--primary);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 6px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.source-hint__content::after {
    position: absolute;
    top: 100%;
    left: 50%;
    width: 0;
    height: 0;
    border: 8px solid transparent;
    border-top-color: var(--primary);
    content: "";
    transform: translateX(-50%);
}

.source-hint__content a {
    color: var(--teal);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.source-hint__close {
    display: none;
}

.source-hint:hover .source-hint__content,
.source-hint:focus-within .source-hint__content,
.source-hint.is-open .source-hint__content {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.topic-card p {
    margin: 0;
    font-size: var(--body-card);
    line-height: 1.22;
}

.speakers {
    padding: 10px 0 120px;
    text-align: center;
}

.speaker-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
    align-items: start;
}

.speaker-card {
    --speaker-mask-gap: 16px;
    /*
     * Wynik geometrii obu SVG przy tej samej szerokości karty:
     * single: (425 - 357.489) / 386,
     * double: 0.588 / 276. Wartość pośrednia uwzględnia też końce obu grotów.
     */
    --speaker-photo-chevron-offset: -17.77%;
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
}

.speaker-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 386 / 425;
    overflow: hidden;
    background: var(--teal);
    -webkit-mask: url("assets/mask/chevron-vertical-single.svg") center / 100% 100% no-repeat;
    mask: url("assets/mask/chevron-vertical-single.svg") center / 100% 100% no-repeat;
}

.speaker-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 420ms cubic-bezier(.2, .7, .2, 1), filter 220ms ease;
}

.speaker-card:hover .speaker-photo img,
.speaker-card:focus-within .speaker-photo img {
    filter: saturate(1.08);
    transform: scale(1.045);
}

.speaker-info {
    width: 100%;
    aspect-ratio: 276 / 257;
    margin-top: calc(var(--speaker-photo-chevron-offset) + var(--speaker-mask-gap));
    padding: 22% 24px;
    background: var(--teal);
    -webkit-mask: url("assets/mask/chevron-vertical-double.svg") center / 100% 100% no-repeat;
    mask: url("assets/mask/chevron-vertical-double.svg") center / 100% 100% no-repeat;
}

.speaker-info h3 {
    margin: 0 0 10px;
    font-size: var(--heading-speaker);
    line-height: 1.05;
}

.speaker-info p {
    margin: 0;
    font-size: var(--body-speaker);
    line-height: 1.375;
}

.evening-attraction {
    min-height: 944px;
    display: flex;
    align-items: center;
    background: var(--light) url("assets/images/main-event-bg.webp") center / cover no-repeat;
}

.evening-attraction__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 476px;
    gap: 64px;
    align-items: center;
}

.evening-attraction__copy h2 {
    margin: 0 0 58px;
    color: #00a49f;
    font-size: var(--heading-xl);
    font-weight: 700;
    line-height: 1;
}

.evening-attraction__copy p {
    margin: 0;
    max-width: 660px;
    font-size: clamp(24px, 1.98vw, 38px);
    line-height: 1.3;
}

.evening-attraction__image {
    width: 476px;
    height: auto;
}

.agenda {
    padding: 48px 0;
    color: var(--white);
    background: var(--primary);
}

.agenda-container {
    max-width: var(--container);
}

.agenda-title {
    margin-bottom: 22px;
    color: var(--teal);
    font-size: 60px;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
}

.agenda-table-wrap {
    overflow: hidden;
}

.agenda-table {
    width: 100%;
    border-collapse: collapse;
    color: var(--white);
    font-size: 25px;
    line-height: 1.2;
    text-align: left;
}

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

.agenda-table tr:nth-child(even) {
    background: rgba(121, 218, 215, .2);
}

.agenda-table th,
.agenda-table td {
    padding: 6px 0;
    vertical-align: middle;
}

.agenda-table th {
    width: 160px;
    padding-left: 52px;
    color: #cafcfa;
    font-weight: 700;
    white-space: nowrap;
}

.signup {
    padding: 112px 0 90px;
    color: var(--white);
    background: var(--primary) url("assets/images/form-bg.jpg") center / cover no-repeat;
    text-align: center;
}

.signup .heading-xxl {
    color: var(--teal);
}

.signup .body-xl {
    margin: 12px 0 72px;
    font-weight: 700;
}

.form-container {
    width: min(calc(100% - 64px), 1180px);
}

.registration-form {
    text-align: left;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 40px;
    margin-bottom: 64px;
}

.form-grid > label {
    position: relative;
}

.form-grid > label > span {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 32px;
    color: var(--primary);
    font-size: var(--form-label);
    line-height: 1;
    pointer-events: none;
    transform: translateY(-50%);
    transform-origin: left center;
    transition: top 180ms ease, color 180ms ease, font-size 180ms ease, transform 180ms ease;
}

.form-grid > label:focus-within > span,
.form-grid > label:has(input:not(:placeholder-shown)) > span {
    top: 0;
    color: var(--white);
    font-size: 14px;
    transform: translateY(calc(-100% - 12px));
}

.registration-form input[type="text"],
.registration-form input[type="email"],
.registration-form input[type="tel"],
.registration-form textarea {
    width: 100%;
    color: var(--primary);
    background: var(--white);
    border: 3px solid transparent;
    border-radius: 999px;
    outline: 0;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.registration-form input[type="text"],
.registration-form input[type="email"],
.registration-form input[type="tel"] {
    min-height: 54px;
    padding: 9px 28px;
    font-size: var(--form-label);
}

.registration-form input:focus,
.registration-form textarea:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 5px rgba(26, 216, 210, .18);
    transform: translateY(-1px);
}

.registration-form .is-invalid {
    border-color: var(--danger) !important;
    box-shadow: 0 0 0 4px rgba(214, 47, 47, .18);
}

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

.job-label {
    display: block;
    margin: 32px 0;
    padding-left: 36px;
    font-size: var(--body-sm);
}

.registration-form textarea {
    min-height: 78px;
    padding: 18px 28px;
    resize: vertical;
    border-radius: 30px;
}

.consent-label {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 18px;
    align-items: start;
    font-size: var(--body-consent);
    line-height: 1.35;
    margin-bottom: 20px;
}

.consent-label span {
    font-size: var(--body-sm);
}

.consent-label input {
    width: 24px;
    height: 24px;
    margin: 2px 0 0;
    appearance: none;
    background: transparent;
    border: 3px solid var(--teal);
    border-radius: 2px;
    cursor: pointer;
}

.consent-label input:checked {
    background: var(--teal);
    box-shadow: inset 0 0 0 4px var(--primary);
}

.form-message {
    margin: 0;
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
}

.form-feedback {
    display: grid;
    grid-template-rows: 0fr;
    margin: 0 auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
        grid-template-rows 240ms ease,
        margin-top 240ms ease,
        opacity 180ms ease,
        transform 240ms ease,
        visibility 0s linear 240ms;
}

.form-feedback:has(.form-message:not(.is-hidden)) {
    grid-template-rows: 1fr;
    margin-top: 28px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s;
}

.form-feedback-inner {
    display: grid;
    min-height: 0;
    overflow: hidden;
}

.form-feedback-inner > .form-message {
    grid-area: 1 / 1;
}

.form-feedback-inner > .form-message.is-hidden {
    position: static !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: normal !important;
    visibility: hidden;
}

.form-error {
    color: #fff;
    background: var(--danger);
}

.form-success {
    color: var(--primary);
    background: var(--teal);
    text-align: left;
}

.form-success p {
    margin: 0;
}

.form-success p + p {
    margin-top: 18px;
}

.is-hidden,
.honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
}

.submit-button {
    margin: 38px auto 0;
    display: flex;
}

.location {
    padding: 96px 0 100px;
    text-align: center;
}

.location-container {
    width: min(calc(100% - 64px), 1180px);
}

.location .body-md {
    margin: 24px 0 48px;
    font-size: var(--body-location);
}

.map-iframe {
    display: block;
    margin: 0 auto;
    max-width: 760px;
    aspect-ratio: 760/260;
}

.map-iframe iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 20px;
}

.transport-title {
    margin-top: 64px;
    text-align: left;
}

.transport-grid {
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 80px;
    text-align: left;
}

.transport-grid img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.transport-grid p {
    margin: 18px 0 0;
    font-size: var(--body-sm);
    line-height: 1.3;
}

.previous {
    padding: 90px 0 140px;
    background: var(--teal);
    text-align: center;
}

.previous-container {
    width: min(calc(100% - 64px), 1180px);
}

.previous-media {
    margin: 60px 0 0;
    overflow: hidden;
    border-radius: 18px;
}

.previous-media video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: var(--primary);
}

.site-footer {
    padding: 90px 0 50px;
    color: var(--white);
    background: var(--primary);
}

.footer-inner {
    width: min(calc(100% - 64px), 1180px);
}

.contact-chevron {
    --contact-chevron-gap: 16px;
    display: grid;
    /* 354.217 = 418 px szerokości maski - 63.783 px jej lewego wcięcia. */
    grid-template-columns: minmax(0, 815fr) minmax(0, 354.217fr);
    gap: var(--contact-chevron-gap);
}

.contact-copy,
.contact-shape {
    width: 100%;
    height: 100%;
}

.contact-copy {
    aspect-ratio: 815 / 414;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 44px 100px 44px 44px;
    color: var(--primary);
    background: var(--light);
    -webkit-mask: url("assets/mask/chevron-horizontal-single.svg") center / 100% 100% no-repeat;
    mask: url("assets/mask/chevron-horizontal-single.svg") center / 100% 100% no-repeat;
}

.contact-copy h2 {
    margin: 0;
    font-size: var(--heading-contact);
    line-height: 1.03;
}

.contact-copy p {
    margin: 42px 0 0;
    font-size: var(--body-contact);
}

.contact-shape {
    position: relative;
}

.contact-shape::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 118.0068%;
    height: 100%;
    background: var(--teal);
    /* Pełna szerokość 418 / widoczna szerokość 354.217; bez deformowania kąta maski. */
    -webkit-mask: url("assets/mask/chevron-horizontal-double.svg") center / 100% 100% no-repeat;
    mask: url("assets/mask/chevron-horizontal-double.svg") center / 100% 100% no-repeat;
}

.footer-meta {
    position: relative;
    margin-top: 38px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    font-size: var(--body-xs);
    padding: 0 40px;
}

.footer-meta p {
    font-size: var(--body-contact);
    line-height: 1.5;
    margin: 0 0 28px;
}

.footer-meta img {
    width: 72px;
    height: auto;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-links a {
    font-size: var(--body-contact);
    line-height: 1.5;
    text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    text-decoration: underline;
}

.back-to-top {
    position: fixed;
    z-index: 20;
    right: max(32px, calc((100vw - 1180px) / 2));
    bottom: 32px;
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    color: var(--primary);
    background: var(--light);
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .45), 0 6px 20px rgba(4, 65, 66, .35);
    font-size: 36px;
    line-height: 1;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
    transition: background-color 180ms ease, opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top.is-visible:hover,
.back-to-top.is-visible:focus-visible {
    background: var(--teal);
    transform: translateY(-4px);
}

.back-to-top img {
    width: 40px;
}

@media (max-width: 1599px) {
    :root {
        --container: 1192px;
    }
}

@media (max-width: 1400px) {
    .hero {
        min-height: 900px;
    }

    .topic-card__wrapper {
        padding-top: 24px;
    }

}

@media (max-width: 1100px) {
    .brand {
        flex-basis: 260px;
    }

    .brand img {
        width: 260px;
    }

    .brand-olx,
    .brand-event {
        height: 64px;
        padding: 10px;
    }

    .brand-olx {
        width: 72px;
    }

    .brand-event {
        width: 136px;
    }

    .main-nav {
        gap: 24px;
        font-size: 15px;
    }

    .nav-cta {
        min-width: 130px;
    }

    .speaker-info {
        padding-top: 22%;
    }

    .evening-attraction {
        min-height: 720px;
    }

    .evening-attraction__inner {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 42%);
        gap: 42px;
    }

    .evening-attraction__copy h2 {
        margin-bottom: 36px;
    }

    .evening-attraction__image {
        width: 100%;
    }
}

@media (max-width: 900px) {
    .container,
    .container-copy,
    .form-container,
    .location-container,
    .previous-container,
    .footer-inner {
        width: min(calc(100% - 40px), 720px);
    }

    .header-inner {
        width: calc(100% - 40px);
    }

    .back-to-top {
        right: max(20px, calc((100vw - 720px) / 2));
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: var(--header-height);
        right: 0;
        left: 0;
        max-height: calc(100vh - var(--header-height));
        padding: 24px 20px 34px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        overflow-y: auto;
        background: rgba(4, 65, 66, .98);
        border-top: 1px solid rgba(255,255,255,.15);
        transform: translateY(-120%);
        visibility: hidden;
        transition: transform 240ms ease, visibility 240ms ease;
    }

    .main-nav.is-open {
        transform: translateY(0);
        visibility: visible;
    }

    .main-nav a {
        padding: 16px 22px;
        text-align: center;
        border-radius: 999px;
    }

    .hero {
        min-height: 800px;
    }

    .evening-attraction {
        min-height: 0;
        padding: 88px 0 96px;
        background-position: 42% center;
    }

    .evening-attraction__inner {
        width: min(calc(100% - 64px), 560px);
        grid-template-columns: 1fr;
        gap: 52px;
        text-align: center;
    }

    .evening-attraction__copy h2 {
        margin-bottom: 28px;
    }

    .evening-attraction__copy p {
        max-width: none;
        font-size: clamp(22px, 4.2vw, 30px);
    }

    .evening-attraction__image {
        width: min(100%, 476px);
        margin-inline: auto;
    }

    .hero h1 {
        margin-bottom: 54px;
    }

    .event-facts {
        gap: 18px;
    }

    .topic-grid {
        grid-template-columns: 1fr;
        width: min(100%, 480px);
        margin-inline: auto;
    }

    .topic-card__wrapper {
        padding: 9% 10% 20%;
    }

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

    .signup {
        min-height: 0;
    }

    .transport-grid {
        gap: 36px;
    }

    .contact-copy {
        padding: 44px 80px 44px 36px;
    }

    .contact-copy p {
        margin-top: 28px;
    }
}

@media (max-width: 640px) {
    .container,
    .container-copy,
    .form-container,
    .location-container,
    .previous-container,
    .footer-inner {
        width: min(calc(100% - 32px), 520px);
    }

    .header-inner {
        width: calc(100% - 28px);
    }

    .back-to-top {
        right: max(16px, calc((100vw - 520px) / 2));
    }

    .brand {
        flex-basis: 190px;
    }

    .brand img {
        width: 190px;
    }

    .brand-olx,
    .brand-event {
        height: 52px;
        border-width: 2px;
        padding: 8px;
    }

    .brand-olx {
        width: 56px;
    }

    .brand-event {
        width: 106px;
    }

    .hero {
        min-height: 760px;
        background-position: 58% center;
    }

    .hero-content {
        padding-top: 100px;
    }

    .hero h1 {
        margin: 18px 0 46px;
    }

    .event-facts {
        grid-template-columns: 1fr;
        margin-bottom: 42px;
        gap: 24px;
    }

    .event-fact {
        flex-direction: row;
        justify-content: center;
        gap: 16px;
    }

    .event-fact img,
    .event-fact:nth-child(3) img {
        width: 34px;
        height: 34px;
    }

    .button {
        min-height: 60px;
        padding-inline: 34px;
    }

    .intro {
        padding-top: 62px;
    }

    .intro-copy {
        margin-top: 30px;
    }

    .topic-card__wrapper {
        padding-top: 8%;
    }

    .topic-card img {
        width: 48px;
        height: 48px;
        margin-bottom: 10px;
    }

    .topic-card h4 {
        margin-bottom: 12px;
    }

    .speakers {
        padding-bottom: 56px;
    }

    .speaker-grid {
        grid-template-columns: 1fr;
        width: min(100%, 420px);
        margin-inline: auto;
    }

    .speaker-info {
        padding: 22% 28px;
    }

    .agenda {
        padding: 48px 0;
    }

    .agenda-title {
        margin-bottom: 26px;
        font-size: 40px;
    }

    .agenda-table-wrap {
        border: 0;
        background: transparent;
        overflow: hidden;
    }

    .agenda-table,
    .agenda-table tbody,
    .agenda-table tr {
        display: block;
        width: 100%;
        max-width: 100%;
    }

    .agenda-table {
        table-layout: fixed;
        font-size: 14px;
        line-height: 1.25;
    }

    .agenda-table th,
    .agenda-table td {
        display: block;
        width: auto;
    }

    .agenda-table tbody {
        display: grid;
        gap: 12px;
    }

    .agenda-table tr {
        position: relative;
        display: block;
        width: 100%;
        min-width: 0;
        overflow: hidden;
        border: 1px solid rgba(26, 216, 210, .34);
        background: rgba(26, 216, 210, .08);
    }

    .agenda-table tr:nth-child(even) {
        background: rgba(26, 216, 210, .16);
    }

    .agenda-table th,
    .agenda-table td,
    .agenda-table tr:last-child > * {
        border: 0;
    }

    .agenda-table th {
        width: 100%;
        min-width: 0;
        padding: 13px 16px 10px;
        color: #cafcfa;
        background: transparent;
        border-bottom: 1px solid rgba(26, 216, 210, .24);
    }

    .agenda-table td {
        width: 100%;
        min-width: 0;
        padding: 16px;
        overflow-wrap: anywhere;
    }

    .signup {
        padding: 76px 0 64px;
        background-position: center;
    }

    .signup .body-xl {
        margin: 14px 0 44px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .form-grid > label > span {
        left: 20px;
    }

    .registration-form input[type="text"],
    .registration-form input[type="email"],
    .registration-form input[type="tel"] {
        min-height: 52px;
        padding-inline: 20px;
    }

    .job-label {
        margin-top: 18px;
    }

    .consent-label {
        grid-template-columns: 22px 1fr;
        gap: 12px;
    }

    .consent-label input {
        width: 22px;
        height: 22px;
    }

    .submit-button {
        width: 100%;
        min-width: 0;
    }

    .location {
        padding: 72px 0;
    }

    .map-placeholder {
        aspect-ratio: 1.35 / 1;
    }

    .transport-title {
        margin-top: 52px;
        text-align: center;
    }

    .transport-grid {
        grid-template-columns: 1fr;
        gap: 34px;
        text-align: center;
    }

    .transport-grid img {
        margin-inline: auto;
    }

    .transport-grid p {
        max-width: 400px;
        margin-inline: auto;
    }

    .previous {
        padding: 70px 0 82px;
    }

    .previous-media {
        margin-top: 38px;
        border-radius: 12px;
    }

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

    .contact-chevron {
        grid-template-columns: 1fr;
        gap: var(--contact-chevron-gap);
    }

    .contact-copy,
    .contact-shape {
        width: 100%;
    }

    .contact-copy {
        padding: 8% 17% 8% 7%;
    }

    .contact-copy p {
        margin-top: 8%;
    }

    .contact-shape {
        display: none;
    }

    .footer-meta {
        grid-template-columns: 1fr;
        padding-bottom: 80px;
    }

    .footer-links {
        align-items: flex-start;
    }
}

@media (max-width: 575px) {
    .topic-grid,
    .speaker-grid {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-inline: contain;
        scroll-snap-type: inline mandatory;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    .topic-card,
    .speaker-card {
        flex: 0 0 calc(100% - 32px);
        scroll-snap-align: start;
    }

    .source-hint__content {
        position: fixed;
        z-index: 1001;
        top: 50dvh;
        right: auto;
        bottom: auto;
        left: 50vw;
        width: min(calc(100vw - 32px), 420px);
        max-width: 420px;
        max-height: calc(100dvh - 32px);
        margin: 0;
        padding: 42px 20px 20px;
        overflow-y: auto;
        font-size: 17px;
        transform: translate(-50%, calc(-50% + 16px));
    }

    .source-hint__content::after {
        display: none;
    }

    .source-hint:hover .source-hint__content,
    .source-hint:focus-within .source-hint__content {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translate(-50%, calc(-50% + 16px));
    }

    .source-hint.is-open .source-hint__content,
    .source-hint__content.is-mobile-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translate(-50%, -50%);
    }

    .topic-card:focus-within {
        z-index: 1001;
    }

    .source-hint__close {
        position: absolute;
        top: 8px;
        right: 10px;
        width: 32px;
        height: 32px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        color: var(--white);
        background: transparent;
        border: 0;
        border-radius: 50%;
        font: inherit;
        font-size: 30px;
        line-height: 1;
        cursor: pointer;
    }

    .source-hint__close:focus-visible {
        outline: 2px solid var(--teal);
        outline-offset: 1px;
    }
}

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

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