body.home-page {
    --home-about-side-pad: 126px;
    --home-about-title-pad-x: 40px;
    --home-title-align-x: var(--home-about-side-pad);
    background: var(--color-bg-page);
    font-family: "Roboto", sans-serif;
    color: var(--color-text);
    -webkit-font-smoothing: antialiased;
}

@media (min-width: 2560px) {
    body.home-page {
        --home-about-side-pad: 200px;
    }
}

@media (max-width: 767px) {
    body.home-page {
        --home-about-side-pad: 15px;
        --home-about-title-pad-x: 20px;
    }
}

body.home-page * {
    font-family: inherit;
}

body.home-page .wrapper {
    width: 100%;
    max-width: min(var(--wrapper-max), calc(100vw - var(--page-side-pad) * 2));
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

body.home-page .header-main .wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

body.home-page .home-quotes .wrapper.home-quotes__wrapper {
    width: 100%;
    max-width: 100%;
}

body.home-page .home-participation .wrapper {
    width: 100%;
    max-width: 1642px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero */
.home-hero {
    position: relative;
    margin-bottom: 0;
    padding-top: var(--home-hero-top);
    box-sizing: border-box;
}

.home-hero__inner {
    position: relative;
    min-height: 1040px;
    border-radius: var(--radius-card);
    overflow: hidden;
    background-color: #ccc;
    background-image: var(--hero-bg-desktop);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.home-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-card);
    pointer-events: none;
}

:root {
    --home-hero-top: 20px;
    --home-header-top: 20px;
    --hero-logo-left: 126px;
    --hero-logo-offset-from-header: 127px;
}

@media (min-width: 2560px) {
    :root {
        --home-hero-top: 40px;
        --home-header-top: 40px;
        --hero-logo-left: 200px;
        --hero-logo-offset-from-header: 285px;
    }
}

@media (max-width: 767px) {
    :root {
        --home-hero-top: 45px;
        --home-header-top: 15px;
        --hero-logo-left: 30px;
        --hero-logo-offset-from-header: 100px;
    }
}

/* Hero header — overlay on banner, same shell as site-header */
.home-hero__inner > .header.header-main.home-header {
    position: absolute;
    top: var(--home-header-top);
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    z-index: 10;
    width: var(--header-width);
    max-width: var(--header-max-width);
}

@media (min-width: 768px) {
    .home-hero__inner > .header.header-main.home-header .header__menu .logo {
        margin-left: calc(var(--hero-logo-header-left) + 20px);
        padding-left: 0;
    }
}

.home-hero__content {
    position: relative;
    z-index: 2;
    padding: calc(var(--home-header-top) + var(--hero-logo-offset-from-header)) var(--page-side-pad) 80px var(--hero-logo-left);
    max-width: 900px;
}

.home-hero__logo {
    margin-bottom: 25px;
}

/* YaR logo from Figma — base only; sizes live in modifiers */
.yar-logo {
    display: inline-flex;
    align-items: flex-start;
    flex-shrink: 0;
}

.yar-logo__img {
    display: block;
    object-fit: contain;
}

/* Figma «Шапка v1 - 1920»: logo Group 111 = 62.39 × 72 */
@media (min-width: 768px) {
    .yar-logo--header {
        width: 62px;
        height: 72px;
        overflow: visible;
        align-self: center;
    }

    .yar-logo--header a {
        display: block;
        width: 62px;
        height: 72px;
        line-height: 0;
    }

    .yar-logo--header .yar-logo__img {
        display: block;
        width: 62px;
        height: 72px;
        object-fit: contain;
        object-position: left center;
    }
}

/* Figma главная 1920: Group 361:74 = 147.31 × 170 */
.yar-logo--hero {
    width: 147px;
    height: 170px;
}

.yar-logo--hero .yar-logo__img {
    display: block;
    width: 147px;
    height: 170px;
    object-fit: contain;
    object-position: left top;
}

.home-hero__dates {
    font-size: 80px;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 25px;
}

.home-hero__location {
    font-size: 25px;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 40px;
    max-width: 676px;
}

.home-hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: var(--color-primary-text);
    font-size: 30px;
    font-weight: 400;
    height: 72px;
    min-width: 402px;
    padding: 0 48px;
    border-radius: var(--radius-card);
    text-decoration: none;
    transition: opacity 0.2s;
}

.home-hero__cta:hover {
    opacity: 0.9;
    color: var(--color-primary-text);
    text-decoration: none;
}

/* About */
.home-about {
    /* bottom: gap before quotes (FullHD 200) */
    padding: 40px var(--home-about-side-pad) 200px;
}

.home-about__title-bar {
    background: var(--color-primary);
    border-radius: var(--radius-card);
    height: 87px;
    display: flex;
    align-items: center;
    padding: 0 var(--home-about-title-pad-x);
    margin-bottom: 40px;
}

.home-about__title-bar h2 {
    color: var(--color-primary-text);
    font-size: 50px;
    font-weight: 400;
    line-height: normal;
    margin: 0;
    letter-spacing: normal;
}

.home-about__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 105px;
    width: 100%;
    font-size: 30px;
    line-height: normal;
}

.home-about__grid strong,
.home-about__grid span:first-child {
    font-weight: 500;
}

.home-about__grid ul {
    margin: 8px 0 0;
    padding-left: 24px;
}

.home-about__content {
    font-size: 30px;
    line-height: normal;
}

.home-about__content ul {
    margin: 8px 0 0;
    padding-left: 24px;
}

.home-about__content strong,
.home-about__content span:first-child {
    font-weight: 500;
}

.home-about__cta {
    text-align: center;
    color: var(--color-primary);
    font-size: 30px;
    font-weight: 500;
    line-height: normal;
    margin-top: 40px;
}

/* Quote slider */
.home-quotes {
    --quotes-arrow-inset: 20px;
    --quotes-arrow-size: 48px;
    --quotes-photo-size: 297px;
    --quotes-photo-gap: 20px;
    --quotes-end-gap: 20px;
    /* top: flush to about gap; bottom: gap before contest (FullHD 200) */
    padding: 0 0 200px;
}

.home-quotes__wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.home-quotes__viewport {
    overflow: hidden;
    width: auto;
    margin-left: calc(var(--quotes-arrow-inset) + var(--quotes-arrow-size));
    margin-right: calc(var(--quotes-arrow-inset) + var(--quotes-arrow-size));
    position: relative;
    z-index: 2;
}

