/* Colors sampled from @thesoundbathoasis posts. Fonts match their website. */
:root {
  --night: #0b0925;
  --indigo: #211a66;
  --violet: #4a2583;
  --pink: #f0a6df;
  --pink-light: #f7c6ec;
  --ink: #171d3a;
  --text: #e9e6f5;
  --rule: rgba(255, 255, 255, .24);
  --heading: "Poppins", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --body: "Figtree", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font: 400 1.125rem/1.5 var(--body);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
p { margin: 0 0 10px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; border-radius: 0; }

:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }

h1, h2 {
  margin: 0 0 12px;
  color: #fff;
  font-family: var(--heading);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.1;
  text-wrap: balance;
}
h1 { font-size: clamp(2.7rem, 12vw, 4.75rem); }
h2 { font-size: clamp(1.7rem, 7vw, 2.4rem); }

main {
  background:
    radial-gradient(130% 20% at 100% 26%, rgba(74, 37, 131, .6), transparent 70%),
    radial-gradient(130% 24% at 0% 60%, rgba(33, 26, 102, .95), transparent 70%),
    radial-gradient(130% 16% at 100% 90%, rgba(74, 37, 131, .5), transparent 70%),
    url("/images/stars.svg") 0 0 / 640px,
    var(--night);
}

.section { width: min(1120px, 100%); margin: 0 auto; padding: 30px var(--gutter) 0; }

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 32px;
  background: var(--pink);
  color: var(--ink);
  font: 600 1rem/1 var(--heading);
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
}
.button:hover { background: var(--pink-light); }

/* Top */
.top {
  position: absolute;
  z-index: 5;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px var(--gutter);
  color: #fff;
}
.top img { width: 52px; height: 52px; }
.top-text { font: 500 .95rem/1 var(--heading); text-underline-offset: 4px; }

