/* One viewport-fixed scene; the event list remains in normal document flow. */
html.znn-float-ready {
    height: auto !important;
    min-height: 100%;
    overflow-y: auto !important;
    scrollbar-gutter: stable;
    transform: none !important;
    filter: none !important;
    perspective: none !important;
    contain: none !important;
}

body.home.znn-float-home {
    --znn-float-ink: #0b0b0a;
    --znn-float-bone: #f0ece4;
    --znn-float-coral: #ff6548;
    --znn-float-gutter: clamp(20px, 4vw, 72px);
    --znn-float-header-height: 110px;
    --znn-float-admin-height: 0px;
    display: block !important;
    height: auto !important;
    min-height: 100%;
    margin: 0 !important;
    overflow: visible !important;
    transform: none !important;
    filter: none !important;
    perspective: none !important;
    contain: none !important;
    isolation: isolate;
    background: var(--znn-float-ink);
}

body.home.znn-float-home.admin-bar { --znn-float-admin-height: 32px; }

/* Retire the previous visual controllers on the homepage. Keep the MEC output
   in the DOM as the data source; it is never duplicated as a visible calendar. */
body.home.znn-float-home .nsn-header,
body.home.znn-float-home .nsn-mec-events--home {
    display: none !important;
}

body.home.znn-float-home #wpadminbar {
    position: fixed !important;
    top: 0 !important;
}

body.home.znn-float-home .znn-float-main {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 100vh;
    min-height: 100svh;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    z-index: auto !important;
    isolation: auto !important;
    transform: none !important;
    filter: none !important;
    perspective: none !important;
    contain: none !important;
    background: transparent !important;
    font-family: var(--nsn-font, sans-serif);
}

.znn-float-main *, #znn-float-header * { box-sizing: border-box; }

/* The stable large viewport prevents mobile browser chrome from rescaling the
   photograph during a scroll. There are no scroll-driven transforms. */
body.home.znn-float-home .znn-float-stage {
    position: fixed !important;
    inset: 0 0 auto !important;
    width: 100%;
    height: 100vh;
    height: 100lvh;
    overflow: hidden;
    z-index: 0 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
    background: var(--znn-float-ink);
}

.znn-float-stage__image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 50% 44%;
    transform: none !important;
    filter: none;
}

.znn-float-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 60%, rgba(11,11,10,.38) 84%, #0b0b0a 100%);
}

.znn-float-copy {
    position: absolute;
    top: calc(var(--znn-float-admin-height) + var(--znn-float-header-height) + clamp(112px, 12vh, 152px));
    left: var(--znn-float-gutter);
    z-index: 1;
    width: calc(100% - var(--znn-float-gutter) * 2);
    color: #0f0f0e;
}