.home-quotes__shadow {
    display: block;
    position: absolute;
    top: 0;
    width: 0;
    height: var(--quotes-photo-size);
    pointer-events: none;
    z-index: 4;
}

.home-quotes__shadow--left {
    left: 0;
    box-shadow: 20px 0 40px 0 #00000080;
}

.home-quotes__shadow--right {
    right: 0;
    box-shadow: -20px 0 40px 0 #00000080;
}

.home-quotes__track {
    display: flex;
    transition: transform 0.4s ease;
}

.home-quotes__slide {
    flex: 0 0 100%;
    display: flex;
    align-items: center;
    gap: var(--quotes-photo-gap);
    min-height: var(--quotes-photo-size);
    background: transparent;
    box-shadow: none;
    box-sizing: border-box;
    padding-right: var(--quotes-end-gap);
}

.home-quotes__photo {
    flex: 0 0 var(--quotes-photo-size);
    width: var(--quotes-photo-size);
    height: var(--quotes-photo-size);
    overflow: hidden;
    border-radius: 50%;
}

.home-quotes__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.home-quotes__photo img[src*="account.svg"] {
    object-fit: contain;
    padding: 48px;
    background: #f3f3f3;
}

.home-quotes__body {
    flex: 1;
    min-width: 0;
    padding: 32px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
    border-radius: var(--radius-card);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
}

.home-quotes__text {
    font-size: 30px;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 16px;
}

.home-quotes__author {
    font-size: 25px;
    font-weight: 400;
    line-height: normal;
    text-align: right;
    margin-bottom: 8px;
}

.home-quotes__link a {
    font-size: 20px;
    font-weight: 400;
    color: var(--color-text);
    text-decoration: underline;
}

.home-quotes__arrow {
    position: absolute;
    top: calc(var(--quotes-photo-size) / 2);
    transform: translateY(-50%);
    width: var(--quotes-arrow-size);
    height: var(--quotes-arrow-size);
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 5;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-quotes__arrow img {
    width: 20px;
    height: 22px;
    display: block;
    object-fit: contain;
    pointer-events: none;
}

.home-quotes__arrow--prev {
    left: var(--quotes-arrow-inset);
}

.home-quotes__arrow--prev img {
    transform: scaleX(-1);
}

.home-quotes__arrow--next {
    right: var(--quotes-arrow-inset);
}

.home-quotes__dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
}

.home-quotes__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #bebebe;
    border: none;
    padding: 0;
    cursor: pointer;
}

.home-quotes__dot.is-active {
    width: 173px;
    border-radius: var(--radius-card);
    background: var(--color-primary);
}

/* Participation tabs */
.home-participation {
    margin: 0 var(--wrapper-pad) 60px;
    border-radius: var(--radius-card);
    overflow: hidden;
    background-color: var(--color-primary);
    background-image: url("../img/participation-bg.png");
    background-position: center;
    background-size: cover;
    padding: 41px 40px 50px;
    box-sizing: border-box;
}

.home-participation__tabs {
    display: flex;
    justify-content: center;
    gap: 46px;
    margin-bottom: 100px;
}

.home-participation__tab {
    position: relative;
    background: none;
    border: none;
    color: var(--color-primary-text);
    font-size: 35px;
    font-weight: 400;
    line-height: normal;
    cursor: pointer;
    padding: 0 0 26px;
    text-align: center;
}

.home-participation__tab[data-tab="contest"] {
    min-width: 136px;
}

.home-participation__tab[data-tab="exhibition"] {
    min-width: 163px;
}

.home-participation__tab[data-tab="listener"] {
    min-width: 182px;
}

.home-participation__tab.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 5px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-card);
}

.home-participation__panel {
    display: none;
    min-height: 425px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-card);
    padding: 41px 27px 40px 28px;
    color: var(--color-primary-text);
    box-sizing: border-box;
}

.home-participation__panel.is-active {
    display: block;
}

.home-participation__panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 79px;
}

.home-participation__panel > .home-btn {
    flex-shrink: 0;
    margin-top: 0;
}

.home-participation__chevron {
    display: none;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath fill='%23efefef' d='M8 11l7 8 7-8z'/%3E%3C/svg%3E") center/contain no-repeat;
    transition: transform 0.2s ease;
}

@media (min-width: 768px) {
    .home-participation__panel.is-active {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        column-gap: 24px;
        row-gap: 79px;
    }

    .home-participation__panel.is-active .home-participation__panel-head {
        grid-column: 1;
        grid-row: 1;
        margin-bottom: 0;
        display: block;
        min-width: 0;
    }

    .home-participation__panel.is-active > .home-btn {
        grid-column: 2;
        grid-row: 1;
        align-self: center;
    }

    .home-participation__panel.is-active p {
        grid-column: 1 / -1;
        grid-row: 2;
        min-width: 0;
    }
}

@media (min-width: 2560px) {
    .home-participation {
        /* Figma 2K: red block inset 40px; glass 2160 centered within (x=200) */
        margin-left: 40px;
        margin-right: 40px;
        padding: 41px 160px 50px;
    }

    body.home-page .home-participation .wrapper {
        max-width: 2160px;
    }

    /* Figma 2K glass content inset ~183px */
    .home-participation__panel {
        padding: 40px 183px 40px 183px;
    }

    .home-participation__panel-head {
        margin-bottom: 79px;
    }

    .home-quotes {
        --quotes-photo-gap: 40.5px;
        --quotes-end-gap: 131.6px;
        /* gap after quotes before contest (2K 150) */
        padding-bottom: 150px;
    }

    .home-about {
        /* gap after about before quotes (2K 300) */
        padding-bottom: 300px;
    }
}

.home-participation__panel h3 {
    font-size: 50px;
    font-weight: 400;
    line-height: normal;
    margin: 0;
}

.home-participation__panel p {
    font-size: 30px;
    font-weight: 400;
    line-height: normal;
    margin: 0;
    max-width: 1416px;
}

.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: var(--color-primary-text);
    font-size: 30px;
    font-weight: 400;
    height: 72px;
    min-width: 297px;
    padding: 0 40px;
    border-radius: var(--radius-card);
    text-decoration: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    box-sizing: border-box;
}

.home-btn:hover {
    opacity: 0.92;
    color: var(--color-primary-text);
    text-decoration: none;
}

