@font-face {
  font-family: "Ten Sans WYLD";
  src: url("assets/fonts/TENSANS-BOLD-2.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Alimama WYLD";
  src: url("assets/fonts/AlimamaFangYuanTiVF-Thin.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #24211f;
  --muted: #625669;
  --paper: #fff9fb;
  --cream: #fffaf0;
  --white: #ffffff;
  --purple: #8158d5;
  --red: #f04648;
  --pink: #fa468c;
  --soft-pink: #ff95bf;
  --yellow: #f7d20b;
  --orange: #f9891c;
  --teal: #2cafb3;
  --blue: #05a2e1;
  --lavender: #a878ff;
  --coral: var(--red);
  --green: var(--teal);
  --cyan: var(--blue);
  --line: rgba(129, 88, 213, 0.22);
  --shadow: 0 22px 60px rgba(129, 88, 213, 0.2);
  --display: "Ten Sans WYLD", "Alimama WYLD", Arial, sans-serif;
  --body: "Alimama WYLD", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  line-height: 1.5;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  display: grid;
  width: min(1120px, calc(100% - 32px));
  min-height: 92px;
  transform: translateX(-50%);
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 149, 191, 0.5);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 40px rgba(129, 88, 213, 0.14);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  min-width: min(190px, 32vw);
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 800;
}

.asset-image {
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.brand-logo {
  display: none;
  width: clamp(150px, 16vw, 210px);
  aspect-ratio: 845 / 485;
  height: auto;
}

.brand-logo.is-loaded {
  display: block;
}

.brand-logo.is-loaded + .brand-fallback {
  display: none;
}

.brand-fallback {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: var(--pink);
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 900;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 700;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 4px;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.nav-links a::before {
  position: absolute;
  left: 50%;
  bottom: calc(100% - 4px);
  width: 58px;
  aspect-ratio: 520 / 505;
  background: url("assets/images/miumiu-nav-hover.png") center / contain no-repeat;
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px) scale(0.62) rotate(-8deg);
  transform-origin: 50% 100%;
  transition:
    opacity 180ms ease,
    transform 220ms cubic-bezier(.2, .9, .25, 1.35);
}

.nav-links a::after {
  position: absolute;
  right: 2px;
  bottom: 4px;
  left: 2px;
  height: 4px;
  border-radius: 999px;
  background: var(--soft-pink);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--purple);
  transform: translateY(-2px);
}

.nav-links a:hover::before,
.nav-links a:focus-visible::before {
  animation: miu-peek 620ms ease both;
  opacity: 1;
  transform: translate(-50%, -2px) scale(1) rotate(0deg);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
}

.header-cta {
  padding: 0 20px;
  background: var(--purple);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(129, 88, 213, 0.24);
}

.button {
  padding: 0 24px;
}

.button-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(240, 70, 72, 0.28);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: min(100vh, 56.25vw);
  background:
    linear-gradient(135deg, rgba(255, 149, 191, 0.36), rgba(168, 120, 255, 0.22)),
    var(--cream);
  overflow: hidden;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255, 250, 240, 0.06), rgba(255, 149, 191, 0.18));
}

.hero-content {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(175px, 22vh, 230px) 0 92px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  line-height: 0.95;
  letter-spacing: 0;
}

h1 {
  max-width: 680px;
  font-size: clamp(4rem, 12vw, 9.4rem);
}

.hero-copy {
  max-width: 540px;
  margin: 24px 0 0;
  color: var(--ink);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

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

.intro-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--purple);
}

.stat {
  min-height: 150px;
  padding: 30px;
  background: var(--cream);
}

.stat strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 0.9;
}

.stat span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 800;
}

.section,
.character-section,
.schedule-section,
.contact-section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(70px, 10vw, 120px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.58fr 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading h2,
.schedule-copy h2,
.contact-section h2 {
  max-width: 760px;
  font-size: clamp(2.4rem, 6vw, 5.6rem);
}

.character-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: center;
}

.character-copy h2 {
  max-width: 760px;
  font-size: clamp(2.4rem, 6vw, 5.6rem);
}

.character-copy p {
  max-width: 600px;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 800;
}

.character-art {
  position: relative;
  display: grid;
  min-height: 460px;
  place-items: center;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(168, 120, 255, 0.2), rgba(5, 162, 225, 0.16)),
    var(--cream);
  overflow: hidden;
}

.character-image {
  position: relative;
  z-index: 1;
  display: none;
  width: min(100%, 680px);
  aspect-ratio: 1403 / 1125;
  filter: drop-shadow(0 24px 34px rgba(129, 88, 213, 0.2));
}

.character-image.is-loaded {
  display: block;
}

.character-image.is-loaded + .miu-fallback {
  display: none;
}

