@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --orange: #ff6500;
    --orange-deep: #e05a00;
    --cream: #fffaf2;
    --black: #14110d;
    --ink: #1a1a1a;
    --radius-s: 8px;
    --radius-m: 14px;
    --radius-l: 20px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
    scroll-behavior: smooth;
    background: var(--orange);
}

body {
    min-height: 100vh;
    background: var(--orange);
    color: var(--cream);
    font-family: "Inter", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

button {
    font-family: inherit;
}

.social-sidebar {
    position: fixed;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 500;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.social-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    overflow: hidden;
    border-radius: 40px;
    background: var(--black);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.45s var(--ease);
    width: 50px;
    height: 50px;
    position: relative;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}

.social-item:hover {
    width: 108px;
    background: #241e16;
    border-color: rgba(255, 255, 255, 0.25);
}

.social-item .icon {
    flex: 0 0 50px;
    height: 50px;
    display: grid;
    place-items: center;
    transition: transform 0.3s;
}

.social-item .icon svg {
    width: 21px;
    height: 21px;
    fill: var(--cream);
}

.social-item:hover .icon {
    transform: translateX(3px) scale(1.05);
}

.social-item .arrow-label {
    white-space: nowrap;
    font-size: 17px;
    font-weight: 300;
    color: var(--cream);
    padding-right: 18px;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.35s, transform 0.35s;
}

.social-item:hover .arrow-label {
    opacity: 1;
    transform: translateX(0);
}

.page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 16% 22%, rgba(255, 190, 94, 0.22), transparent 27%),
        radial-gradient(circle at 84% 72%, rgba(190, 52, 0, 0.16), transparent 34%),
        linear-gradient(120deg, #ff6900 0%, #fa6000 46%, #ff6900 100%);
}

.page::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -5;
    pointer-events: none;
    background:
        linear-gradient(45deg, transparent 0 37%, rgba(202, 63, 0, 0.13) 37% 42%, transparent 42% 100%),
        linear-gradient(-45deg, transparent 0 53%, rgba(255, 170, 67, 0.12) 53% 58%, transparent 58% 100%);
    background-size: 710px 710px, 850px 850px;
    background-position: -100px -80px, 170px 100px;
}

.page::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 30;
    pointer-events: none;
    opacity: 0.07;
    mix-blend-mode: overlay;
    background-image:
        repeating-linear-gradient(0deg, rgba(255, 255, 255, .18) 0 1px, transparent 1px 4px),
        repeating-linear-gradient(90deg, rgba(50, 20, 0, .10) 0 1px, transparent 1px 5px);
}

.geometry {
    position: absolute;
    inset: -10%;
    z-index: -3;
    pointer-events: none;
    overflow: hidden;
    transition: transform 1.2s var(--ease);
}

.shape {
    position: absolute;
    border: 78px solid rgba(194, 54, 0, 0.13);
    transform: rotate(45deg);
    will-change: transform;
}

.shape--one { width: 650px; height: 650px; left: 31%; top: -400px; animation: slowFloat 16s ease-in-out infinite; }
.shape--two { width: 760px; height: 760px; right: -340px; top: 140px; border-color: rgba(194, 54, 0, 0.11); }
.shape--three { width: 550px; height: 550px; left: 8%; bottom: -430px; border-color: rgba(255, 163, 54, 0.14); animation: slowFloat 20s ease-in-out infinite reverse; }
.shape--four { width: 460px; height: 460px; left: 43%; top: 350px; border-width: 62px; border-color: rgba(255, 165, 50, 0.10); }
.shape--five { width: 340px; height: 340px; left: -150px; top: 290px; border-width: 52px; border-color: rgba(199, 54, 0, 0.10); }
.shape--six { width: 300px; height: 300px; right: 28%; bottom: -210px; border-width: 46px; border-color: rgba(255, 160, 46, 0.11); }

@keyframes slowFloat {
    0%, 100% { transform: rotate(45deg) translate3d(0, 0, 0); }
    50% { transform: rotate(46deg) translate3d(0, -14px, 0); }
}

.shell {
    position: relative;
    z-index: 2;
    width: min(1440px, calc(100% - 80px));
    min-height: 100vh;
    margin: 0 auto;
    padding-left: 90px;
    display: flex;
    flex-direction: column;
}

.shell > main {
    flex: 1 0 auto;
}

.header {
    height: 84px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
    padding: 0 10px;
    flex-shrink: 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--cream);
    text-decoration: none;
    flex-shrink: 0;
}

.brand__name {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.logo {
    position: relative;
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 2.6vw, 40px);
    flex: 1;
    margin: 0 24px;
}

.nav__link {
    color: var(--cream);
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .68;
    transition: opacity .3s ease;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 0;
}

.nav__link:hover {
    opacity: 1;
}

.nav__link.active {
    opacity: 1;
}

.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
    position: relative;
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 10px 22px;
    border-radius: var(--radius-s);
    color: var(--cream);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.btn-primary {
    background: var(--black);
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius-s);
    color: var(--cream);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-login {
    color: var(--cream);
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .68;
    transition: opacity .3s;
    padding: 6px 0;
}

.nav-login:hover {
    opacity: 1;
}

.btn-primary:hover {
    background: #2a2620;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.mobile-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    color: var(--cream);
    font-size: 22px;
    cursor: pointer;
}

.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 0 48px;
}

.hero__content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 720px;
}

.hero__eyebrow {
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.hero__title {
    font-family: "Inter", Arial, sans-serif;
    font-size: clamp(38px, 5.8vw, 72px);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--cream);
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.hero__subtitle {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 18px;
    max-width: 420px;
}

.hero__button {
    margin-top: 30px;
    width: fit-content;
    background: var(--black);
    color: var(--cream);
    border: none;
    padding: 14px 28px;
    border-radius: var(--radius-s);
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: .06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.hero__button:hover {
    background: #2a2620;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.hero__button .arrow {
    transition: transform 0.3s;
}

.hero__button:hover .arrow {
    transform: translate(3px, -3px);
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 48px;
}

.card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius-m);
    padding: 24px 24px 20px;
    cursor: pointer;
    transition: all 0.4s var(--ease);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    min-height: 128px;
    user-select: none;
    text-decoration: none;
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.05);
}

.card__icon {
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    margin-right: 18px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--black);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.4s var(--ease);
}

.card:hover .card__icon {
    transform: scale(1.05) rotate(-3deg);
}