.home-btn--outline {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

/* Program */
.home-program {
    padding: 40px var(--wrapper-pad) 80px;
}

.home-program__day-tabs {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    margin-bottom: 72px;
    /* Align with timeline column (photo 613px + gap 40px) — Figma FullHD */
    margin-left: calc(613px + 40px);
}

@media (max-width: 1439px) {
    .home-program__day-tabs {
        margin-left: 0;
        justify-content: center;
        gap: 40px;
    }
}

.home-program__day-tab {
    position: relative;
    background: none;
    border: none;
    font-size: 50px;
    font-weight: 400;
    line-height: normal;
    color: var(--color-text);
    cursor: pointer;
    padding: 0 0 16px;
    opacity: 0.5;
}

.home-program__day-tab.is-active {
    opacity: 1;
}

.home-program__day-tab.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 5px;
    background: var(--color-primary);
    border-radius: var(--radius-card);
}

.home-program__day-panel {
    display: none;
}

.home-program__day-panel.is-active {
    display: grid;
    grid-template-columns: 613px 1fr;
    gap: 40px;
    align-items: start;
}

.home-program__photo-wrap img {
    width: 100%;
    height: 899px;
    border-radius: var(--radius-card);
    object-fit: cover;
}

.home-program__photo-label {
    text-align: center;
    font-size: 30px;
    font-weight: 400;
    line-height: normal;
    margin-top: 16px;
    opacity: 0.9;
}

.home-program__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 92px;
}

.home-program__head h3 {
    font-size: 50px;
    font-weight: 500;
    line-height: normal;
    margin: 0;
}

.home-program__more {
    display: none;
}

.home-program__timeline {
    list-style: none;
    padding: 0;
    margin: 0;
}

.home-program__timeline li {
    display: grid;
    grid-template-columns: 191px 60px 1fr;
    gap: 20px 16px;
    align-items: center;
    margin-bottom: 52px;
}

.home-program__timeline li:last-child {
    margin-bottom: 0;
}

.home-program__time {
    font-size: 30px;
    font-weight: 400;
    line-height: normal;
    white-space: nowrap;
    opacity: 0.9;
}

.home-program__icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-primary);
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.home-program__icon img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    display: block;
}

.home-program__event-title {
    font-size: 25px;
    font-weight: 400;
    line-height: normal;
    margin: 0 0 4px;
}

.home-program__event-sub {
    font-size: 20px;
    font-weight: 300;
    line-height: normal;
    margin: 0;
    opacity: 0.85;
}

/* Section titles */
.home-section-title {
    font-size: 50px;
    font-weight: 500;
    line-height: normal;
    color: var(--color-text);
    margin: 0 0 32px;
    letter-spacing: normal;
}

/* Align section titles with left edge of «О Ярмарке» title bar (Figma x=126/200).
   Apply to the h2 — not the .wrapper (home-page .wrapper resets margin/padding). */
.home-guests > .wrapper > .home-section-title,
.home-organizers > .wrapper > .home-section-title,
.home-logos--partners > .wrapper > .home-section-title,
.home-archive > .wrapper > .home-section-title,
.home-archive__head .home-section-title {
    margin-left: calc(var(--home-title-align-x) - var(--wrapper-pad));
}

/* Developers: pad the header so title matches other H2; beats body.home-page .wrapper { padding: 0 } */
body.home-page .home-logos--developers .home-logos__developers-header {
    padding-left: calc(var(--home-title-align-x) - var(--wrapper-pad));
    /* Must live here — .wrapper { padding: 0 } otherwise wins */
    padding-bottom: 85px;
}

.home-section-title--primary {
    color: var(--color-primary);
    font-weight: 500;
}

.home-section-title--flush {
    margin: 0;
}

.home-organizers .home-section-title,
.home-logos--partners > .wrapper > .home-section-title {
    margin-bottom: 0;
    padding-bottom: 100px;
    box-sizing: border-box;
}

.home-registration .home-section-title--primary {
    text-align: center;
}

.home-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.home-empty-state {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 20px;
    padding: 8px 0 16px;
    margin: 0;
}

.home-empty-state p {
    margin: 0;
}

/* Honored guests carousel — FullHD defaults (Figma 872:1468) */
.home-guests {
    padding: 40px var(--wrapper-pad) 60px;
}

.home-guests .home-section-title {
    margin-bottom: 150px;
}

.home-guests__carousel {
    position: relative;
    overflow: hidden;
}

.home-guests__track {
    display: flex;
    gap: 30px;
    transition: transform 0.35s ease;
}

.home-logos__track {
    display: flex;
    transition: transform 0.35s ease;
}

.home-archive__track {
    display: flex;
    gap: 12px;
    transition: transform 0.35s ease;
}

.home-quotes__track {
    display: flex;
}

.home-guests__card {
    position: relative;
    flex: 0 0 325px;
    width: 325px;
    height: 474px;
    min-width: 0;
    overflow: visible;
    border-radius: 0;
    clip-path: none;
    box-sizing: border-box;
    background: transparent;
    box-shadow: none;
}

.home-guests__card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    /*
     * Top radius only. Bottom of the card fill equals --color-bg-page (#efefef),
     * so bottom radius is invisible by design but creates Chromium AA arcs where
     * the photo studio bg (~#d2d0d0) blends with the page — the "corner dashes".
     */
    border-radius: var(--radius-card) var(--radius-card) 0 0;
}

