.hi-landing { display: none; }
:root[data-entry="landing"] body > .shell { display: none; }
:root[data-entry="landing"] .hi-landing { display: block; }

.hi-landing {
  --landing-header-height: 38px;
  --landing-background: #101011;
  --landing-border: #373739;
  --landing-text: #f7f7f8;
  --landing-muted: #bdbdc4;
  --landing-accent: #da3e49;
  color-scheme: dark;
  background: var(--landing-background);
  color: var(--landing-text);
}

.hi-landing a { color: inherit; text-decoration: none; }
.hi-landing a:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
.hi-landing__header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--landing-background);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--landing-header-height);
  padding: 2px clamp(16px, 4vw, 72px);
  border-bottom: 1px solid var(--landing-border);
}

.hi-landing__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -.055em;
  white-space: nowrap;
}

.hi-landing__brand img { display: block; width: 30px; height: 30px; object-fit: contain; }

.hi-landing__nav, .hi-landing__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hi-landing__nav { gap: clamp(20px, 3.4vw, 56px); font-size: .875rem; font-weight: 650; }
.hi-landing__nav a:hover, .hi-landing__footer a:hover { text-decoration: underline; text-underline-offset: 5px; }

.hi-landing__button {
  display: inline-grid;
  place-items: center;
  min-height: 44px;
  padding: 9px 19px;
  border: 1px solid #d1d1d5;
  border-radius: 7px;
  background: #121214a6;
  font-weight: 700;
  text-align: center;
}


