:root {
  --purple-950: oklch(0.25 0.16 303);
  --purple-900: oklch(0.31 0.19 303);
  --purple-800: oklch(0.39 0.22 303);
  --purple-700: oklch(0.48 0.25 303);
  --magenta: oklch(0.65 0.29 337);
  --pink: oklch(0.76 0.18 349);
  --yellow: oklch(0.9 0.2 100);
  --green: oklch(0.65 0.2 145);
  --green-dark: oklch(0.48 0.16 145);
  --white: oklch(0.99 0 0);
  --ink: oklch(0.18 0.06 303);
  --shell: 1180px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--purple-950);
  color: var(--white);
  font-family: "Montserrat", system-ui, sans-serif;
  font-synthesis: none;
}

body::selection {
  background: var(--yellow);
  color: var(--purple-950);
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
p {
  margin: 0;
}

h1,
h2,
.ticket-name,
.event-stamp {
  font-family: "Barlow Condensed", Impact, sans-serif;
}

.page-shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.hero {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 14%, color-mix(in oklch, var(--magenta) 64%, transparent), transparent 30rem),
    linear-gradient(130deg, var(--purple-800) 0%, var(--purple-900) 54%, var(--purple-950) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 6% 18%, color-mix(in oklch, var(--pink) 28%, transparent), transparent 14rem),
    linear-gradient(148deg, transparent 45%, color-mix(in oklch, var(--magenta) 22%, transparent) 45% 58%, transparent 58%);
}

.hero-shape {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  opacity: 0.5;
}

.hero-shape-one {
  width: 28rem;
  aspect-ratio: 2;
  right: -7rem;
  top: -3rem;
  background: var(--magenta);
  transform: rotate(-28deg);
}

.hero-shape-two {
  width: 17rem;
  aspect-ratio: 1;
  left: -9rem;
  bottom: 3rem;
  border: 3.5rem solid color-mix(in oklch, var(--pink) 46%, transparent);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.72fr);
  gap: clamp(42px, 6vw, 92px);
  align-items: center;
  padding-block: clamp(48px, 7vh, 82px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 680px;
  animation: hero-enter 700ms var(--ease-out) both;
}

.festival-mark {
  width: 214px;
  height: 91px;
  aspect-ratio: 2.35 / 1;
  object-fit: cover;
  object-position: 50% 8%;
  filter: drop-shadow(0 4px 0 color-mix(in oklch, var(--purple-950) 70%, transparent));
}

h1 {
  max-width: 700px;
  margin-top: clamp(26px, 4vh, 44px);
  color: var(--white);
  font-size: clamp(4rem, 7.4vw, 6rem);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  text-wrap: balance;
}

h1 strong {
  display: block;
  color: var(--yellow);
  font-weight: 900;
}

.hero-lead {
  max-width: 570px;
  margin-top: 26px;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.48;
  font-weight: 600;
  text-wrap: pretty;
}

.hero-lead b {
  color: var(--yellow);
  font-weight: 900;
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 76px;
  padding: 12px 26px 12px 18px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  box-shadow: 0 7px 0 var(--green-dark);
  transition: transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out), background-color 160ms ease;
}

.whatsapp-button:hover {
  background: oklch(0.69 0.21 145);
  transform: translateY(-2px);
  box-shadow: 0 9px 0 var(--green-dark);
}

.whatsapp-button:active {
  transform: translateY(4px) scale(0.98);
  box-shadow: 0 3px 0 var(--green-dark);
}

.whatsapp-button:focus-visible,
.text-cta:focus-visible,
.sticky-whatsapp:focus-visible {
  outline: 4px solid var(--yellow);
  outline-offset: 4px;
}

.whatsapp-button-hero {
  margin-top: 30px;
}

.whatsapp-icon {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--green-dark);
}

.whatsapp-icon svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.whatsapp-button > span:last-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.whatsapp-button strong {
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
}

.whatsapp-button small {
  font-size: 0.72rem;
  line-height: 1.25;
  font-weight: 700;
}

.trust-line {
  margin: 18px 0 0 22px;
  color: color-mix(in oklch, var(--white) 82%, transparent);
  font-size: 0.76rem;
  line-height: 1.4;
  font-weight: 700;
}

.trust-line::before {
  content: "✓";
  margin-right: 7px;
  color: var(--yellow);
  font-weight: 900;
}

.hero-art {
  position: relative;
  min-height: min(76svh, 720px);
  animation: art-enter 900ms 100ms var(--ease-out) both;
}

.hero-poster {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(100%, 485px);
  height: 100%;
  object-fit: cover;
  object-position: 50% 23%;
  border-radius: 16px;
  box-shadow: 14px 16px 0 var(--yellow);
}

.event-stamp {
  position: absolute;
  top: 8%;
  left: -42px;
  display: flex;
  width: 136px;
  aspect-ratio: 1;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--purple-950);
  box-shadow: 0 7px 0 var(--magenta);
  transform: rotate(-7deg);
}

.event-stamp span {
  font-size: 2rem;
  line-height: 0.9;
  font-weight: 900;
}