.icon-svg {
    width: 30px;
    height: 30px;
    stroke: var(--cream);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.card__body {
    display: flex;
    flex-direction: column;
    padding-right: 12px;
}

.card__title {
    font-weight: 700;
    font-size: 14.5px;
    letter-spacing: .03em;
    text-transform: uppercase;
    line-height: 1.35;
    color: var(--cream);
}

.card__arrow {
    margin-left: auto;
    font-size: 20px;
    transition: transform 0.3s;
    opacity: 0.5;
}

.card:hover .card__arrow {
    transform: translate(4px, -4px);
    opacity: 1;
}

.content-page {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 0 60px;
}

.content-page__crumb {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    width: fit-content;
    transition: color .3s;
}

.content-page__crumb:hover {
    color: var(--cream);
}

.content-page h1 {
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 800;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--cream);
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    max-width: 760px;
    line-height: 1.08;
}

.content-page__lede {
    font-size: 17px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
    max-width: 620px;
    margin-top: 20px;
}

.content-page__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 40px;
    max-width: 780px;
}

.info-block {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-m);
    padding: 22px 24px;
}

.info-block h3 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: var(--cream);
}

.info-block p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
}

.placeholder-page {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 0;
    gap: 18px;
    max-width: 560px;
}

.placeholder-page__tag {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
}

.placeholder-page h1 {
    font-size: clamp(28px, 3.6vw, 42px);
    font-weight: 800;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--cream);
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    line-height: 1.12;
}

.placeholder-page p {
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.8);
}

.btn-back {
    background: var(--black);
    color: var(--cream);
    border: none;
    padding: 12px 26px;
    border-radius: var(--radius-s);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

.btn-back:hover {
    background: #2a2620;
    transform: translateY(-2px);
}

.login-page {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px 0;
    text-align: center;
}

.login-page h1 {
    font-size: 2.4rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: var(--cream);
    margin-bottom: 4px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.login-page .login-sub {
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 32px;
    font-size: 0.95rem;
    font-weight: 300;
}

.login-form {
    background: #191510;
    padding: 44px 52px;
    border-radius: var(--radius-l);
    width: 100%;
    max-width: 420px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.login-form .field-group {
    margin-bottom: 18px;
    text-align: left;
}

.login-form .field-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 6px;
}

.login-form input:not([type="checkbox"]) {
    display: block;
    width: 100%;
    padding: 14px 16px;
    border-radius: var(--radius-s);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s, background 0.3s;
    font-weight: 400;
}

.login-form input:focus {
    border-color: var(--orange);
    background: rgba(255, 255, 255, 0.06);
}

.login-form input::placeholder {
    color: rgba(255, 255, 255, 0.2);
    font-weight: 300;
}

.login-form .btn-login {
    background: var(--black);
    color: var(--cream);
    border: none;
    padding: 15px;
    border-radius: var(--radius-s);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    width: 100%;
    margin-top: 6px;
}

.login-form .btn-login:hover {
    background: #2a2620;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.login-form .divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 20px 0 16px;
    color: rgba(255, 255, 255, 0.15);
    font-size: 0.72rem;
}

.login-form .divider::before,
.login-form .divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.login-form .switch-link {
    background: none;
    border: none;
    color: var(--orange);
    cursor: pointer;
    font-size: 0.85rem;
    transition: color 0.3s;
    font-weight: 500;
}

.login-form .switch-link:hover {
    color: #ff8c3a;
}

.btn-back-home {
    margin-top: 28px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--cream);
    padding: 12px 30px;
    border-radius: var(--radius-s);
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-back-home:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* ===== FOOTER LEVEL UP STYLE ===== */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding: 40px 10px 30px;
    margin-top: 60px;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.footer a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color .3s;
}

.footer a:hover {
    color: var(--cream);
}

.footer__top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.footer__logo {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    display: grid;
    place-items: center;
}

.footer__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.footer__brand-name {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.footer__brand-name strong {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--cream);
    letter-spacing: .02em;
}

.footer__brand-name span {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 2px;
}

.footer__info {
    font-size: 12.5px;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.6);
}

.footer__info b {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

.footer__info div {
    margin-bottom: 2px;
}

.footer__contact {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__contact-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 8px;
}

.footer__contact a {
    color: var(--cream);
    font-weight: 600;
    font-size: 13.5px;
}

.footer__socials {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-bottom: 22px;
}

.footer__social {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--black);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: grid;
    place-items: center;
    transition: all .3s var(--ease);
    flex-shrink: 0;
}

.footer__social:hover {
    background: #2a2620;
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.35);
}

.footer__social svg {
    width: 19px;
    height: 19px;
    fill: var(--cream);
}

.footer__nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.footer__nav a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    transition: color .3s, transform .3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer__nav a:hover {
    color: var(--cream);
    transform: translateX(-4px);
}

.footer__docs {
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__doc-link {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.55);
    width: fit-content;
    position: relative;
    transition: color .3s;
}

.footer__doc-link:hover {
    color: var(--cream);
}

.footer__doc-link::before {
    content: "▸";
    color: var(--orange);
    margin-right: 8px;
    opacity: .7;
    font-size: 10px;
}