.znn-float-copy__eyebrow {
    margin: 0 0 clamp(14px, 1.7vh, 22px);
    color: var(--znn-float-coral);
    font-family: inherit;
    font-size: clamp(16px, 1.9vw, 35px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: .045em;
    text-transform: uppercase;
}

body.home.znn-float-home .znn-float-copy__title {
    margin: 0;
    padding: 0;
    color: #0f0f0e;
    font-family: inherit;
    font-size: clamp(68px, 7.15vw, 136px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -.045em;
}
.znn-float-copy__title > span { display: block; white-space: nowrap; }

.znn-float-lead {
    height: 100vh;
    height: 100svh;
    pointer-events: none;
}

/* An entire additional viewport is real document height after the last card.
   Consequently the last card can pass the top edge, even with one event. */
.znn-float-tail {
    height: 100vh;
    height: 100lvh;
    pointer-events: none;
}

/* First-screen discovery cue: text only, no block/card. Disappears when
   events become visible. It stays clickable, for visitors who prefer not to scroll. */
body.home.znn-float-home .znn-float-discover {
    position: fixed;
    z-index: 30;
    left: 50%;
    bottom: clamp(20px, 4.5vh, 52px);
    transform: translateX(-50%);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 8px 20px 10px;
    color: var(--znn-float-bone);
    background: transparent;
    border: 0;
    text-decoration: none;
    text-transform: uppercase;
    text-shadow: 0 1px 10px rgba(0,0,0,.86), 0 2px 22px rgba(0,0,0,.5);
    white-space: nowrap;
    opacity: 1;
    visibility: visible;
    transition: opacity .35s ease, visibility .35s ease, color .2s ease;
}
body.home.znn-float-home .znn-float-discover__label {
    color: inherit;
    font-size: clamp(12px, .95vw, 15px);
    font-weight: 750;
    letter-spacing: .19em;
    line-height: 1.15;
}
body.home.znn-float-home .znn-float-discover__arrow {
    display: block;
    color: var(--znn-float-coral);
    font-size: 29px;
    line-height: 1;
    animation: znn-float-arrow-hint 2s ease-in-out infinite;
}
@keyframes znn-float-arrow-hint {
    0%, 100% { transform: translateY(0); opacity: .75; }
    50% { transform: translateY(7px); opacity: 1; }
}
body.home.znn-float-home .znn-float-discover:hover,
body.home.znn-float-home .znn-float-discover:focus-visible {
    color: var(--znn-float-coral);
}
body.home.znn-float-home .znn-float-discover:focus-visible {
    outline: 2px solid var(--znn-float-coral);
    outline-offset: 4px;
}
body.home.znn-float-home .znn-float-discover.is-dismissed {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
    body.home.znn-float-home .znn-float-discover,
    body.home.znn-float-home .znn-float-discover__arrow { animation: none !important; transition: none !important; }
}

/* The events are floating text rows, without panels or arrows. */
.znn-float-events {
    scroll-margin-top: calc(var(--znn-float-admin-height) + var(--znn-float-header-height) + 16px);
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 2.8vh, 27px);
    width: min(calc(100% - var(--znn-float-gutter) * 2), 940px);
    margin: 0 auto;
    padding: clamp(22px, 4vh, 46px) 0;
    color: var(--znn-float-bone);
    background: transparent;
}
.znn-float-events__list {
    display: grid;
    gap: clamp(8px, 1.6vh, 14px);
    min-width: 0;
}
.znn-float-card {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(110px, .22fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(15px, 2.5vw, 32px);
    min-height: 90px;
    margin: 0;
    padding: clamp(12px, 1.8vw, 19px) clamp(14px, 2.2vw, 26px);
    color: var(--znn-float-bone);
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    text-shadow: 0 1px 12px rgba(0,0,0,.65);
}
/* A blurred strip is applied only BEHIND the text. Its transparent fading edges
   keep it from reading as a card or framed box over the homepage photograph. */
.znn-float-card::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: -3px -12px;
    pointer-events: none;
    border: 0;
    background: linear-gradient(90deg, rgba(8,8,8,.48), rgba(8,8,8,.33) 70%, rgba(8,8,8,.23));
    backdrop-filter: blur(16px) saturate(.72);
    -webkit-backdrop-filter: blur(16px) saturate(.72);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 89%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 89%, transparent 100%);
    transition: background .2s ease;
}
.znn-float-card:hover::before, .znn-float-card:focus-within::before {
    background: linear-gradient(90deg, rgba(8,8,8,.55), rgba(8,8,8,.43) 70%, rgba(8,8,8,.28));
}
.znn-float-card__date { min-width: 0; }
.znn-float-card__day {
    display: block;
    color: var(--znn-float-coral);
    font-size: clamp(28px, 2.8vw, 42px);
    font-weight: 450;
    line-height: .98;
    letter-spacing: -.04em;
}
.znn-float-card__month, .znn-float-card__date-text {
    display: block;
    margin-top: 5px;
    color: rgba(240,236,228,.9);
    font-size: 11px;
    line-height: 1.35;
    letter-spacing: .055em;
    text-transform: uppercase;
}
.znn-float-card__date-text { font-size: 13px; letter-spacing: .02em; }
.znn-float-card__copy { min-width: 0; }
body.home.znn-float-home .znn-float-card__title {
    margin: 0;
    padding: 0;
    font-family: inherit;
    font-size: clamp(20px, 1.75vw, 29px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -.025em;
    overflow-wrap: break-word;
}
body.home.znn-float-home .znn-float-card__link {
    color: var(--znn-float-bone) !important;
    -webkit-text-fill-color: var(--znn-float-bone) !important;
    text-decoration: none !important;
    background: transparent !important;
}
.znn-float-card__link::after { content: ''; position: absolute; inset: 0; }
.znn-float-card__link:focus-visible { outline: none; }
.znn-float-card:has(.znn-float-card__link:focus-visible) {
    outline: 2px solid var(--znn-float-coral);
    outline-offset: 4px;
}
.znn-float-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    margin-top: 7px;
    color: rgba(240,236,228,.9);
    font-size: 11px;
    line-height: 1.45;
    letter-spacing: .035em;
    text-transform: uppercase;
}
.znn-float-events__all {
    align-self: flex-end;
    display: inline-block;
    padding: 7px 0 6px;
    color: var(--znn-float-bone);
    font-size: clamp(12px, .95vw, 14px);
    font-weight: 650;
    line-height: 1.3;
    letter-spacing: .12em;
    text-decoration: none;
    text-transform: uppercase;
    text-shadow: 0 1px 10px rgba(0,0,0,.7);
    border-bottom: 1px solid var(--znn-float-coral);
    transition: color .2s ease;
}
.znn-float-events__all:hover, .znn-float-events__all:focus-visible {
    color: var(--znn-float-coral);
}
.znn-float-empty {
    margin: 0;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--znn-float-bone);
    text-shadow: 0 1px 10px rgba(0,0,0,.7);
}

