/* ==========================================================================
   PAGE-SPECIFIC STYLES
   Phase 1 only styles the homepage hero + generic placeholder pages.
   Add a new block here (e.g. "ABOUT PAGE") when a page gets built out.
   ========================================================================== */

.page-placeholder__title {
  font-size: var(--fs-2xl);
  color: var(--brand-cream);
  max-width: 20ch;
}

.page-placeholder__desc {
  font-size: var(--fs-sm);
  max-width: 50ch;
}

.what-is {
  padding-block: clamp(5rem, 11vw, 10rem);
  background: #ffffff;
  color: var(--brand-black);
}

.what-is__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
  gap: clamp(3rem, 9vw, 10rem);
  align-items: center;
}

.section-label {
  margin-bottom: var(--space-md);
  color: var(--brand-magenta);
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.what-is__statement h2 {
  max-width: 12ch;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 8rem);
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
}

.what-is__statement em {
  color: var(--brand-magenta);
  font-style: normal;
}

.what-is__copy {
  display: grid;
  gap: var(--space-md);
  max-width: 34rem;
  padding-bottom: var(--space-2xs);
  color: var(--brand-black);
  font-size: var(--fs-sm);
  line-height: 1.8;
}

.what-is__copy p {
  color: var(--brand-black);
}

.what-is__cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(4rem, 8vw, 8rem);
}

.what-is__card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  min-height: clamp(23rem, 32vw, 30rem);
  padding: clamp(1.25rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  background: var(--brand-black);
  color: #ffffff;
}

.what-is__card-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--photo-position, center);
  border-radius: 0;
}

.what-is__card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.28),
    transparent 35%,
    rgba(0, 0, 0, 0.5) 65%,
    rgba(0, 0, 0, 0.92)
  );
}

.what-is__card--music {
  --photo-position: 30% center;
}
.what-is__card--food {
  --photo-position: center 55%;
}
.what-is__card--connection {
  --photo-position: 40% center;
}

.what-is__card-number {
  align-self: start;
  margin-bottom: auto;
  padding: 0.35rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.24);
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: 0.12em;
}

.what-is__card h3 {
  margin-top: 6rem;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  line-height: 1;
  text-transform: uppercase;
}

.what-is__card p {
  max-width: 23ch;
  margin-top: 0.75rem;
  color: #ffffff;
  font-size: var(--fs-2xs);
  line-height: 1.6;
}

.medfest-v {
  padding-block: clamp(5rem, 11vw, 10rem);
  background: var(--brand-purple);
  color: #ffffff;
}

.medfest-v__layout {
  display: block;
}

.medfest-v__content {
  display: grid;
  gap: var(--space-md);
  max-width: 52rem;
  margin-inline: auto;
}

.medfest-v__content h2 {
  max-width: 8ch;
  font-size: clamp(4rem, 9vw, 8rem);
  line-height: 0.84;
  text-transform: uppercase;
}

.medfest-v__content h2 em {
  color: var(--brand-magenta);
  font-style: normal;
}

.medfest-v__content p:not(.section-label) {
  max-width: 40ch;
  color: #ffffff;
  font-size: var(--fs-sm);
  line-height: 1.8;
}

.medfest-v__content .medfest-v__lead {
  color: #ffffff;
  font-family: var(--font-body);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 600;
  line-height: 1.15;
}

.medfest-v__cta {
  justify-self: start;
  margin-top: var(--space-2xs);
  color: #ffffff;
}

.medfest-v__cta:hover,
.medfest-v__cta:active {
  background: var(--brand-black);
  color: #ffffff;
}

.experience-section {
  padding-block: clamp(5rem, 11vw, 10rem);
  background: var(--brand-black);
  color: #ffffff;
}

.experience-section__intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-lg);
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.experience-section__intro .section-label {
  margin-bottom: 0;
  color: var(--brand-magenta);
}

.experience-section__intro h2 {
  max-width: 9ch;
  margin-left: auto;
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 0.85;
  text-align: right;
  text-transform: uppercase;
}

.experience-section__intro h2 em {
  color: var(--brand-magenta);
  font-style: normal;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.experience-card {
  position: relative;
  min-height: clamp(22rem, 38vw, 34rem);
  overflow: hidden;
  isolation: isolate;
  background: var(--brand-purple);
}

.experience-card img,
.experience-card__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.experience-card img {
  z-index: -2;
  object-fit: cover;
  border-radius: 0;
  transition: transform var(--transition-slow);
}

.experience-card__overlay {
  z-index: -1;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.18) 65%,
    rgba(0, 0, 0, 0.08) 100%
  );
}

.experience-card__content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.experience-card__number {
  margin-bottom: auto;
  color: var(--brand-cream);
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: 0.14em;
}

.experience-card h3 {
  max-width: 12ch;
  color: #ffffff;
  font-size: clamp(1.5rem, 2.5vw, 2.3rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.experience-card p {
  max-width: 28ch;
  margin-top: var(--space-xs);
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--fs-2xs);
  line-height: 1.6;
}

.somewhere-tonight {
  --tonight-beige: #e8dbc4;
  position: relative;
  display: flex;
  min-height: 74vh;
  padding-block: clamp(2.75rem, 4.5vw, 4.5rem);
  background:
    radial-gradient(ellipse at 8% 85%, rgba(91, 28, 48, 0.32), transparent 55%),
    radial-gradient(ellipse at 90% 15%, rgba(17, 35, 66, 0.5), transparent 55%),
    #080808;
  color: var(--tonight-beige);
}

.somewhere-tonight::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(91, 28, 48, 0.16),
    transparent 45%
  );
  pointer-events: none;
}

