[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
main section[id] { scroll-margin-top: 86px; }
#home.is-scrolled { background: rgba(10, 17, 24, .96); box-shadow: 0 2px 12px #0002; }
#home > div { position: relative; }
.language-menu, .mobile-menu {
    background: #101820;
    color: #f6f1e7;
    border: 1px solid #ffffff28;
    box-shadow: 0 10px 35px #0004;
}
.language-menu { position: absolute; z-index: 2; top: 78%; right: 1.5rem; min-width: 11rem; }
.language-menu a, .mobile-menu a { display: block; padding: .65rem 1rem; }
.language-menu a:hover, .language-menu a[aria-current], .mobile-menu a:hover { color: #cfa255; background: #ffffff09; }
.mobile-menu { max-height: 75vh; overflow: auto; }
.mobile-menu a { text-transform: uppercase; letter-spacing: .15em; font-size: .78rem; }
[data-slide].is-active { width: 2rem; background: #cfa255; }
[data-slide]:not(.is-active) { width: 1rem; background: #68717855; }
[data-track] { scrollbar-width: none; }
[data-zoom] { cursor: zoom-in; }
[data-carousel] [data-zoom]:focus-visible { outline: 2px solid #ac7a34; outline-offset: -2px; }
[data-rally] [data-track] { scroll-behavior: auto; }
.instagram-carousel { position: relative; max-width: 820px; margin-inline: auto; }
.instagram-videos {
    position: relative;
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding-bottom: .75rem;
}
.instagram-carousel:not([data-overflow]) .instagram-videos { justify-content: center; }
.instagram-carousel:not([data-overflow]) [data-rally-copy] { display: none; }
.instagram-video {
    flex: 0 0 min(400px, calc((100% - 1.25rem) / 2));
    min-width: 0;
    overflow: hidden;
    text-align: center;
}
.instagram-video iframe { display: block; width: 100%; height: clamp(420px, 130vw, 610px); border: 0; }
.instagram-video a, .registration-success a { text-decoration: underline; text-underline-offset: .2em; }
.instagram-video a { display: inline-block; padding: .8rem; }
.instagram-arrow {
    position: absolute;
    z-index: 1;
    top: 50%;
    translate: 0 -50%;
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--color-border);
    border-radius: 100%;
    background: var(--color-card);
    color: var(--color-ink);
    box-shadow: 0 2px 8px #0002;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}
.instagram-arrow:hover { color: var(--color-gold); }
.instagram-arrow-prev { left: -.6rem; }
.instagram-arrow-next { right: -.6rem; }
@media (max-width: 639px) {
    .instagram-video { flex-basis: min(400px, 84%); }
    [data-single-video] .instagram-video { flex-basis: min(400px, 100%); }
}
#faq summary { cursor: pointer; list-style: none; }
#faq summary::-webkit-details-marker { display: none; }
#faq summary span { margin-left: .75rem; }
#faq details[open] > summary span { transform: rotate(180deg); }
dialog {
    position: fixed;
    inset: 0;
    margin: auto;
    max-height: 90dvh;
    padding: 1.5rem;
    color: #f7f1e8;
    background: #101820;
    border: 1px solid #ffffff38;
    border-radius: .4rem;
}
dialog::backdrop { background: #090d13de; }
dialog button { position: absolute; right: .65rem; top: .4rem; font-size: 1.65rem; cursor: pointer; }
.image-dialog { max-width: min(95vw, 1100px); padding-top: 2.4rem; }
.image-dialog img { max-height: 76dvh; margin: auto; object-fit: contain; }
.image-dialog figcaption { margin-top: .45rem; text-align: center; }
.policy-dialog { width: min(90vw, 36rem); padding: 2rem; }
.policy-dialog h2, .registration-success h3 { font-family: var(--font-display, Georgia, serif); font-size: 1.7rem; margin-bottom: .65rem; }
.policy-dialog p { line-height: 1.65; }
.lead-error { color: #a22525; font-size: .85rem; margin-top: .35rem; }
.registration-success a { display: inline-block; margin-top: .75rem; }
@media (max-width: 639px) {
    [data-meeting-float] { right: 5rem; }
    #home > div { padding-block: 1rem; }
    main section[id] { scroll-margin-top: 72px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    [data-rally-copy] { display: none; }
    *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
