/*
  XARIVARI — sitio estático listo para reirte.com
  Colores y composición inspirados en el vestuario, maquillaje y flyer de la obra.
*/

:root {
  color-scheme: light;
  --ink: #171720;
  --ink-soft: #353546;
  --paper: #fff9e8;
  --white: #ffffff;
  --yellow: #ffe500;
  --yellow-soft: #fff36b;
  --cyan: #12d8e6;
  --purple: #9c36dc;
  --red: #ff2c21;
  --green: #1be23d;
  --pink: #ff0b79;
  --orange: #ff7a1a;
  --blue: #2352b4;
  --board: #587fa0;
  --cream: #fff4cf;
  --line: 3px solid var(--ink);
  --shadow: 8px 8px 0 var(--ink);
  --shadow-small: 5px 5px 0 var(--ink);
  --radius: 28px;
  --radius-small: 17px;
  --shell: min(1180px, calc(100% - 40px));
  --header-height: 74px;
  --display: Impact, Haettenschweiler, "Arial Black", "Trebuchet MS", sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 9% 7%, rgba(18, 216, 230, 0.12) 0 8%, transparent 8.2%),
    radial-gradient(circle at 88% 24%, rgba(255, 11, 121, 0.08) 0 10%, transparent 10.2%),
    var(--paper);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.62;
  overflow-x: hidden;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

/* Mantiene la proporción original al adaptar las fotos a cada pantalla. */
img {
  height: auto;
  vertical-align: middle;
}

button,
a,
input,
summary {
  font: inherit;
}

button,
summary {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

p:last-child {
  margin-bottom: 0;
}

address {
  font-style: normal;
}

::selection {
  color: var(--ink);
  background: var(--yellow);
}

:focus-visible {
  outline: 4px solid var(--cyan);
  outline-offset: 4px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(78px, 10vw, 140px);
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  border-radius: 10px;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.announcement {
  position: relative;
  z-index: 60;
  min-height: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px 12px;
  padding: 7px 20px;
  color: var(--ink);
  background: var(--yellow);
  border-bottom: 2px solid var(--ink);
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

.announcement__spark {
  color: var(--pink);
  font-size: 1.25rem;
  line-height: 1;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(255, 249, 232, 0.92);
  border-bottom: 2px solid transparent;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--ink);
  box-shadow: 0 5px 0 rgba(23, 23, 32, 0.07);
}

.site-header__inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.brand__mark {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  color: var(--pink);
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 12px 8px 13px 7px;
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--display);
  font-size: 1.8rem;
  line-height: 1;
  transform: rotate(-5deg);
}

.brand__name {
  font-family: var(--display);
  font-size: 1.17rem;
  letter-spacing: 0.06em;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(13px, 2.1vw, 26px);
  margin-left: auto;
}

.site-nav a {
  position: relative;
  color: var(--ink);
  font-size: 0.91rem;
  font-weight: 800;
  text-decoration: none;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 3px;
  background: var(--pink);
  transform: scaleX(0) rotate(-1deg);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1) rotate(-1deg);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 8px 10px;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-weight: 800;
}

.menu-toggle__icon {
  width: 26px;
  display: grid;
  gap: 5px;
}