.footer__bottom {
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

.footer__up {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    transition: color .3s;
}

.footer__up:hover {
    color: var(--cream);
}

@media (max-width: 1024px) {
    .footer__top { grid-template-columns: 1fr; gap: 28px; }
    .footer__socials { justify-content: flex-start; }
    .footer__nav { align-items: flex-start; }
    .footer__nav a:hover { transform: translateX(4px); }
}

@media (max-width: 768px) {
    .footer { padding: 30px 4px 20px; margin-top: 40px; }
    .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 1024px) {
    .shell { width: calc(100% - 48px); padding-left: 70px; }
    .nav { gap: 16px; }
    .nav__link { font-size: 13px; }
    .cards { grid-template-columns: 1fr 1fr; }
    .content-page__grid { grid-template-columns: 1fr; }
    .btn-outline, .btn-primary { padding: 8px 18px; font-size: 12px; }
    .social-sidebar { left: 12px; }
    .social-item { width: 44px; height: 44px; }
    .social-item:hover { width: 90px; }
    .social-item .icon { flex: 0 0 44px; height: 44px; }
    .social-item .icon svg { width: 20px; height: 20px; }
    .social-item .arrow-label { font-size: 15px; }
}

@media (max-width: 768px) {
    .shell { width: calc(100% - 30px); padding-left: 10px; padding-right: 10px; }
    .header { height: 68px; }
    .brand__name { font-size: 15px; }
    .logo { width: 38px; height: 38px; flex-basis: 38px; }
    .nav {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: rgba(10, 8, 5, 0.92);
        flex-direction: column;
        padding: 20px;
        gap: 14px;
        z-index: 100;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin: 0;
    }
    .nav.is-mobile-open { display: flex; }
    .mobile-toggle { display: block; }
    .header-actions .btn-outline { display: none; }
    .header-actions .btn-primary { padding: 6px 16px; font-size: 11px; }
    .hero { padding: 26px 0 20px; }
    .cards { grid-template-columns: 1fr; gap: 12px; margin-top: 32px; }
    .card { min-height: 90px; padding: 16px 16px 14px; }
    .card__icon { width: 52px; height: 52px; flex-basis: 52px; margin-right: 14px; }
    .icon-svg { width: 26px; height: 26px; }
    .card__title { font-size: 15px; }
    .login-form { padding: 30px 24px; }
    .login-page h1 { font-size: 2.1rem; }
    .social-sidebar { display: none; }
    .footer { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .hero__button { font-size: 11px; padding: 12px 22px; }
    .header-actions .btn-primary { font-size: 10px; padding: 4px 12px; }
    .login-form input:not([type="checkbox"]) { font-size: 0.9rem; padding: 12px 14px; }
    .brand__name { font-size: 13px; }
}

.hero__title .accent {
    color: var(--black);
    text-shadow: none;
}

.method-toggle {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    padding: 4px;
    margin-bottom: 20px;
}

.method-toggle button {
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.55);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: 9px 20px;
    border-radius: 999px;
    cursor: pointer;
    transition: all .3s;
}

.method-toggle button.active {
    background: var(--black);
    color: var(--cream);
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.consent-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 16px 0 18px;
    text-align: left;
}

.consent-line input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border-radius: 5px;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.04);
    margin-top: 2px;
    accent-color: var(--orange);
    flex-shrink: 0;
    cursor: pointer;
    transition: all .2s;
    position: relative;
}

.consent-line input[type="checkbox"]:checked {
    background: var(--orange);
    border-color: var(--orange);
}

.consent-line input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.consent-line label {
    font-size: 12.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.6);
}

.sub-hero {
    padding: 44px 0 8px;
}

.sub-hero__tag {
    display: inline-block;
    background: var(--black);
    color: var(--cream);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.sub-hero h1 {
    font-size: clamp(30px, 4.4vw, 50px);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.05;
    color: var(--cream);
    max-width: 780px;
}

.sub-hero p {
    font-size: 15.5px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
    max-width: 600px;
    margin-top: 16px;
}

.sub-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.contest-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 14px;
}

.contest-tab {
    border: none;
    background: transparent;
    color: var(--cream);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: 10px 18px;
    border-radius: 999px;
    cursor: pointer;
    opacity: .6;
    transition: all .3s;
}

.contest-tab:hover {
    opacity: .9;
}

.contest-tab.active {
    opacity: 1;
    background: var(--black);
}

.tab-panel {
    display: none;
    padding: 34px 0 60px;
}

.tab-panel.active {
    display: block;
    animation: fadeTab .4s var(--ease);
}

@keyframes fadeTab {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
}

.filter-row select,
.filter-row input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--cream);
    padding: 11px 16px;
    border-radius: var(--radius-s);
    font-size: 13.5px;
    font-family: inherit;
    outline: none;
    transition: border-color .3s;
}

.filter-row select:focus,
.filter-row input:focus {
    border-color: var(--orange);
}

.filter-row select option {
    background: #191510;
    color: var(--cream);
}

.event-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.event-card {
    background: rgba(10, 8, 5, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-m);
    overflow: hidden;
    transition: all .35s var(--ease);
    opacity: 0;
    transform: translateY(16px);
    animation: eventCardIn .6s var(--ease) forwards;
}

@keyframes eventCardIn {
    to { opacity: 1; transform: translateY(0); }
}

.event-card:nth-child(1) { animation-delay: .02s; }
.event-card:nth-child(2) { animation-delay: .08s; }
.event-card:nth-child(3) { animation-delay: .14s; }
.event-card:nth-child(4) { animation-delay: .2s; }
.event-card:nth-child(5) { animation-delay: .26s; }
.event-card:nth-child(6) { animation-delay: .32s; }
.event-card:nth-child(7) { animation-delay: .38s; }
.event-card:nth-child(8) { animation-delay: .44s; }
.event-card:nth-child(9) { animation-delay: .5s; }
.event-card:nth-child(10) { animation-delay: .56s; }
.event-card:nth-child(11) { animation-delay: .62s; }

.event-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

.event-card__photo {
    position: relative;
    height: 140px;
    overflow: hidden;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.16), transparent 55%),
        linear-gradient(135deg, #2a1c0c 0%, #140f09 100%);
}

.event-card__photo::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 10px);
    opacity: .5;
}

.event-card__photo svg {
    position: absolute;
    right: 14px;
    bottom: -6px;
    width: 92px;
    height: 92px;
    opacity: .9;
    stroke: rgba(255, 255, 255, 0.85);
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .5s var(--ease);
}

.event-card:hover .event-card__photo svg {
    transform: translateY(-6px) scale(1.05);
}

.event-card__body {
    padding: 20px 22px 22px;
}

.event-card__city {
    display: inline-block;
    background: var(--black);
    color: var(--cream);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.event-card h3 {
    font-size: 16.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .01em;
    color: var(--cream);
    margin-bottom: 6px;
    line-height: 1.3;
}

.event-card__meta {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    margin-bottom: 16px;
}

.event-card__price {
    font-size: 14px;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 16px;
}

.event-card__actions {
    display: flex;
    gap: 8px;
}

.event-card__actions button,
.event-card__actions a {
    flex: 1;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    padding: 10px 10px;
    border-radius: var(--radius-s);
    cursor: pointer;
    transition: all .3s;
    text-decoration: none;
}

.event-card__actions .ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--cream);
}

.event-card__actions .ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.event-card__actions .solid {
    background: var(--black);
    border: none;
    color: var(--cream);
}

.event-card__actions .solid:hover {
    background: #2a2620;
}

.city-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.city-chip {
    background: rgba(10, 8, 5, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-m);
    padding: 20px;
    cursor: pointer;
    transition: all .3s var(--ease);
    text-align: left;
}

.city-chip:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(20, 15, 10, 0.75);
}

.city-chip__name {
    font-weight: 700;
    font-size: 14.5px;
    text-transform: uppercase;
    color: var(--cream);
    margin-bottom: 4px;
}

.city-chip__count {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.6);
}

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

.participant-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-m);
    padding: 24px;
}