.home-guests__body {
    position: absolute;
    /* Bleed 2px past the photo so no studio-bg pixels peek at the sides */
    left: -2px;
    right: -2px;
    bottom: -2px;
    z-index: 1;
    width: auto;
    height: calc(100% * 1.4 / 3 + 2px);
    padding: 48px 34px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
    /* No bottom radius — fill matches page bg; radius only produced AA fringe */
    border-radius: 0;
    background: linear-gradient(
        180deg,
        rgba(239, 239, 239, 0) 0%,
        rgba(239, 239, 239, 0.82) 38%,
        var(--color-bg-page, #efefef) 68%,
        var(--color-bg-page, #efefef) 100%
    );
    pointer-events: none;
}

.home-guests__name {
    font-size: 20px;
    font-weight: 500;
    line-height: normal;
    color: var(--color-text);
    margin: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.home-guests__role {
    font-size: 15px;
    font-weight: 400;
    line-height: normal;
    color: var(--color-text);
    margin: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.home-guests__dots {
    display: none;
}

.home-carousel__arrow {
    position: absolute;
    top: 40%;
    width: 48px;
    height: 48px;
    border: none;
    background: transparent;
    font-size: 32px;
    color: var(--color-primary);
    cursor: pointer;
    z-index: 2;
    transform: translateY(-50%);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-carousel__arrow img {
    width: 20px;
    height: 22px;
    display: block;
    object-fit: contain;
    pointer-events: none;
}

.home-carousel__arrow--prev {
    left: 0;
}

.home-carousel__arrow--prev img {
    transform: scaleX(-1);
}

.home-carousel__arrow--next {
    right: 0;
}

.home-guests .home-carousel__arrow,
.home-logos .home-carousel__arrow {
    top: 50%;
    color: #fff;
}

.home-guests .home-carousel__arrow img,
.home-logos .home-carousel__arrow img {
    opacity: 0;
}

.home-guests .home-carousel__arrow::before,
.home-logos .home-carousel__arrow::before {
    content: "";
    display: block;
    width: 20px;
    height: 22px;
    background-color: #fff;
    -webkit-mask-image: url("/img/quotes-arrow.png");
    mask-image: url("/img/quotes-arrow.png");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

/* Developers: black chevron (Figma) */
.home-logos--developers .home-carousel__arrow {
    color: var(--color-text, #292929);
}

.home-logos--developers .home-carousel__arrow::before {
    background-color: #000;
}

.home-guests .home-carousel__arrow--prev::before,
.home-logos .home-carousel__arrow--prev::before {
    transform: scaleX(-1);
}

@media (min-width: 2560px) {
    .home-guests__track {
        gap: 40px;
    }

    .home-guests__card {
        flex: 0 0 365px;
        width: 365px;
        height: 532px;
    }

    .home-guests__body {
        height: calc(100% * 1.4 / 3);
        padding: 52px 36px 20px;
        gap: 16px;
    }

    .home-guests__name {
        font-size: 30px;
    }

    .home-guests__role {
        font-size: 20px;
    }
}

/* Organizers */
.home-organizers {
    padding: 40px var(--wrapper-pad) 60px;
}

.home-organizers__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: flex-start;
    align-items: stretch;
}

.home-organizers__card {
    /* Figma 872:1464 / 293:1651 — white cards 200px tall, radius 30 */
    height: 200px;
    width: auto;
    min-width: 200px;
    max-width: 100%;
    background: #fff;
    border-radius: var(--radius-card);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
    box-sizing: border-box;
}

.home-organizers__card > a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    max-width: 100%;
}

.home-organizers__card img {
    height: 120px;
    width: auto;
    max-width: min(560px, 100%);
    object-fit: contain;
}

/* Developers & partners carousels */
.home-logos {
    position: relative;
    padding: 40px var(--wrapper-pad) 60px;
    overflow: visible;
}

.home-logos__carousel-outer {
    position: relative;
    /* Figma: logo cards at x=20 (section pad) — do not inset for arrows */
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow: visible;
}

/*
 * Side-of-screen vignette over the logo cards only.
 * Full carousel height; horizontal fade only.
 */
.home-logos__shadow {
    display: block;
    position: absolute;
    /* 6% taller than the carousel (3% above + 3% below) */
    top: -3%;
    bottom: -3%;
    width: calc(var(--wrapper-pad) + 72px);
    pointer-events: none;
    z-index: 20;
    /* Soft top/bottom edges — fade only in the overflow band */
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        #000 3%,
        #000 97%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        #000 3%,
        #000 97%,
        transparent 100%
    );
}

.home-logos__shadow--left {
    left: calc(-1 * var(--wrapper-pad));
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.28) 22%,
        rgba(0, 0, 0, 0.08) 48%,
        rgba(0, 0, 0, 0) 72%
    );
}

.home-logos__shadow--right {
    right: calc(-1 * var(--wrapper-pad));
    background: linear-gradient(
        270deg,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.28) 22%,
        rgba(0, 0, 0, 0.08) 48%,
        rgba(0, 0, 0, 0) 72%
    );
}

.home-logos__carousel-outer .home-logos__viewport {
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.home-logos__carousel-outer .home-carousel__arrow {
    top: 50%;
    transform: translateY(-50%);
    z-index: 25;
    width: 48px;
    height: 48px;
}

/* Arrows sit on the card edge (Figma x≈20 / right edge), not in extra side padding */
.home-logos__carousel-outer .home-carousel__arrow--prev {
    left: 0;
}

.home-logos__carousel-outer .home-carousel__arrow--next {
    right: 0;
}

.home-logos__track {
    display: flex;
    transition: transform 0.35s ease;
}

.home-logos__slide {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.home-logos--partners .home-logos__slide {
    grid-template-columns: repeat(6, 1fr);
}

.home-logos__item {
    background: #fff;
    border-radius: var(--radius-card);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow: hidden;
}

.home-logos__item > a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    max-width: 100%;
}

.home-logos__item img {
    height: 120px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.home-logos--developers .home-logos__slide {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: none;
    grid-auto-rows: 200px;
    /* Keep room for up to 12 logos (2×6); center a short first page */
    min-height: calc(200px * 2 + 16px);
    align-content: center;
}

.home-logos--developers .home-logos__developers-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 24px;
    row-gap: 16px;
    margin-bottom: 0;
    box-sizing: border-box;
}

.home-logos--developers .home-logos__developers-title {
    margin: 0;
    line-height: 1;
    align-self: center;
}

/* Figma Group 567: 400×70 at x=1500 (flush to content right edge) */
.home-logos--developers .home-logos__developers-more {
    width: 400px;
    min-width: 400px;
    height: 70px;
    padding: 0 24px;
    align-self: center;
    margin: 0;
}

.home-logos--developers .home-logos__developers-header .home-empty-state {
    grid-column: 1 / -1;
}

.home-logos--developers > .home-logos__carousel-outer {
    margin-top: 0;
}

/* Registration */
.home-registration {
    padding: 40px var(--wrapper-pad) 80px;
}

.home-registration__form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
    align-items: stretch;
}

.home-registration__col {
    display: flex;
    flex-direction: column;
    gap: 48px;
    min-width: 0;
}

.home-registration__col--right {
    justify-content: flex-start;
}

.home-registration__col--right .home-registration__checks {
    margin-top: 4px;
}

.home-registration__col--right .home-registration__submit-wrap {
    margin-top: auto;
}

.home-registration__field label {
    display: block;
    font-size: 20px;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 5px;
}

.home-registration__field input,
.home-registration__field .select2-container {
    width: 100% !important;
}

.home-registration__field .select2-container .select2-selection--single {
    height: 70px !important;
    padding-left: 24px !important;
    border: none !important;
    border-radius: var(--radius-card) !important;
    background: #fff;
    box-sizing: border-box;
}

.home-registration__field .select2-container .select2-selection--single .select2-selection__rendered {
    font-size: 20px !important;
    font-weight: 400;
    padding: 0 !important;
    line-height: 70px !important;
    color: var(--color-text) !important;
}

.home-registration__field .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 50% !important;
    transform: translateY(-50%);
    right: 20px;
}