.menu-toggle__icon i {
  height: 3px;
  display: block;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.button {
  min-height: 52px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 12px 21px;
  color: var(--ink);
  background: var(--white);
  border: var(--line);
  border-radius: 14px 10px 15px 9px;
  box-shadow: var(--shadow-small);
  cursor: pointer;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.button:hover {
  transform: translate(2px, 2px) rotate(-0.4deg);
  box-shadow: 3px 3px 0 var(--ink);
}

.button:active {
  transform: translate(5px, 5px);
  box-shadow: none;
}

.button svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex: 0 0 auto;
}

.button--small {
  min-height: 42px;
  padding: 9px 15px;
  font-size: 0.9rem;
  border-width: 2px;
  box-shadow: 4px 4px 0 var(--ink);
}

.button--primary {
  background: var(--yellow);
}

.button--dark {
  color: var(--white);
  background: var(--ink);
  box-shadow: 5px 5px 0 var(--pink);
}

.button--dark:hover {
  box-shadow: 3px 3px 0 var(--pink);
}

.button--ghost {
  background: transparent;
}

.button--white {
  color: var(--ink);
  background: var(--white);
}

.button--wide {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-weight: 900;
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.text-link::after {
  content: "→";
  text-decoration: none;
  transition: transform 0.2s ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

.text-link--light {
  color: var(--white);
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-transform: uppercase;
}

.eyebrow {
  padding: 8px 12px;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--cyan);
}

.section-kicker::before {
  content: "";
  width: 31px;
  height: 4px;
  background: currentColor;
  border-radius: 99px;
  transform: rotate(-3deg);
}

.section-kicker--light {
  color: var(--yellow);
}

.section-title {
  max-width: 820px;
  margin-bottom: 24px;
  font-family: var(--display);
  font-size: clamp(2.45rem, 5.4vw, 5.6rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 0.96;
  text-wrap: balance;
}

.section-title--light {
  color: var(--white);
}

.lead {
  font-size: clamp(1.12rem, 1.8vw, 1.35rem);
  line-height: 1.55;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  align-items: end;
  gap: 60px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section-heading .section-title {
  margin-bottom: 0;
}

.section-heading > p {
  max-width: 460px;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - 112px);
  display: grid;
  align-items: center;
  padding: clamp(58px, 7vw, 95px) 0 clamp(75px, 8vw, 105px);
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -3;
  width: 560px;
  aspect-ratio: 1;
  top: 5%;
  right: -180px;
  background: var(--cyan);
  border: 4px solid var(--ink);
  border-radius: 45% 55% 52% 48% / 60% 42% 58% 40%;
  transform: rotate(15deg);
  opacity: 0.28;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -3;
  width: 360px;
  height: 160px;
  left: -100px;
  bottom: 15%;
  background: var(--pink);
  border: 4px solid var(--ink);
  border-radius: 50%;
  transform: rotate(-18deg);
  opacity: 0.13;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.hero__copy {
  position: relative;
  z-index: 3;
}

.hero-title {
  display: flex;
  align-items: center;
  margin: 16px 0 20px;
  font-family: var(--display);
  font-size: clamp(4.15rem, 9.3vw, 8.7rem);
  font-weight: 900;
  letter-spacing: -0.095em;
  line-height: 0.78;
  white-space: nowrap;
}

.letter {
  position: relative;
  display: inline-block;
  padding-right: 0.025em;
  -webkit-text-stroke: clamp(2px, 0.22vw, 4px) var(--ink);
  paint-order: stroke fill;
  filter: drop-shadow(4px 5px 0 rgba(23, 23, 32, 0.95));
  transform-origin: center bottom;
  animation: letter-in 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.letter--x { color: var(--yellow); transform: rotate(-5deg) translateY(2px); animation-delay: 0.04s; }
.letter--a1 { color: var(--cyan); transform: rotate(4deg) translateY(7px); animation-delay: 0.08s; }
.letter--r1 { color: var(--purple); transform: rotate(-3deg); animation-delay: 0.12s; }
.letter--i1 { color: var(--red); transform: rotate(6deg) translateY(8px); animation-delay: 0.16s; }
.letter--v { color: var(--green); transform: rotate(-5deg) translateY(2px); animation-delay: 0.20s; }
.letter--a2 { color: #f1f1ef; transform: rotate(2deg) translateY(6px); animation-delay: 0.24s; }
.letter--r2 { color: var(--yellow-soft); transform: rotate(-4deg); animation-delay: 0.28s; }
.letter--i2 { color: var(--pink); transform: rotate(5deg) translateY(7px); animation-delay: 0.32s; }

@keyframes letter-in {
  0% { opacity: 0; translate: 0 -35px; scale: 0.78; }
  70% { opacity: 1; translate: 0 7px; scale: 1.06; }
  100% { opacity: 1; translate: 0 0; scale: 1; }
}

.hero__tagline {
  max-width: 650px;
  margin-bottom: 17px;
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.42rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  transform: rotate(-1deg);
}

.hero__intro {
  max-width: 650px;
  margin-bottom: 27px;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.58;
}

.hero__actions,
.flyer__actions,
.venue__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.next-show {
  min-height: 31px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 25px;
  padding: 6px 11px 6px 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.74);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 0.87rem;
  font-weight: 800;
}

.next-show__dot {
  width: 11px;
  height: 11px;
  background: var(--green);
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(27, 226, 61, 0.18);
  animation: pulse 1.7s ease-in-out infinite;
}

@keyframes pulse {
  50% { transform: scale(1.2); box-shadow: 0 0 0 8px rgba(27, 226, 61, 0.08); }
}

.hero__visual {
  position: relative;
  min-height: clamp(420px, 46vw, 610px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero__sun {
  position: absolute;
  z-index: -1;
  width: min(45vw, 520px);
  aspect-ratio: 1;
  top: 5%;
  left: 50%;
  background: var(--yellow);
  border: 4px solid var(--ink);
  border-radius: 50%;
  box-shadow: 13px 14px 0 var(--ink);
  transform: translateX(-48%);
}

.hero__sun::before,
.hero__sun::after {
  content: "";
  position: absolute;
  inset: -32px;
  border: 4px dashed var(--pink);
  border-radius: 50%;
  animation: spin 18s linear infinite;
}

.hero__sun::after {
  inset: 30px;
  border-color: rgba(23, 23, 32, 0.3);
  animation-direction: reverse;
  animation-duration: 24s;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.hero__people {
  position: relative;
  z-index: 2;
  width: min(790px, 113%);
  max-width: none;
  height: auto;
  object-fit: contain;
  margin-right: -8%;
  margin-bottom: 1%;
  filter: drop-shadow(0 18px 15px rgba(23, 23, 32, 0.22));
}

.hero__sticker {
  position: absolute;
  z-index: 5;
  display: grid;
  padding: 14px 17px;
  border: 3px solid var(--ink);
  box-shadow: var(--shadow-small);
  line-height: 1.05;
  text-align: center;
}

.hero__sticker--price {
  top: 2%;
  right: -1%;
  width: 190px;
  background: var(--pink);
  border-radius: 51% 49% 43% 57% / 53% 45% 55% 47%;
  transform: rotate(5deg);
}

.hero__sticker--price span,
.hero__sticker--price small {
  color: var(--white);
  font-weight: 800;
}

.hero__sticker--price strong {
  margin-block: 6px;
  color: var(--yellow);
  font-family: var(--display);
  font-size: 2rem;
}

.hero__sticker--place {
  left: 2%;
  bottom: 7%;
  color: var(--ink);
  background: var(--cyan);
  border-radius: 15px 11px 17px 9px;
  transform: rotate(-4deg);
}

.hero__sticker--place strong {
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: 0.03em;
}

.hero__sticker--place span {
  font-size: 0.77rem;
  font-weight: 850;
}

.hero__wave {
  position: absolute;
  z-index: -2;
  right: -5%;
  bottom: -86px;
  left: -5%;
  height: 160px;
  background: var(--yellow);
  border-top: 4px solid var(--ink);
  border-radius: 50% 50% 0 0 / 38% 38% 0 0;
  transform: rotate(-1deg);
}

.hero__confetti {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.confetti {
  position: absolute;
  display: block;
  width: 15px;
  height: 38px;
  border: 3px solid var(--ink);
  border-radius: 4px;
  transform: rotate(var(--r, 20deg));
}

.confetti--1 { top: 12%; left: 4%; background: var(--cyan); --r: 24deg; }
.confetti--2 { top: 25%; left: 48%; width: 22px; height: 22px; background: var(--pink); border-radius: 50%; --r: -5deg; }
.confetti--3 { top: 10%; right: 7%; background: var(--green); --r: 58deg; }
.confetti--4 { top: 62%; left: 44%; background: var(--purple); --r: -36deg; }
.confetti--5 { top: 74%; right: 3%; background: var(--orange); --r: 15deg; }
.confetti--6 { top: 46%; left: 2%; width: 22px; height: 22px; background: var(--red); border-radius: 50%; }
.confetti--7 { bottom: 8%; left: 21%; background: var(--green); --r: 76deg; }
.confetti--8 { top: 16%; left: 38%; width: 12px; height: 28px; background: var(--yellow); --r: -21deg; }
.confetti--9 { bottom: 18%; right: 42%; width: 22px; height: 22px; background: var(--cyan); border-radius: 50%; }

.ticker {
  position: relative;
  z-index: 3;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
  border-block: 3px solid var(--ink);
  transform: rotate(-1deg) scale(1.02);
}

.ticker__track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 13px 0;
  animation: ticker 28s linear infinite;
}

.ticker__track span {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  font-family: var(--display);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  letter-spacing: 0.06em;
}

.ticker__track span:nth-child(4n + 1) { color: var(--yellow); }
.ticker__track span:nth-child(4n + 2) { color: var(--cyan); }
.ticker__track span:nth-child(4n + 3) { color: var(--pink); }
.ticker__track span::after { content: "★"; color: var(--white); font-size: 0.7em; }

@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* Story */
.story {
  background:
    linear-gradient(90deg, transparent 0 49.5%, rgba(23, 23, 32, 0.045) 49.5% 50.5%, transparent 50.5%),
    var(--paper);
}

.story__grid {
  display: grid;
  grid-template-columns: minmax(270px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(42px, 8vw, 110px);
}

.story__image-wrap {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story__image-wrap::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 78%;
  height: 88%;
  background: var(--purple);
  border: 4px solid var(--ink);
  border-radius: 47% 53% 43% 57% / 57% 45% 55% 43%;
  box-shadow: 10px 12px 0 var(--ink);
  transform: rotate(-4deg);
}

.story__image-wrap img {
  width: min(253px, 94%);
  height: auto;
  max-height: none;
  object-fit: contain;
  filter: drop-shadow(0 15px 12px rgba(23, 23, 32, 0.25));
}

.story__burst {
  position: absolute;
  z-index: 3;
  top: 6%;
  right: -2%;
  width: 120px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
  border: 3px solid var(--ink);
  clip-path: polygon(50% 0, 61% 23%, 82% 8%, 78% 32%, 100% 36%, 79% 50%, 96% 68%, 72% 69%, 75% 94%, 56% 78%, 45% 100%, 38% 76%, 14% 91%, 23% 66%, 0 62%, 21% 48%, 3% 30%, 28% 30%, 27% 5%, 44% 23%);
  font-family: var(--display);
  font-size: 1.25rem;
  transform: rotate(8deg);
}

.story__content > p {
  max-width: 730px;
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 36px;
}

.theme-card {
  min-height: 220px;
  padding: 22px 20px;
  border: var(--line);
  border-radius: 17px 12px 19px 10px;
  box-shadow: var(--shadow-small);
  transform: rotate(var(--tilt, 0deg));
}

.theme-card--yellow { background: var(--yellow); --tilt: -1.5deg; }
.theme-card--cyan { background: var(--cyan); --tilt: 1deg; }
.theme-card--pink { color: var(--white); background: var(--pink); --tilt: -0.7deg; }

.theme-card__icon {
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  margin-bottom: 19px;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-size: 1.35rem;
  font-weight: 900;
}

.theme-card h3 {
  margin-bottom: 8px;
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: 0.02em;
}

.theme-card p {
  font-size: 0.91rem;
  line-height: 1.48;
}

/* Meaning */
.meaning {
  padding-block: 80px;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
}

.meaning::before {
  content: "";
  position: absolute;
  width: 360px;
  aspect-ratio: 1;
  right: -120px;
  top: -130px;
  background: var(--pink);
  border: 4px solid var(--white);
  border-radius: 50%;
  opacity: 0.75;
}

.meaning__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  align-items: center;
  gap: 50px;
}

.meaning__copy {
  position: relative;
  z-index: 2;
}

.meaning__copy p {
  max-width: 620px;
  margin-bottom: 27px;
  font-size: 1.12rem;
}

.meaning__word {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  transform: rotate(2deg);
}

.meaning__word span {
  display: grid;
  place-items: center;
  min-height: 150px;
  color: var(--ink);
  background: var(--yellow);
  border: 4px solid var(--white);
  border-radius: 22px 13px 24px 12px;
  box-shadow: 8px 8px 0 var(--pink);
  font-family: var(--display);
  font-size: clamp(3.8rem, 8vw, 7.2rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.meaning__word span:nth-child(2) { background: var(--cyan); transform: rotate(-4deg); }
.meaning__word span:nth-child(3) { background: var(--green); transform: rotate(3deg); }
.meaning__word span:nth-child(4) { background: var(--pink); transform: rotate(-2deg); }

/* Schedule */
.schedule {
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 229, 0, 0.24) 0 70px, transparent 72px),
    radial-gradient(circle at 93% 77%, rgba(18, 216, 230, 0.19) 0 110px, transparent 112px),
    var(--cream);
}

.board-scene {
  position: relative;
  width: min(1040px, 100%);
  min-height: 1110px;
  margin-inline: auto;
}

.board-scene__image {
  position: absolute;
  inset: 0;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  margin: auto;
  filter: drop-shadow(0 22px 20px rgba(23, 23, 32, 0.23));
}

.board-scene__content {
  position: absolute;
  z-index: 2;
  top: 4.5%;
  left: 25.8%;
  width: 47.7%;
  height: 78.6%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5% 4.4%;
  color: var(--white);
  text-align: center;
}

.board-scene__eyebrow {
  margin-bottom: 28px;
  color: var(--yellow);
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 2.3rem);
  letter-spacing: 0.12em;
  transform: rotate(-1deg);
}

.date-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.date-card {
  min-height: 143px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  padding: 12px 8px;
  color: var(--ink);
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 16px 10px 18px 9px;
  box-shadow: 5px 6px 0 rgba(23, 23, 32, 0.75);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.date-card:nth-child(2) { background: var(--cyan); transform: rotate(1deg); }
.date-card:nth-child(3) { background: var(--pink); color: var(--white); transform: rotate(-1deg); }
.date-card:nth-child(4) { background: var(--green); transform: rotate(1.2deg); }
.date-card:nth-child(5) { grid-column: 1 / -1; width: calc(50% - 7px); justify-self: center; background: var(--yellow-soft); transform: rotate(-0.7deg); }

.date-card:hover {
  transform: translate(2px, 3px) rotate(0deg);
  box-shadow: 2px 3px 0 rgba(23, 23, 32, 0.75);
}

.date-card.is-next {
  outline: 4px solid var(--white);
  outline-offset: 4px;
}

.date-card.is-past {
  opacity: 0.5;
  filter: grayscale(0.5);
}

.date-card__day {
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.date-card strong {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5.2vw, 4.25rem);
  line-height: 0.9;
}

.date-card > span:last-child {
  font-size: 0.88rem;
  font-weight: 950;
}

.board-scene__note {
  margin-top: 27px;
  font-size: clamp(0.78rem, 1.6vw, 0.98rem);
  font-weight: 850;
}

.board-scene__note span {
  color: var(--yellow);
}

/* Tickets */
.tickets {
  background: var(--paper);
}

.tickets__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.72fr);
  align-items: start;
  gap: clamp(48px, 8vw, 110px);
}

.steps {
  display: grid;
  gap: 18px;
  margin: 37px 0 31px;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 57px minmax(0, 1fr);
  align-items: start;
  gap: 17px;
}

.steps__number {
  width: 54px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: var(--cyan);
  border: 3px solid var(--ink);
  border-radius: 50% 45% 53% 47%;
  box-shadow: 4px 4px 0 var(--ink);
  font-family: var(--display);
  font-size: 1.6rem;
  transform: rotate(-4deg);
}

.steps li:nth-child(2) .steps__number { background: var(--yellow); transform: rotate(3deg); }
.steps li:nth-child(3) .steps__number { color: var(--white); background: var(--pink); transform: rotate(-2deg); }

.steps strong {
  display: block;
  margin: 2px 0 4px;
  font-size: 1.08rem;
}

.steps p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.tickets__confirmation {
  margin-top: 17px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  text-align: center;
}

.ticket-stub {
  position: sticky;
  top: 110px;
  overflow: hidden;
  background: var(--yellow);
  border: 4px solid var(--ink);
  border-radius: 25px 15px 27px 13px;
  box-shadow: 12px 13px 0 var(--ink);
  transform: rotate(1.2deg);
}

.ticket-stub::before,
.ticket-stub::after {
  content: "";
  position: absolute;
  z-index: 3;
  width: 34px;
  aspect-ratio: 1;
  top: 53%;
  background: var(--paper);
  border: 4px solid var(--ink);
  border-radius: 50%;
}

.ticket-stub::before { left: -20px; }
.ticket-stub::after { right: -20px; }

.ticket-stub__top {
  padding: 38px 32px 24px;
  text-align: center;
}

.ticket-stub__label {
  display: block;
  margin-bottom: 9px;
  font-size: 0.8rem;
  font-weight: 950;
  letter-spacing: 0.14em;
}

.ticket-stub__top > strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--display);
  font-size: clamp(3.7rem, 8vw, 5.7rem);
  line-height: 0.95;
}

.ticket-stub__top p {
  font-weight: 800;
}

.ticket-stub__includes {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0 34px 30px;
  list-style: none;
  font-weight: 850;
}

.ticket-stub__includes li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ticket-stub__includes span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--pink);
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-size: 0.9rem;
}

.ticket-stub__tear {
  height: 4px;
  margin-inline: 22px;
  border-top: 4px dashed var(--ink);
}

.ticket-stub__payment {
  padding: 30px 30px 36px;
  background: var(--cyan);
}

.ticket-stub__payment > span {
  display: block;
  margin-bottom: 10px;
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.alias-box {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 13px;
}

.alias-box code {
  min-width: 0;
  display: flex;
  align-items: center;
  flex: 1;
  padding: 12px 13px;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.07rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.copy-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 11px;
  color: var(--white);
  background: var(--ink);
  border: 0;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
}

.copy-button svg {
  width: 18px;
  fill: currentColor;
}

.copy-feedback {
  min-height: 22px;
  margin: 7px 0 -18px;
  font-size: 0.77rem;
  font-weight: 800;
}

/* Venue */
.venue {
  padding-block: 0 100px;
}

.venue__grid {
  min-height: 470px;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  overflow: hidden;
  color: var(--white);
  background: var(--blue);
  border: 4px solid var(--ink);
  border-radius: 31px 19px 33px 17px;
  box-shadow: 12px 13px 0 var(--ink);
}

.venue__card {
  position: relative;
  z-index: 2;
  padding: clamp(38px, 6vw, 75px);
}

.venue__card .section-title {
  font-size: clamp(2.9rem, 5.7vw, 5.5rem);
}

.venue__card address {
  margin-bottom: 28px;
  font-size: 1.12rem;
}

.venue__card address strong {
  color: var(--yellow);
  font-size: 1.45rem;
}

.venue__art {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  background:
    linear-gradient(32deg, transparent 0 46%, var(--cyan) 46.3% 53%, transparent 53.3%),
    linear-gradient(-18deg, transparent 0 54%, var(--yellow) 54.3% 61%, transparent 61.3%),
    var(--pink);
  border-left: 4px solid var(--ink);
}

.venue__art::before {
  content: "";
  position: absolute;
  width: 330px;
  aspect-ratio: 1;
  top: 45px;
  right: 50px;
  background: var(--cream);
  border: 4px solid var(--ink);
  border-radius: 50%;
  box-shadow: 9px 10px 0 var(--ink);
}

.venue__pin {
  position: absolute;
  z-index: 3;
  width: 120px;
  height: 145px;
  top: 80px;
  right: 155px;
  background: var(--red);
  border: 4px solid var(--ink);
  border-radius: 50% 50% 50% 0;
  box-shadow: 7px 8px 0 var(--ink);
  transform: rotate(-45deg);
}

.venue__pin span {
  position: absolute;
  width: 43px;
  aspect-ratio: 1;
  top: 34px;
  left: 34px;
  background: var(--white);
  border: 4px solid var(--ink);
  border-radius: 50%;
}

.venue__street,
.venue__number {
  position: absolute;
  z-index: 3;
  font-family: var(--display);
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke fill;
  filter: drop-shadow(4px 4px 0 var(--ink));
}

.venue__street {
  right: 70px;
  bottom: 82px;
  color: var(--white);
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: 0.05em;
  transform: rotate(-4deg);
}

.venue__number {
  right: 75px;
  bottom: 13px;
  color: var(--yellow);
  font-size: clamp(3.8rem, 8vw, 7rem);
  line-height: 1;
  transform: rotate(3deg);
}

.venue__route {
  position: absolute;
  width: 380px;
  height: 170px;
  left: -40px;
  bottom: 20px;
  border: 10px dashed var(--white);
  border-top-color: transparent;
  border-right-color: transparent;
  border-radius: 50%;
  transform: rotate(14deg);
}

/* Team */
.team {
  background:
    repeating-linear-gradient(0deg, transparent 0 49px, rgba(23, 23, 32, 0.035) 50px 51px),
    var(--paper);
}

.team__visual {
  position: relative;
  width: min(1100px, 100%);
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin: -10px auto 10px;
}

.team__visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 82%;
  height: 230px;
  bottom: 3%;
  background: var(--yellow);
  border: 4px solid var(--ink);
  border-radius: 50%;
  box-shadow: 11px 11px 0 var(--ink);
  transform: rotate(-2deg);
}

.team__visual img {
  width: min(1090px, 100%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 15px rgba(23, 23, 32, 0.22));
}

.credits {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr 0.8fr;
  gap: 17px;
  margin-top: 35px;
}

.credit-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 155px;
  padding: 25px;
  background: var(--white);
  border: var(--line);
  border-radius: 18px 11px 20px 10px;
  box-shadow: var(--shadow-small);
}

.credit-card--author { background: var(--yellow); transform: rotate(-1deg); }
.credit-card--tech { color: var(--white); background: var(--purple); transform: rotate(1deg); }

.credit-card span {
  margin-bottom: 7px;
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.credit-card strong {
  font-family: var(--display);
  font-size: 1.55rem;
  line-height: 1.05;
}

.credit-card p {
  font-weight: 800;
  line-height: 1.52;
}

/* Flyer */
.flyer {
  background: var(--cream);
  border-block: 4px solid var(--ink);
}

.flyer__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 0.7fr);
  align-items: center;
  gap: clamp(48px, 9vw, 110px);
}