.participant-card__age {
    display: inline-block;
    background: var(--black);
    color: var(--cream);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.participant-card h3 {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--cream);
    margin-bottom: 8px;
}

.participant-card p {
    font-size: 13.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.72);
}

.format-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.format-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-m);
    padding: 22px;
    text-align: center;
}

.format-card__num {
    font-size: 34px;
    font-weight: 800;
    color: var(--black);
    background: var(--cream);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 14px;
}

.format-card h3 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--cream);
    margin-bottom: 8px;
}

.format-card p {
    font-size: 13px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.7);
}

.contest-form {
    background: #191510;
    border-radius: var(--radius-l);
    padding: 36px 40px;
    max-width: 640px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.contest-form .field-group {
    margin-bottom: 16px;
    text-align: left;
}

.contest-form .field-group label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 6px;
}

.contest-form input:not([type="checkbox"]),
.contest-form select {
    display: block;
    width: 100%;
    padding: 13px 16px;
    border-radius: var(--radius-s);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s, background 0.3s;
    font-family: inherit;
}

.contest-form input:focus,
.contest-form select:focus {
    border-color: var(--orange);
    background: rgba(255, 255, 255, 0.06);
}

.contest-form select option {
    background: #191510;
}

.contest-form .btn-submit {
    background: var(--black);
    color: var(--cream);
    border: none;
    padding: 15px;
    border-radius: var(--radius-s);
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    width: 100%;
    margin-top: 6px;
}

.contest-form .btn-submit:hover {
    background: #2a2620;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .event-grid { grid-template-columns: 1fr; gap: 14px; }
    .event-card {
        flex-direction: column;
        padding: 14px;
        min-height: auto;
    }
    .event-card__photo {
        width: 100%;
        height: 220px;
    }
    .event-card h3 { font-size: 18px; }
    .event-card__actions { flex-direction: column; }
    .event-card__actions button,
    .event-card__actions a { width: 100%; min-width: 0; }
}

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

.cards .card,
.city-chip,
.participant-card,
.format-card {
    opacity: 0;
    animation: fadeUp .6s var(--ease) forwards;
}

.cards .card:nth-child(1) { animation-delay: .05s; }
.cards .card:nth-child(2) { animation-delay: .14s; }
.cards .card:nth-child(3) { animation-delay: .23s; }

.city-grid .city-chip:nth-child(1) { animation-delay: .02s; }
.city-grid .city-chip:nth-child(2) { animation-delay: .06s; }
.city-grid .city-chip:nth-child(3) { animation-delay: .1s; }
.city-grid .city-chip:nth-child(4) { animation-delay: .14s; }
.city-grid .city-chip:nth-child(5) { animation-delay: .18s; }
.city-grid .city-chip:nth-child(6) { animation-delay: .22s; }
.city-grid .city-chip:nth-child(7) { animation-delay: .26s; }
.city-grid .city-chip:nth-child(8) { animation-delay: .3s; }
.city-grid .city-chip:nth-child(9) { animation-delay: .34s; }
.city-grid .city-chip:nth-child(10) { animation-delay: .38s; }
.city-grid .city-chip:nth-child(11) { animation-delay: .42s; }

.participant-grid .participant-card:nth-child(1) { animation-delay: .04s; }
.participant-grid .participant-card:nth-child(2) { animation-delay: .12s; }
.participant-grid .participant-card:nth-child(3) { animation-delay: .2s; }
.participant-grid .participant-card:nth-child(4) { animation-delay: .28s; }

.format-grid .format-card:nth-child(1) { animation-delay: .04s; }
.format-grid .format-card:nth-child(2) { animation-delay: .14s; }
.format-grid .format-card:nth-child(3) { animation-delay: .24s; }

.sub-hero__tag,
.sub-hero h1,
.sub-hero p,
.sub-hero__actions {
    opacity: 0;
    animation: fadeUp .7s var(--ease) forwards;
}

.sub-hero__tag { animation-delay: .02s; }
.sub-hero h1 { animation-delay: .1s; }
.sub-hero p { animation-delay: .2s; }
.sub-hero__actions { animation-delay: .3s; }

.hero__content > * {
    opacity: 0;
    animation: fadeUp .7s var(--ease) forwards;
}

.hero__eyebrow { animation-delay: .02s; }
.hero__title { animation-delay: .1s; }
.hero__subtitle { animation-delay: .2s; }
.hero__content .hero__button { animation-delay: .3s; }

.btn-primary:hover,
.hero__button:hover {
    transform: translateY(-3px) scale(1.02);
}

.mobile-toggle,
.nav__link,
.social-item,
.city-chip,
.event-card__actions button,
.contest-tab {
    transition: all .25s var(--ease);
}

.volunteer-btn {
    position: absolute;
    top: calc(100% + 30px);
    right: 0;
    z-index: 400;
    background: var(--black);
    color: var(--cream);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-s);
    padding: 18px 16px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .02em;
    text-decoration: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.4;
    transition: all .3s var(--ease);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.volunteer-btn span {
    display: block;
}

.volunteer-btn .gap {
    height: 8px;
}

.volunteer-btn:hover {
    background: #2a2620;
    transform: translateY(2px);
}

@media (max-width: 768px) {
    .volunteer-btn { display: none; }
}