.home-registration__field input,
.home-registration__field select {
    height: 70px;
    border: none;
    border-radius: var(--radius-card);
    padding: 0 24px;
    font-size: 20px;
    font-weight: 400;
    background: #fff;
    box-sizing: border-box;
}

.home-registration__checks {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.home-registration__check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    font-weight: 400;
    line-height: normal;
    color: var(--color-text-muted);
}

.home-registration__check input {
    flex-shrink: 0;
    width: 21px;
    height: 21px;
    margin-top: 0;
    accent-color: var(--color-primary);
}

.home-registration__submit-wrap {
    width: 100%;
}

.home-registration__submit {
    width: 100%;
    height: 70px;
    background: var(--color-primary);
    color: var(--color-primary-text);
    border: none;
    border-radius: var(--radius-card);
    font-size: 30px;
    font-weight: 400;
    cursor: pointer;
}

.home-registration__error {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--color-primary);
    margin: 16px 0 0;
}

/* Archive — Figma 2:3 / 488:243 */
.home-archive {
    padding: 40px 0 80px;
    overflow-x: clip;
}

.home-archive__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 88px;
}

.home-archive__head .home-section-title {
    font-size: 50px;
    font-weight: 500;
    color: var(--color-text);
}

@media (min-width: 2560px) {
    .home-archive__head .home-section-title {
        font-size: 55px;
    }
}

.home-archive__more {
    min-width: 402px;
    width: 402px;
    height: 72px;
    border-radius: 30px;
    font-size: 30px;
    font-weight: 400;
    color: #efefef;
}

.home-archive__more--mobile {
    display: none;
}

.home-archive__body {
    display: flex;
    flex-direction: column;
}

.home-archive__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: stretch;
}