.flyer__copy p {
  max-width: 650px;
  margin-bottom: 28px;
  font-size: 1.08rem;
}

.flyer__preview {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: var(--white);
  border: 4px solid var(--ink);
  border-radius: 21px 12px 23px 11px;
  box-shadow: 12px 13px 0 var(--ink);
  cursor: zoom-in;
  transform: rotate(2.3deg);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.flyer__preview:hover {
  transform: rotate(0deg) translateY(-3px);
  box-shadow: 15px 17px 0 var(--ink);
}

.flyer__preview picture {
  width: 100%;
}

.flyer__preview img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.flyer__preview > span {
  position: absolute;
  right: 15px;
  bottom: 15px;
  padding: 8px 13px;
  color: var(--white);
  background: var(--ink);
  border: 2px solid var(--white);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 900;
}

.flyer-dialog {
  width: min(900px, calc(100% - 28px));
  max-height: calc(100svh - 28px);
  padding: 16px;
  overflow: auto;
  background: var(--paper);
  border: 4px solid var(--ink);
  border-radius: 22px;
  box-shadow: 12px 12px 0 var(--ink);
}

.flyer-dialog::backdrop {
  background: rgba(23, 23, 32, 0.82);
  backdrop-filter: blur(5px);
}

.flyer-dialog img {
  width: 100%;
  height: auto;
  object-fit: contain;
  margin-bottom: 15px;
  border: 2px solid var(--ink);
}

.flyer-dialog__close {
  position: sticky;
  z-index: 2;
  top: 0;
  float: right;
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  margin: -3px -3px -42px 0;
  color: var(--white);
  background: var(--ink);
  border: 3px solid var(--white);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}

/* Tour */
.tour {
  background: var(--paper);
}

.tour__card {
  display: grid;
  grid-template-columns: 1.05fr 0.75fr;
  overflow: hidden;
  color: var(--white);
  background: var(--purple);
  border: 4px solid var(--ink);
  border-radius: 32px 17px 34px 15px;
  box-shadow: 13px 14px 0 var(--ink);
}

.tour__copy {
  padding: clamp(42px, 7vw, 80px);
}

.tour__copy .section-title {
  font-size: clamp(2.7rem, 5.3vw, 5.2rem);
}

.tour__copy p {
  max-width: 660px;
  margin-bottom: 29px;
  font-size: 1.08rem;
}

.tour__poster {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  color: var(--ink);
  background: var(--yellow);
  border-left: 4px solid var(--ink);
}

.tour__poster::before,
.tour__poster::after {
  content: "";
  position: absolute;
  border: 4px solid var(--ink);
}

.tour__poster::before {
  width: 240px;
  aspect-ratio: 1;
  right: -75px;
  top: -60px;
  background: var(--cyan);
  border-radius: 50%;
}

.tour__poster::after {
  width: 180px;
  height: 320px;
  left: -65px;
  bottom: -110px;
  background: var(--pink);
  border-radius: 50%;
  transform: rotate(25deg);
}

.tour__stamp {
  position: absolute;
  z-index: 3;
  top: 44px;
  right: 35px;
  padding: 13px 18px;
  color: var(--white);
  background: var(--red);
  border: 4px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  font-family: var(--display);
  font-size: 1.7rem;
  letter-spacing: 0.08em;
  transform: rotate(8deg);
}

.tour__city {
  position: absolute;
  z-index: 2;
  left: 50%;
  width: max-content;
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 0.95;
  transform: translateX(-50%);
}

.tour__city--1 { top: 180px; color: var(--blue); transform: translateX(-50%) rotate(-3deg); }
.tour__city--2 { top: 290px; color: var(--pink); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; transform: translateX(-50%) rotate(3deg); }

.tour__line {
  position: absolute;
  top: 260px;
  left: 12%;
  width: 76%;
  border-top: 7px dashed var(--ink);
}

.tour__stars {
  position: absolute;
  z-index: 2;
  right: 55px;
  bottom: 45px;
  color: var(--purple);
  font-size: 2rem;
  letter-spacing: 0.25em;
  transform: rotate(-5deg);
}

/* FAQ */
.faq {
  background: var(--cream);
}

.faq__grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: start;
  gap: clamp(48px, 8vw, 100px);
}

