.home-page {
    --home-orange: #ef7900;
    --home-cream: #fff7ed;
    --home-ink: #fff7ed;
    color: var(--home-ink);
    background: #000;
    font-family: 'DM Sans', sans-serif;
}

.home-page h1, .home-page h2, .home-page h3 {
    font-family: 'Bricolage Grotesque', sans-serif !important;
}

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

.home-shell {
    width: min(100% - 48px, 1200px);
    margin-inline: auto;
}

.home-hero {
    position: relative;
    isolation: isolate;
    display: block;
    width: 100%;
    height: auto;
    min-height: 690px;
    overflow: hidden;
    color: #fff;
    background: #000;
}

.home-hero__photo, .home-hero__shade {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.home-hero__photo {
    background-image: var(--hero-image, none);
    background-size: cover;
    background-position: center 46%;
    opacity: .52;
    transform: scale(1.02);
}

.home-hero__shade {
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .96) 0%, rgba(0, 0, 0, .84) 35%, rgba(0, 0, 0, .35) 78%, rgba(0, 0, 0, .2) 100%),
        linear-gradient(0deg, rgba(0, 0, 0, .86) 0%, transparent 50%);
}

.home-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .22);
}

.home-nav__brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: #fff;
    font-weight: 800;
    font-size: 17px;
    line-height: 1;
    letter-spacing: .1em;
    text-decoration: none;
}