.page--dark {
    --black: #ff6a00;
    background:
        radial-gradient(circle at 20% 15%, rgba(255, 110, 20, 0.08), transparent 32%),
        radial-gradient(circle at 82% 78%, rgba(255, 80, 0, 0.07), transparent 36%),
        linear-gradient(160deg, #0b0906 0%, #17110a 50%, #0b0906 100%);
}

.page--dark::before {
    opacity: 0.16;
}

.page--dark::after {
    opacity: 0.05;
}

.page--dark .geometry {
    position: absolute;
    inset: -10%;
}

.page--dark .geometry::before {
    content: "";
    position: absolute;
    inset: -30%;
    background: conic-gradient(from 0deg,
        rgba(255, 106, 0, 0.05),
        rgba(255, 190, 70, 0.12),
        rgba(255, 40, 0, 0.06),
        rgba(255, 106, 0, 0.05));
    filter: blur(90px);
    animation: neonRotate 26s linear infinite;
    z-index: -1;
}

@keyframes neonRotate {
    to { transform: rotate(360deg); }
}

.page--dark .shape {
    border-color: rgba(255, 106, 0, 0.45);
    animation: neonShimmer 7s ease-in-out infinite;
}

.page--dark .shape--one { animation: slowFloat 16s ease-in-out infinite, neonShimmer 7s ease-in-out infinite; }
.page--dark .shape--two { animation-delay: 1.1s; }
.page--dark .shape--three { animation: slowFloat 20s ease-in-out infinite reverse, neonShimmer 7s ease-in-out infinite 2.3s; }
.page--dark .shape--four { animation-delay: 3.4s; }
.page--dark .shape--five { animation-delay: 4.6s; }
.page--dark .shape--six { animation-delay: 5.8s; }

@keyframes neonShimmer {
    0%, 100% {
        border-color: rgba(255, 106, 0, 0.38);
        box-shadow: 0 0 40px rgba(255, 106, 0, 0.15), 0 0 90px rgba(255, 70, 0, 0.07);
        filter: brightness(1) saturate(1);
    }
    20% {
        border-color: rgba(255, 150, 40, 0.55);
        box-shadow: 0 0 65px rgba(255, 140, 40, 0.28), 0 0 130px rgba(255, 90, 0, 0.14);
        filter: brightness(1.15) saturate(1.15);
    }
    45% {
        border-color: rgba(255, 205, 90, 0.72);
        box-shadow: 0 0 95px rgba(255, 195, 90, 0.42), 0 0 175px rgba(255, 120, 0, 0.2);
        filter: brightness(1.3) saturate(1.3);
    }
    70% {
        border-color: rgba(255, 55, 0, 0.6);
        box-shadow: 0 0 70px rgba(255, 50, 0, 0.32), 0 0 140px rgba(255, 20, 0, 0.16);
        filter: brightness(1.1) saturate(1.25);
    }
}

@media (max-width: 768px) {
    .page--dark .shape { animation-duration: 7s; }
    .page--dark .geometry::before { animation-duration: 22s; }
}

.jury-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.jury-card {
    background: rgba(10, 8, 5, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-m);
    padding: 18px 16px;
    text-align: center;
    text-decoration: none;
    color: var(--cream);
    transition: all .3s var(--ease);
    opacity: 0;
    transform: translateY(14px);
    animation: eventCardIn .5s var(--ease) forwards;
}

.jury-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(20, 15, 10, 0.75);
}

.jury-card__avatar {
    width: 46px;
    height: 46px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: var(--black);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 14px;
}

.jury-card__num {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.jury-card__link {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--cream);
}

.jury-card__link .arrow { margin-left: 4px; opacity: .7; }

.org-leader {
    background: rgba(10, 8, 5, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-l);
    padding: 30px 32px;
    margin-bottom: 20px;
}

.org-leader__badge {
    display: inline-block;
    background: var(--black);
    color: var(--cream);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.org-leader h3 {
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.org-leader ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.org-leader li {
    font-size: 14.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
    padding-left: 20px;
    position: relative;
}

.org-leader li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--black);
}

.curator-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.curator-card {
    background: rgba(10, 8, 5, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-m);
    padding: 22px 24px;
}

.curator-card__tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--black);
    margin-bottom: 8px;
}

.curator-card h4 {
    font-size: 16px;
    font-weight: 700;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    max-width: 780px;
    margin-top: 30px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-m);
    padding: 22px 20px;
    text-decoration: none;
    color: var(--cream);
    transition: all .3s;
    text-align: left;
}

.contact-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.4);
}

.contact-card__label {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 6px;
}

.contact-card__value {
    font-size: 16px;
    font-weight: 700;
}

@media (max-width: 1024px) {
    .jury-grid { grid-template-columns: repeat(3, 1fr); }
    .curator-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .jury-grid { grid-template-columns: repeat(2, 1fr); }
    .org-leader { padding: 22px 20px; }
}

.info-subsection {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.info-subsection h2 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 18px;
}

.info-subsection .content-page__lede {
    margin-top: 0;
    margin-bottom: 22px;
    max-width: 100%;
}

.info-subsection .org-leader,
.info-subsection .curator-grid {
    margin-top: 18px;
}

/* ===== Наследники талантов — standalone upgrades ===== */

.stat-row {
    display: flex;
    gap: 30px;
    margin-top: 34px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-item__num {
    font-size: 30px;
    font-weight: 800;
    color: var(--cream);
    line-height: 1;
}

.stat-item__label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.usp-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 36px;
    padding: 24px 28px;
    background: linear-gradient(120deg, rgba(255, 106, 0, 0.14), rgba(255, 106, 0, 0.03));
    border: 1px solid rgba(255, 106, 0, 0.3);
    border-radius: var(--radius-l);
    text-decoration: none;
    color: var(--cream);
    transition: all .3s var(--ease);
}

.usp-banner:hover {
    border-color: rgba(255, 106, 0, 0.55);
    transform: translateY(-2px);
}

.usp-banner__icon {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--black);
    display: grid;
    place-items: center;
    font-size: 22px;
}

.usp-banner__body { flex: 1; }
.usp-banner__tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4px;
}
.usp-banner__body h3 {
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.usp-banner__body p {
    font-size: 13.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    max-width: 640px;
}
.usp-banner__arrow {
    font-size: 22px;
    opacity: .6;
    flex-shrink: 0;
}

.jury-note {
    margin-top: 18px;
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.55);
}

/* Scroll-reveal */
.reveal,
.usp-banner,
.format-card,
.info-block,
.event-card,
.jury-card,
.city-chip,
.participant-card{
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.reveal.in-view,
.usp-banner.in-view,
.format-card.in-view,
.info-block.in-view,
.event-card.in-view,
.jury-card.in-view,
.city-chip.in-view,
.participant-card.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* event-card / jury-card already animate in via keyframes when tab becomes active;
   scroll-reveal only takes over once .in-view is added, keyframe animation still applies on first paint */
.event-card.in-view,
.jury-card.in-view,
.city-chip.in-view {
    animation: none;
}

@media (max-width: 768px) {
    .stat-row { gap: 18px; }
    .stat-item__num { font-size: 24px; }
    .usp-banner { flex-direction: column; align-items: flex-start; text-align: left; }
    .usp-banner__arrow { display: none; }
}

/* ===== Multi-page upgrade: calendar, page headers, event detail ===== */

.page-header {
    padding: 40px 0 10px;
}

.page-header__crumb {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    transition: color .3s;
}
.page-header__crumb:hover { color: var(--cream); }

.page-header__tag {
    display: inline-block;
    background: var(--black);
    color: var(--cream);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.page-header h1 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: var(--cream);
    line-height: 1.05;
}

.page-header p {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.78);
    max-width: 640px;
}

/* Calendar */
.cal-card {
    background: rgba(10, 8, 5, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-l);
    padding: 28px 30px;
    margin-top: 30px;
}

.cal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.cal-head h2 {
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
}