.faq__heading {
  position: sticky;
  top: 120px;
}

.faq__heading .section-title {
  font-size: clamp(2.8rem, 5.2vw, 5rem);
}

.faq__heading p {
  max-width: 430px;
}

.faq__items {
  display: grid;
  gap: 15px;
}

.faq details {
  overflow: hidden;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 17px 10px 19px 9px;
  box-shadow: 5px 5px 0 var(--ink);
}

.faq details[open] {
  background: var(--yellow-soft);
}

.faq summary {
  position: relative;
  padding: 22px 65px 22px 23px;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 900;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 21px;
  width: 34px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--pink);
  border: 2px solid var(--ink);
  border-radius: 50%;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq details p {
  margin: -5px 23px 23px;
  padding-top: 18px;
  border-top: 2px dashed var(--ink);
}

/* Finale */
.finale {
  position: relative;
  overflow: hidden;
  padding-block: clamp(75px, 10vw, 125px);
  color: var(--white);
  background: var(--pink);
  border-top: 4px solid var(--ink);
  text-align: center;
}

.finale::before,
.finale::after {
  content: "";
  position: absolute;
  width: 260px;
  aspect-ratio: 1;
  background: var(--yellow);
  border: 4px solid var(--ink);
  border-radius: 50%;
}

.finale::before { top: -155px; left: -85px; }
.finale::after { right: -100px; bottom: -150px; background: var(--cyan); }

