/* SOH — Layout: header, nav, mobile nav, footer, floating, drawer, modal, toasts, cursor */

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--header-h); transition: background .35s var(--ease), box-shadow .35s, color .35s, transform .35s; color: var(--text); }
.header::before { content: ""; position: absolute; inset: 0; background: rgba(246, 250, 255, .82); backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6); opacity: 0; transition: opacity .35s; border-bottom: 1px solid rgba(20, 44, 69, .06); }
.header.is-solid::before { opacity: 1; }
.header.is-over { color: #fff; }
.header__inner { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; gap: 24px; }
.header__logo { flex: none; display: flex; align-items: center; }
.logo-img { width: 72px; height: auto; transition: transform .4s var(--ease-spring); }
.header.is-over .header__logo .logo-img { content: url('../img/brand/logo-mark-white.png'); }
.header__logo:hover .logo-img { transform: rotate(-6deg) scale(1.05); }

.nav { margin-inline: auto; }
.nav > ul { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: var(--r-pill);
  font-family: var(--font-display); font-weight: 500; font-size: .98rem; letter-spacing: .02em; transition: background .25s, color .25s;
}
.nav__link .ico { width: 14px; height: 14px; transition: transform .3s; opacity: .7; }
.nav__link:hover, .nav__item:focus-within .nav__link { background: rgba(0, 104, 255, .08); }
.header.is-over .nav__link:hover { background: rgba(255, 255, 255, .14); }
.nav__link.is-active { color: var(--soh-blue); }
.header.is-over .nav__link.is-active { color: #fff; }
.nav__link.is-active::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--soh-blue); }
.header.is-over .nav__link.is-active::after { background: #fff; }
.nav__item--watch .nav__link { background: var(--ink); color: #fff; padding-inline: 16px; }
.nav__item--watch .nav__link:hover { background: var(--soh-blue); }
.header.is-over .nav__item--watch .nav__link { background: #fff; color: var(--ink); }
.nav__item--watch .nav__link.is-active { color: #fff; background: var(--soh-blue); }
.nav__item--watch .nav__link.is-active::after { display: none; }
.nav__live { width: 7px; height: 7px; border-radius: 50%; background: #FF3B6B; animation: pulse 1.8s infinite; }
.has-mega:hover .nav__link .ico, .has-mega:focus-within .nav__link .ico { transform: rotate(180deg); }

.nav__drop { position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, 8px); opacity: 0; visibility: hidden; transition: all .3s var(--ease); z-index: 5; }
.nav__drop::before { content: ""; position: absolute; inset: -18px 0 auto; height: 18px; }
.has-mega:hover .nav__drop, .has-mega:focus-within .nav__drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega { background: #fff; color: var(--text); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 22px; display: flex; gap: 22px; border: 1px solid var(--border); }
.mega__col { display: flex; flex-direction: column; gap: 2px; min-width: 170px; }
.mega__col .eyebrow { margin-bottom: 8px; }
.mega__cats a { padding: 7px 10px; border-radius: 10px; font-size: .95rem; transition: background .2s, color .2s, padding .2s; }
.mega__cats a:hover { background: var(--baby); color: var(--soh-blue); padding-left: 14px; }
.mega__artists { display: grid; grid-template-columns: repeat(5, 104px); gap: 12px; }
.mega__artist { display: flex; flex-direction: column; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: .9rem; text-align: center; }
.mega__artist img { width: 104px; height: 138px; object-fit: cover; border-radius: 16px; transition: transform .4s var(--ease), border-radius .4s; }
.mega__artist:hover img { transform: translateY(-4px); border-radius: 40% 40% 16px 16px; }
.mega__events { display: flex; flex-direction: column; gap: 8px; width: 380px; }
.mega__event { display: flex; gap: 14px; align-items: center; padding: 10px; border-radius: 14px; transition: background .2s; }
.mega__event:hover { background: var(--baby); }
.mega__date { width: 56px; height: 56px; flex: none; display: grid; place-items: center; align-content: center; border-radius: 14px; background: var(--ink); color: #fff; font-size: .7rem; text-transform: uppercase; line-height: 1.1; }
.mega__date b { font-family: var(--font-display); font-size: 1.35rem; }
.mega__event strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: .92rem; line-height: 1.3; }
.mega__event small { color: var(--text-3); font-size: .8rem; }
.mega--small { flex-direction: column; gap: 2px; padding: 12px; min-width: 220px; }
.mega--small a { padding: 9px 12px; border-radius: 10px; }
.mega--small a:hover { background: var(--baby); color: var(--soh-blue); }

.header__tools { display: flex; align-items: center; gap: 10px; flex: none; }
.lang { display: inline-flex; padding: 3px; border-radius: var(--r-pill); background: rgba(20, 44, 69, .06); border: 1px solid rgba(20, 44, 69, .08); }
.header.is-over .lang { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .22); }
.lang__btn { padding: 6px 12px; border-radius: var(--r-pill); font-family: var(--font-display); font-weight: 600; font-size: .8rem; letter-spacing: .06em; opacity: .7; transition: all .25s; min-height: 32px; }
.lang__btn.is-on { background: var(--soh-blue); color: #fff; opacity: 1; box-shadow: var(--shadow-blue); }
.icon-btn { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; transition: background .2s; }
.icon-btn:hover { background: rgba(0, 104, 255, .08); }
.icon-btn .ico { width: 22px; height: 22px; }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #FF3B6B; color: #fff; font-size: .68rem; font-weight: 700; display: grid; place-items: center; transform: scale(0); transition: transform .3s var(--ease-spring); }
.cart-count.is-on { transform: scale(1); }
.cart-count.bump { animation: bump .5s var(--ease-spring); }
@keyframes bump { 40% { transform: scale(1.5); } }
.burger { display: none; }

@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: grid; }
  .header__tools { margin-left: auto; }
}
@media (max-width: 480px) { .header__tools .lang { display: none; } .logo-img { width: 62px; } }

/* ---------- Mobile nav ---------- */
.mnav { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.mnav__panel {
  position: absolute; inset: 0; background: var(--ink); color: #fff; padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto;
  clip-path: circle(0 at calc(100% - 40px) 32px); transition: clip-path .7s var(--ease);
}
.mnav__panel::before { content: ""; position: absolute; width: 420px; height: 420px; right: -160px; bottom: -120px; background: var(--soh-blue); border-radius: 58% 42% 55% 45%; filter: blur(10px); opacity: .5; }
.menu-open .mnav { z-index: 1; pointer-events: auto; }
.menu-open .mnav__panel { clip-path: circle(150% at calc(100% - 40px) 32px); }
.menu-open .header { color: #fff; }
.menu-open .header::before { opacity: 0; }
.menu-open .header .logo-img { content: url('../img/brand/logo-mark-white.png'); }
.mnav ul { position: relative; display: flex; flex-direction: column; gap: 4px; }
.mnav li { opacity: 0; transform: translateY(20px); transition: all .5s var(--ease); transition-delay: calc(var(--i) * 50ms + .15s); }
.menu-open .mnav li { opacity: 1; transform: none; }
.mnav li a { display: flex; align-items: baseline; gap: 14px; font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 8vw, 3rem); line-height: 1.25; padding: 4px 0; }
.mnav li a span { font-size: .8rem; color: var(--sky); font-weight: 500; }
.mnav li a.is-active { color: var(--sky); }
.mnav__foot { position: relative; display: flex; flex-direction: column; gap: 18px; margin-top: 30px; }
.lang--lg { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .15); align-self: flex-start; }
.lang--lg .lang__btn { padding: 10px 20px; font-size: .95rem; min-height: 44px; }

/* social row */
.social-row { display: flex; flex-wrap: wrap; gap: 8px; }
.soc { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: #fff; transition: transform .3s var(--ease-spring), background .25s; }
.soc:hover { transform: translateY(-3px); background: var(--soh-blue); }
.soc .ico { width: 19px; height: 19px; }
.soc--line:hover { background: var(--line-green); }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--ink); color: rgba(255, 255, 255, .78); margin-top: clamp(60px, 8vw, 120px); padding: clamp(60px, 8vw, 100px) 0 28px; overflow: hidden; }
.footer::before { content: ""; position: absolute; width: 560px; height: 560px; left: -200px; top: -260px; background: radial-gradient(circle, rgba(0, 104, 255, .45), transparent 65%); }
.footer::after { content: ""; position: absolute; width: 480px; height: 480px; right: -180px; bottom: -260px; background: radial-gradient(circle, rgba(200, 184, 255, .25), transparent 65%); }
.footer__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.footer__logo { width: 190px; margin-bottom: 20px; }
.footer__brand p { max-width: 360px; margin-bottom: 22px; font-size: .95rem; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 { color: #fff; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 8px; font-weight: 600; }
.footer__col a, .footer__muted { display: inline-flex; align-items: center; gap: 8px; font-size: .95rem; transition: color .2s, transform .2s; word-break: break-word; }
.footer__col a:hover { color: var(--sky); transform: translateX(3px); }
.footer__col .ico { width: 18px; height: 18px; color: var(--sky); }
.footer__bottom { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; color: rgba(255, 255, 255, .5); }
.footer__proto { max-width: 640px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- Floating social + to-top ---------- */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 50; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.fab__toggle { width: 56px; height: 56px; border-radius: 50%; background: var(--soh-blue); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-blue); transition: transform .35s var(--ease-spring), background .3s; position: relative; }
.fab__toggle:hover { transform: scale(1.06); }
.fab__toggle .ico { width: 24px; height: 24px; position: absolute; transition: opacity .25s, transform .35s var(--ease); }
.fab__toggle > .ico { opacity: 0; transform: rotate(-90deg); }
.fab__heart { display: grid; place-items: center; transition: opacity .25s, transform .35s; }
.fab__heart .ico { position: static; animation: beat 2.4s infinite; }
@keyframes beat { 0%, 60%, 100% { transform: scale(1); } 10%, 30% { transform: scale(1.18); } 20% { transform: scale(.95); } }
.fab.is-open .fab__toggle { background: var(--ink); }
.fab.is-open .fab__toggle > .ico { opacity: 1; transform: none; }
.fab.is-open .fab__heart { opacity: 0; transform: scale(.4); }
.fab__list { display: flex; flex-direction: column-reverse; gap: 8px; }
.fab__item { width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; box-shadow: var(--shadow-md); opacity: 0; transform: translateY(16px) scale(.6); pointer-events: none; transition: all .35s var(--ease-spring); transition-delay: calc(var(--i) * 35ms); position: relative; }
.fab__item .ico { width: 20px; height: 20px; }
.fab.is-open .fab__item { opacity: 1; transform: none; pointer-events: auto; }
.fab__item:hover { background: var(--soh-blue); color: #fff; }
.fab__item.soc--line { color: var(--line-green); }
.fab__item.soc--line:hover { background: var(--line-green); color: #fff; }
.fab__item::after { content: attr(data-tip); position: absolute; right: calc(100% + 10px); background: var(--ink); color: #fff; font-size: .75rem; padding: 4px 10px; border-radius: 8px; white-space: nowrap; opacity: 0; transform: translateX(6px); transition: all .2s; pointer-events: none; }
.fab__item:hover::after { opacity: 1; transform: none; }
.to-top { position: fixed; right: 26px; bottom: 90px; z-index: 49; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--navy); box-shadow: var(--shadow-md); display: grid; place-items: center; opacity: 0; transform: translateY(10px); pointer-events: none; transition: all .3s var(--ease); }
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.fab.is-open ~ .to-top { opacity: 0; pointer-events: none; }
body[data-page="event"] .fab, body[data-page="event"] .to-top { bottom: calc(20px + var(--mbar, 0px)); }
body[data-page="event"] .to-top { bottom: calc(90px + var(--mbar, 0px)); }

/* ---------- Drawer (cart) ---------- */
.scrim { position: fixed; inset: 0; background: rgba(11, 26, 46, .45); backdrop-filter: blur(4px); z-index: 80; opacity: 0; pointer-events: none; transition: opacity .3s; }
.scrim.is-on { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: #fff; z-index: 90; display: flex; flex-direction: column; transform: translateX(105%); transition: transform .5s var(--ease); box-shadow: var(--shadow-lg); }
.drawer.is-open { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--border); }
.drawer__head h3 { font-size: 1.3rem; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 22px; }
.drawer__foot { padding: 18px 22px 22px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; }
.drawer__foot:empty { display: none; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(11, 26, 46, .72); backdrop-filter: blur(8px); opacity: 0; transition: opacity .3s; }
.modal__box { position: relative; width: min(560px, 100%); max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow-y: auto; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); transform: translateY(24px) scale(.97); opacity: 0; transition: all .4s var(--ease); }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-open .modal__box { transform: none; opacity: 1; }
.modal__close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--navy); display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: transform .3s; }
.modal__close:hover { transform: rotate(90deg); }
.modal__close .ico { width: 20px; height: 20px; }
.modal--video .modal__box { width: min(1080px, 100%); background: var(--ink); color: #fff; }
.modal--lightbox .modal__box { width: min(1100px, 100%); background: transparent; box-shadow: none; overflow: visible; }
.modal--qv .modal__box { width: min(860px, 100%); }

/* ---------- Toasts ---------- */
.toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 120; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; width: calc(100% - 32px); max-width: 460px; }
.toast { display: flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; padding: 12px 18px 12px 12px; border-radius: var(--r-pill); box-shadow: var(--shadow-lg); font-size: .92rem; opacity: 0; transform: translateY(20px) scale(.95); transition: all .4s var(--ease-spring); }
.toast.in { opacity: 1; transform: none; }
.toast__dot { width: 28px; height: 28px; border-radius: 50%; background: var(--soh-blue); display: grid; place-items: center; flex: none; }
.toast__dot .ico { width: 16px; height: 16px; }
.toast--info .toast__dot { background: var(--lilac); color: var(--ink); }

/* ---------- Cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 130; pointer-events: none; }
.cursor span { position: absolute; transform: translate(-50%, -50%) scale(0); background: var(--soh-blue); color: #fff; font-family: var(--font-display); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 0 14px; height: 76px; min-width: 76px; border-radius: 50%; display: grid; place-items: center; text-align: center; transition: transform .35s var(--ease-spring); box-shadow: var(--shadow-blue); white-space: nowrap; }
.cursor.is-on span { transform: translate(-50%, -50%) scale(1); }