.cal-nav {
    display: flex;
    gap: 8px;
}

.cal-nav button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: var(--cream);
    font-size: 16px;
    cursor: pointer;
    transition: all .25s;
}
.cal-nav button:hover:not(:disabled) { background: var(--black); border-color: var(--black); }
.cal-nav button:disabled { opacity: .25; cursor: default; }

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.cal-weekday {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    padding-bottom: 6px;
}

.cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
}

.cal-day--empty { visibility: hidden; }

.cal-day--has-event {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 106, 0, 0.4);
    cursor: pointer;
    font-weight: 700;
    color: var(--cream);
    transition: all .25s;
}
.cal-day--has-event:hover { background: var(--black); transform: translateY(-2px); }

.cal-day__dot {
    position: absolute;
    bottom: 5px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--black);
}

.cal-list {
    margin-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cal-list-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    text-decoration: none;
    color: var(--cream);
    transition: all .25s;
    flex-wrap: wrap;
}
.cal-list-item:hover { background: rgba(255, 255, 255, 0.07); }
.cal-list-item__date { font-size: 12px; font-weight: 700; color: var(--black); background: var(--cream); padding: 3px 9px; border-radius: 999px; }
.cal-list-item__city { font-weight: 700; font-size: 14px; }
.cal-list-item__venue { font-size: 13px; color: rgba(255, 255, 255, 0.6); flex: 1; }
.cal-list-item .arrow { opacity: .6; }

.empty-note { color: rgba(255, 255, 255, 0.55); font-size: 13.5px; padding: 10px 0; }

.upcoming-note {
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-m);
    padding: 20px 24px;
}
.upcoming-note h3 { font-size: 14px; text-transform: uppercase; margin-bottom: 10px; }
.upcoming-note .city-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.upcoming-note .city-pill {
    font-size: 12.5px;
    font-weight: 600;
    padding: 6px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Event detail page */
.event-hero {
    background: rgba(10, 8, 5, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-l);
    padding: 30px 32px;
    margin-top: 26px;
    display: flex;
    gap: 32px;
    align-items: flex-start;
}
.event-hero > *:not(.event-hero__photo) {
    flex: 1;
    min-width: 0;
}
@media (max-width: 768px) {
    .event-hero {
        flex-direction: column;
        padding: 20px 18px;
        gap: 20px;
    }
}
.event-hero__row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.event-hero h2 { font-size: 26px; font-weight: 800; text-transform: uppercase; margin-bottom: 14px; }
.event-hero__meta { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.event-hero__meta div { font-size: 14.5px; color: rgba(255, 255, 255, 0.8); }
.event-hero__meta b { color: var(--cream); }
.event-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.breadcrumb {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 14px;
}
.breadcrumb a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.breadcrumb a:hover { color: var(--cream); }

@media (max-width: 768px) {
    .cal-card { padding: 20px 16px; }
    .cal-day { font-size: 11px; }
    .cal-list-item { flex-direction: column; align-items: flex-start; }
}

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

.album-tile {
    aspect-ratio: 4/3;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-m);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 12.5px;
    text-align: center;
    padding: 16px;
}

.album-tile svg {
    width: 36px;
    height: 36px;
    stroke: rgba(255, 255, 255, 0.3);
    fill: none;
    stroke-width: 1.6;
}

.album-photo {
    aspect-ratio: 4/3;
    border-radius: var(--radius-m);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: transform .3s var(--ease), border-color .3s;
}
.album-photo:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.4);
}
.album-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s var(--ease);
}
.album-photo:hover img { transform: scale(1.08); }

.album-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(10, 8, 5, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    cursor: zoom-out;
}
.album-lightbox.open { display: flex; }
.album-lightbox img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .album-grid { grid-template-columns: repeat(2, 1fr); }
}

.event-hero__photo {
    width: 340px;
    height: 340px;
    flex-shrink: 0;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(135deg, #2a1c0c 0%, #140f09 100%);
    display: grid;
    place-items: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.event-hero__photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 8px;
    box-sizing: border-box;
}
@media (max-width: 768px) {
    .event-hero__photo {
        width: 100%;
        height: auto;
        max-height: 400px;
    }
    .event-hero__photo img {
        max-height: 400px;
        padding: 4px;
    }
}

.hero-letter {
    max-width: 780px;
    margin-top: 20px;
}
.hero-letter p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 12px;
}
.hero-letter__sign {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 13.5px !important;
    color: rgba(255, 255, 255, 0.7) !important;
}
.hero-letter__sign b { color: var(--cream); font-size: 16px; }
/* ===== Multi-page upgrade: cities list, jury, calendar photos ===== */

.city-list { display: flex; flex-direction: column; gap: 10px; margin-top: 30px; }
.city-row {
    display: flex; align-items: center; gap: 16px;
    padding: 18px 22px;
    background: rgba(10, 8, 5, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-m);
    text-decoration: none; color: var(--cream);
    transition: all .3s var(--ease);
}
.city-row:hover {
    transform: translateX(6px);
    border-color: rgba(255, 106, 0, 0.5);
    background: rgba(20, 15, 10, 0.75);
}
.city-row__num {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--black); display: grid; place-items: center;
    font-weight: 800; font-size: 16px;
}
.city-row__name { font-size: 16px; font-weight: 700; text-transform: uppercase; flex: 1; }
.city-row__count { font-size: 13px; color: rgba(255,255,255,.6); }
.city-row__arrow { font-size: 20px; opacity: .5; transition: all .3s; }
.city-row:hover .city-row__arrow { opacity: 1; transform: translate(4px, -4px); }

.jury-card__name {
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--cream);
    margin-bottom: 6px;
}