.finale__inner {
  position: relative;
  z-index: 2;
}

.finale p {
  margin-bottom: 5px;
  font-size: 1.2rem;
  font-weight: 900;
}

.finale h2 {
  margin-bottom: 34px;
  color: var(--yellow);
  font-family: var(--display);
  font-size: clamp(3.8rem, 11vw, 10rem);
  letter-spacing: -0.04em;
  line-height: 0.9;
  -webkit-text-stroke: 3px var(--ink);
  paint-order: stroke fill;
  filter: drop-shadow(7px 8px 0 var(--ink));
  transform: rotate(-2deg);
}

/* Footer */
.site-footer {
  padding: 72px 0 28px;
  color: var(--white);
  background: var(--ink);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 0.72fr;
  gap: 55px;
  padding-bottom: 50px;
}

.brand--footer {
  margin-bottom: 20px;
  color: var(--white);
}

.site-footer h2 {
  margin-bottom: 13px;
  color: var(--yellow);
  font-family: var(--display);
  font-size: 1.3rem;
  letter-spacing: 0.05em;
}

.site-footer p,
.site-footer a,
.site-footer span {
  color: rgba(255, 255, 255, 0.82);
}

.site-footer__grid > div:last-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}

.site-footer__grid a {
  text-underline-offset: 4px;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.82rem;
}