.somewhere-tonight::after {
  content: "";
  position: absolute;
  top: clamp(2.5rem, 6vw, 5rem);
  right: clamp(2rem, 6vw, 7rem);
  width: clamp(5rem, 9vw, 9rem);
  height: clamp(5rem, 9vw, 9rem);
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    #f4ecde 0%,
    #e8dbc4 28%,
    rgba(232, 219, 196, 0.45) 40%,
    rgba(232, 219, 196, 0.06) 70%,
    transparent 100%
  );
  box-shadow:
    0 0 40px rgba(255, 255, 255, 0.12),
    0 0 80px rgba(91, 28, 48, 0.2);
  opacity: 0.9;
  animation: moonFloat 8s ease-in-out infinite alternate;
  pointer-events: none;
}

.somewhere-tonight__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.1rem;
  align-content: center;
  margin-top: 1.5rem;
}

.somewhere-tonight h2 {
  max-width: 7ch;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.8vw, 5.8rem);
  line-height: 0.84;
  text-transform: uppercase;
  color: var(--tonight-beige);
}

.somewhere-tonight h2 em {
  color: var(--tonight-beige);
  font-style: normal;
}

.somewhere-tonight__intro {
  max-width: 32ch;
  color: var(--tonight-beige);
  font-size: clamp(1.15rem, 1.8vw, 1.98rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.somewhere-tonight__copy {
  max-width: 56rem;
  color: rgba(232, 219, 196, 0.9);
  font-size: 0.72rem;
  line-height: 1.8;
}

.somewhere-tonight__copy strong {
  color: var(--tonight-beige);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.somewhere-tonight__tagline {
  margin-top: var(--space-xs);
  color: var(--tonight-beige);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.9vw, 2.9rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.somewhere-tonight__tagline span {
  color: #c7b89e;
}

.somewhere-tonight__coming-wrap {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  border-block: 1px solid rgba(232, 219, 196, 0.28);
  background: linear-gradient(
    90deg,
    rgba(17, 35, 66, 0.72),
    rgba(91, 28, 48, 0.18),
    rgba(17, 35, 66, 0.72)
  );
  box-shadow: 0 0 30px rgba(91, 28, 48, 0.18);
}

.somewhere-tonight__coming-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 2.5rem;
  padding: 0.8rem 1.5rem;
  color: var(--tonight-beige);
  font-size: clamp(0.72rem, 1vw, 0.9rem);
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  white-space: nowrap;
  animation: somewhere-scroll 14s linear infinite;
}

.somewhere-tonight__coming-track span {
  position: relative;
  display: inline-block;
  padding-inline: 0.5rem;
}

.somewhere-tonight__coming-track span::before {
  content: "";
  position: absolute;
  inset: 50% auto auto -0.45rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--tonight-beige);
  transform: translateY(-50%);
  box-shadow: 0 0 14px rgba(232, 219, 196, 0.9);
}

@keyframes somewhere-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.medfest-numbers {
  padding-block: clamp(5rem, 10vw, 9rem);
  background: #ffffff;
  color: var(--brand-black);
}

.medfest-numbers__inner {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.medfest-numbers__intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.medfest-numbers h2 {
  max-width: 11ch;
  margin-left: auto;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 6rem);
  line-height: 0.9;
  text-transform: uppercase;
  text-align: right;
  color: var(--brand-black);
}

.medfest-numbers__summary {
  max-width: 62rem;
  color: rgba(0, 0, 0, 0.75);
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  line-height: 1.8;
}

.medfest-numbers__summary strong {
  color: var(--brand-magenta);
  font-weight: 600;
}

.medfest-numbers__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.medfest-number {
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: 15rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: #662d91;
  border: 1px solid rgba(251, 3, 118, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 38px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(102, 45, 145, 0.12);
  transition:
    transform 240ms ease,
    box-shadow 240ms ease,
    border-color 240ms ease;
}

.medfest-number:is(:hover, :focus-visible, :active) {
  transform: translateY(-6px);
  border-color: rgba(251, 3, 118, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 22px 42px rgba(0, 0, 0, 0.26),
    0 0 35px rgba(251, 3, 118, 0.12);
}

.medfest-number__value {
  display: block;
  color: var(--brand-cream);
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.medfest-number__label {
  display: block;
  margin-top: 1rem;
  max-width: 12ch;
  color: rgba(255, 244, 210, 0.8);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.journey {
  padding-block: clamp(5rem, 10vw, 8rem);
  overflow: hidden;
  background: var(--brand-purple);
  color: var(--brand-cream);
}

.journey__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.7fr);
  align-items: end;
  gap: 1.25rem 3rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.journey__intro .section-label {
  grid-column: 1 / -1;
  margin-bottom: 0;
  color: var(--brand-cream);
}

.journey__intro h2 {
  max-width: 10ch;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.journey__intro h2 em {
  color: var(--brand-magenta);
  font-style: normal;
}

.journey__intro > p:last-child {
  max-width: 34ch;
  justify-self: end;
  color: #ffffff;
  font-size: var(--fs-sm);
  line-height: 1.7;
}

.journey__scroll {
  display: none;
}

.journey__track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.journey__track::before {
  content: "";
  position: absolute;
  top: -1.45rem;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(255, 244, 210, 0.4);
}

.journey__item {
  position: relative;
  min-width: 0;
}

.journey__stop {
  position: absolute;
  top: -1.8rem;
  left: 1rem;
  z-index: 1;
  width: 0.7rem;
  aspect-ratio: 1;
  border: 2px solid var(--brand-purple);
  border-radius: 50%;
  background: var(--brand-magenta);
  box-shadow: 0 0 0 1px var(--brand-cream);
}

.journey__photo {
  position: relative;
  aspect-ratio: 4 / 3;
}

.journey__photo > img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.journey__badge,
.journey__edition {
  position: absolute;
  right: 0.75rem;
  bottom: -0.65rem;
  z-index: 1;
  border: 2px solid var(--brand-cream);
  border-radius: 0.4rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transform: rotate(-5deg);
}

.journey__badge {
  display: block;
  width: 4.5rem;
  aspect-ratio: 106 / 78;
  overflow: hidden;
}

.journey__badge--wide {
  width: 6rem;
  aspect-ratio: 220 / 112;
}

.journey__badge--first {
  aspect-ratio: 146 / 128;
}

.journey__edition {
  padding: 0.5rem 0.65rem;
  background: var(--brand-purple);
  color: var(--brand-cream);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

.journey__photo > .journey__edition-logo {
  position: absolute;
  right: 0.75rem;
  bottom: -0.65rem;
  z-index: 1;
  width: 7rem;
  height: 2.75rem;
  padding: 0.2rem;
  border: 2px solid var(--brand-cream);
  border-radius: 0.4rem;
  background: var(--brand-cream);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  object-fit: contain;
  transform: rotate(-5deg);
}

.journey__copy {
  padding-top: 1.25rem;
}

.journey__theme {
  min-height: 1.2em;
  color: var(--brand-cream);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.journey__copy h3 {
  margin-top: 0.35rem;
  color: var(--brand-magenta);
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  line-height: 1;
}

.journey__copy > p:last-child {
  margin-top: 0.6rem;
  color: rgba(255, 244, 210, 0.78);
  font-size: var(--fs-2xs);
  line-height: 1.6;
}

@keyframes moonFloat {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.78;
  }
  100% {
    transform: translateY(-12px) scale(1.04);
    opacity: 1;
  }
}

@media (hover: hover) {
  .experience-card:hover img {
    transform: scale(1.06);
  }
}

@media (max-width: 800px) {
  .what-is__intro {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .what-is__copy {
    max-width: 42rem;
  }

  .what-is__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .what-is__card h3 {
    font-size: clamp(1.3rem, 3.5vw, 1.8rem);
    overflow-wrap: anywhere;
  }

  .experience-section__intro {
    display: block;
  }

  .experience-section__intro h2 {
    margin-top: var(--space-lg);
    margin-left: 0;
    text-align: left;
  }

  .experience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .somewhere-tonight__intro {
    max-width: 22ch;
  }

  .medfest-numbers__intro {
    display: block;
  }

  .medfest-numbers h2 {
    margin-top: var(--space-lg);
    margin-left: 0;
    text-align: left;
  }

  .medfest-numbers__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journey__track {
    grid-auto-columns: minmax(15rem, 42vw);
    grid-auto-flow: column;
    grid-template-columns: none;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 2.5rem 0 1.25rem;
    scroll-snap-type: x mandatory;
    scrollbar-color: var(--brand-magenta) rgba(255, 244, 210, 0.2);
    scrollbar-width: thin;
  }

  .journey__track::before {
    top: 1.35rem;
  }

  .journey__track:has(+ .journey__scroll:not([hidden])) {
    scrollbar-width: none;
  }

  .journey__track:has(+ .journey__scroll:not([hidden]))::-webkit-scrollbar {
    display: none;
  }

  .journey__track--scrubbing {
    scroll-snap-type: none;
  }

  .journey__scroll:not([hidden]) {
    display: flex;
    align-items: center;
    min-height: 44px;
    background: linear-gradient(
        rgba(255, 244, 210, 0.25),
        rgba(255, 244, 210, 0.25)
      )
      center / 100% 12px no-repeat;
  }

  .journey__scroll-button {
    flex: 0 0 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--brand-magenta);
    font-size: 12px;
    cursor: pointer;
  }

  .journey__scroll-button:disabled {
    opacity: 0.4;
    cursor: default;
  }

  .journey__scroll-range {
    appearance: none;
    -webkit-appearance: none;
    flex: 1;
    min-width: 0;
    height: 44px;
    margin: 0;
    padding: 0;
    background: transparent;
    cursor: ew-resize;
  }

  .journey__scroll-range::-webkit-slider-runnable-track {
    height: 8px;
    background: transparent;
  }

  .journey__scroll-range::-moz-range-track {
    height: 8px;
    background: transparent;
  }

  .journey__scroll-range::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: var(--scroll-thumb, 25%);
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: var(--brand-magenta);
  }

  .journey__scroll-range::-moz-range-thumb {
    width: var(--scroll-thumb, 25%);
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: var(--brand-magenta);
  }

  .journey__scroll :focus-visible {
    outline: 2px solid var(--brand-cream);
    outline-offset: 2px;
  }

  .journey__stop {
    top: 1rem;
  }

  .journey__item {
    scroll-snap-align: start;
  }
}

@media (max-width: 480px) {
  .what-is__statement h2 {
    font-size: clamp(2.8rem, 13vw, 5rem);
  }

  .somewhere-tonight h2 {
    max-width: 7ch;
  }

  .somewhere-tonight__tagline {
    font-size: clamp(1.7rem, 9vw, 2.6rem);
  }

  .medfest-numbers__grid {
    grid-template-columns: 1fr;
  }

  .medfest-number {
    min-height: 12rem;
  }

  .what-is__cards {
    grid-template-columns: 1fr;
  }

  .what-is__card {
    min-height: 26rem;
  }

  .experience-grid {
    grid-template-columns: 1fr;
  }

  .experience-card {
    min-height: 24rem;
  }

  .journey__intro {
    grid-template-columns: 1fr;
  }

  .journey__intro > p:last-child {
    justify-self: start;
  }

  .journey__track {
    grid-auto-columns: minmax(15rem, 82vw);
  }
}

/* Brand partnerships */
.for-brands {
  padding-block: clamp(4rem, 8vw, 8rem);
  background: var(--brand-cream);
  color: var(--brand-black);
}

.for-brands__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}

.for-brands__photo {
  position: relative;
  align-self: center;
}

.for-brands__slides {
  position: relative;
  width: 100%;
  aspect-ratio: 1396 / 772;
  overflow: hidden;
}

.for-brands__slide,
.for-brands__slide > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.for-brands__slide[hidden] {
  display: none;
}

.for-brands__slide {
  animation: brand-slide-in 450ms ease both;
}

.for-brands__slide > img {
  display: block;
  object-fit: cover;
  border-radius: 0;
}

.for-brands__slide--identity {
  background: transparent;
}

.for-brands__slide--identity > .for-brands__identity-backdrop {
  z-index: 0;
  filter: blur(5px) brightness(0.58);
  transform: scale(1.04);
}

.for-brands__identity-ghost {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: max-content;
  color: rgba(102, 45, 145, 0.48);
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 6rem);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  filter: blur(4px);
  opacity: 0.55;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.for-brands__identity-logo-tile {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: min(82%, 28rem);
  padding: clamp(0.6rem, 2vw, 1.25rem);
  background: var(--brand-cream);
  box-shadow: 0 0.8rem 2rem rgba(35, 17, 52, 0.16);
  transform: translate(-50%, -50%);
}

.for-brands__identity-logo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.for-brands__slide--coming-soon > img {
  filter: blur(5px) brightness(0.58);
  transform: scale(1.04);
}

.for-brands__coming-soon {
  position: absolute;
  inset: 12%;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  border: 1px solid rgba(255, 244, 210, 0.72);
  background: rgba(102, 45, 145, 0.72);
  box-shadow: 0 1rem 3rem rgba(35, 17, 52, 0.18);
  color: #ffffff;
  text-align: center;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.for-brands__coming-soon span {
  color: var(--brand-cream);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.for-brands__coming-soon strong {
  margin-top: 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.for-brands__coming-soon p {
  max-width: 30ch;
  margin-top: 0.75rem;
  color: #ffffff;
  font-size: var(--fs-2xs);
  line-height: 1.5;
}

.for-brands__carousel-controls {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.for-brands__carousel-arrow {
  position: absolute;
  top: 50%;
  pointer-events: auto;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(102, 45, 145, 0.42);
  border-radius: 50%;
  background: rgba(255, 244, 210, 0.4);
  color: var(--brand-purple);
  font-size: 1.25rem;
  opacity: 0.68;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    opacity 180ms ease;
}

.for-brands__carousel-arrow[data-brand-previous] {
  left: 1rem;
}

.for-brands__carousel-arrow[data-brand-next] {
  right: 1rem;
}

.for-brands__carousel-arrow:hover {
  border-color: var(--brand-magenta);
  background: var(--brand-magenta);
  color: #ffffff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.22);
  opacity: 1;
  transform: translateY(-50%);
}

.for-brands__carousel-count {
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  gap: 0.3rem;
  margin-top: 0.65rem;
  padding-inline: 0.1rem;
  color: var(--brand-black);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}

.for-brands__carousel-count [data-brand-slide-current] {
  color: var(--brand-magenta);
  font-weight: 600;
}

.for-brands__carousel-arrow:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

@keyframes brand-slide-in {
  from {
    opacity: 0.65;
  }
  to {
    opacity: 1;
  }
}

.for-brands h2 {
  color: var(--brand-black);
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 5.5rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.for-brands h2 em {
  color: var(--brand-purple);
  font-style: normal;
}

.for-brands__intro {
  margin-top: 1.75rem;
  max-width: 45ch;
  color: var(--brand-black);
  line-height: 1.7;
}

.for-brands__opportunities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1.5rem;
  padding: 0;
  margin-block: 1.5rem 2rem;
  list-style: none;
}

.for-brands__opportunities li {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding-block: 1rem;
  border-bottom: 1px solid rgba(102, 45, 145, 0.22);
  font-size: 0.875rem;
}

.for-brands__opportunities li::before {
  content: "";
  flex: 0 0 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--brand-magenta);
}

.for-brands__cta {
  gap: 1.5rem;
}

.partnership-page {
  padding-block: clamp(9rem, 15vw, 13rem) 6rem;
  min-height: 80vh;
  background: var(--brand-cream);
  color: var(--brand-black);
}

.partnership-page h1 {
  max-width: 13ch;
  color: var(--brand-purple);
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1;
  text-transform: uppercase;
}

.partnership-page p:not(.section-label) {
  max-width: 60ch;
  margin-block: 1.5rem;
  color: var(--brand-black);
  line-height: 1.8;
}

.partnership-page__email {
  display: block;
  width: fit-content;
  margin-top: 1.5rem;
  color: var(--brand-purple);
  text-decoration: underline;
  overflow-wrap: anywhere;
}

@media (max-width: 800px) {
  .for-brands__layout {
    grid-template-columns: 1fr;
  }
  .for-brands__content {
    grid-row: 1;
  }
}

@media (max-width: 480px) {
  .for-brands__opportunities {
    grid-template-columns: 1fr;
  }
  .for-brands__cta {
    width: 100%;
    gap: 0.75rem;
  }
}

/* Journey: MedFest 2.0 logo tile (transparent logo on cream, sized to match badges) */
.journey__photo > .journey__edition-logo {
  width: 8.25rem;
  height: auto;
  aspect-ratio: 745 / 252;
  padding: 0.4rem 0.6rem;
  box-sizing: border-box;
  object-fit: contain;
}

/* Gallery */
.gallery {
  padding-block: clamp(5rem, 10vw, 8rem);
  background: var(--color-background);
  color: var(--brand-cream);
}

.gallery__intro {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.gallery__intro h2 {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.gallery__intro h2 em {
  color: var(--brand-magenta);
  font-style: normal;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(9rem, 17vw, 15rem);
  gap: 0.75rem;
}

.gallery__item {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: var(--color-surface);
}

.gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery__item figcaption {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(12, 4, 16, 0.72);
  color: var(--brand-cream);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.gallery__item--a { grid-column: span 2; grid-row: span 2; }
.gallery__item--b { grid-row: span 2; }
.gallery__item--e { grid-row: span 2; }
.gallery__item--f { grid-column: span 2; }

.gallery__footer {
  display: flex;
  justify-content: center;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

@media (hover: hover) {
  .gallery__item:hover img {
    transform: scale(1.05);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery__item img {
    transition: none;
  }
}

@media (max-width: 900px) {
  .gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 11rem;
  }

  .gallery__item--a { grid-column: span 2; grid-row: span 2; }
  .gallery__item--b { grid-row: span 2; }
  .gallery__item--e { grid-row: span 2; }
  .gallery__item--f { grid-column: span 2; }
}

@media (max-width: 480px) {
  .gallery__grid {
    grid-auto-rows: 9rem;
    gap: 0.5rem;
  }

  .gallery__item--a { grid-row: span 2; }
}

/* Final CTA */
.final-cta {
  padding-block: clamp(5rem, 11vw, 9rem);
  background: var(--brand-magenta);
  color: var(--brand-cream);
  text-align: center;
}

.final-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.final-cta h2 {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 8rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.final-cta h2 em {
  color: var(--brand-cream);
  font-style: normal;
}

.final-cta__meta {
  color: #ffffff;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  font-size: var(--fs-md);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.final-cta__lines {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  color: #ffffff;
  font-size: var(--fs-md);
  line-height: 1.5;
}

.final-cta__tagline {
  margin-top: 1rem;
  color: var(--brand-cream);
  font-size: var(--fs-md);
  font-weight: 600;
}

.final-cta__button {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: 1.05em 2.6em;
  background: var(--brand-cream);
  color: var(--brand-black);
  font-size: var(--fs-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.final-cta__button:hover {
  background: #ffffff;
}

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */
.about-page.navigation-only:not(.homepage) {
  padding-top: 0;
}

.about-hero {
  margin-top: var(--nav-height);
  padding-block: clamp(4rem, 9vw, 7rem);
  background: var(--brand-purple);
  color: #ffffff;
}

.about-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: end;
  gap: clamp(2rem, 6vw, 5rem);
}

.about-hero .section-label {
  color: var(--brand-cream);
}

.about-hero h1 {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 9vw, 8rem);
  line-height: 0.88;
  text-transform: uppercase;
}

.about-hero h1 em,
.about-chapter h2 em,
.about-note__head h2 em {
  color: var(--brand-magenta);
  font-style: normal;
}

.about-hero__lead {
  max-width: 34ch;
  margin-top: var(--space-md);
  font-size: var(--fs-sm);
  line-height: 1.7;
}

.about-hero__photo {
  position: relative;
  margin: 0;
  transform: rotate(2deg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.about-hero__photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-hero__photo figcaption {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--brand-cream);
  color: var(--brand-black);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Convener's note */
.about-note {
  padding-block: clamp(4.5rem, 10vw, 8rem);
  background: #ffffff;
  color: var(--brand-black);
}

.about-note__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 7vw, 7rem);
}

.about-note__head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.about-note__body {
  display: grid;
  gap: 1.25rem;
  max-width: 44rem;
  font-size: var(--fs-sm);
  line-height: 1.85;
}

.about-note__opening {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 600;
  line-height: 1.5;
}

.about-note__strong {
  color: var(--brand-purple);
  font-size: var(--fs-md);
  font-weight: 600;
}

.about-growth {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.about-growth__lines {
  display: grid;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6.5vw, 5.5rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.about-growth__lines span:nth-child(1) { color: var(--brand-black); }
.about-growth__lines span:nth-child(2) { color: var(--brand-purple); }
.about-growth__lines span:nth-child(3) { color: var(--brand-magenta); }

.about-growth__chart {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: clamp(0.5rem, 2vw, 1.5rem);
  height: clamp(15rem, 28vw, 22rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(3rem, 5vw, 4.25rem);
  padding-bottom: 3.25rem;
  border-bottom: 2px solid var(--brand-black);
  position: relative;
}

.about-growth__bar {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  height: 100%;
}

.about-growth__fill {
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: var(--h);
  min-height: 0;
  border-radius: 0.5rem 0.5rem 0 0;
  background: var(--brand-purple);
  transform-origin: bottom;
}

.about-growth__bar--latest .about-growth__fill {
  background: var(--brand-magenta);
}

.about-growth__value {
  position: absolute;
  right: 0;
  bottom: var(--h);
  left: 0;
  margin-bottom: 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3.25rem);
  line-height: 1;
  color: var(--brand-purple);
}

.about-growth__bar--latest .about-growth__value {
  color: var(--brand-magenta);
}

.about-growth__label {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  margin-top: 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}

.about-growth__label small {
  display: block;
  margin-top: 0.15rem;
  color: rgba(0, 0, 0, 0.55);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
}

.about-growth__caption {
  margin-top: 1.25rem;
  font-size: var(--fs-md);
  font-weight: 600;
}

.about-note__layout--after {
  padding-top: 0;
}

/* Five editions later */
.about-chapter {
  padding-block: clamp(5rem, 11vw, 9rem);
  background: var(--color-background);
  color: #ffffff;
}

.about-chapter h2 {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.88;
  text-transform: uppercase;
}

.about-chapter__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 7vw, 7rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.about-chapter__lead {
  color: var(--brand-cream);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.1;
}

.about-chapter__copy {
  display: grid;
  gap: 1.25rem;
  max-width: 40rem;
  font-size: var(--fs-sm);
  line-height: 1.85;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: clamp(3rem, 6vw, 5rem);
}

.about-pillars li {
  padding: clamp(1.25rem, 3vw, 2.25rem) clamp(0.75rem, 2vw, 1.5rem);
  border: 1.5px solid var(--color-border-glass);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.6vw, 2.25rem);
  line-height: 1;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.about-pillars li:nth-child(1) { background: var(--brand-magenta); border-color: transparent; }
.about-pillars li:nth-child(2) { background: var(--brand-purple); border-color: transparent; }
.about-pillars li:nth-child(3) { color: var(--brand-cream); }
.about-pillars li:nth-child(4) { background: var(--brand-cream); color: var(--brand-black); border-color: transparent; }

.about-chapter__closing {
  margin-top: 1.5rem;
  color: var(--brand-cream);
  font-size: var(--fs-md);
  font-weight: 600;
}

/* Gratitude + sign-off */
.about-thanks {
  padding-block: clamp(4.5rem, 10vw, 8rem);
  background: var(--brand-cream);
  color: var(--brand-black);
}

.about-thanks__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 52rem;
}

.about-thanks .section-label {
  color: var(--brand-purple);
}

.about-thanks__text {
  max-width: 40rem;
  font-size: var(--fs-sm);
  line-height: 1.85;
}

.about-thanks__sign-off {
  margin-top: clamp(1.75rem, 4vw, 3rem);
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.6vw, 3.75rem);
  line-height: 1;
  text-transform: uppercase;
}

.about-thanks__sign-off em {
  display: block;
  margin-top: 0.15em;
  color: var(--brand-magenta);
  font-style: normal;
}

.about-signature {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-left: 1rem;
  border-left: 3px solid var(--brand-magenta);
}

.about-signature__name {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  line-height: 1.1;
}

.about-signature__role {
  margin-top: 0.25rem;
  color: var(--brand-purple);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.about-thanks__photos {
  position: relative;
  aspect-ratio: 4 / 5;
}

.about-thanks__photos img {
  position: absolute;
  width: 72%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 6px solid #ffffff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.about-thanks__photos img:nth-child(1) { top: 4%; left: 0; transform: rotate(-4deg); }
.about-thanks__photos img:nth-child(2) { right: 0; bottom: 4%; transform: rotate(3deg); }

@media (max-width: 860px) {
  .about-hero__layout,
  .about-note__layout,
  .about-chapter__layout,
  .about-thanks__layout {
    grid-template-columns: 1fr;
  }

  .about-note__layout--after .about-note__head {
    display: none;
  }

  .about-hero__photo {
    max-width: 30rem;
  }

  .about-pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-thanks__photos {
    aspect-ratio: 5 / 4;
    max-width: 30rem;
  }
}

@media (max-width: 480px) {
  .about-growth__label {
    font-size: 0.6rem;
    letter-spacing: 0.02em;
  }
}

/* Override the global dim paragraph colour inside About sections */
.about-hero p,
.about-chapter p {
  max-width: none;
  color: #ffffff;
}

.about-note p,
.about-growth p,
.about-thanks p {
  max-width: none;
  color: var(--brand-black);
}

.about-hero .section-label {
  color: var(--brand-cream);
}

.about-note .section-label {
  color: var(--brand-magenta);
}

.about-thanks .section-label {
  color: var(--brand-purple);
}

.about-note .about-note__strong {
  color: var(--brand-purple);
}

.about-chapter .about-chapter__lead,
.about-chapter .about-chapter__closing {
  color: var(--brand-cream);
}

.about-thanks .about-signature__role {
  color: var(--brand-purple);
}

.about-hero .about-hero__lead {
  max-width: 34ch;
}

.about-note .about-note__body,
.about-chapter .about-chapter__copy,
.about-thanks .about-thanks__text {
  max-width: 44rem;
}

/* About: refinements */
.about-pillars li {
  font-size: clamp(0.9rem, 1.85vw, 1.65rem);
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  letter-spacing: 0;
}

.about-chapter .about-chapter__lead {
  text-transform: uppercase;
}

.about-growth {
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

@media (max-width: 860px) {
  .about-pillars li {
    font-size: clamp(1.25rem, 6vw, 1.9rem);
  }
}

@media (max-width: 860px) {
  .about-pillars li {
    padding-inline: 0.85rem;
    font-size: clamp(0.95rem, 4.2vw, 1.9rem);
  }
}

/* Homepage gallery sits on purple so it doesn't run into the dark Somewhere Tonight block */
.gallery {
  background: var(--brand-purple);
}

.gallery__item {
  background: rgba(0, 0, 0, 0.25);
}

.gallery__intro .section-label {
  color: var(--brand-cream);
}

/* ==========================================================================
   GALLERY PAGE
   ========================================================================== */
.about-page.navigation-only:not(.homepage),
.gallery-page.navigation-only:not(.homepage) {
  padding-top: 0;
}

.gpage-hero {
  margin-top: var(--nav-height);
  padding-block: clamp(4rem, 9vw, 7rem) clamp(2.5rem, 5vw, 4rem);
  background: var(--brand-purple);
  color: #ffffff;
}

.gpage-hero .section-label {
  color: var(--brand-cream);
}

.gpage-hero h1 {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 9vw, 8rem);
  line-height: 0.88;
  text-transform: uppercase;
}

.gpage-hero h1 em {
  color: var(--brand-magenta);
  font-style: normal;
}

.gpage-hero .gpage-hero__lead {
  max-width: 40ch;
  margin-top: var(--space-md);
  color: #ffffff;
  font-size: var(--fs-sm);
  line-height: 1.7;
}

.gpage {
  padding-block: clamp(2.5rem, 5vw, 4rem) clamp(4rem, 9vw, 7rem);
  background: var(--color-background);
}

.gpage__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.gpage__filter {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.55rem 1.15rem;
  border: 1.5px solid var(--color-border-glass);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--brand-cream);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.gpage__filter span {
  font-size: 0.7rem;
  opacity: 0.7;
}

.gpage__filter:hover {
  border-color: var(--brand-cream);
}

.gpage__filter.is-active {
  border-color: var(--brand-magenta);
  background: var(--brand-magenta);
  color: #ffffff;
}

.gpage__filter:focus-visible,
.gpage__open:focus-visible,
.lightbox button:focus-visible {
  outline: 2px solid var(--brand-cream);
  outline-offset: 3px;
}

.gpage__grid {
  columns: 4 16rem;
  column-gap: 0.75rem;
}

.gpage__item {
  position: relative;
  margin: 0 0 0.75rem;
  break-inside: avoid;
  overflow: hidden;
  background: var(--color-surface);
}

.gpage__item[hidden] {
  display: none;
}

.gpage__open {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.gpage__open img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.6s ease;
}

.gpage__tag {
  position: absolute;
  bottom: 0.65rem;
  left: 0.65rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(12, 4, 16, 0.75);
  color: var(--brand-cream);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

@media (hover: hover) {
  .gpage__open:hover img { transform: scale(1.04); }
  .gpage__open:hover .gpage__tag { opacity: 1; transform: none; }
}

.gpage__open:focus-visible .gpage__tag { opacity: 1; transform: none; }

@media (hover: none) {
  .gpage__tag { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .gpage__open img { transition: none; }
}

@media (max-width: 640px) {
  .gpage__grid { columns: 2; column-gap: 0.5rem; }
  .gpage__item { margin-bottom: 0.5rem; }
  .gpage__filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--container-pad) * -1); padding-inline: var(--container-pad); scrollbar-width: none; }
  .gpage__filter { flex: 0 0 auto; }
}

/* Lightbox */
body.lightbox-open { overflow: hidden; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 1.5rem);
  padding: clamp(3.5rem, 6vw, 4.5rem) clamp(0.75rem, 3vw, 2rem) clamp(1rem, 3vw, 2rem);
  background: rgba(8, 3, 12, 0.94);
}

.lightbox[hidden] { display: none; }

.lightbox__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  margin: 0;
}

.lightbox__img {
  display: block;
  max-width: 100%;
  max-height: calc(100dvh - 9rem);
  object-fit: contain;
  border-radius: 0.5rem;
}

.lightbox__caption {
  display: flex;
  gap: 1rem;
  color: var(--brand-cream);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lightbox__count { opacity: 0.65; }

.lightbox__close,
.lightbox__nav {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--color-border-glass);
  border-radius: 50%;
  background: rgba(255, 244, 210, 0.08);
  color: var(--brand-cream);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.lightbox__close:hover,
.lightbox__nav:hover { background: var(--brand-magenta); border-color: var(--brand-magenta); }

.lightbox__close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  font-size: 1.9rem;
}

@media (max-width: 640px) {
  .lightbox { grid-template-columns: minmax(0, 1fr); align-content: center; }
  .lightbox__nav {
    position: absolute;
    bottom: 1rem;
    width: 44px;
    height: 44px;
  }
  .lightbox__nav--prev { left: 1rem; }
  .lightbox__nav--next { right: 1rem; }
  .lightbox__img { max-height: calc(100dvh - 10rem); }
}

/* ==========================================================================
   HOMEPAGE TICKET CTA
   Type rules: titles = Neulis SemiBold, subheadings = Poppins 600, body = Poppins 500.
   ========================================================================== */
.ticket-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 85% 20%, rgba(255, 244, 210, 0.22), transparent 55%),
    radial-gradient(ellipse at 5% 100%, rgba(102, 45, 145, 0.55), transparent 60%),
    var(--brand-magenta);
  color: #ffffff;
}

.ticket-cta__strip {
  height: clamp(2rem, 4vw, 3rem);
}

.ticket-cta__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 6rem);
  padding-block: clamp(4rem, 9vw, 8rem);
}

.ticket-cta__kicker {
  width: fit-content;
  margin-bottom: var(--space-md);
  padding-left: 0.8rem;
  border-left: 2px solid var(--brand-cream);
  max-width: none;
  color: var(--brand-cream);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ticket-cta h2 {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9.5vw, 8.5rem);
  font-weight: 600;
  line-height: 0.86;
  text-transform: uppercase;
}

.ticket-cta h2 em {
  color: var(--brand-cream);
  font-style: normal;
}

.ticket-cta__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
}

.ticket-cta__facts li {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.2rem;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  backdrop-filter: blur(6px);
}

.ticket-cta__facts svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: var(--brand-cream);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* The ticket */
.ticket-cta__ticket {
  display: flex;
  flex-direction: column;
  max-width: 30rem;
  width: 100%;
  justify-self: center;
  transform: rotate(2deg);
  filter: drop-shadow(0 24px 40px rgba(40, 0, 30, 0.35));
  transition: transform var(--transition-medium);
}

@media (hover: hover) {
  .ticket-cta__ticket:hover { transform: rotate(0deg) translateY(-4px); }
}

.ticket-cta__top,
.ticket-cta__stub {
  padding-inline: clamp(1.5rem, 3.5vw, 2.25rem);
  background: var(--brand-cream);
  color: var(--brand-black);
}

.ticket-cta__top {
  padding-block: clamp(1.5rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2.25rem);
  border-radius: 1.5rem 1.5rem 0 0;
  -webkit-mask:
    radial-gradient(circle 15px at 0 100%, #0000 96%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle 15px at 100% 100%, #0000 96%, #000) right / 51% 100% no-repeat;
  mask:
    radial-gradient(circle 15px at 0 100%, #0000 96%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle 15px at 100% 100%, #0000 96%, #000) right / 51% 100% no-repeat;
}

.ticket-cta__stub {
  position: relative;
  display: grid;
  gap: 1.1rem;
  padding-block: clamp(1.5rem, 3vw, 2rem);
  border-radius: 0 0 1.5rem 1.5rem;
  -webkit-mask:
    radial-gradient(circle 15px at 0 0, #0000 96%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle 15px at 100% 0, #0000 96%, #000) right / 51% 100% no-repeat;
  mask:
    radial-gradient(circle 15px at 0 0, #0000 96%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle 15px at 100% 0, #0000 96%, #000) right / 51% 100% no-repeat;
}

.ticket-cta__stub::before {
  content: "";
  position: absolute;
  top: 0;
  right: 22px;
  left: 22px;
  border-top: 2px dashed rgba(0, 0, 0, 0.28);
}

.ticket-cta .ticket-cta__label {
  max-width: none;
  margin-bottom: 1.25rem;
  color: var(--brand-purple);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ticket-cta__bring {
  display: grid;
  gap: 0.35rem;
}

.ticket-cta__bring li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-block: 0.55rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--brand-black);
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 600;
  line-height: 1.25;
}

.ticket-cta__bring li:last-child { border-bottom: 0; }

.ticket-cta__bring li span {
  flex: 0 0 auto;
  color: var(--brand-magenta);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
}

.ticket-cta__bring strong {
  color: var(--brand-magenta);
  font-weight: 600;
}

.ticket-cta .ticket-cta__rest {
  max-width: none;
  padding-top: 0.5rem;
  color: var(--brand-black);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 500;
}

.ticket-cta__button {
  width: 100%;
  padding: 1.1em 1.9em;
  background: var(--brand-magenta);
  color: #ffffff;
  font-size: var(--fs-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 10px 26px rgba(251, 3, 118, 0.4);
}

.ticket-cta__button:hover {
  background: var(--brand-purple);
  box-shadow: 0 10px 26px rgba(102, 45, 145, 0.45);
}

.ticket-cta__button:focus-visible {
  outline: 3px solid var(--brand-black);
  outline-offset: 3px;
}

.ticket-cta__barcode {
  display: block;
  height: 2.1rem;
  margin-top: 0.35rem;
  opacity: 0.8;
  background: repeating-linear-gradient(
    90deg,
    var(--brand-black) 0 2px,
    transparent 2px 5px,
    var(--brand-black) 5px 6px,
    transparent 6px 10px,
    var(--brand-black) 10px 13px,
    transparent 13px 15px
  );
  -webkit-mask: linear-gradient(90deg, #000 0 100%);
}

@media (max-width: 860px) {
  .ticket-cta__layout {
    grid-template-columns: 1fr;
    padding-block: clamp(3rem, 10vw, 5rem);
  }

  .ticket-cta__ticket {
    justify-self: stretch;
    max-width: 34rem;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticket-cta__ticket { transition: none; }
  .ticket-cta__ticket:hover { transform: rotate(2deg); }
}

/* Gallery crops: keep faces in frame on portrait photos */
.gallery__item img {
  object-position: 50% 30%;
}

.ticket-cta h2 {
  font-size: clamp(2.75rem, 6.1vw, 6rem);
  line-height: 0.9;
}

@media (max-width: 860px) {
  .ticket-cta h2 {
    font-size: clamp(2.75rem, 13.5vw, 6rem);
  }
}

/* Scope the number style to the numeral only; the text line stays Poppins 600 */
.ticket-cta__bring li > .ticket-cta__line {
  flex: 1 1 auto;
  color: var(--brand-black);
  font-family: var(--font-body);
  font-size: inherit;
  font-weight: 600;
}

/* For brands: partner button (square, brand magenta) */
.for-brands__actions{display:flex;margin-top:.5rem}
.for-brands__cta{display:inline-flex;align-items:center;justify-content:space-between;gap:2rem;padding:1.15rem 1.6rem;border-radius:0;background:var(--brand-magenta);color:#fff;font-family:var(--font-display);font-weight:600;font-size:clamp(1.05rem,1.6vw,1.3rem);text-transform:uppercase;letter-spacing:.02em;box-shadow:6px 6px 0 var(--brand-purple);transition:transform .25s cubic-bezier(.22,1,.36,1),box-shadow .25s ease}
.for-brands__cta-icon{font-family:var(--font-body);font-size:1.5rem;line-height:1;transition:transform .25s cubic-bezier(.22,1,.36,1)}
.for-brands__cta:active{transform:translate(4px,4px);box-shadow:2px 2px 0 var(--brand-purple)}
@media (hover:hover){.for-brands__cta:hover{transform:translate(-2px,-2px);box-shadow:9px 9px 0 var(--brand-purple)}.for-brands__cta:hover .for-brands__cta-icon{transform:translateX(6px)}}
@media (max-width:480px){.for-brands__cta{width:100%}}

/* About: special mentions line */
.about-note__mentions{font-weight:600;color:var(--brand-purple)}