.cal-list-item__photo {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}
/* ===== ЖЁСТКИЙ ФИКС ОТСТУПОВ info.html ===== */
.page--dark .info-subsection {
    margin-top: 8px !important;
    padding-top: 8px !important;
    margin-bottom: 8px !important;
}
.page--dark .info-subsection:first-of-type {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
.page--dark .info-subsection h2 {
    margin-top: 0 !important;
    margin-bottom: 8px !important;
}
.page--dark .info-subsection .org-leader,
.page--dark .info-subsection .curator-grid {
    margin-top: 8px !important;
    margin-bottom: 0 !important;
}
.page--dark .content-page__grid {
    margin-top: 8px !important;
    margin-bottom: 8px !important;
}
.page--dark .format-grid {
    margin-top: 8px !important;
    margin-bottom: 8px !important;
}
.page--dark .info-block {
    margin: 0 !important;
    padding: 12px !important;
}
.page--dark .info-block p {
    margin-bottom: 0 !important;
}
.page--dark .org-leader {
    margin-bottom: 8px !important;
    padding: 22px 24px !important;
}
.page--dark .org-leader ul {
    margin-top: 4px !important;
    margin-bottom: 0 !important;
}
.page--dark .curator-grid {
    margin-top: 8px !important;
    margin-bottom: 0 !important;
}

/* ===== Jury card name ===== */
.jury-card__name {
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--cream);
    margin-bottom: 6px;
}
/* АВАРИЙНЫЙ ФИКС — убить все отступы в info */
.page--dark main {
    display: flex;
    flex-direction: column;
}
.page--dark .format-grid {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
.page--dark .content-page__grid {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.page--dark .info-subsection:first-of-type {
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: none !important;
}
.page--dark .info-subsection {
    margin-top: 20px !important;
    padding-top: 16px !important;
}
.page--dark .info-subsection + .info-subsection {
    margin-top: 24px !important;
}
.page--dark .org-leader {
    margin-top: 0 !important;
}
.page--dark .curator-grid {
    margin-top: 12px !important;
}
/* ===== POPUP ближайшего мероприятия ===== */
.nk-popup {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 900;
    width: 320px;
    background: linear-gradient(160deg, #1a140c 0%, #0f0b06 100%);
    border: 1px solid rgba(255, 106, 0, 0.4);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.65), 0 0 40px rgba(255, 106, 0, 0.12);
    opacity: 0;
    transform: translateY(24px) scale(.96);
    transition: opacity .4s cubic-bezier(.22, 1, .36, 1), transform .4s cubic-bezier(.22, 1, .36, 1);
    pointer-events: none;
}

.nk-popup.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.nk-popup__close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fffaf2;
    font-size: 12px;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: all .25s;
    font-family: inherit;
}

.nk-popup__close:hover {
    background: rgba(255, 106, 0, 0.8);
    border-color: rgba(255, 106, 0, 0.9);
    transform: rotate(90deg);
}

.nk-popup__photo {
    position: relative;
    height: 110px;
    background: linear-gradient(135deg, #2a1c0c 0%, #140f09 100%);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.nk-popup__photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(15, 11, 6, 0.95) 100%);
}

.nk-popup__tag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: rgba(255, 106, 0, 0.95);
    color: #fffaf2;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
}

.nk-popup__body {
    padding: 16px 20px 20px;
}

.nk-popup__city {
    display: inline-block;
    background: rgba(255, 106, 0, 0.15);
    color: #ff6500;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
}

.nk-popup__title {
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    color: #fffaf2;
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin-bottom: 8px;
}

.nk-popup__meta {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
    margin-bottom: 6px;
}

.nk-popup__price {
    font-size: 13px;
    font-weight: 700;
    color: #fffaf2;
    margin-bottom: 14px;
}

.nk-popup__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nk-popup__btn {
    flex: 1;
    background: #ff6500;
    color: #fff;
    text-decoration: none;
    text-align: center;
    padding: 11px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    transition: all .25s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.nk-popup__btn:hover {
    background: #e05a00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 106, 0, 0.4);
}

.nk-popup__link {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: color .25s;
    white-space: nowrap;
}

.nk-popup__link:hover {
    color: #fffaf2;
}

@media (max-width: 480px) {
    .nk-popup {
        left: 12px;
        right: 12px;
        bottom: 12px;
        width: auto;
        max-width: 400px;
        margin: 0 auto;
    }
    .nk-popup__photo { height: 90px; }
    .nk-popup__body { padding: 14px 16px 16px; }
    .nk-popup__title { font-size: 15px; }
}
/* ===== Сезон 2026: новый календарь и города ===== */

/* Селектор года */
.cal-years {
    display: flex;
    gap: 8px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.cal-year {
    border: 1px solid rgba(255,255,255,0.2);
    background: transparent;
    color: var(--cream);
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all .25s;
    font-family: inherit;
}
.cal-year:hover { border-color: rgba(255,255,255,0.5); }
.cal-year--active { background: var(--black); border-color: var(--black); }

/* 12 месяцев компактно */
.cal-months-strip {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 6px;
    margin-top: 20px;
}
.cal-month-chip {
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.03);
    color: var(--cream);
    padding: 10px 6px;
    border-radius: 10px;
    cursor: pointer;
    transition: all .25s;
    font-family: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}
.cal-month-chip:hover:not(:disabled) { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.07); }
.cal-month-chip--active { border-color: var(--orange); background: rgba(255,106,0,0.15); }
.cal-month-chip--empty { opacity: 0.35; cursor: default; }
.cal-month-chip__name { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.cal-month-chip__count { font-size: 14px; font-weight: 800; color: var(--orange); }
.cal-month-chip--empty .cal-month-chip__count { color: rgba(255,255,255,0.3); }

/* Фильтры */
.cal-filters {
    display: flex;
    gap: 14px;
    align-items: end;
    margin-top: 24px;
    flex-wrap: wrap;
    padding: 18px 22px;
    background: rgba(10,8,5,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-m);
}
.cal-filters__field { display: flex; flex-direction: column; gap: 5px; min-width: 180px; flex: 1; }
.cal-filters__field label {
    font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}
.cal-filters__field select {
    background: #1e222b; border: 1px solid rgba(255,255,255,0.12);
    color: var(--cream); border-radius: 8px; padding: 10px 14px;
    font-family: inherit; font-size: 13.5px; outline: none;
}
.cal-filters__field select:focus { border-color: var(--orange); }
.cal-filters__reset {
    background: transparent; border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.7); padding: 10px 18px; border-radius: 8px;
    font-family: inherit; font-size: 12.5px; cursor: pointer; transition: all .25s;
}
.cal-filters__reset:hover { border-color: #fff; color: #fff; }

/* Список мероприятий — карточки */
.cal-list-full {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}
.cal-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 14px 18px;
    background: rgba(10,8,5,0.62);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-m);
    text-decoration: none;
    color: var(--cream);
    transition: all .3s var(--ease);
    position: relative;
}
.cal-card:hover {
    border-color: rgba(255,106,0,0.5);
    background: rgba(20,15,10,0.75);
    transform: translateX(6px);
}
.cal-card__photo {
    width: 140px; height: 140px; flex-shrink: 0;
    border-radius: 14px; overflow: hidden;
    background: linear-gradient(135deg, #2a1c0c 0%, #140f09 100%);
    display: grid; place-items: center;
}
.cal-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cal-card__photo--empty { color: rgba(255,106,0,0.55); font-size: 44px; border: 1px dashed rgba(255,106,0,0.3); }
.cal-card__body { flex: 1; min-width: 0; }
.cal-card__row { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; }
.cal-card__city {
    display: inline-block; background: var(--black); color: var(--cream);
    font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    padding: 4px 10px; border-radius: 999px;
}
.cal-card__status {
    font-size: 10.5px; color: rgba(255,255,255,0.5);
    letter-spacing: .06em; text-transform: uppercase;
}
.cal-card__title {
    font-size: 16px; font-weight: 700; text-transform: uppercase;
    margin: 0 0 6px; letter-spacing: -0.01em; line-height: 1.25;
}
.cal-card__meta {
    display: flex; flex-wrap: wrap; gap: 14px;
    font-size: 12.5px; color: rgba(255,255,255,0.6);
}
.cal-card__price { margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--cream); }
.cal-card__arrow { font-size: 22px; opacity: 0.4; transition: all .3s; }
.cal-card:hover .cal-card__arrow { opacity: 1; transform: translate(4px, -4px); }