/* The new header has no guard, backdrop, shrinking state or scroll handler.
   White letter shapes blend directly with the photo and passing event cards. */
body.home.znn-float-home #znn-float-header {
    position: fixed !important;
    inset: var(--znn-float-admin-height) 0 auto !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    height: var(--znn-float-header-height) !important;
    margin: 0 !important;
    padding: 0 var(--znn-float-gutter) !important;
    overflow: visible !important;
    z-index: 100 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
    mix-blend-mode: difference !important;
    font-family: var(--nsn-font, sans-serif);
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}
#znn-float-header::before, #znn-float-header::after { content: none !important; }

body.home.znn-float-home #znn-float-header a,
body.home.znn-float-home #znn-float-header button {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    text-decoration: none !important;
    font-family: inherit;
    opacity: 1;
}

.znn-float-brand {
    position: relative;
    flex: 0 0 auto;
    z-index: 3;
    font-size: clamp(32px, 26.6667px + 1.6667vw, 48px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -.025em;
    white-space: nowrap;
}

.znn-float-nav__list {
    display: flex;
    align-items: center;
    gap: clamp(30px, 1.65vw, 42px);
    padding: 0;
    margin: 0;
    list-style: none;
}
.znn-float-nav__list > li { margin: 0; padding: 0; list-style: none; }
.znn-float-nav__link {
    position: relative;
    display: inline-block;
    padding: 5px 0;
    font-size: clamp(18px, 1.35vw, 26px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: 0;
    white-space: nowrap;
}
.znn-float-nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    transform: scaleX(1);
    transform-origin: left center;
    transition: transform .55s cubic-bezier(.165,.84,.44,1);
}
.znn-float-nav__link:hover::after,
.znn-float-nav__link:focus-visible::after { transform: scaleX(0); transform-origin: right center; }
.znn-float-nav__label {
    position: relative;
    display: inline-block;
    overflow: hidden;
    padding-right: .16em;
    margin-right: -.16em;
    vertical-align: bottom;
}
.znn-float-nav__sizer { visibility: hidden; }
.znn-float-nav__face { position: absolute; inset: 0; }
.znn-float-nav__char {
    display: inline-block;
    transition: transform .6s cubic-bezier(.165,.84,.44,1);
    transition-delay: calc(var(--znn-char-index) * 25ms);
}
.znn-float-nav__face--in .znn-float-nav__char { transform: translateY(108%); }
.znn-float-nav__link:hover .znn-float-nav__face--out .znn-float-nav__char,
.znn-float-nav__link:focus-visible .znn-float-nav__face--out .znn-float-nav__char { transform: translateY(-108%); }
.znn-float-nav__link:hover .znn-float-nav__face--in .znn-float-nav__char,
.znn-float-nav__link:focus-visible .znn-float-nav__face--in .znn-float-nav__char { transform: translateY(0); }

.znn-float-toggle { display: none; }
body.home.znn-float-home footer.nsn-footer { position: relative; z-index: 10; }

@media (max-width: 1099px) {
    body.home.znn-float-home { --znn-float-header-height: 90px; }
    .znn-float-toggle {
        position: relative;
        z-index: 3;
        display: grid;
        align-content: center;
        gap: 6px;
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        padding: 8px;
        margin: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        cursor: pointer;
    }
    .znn-float-toggle > span { display: block; width: 28px; height: 2px; background: currentColor; }
    .znn-float-toggle[aria-expanded="true"] > span:first-child { transform: translateY(4px) rotate(45deg); }
    .znn-float-toggle[aria-expanded="true"] > span:last-child { transform: translateY(-4px) rotate(-45deg); }
    .znn-float-nav {
        position: fixed;
        inset: 0;
        z-index: 2;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        padding: calc(var(--znn-float-header-height) + var(--znn-float-admin-height) + 24px) var(--znn-float-gutter) 24px;
        overflow: auto;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        background: var(--znn-float-ink);
    }
    .znn-float-nav__list { flex-direction: column; align-items: flex-start; gap: clamp(16px, 3.5vh, 32px); width: min(100%, 600px); }
    .znn-float-nav__link { font-size: clamp(28px, 7.5vw, 64px); }
    .znn-float-nav[data-open="true"] { visibility: visible; opacity: 1; pointer-events: auto; }
    body.home.znn-float-home.znn-float-menu-open #znn-float-header { mix-blend-mode: normal !important; }
    html.znn-float-menu-open, body.home.znn-float-home.znn-float-menu-open { overflow: hidden !important; }
    .znn-float-copy { top: calc(var(--znn-float-admin-height) + var(--znn-float-header-height) + clamp(96px, 11vh, 128px)); }
    body.home.znn-float-home .znn-float-copy__title { font-size: clamp(60px, 8.25vw, 100px); }
    .znn-float-stage__image { object-position: 55% 44%; }
}

@media (max-width: 782px) {
    body.home.znn-float-home.admin-bar { --znn-float-admin-height: 46px; }
}

@media (max-width: 700px) {
    body.home.znn-float-home { --znn-float-header-height: 80px; }
    .znn-float-copy { top: calc(var(--znn-float-admin-height) + var(--znn-float-header-height) + clamp(96px, 11vh, 120px)); }
    body.home.znn-float-home .znn-float-copy__title { font-size: clamp(44px, 14.2vw, 66px); line-height: .97; }
    .znn-float-copy__eyebrow { font-size: clamp(14px, 4.2vw, 19px); }
    .znn-float-stage__image { object-position: 62% 44%; }
    .znn-float-events { width: calc(100% - var(--znn-float-gutter) * 2); gap: 16px; }
    .znn-float-card { grid-template-columns: 82px minmax(0, 1fr); gap: 12px; min-height: 78px; padding: 13px 10px; }
    .znn-float-card::before { inset-inline: -8px; }
    .znn-float-card__day { font-size: 31px; }
    .znn-float-card__month { font-size: 10px; letter-spacing: .04em; }
    .znn-float-card__date-text { font-size: 11px; }
    body.home.znn-float-home .znn-float-card__title { font-size: clamp(18px, 4.6vw, 25px); }
    .znn-float-card__meta { gap: 4px 10px; margin-top: 5px; font-size: 10px; letter-spacing: .02em; }
}

@media (max-width: 380px) {
    .znn-float-card { grid-template-columns: 72px minmax(0, 1fr); gap: 9px; padding: 12px 8px; }
    .znn-float-card__day { font-size: 27px; }
    body.home.znn-float-home .znn-float-card__title { font-size: 18px; }
}

@media (max-height: 550px) and (min-width: 701px) {
    .znn-float-copy { top: calc(var(--znn-float-admin-height) + var(--znn-float-header-height) + 36px); }
    body.home.znn-float-home .znn-float-copy__title { font-size: clamp(48px, 7vw, 90px); }
}

@media (prefers-reduced-motion: reduce) {
    #znn-float-header *, .znn-float-card { transition: none !important; }
    .znn-float-nav__link .znn-float-nav__face--out .znn-float-nav__char { transform: none !important; }
    .znn-float-nav__face--in { display: none; }
}


/* Keep the headline readable until photo 273 has successfully loaded. */
body.home.znn-float-home .znn-float-stage.is-photo-pending .znn-float-copy__title,
body.home.znn-float-home .znn-float-stage.is-photo-missing .znn-float-copy__title {
    color: var(--znn-float-bone) !important;
    -webkit-text-fill-color: var(--znn-float-bone) !important;
}