.event-stamp strong {
  font-size: 1.25rem;
  line-height: 1;
}

.location-strip {
  position: absolute;
  right: -18px;
  bottom: 7%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--white);
  color: var(--purple-950);
  box-shadow: 8px 8px 0 var(--magenta);
  font-size: 0.8rem;
  line-height: 1.28;
  font-weight: 700;
}

.location-strip svg {
  width: 26px;
  height: 26px;
  fill: var(--magenta);
}

.location-strip b {
  color: var(--magenta);
}

.attractions {
  position: relative;
  padding: clamp(70px, 8vw, 110px) 0;
  background: var(--magenta);
  color: var(--purple-950);
}

.attractions::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 18px;
  background: var(--yellow);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 38px;
}

.section-heading h2,
.tickets h2,
.closing h2 {
  font-size: clamp(3.1rem, 6vw, 5.5rem);
  line-height: 0.88;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-wrap: balance;
}

.section-heading p {
  max-width: 430px;
  color: color-mix(in oklch, var(--purple-950) 82%, var(--white));
  font-size: 0.98rem;
  line-height: 1.5;
  font-weight: 700;
}

.attraction-rail {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.attraction {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 12px;
  background: var(--purple-800);
  box-shadow: 0 7px 0 color-mix(in oklch, var(--purple-950) 70%, transparent);
}

.attraction img {
  width: 100%;
  height: clamp(250px, 23vw, 330px);
  object-fit: cover;
  object-position: 50% 58%;
  filter: saturate(1.08) contrast(1.02);
  transition: transform 300ms var(--ease-out);
}

.attraction:hover img {
  transform: scale(1.025);
}

.attraction div {
  display: flex;
  min-height: 80px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2px;
  padding: 10px 8px;
  background: var(--yellow);
  text-align: center;
}

.attraction strong {
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(1.15rem, 1.8vw, 1.6rem);
  line-height: 0.92;
  font-weight: 900;
  text-transform: uppercase;
}

.attraction span {
  font-size: 0.61rem;
  line-height: 1.2;
  font-weight: 800;
}

.tickets {
  position: relative;
  padding: clamp(74px, 9vw, 130px) 0;
  background:
    radial-gradient(circle at 5% 90%, color-mix(in oklch, var(--magenta) 30%, transparent), transparent 26rem),
    linear-gradient(145deg, var(--purple-950), var(--purple-800));
}

.tickets-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(520px, 1.35fr);
  gap: clamp(50px, 8vw, 105px);
  align-items: start;
}

.tickets-intro {
  position: sticky;
  top: 38px;
}

.tickets-intro > p {
  max-width: 390px;
  margin-top: 24px;
  color: color-mix(in oklch, var(--white) 78%, transparent);
  font-size: 0.96rem;
  line-height: 1.65;
  font-weight: 600;
}

.text-cta {
  display: inline-flex;
  gap: 10px;
  margin-top: 28px;
  padding-bottom: 5px;
  border-bottom: 3px solid var(--yellow);
  color: var(--yellow);
  font-weight: 900;
}

.ticket-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ticket {
  display: grid;
  grid-template-columns: minmax(175px, 0.85fr) minmax(190px, 1.35fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 118px;
  padding: 18px 22px;
  border-radius: 14px;
  background: color-mix(in oklch, var(--purple-900) 89%, var(--white));
}

.ticket-name {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--yellow);
  font-size: 1.55rem;
  line-height: 0.95;
  font-weight: 900;
  text-transform: uppercase;
}

.ticket-name span {
  font-size: 2.3rem;
  text-shadow: 0 3px 0 color-mix(in oklch, var(--purple-950) 70%, transparent);
}

.ticket-silver .ticket-name span {
  color: oklch(0.89 0.02 300);
}

.ticket-bronze .ticket-name span {
  color: oklch(0.69 0.15 66);
}

.ticket-kyou .ticket-name span {
  color: var(--pink);
}

.ticket > p {
  color: color-mix(in oklch, var(--white) 78%, transparent);
  font-size: 0.74rem;
  line-height: 1.45;
  font-weight: 600;
}

.prices {
  display: grid;
  min-width: 138px;
  gap: 8px;
  padding-left: 18px;
  border-left: 1px solid color-mix(in oklch, var(--white) 22%, transparent);
}

.prices span {
  display: flex;
  justify-content: space-between;
  gap: 13px;
  font-size: 0.72rem;
  line-height: 1;
  font-weight: 700;
}

.prices b {
  color: var(--yellow);
  font-size: 0.94rem;
  white-space: nowrap;
}

.price-note {
  padding: 8px 4px 0;
  color: color-mix(in oklch, var(--white) 68%, transparent);
  font-size: 0.67rem;
  line-height: 1.45;
  font-weight: 600;
}

.closing {
  position: relative;
  min-height: 650px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--purple-950);
}

.closing::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--purple-950) 0%, color-mix(in oklch, var(--purple-950) 88%, transparent) 44%, color-mix(in oklch, var(--purple-950) 20%, transparent) 75%, transparent 100%);
}