.mobile-cta {
  display: none;
}

.noscript {
  position: fixed;
  z-index: 9999;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 14px;
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 12px;
  box-shadow: 5px 5px 0 var(--ink);
  font-weight: 800;
  text-align: center;
}

/* JS effects */
.reveal.reveal--pending {
  opacity: 0;
  transform: translateY(28px) rotate(0.3deg);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.reveal--pending.is-visible {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}

.burst-piece {
  position: fixed;
  z-index: 9998;
  width: var(--size, 13px);
  height: calc(var(--size, 13px) * 1.8);
  left: var(--x);
  top: var(--y);
  background: var(--color);
  border: 2px solid var(--ink);
  border-radius: 3px;
  pointer-events: none;
  animation: burst 1.05s cubic-bezier(0.1, 0.65, 0.2, 1) forwards;
}

@keyframes burst {
  0% { opacity: 1; transform: translate(-50%, -50%) rotate(0deg) scale(0.7); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) rotate(var(--rot)) scale(1.15); }
}

.meaning__word.is-party span:nth-child(1) { animation: party-a 0.6s ease; }
.meaning__word.is-party span:nth-child(2) { animation: party-b 0.6s 0.05s ease; }
.meaning__word.is-party span:nth-child(3) { animation: party-a 0.6s 0.1s ease; }
.meaning__word.is-party span:nth-child(4) { animation: party-b 0.6s 0.15s ease; }

@keyframes party-a { 50% { transform: rotate(-8deg) translateY(-18px) scale(1.08); } }
@keyframes party-b { 50% { transform: rotate(8deg) translateY(-18px) scale(1.08); } }