.home-nav__brand:hover, .home-nav__brand:focus-visible { color: #fff; text-decoration: none; }
.home-nav__brand img { width: 50px; height: 50px; object-fit: contain; }
.home-nav__brand span span { display: block; margin-top: 4px; color: var(--home-orange); font-size: 10px; letter-spacing: .32em; }

.home-nav__links { display: flex; align-items: center; gap: 38px; }
.home-nav__links a { color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; }
.home-nav__links a:hover, .home-nav__links a:focus-visible { color: var(--home-orange); text-decoration: none; }
.home-nav__links .home-nav__login { padding: 12px 20px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 999px; }
.home-nav__login span { margin-left: 10px; }

.home-hero__content { max-width: 790px; padding: 108px 0 150px; }
.home-eyebrow, .home-section-label { font-size: 12px; font-weight: 800; letter-spacing: .2em; }
.home-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; color: var(--home-orange); text-transform: uppercase; }
.home-eyebrow span { width: 28px; height: 2px; background: var(--home-orange); }
.home-hero h1 { margin: 0; color: var(--home-cream); font-size: clamp(50px, 5.4vw, 76px); font-weight: 800; line-height: 1.03; letter-spacing: -.055em; }
.home-hero h1 em, .home-events h2 em { color: var(--home-orange); font-style: normal; }
.home-hero__intro { max-width: 500px; margin: 26px 0 0; color: #c4c0bc; font-size: 17px; line-height: 1.75; }
.home-hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 36px; }
.home-button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 54px; font-size: 14px; font-weight: 800; text-decoration: none; transition: transform .2s, background .2s, color .2s; }
.home-button:hover { transform: translateY(-2px); text-decoration: none; }
.home-button--primary { padding: 0 24px; border-radius: 5px; background: var(--home-orange); color: #000; }
.home-button--primary:hover, .home-button--primary:focus-visible { background: #ffa343; color: #000; }
.home-button--text { color: #fff; }
.home-button--text:hover, .home-button--text:focus-visible { color: var(--home-orange); }

.home-hero__next { position: absolute; right: max(24px, calc((100vw - 1200px) / 2)); bottom: 36px; display: flex; flex-direction: column; gap: 7px; width: min(320px, calc(100% - 48px)); padding: 20px 24px; border: 1px solid rgba(239, 121, 0, .4); border-radius: 7px; background: rgba(25, 21, 16, .85); backdrop-filter: blur(10px); color: #fff; text-decoration: none; }
.home-hero__next:hover, .home-hero__next:focus-visible { color: #fff; text-decoration: none; border-color: var(--home-orange); }
.home-hero__next-label { color: var(--home-orange); font-size: 10px; font-weight: 800; letter-spacing: .2em; }
.home-hero__next strong { font-size: 16px; line-height: 1.35; }
.home-hero__next-date { display: flex; justify-content: space-between; gap: 10px; color: #bdb8b2; font-size: 13px; }
.home-hero__next-date span { color: var(--home-orange); font-size: 17px; }

.home-events { padding: 100px 0 120px; background: #191510; }
.home-events__heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 35px; }
.home-section-label { margin: 0 0 16px; color: var(--home-orange); }
.home-events h2 { display: block; margin: 0; padding: 0; border: 0; color: var(--home-ink); font-size: clamp(34px, 4vw, 52px); font-weight: 800; line-height: 1.12; letter-spacing: -.04em; text-transform: none; }
.home-events__heading p:last-child { margin: 14px 0 0; color: #aaa29a; font-size: 15px; }
.home-search { display: flex; align-items: center; width: min(100%, 315px); height: 52px; flex: 0 0 auto; border: 1px solid #5b3921; border-radius: 5px; background: #0d0b09; }
.home-search:focus-within { border-color: var(--home-orange); box-shadow: 0 0 0 3px rgba(239, 121, 0, .18); }
.home-search input { width: 100%; min-width: 0; height: 100%; padding: 0 16px; border: 0; outline: 0; background: transparent; color: var(--home-ink); font: inherit; font-size: 14px; }
.home-search input::placeholder { color: #9a928b; }
.home-search button { display: grid; place-items: center; width: 50px; height: 50px; flex: 0 0 auto; border: 0; background: transparent; color: var(--home-orange); cursor: pointer; }
.home-search button:hover { color: var(--home-ink); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.home-events__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.home-event-card { min-width: 0; overflow: hidden; border: 1px solid #493322; border-radius: 7px; background: #0d0b09; box-shadow: 0 10px 28px rgba(0, 0, 0, .15); transition: transform .25s, box-shadow .25s; }
.home-event-card:hover, .home-event-card:focus-within { transform: translateY(-5px); box-shadow: 0 18px 38px rgba(0, 0, 0, .35); }
.home-event-card > a { display: block; height: 100%; color: var(--home-ink); text-decoration: none; }
.home-event-card > a:hover, .home-event-card > a:focus-visible { color: var(--home-ink); text-decoration: none; }
.home-event-card__image { position: relative; height: 260px; overflow: hidden; background: #000; }
.home-event-card__image > img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.home-event-card:hover .home-event-card__image > img { transform: scale(1.04); }
.home-event-card__image > img.home-event-card__fallback { object-fit: contain; padding: 50px; background: #191510; }
.home-event-card__date { position: absolute; top: 16px; left: 16px; display: flex; flex-direction: column; align-items: center; min-width: 70px; padding: 8px 10px; border-radius: 4px; background: var(--home-orange); color: #000; font-size: 10px; font-weight: 800; line-height: 1.15; text-transform: uppercase; }
.home-event-card__date strong { font-size: 27px; line-height: 1; }
.home-event-card__date span { margin-top: 5px; }
.home-event-card__body { display: flex; min-height: 190px; flex-direction: column; align-items: start; padding: 24px; }
.home-event-card__place { color: var(--home-orange); font-size: 11px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.home-event-card h3 { display: block; margin: 10px 0 24px; padding: 0; border: 0; color: var(--home-ink); font-size: 21px; font-weight: 800; line-height: 1.35; letter-spacing: -.025em; text-transform: none; }
.home-event-card__link { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: auto; padding-top: 18px; border-top: 1px solid #493322; color: var(--home-orange); font-size: 13px; font-weight: 800; }
.home-event-card__link span { font-size: 18px; }
.home-events__empty { padding: 65px 24px; border: 1px solid #493322; border-radius: 7px; background: #0d0b09; text-align: center; }
.home-events__empty > span { color: var(--home-orange); font-size: 38px; }
.home-events__empty h3 { display: block; margin: 12px 0; padding: 0; border: 0; color: var(--home-ink); font-size: 24px; font-weight: 800; text-transform: none; }
.home-events__empty p { color: #aaa29a; }
.home-events__empty a { color: var(--home-orange); font-weight: 800; }
.home-events__pagination { display: flex; justify-content: center; margin-top: 38px; }
.home-events__pagination .page-link { border-color: #493322; background: #0d0b09; color: var(--home-orange); }
.home-events__pagination .active .page-link { border-color: var(--home-orange); background: var(--home-orange); color: #000; }

body.homepage-body footer { background: #000; }
body.homepage-body footer, body.homepage-body footer * { font-family: 'DM Sans', sans-serif !important; }
body.homepage-body #footer-01, body.homepage-body #footer-02 { border-color: #493322; }
body.homepage-body #footer-01 h5 { color: var(--home-orange, #ef7900); font-family: 'DM Sans', sans-serif; }
body.homepage-body #footer-01 a, body.homepage-body #footer-02 { color: #aaa29a; }

.home-page :focus-visible { outline: 3px solid var(--home-orange); outline-offset: 3px; }

@media (max-width: 900px) {
    .home-hero { min-height: 640px; }
    .home-hero__content { padding: 92px 0 170px; }
    .home-hero__next { bottom: 26px; }
    .home-events__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 650px) {
    .home-shell { width: min(100% - 36px, 1200px); }
    .home-hero { min-height: 0; }
    .home-hero__shade { background: linear-gradient(90deg, rgba(0, 0, 0, .95), rgba(0, 0, 0, .68)), linear-gradient(0deg, rgba(0, 0, 0, .85), transparent 55%); }
    .home-nav { padding: 18px 0; }
    .home-nav__brand { gap: 8px; font-size: 13px; }
    .home-nav__brand img { width: 38px; height: 38px; }
    .home-nav__brand span span { font-size: 8px; }
    .home-nav__links { gap: 0; }
    .home-nav__links > a:first-child { display: none; }
    .home-nav__links .home-nav__login { padding: 9px 12px; font-size: 12px; }
    .home-nav__login span { margin-left: 3px; }
    .home-hero__content { padding: 80px 0 35px; }
    .home-hero h1 { font-size: clamp(43px, 11vw, 62px); }
    .home-hero__intro { font-size: 15px; }
    .home-hero__actions { align-items: start; flex-direction: column; gap: 8px; margin-top: 26px; }
    .home-button--primary { width: 100%; }
    .home-hero__next { position: relative; right: auto; bottom: auto; width: 100%; margin: 12px 0 28px; }
    .home-events { padding: 72px 0 85px; }
    .home-events__heading { align-items: stretch; flex-direction: column; gap: 24px; }
    .home-search { width: 100%; }
    .home-events__grid { grid-template-columns: 1fr; gap: 20px; }
    .home-event-card__image { height: 235px; }
}

@media (prefers-reduced-motion: reduce) {
    .home-page *, .home-page *::before, .home-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