.home-archive__card {
    position: relative;
    background: #fff;
    border-radius: var(--radius-card);
    min-height: 554px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.home-archive__year {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 275px;
    height: 120px;
    margin: 0;
    padding: 0 8px 0 0;
    background: var(--color-primary);
    color: #efefef;
    font-size: 105px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.02em;
    border-radius: 30px 0 30px 0;
    flex-shrink: 0;
}

.home-archive__text {
    font-size: 20px;
    font-weight: 400;
    line-height: normal;
    color: var(--color-text);
    padding: 40px 40px 40px;
    overflow: hidden;
}

.home-archive__text p {
    margin: 0 0 1em;
}

.home-archive__text p:last-child {
    margin-bottom: 0;
}

.home-archive__hero {
    display: block;
    min-height: 554px;
    border-radius: var(--radius-card);
    overflow: hidden;
}

.home-archive__hero img {
    width: 100%;
    height: 100%;
    min-height: 554px;
    object-fit: cover;
    display: block;
}

.home-archive > .wrapper {
    padding-left: var(--wrapper-pad);
    padding-right: var(--wrapper-pad);
    box-sizing: border-box;
}

.home-archive__carousel {
    margin-top: 20px;
    margin-left: calc(50% - 50vw);
    position: relative;
    width: 100vw;
    max-width: 100vw;
}

.home-archive__viewport {
    overflow: hidden;
}

.home-archive__track {
    display: flex;
    gap: 12px;
}

.home-archive__track a {
    flex: 0 0 36vw;
    max-width: none;
}

.home-archive__track img {
    width: 100%;
    height: 462px;
    object-fit: cover;
    border-radius: var(--radius-card);
    display: block;
}

.home-archive .home-carousel__arrow {
    top: 50%;
    width: 72px;
    height: 72px;
    z-index: 3;
}

.home-archive .home-carousel__arrow img {
    width: 48px;
    height: 48px;
}

.home-archive .home-carousel__arrow--prev {
    left: 8px;
}

.home-archive .home-carousel__arrow--prev img {
    transform: none;
}

.home-archive .home-carousel__arrow--next {
    right: 8px;
}

.home-archive__carousel::before,
.home-archive__carousel::after {
    content: "";
    position: absolute;
    top: 0;
    height: 100%;
    width: 80px;
    pointer-events: none;
    z-index: 2;
}

.home-archive__carousel::before {
    left: 0;
    background: linear-gradient(to right, #fff 10%, rgba(255, 255, 255, 0));
}

.home-archive__carousel::after {
    right: 0;
    background: linear-gradient(to left, #fff 10%, rgba(255, 255, 255, 0));
}

/* Responsive */
@media (max-width: 1439px) {
    .home-hero__dates {
        font-size: 56px;
    }

    .home-program__day-panel.is-active {
        grid-template-columns: 1fr;
    }

    .home-program__photo-wrap img {
        height: auto;
        min-height: 400px;
        max-height: 600px;
    }

    .home-logos__slide {
        grid-template-columns: repeat(4, 1fr);
    }

    .home-btn {
        min-width: 0;
    }

    .home-participation__panel.is-active {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-participation__panel.is-active > .home-btn {
        grid-column: 1;
        justify-self: start;
    }
}

@media (max-width: 1150px) {
    .home-hero__inner {
        min-height: 700px;
    }

    .home-hero__content {
        padding-top: calc(var(--home-header-top) + var(--hero-logo-offset-from-header));
        padding-bottom: 60px;
        padding-left: var(--hero-logo-left);
        padding-right: var(--page-side-pad);
    }

    .home-hero__cta {
        min-width: 0;
        width: auto;
    }

    .home-about__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .home-registration__form {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .home-registration__col--right .home-registration__submit-wrap {
        margin-top: 0;
    }

    .home-archive__layout {
        grid-template-columns: 1fr;
    }

    .home-archive__hero,
    .home-archive__hero img,
    .home-archive__card {
        min-height: 360px;
    }

    .home-archive__track img {
        height: 280px;
    }

    .home-participation__tabs {
        flex-wrap: wrap;
        gap: 24px;
        margin-bottom: 48px;
    }

    .home-participation__tab {
        font-size: 24px;
        padding-bottom: 20px;
    }

    .home-participation__panel {
        min-height: 0;
        padding: 32px 24px;
    }

    .home-participation__panel-head {
        margin-bottom: 32px;
    }

    .home-participation__panel p {
        max-width: none;
    }

    .home-btn {
        min-width: 0;
        height: auto;
        min-height: 56px;
        padding: 14px 28px;
    }

    .home-program__timeline li {
        grid-template-columns: minmax(150px, 191px) 60px 1fr;
    }
}

@media (max-width: 700px) {
    .home-hero__dates {
        font-size: 36px;
    }

    .home-hero__location {
        font-size: 18px;
    }

    .home-hero__cta {
        font-size: 20px;
        height: auto;
        min-height: 52px;
        padding: 14px 28px;
    }

    .home-section-title {
        font-size: 32px;
    }

    .home-logos__slide {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    :root {
        --page-inset-top: 45px;
    }

    body.home-page {
        --page-side-pad: 15px;
        --wrapper-pad: 15px;
    }

    body.home-page .wrapper {
        padding: 0;
    }

    /* Hero — viewport top inset + horizontal padding; header overlays banner */
    .home-hero {
        padding: var(--home-hero-top) var(--page-side-pad) 0;
        margin-bottom: 0;
        box-sizing: border-box;
    }

    .home-hero__inner > .header.header-main.home-header {
        position: absolute;
        top: var(--home-header-top);
        left: 50%;
        transform: translateX(-50%);
        margin: 0 !important;
        height: 60px !important;
        min-height: 60px !important;
        box-shadow: 0 0 16px rgba(0, 0, 0, 0.1) !important;
        overflow: hidden;
    }

    .home-hero__inner > .header.header-main.home-header .header__menu .logo {
        margin-left: 0 !important;
        padding-left: 0 !important;
    }

    .home-hero__inner {
        min-height: 690px;
        border-radius: var(--radius-card);
        background-image: var(--hero-bg-mobile, var(--hero-bg-desktop));
    }

    .home-hero__content {
        padding: calc(var(--home-header-top) + var(--hero-logo-offset-from-header)) 15px 40px calc(var(--hero-logo-left) - var(--page-side-pad));
        max-width: none;
    }

    .yar-logo--hero {
        width: 78px;
        height: 90px;
        margin-bottom: 20px;
    }

    .yar-logo--hero .yar-logo__img {
        display: block;
        width: 78px;
        height: 90px;
        object-fit: contain;
        object-position: left top;
    }

    .home-hero__dates {
        font-size: 30px;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .home-hero__location {
        font-size: 12px;
        margin-bottom: 20px;
        max-width: none;
    }

    .home-hero__cta {
        display: flex;
        width: 100%;
        max-width: 300px;
        min-width: 0;
        height: 30px;
        min-height: 30px;
        font-size: 15px;
        padding: 0 16px;
        border-radius: 30px;
        justify-content: center;
    }

    /* About */
    .home-about {
        /* bottom: gap before quotes (Mobile 91) */
        padding: 20px var(--home-about-side-pad) 91px;
    }

    .home-about__title-bar {
        height: 60px;
        padding: 0 var(--home-about-title-pad-x);
        margin-bottom: 20px;
    }

    .home-about__title-bar h2 {
        font-size: 30px;
        font-weight: 500;
        white-space: nowrap;
    }

    .home-about__grid {
        grid-template-columns: 1fr;
        gap: 16px;
        font-size: 15px;
    }

    .home-about__content {
        font-size: 15px;
    }

    .home-about__cta {
        font-size: 20px;
        font-weight: 500;
        margin-top: 24px;
    }

    /* Quotes — Figma «Главная - 360px»: photo 100px + arrows 15/85, card below */
    body.home-page .home-quotes {
        --quotes-arrow-inset: 15px;
        --quotes-arrow-size: 30px;
        --quotes-photo-size: 100px;
        --quotes-photo-gap: 0;
        --quotes-end-gap: 0;
        /* bottom: gap before contest (Mobile 75) */
        padding: 0 0 75px;
    }

    body.home-page .home-quotes__wrapper {
        padding: 0;
        max-width: 100%;
    }

    body.home-page .home-quotes__viewport {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

    body.home-page .home-quotes__shadow {
        display: none;
    }

    body.home-page .home-quotes__slide {
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
        gap: 0;
        padding: 0;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
    }

    body.home-page .home-quotes__photo {
        flex: 0 0 var(--quotes-photo-size);
        width: var(--quotes-photo-size);
        height: var(--quotes-photo-size);
        margin: 0 auto;
        border-radius: 50%;
        overflow: hidden;
        background: transparent;
    }

    body.home-page .home-quotes__photo img {
        border-radius: 50%;
    }

    body.home-page .home-quotes__photo img[src*="account.svg"] {
        padding: 20px;
    }

    body.home-page .home-quotes__body {
        flex: 0 0 auto;
        width: auto;
        margin: 15px 15px 0;
        padding: 15px;
        align-items: stretch;
        background: #fff;
        border-radius: var(--radius-card);
        box-shadow: none;
    }

    body.home-page .home-quotes__text {
        font-size: 15px;
        margin-bottom: 12px;
        text-align: left;
    }

    body.home-page .home-quotes__author {
        font-size: 12px;
        text-align: right;
        width: 100%;
    }

    body.home-page .home-quotes__link {
        text-align: right;
        width: 100%;
        margin: 0;
    }

    body.home-page .home-quotes__link a {
        font-size: 12px;
        color: var(--color-text);
    }

    body.home-page .home-quotes__arrow {
        width: var(--quotes-arrow-size);
        height: var(--quotes-arrow-size);
        top: calc(var(--quotes-photo-size) / 2);
        transform: translateY(-50%);
    }

    body.home-page .home-quotes__arrow img {
        width: 20px;
        height: 22px;
    }

    body.home-page .home-quotes__arrow--prev {
        left: var(--quotes-arrow-inset);
    }

    body.home-page .home-quotes__arrow--prev img {
        transform: scaleX(-1);
    }

    body.home-page .home-quotes__arrow--next {
        right: var(--quotes-arrow-inset);
    }

    body.home-page .home-quotes__dots {
        margin-top: 20px;
    }

    body.home-page .home-quotes__dot {
        width: 5px;
        height: 5px;
    }

    body.home-page .home-quotes__dot.is-active {
        width: 70px;
        height: 5px;
    }

    /* Participation accordion */
    .home-participation {
        margin: 0 var(--wrapper-pad) 30px;
        padding: 0;
        background: transparent;
        overflow: visible;
    }

    .home-participation__tabs {
        display: none;
    }

    .home-participation__panel {
        display: block;
        min-height: 60px;
        margin-bottom: 15px;
        padding: 0;
        border: none;
        border-radius: var(--radius-card);
        overflow: hidden;
        cursor: pointer;
    }

    .home-participation__panel:not(.is-active) {
        background: #292929;
        min-height: 60px;
        max-height: 60px;
    }

    .home-participation__panel:not(.is-active) .home-participation__panel-head {
        margin: 0;
        padding: 0 50px 0 20px;
        min-height: 60px;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .home-participation__panel:not(.is-active) h3 {
        font-size: 25px;
        color: #efefef;
        margin: 0;
        text-align: center;
        width: 100%;
    }

    .home-participation__panel:not(.is-active) .home-participation__chevron {
        display: block;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }

    .home-participation__panel:not(.is-active) p,
    .home-participation__panel:not(.is-active) .home-btn {
        display: none;
    }

    .home-participation__panel.is-active {
        background: var(--color-primary) url("../img/participation-bg.png") center/cover;
        padding: 20px 15px 24px;
        cursor: pointer;
        display: block;
        overflow: visible;
        max-height: none;
    }

    .home-participation__panel.is-active .home-participation__panel-head {
        margin-bottom: 16px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        display: flex;
    }

    .home-participation__panel.is-active h3 {
        font-size: 30px;
        color: #efefef;
        margin: 0;
        flex: 1;
    }

    .home-participation__panel.is-active .home-participation__chevron {
        display: block;
        transform: rotate(180deg);
    }

    .home-participation__panel.is-active p {
        font-size: 12px;
        line-height: normal;
        margin: 0;
    }

    .home-participation__panel.is-active > .home-btn {
        min-width: 0;
        width: 100%;
        max-width: 300px;
        height: 30px;
        min-height: 30px;
        font-size: 15px;
        padding: 0 16px;
        border-radius: 30px;
        background: #efefef;
        color: var(--color-text);
        margin-top: 16px;
        display: flex;
        box-sizing: border-box;
    }

    .home-logos__carousel-outer {
        max-width: none;
        padding: 0;
    }

    /* Program preview */
    .home-program {
        padding: 20px var(--wrapper-pad) 40px;
    }

    .home-program__day-tabs {
        gap: 40px;
        margin-bottom: 24px;
        margin-left: 0;
        justify-content: center;
    }

    .home-program__day-tab {
        font-size: 30px;
        font-weight: 500;
        padding-bottom: 8px;
    }

    .home-program__day-panel.is-active {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .home-program__photo-wrap {
        display: none;
    }

    .home-program__head {
        margin-bottom: 24px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .home-program__head h3 {
        font-size: 30px;
        font-weight: 500;
    }

    .home-program__head .home-btn,
    .home-program__head .home-program__head-btn {
        width: 100%;
        max-width: 300px;
        height: 30px;
        min-height: 30px;
        font-size: 15px;
        padding: 0 16px;
        border-radius: 30px;
    }

    .home-program__head .home-program__head-btn {
        display: none;
    }

    .home-program__more {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 300px;
        height: 30px;
        min-height: 30px;
        font-size: 15px;
        padding: 0 16px;
        border-radius: 30px;
        margin: 8px auto 0;
    }

    .home-program__timeline li {
        grid-template-columns: 60px 1fr;
        grid-template-rows: auto auto;
        gap: 8px 12px;
        margin-bottom: 28px;
        align-items: start;
    }

    .home-program__icon {
        grid-row: 1 / span 2;
        grid-column: 1;
        width: 60px;
        height: 60px;
    }

    .home-program__icon img {
        width: 30px;
        height: 30px;
    }

    .home-program__time {
        grid-column: 2;
        grid-row: 1;
        font-size: 25px;
        white-space: normal;
    }

    .home-program__timeline li > div {
        grid-column: 2;
        grid-row: 2;
    }

    .home-program__event-title {
        font-size: 15px;
    }

    .home-program__event-sub {
        font-size: 12px;
        font-weight: 300;
    }

    /* Section titles */
    .home-section-title {
        font-size: 30px;
        font-weight: 500;
        margin-bottom: 20px;
    }

    .home-organizers .home-section-title,
    .home-logos--partners > .wrapper > .home-section-title,
    .home-archive > .wrapper > .home-section-title,
    .home-archive__head .home-section-title {
        margin-bottom: 0;
        padding-bottom: 20px;
        margin-left: calc(var(--home-title-align-x) - var(--wrapper-pad));
    }

    /* Honored guests — horizontal scroll carousel (4 cards per page) */
    .home-guests {
        --home-guests-mobile-card-height: 145px;
        --home-guests-mobile-gap: 16px;
        padding: 20px var(--wrapper-pad) 30px;
    }

    .home-guests .home-section-title {
        margin-bottom: 20px;
    }

    .home-guests__carousel {
        overflow-x: auto;
        overflow-y: hidden;
        max-height: calc(var(--home-guests-mobile-card-height) * 4 + var(--home-guests-mobile-gap) * 3);
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .home-guests__carousel::-webkit-scrollbar {
        display: none;
    }

    .home-guests__track {
        flex-direction: row;
        gap: 0;
        transform: none !important;
    }

    .home-guests__slide {
        flex: 0 0 100%;
        display: flex;
        flex-direction: column;
        gap: var(--home-guests-mobile-gap);
        scroll-snap-align: start;
        box-sizing: border-box;
    }

    .home-guests__card {
        flex: none;
        width: 100%;
        height: auto;
        min-width: 0;
        min-height: var(--home-guests-mobile-card-height);
        display: grid;
        grid-template-columns: 71px 1fr;
        column-gap: 15px;
        align-items: start;
        background: #fff;
        border-radius: var(--radius-card);
        padding: 15px;
        box-sizing: border-box;
        overflow: visible;
        clip-path: none;
        box-shadow: none;
    }

    .home-guests__card img {
        grid-column: 1;
        grid-row: 1;
        flex: none;
        width: 71px;
        height: 71px;
        aspect-ratio: 1;
        border-radius: 50%;
        margin: 0;
        object-fit: cover;
        align-self: start;
    }

    .home-guests__body {
        grid-column: 2;
        position: static;
        height: auto;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 10px;
        border-radius: 0;
        background: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        pointer-events: auto;
    }

    .home-guests__name {
        font-size: 15px;
        font-weight: 500;
        margin: 0;
    }

    .home-guests__role {
        font-size: 12px;
        margin: 0;
    }

    .home-carousel__arrow {
        display: none;
    }

    .home-guests__dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        margin-top: 20px;
    }

    .home-guests__dots:empty {
        display: none;
    }

    .home-guests__dot {
        width: 5px;
        height: 5px;
        border: none;
        padding: 0;
        border-radius: 30px;
        background: #bebebe;
        cursor: pointer;
    }

    .home-guests__dot.is-active {
        width: 70px;
        background: var(--color-primary);
    }

    /* Organizers */
    .home-organizers {
        padding: 20px var(--wrapper-pad) 30px;
    }

    .home-organizers__grid {
        gap: 12px;
        justify-content: center;
    }

    .home-organizers__card {
        height: 120px;
        width: auto;
        min-width: 0;
        max-width: calc(50% - 6px);
        padding: 16px 18px;
    }

    .home-organizers__card img {
        height: 72px;
        max-width: 100%;
    }

    /* Logos */
    .home-logos {
        padding: 20px var(--wrapper-pad) 30px;
    }

    .home-logos--developers {
        display: flex;
        flex-direction: column;
        padding-bottom: 30px;
    }

    .home-logos--developers .home-logos__developers-header {
        display: contents;
        padding-left: 0;
    }

    .home-logos--developers .home-logos__developers-title {
        order: 1;
        padding: 0;
        margin-bottom: 20px;
        /* display:contents removes header box — keep title on the same X as other sections */
        margin-left: calc(var(--home-title-align-x) - var(--wrapper-pad));
    }

    .home-logos--developers .home-logos__carousel-outer {
        order: 2;
        max-width: none;
        padding: 0;
    }

    .home-logos__shadow {
        display: none;
    }

    .home-logos--developers .home-logos__developers-more {
        order: 3;
        display: inline-flex;
        align-self: center;
        width: 100%;
        max-width: 300px !important;
        height: 30px;
        min-height: 30px;
        font-size: 15px;
        padding: 0 16px;
        border-radius: 30px;
        margin: 16px auto 0;
    }

    .home-logos--developers .home-logos__developers-header .home-empty-state {
        order: 2;
        padding: 0;
    }

    .home-logos__slide {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .home-logos--developers .home-logos__slide {
        grid-template-rows: none;
        grid-auto-rows: 100px;
        min-height: calc(100px * 2 + 12px);
        align-content: center;
    }

    .home-logos__item {
        height: 100px;
        padding: 8px;
        overflow: hidden;
    }

    .home-logos__item > a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
    }

    .home-logos__item img {
        display: block;
        height: 64px;
        width: auto;
        max-width: 100%;
        object-fit: contain;
    }

    .home-section-head .home-btn {
        width: 100%;
        max-width: 300px;
        height: 30px;
        min-height: 30px;
        font-size: 15px;
        padding: 0 16px;
        border-radius: 30px;
    }

    /* Registration */
    .home-registration {
        padding: 20px var(--wrapper-pad) 40px;
    }

    .home-registration .home-section-title--primary {
        font-size: 30px;
        font-weight: 500;
    }

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

    .home-registration__col {
        gap: 12px;
    }

    .home-registration__field label {
        font-size: 15px;
        margin-bottom: 4px;
    }

    .home-registration__field input,
    .home-registration__field select {
        height: 40px;
        font-size: 15px;
        padding: 0 16px;
        border-radius: 20px;
    }

    .home-registration__field .select2-container .select2-selection--single {
        height: 40px !important;
        padding-left: 16px !important;
        border-radius: 20px !important;
    }

    .home-registration__field .select2-container .select2-selection--single .select2-selection__rendered {
        font-size: 15px !important;
        line-height: 40px !important;
    }

    .home-registration__field .select2-container--default .select2-selection--single .select2-selection__arrow {
        top: 50% !important;
        transform: translateY(-50%);
        right: 12px;
    }

    .home-registration__check {
        font-size: 10px;
        gap: 8px;
    }

    .home-registration__check input {
        width: 16px;
        height: 16px;
    }

    .home-registration__submit {
        height: 30px;
        font-size: 15px;
        border-radius: 30px;
    }

    /* Archive — mobile mock */
    .home-archive {
        padding: 20px 0 40px;
        overflow-x: visible;
    }

    .home-archive > .wrapper {
        padding-left: 16px;
        padding-right: 16px;
    }

    .home-archive__head {
        display: none;
    }

    .home-archive__body {
        background: #fff;
        border-radius: 30px;
        overflow: hidden;
        padding-bottom: 16px;
    }

    .home-archive__layout {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .home-archive__card {
        display: contents;
        background: transparent;
        min-height: 0;
        overflow: visible;
        border-radius: 0;
    }

    .home-archive__year {
        order: 1;
        width: 100%;
        height: 72px;
        font-size: 48px;
        font-weight: 500;
        color: #fff;
        border-radius: 0;
        padding: 0;
    }

    .home-archive__hero {
        order: 2;
        min-height: 0;
        margin: 12px 12px 0;
        border-radius: 20px;
        overflow: hidden;
    }

    .home-archive__hero img {
        min-height: 0;
        height: auto;
        aspect-ratio: 16 / 11;
        border-radius: 20px;
    }

    .home-archive__text {
        order: 3;
        font-size: 13px;
        line-height: 1.35;
        padding: 14px 16px 8px;
    }

    .home-archive__carousel {
        order: 4;
        width: auto;
        max-width: none;
        margin: 0 12px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .home-archive__carousel::before,
    .home-archive__carousel::after {
        display: none;
    }

    .home-archive .home-carousel__arrow {
        display: none;
    }

    .home-archive__viewport,
    .home-archive__track {
        display: contents;
    }

    .home-archive__track a {
        flex: none;
        width: 100%;
        max-width: none;
    }

    .home-archive__track img {
        width: 100%;
        height: 105px;
        object-fit: cover;
        border-radius: 20px;
    }

    .home-archive__more--desktop {
        display: none;
    }

    .home-archive__more--mobile {
        order: 5;
        display: flex;
        justify-content: center;
        align-items: center;
        width: calc(100% - 32px);
        max-width: none;
        min-width: 0;
        height: 48px;
        min-height: 48px;
        margin: 16px 16px 8px;
        box-sizing: border-box;
        font-size: 18px;
        border-radius: 30px;
    }

    .home-btn {
        min-width: 0;
        height: 30px;
        min-height: 30px;
        font-size: 15px;
        padding: 0 16px;
        border-radius: 30px;
    }
}