/* Responsive */
@media (max-width: 1080px) {
  :root {
    --shell: min(100% - 32px, 1040px);
  }

  .header-cta {
    display: none;
  }

  .site-nav {
    gap: 16px;
  }

  .hero__grid {
    grid-template-columns: 1fr 0.9fr;
  }

  .hero-title {
    font-size: clamp(4rem, 9.2vw, 7.1rem);
  }

  .hero__visual {
    min-height: 500px;
  }

  .hero__people {
    width: 123%;
  }

  .hero__sticker--price {
    right: -5%;
  }

  .board-scene {
    min-height: 1040px;
  }

  .date-card {
    min-height: 130px;
  }

  .ticket-stub__top,
  .ticket-stub__payment {
    padding-inline: 24px;
  }

  .ticket-stub__includes {
    padding-inline: 27px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 68px;
  }

  .site-header__inner {
    position: relative;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 12px;
    visibility: hidden;
    opacity: 0;
    background: var(--paper);
    border: 3px solid var(--ink);
    border-top: 0;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 8px 0 var(--ink);
    transform: translateY(-10px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 13px 10px;
    border-bottom: 1px dashed rgba(23, 23, 32, 0.35);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    padding-top: 60px;
  }

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

  .hero__copy {
    text-align: center;
  }

  .hero-title {
    justify-content: center;
    font-size: clamp(4.2rem, 14vw, 7.5rem);
  }

  .hero__tagline,
  .hero__intro {
    margin-inline: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .next-show {
    margin-inline: auto;
  }

  .hero__visual {
    width: min(760px, 100%);
    min-height: 510px;
    margin: -20px auto 0;
  }

  .hero__people {
    width: 105%;
    margin-right: 0;
  }

  .hero__sun {
    width: min(66vw, 500px);
  }

  .hero__sticker--price {
    right: 3%;
  }

  .hero__sticker--place {
    left: 4%;
  }

  .story__grid {
    grid-template-columns: 0.62fr 1fr;
    gap: 55px;
  }

  .story__image-wrap {
    min-height: 590px;
  }

  .story__burst {
    width: 94px;
  }

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

  .theme-card {
    min-height: auto;
  }

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

  .meaning__copy {
    text-align: center;
  }

  .meaning__copy p {
    margin-inline: auto;
  }

  .meaning__word {
    width: min(690px, 100%);
    margin-inline: auto;
  }

  .board-scene {
    min-height: 960px;
  }

  .board-scene__content {
    padding-inline: 4%;
  }

  .date-card {
    min-height: 112px;
  }

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

  .ticket-stub {
    position: relative;
    top: auto;
    width: min(560px, 100%);
    margin-inline: auto;
  }

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

  .venue__art {
    min-height: 390px;
    border-top: 4px solid var(--ink);
    border-left: 0;
  }

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

  .credit-card:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .flyer__grid {
    grid-template-columns: 1fr 0.72fr;
    gap: 45px;
  }

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

  .tour__poster {
    min-height: 420px;
    border-top: 4px solid var(--ink);
    border-left: 0;
  }

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

  .faq__heading {
    position: relative;
    top: auto;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: calc(100% - 26px);
    --shadow: 6px 6px 0 var(--ink);
  }

  body {
    font-size: 16px;
    padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px));
  }

  .announcement {
    min-height: 34px;
    padding-inline: 10px;
    font-size: 0.7rem;
  }

  .announcement span:nth-of-type(3),
  .announcement span:nth-of-type(4) {
    display: none;
  }

  .brand__name {
    font-size: 1rem;
  }

  .brand__mark {
    width: 39px;
    height: 39px;
  }

  .menu-toggle__label {
    display: none;
  }

  .section {
    padding-block: 76px;
  }

  .section-title {
    font-size: clamp(2.55rem, 13vw, 4.4rem);
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .eyebrow {
    font-size: 0.68rem;
  }

  .hero-title {
    margin-top: 19px;
    font-size: clamp(3.45rem, 16.4vw, 5.7rem);
    letter-spacing: -0.105em;
  }

  .letter {
    filter: drop-shadow(2px 3px 0 rgba(23, 23, 32, 0.95));
  }

  .hero__tagline {
    font-size: 1.38rem;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero__actions .button {
    width: 100%;
  }

  .next-show {
    width: 100%;
    justify-content: center;
    font-size: 0.77rem;
  }

  .hero__visual {
    min-height: 360px;
    margin-top: 5px;
  }

  .hero__sun {
    width: min(78vw, 400px);
    top: 3%;
    box-shadow: 8px 9px 0 var(--ink);
  }

  .hero__sun::before {
    inset: -19px;
  }

  .hero__people {
    width: 115%;
  }

  .hero__sticker {
    padding: 10px 12px;
    border-width: 2px;
  }

  .hero__sticker--price {
    width: 145px;
    top: 2%;
    right: -2%;
  }

  .hero__sticker--price strong {
    font-size: 1.45rem;
  }

  .hero__sticker--price small {
    font-size: 0.62rem;
  }

  .hero__sticker--place {
    left: -1%;
    bottom: 3%;
  }

  .hero__sticker--place strong {
    font-size: 1.05rem;
  }

  .confetti--2,
  .confetti--4,
  .confetti--8,
  .confetti--9 {
    display: none;
  }

  .ticker__track {
    animation-duration: 23s;
  }

  .story {
    background: var(--paper);
  }

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

  .story__image-wrap {
    width: min(390px, 90%);
    min-height: 560px;
    margin-inline: auto;
  }

  .story__image-wrap img {
    width: min(212px, 94%);
    height: auto;
    max-height: none;
  }

  .story__burst {
    right: -5%;
  }

  .theme-grid {
    gap: 13px;
  }

  .meaning {
    padding-block: 70px;
  }

  .meaning__word {
    gap: 9px;
  }

  .meaning__word span {
    min-height: 110px;
    border-width: 3px;
    box-shadow: 5px 5px 0 var(--pink);
    font-size: clamp(3rem, 18vw, 5rem);
  }

  .board-scene {
    min-height: auto;
    display: flex;
    flex-direction: column;
  }

  .board-scene__image {
    position: relative;
    inset: auto;
    order: 2;
    width: 100%;
    height: auto;
    max-height: none;
    margin: -85px auto 0;
  }

  .board-scene__content {
    position: relative;
    z-index: 3;
    top: auto;
    left: auto;
    order: 1;
    width: calc(100% - 20px);
    height: auto;
    margin-inline: auto;
    padding: 33px 20px 39px;
    background: var(--board);
    border: 4px solid var(--ink);
    border-radius: 22px 13px 24px 11px;
    box-shadow: 8px 8px 0 var(--ink);
  }

  .board-scene__eyebrow {
    margin-bottom: 22px;
    font-size: 1.55rem;
  }

  .date-list {
    gap: 10px;
  }

  .date-card {
    min-height: 112px;
  }

  .date-card strong {
    font-size: 2.8rem;
  }

  .board-scene__note {
    margin-top: 20px;
  }

  .tickets__grid {
    gap: 58px;
  }

  .steps li {
    grid-template-columns: 50px 1fr;
    gap: 14px;
  }

  .steps__number {
    width: 47px;
  }

  .ticket-stub {
    transform: rotate(0.7deg);
  }

  .ticket-stub::before,
  .ticket-stub::after {
    top: 52%;
  }

  .alias-box {
    flex-direction: column;
  }

  .copy-button {
    justify-content: center;
    min-height: 44px;
  }

  .venue {
    padding-bottom: 80px;
  }

  .venue__grid {
    box-shadow: 7px 8px 0 var(--ink);
  }

  .venue__card {
    padding: 42px 25px;
  }

  .venue__actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .venue__art {
    min-height: 350px;
  }

  .venue__art::before {
    width: 260px;
    right: 25px;
  }

  .venue__pin {
    width: 95px;
    height: 115px;
    right: 106px;
  }

  .venue__pin span {
    width: 34px;
    top: 27px;
    left: 27px;
  }

  .venue__street {
    right: 35px;
    bottom: 76px;
    font-size: 2.7rem;
  }

  .venue__number {
    right: 40px;
    font-size: 4.3rem;
  }

  .team__visual {
    min-height: 260px;
  }

  .team__visual::before {
    height: 145px;
  }

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

  .credit-card:nth-child(2) {
    grid-column: auto;
    grid-row: auto;
  }

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

  .flyer__preview {
    width: min(510px, 95%);
    margin-inline: auto;
  }

  .tour__card {
    box-shadow: 7px 8px 0 var(--ink);
  }

  .tour__copy {
    padding: 44px 24px;
  }

  .tour__poster {
    min-height: 370px;
  }

  .tour__stamp {
    top: 30px;
    right: 22px;
    font-size: 1.3rem;
  }

  .tour__city--1 { top: 145px; }
  .tour__city--2 { top: 230px; }
  .tour__line { top: 210px; }

  .faq summary {
    padding: 19px 58px 19px 18px;
  }

  .faq summary::after {
    right: 15px;
  }

  .finale h2 {
    font-size: clamp(3.6rem, 18vw, 6.2rem);
    -webkit-text-stroke-width: 2px;
    filter: drop-shadow(4px 5px 0 var(--ink));
  }

  .site-footer {
    padding-top: 60px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .site-footer__grid > div:first-child {
    grid-column: auto;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-cta {
    position: fixed;
    z-index: 80;
    right: 8px;
    bottom: max(8px, env(safe-area-inset-bottom, 0px));
    left: 8px;
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 9px 9px 9px 15px;
    background: var(--ink);
    border: 2px solid var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 18px rgba(23, 23, 32, 0.32);
  }

  .mobile-cta div {
    display: grid;
    color: var(--white);
    line-height: 1.15;
  }

  .mobile-cta span {
    font-size: 0.69rem;
    opacity: 0.75;
  }

  .mobile-cta strong {
    color: var(--yellow);
    font-size: 1.08rem;
  }

  .mobile-cta a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 9px 17px;
    color: var(--ink);
    background: var(--yellow);
    border: 2px solid var(--white);
    border-radius: 10px;
    font-weight: 950;
    text-decoration: none;
  }
}

@media (max-width: 420px) {
  .hero-title {
    font-size: 15.3vw;
  }

  .hero__visual {
    min-height: 315px;
  }

  .hero__sticker--price {
    width: 128px;
  }

  .hero__sticker--place {
    bottom: 0;
  }

  .date-card {
    min-height: 103px;
  }

  .date-card strong {
    font-size: 2.45rem;
  }

  .ticket-stub__top > strong {
    font-size: 3.5rem;
  }
}


/* El modo instalado debe conservar exactamente las mismas proporciones que el navegador. */
@media (display-mode: standalone), (display-mode: fullscreen) {
  html,
  body {
    min-height: 100%;
    background-color: var(--paper);
  }

  .hero__people,
  .team__visual img,
  .flyer__preview img,
  .flyer-dialog img {
    height: auto !important;
    object-fit: contain;
  }
}

@media (display-mode: standalone) and (max-width: 760px),
       (display-mode: fullscreen) and (max-width: 760px) {
  .board-scene__image {
    height: auto !important;
    object-fit: contain;
  }
}

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

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

  .ticker__track {
    animation: none;
  }

  .reveal.reveal--pending {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .announcement,
  .site-header,
  .mobile-cta,
  .button,
  .ticker,
  .finale,
  .flyer-dialog {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .section {
    padding-block: 35px;
    break-inside: avoid;
  }

  .ticket-stub,
  .venue__grid,
  .tour__card,
  .credit-card,
  .theme-card {
    box-shadow: none;
  }

  .reveal.reveal--pending {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* --------------------------------------------------------------------------
   Panel dinámico: funciones variables, estados y contenido administrable
   -------------------------------------------------------------------------- */

.theme-card--purple { color: var(--white); background: var(--purple); --tilt: 1deg; }
.theme-card--green { background: var(--green); --tilt: -1deg; }
.theme-card--orange { background: var(--orange); --tilt: 0.8deg; }

.date-card:nth-child(6n + 1) { background: var(--yellow); transform: rotate(-0.8deg); }
.date-card:nth-child(6n + 2) { background: var(--cyan); transform: rotate(1deg); }
.date-card:nth-child(6n + 3) { color: var(--white); background: var(--pink); transform: rotate(-1deg); }
.date-card:nth-child(6n + 4) { color: var(--ink); background: var(--green); transform: rotate(1.2deg); }
.date-card:nth-child(6n + 5) {
  grid-column: auto;
  width: auto;
  justify-self: stretch;
  color: var(--ink);
  background: var(--yellow-soft);
  transform: rotate(-0.7deg);
}
.date-card:nth-child(6n) { color: var(--ink); background: var(--orange); transform: rotate(0.7deg); }
.date-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  width: calc(50% - 7px);
  justify-self: center;
}

.date-card__place,
.date-card__note,
.date-card__status {
  display: block;
  max-width: 100%;
  overflow: hidden;
  font-size: 0.67rem;
  font-weight: 900;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}


.date-card__price {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 7px;
  border: 2px solid currentColor;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 950;
  line-height: 1.1;
}

.date-card__place { opacity: 0.82; }
.date-card__note { margin-top: 3px; opacity: 0.75; }
.date-card__status {
  margin-top: 5px;
  padding: 3px 8px;
  color: var(--white);
  background: var(--ink);
  border-radius: 999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.date-card.is-sold-out,
.date-card.is-cancelled {
  cursor: default;
}

.date-card.is-sold-out::after,
.date-card.is-cancelled::after {
  position: absolute;
  inset: 8px;
  border: 3px dashed currentColor;
  border-radius: 12px;
  content: "";
  opacity: 0.38;
  pointer-events: none;
}

.date-card.is-cancelled {
  opacity: 0.58;
  filter: grayscale(0.75);
}

.date-card.is-cancelled strong,
.date-card.is-cancelled .date-card__day,
.date-card.is-cancelled > span {
  text-decoration: line-through;
}

.date-card[aria-disabled="true"]:hover {
  transform: rotate(0deg);
  box-shadow: 5px 6px 0 rgba(23, 23, 32, 0.75);
}

.date-list--empty {
  grid-template-columns: 1fr;
}

.date-list__empty {
  padding: 35px 22px;
  color: var(--ink);
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 18px;
  box-shadow: var(--shadow-small);
  font-weight: 900;
  text-align: center;
}

.credit-card__people {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: 0;
}

.credit-card__person {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: baseline;
}

.credit-card__person:not(:last-child)::after {
  margin-left: 8px;
  content: "·";
  font-weight: 950;
}

.credit-card__person small {
  font-size: 0.72em;
  font-weight: 750;
  opacity: 0.72;
}

.body-no-animations *,
.body-no-animations *::before,
.body-no-animations *::after {
  scroll-behavior: auto !important;
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
}

.admin-preview-badge {
  position: fixed;
  z-index: 9998;
  right: 12px;
  top: 12px;
  padding: 7px 11px;
  color: var(--white);
  background: var(--ink);
  border: 2px solid var(--white);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--pink);
  font-size: 0.72rem;
  font-weight: 900;
  pointer-events: none;
}

@media (max-width: 760px) {
  .date-card:last-child:nth-child(odd) {
    width: 100%;
  }

  .credit-card__people {
    display: grid;
    gap: 8px;
  }

  .credit-card__person:not(:last-child)::after {
    content: "";
  }
}
