/*
 * Venues and FAQ pages, 2026-10-17. Same card language as the homepage
 * (hiibiza.com reference): big rounded photo cards, label pills, huge heavy
 * caps words and light glass pills and cards. Only real venue photos.
 * Loaded after marketing.css, secondary-pages.css and cta-glass.css.
 */

.hi-page {
  --hi-radius: 40px;
  --hi-radius-inner: 30px;
  --hi-card: #1b1d1c;
  --hi-card-2: #262827;
  --hi-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Shared bits ---------- */
.hi-word {
  margin: 0;
  padding: clamp(64px, 10vw, 140px) 0 clamp(24px, 3.5vw, 44px);
  font-family: var(--marketing-display);
  font-size: clamp(3.4rem, 12vw, 9.5rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.88;
  text-align: center;
  text-transform: uppercase;
}
.hi-tag {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--marketing-ink);
  font-family: var(--marketing-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}
.hi-tag--dark {
  background: rgba(0, 0, 0, 0.55);
}
.hi-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.hi-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--hi-card-2);
  color: var(--marketing-ink);
  font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform 200ms var(--hi-ease), background-color 200ms;
}
.hi-pill:hover {
  background: #333634;
}
.hi-pill--white,
.hi-pill--white:hover {
  background: #fff;
  color: #141414;
}
.hi-pill:active {
  transform: scale(0.97);
}

/* ---------- Photo hero ---------- */
.hi-hero {
  padding-top: clamp(84px, 10vw, 112px);
}
.hi-hero__frame {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(80svh, 820px);
  overflow: hidden;
  border-radius: var(--hi-radius);
  background: #111;
  isolation: isolate;
}
.hi-hero__frame > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hi-hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.45) 58%, rgba(0, 0, 0, 0.9) 100%);
}
.hi-hero__inner {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 0 20px clamp(36px, 6vw, 68px);
  text-align: center;
}
.hi-hero h1 {
  margin: 0;
  font-family: var(--marketing-display);
  font-size: clamp(3.2rem, 10vw, 9rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.86;
  text-wrap: balance;
}
.hi-hero__inner > p:not(.hi-tag) {
  max-width: 34rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  line-height: 1.45;
}

/* ---------- Big numbers ---------- */
.hi-numbers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.hi-numbers article {
  display: grid;
  gap: 10px;
  padding: clamp(26px, 3.5vw, 40px);
  border-radius: var(--hi-radius);
  background: var(--hi-card);
  text-align: center;
}
.hi-numbers b {
  font-family: var(--marketing-display);
  font-size: clamp(3rem, 6.4vw, 5.6rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.88;
  color: #fff;
}
.hi-numbers article:first-child b {
  color: #9c6c1f;
}
.hi-numbers span {
  color: var(--marketing-muted);
  font-size: 1rem;
}

/* ---------- Photo grid ---------- */
.hi-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: clamp(220px, 24vw, 320px);
  grid-auto-flow: dense;
  gap: 12px;
}
.hi-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--hi-radius);
  background: #111;
  isolation: isolate;
}
.hi-photo--tall {
  grid-row: span 2;
}
.hi-photo--wide {
  grid-column: span 2;
}
.hi-photo img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--hi-ease);
}
.hi-photo:hover img {
  transform: scale(1.05);
}
.hi-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.75) 100%);
}
.hi-photo figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 0 18px 24px;
  text-align: center;
}
.hi-photo figcaption .hi-tag {
  background: rgba(0, 0, 0, 0.5);
}
.hi-photo figcaption b {
  font-family: var(--marketing-display);
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-transform: uppercase;
}

/* ---------- Steps ---------- */
.hi-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hi-steps li {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 26px 22px 30px;
  border-radius: 32px;
  background: var(--hi-card);
}
.hi-step__n {
  font-family: var(--marketing-display);
  font-size: 3.4rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: #9c6c1f;
}
.hi-steps h3 {
  margin: 0;
  font-family: var(--marketing-display);
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  line-height: 1;
}
.hi-steps p {
  margin: 0;
  color: var(--marketing-muted);
  line-height: 1.45;
}

/* ---------- End card ---------- */
.hi-end {
  padding: clamp(64px, 9vw, 120px) 0 clamp(40px, 6vw, 72px);
}
.hi-end__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border-radius: var(--hi-radius);
  background: var(--hi-card);
}
.hi-end__card > img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: var(--hi-radius-inner);
}
.hi-end__card > div {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 26px;
  padding: 28px 20px;
  text-align: center;
}
.hi-end h2 {
  margin: 0;
  font-family: var(--marketing-display);
  font-size: clamp(2.4rem, 4.6vw, 4.4rem);
  letter-spacing: -0.05em;
  line-height: 0.9;
  text-wrap: balance;
}

/* ---------- FAQ ---------- */
.hi-intro {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding-top: clamp(40px, 6vw, 72px);
  text-align: center;
}
.hi-intro .hi-word {
  padding-bottom: 0;
}
.hi-intro > p {
  max-width: 34rem;
  margin: 0;
  color: var(--marketing-muted);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.45;
}
.hi-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}
.hi-faq {
  display: grid;
  gap: clamp(40px, 6vw, 72px);
  width: min(860px, 100%);
  margin: clamp(48px, 7vw, 88px) auto 0;
}
.hi-faq__group {
  scroll-margin-top: 110px;
}
.hi-faq__group h2 {
  margin: 0 0 14px;
  text-align: center;
}
.hi-faq__list {
  display: grid;
  gap: 8px;
}
.hi-faq__list details {
  border-radius: 26px;
  background: var(--hi-card);
}
.hi-faq__list summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}
.hi-faq__list summary::-webkit-details-marker {
  display: none;
}
.hi-faq__list summary::after {
  content: "+";
  flex: none;
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 250ms var(--hi-ease);
}
.hi-faq__list details[open] summary::after {
  transform: rotate(45deg);
}
.hi-faq__list p {
  margin: 0;
  padding: 0 26px 22px;
  color: var(--marketing-muted);
  line-height: 1.55;
}