.hi-landing__button:hover { background: #363639; }
.hi-landing .hi-landing__button--solid {
  background: #eeeef0;
  border-color: #eeeef0;
  color: #18181a;
}
.hi-landing .hi-landing__button--solid:hover { background: #d8d8dc; }
.hi-landing [data-app-download][aria-disabled="true"] { cursor: not-allowed; opacity: .6; }

.hi-landing__hero {
  display: grid;
  align-content: end;
  justify-items: center;
  min-height: calc(100svh - var(--landing-header-height));
  padding: clamp(230px, 48svh, 470px) clamp(16px, 4vw, 64px) 16px;
  background:
    linear-gradient(180deg, transparent 41%, #100f1277 65%, #101011 100%),
    linear-gradient(90deg, #101011 0%, transparent 15%, transparent 85%, #101011 100%),
    url('/assets/hiadmin-pista-nocturna.webp') center / cover no-repeat,
    #101011;
  text-align: center;
}

.hi-landing__hero-content { width: min(100%, 920px); }

.hi-landing__hero-content h1 {
  font-size: clamp(1.75rem, 3.4vw, 3.3rem);
  font-weight: 850;
  line-height: 1.03;
  letter-spacing: -.045em;
  text-wrap: balance;
  text-transform: uppercase;
  text-shadow: 0 3px 22px #000b;
}
.hi-landing__hero-content p {
  margin: 10px auto 17px;
  color: #ededf0;
  font-size: clamp(.7rem, 1vw, .875rem);
  font-weight: 650;
  letter-spacing: .24em;
  text-transform: uppercase;
  text-wrap: balance;
}

.hi-landing__actions { justify-content: center; gap: clamp(12px, 2vw, 28px); }
.hi-landing__actions .hi-landing__button { width: min(100%, 185px); min-height: 44px; font-size: .875rem; }
.hi-landing__scroll {
  display: grid;
  justify-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 4px 10px;
  font-size: .625rem;
  font-weight: 750;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.hi-landing__scroll span {
  width: 20px;
  height: 30px;
  border: 1.5px solid #eaeaec;
  border-radius: 12px;
}
.hi-landing__scroll span::before {
  content: '';
  display: block;
  width: 2px;
  height: 7px;
  margin: 5px auto 0;
  border-radius: 2px;
  background: #eaeaec;
}
.hi-landing__scroll::after { content: ''; width: 2px; height: 14px; background: var(--landing-accent); transform-origin: top; }

.hi-landing :is(section, article)[id] { scroll-margin-top: calc(var(--landing-header-height) + 12px); }

.hi-landing__closing {
  display: grid;
  justify-items: center;
  gap: clamp(14px, 2vw, 24px);
  padding: clamp(34px, 5vw, 66px) 20px;
  background: #2e2e2f;
  text-align: center;
}
.hi-landing__closing h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.5rem);
  font-weight: 650;
  letter-spacing: -.025em;
}
.hi-landing__closing p { max-width: 52ch; color: #ececef; font-size: clamp(1rem, 1.8vw, 1.3rem); line-height: 1.55; }
.hi-landing__closing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: min(100%, 440px);
  margin-top: 4px;
}
.hi-landing__closing-actions a { flex: 1 1 155px; }
.hi-landing__closing .hi-landing__button { min-height: 48px; border-radius: 4px; }
.hi-landing__closing .hi-landing__start {
  display: grid;
  place-items: center;
  min-height: 48px;
  padding: 12px 20px;
  background: linear-gradient(#a9191d, #cb2429);
  color: #fff;
  font-weight: 750;
  letter-spacing: .065em;
  text-transform: uppercase;
}
.hi-landing__closing .hi-landing__start:hover { background: #a91c20; }

.hi-landing__footer { background: #181819; }
.hi-footer__channels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(calc(100% - 40px), 1100px);
  margin-inline: auto;
  padding-block: clamp(18px, 4vw, 40px);
  border-bottom: 1px solid #363638;
}
.hi-footer__channels a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 14px 6px;
  font-size: clamp(.75rem, 1.5vw, 1rem);
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hi-footer__channels a + a { border-left: 1px solid #363638; }
.hi-footer__channels svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hi-footer__about {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: clamp(32px, 5vw, 70px) 20px;
  color: var(--landing-muted);
  text-align: center;
}
.hi-footer__about .hi-landing__brand { color: var(--landing-text); }
.hi-footer__legal {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px clamp(20px, 5vw, 56px);
  background: #2e2e2f;
  padding: 20px;
  font-size: .875rem;
}
.hi-footer__legal a { padding: 6px 0; }
.hi-footer__legal span { margin-left: 4px; }

@media (max-width: 820px) {
  .hi-landing__hero {
    padding-top: clamp(195px, 48vw, 330px);
  }
}

@media (max-width: 480px) {
  .hi-landing__hero-content p { letter-spacing: .14em; }
  .hi-landing__actions .hi-landing__button { padding-inline: 10px; }
}

@media (prefers-reduced-motion: no-preference) {
  :root[data-entry="landing"] { scroll-behavior: smooth; }
  .hi-landing__scroll::after { animation: landing-scroll-pulse 1.8s ease-in-out infinite; }
}

@keyframes landing-scroll-pulse {
  0%, 100% { opacity: .65; transform: scaleY(.65); }
  50% { opacity: 1; transform: scaleY(1); }
}

.hi-carousel {
  --carousel-red: #c92128;
  color-scheme: light;
  min-height: min(680px, calc(100svh - var(--landing-header-height)));
  display: grid;
  align-content: center;
  gap: clamp(14px, 3vh, 30px);
  background: #fcfcfc;
  color: #111;
  padding: clamp(20px, 4vh, 36px) clamp(12px, 5vw, 68px);
}

.hi-carousel__stage {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: clamp(10px, 2vw, 36px);
  width: min(100%, 1080px);
  margin-inline: auto;
}

.hi-carousel__slide {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 5vw, 78px);
}

.hi-carousel__copy { min-width: 0; }
.hi-carousel__tag {
  color: var(--carousel-red);
  font-size: clamp(.78rem, 1.4vw, 1.16rem);
  font-weight: 850;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: clamp(8px, 1.8vw, 16px);
}
.hi-carousel h2 {
  font-size: clamp(1.65rem, 3.5vw, 3.25rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.045em;
  text-transform: uppercase;
  text-wrap: balance;
}
.hi-carousel__description {
  margin-top: clamp(9px, 1.5vw, 18px);
  max-width: 32ch;
  font-size: clamp(.95rem, 1.45vw, 1.23rem);
  line-height: 1.35;
  font-weight: 600;
}
.hi-carousel details { margin-top: clamp(8px, 1.6vw, 18px); }
.hi-carousel details p { margin-top: 8px; max-width: 40ch; line-height: 1.5; }
.hi-carousel summary {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 11px;
  cursor: pointer;
  font-weight: 750;
  text-transform: uppercase;
  list-style: none;
}
.hi-carousel summary::-webkit-details-marker { display: none; }
.hi-carousel summary::after {
  content: '+';
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid #aaa;
  border-radius: 50%;
}
.hi-carousel details[open] summary::after { content: '−'; }

.hi-carousel__media {
  aspect-ratio: 8 / 9;
  max-height: min(60svh, 490px);
  width: min(100%, 430px);
  justify-self: center;
  overflow: hidden;
  background: #1a1718;
}
.hi-carousel__media img { display: block; width: 100%; height: 100%; object-fit: cover; }

.hi-carousel button { display: grid; place-items: center; border: 0; background: transparent; color: #111; padding: 0; }
.hi-carousel :is(button, summary):focus-visible { outline-color: var(--carousel-red); }
.hi-carousel__arrow { width: 44px; height: 44px; border-radius: 50%; }
.hi-carousel__arrow:hover, .hi-carousel__pause:hover { background: #ededed; }
.hi-carousel__arrow span { width: 9px; height: 9px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(-45deg); }
.hi-carousel__arrow--prev span { transform: rotate(135deg); }

.hi-carousel__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 14px;
  font-weight: 750;
  font-size: .875rem;
  text-transform: uppercase;
}
.hi-carousel__dots { display: flex; }
.hi-carousel__dots button { width: 32px; height: 36px; border-radius: 50%; }
.hi-carousel__dots span { width: 7px; height: 7px; border-radius: 50%; background: #111; }
.hi-carousel__dots [aria-current] span {
  width: 22px;
  height: 22px;
  background: conic-gradient(var(--carousel-red) var(--slide-progress, 0turn), #dedede 0turn);
  mask: radial-gradient(transparent 57%, #000 61%);
}
.hi-carousel__control-label { display: flex; align-items: center; gap: 12px; }
.hi-carousel__control-label::before { content: ''; width: clamp(20px, 5vw, 72px); height: 1px; background: #666; }
.hi-carousel__pause { width: 34px; height: 36px; border-radius: 50%; }
.hi-carousel__pause span { width: 9px; height: 11px; border-inline: 2px solid; }
.hi-carousel__pause[aria-pressed='true'] span { width: 0; height: 0; border: 6px solid transparent; border-right: 0; border-left: 9px solid; }
.hi-carousel__count { font-variant-numeric: tabular-nums; white-space: nowrap; }

@media (max-width: 700px) {
  .hi-carousel { min-height: 0; }
  .hi-carousel__stage { grid-template-columns: 30px minmax(0, 1fr) 30px; gap: 3px; }
  .hi-carousel__arrow { width: 30px; }
  .hi-carousel__slide { grid-template-columns: 1fr; gap: 14px; }
  .hi-carousel__media { width: min(100%, 315px); max-height: 41svh; }
  .hi-carousel__control-label::before { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .hi-carousel__slide.is-entering .hi-carousel__copy > * {
    animation: hi-carousel-sway 980ms cubic-bezier(.22, .64, .32, 1) both;
  }
  .hi-carousel__slide.is-entering h2 { animation-delay: 65ms; }
  .hi-carousel__slide.is-entering .hi-carousel__description { animation-delay: 130ms; }
  .hi-carousel__slide.is-entering details { animation-delay: 195ms; }
  .hi-carousel__slide.is-entering .hi-carousel__media {
    mask-image: linear-gradient(90deg, #000 44%, transparent 56%);
    mask-size: 250% 100%;
    animation: hi-carousel-wipe 1.15s cubic-bezier(.35, .13, .24, 1) both;
  }
  .hi-carousel__slide.is-entering img { animation: hi-carousel-sharpen 1.1s ease-out both; }
}

@keyframes hi-carousel-sway {
  0% { opacity: 0; transform: translateY(-11px); }
  68% { opacity: 1; transform: translateY(1px); }
  100% { opacity: 1; transform: none; }
}

@keyframes hi-carousel-wipe {
  from { mask-position: 100% 0; }
  to { mask-position: 0 0; }
}

@keyframes hi-carousel-sharpen {
  from { filter: blur(3px); }
  to { filter: blur(0); }
}

:root[data-entry='landing'] { scrollbar-width: none; }
:root[data-entry='landing']::-webkit-scrollbar { display: none; }

.hi-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: #101011;
}

.hi-gallery__tile {
  position: relative;
  display: grid;
  align-items: end;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}

.hi-gallery__tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hi-gallery__tile::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 42%, #0007 67%, #000e 100%);
}

.hi-gallery__content {
  display: grid;
  justify-items: center;
  gap: clamp(12px, 2.1vw, 28px);
  padding: clamp(16px, 3.5vw, 48px) clamp(8px, 3vw, 40px);
  text-align: center;
}

.hi-gallery__content h2 {
  max-width: 100%;
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: clamp(1.35rem, 4.3vw, 4.15rem);
  font-weight: 750;
  line-height: .99;
  letter-spacing: .025em;
  text-transform: uppercase;
  text-wrap: balance;
  overflow-wrap: anywhere;
  transform: scaleX(1.06);
}

.hi-gallery__content a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: #fff;
  font-size: clamp(.78rem, 1.25vw, 1rem);
  font-weight: 750;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.hi-gallery__content a span {
  display: grid;
  place-items: center;
  width: clamp(40px, 4.1vw, 58px);
  aspect-ratio: 1;
  border: 2px solid #fffc;
  border-radius: 50%;
}

.hi-gallery__content a span::before {
  content: '';
  width: 12px;
  height: 19px;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%, 41% 50%);
}

.hi-gallery__content a:is(:hover, :focus-visible) span {
  background: #fff;
  color: #111;
}

@media (prefers-reduced-motion: no-preference) {
  .hi-gallery__content a span { transition: color 180ms ease, background-color 180ms ease; }
}

@media (max-width: 640px) {
  .hi-gallery { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
  .hi-gallery.is-observed .hi-gallery__tile img {
    clip-path: inset(0 100% 0 0);
  }

  .hi-gallery.is-observed .hi-gallery__tile:is(.is-visible, :focus-within) img {
    clip-path: inset(0);
    transition: clip-path .9s cubic-bezier(.32, .05, .23, 1);
    transition-delay: var(--gallery-delay, 0ms);
  }
}

html:has(.hi-access[open]) { overflow: hidden; }
.hi-access {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.hi-access[open] { display: grid; grid-template-columns: minmax(0, 38fr) minmax(0, 62fr); }
.hi-access::backdrop { background: #000; }
.hi-access__veil { display: grid; place-items: center; min-width: 0; cursor: pointer; }
.hi-access__veil img {
  width: clamp(95px, 15vw, 210px);
  height: auto;
  filter: drop-shadow(0 0 22px #ffffff30);
}
.hi-access__panel {
  position: relative;
  min-width: 0;
  overflow: auto;
  overscroll-behavior: contain;
  color-scheme: light;
  background: #fff;
  color: #141416;
}
.hi-access__controls {
  display: flex;
  justify-content: flex-end;
  padding: clamp(14px, 3vw, 30px) clamp(14px, 3vw, 34px) 0;
}
.hi-access__close {
  position: relative;
  padding: 0;
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border: 1px solid #aaa;
  border-radius: 50%;
  background: #fff;
  color: #141416;
}
/* Draw both strokes from the exact center of the button. */
.hi-access__close::before,
.hi-access__close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 1.5px;
  border-radius: 1px;
  background: currentColor;
  transform: translate(-50%, -50%) rotate(45deg);
}
.hi-access__close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.hi-access__close:hover { background: #f0f0f0; }
.hi-access .auth {
  --ui-accent: #a91924;
  --ui-focus: #85131b;
  --ui-text: #141416;
  --ui-muted: #54545a;
  --ui-on-accent: #fff;
  --ui-field-border: #a3a3aa;
  --ui-border: #dedee1;
  width: min(100%, 850px);
  max-width: none;
  margin: 0 auto;
  padding: clamp(14px, 2.5vw, 36px) clamp(22px, 5vw, 80px) 44px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  color: var(--ui-text);
}
.hi-access .auth-brand { margin-bottom: 18px; }
.hi-access .auth h1 {
  font-size: clamp(2rem, 3.5vw, 3.3rem);
  font-weight: 710;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.hi-access .auth h1 + p { margin: 12px 0 clamp(24px, 4vh, 44px); font-size: clamp(.98rem, 1.5vw, 1.2rem); }
.hi-access .auth form { gap: 18px; }
.hi-access .auth-field input {
  min-height: 48px;
  border: 1px solid #d2d2d8;
  border-radius: 12px;
  background: #fafafa;
}
.hi-access .auth-field input:focus {
  border-color: #ad7980;
  outline: 0;
  box-shadow: 0 0 0 3px #a919241a;
}
.hi-access .auth-password input { padding-inline-end: 50px; }
.hi-access .auth .primary { min-height: 48px; border-radius: 4px; }
.hi-access .auth .login-error { color: #9b1720; background: #fff0ee; }
.hi-access .auth-legal-links a { color: var(--ui-accent); }
@media (max-width: 640px) {
  .hi-access[open] { grid-template-columns: minmax(0, 1fr); grid-template-rows: 84px minmax(0, 1fr); }
  .hi-access__veil img { width: 66px; }
}

.hi-landing__nav .hi-landing__mobile-link { display: inline-flex; }
@media (max-width: 820px) {
  .hi-landing__nav { display: flex; }
  .hi-landing__nav a:not(.hi-landing__mobile-link) { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  [data-landing-reveal].is-copy-visible > :is(h1, h2, p, a, small, .hi-landing__actions, .hi-landing__closing-actions) {
    animation: hi-landing-copy-in 820ms cubic-bezier(.22, .64, .32, 1) both;
  }
  [data-landing-reveal].is-copy-visible > :nth-child(2) { animation-delay: 75ms; }
  [data-landing-reveal].is-copy-visible > :nth-child(3) { animation-delay: 150ms; }
}
@keyframes hi-landing-copy-in {
  from { opacity: .22; translate: 0 9px; }
  to { opacity: 1; translate: none; }
}
