/* ==========================================================================
   Orizont - premium, warm corporate: ribbons of light flowing like an aurora behind frosted-glass cards
   Palette: --inv-primary and --inv-accent (the two lights), --inv-bg, --inv-text
   No script: the ribbons wave with CSS animations (they stop with reduced motion)
   ========================================================================== */

.orizont {
    --oz-ink-soft: color-mix(in srgb, var(--inv-text) 72%, var(--inv-bg));
    --oz-glass: color-mix(in srgb, var(--inv-bg) 62%, transparent);
    --oz-edge: color-mix(in srgb, var(--inv-text) 14%, transparent);
    --oz-glow: linear-gradient(100deg, var(--inv-primary), var(--inv-accent));
    --oz-plate: color-mix(in srgb, white 95%, var(--inv-primary));
    --kit-radius: 14px;
    --kit-field-bg: color-mix(in srgb, var(--inv-bg) 55%, transparent);
    --kit-field-border: var(--oz-edge);
    --kit-button-bg: var(--inv-primary);
    --kit-button-text: var(--inv-bg);
    font-family: var(--inv-font-body);
    font-size: 1.06rem;
    line-height: 1.65;
    background: var(--inv-bg);
    overflow-x: clip;
}
.orizont h1, .orizont h2, .orizont h3 { font-family: var(--inv-font-heading); font-weight: 500; line-height: 1.05; letter-spacing: -.015em; }
/* zero specificity, so the template's own heading classes can set their spacing */
:where(.orizont) :is(h1, h2, h3) { margin: 0; }
:where(.orizont) p { margin: 0 0 .9em; }
.orizont a { color: var(--inv-primary); }
.oz-kicker { font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--inv-primary); margin: 0 0 10px; }
.oz-pill { display: inline-block; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--oz-edge); background: color-mix(in srgb, var(--inv-text) 6%, transparent); font-size: .82rem; margin: 6px 0 0; }

/* ---------- The aurora ---------- */
.oz-aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.oz-aurora svg { width: 100%; height: 100%; filter: blur(38px) saturate(1.2); opacity: .75; }
.oz-ribbon path { fill: none; stroke-width: 120; stroke-linecap: round; }
.oz-ribbon--2 path { stroke-width: 90; }
.oz-ribbon--3 path { stroke-width: 60; opacity: .7; }
.oz-stop-p { stop-color: var(--inv-primary); }
.oz-stop-a { stop-color: var(--inv-accent); }
.oz-ribbon { transform-box: view-box; transform-origin: 50% 50%; }
.oz-ribbon--1 { animation: oz-wave-1 18s ease-in-out infinite alternate; }
.oz-ribbon--2 { animation: oz-wave-2 23s ease-in-out infinite alternate; }
.oz-ribbon--3 { animation: oz-wave-3 15s ease-in-out infinite alternate; }
@keyframes oz-wave-1 { from { transform: translate(-6%, -4%) skewY(-4deg) scaleY(.85); } to { transform: translate(6%, 6%) skewY(5deg) scaleY(1.15); } }
@keyframes oz-wave-2 { from { transform: translate(5%, 8%) skewY(6deg); } to { transform: translate(-7%, -6%) skewY(-3deg) scaleY(1.2); } }
@keyframes oz-wave-3 { from { transform: translate(0, -10%) scaleX(1.1); } to { transform: translate(-8%, 4%) skewY(-6deg); } }
.oz-hero, .oz-main, .oz-footer { position: relative; z-index: 1; }
/* The hero sits above the page so its sticky navigation stays on top of the sections */
.oz-hero { z-index: 2; }