@media (max-width: 960px) {
  .hi-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hi-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .hi-page {
    --hi-radius: 30px;
    --hi-radius-inner: 24px;
  }
  .hi-numbers,
  .hi-steps,
  .hi-end__card {
    grid-template-columns: 1fr;
  }
  .hi-photos {
    grid-auto-rows: 200px;
    gap: 8px;
  }
  .hi-photo--wide {
    grid-column: span 2;
  }
  .hi-photo figcaption b {
    font-size: 1.2rem;
  }
  .hi-end__card > img {
    min-height: 240px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hi-photo img,
  .hi-photo:hover img {
    transition: none;
    transform: none;
  }
}

/* The secondary pages sit on light paper: dark cards carry their own light ink. */
.hi-hero__frame,
.hi-numbers article,
.hi-photo,
.hi-steps li,
.hi-end__card,
.hi-faq__list details,
.hi-pill {
  --marketing-ink: #f7f5eb;
  --marketing-muted: rgba(247, 245, 235, 0.66);
  color: #f7f5eb;
}
.hi-pill--white,
.hi-pill--white:hover {
  color: #141414;
}
.hi-faq__group h2 .hi-tag {
  background: #141414;
  color: #f7f5eb;
}
.hi-intro > p {
  color: #5c5c58;
}
@media (max-width: 640px) {
  .hi-end__card > img {
    height: auto;
    aspect-ratio: 4 / 3;
  }
}
.hi-hero__frame {
  grid-template-columns: minmax(0, 1fr);
}
@media (max-width: 640px) {
  .hi-hero h1 {
    font-size: clamp(2.5rem, 11.5vw, 4rem);
  }
}
.hi-hero__inner {
  justify-self: stretch;
  min-width: 0;
}
@media (max-width: 640px) {
  .hi-hero__inner {
    padding-inline: 12px;
  }
  .hi-page .cta-glass.cta-glass.cta-glass {
    padding-inline: 1.15rem;
    font-size: 0.9rem;
  }
}
.hi-end__card > div {
  min-width: 0;
}
@media (max-width: 640px) {
  .hi-numbers,
  .hi-steps,
  .hi-end__card {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Round 3 (owner review): purple instead of black, Hï style. */
.hi-page {
  --hi-purple: linear-gradient(160deg, var(--playit-purple-2, #9b82ff), var(--playit-purple, #7a5af8) 55%, var(--playit-purple-deep, #5b3fd6));
}
.hi-numbers article,
.hi-steps li,
.hi-end__card {
  background: var(--hi-purple);
}
.hi-numbers article:first-child b,
.hi-step__n {
  color: #fff;
}
.hi-numbers span,
.hi-steps p {
  color: rgba(255, 255, 255, 0.82);
}
.hi-faq__list details {
  background: #fff;
  color: #141414;
}
.hi-faq__list p {
  color: #5c5c58;
}
.hi-pills .hi-pill {
  background: #fff;
  color: #141414;
}
.hi-pills .hi-pill:hover {
  background: var(--playit-lilac, #ece7ff);
}
.hi-end .cta-glass.cta-glass.cta-glass {
  background: #fff;
  color: #0b0b0c;
  animation: none;
}
.hi-end .cta-glass .cta-glass__logo {
  filter: none;
}

/* Round 5: no purple. Warm cream cards, gold numbers. */
.hi-page {
  --hi-purple: linear-gradient(165deg, #fffaf0, #f6e6c4 60%, #ecd29c);
}
.hi-numbers article,
.hi-steps li,
.hi-end__card {
  color: #141414;
  --marketing-ink: #141414;
  --marketing-muted: #5c5c58;
}
.hi-numbers b,
.hi-numbers article:first-child b,
.hi-step__n {
  color: #9c6c1f;
}
.hi-numbers span,
.hi-steps p {
  color: #5c5c58;
}
.hi-pills .hi-pill:hover {
  background: #fbf4e4;
}
.hi-end .cta-glass.cta-glass.cta-glass {
  background: #141414;
  color: #fff;
}
.hi-end .cta-glass .cta-glass__logo {
  filter: brightness(0) invert(1);
}

/* Round 6: light glass cards and buttons. */
.hi-numbers article,
.hi-steps li,
.hi-end__card,
.hi-faq__list details,
.hi-pills .hi-pill {
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.52);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 24px 50px -34px rgba(20, 20, 40, 0.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  backdrop-filter: blur(22px) saturate(1.35);
}
.hi-numbers b,
.hi-numbers article:first-child b,
.hi-step__n {
  color: #141414;
}
.hi-faq__group h2 .hi-tag {
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.6);
  color: #141414;
}
.hi-end .cta-glass.cta-glass.cta-glass {
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.88) 45%, rgba(255, 255, 255, 0.5) 70%, rgba(255, 255, 255, 0.38))
    0 50% / 260% 100%;
  color: #141414;
}
.hi-end .cta-glass .cta-glass__logo {
  filter: brightness(0);
}