/* Hero */
.hero-photo {
  position: relative;
  height: 280px;
  height: clamp(210px, 33svh, 320px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent);
  mask-image: linear-gradient(to bottom, #000 58%, transparent);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
/* Pulls the green stage lights toward the purple used in their posts. */
.hero-photo::before { content: ""; position: absolute; z-index: 1; inset: 0; background: #6a2bb0; mix-blend-mode: hue; opacity: .6; }
.hero-photo::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(to bottom, rgba(11, 9, 37, .45), rgba(11, 9, 37, 0) 34%);
}
.hero-text { position: relative; margin-top: -10px; padding: 0 var(--gutter); }
.hero-tag { margin: 0 0 10px; }
.subhead { margin: -4px 0 8px; color: var(--pink); font: 600 1.15rem/1.25 var(--heading); letter-spacing: -.01em; }
.lede { margin-bottom: 0; font-size: 1.2rem; line-height: 1.4; color: #fff; }

.offer { display: flex; align-items: center; gap: 14px; margin: 16px 0 16px; }
.price { color: var(--pink); font: 600 3.4rem/1 var(--heading); letter-spacing: -.03em; }
.offer-detail { margin: 0; color: #fff; font: 500 .84rem/1.5 var(--heading); letter-spacing: .08em; text-transform: uppercase; }
.offer-detail span { display: block; }

.rating { margin: 12px 0 0; text-align: center; font-size: 1rem; }
.rating a { text-underline-offset: 3px; }

/* What it is */
.intro-photo { width: calc(100% + var(--gutter) * 2); max-width: none; aspect-ratio: 2 / 1; object-fit: cover; margin: 14px calc(var(--gutter) * -1) 0; }

/* Included + first visit */
.intro-included { margin-top: 26px; }
.included li { padding: 6px 0; border-top: 1px solid var(--rule); line-height: 1.3; }
.included li:last-child { border-bottom: 1px solid var(--rule); }

.steps { counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 40px 1fr; padding: 5px 0; line-height: 1.35; }
.steps li::before { content: counter(step, decimal-leading-zero); color: var(--pink); font: 600 1rem/1.5 var(--heading); }

/* Reviews */
.quote { position: relative; margin-top: 26px; padding: 46px var(--gutter) 30px; }
.quote img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 76%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 76%, transparent);
}
.quote::after { content: ""; position: absolute; inset: 0; background: rgba(11, 9, 37, .62); }
.quote-text { position: relative; z-index: 1; }
blockquote { margin: 0 0 20px; }
blockquote:last-child { margin-bottom: 0; }
blockquote p { margin-bottom: 6px; color: #fff; font: 500 1.3rem/1.3 var(--heading); letter-spacing: -.01em; }
cite { color: var(--pink); font-style: normal; font-weight: 600; }

/* Booking */
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 16px; border: 1px solid var(--pink); }
.tabs button { padding: 11px 2px 10px; border: 0; border-left: 1px solid var(--pink); background: transparent; color: #fff; }
.tabs button:first-child { border-left: 0; }
.tabs b { display: block; font: 600 .92rem/1.2 var(--heading); }
.tabs span { display: block; margin-top: 3px; font-size: .92rem; line-height: 1.2; }
.tabs button[aria-pressed="true"] { background: var(--pink); color: var(--ink); }

.people { display: flex; align-items: center; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--rule); }
.stepper { display: flex; align-items: center; }
.stepper button { width: 46px; height: 46px; border: 1px solid var(--rule); background: transparent; font-size: 1.4rem; line-height: 1; }
.stepper button:hover:not(:disabled) { border-color: var(--pink); }
.stepper button:disabled { opacity: .4; cursor: default; }
.stepper output { min-width: 42px; text-align: center; color: #fff; font: 600 1.15rem/1 var(--heading); }

.slots { padding-top: 8px; }
.slots-status { margin: 16px 0; }

.day { display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: 8px; padding: 4px 0; }
.day-label { margin: 0; color: #fff; font: 500 1rem/1.2 var(--heading); }
.times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.time {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 1px solid var(--pink);
  color: #fff;
  font: 500 .94rem/1.1 var(--heading);
  text-decoration: none;
  transition: background .15s, color .15s;
}
.time:hover { background: var(--pink); color: var(--ink); }
.time small { margin-top: 2px; font: 500 .75rem/1 var(--body); color: var(--pink); }
.time:hover small { color: var(--ink); }

.event { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 12px; padding: 11px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.event-name { color: #fff; font: 600 1.12rem/1.25 var(--heading); text-wrap: balance; }
.event-when { grid-column: 1; font-size: 1rem; }
.event-book { grid-column: 2; grid-row: 1 / span 2; padding: 14px 18px; background: var(--pink); color: var(--ink); font: 600 .85rem/1 var(--heading); letter-spacing: .08em; text-transform: uppercase; }
.event:hover .event-book { background: var(--pink-light); }

.outline-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  margin-top: 10px;
  border: 1px solid var(--pink);
  background: transparent;
  color: #fff;
  font: 600 .92rem/1 var(--heading);
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.outline-button:hover { background: var(--pink); color: var(--ink); }

.book-note { margin: 12px 0 0; font-size: 1rem; }

/* Offers */
.offers-grid { display: grid; gap: 14px; margin-top: 4px; }

.feature { display: block; padding: 18px; border: 1px solid var(--pink); background: linear-gradient(160deg, var(--indigo), var(--violet)); color: #fff; text-decoration: none; }
.tag { display: inline-block; padding: 6px 9px; background: var(--pink); color: var(--ink); font: 600 .76rem/1 var(--heading); letter-spacing: .08em; text-transform: uppercase; }
.feature-name { display: block; margin-top: 12px; font: 600 1.5rem/1.15 var(--heading); letter-spacing: -.02em; }
.feature-text { display: block; margin-top: 6px; line-height: 1.35; color: var(--text); }
.feature-buy { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.feature-buy b { color: var(--pink); font: 600 2.6rem/1 var(--heading); letter-spacing: -.03em; }
.feature-buy .button { flex: 1; min-height: 50px; padding: 0 12px; font-size: .92rem; }
.feature:hover .button { background: var(--pink-light); }

.deal { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 14px; padding: 11px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.deal-name { color: #fff; font: 600 1.08rem/1.25 var(--heading); }
.deal-text { grid-column: 1; font-size: 1rem; line-height: 1.3; }
.deal-price { grid-column: 2; grid-row: 1 / span 2; display: flex; align-items: center; justify-content: center; min-width: 76px; min-height: 48px; padding: 0 10px; background: var(--pink); color: var(--ink); font: 600 1rem/1 var(--heading); }
.deal:hover .deal-price { background: var(--pink-light); }
.button, .event-book, .deal-price { transition: background .15s; }

.embed { display: block; width: calc(100% + var(--gutter) * 2); height: 720px; margin: 0 calc(var(--gutter) * -1); border: 0; }
.is-embed .people { display: none; }

/* Your first sound bath + questions */
.closing { display: grid; gap: 28px; padding-bottom: 30px; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { position: relative; padding: 13px 34px 13px 0; color: #fff; font-weight: 500; line-height: 1.3; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: 8px; color: var(--pink); font: 500 1.5rem/1.4 var(--heading); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-bottom: 12px; }

/* Footer, in the same sign-off as their posts */
.footer { padding: 22px var(--gutter) 70px; border-top: 1px solid var(--rule); font-size: 1rem; }
.footer p { margin: 0 0 6px; }
.footer a { text-underline-offset: 3px; }
.signature { display: flex; justify-content: space-between; color: #fff; font: 500 .8rem/1.4 var(--heading); letter-spacing: .14em; text-transform: uppercase; }
.signature span:last-child { color: var(--pink); }

/* Phone booking bar */
.sticky {
  position: fixed;
  z-index: 10;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(56px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--pink);
  color: var(--ink);
  font: 600 1rem/1 var(--heading);
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  transform: translateY(110%);
  transition: transform .2s ease;
}
.sticky.show { transform: none; }

/* The smallest phones, such as the first iPhone SE. */
@media (max-width: 340px) {
  h1 { font-size: 2.3rem; }
  .hero-photo { height: 150px; }
  .subhead { font-size: 1rem; }
  .lede { font-size: 1.08rem; }
  .offer { margin: 12px 0; }
  .price { font-size: 2.8rem; }
  .tabs b { font-size: .8rem; }
  .tabs span { font-size: .82rem; }
  .day { grid-template-columns: 70px 1fr; }
  .day-label { font-size: .85rem; }
  .time { font-size: .82rem; }
  .outline-button { font-size: .82rem; letter-spacing: .04em; }
  .tag { letter-spacing: .02em; }
  .signature { letter-spacing: .06em; }
}

@media (min-width: 900px) {
  :root { --gutter: 40px; }

  body { font-size: 1.15rem; }

  .top { padding: 18px max(var(--gutter), calc((100vw - 1120px) / 2 + var(--gutter))); }

  .hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); min-height: min(100vh, 800px); align-items: center; }
  .hero-text { grid-column: 1; grid-row: 1; margin: 0; padding: 100px 40px 56px max(var(--gutter), calc((100vw - 1120px) / 2 + var(--gutter))); }
  .hero-photo {
    grid-column: 2;
    grid-row: 1;
    align-self: stretch;
    height: auto;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 34%), linear-gradient(to bottom, #000 74%, transparent);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to right, transparent, #000 34%), linear-gradient(to bottom, #000 74%, transparent);
    mask-composite: intersect;
  }
  .hero-photo img { position: absolute; inset: 0; object-position: 50% 30%; }
  .hero-photo::after { background: linear-gradient(to bottom, rgba(11, 9, 37, .45), rgba(11, 9, 37, 0) 20%); }
  .hero .button { display: inline-flex; min-width: 300px; }
  .subhead { font-size: 1.5rem; }
  .rating { text-align: left; }

  .section { padding-top: 72px; }

  .intro { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "text photo" "included photo"; gap: 44px 64px; }
  .intro-text { grid-area: text; }
  .intro-included { grid-area: included; margin-top: 0; }
  .intro-photo { grid-area: photo; align-self: stretch; width: 100%; height: 100%; aspect-ratio: auto; margin: 0; object-position: 40% 50%; }

  .quote { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; width: min(1120px, 100%); margin: 72px auto 0; padding: 0 var(--gutter); }
  .quote img { position: static; height: auto; aspect-ratio: 3 / 2; -webkit-mask-image: none; mask-image: none; }
  .quote::after { display: none; }

  .book { display: grid; grid-template-columns: 1fr 1.5fr; grid-template-rows: auto 1fr; gap: 0 64px; }
  .book .picker { grid-column: 2; grid-row: 1 / span 2; }
  .book-note { grid-column: 1; grid-row: 2; margin-top: 0; }
  .tabs { margin-top: 0; }
  .embed { width: 100%; margin: 0; }

  .offers-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; margin-top: 8px; }
  .feature { padding: 28px; }
  .feature-name { font-size: 1.9rem; }

  .closing { grid-template-columns: 1fr 1fr; gap: 64px; padding-bottom: 72px; }

  .footer { width: min(1120px, 100%); margin: 0 auto; padding-bottom: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