/* ---------- Glass ---------- */
.oz-glass {
    background: var(--oz-glass); border: 1px solid var(--oz-edge); border-radius: 24px;
    -webkit-backdrop-filter: blur(22px) saturate(1.3); backdrop-filter: blur(22px) saturate(1.3);
    box-shadow: inset 0 1px 0 color-mix(in srgb, white 12%, transparent), 0 30px 60px -40px rgba(0, 0, 0, .5);
}
.oz-glass--ring { position: relative; }
.oz-glass--ring::before {
    content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none; background: var(--oz-glow);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.oz-plate { display: grid; place-items: center; background: var(--oz-plate); border-radius: 14px; }
.oz-plate img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }

/* Buttons */
.oz-button { display: inline-flex; align-items: center; min-height: 50px; padding: 12px 24px; border-radius: 999px; text-decoration: none; font-weight: 500; border: 1px solid var(--oz-edge); background: var(--oz-glass); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); transition: transform .2s, box-shadow .2s; }
.oz-button:hover { transform: translateY(-2px); }
.oz-button--solid { background: var(--inv-primary); border-color: var(--inv-primary); box-shadow: 0 14px 30px -14px var(--inv-primary); }
.orizont .oz-button { color: var(--inv-text); }
.orizont .oz-button--solid { color: var(--inv-bg); }
.orizont .kit-button { border-radius: 999px; border: 1px solid var(--oz-edge); background: color-mix(in srgb, var(--inv-text) 6%, transparent); color: var(--inv-text); font-size: .86rem; padding: 9px 16px; text-decoration: none; }
.orizont .kit-button:hover { background: var(--inv-primary); color: var(--inv-bg); border-color: var(--inv-primary); }

/* ---------- Titles ---------- */
.oz-title { display: flex; align-items: center; gap: 14px; margin: 0 0 clamp(24px, 4vw, 40px); }
.oz-title-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--oz-glow); box-shadow: 0 0 16px var(--inv-primary); flex: none; }
.oz-title h2 { font-size: clamp(2rem, 6vw, 3.2rem); }