.closing-art {
  position: absolute;
  inset: 0 0 0 auto;
  width: 64%;
  height: 100%;
}

.closing-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
  filter: saturate(1.12);
}

.closing-content {
  position: relative;
  z-index: 2;
}

.closing-content h2 {
  max-width: 610px;
  color: var(--yellow);
}

.closing-content > p:not(.closing-note) {
  max-width: 470px;
  margin-top: 18px;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.4;
  font-weight: 700;
}

.closing-content .whatsapp-button {
  margin-top: 32px;
}

.closing-note {
  margin: 18px 0 0 20px;
  color: color-mix(in oklch, var(--white) 75%, transparent);
  font-size: 0.72rem;
  font-weight: 700;
}

.sticky-whatsapp {
  display: none;
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

@keyframes art-enter {
  from {
    opacity: 0;
    transform: translateX(30px) scale(0.98);
  }
}

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.72fr);
    gap: 36px;
  }

  .hero-art {
    min-height: 620px;
  }

  .event-stamp {
    left: -20px;
  }

  .attraction-rail {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px 10px;
  }

  .tickets-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .tickets-intro {
    position: static;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 38px;
    padding: 28px 0 54px;
  }

  .festival-mark {
    width: 176px;
    height: 75px;
  }

  h1 {
    margin-top: 24px;
    font-size: clamp(3.55rem, 17vw, 5rem);
    line-height: 0.84;
  }

  .hero-lead {
    margin-top: 22px;
    font-size: 1rem;
  }

  .whatsapp-button-hero {
    width: 100%;
    margin-top: 26px;
  }

  .trust-line {
    margin-left: 0;
    text-align: center;
  }

  .hero-art {
    min-height: 560px;
  }

  .hero-poster {
    width: calc(100% - 10px);
    max-width: none;
    box-shadow: 10px 11px 0 var(--yellow);
  }

  .event-stamp {
    top: 5%;
    left: -4px;
    width: 112px;
  }

  .event-stamp span {
    font-size: 1.65rem;
  }

  .event-stamp strong {
    font-size: 1.05rem;
  }

  .location-strip {
    right: -2px;
    bottom: 5%;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2,
  .tickets h2,
  .closing h2 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .section-heading p {
    margin-top: 18px;
  }

  .attraction-rail {
    width: calc(100vw - 14px);
    display: flex;
    gap: 10px;
    overflow-x: auto;
    margin-left: 0;
    padding: 0 14px 12px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .attraction-rail::-webkit-scrollbar {
    display: none;
  }

  .attraction {
    flex: 0 0 45vw;
    scroll-snap-align: start;
  }

  .attraction div {
    min-height: 72px;
  }

  .attraction img {
    height: 270px;
  }

  .attraction strong {
    font-size: 1.35rem;
  }

  .ticket {
    grid-template-columns: 1fr auto;
    gap: 12px 16px;
    min-height: 0;
    padding: 17px;
  }

  .ticket-name {
    grid-column: 1 / -1;
    font-size: 1.45rem;
  }

  .ticket > p {
    font-size: 0.7rem;
  }

  .prices {
    min-width: 126px;
    padding-left: 12px;
  }

  .closing {
    min-height: 720px;
    align-items: end;
    padding-bottom: 128px;
  }

  .closing::after {
    background: linear-gradient(180deg, transparent 0%, color-mix(in oklch, var(--purple-950) 58%, transparent) 30%, var(--purple-950) 66%);
  }

  .closing-art {
    inset: 0;
    width: 100%;
    height: 68%;
  }

  .closing-art img {
    object-position: 50% 8%;
  }

  .closing-content .whatsapp-button {
    width: 100%;
  }

  .sticky-whatsapp {
    position: fixed;
    z-index: 20;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 12px;
    display: flex;
    min-height: 66px;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 9px 18px;
    border-radius: 999px;
    background: var(--green);
    color: var(--white);
    box-shadow: 0 6px 0 var(--green-dark), 0 0 0 3px var(--white);
    transition: transform 160ms var(--ease-out);
  }

  .sticky-whatsapp:active {
    transform: translateY(3px) scale(0.98);
  }

  .sticky-whatsapp svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
  }

  .sticky-whatsapp span {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
  }

  .sticky-whatsapp strong {
    font-size: 0.92rem;
    font-weight: 900;
    text-transform: uppercase;
  }

  .sticky-whatsapp small {
    margin-top: 3px;
    font-size: 0.66rem;
    font-weight: 700;
    text-align: center;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 3.35rem;
  }

  .hero-art {
    min-height: 505px;
  }

  .whatsapp-button {
    padding-right: 16px;
  }

  .whatsapp-icon {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }

  .whatsapp-button strong {
    font-size: 0.9rem;
  }

  .attraction {
    flex-basis: 52vw;
  }

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

  .ticket-name {
    grid-column: auto;
  }

  .prices {
    padding: 12px 0 0;
    border-top: 1px solid color-mix(in oklch, var(--white) 22%, transparent);
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
