* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: #19132d; background: #faf5ff; font: 1rem/1.55 system-ui, sans-serif; }
header, footer { padding: 1rem clamp(1.25rem, 6vw, 6rem); background: white; }
header { padding-block: .5rem; }
header img { display: block; width: min(7.5rem, 35vw); height: auto; }
main { overflow: hidden; }
.hero {
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center;
  padding-inline: max(0px, calc((100% - 100rem) / 2));
  background: linear-gradient(145deg, #efe6ff 18%, #d4b8ff 58%, #ffd8ef);
}
.hero-copy { position: relative; z-index: 1; padding: clamp(1.75rem, 4vw, 3.5rem) clamp(1.25rem, 6vw, 6rem); }
h1, h2 { letter-spacing: -.065em; line-height: .97; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 5.5vw, 6rem); font-weight: 950; text-transform: uppercase; font-style: italic; margin: 0 0 1.3rem; }
h1 span { display: block; color: #592599; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin: 0; }
.tagline { display: inline-block; background: #ab145a; color: #fff; padding: .4rem .8rem; font-weight: 800; font-style: italic; transform: rotate(-2deg); }
.hero-copy > p { max-width: 35rem; }
.hero-price strong { color: #88104a; font-size: 1.7rem; margin-right: .3rem; white-space: nowrap; }
.hero-gallery { width: 100%; }
.hero-slides { position: relative; width: 100%; aspect-ratio: 4 / 3; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .65s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img {
  position: absolute; top: 50%; transform: translateY(-50%);
  display: block; width: 100%; height: auto;
  mask-image: linear-gradient(90deg, transparent, black 17%, black 94%, transparent),
    linear-gradient(180deg, transparent, black 14%, black 85%, transparent);
  mask-composite: intersect;
}
.poster-photo {
  background: url("./poster.png") left 64% / 158% auto no-repeat;
  mask-image: linear-gradient(90deg, transparent, black 14%, black 96%, transparent),
    linear-gradient(180deg, transparent, black 10%, black 85%, transparent);
  mask-composite: intersect;
}
.gallery-controls:not([hidden]) { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; padding: .25rem .75rem .75rem; }
.gallery-controls button { min-height: 2.75rem; padding: .25rem .6rem; border: 1px solid #6229a3; border-radius: .6rem; color: #421879; background: white; cursor: pointer; }
.gallery-controls button[aria-pressed="true"] { color: white; background: #592599; }
.inquiry { max-width: 58rem; margin: 0 auto; padding: clamp(1.25rem, 5vw, 4rem); }
.venue {
  padding: clamp(2rem, 5vw, 4.5rem) clamp(1.25rem, 6vw, 6rem);
  background: radial-gradient(ellipse at 12% 100%, #ffd7e9, transparent 48%), linear-gradient(120deg, #f9ebff, #e9d8ff);
  border-block: .35rem solid #f9d7ec;
}
.venue h2, .venue > p, .venue-photos { max-width: 76rem; margin-inline: auto; }
.venue-photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.35rem; }
.venue-photos figure { position: relative; margin: .5rem 0 0; padding: .55rem; background: #fff; border-radius: 1rem; box-shadow: 0 .5rem 1.3rem #55307a29; }
.venue-photos figure::before {
  content: ""; position: absolute; inset: -.4rem auto auto 1.1rem; width: 3rem; height: .82rem;
  transform: rotate(-8deg); background: repeating-linear-gradient(45deg, #f6a2c8 0 6px, #fbd6e8 6px 12px);
}
.venue-photos figure:nth-child(2)::before { background: repeating-linear-gradient(45deg, #be99ff 0 6px, #e6d4ff 6px 12px); }
.venue-photos img { display: block; width: 100%; height: auto; border-radius: .65rem; }
.venue-photos figcaption { color: #54218c; padding: .55rem .45rem .25rem; font-weight: 800; }
.receipt { scroll-margin: 1.5rem; padding: clamp(1rem, 4vw, 2rem); border-radius: 1rem; border: 1px solid #bd96ef; background: #eee1ff; }
.receipt h3 { margin: 0; color: #54218c; font-size: clamp(1.45rem, 3vw, 2.1rem); line-height: 1.15; }
#receipt-details { font-weight: 800; }
.receipt p:last-child { margin-bottom: 0; }
fieldset { padding: 0; margin: 1.5rem 0; border: 0; }
legend, label { font-weight: 700; }
.style-options, .fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.style-options { margin-top: .6rem; }
.style-options label, .price { padding: .8rem; border-radius: .75rem; background: #eee1ff; }
.workshop-intro { margin: .4rem 0 0; }
.style-options label { display: flex; align-items: flex-start; gap: .5rem; cursor: pointer; }
.style-options label input { margin-top: .32rem; }
.style-options label span span { display: block; margin-top: .15rem; font-size: .92rem; font-weight: 400; }
.style-options label:has(:checked) { outline: 2px solid #6229a3; }
input, select, button { font: inherit; }
input:not([type=checkbox],[type=radio]), select { display: block; width: 100%; padding: .65rem; border: 1px solid #796a90; border-radius: .5rem; background: white; color: inherit; }
input { accent-color: #6229a3; }
.hint, #time-message, #terms { font-size: .95rem; }
#time-message:empty, #result:empty { display: none; }
.price { display: flex; flex-wrap: wrap; gap: 1rem 3rem; margin: 1rem 0; color: #421879; }
output { display: block; font-weight: 850; font-size: 1.45rem; }
a { color: #5c228c; }
.button { display: inline-block; border: 0; border-radius: .55rem; padding: .75rem 1.2rem; color: #25143d; background: #ffb347; font-weight: 800; text-decoration: none; cursor: pointer; }
.button:not(:disabled):hover { background: #ffa62b; }
.button:disabled { opacity: .6; cursor: default; }
:focus-visible { outline: .18rem solid #522792; outline-offset: .18rem; }
footer { display: flex; flex-wrap: wrap; gap: 1.2rem; }
@media (max-width: 900px) {
  .venue-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: .75rem; }
  .hero-copy h1 { margin-bottom: .65rem; }
  .hero-copy > p { margin-block: .65rem; }
  .gallery-controls button { font-size: .875rem; padding-inline: .45rem; }
  header img { width: min(5rem, 35vw); }
  .hero-gallery { width: min(100%, 32rem); justify-self: center; }
}
@media (max-width: 480px) {
  .venue-photos { grid-template-columns: 1fr; }
  .style-options { grid-template-columns: 1fr; }
}
@media (max-width: 420px) { .fields { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide { transition: none; }
}