/* ---------- Navigation ---------- */
.oz-nav { position: absolute; top: 0; left: 0; right: 0; z-index: 6; display: flex; justify-content: flex-end; padding: 16px clamp(16px, 4vw, 40px); }
.oz-nav .kit-nav-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 2px; padding: 5px; border-radius: 999px; background: var(--oz-glass); border: 1px solid var(--oz-edge); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.oz-nav a { text-decoration: none; font-size: .86rem; color: var(--inv-text); padding: 6px 13px; border-radius: 999px; }
.oz-nav a:hover, .oz-nav a.is-current { background: color-mix(in srgb, var(--inv-text) 10%, transparent); }
.oz-nav .kit-nav-brand { font-family: var(--inv-font-heading); font-weight: 600; font-size: 1.15rem; margin-right: auto; padding: 0; max-width: 46vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oz-nav .kit-nav-brand:hover { background: none; }
.oz-nav.is-stuck { align-items: center; padding: 8px clamp(16px, 4vw, 40px); background: color-mix(in srgb, var(--inv-bg) 72%, transparent); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-bottom: 1px solid var(--oz-edge); }
.oz-nav.is-stuck .kit-nav-links { background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
.orizont .kit-to-top { border-radius: 50%; background: var(--oz-glass); border: 1px solid var(--oz-edge); color: var(--inv-text); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
@media (max-width: 899px) {
    .oz-nav { padding: 12px; }
    .oz-nav .kit-nav-toggle { width: 46px; height: 46px; border-radius: 50%; background: var(--oz-glass); border: 1px solid var(--oz-edge); color: var(--inv-text); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); font-size: 1.2rem; }
    .oz-nav .kit-nav-links { display: none; }
    .oz-nav.is-open .kit-nav-links {
        display: flex; flex-direction: column; align-items: stretch; gap: 2px; position: absolute; top: 66px; left: 12px; right: 12px;
        padding: 12px; border-radius: 22px; background: color-mix(in srgb, var(--inv-bg) 92%, transparent);
    }
    .oz-nav.is-stuck { padding: 6px 12px; }
}

/* ---------- Hero ---------- */
.oz-hero { min-height: 100vh; min-height: 100svh; display: grid; align-items: center; padding: 90px clamp(16px, 4vw, 40px) 50px; }
.oz-hero-grid { display: grid; gap: 36px; width: min(1200px, 100%); margin: 0 auto; }
.oz-hero-logo { width: 210px; height: 64px; padding: 10px 16px; margin-bottom: 24px; }
.oz-hero-title { font-size: clamp(2.8rem, 8vw, 5.6rem); line-height: 1; margin-bottom: 18px; overflow-wrap: anywhere; }
.orizont .oz-subtitle { font-size: 1.18rem; max-width: 44ch; color: var(--oz-ink-soft); margin-bottom: 26px; }
.oz-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.oz-hero-side { position: relative; }
.oz-hero-photo { margin: 0; aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; box-shadow: 0 0 0 1px var(--oz-edge), 0 40px 90px -40px var(--inv-accent); }
.oz-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.oz-facts { display: grid; margin: -40px 18px 0; position: relative; padding: 6px 22px; }
.oz-facts div { display: grid; grid-template-columns: 80px 1fr; gap: 12px; padding: 12px 0; align-items: baseline; }
.oz-facts div + div { border-top: 1px solid var(--oz-edge); }
.oz-facts dt { font-size: .76rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--inv-primary); }
.oz-facts dd { margin: 0; font-weight: 500; }
@media (min-width: 900px) { .oz-hero-grid { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 60px; } }
@keyframes oz-rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.kit-js .oz-hero-title { animation: oz-rise 1.1s cubic-bezier(.2, .7, .2, 1) .1s both; }

/* ---------- Sections ---------- */
.oz-main { width: min(1200px, 100%); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.oz-section { padding-top: clamp(70px, 11vw, 120px); }

.oz-welcome-card { padding: clamp(30px, 6vw, 60px); max-width: 900px; }
.oz-welcome-title { font-size: clamp(2.2rem, 6vw, 3.2rem); margin-bottom: 16px; }
.oz-welcome-card p:first-of-type { font-size: 1.3rem; line-height: 1.5; }
.oz-quote-author { color: var(--inv-primary); font-weight: 500; }

.oz-organizer-card { display: grid; gap: 26px; padding: clamp(26px, 5vw, 50px); }
.oz-organizer-logo { width: 240px; height: 80px; padding: 14px 20px; margin-bottom: 14px; }
.oz-organizer-name { font-family: var(--inv-font-heading); font-weight: 600; font-size: 1.5rem; margin: 0; }
.oz-columns { color: var(--oz-ink-soft); }
@media (min-width: 860px) { .oz-organizer-card { grid-template-columns: 280px 1fr; gap: 50px; } .oz-columns { columns: 2; column-gap: 36px; } }

.oz-milestones { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.oz-milestone { overflow: hidden; }
.oz-milestone-photo { margin: 0; aspect-ratio: 16 / 10; }
.oz-milestone-photo img { width: 100%; height: 100%; object-fit: cover; }
.oz-milestone-art { aspect-ratio: 16 / 10; background: radial-gradient(60% 80% at 30% 40%, color-mix(in srgb, var(--inv-primary) 60%, transparent), transparent 70%), radial-gradient(60% 80% at 75% 60%, color-mix(in srgb, var(--inv-accent) 60%, transparent), transparent 70%), var(--inv-bg); filter: saturate(1.2); }
.oz-milestone-text { padding: 22px 24px 12px; }
.oz-milestone-date { font-family: var(--inv-font-heading); font-weight: 600; font-size: 2.6rem; line-height: 1; margin-bottom: 10px; background: var(--oz-glow); -webkit-background-clip: text; background-clip: text; color: transparent; }
.oz-milestone h3 { font-size: 1.4rem; margin-bottom: 6px; }
.oz-milestone p:not(.oz-milestone-date) { color: var(--oz-ink-soft); }

/* Agenda: a luminous timeline */
.oz-agenda-date { margin-top: -14px; margin-bottom: 22px; }
.oz-timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 14px; }
.oz-timeline::before { content: ""; position: absolute; left: 7px; top: 12px; bottom: 12px; width: 2px; border-radius: 2px; background: linear-gradient(var(--inv-primary), var(--inv-accent)); box-shadow: 0 0 14px var(--inv-primary); }
.oz-slot { position: relative; display: grid; grid-template-columns: 1fr; gap: 6px; padding-left: 34px; }
.oz-slot-dot { position: absolute; left: 0; top: 18px; width: 16px; height: 16px; border-radius: 50%; background: var(--inv-bg); border: 3px solid var(--inv-primary); box-shadow: 0 0 12px var(--inv-primary); }
.oz-slot-time { font-family: var(--inv-font-heading); font-weight: 600; font-size: 1.2rem; color: var(--inv-primary); margin: 12px 0 0; font-variant-numeric: tabular-nums; }
.oz-slot-card { padding: 18px 22px 14px; }
.oz-slot-card h3 { font-size: 1.3rem; margin-bottom: 4px; }
.oz-slot-speaker { font-weight: 500; margin: 0 0 6px; }
.oz-slot-text { color: var(--oz-ink-soft); margin: 0; }
@media (min-width: 760px) { .oz-slot { grid-template-columns: 90px 1fr; gap: 20px; align-items: start; } .oz-slot-time { margin-top: 18px; } }

/* Speakers: round portraits with a ring of light */
.oz-speaker-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 20px; text-align: center; }
@media (min-width: 900px) { .oz-speaker-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.oz-speaker-photo { position: relative; width: min(190px, 82%); aspect-ratio: 1; margin: 0 auto 16px; border-radius: 50%; padding: 4px; background: conic-gradient(from 210deg, var(--inv-primary), var(--inv-accent), var(--inv-primary)); box-shadow: 0 0 30px -6px var(--inv-accent); display: grid; place-items: center; overflow: hidden; }
.oz-speaker-photo img, .oz-speaker-photo span { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--inv-bg); background: var(--inv-bg); }
.oz-speaker-photo span { display: grid; place-items: center; font-family: var(--inv-font-heading); font-size: 3.4rem; color: var(--inv-primary); }
.oz-speaker h3 { font-size: 1.3rem; margin-bottom: 2px; }
.oz-speaker-role { font-size: .94rem; color: var(--oz-ink-soft); margin-bottom: 6px; }
.oz-speaker-bio summary { cursor: pointer; list-style: none; color: var(--inv-primary); font-weight: 500; font-size: .9rem; }
.oz-speaker-bio summary::-webkit-details-marker { display: none; }
.oz-speaker-bio summary::after { content: " +"; }
.oz-speaker-bio[open] summary::after { content: " −"; }
.oz-speaker-bio p { font-size: .94rem; color: var(--oz-ink-soft); margin-top: 8px; }

/* Venues */
.oz-venues { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.oz-venue { padding: 28px 26px 22px; }
.oz-venue-time { font-family: var(--inv-font-heading); font-weight: 600; font-size: 2.8rem; line-height: 1; margin-bottom: 12px; background: var(--oz-glow); -webkit-background-clip: text; background-clip: text; color: transparent; }
.oz-venue h3 { font-size: 1.5rem; margin-bottom: 6px; }
.oz-venue-place { font-weight: 500; margin: 10px 0 0; }
.oz-venue-address, .oz-venue-notes { color: var(--oz-ink-soft); margin: 0; }
.oz-venue .kit-event-actions { justify-content: flex-start; }

/* Countdown */
.oz-countdown { text-align: center; }
.oz-countdown-card { display: inline-block; padding: 22px clamp(16px, 4vw, 40px); max-width: 100%; }
.oz-countdown .kit-countdown { gap: clamp(14px, 5vw, 50px); }
.oz-countdown .kit-countdown-value { font-weight: 600; font-size: clamp(2.4rem, 9vw, 4.4rem); background: var(--oz-glow); -webkit-background-clip: text; background-clip: text; color: transparent; }
.oz-countdown .kit-countdown-label { opacity: .85; }

/* Gallery */
.oz-gallery-grid.kit-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.oz-gallery-grid.kit-gallery a { border-radius: 20px; aspect-ratio: 1; box-shadow: 0 0 0 1px var(--oz-edge); }
.oz-gallery-grid.kit-gallery a:first-child { grid-column: span 2; aspect-ratio: 16 / 9; }
@media (min-width: 900px) {
    .oz-gallery-grid.kit-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .oz-gallery-grid.kit-gallery a:first-child { grid-row: span 2; aspect-ratio: auto; }
}

/* Partners */
.oz-tier + .oz-tier { margin-top: 30px; }
.oz-logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 210px), 1fr)); gap: 12px; }
.oz-logo { height: 90px; padding: 16px 20px; text-decoration: none; transition: transform .2s, box-shadow .2s; }
a.oz-logo:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -18px var(--inv-accent); }
.oz-logo-name { font-family: var(--inv-font-heading); font-weight: 600; color: #141A2A; text-align: center; }

/* RSVP */
.oz-reply { max-width: 760px; margin: 0 auto; padding: clamp(28px, 5vw, 50px); }
.orizont .inv-rsvp__intro, .orizont .inv-rsvp__deadline { text-align: left; }
.orizont .inv-rsvp__intro { font-size: 1.18rem; }
.orizont .inv-rsvp__deadline { font-weight: 500; color: var(--inv-primary); }
.orizont .inv-rsvp__choice label { border-radius: 999px; }
.orizont .inv-rsvp__submit { font-weight: 600; box-shadow: 0 14px 30px -14px var(--inv-primary); }

/* Info, contact */
.oz-info-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.oz-info-item { padding: 26px 24px 14px; }
.oz-info-item h3 { font-size: 1.35rem; margin-bottom: 8px; color: var(--inv-primary); }
.oz-info-item p { color: var(--oz-ink-soft); }
.oz-faq { max-width: 820px; margin-top: 40px; }
.oz-faq details { border-radius: 20px; margin-bottom: 10px; }
.oz-faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; position: relative; font-weight: 500; font-size: 1.08rem; border-radius: inherit; }
.oz-faq summary::-webkit-details-marker { display: none; }
.oz-faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--inv-primary); transition: transform .3s; }
.oz-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.oz-faq summary:focus-visible { outline: 2px solid var(--inv-primary); outline-offset: 2px; }
.oz-faq details p { padding: 0 22px; color: var(--oz-ink-soft); }
.oz-faq details p:last-child { padding-bottom: 18px; }
.oz-contact .oz-title { justify-content: center; }
.oz-contact-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; text-align: center; }
.oz-contact-person { padding: 20px 26px; min-width: 240px; }
.oz-contact-name { font-family: var(--inv-font-heading); font-weight: 600; font-size: 1.4rem; margin-bottom: 4px; }
.oz-contact-person a { text-decoration: none; }

/* Footer */
.oz-footer { text-align: center; padding: clamp(100px, 14vw, 150px) 16px 70px; }
.oz-footer-message { font-size: 1.25rem; color: var(--oz-ink-soft); }
.oz-footer-title { font-family: var(--inv-font-heading); font-weight: 600; font-size: clamp(2.4rem, 8vw, 4.6rem); line-height: 1; margin: 10px 0 12px; }
.oz-footer-thanks { margin-top: 20px; font-weight: 500; }

@media (prefers-reduced-motion: reduce) {
    .oz-ribbon, .kit-js .oz-hero-title { animation: none; }
}