.miu-fallback {
  position: relative;
  z-index: 1;
  color: var(--purple);
  font-family: var(--display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 900;
}

@keyframes miu-peek {
  0% {
    opacity: 0;
    transform: translate(-50%, 14px) scale(0.58) rotate(-10deg);
  }
  55% {
    opacity: 1;
    transform: translate(-50%, -7px) scale(1.08) rotate(4deg);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -2px) scale(1) rotate(0deg);
  }
}

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

.experience-card {
  min-height: 310px;
  padding: 24px;
  border-radius: 8px;
  color: var(--ink);
}

.experience-card h3 {
  margin-top: 34px;
  font-size: 2rem;
}

.experience-card p {
  margin: 16px 0 0;
  font-weight: 700;
}

.card-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 900;
}

.symbol-super {
  background: var(--orange);
  color: var(--purple);
}

.symbol-u {
  background: var(--blue);
  color: var(--white);
  border-radius: 0 0 28px 28px;
}

.symbol-star {
  background: var(--teal);
  color: var(--yellow);
}

.symbol-w {
  border-radius: 50%;
  background: var(--purple);
  color: var(--soft-pink);
}

.coral {
  background: var(--soft-pink);
}

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

.green {
  background: var(--teal);
  color: var(--white);
}

.cyan {
  background: var(--blue);
  color: var(--white);
}

.schedule-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.schedule-copy {
  position: sticky;
  top: 120px;
}

.schedule-copy p {
  max-width: 520px;
  color: var(--muted);
  font-size: 1.06rem;
  font-weight: 700;
}

.hours {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hours h3 {
  font-size: 1.7rem;
}

.hours dl {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
}

.hours dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-weight: 800;
}

.hours dt,
.hours dd {
  margin: 0;
}

.booking-panel {
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.calendar-head {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 10px;
}

.calendar-head h3 {
  text-align: center;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.icon-button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
  color: var(--ink);
  font-size: 1.9rem;
  line-height: 1;
}

.weekday-row,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.weekday-row {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.calendar-grid {
  margin-top: 8px;
}

.calendar-day {
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  cursor: pointer;
  font-weight: 900;
}

.calendar-day:not(:disabled):hover,
.calendar-day.selected {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}

.calendar-day:disabled {
  cursor: not-allowed;
  opacity: 0.25;
}

.calendar-day.empty {
  visibility: hidden;
}

.visit-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.visit-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 900;
}

.visit-form input,
.visit-form select,
.visit-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
}

.visit-form input,
.visit-form select {
  height: 48px;
  padding: 0 14px;
}

.visit-form textarea {
  resize: vertical;
  padding: 12px 14px;
}

.full {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--green);
  font-weight: 900;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-grid a,
.contact-grid address {
  min-height: 138px;
  padding: 22px;
  border-radius: 8px;
  background: var(--cream);
  box-shadow: 0 12px 32px rgba(129, 88, 213, 0.12);
  font-style: normal;
  font-weight: 900;
}

.contact-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--red);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.site-footer {
  display: flex;
  min-height: 132px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px max(16px, calc((100% - 1120px) / 2));
  background: var(--purple);
  color: var(--white);
  font-weight: 800;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
}

.footer-logo {
  display: none;
  width: clamp(260px, 34vw, 460px);
  aspect-ratio: 1363 / 316;
  height: auto;
}

.footer-logo.is-loaded {
  display: block;
}

.footer-logo.is-loaded + .footer-fallback {
  display: none;
}

.footer-fallback {
  color: var(--white);
  font-size: 1.5rem;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 68vw;
  }

  .hero-scrim {
    background: linear-gradient(180deg, rgba(255, 250, 240, 0.04), rgba(255, 149, 191, 0.18));
  }

  .intro-band,
  .experience-grid,
  .section-heading,
  .character-section,
  .schedule-section,
  .contact-section {
    grid-template-columns: 1fr 1fr;
  }

  .section-heading,
  .character-section,
  .schedule-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

  .schedule-copy {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 72px;
    padding: 8px;
  }

  .brand {
    min-width: 116px;
  }

  .brand-logo {
    width: 116px;
  }

  .brand-fallback {
    font-size: 1rem;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: 78vw;
  }

  .hero-image {
    object-position: center top;
  }

  .hero-content {
    padding-top: 148px;
  }

  h1 {
    font-size: clamp(3.7rem, 20vw, 5.2rem);
  }

  .button {
    width: 100%;
  }

  .intro-band,
  .experience-grid,
  .contact-grid,
  .visit-form {
    grid-template-columns: 1fr;
  }

  .stat {
    min-height: 120px;
  }

  .experience-card {
    min-height: 240px;
  }

  .character-art {
    min-height: 300px;
  }

  .booking-panel {
    margin-inline: -4px;
  }

  .weekday-row,
  .calendar-grid {
    gap: 5px;
  }

  .calendar-day {
    min-height: 44px;
    border-radius: 7px;
  }

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