.cal-more-wrap { text-align: center; margin-top: 20px; }

/* Плитка городов */
.cities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 30px;
}
.city-card {
    display: flex;
    flex-direction: column;
    background: rgba(10,8,5,0.62);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-l);
    overflow: hidden;
    text-decoration: none;
    color: var(--cream);
    transition: all .35s var(--ease);
    position: relative;
}
.city-card:hover {
    border-color: rgba(255,106,0,0.55);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.city-card__photo {
    position: relative;
    height: 160px;
    background: linear-gradient(135deg, #2a1c0c 0%, #140f09 100%);
    display: grid; place-items: center;
    overflow: hidden;
}
.city-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.city-card__photo--empty .city-card__placeholder {
    font-size: 56px; font-weight: 900; color: rgba(255,106,0,0.35);
    text-transform: uppercase;
}
.city-card__badge {
    position: absolute; top: 12px; right: 12px;
    background: var(--orange); color: #fffaf2;
    font-size: 12px; font-weight: 800;
    padding: 5px 12px; border-radius: 999px;
    min-width: 28px; text-align: center;
    box-shadow: 0 4px 12px rgba(255,106,0,0.4);
}
.city-card__body { padding: 18px 22px 20px; }
.city-card__name {
    font-size: 17px; font-weight: 800; text-transform: uppercase;
    margin: 0 0 6px; letter-spacing: -0.01em;
}
.city-card__count { font-size: 12.5px; color: rgba(255,255,255,0.6); }
.city-card__upcoming {
    display: inline-block;
    font-size: 11px; font-weight: 700;
    color: var(--orange);
    margin-top: 8px;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.city-card__arrow {
    position: absolute; bottom: 18px; right: 22px;
    font-size: 22px; opacity: 0.4; transition: all .3s;
}
.city-card:hover .city-card__arrow { opacity: 1; transform: translate(4px, -4px); }

/* Адаптив */
@media (max-width: 1024px) {
    .cal-months-strip { grid-template-columns: repeat(6, 1fr); }
    .cities-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .cal-months-strip { grid-template-columns: repeat(4, 1fr); }
    .cal-filters { flex-direction: column; align-items: stretch; }
    .cal-filters__field { min-width: 0; }
    .cal-card { flex-direction: column; align-items: flex-start; padding: 14px; }
    .cal-card__photo { width: 100%; height: 140px; }
    .cal-card__arrow { position: absolute; top: 18px; right: 18px; }
    .cities-grid { grid-template-columns: 1fr; }
}

/* Ссылка сброса в пустом списке */
.link-reset {
    background: none; border: none; color: var(--orange);
    text-decoration: underline; cursor: pointer;
    font-family: inherit; font-size: inherit;
}

/* ============================================================
   ГЛАВНАЯ: КАРТОЧКИ МЕРОПРИЯТИЙ — ФИНАЛЬНАЯ ВЕРСИЯ
   ============================================================ */

.event-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
}

.event-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    gap: 0 !important;
    padding: 0 !important;
    background: rgba(10, 8, 5, 0.62) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: var(--radius-l) !important;
    overflow: hidden !important;
    transition: all .35s var(--ease) !important;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    min-height: 240px !important;
    position: relative !important;
}

.event-card:hover {
    border-color: rgba(255, 106, 0, 0.6) !important;
    background: rgba(20, 15, 10, 0.8) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45) !important;
}

.event-card__photo {
    position: relative !important;
    width: 280px !important;
    height: auto !important;
    min-height: 240px !important;
    flex: 0 0 280px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    background: linear-gradient(135deg, #2a1c0c 0%, #140f09 100%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.event-card__photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
}

.event-card__photo::before {
    display: none !important;
}

.event-card__photo svg {
    position: relative !important;
    width: 96px !important;
    height: 96px !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 2 !important;
    opacity: 0.9 !important;
}

.event-card__body {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    padding: 32px 36px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 14px !important;
    background: transparent !important;
}

.event-card__city {
    display: inline-block !important;
    width: fit-content !important;
    background: var(--black) !important;
    color: var(--cream) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    padding: 6px 14px !important;
    border-radius: 999px !important;
    margin: 0 !important;
}

.event-card h3 {
    font-size: 24px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: -0.01em !important;
    color: var(--cream) !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.15 !important;
}

.event-card__meta {
    font-size: 14.5px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.event-card__price {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--cream) !important;
    margin: 0 !important;
    padding: 0 !important;
}

.event-card__actions {
    display: flex !important;
    gap: 12px !important;
    margin-top: 8px !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}

.event-card__actions .solid,
.event-card__actions a.solid,
.event-card__actions button {
    flex: 0 0 auto !important;
    min-width: 200px !important;
    padding: 14px 32px !important;
    background: var(--orange) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: .06em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: all .3s !important;
    text-decoration: none !important;
    text-align: center !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.event-card__actions .solid:hover,
.event-card__actions a.solid:hover,
.event-card__actions button:hover {
    background: #e05a00 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(255, 106, 0, 0.4) !important;
}

/* Адаптив */
@media (max-width: 768px) {
    .event-card {
        flex-direction: column !important;
        min-height: auto !important;
    }
    .event-card__photo {
        width: 100% !important;
        flex: 0 0 220px !important;
        min-height: 220px !important;
        height: 220px !important;
    }
    .event-card__body {
        padding: 22px 20px !important;
    }
    .event-card h3 {
        font-size: 18px !important;
    }
    .event-card__actions .solid,
    .event-card__actions a.solid {
        width: 100% !important;
        min-width: 0 !important;
    }
}