@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("/assets/fonts/bricolage-grotesque-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --cc-night: #1A1128;
  --cc-night-2: #22162F;
  --cc-surface: #2A1A3D;
  --cc-surface-2: #35224B;
  --cc-line: rgba(253, 234, 222, .14);
  --cc-text: #FDEADE;
  --cc-white: #FFFFFF;
  --cc-muted: #CDB8D6;
  --cc-faint: #A493AF;
  --cc-gold: #E9BC6E;
  --cc-peach: #F7AE72;
  --cc-orange: #F08A66;
  --cc-rose: #D45A72;
  --cc-magenta: #A63A6E;
  --cc-plum: #5E2257;
  --cc-cream: #FDEADE;
  --cc-berry: #9E2F5E;
  --cc-success: #7FD6A8;
  --cc-grad-sky: linear-gradient(180deg, #F7AE72 0%, #F08A66 20%, #D45A72 42%, #A63A6E 62%, #5E2257 82%, #1A1128 100%);
  --cc-grad-cta: linear-gradient(135deg, #FFC48A 0%, #F7AE72 45%, #F08A66 100%);
  --cc-glow: radial-gradient(60% 50% at 70% 30%, rgba(255, 196, 138, .35), transparent 70%);
  --cc-font-display: "Bricolage Grotesque", "Outfit", system-ui, sans-serif;
  --cc-font-body: "Outfit", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --fs-eyebrow: clamp(13px, .8rem + .1vw, 14px);
  --fs-h1: clamp(38px, 1.6rem + 3.4vw, 64px);
  --fs-h2: clamp(30px, 1.35rem + 2vw, 44px);
  --fs-h3: clamp(20px, 1.2rem + .2vw, 22px);
  --fs-lead: clamp(18px, 1.05rem + .25vw, 20px);
  --fs-body: clamp(16px, .98rem + .1vw, 17px);
  --fs-small: 14px;
  --fs-price: clamp(44px, 2.2rem + 1.6vw, 56px);
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;
  --sh-card: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 18px 40px rgba(8, 4, 16, .35);
  --sh-cta: 0 10px 24px rgba(240, 138, 102, .35);
  --wrap: 1120px;
  --header: 64px;
  --sticky-h: 56px;
}

@media (min-width: 900px) {
  :root { --header: 72px; }
}

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

body {
  margin: 0;
  background: var(--cc-night);
  color: var(--cc-text);
  font: 400 var(--fs-body) / 1.55 var(--cc-font-body);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

h1, h2, h3 {
  font-family: var(--cc-font-display);
  color: var(--cc-white);
  text-wrap: balance;
  margin: 0;
}

p, li, dd, figcaption { text-wrap: pretty; }

h1 { font-size: var(--fs-h1); font-weight: 750; line-height: 1.04; letter-spacing: -.01em; }
h2 { font-size: var(--fs-h2); font-weight: 700; line-height: 1.1; }
h3 { font-size: var(--fs-h3); font-weight: 650; line-height: 1.25; }

p { margin: 0; }

a { color: var(--cc-gold); text-underline-offset: 3px; }
a:hover { color: var(--cc-text); }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  background: var(--cc-gold);
  color: var(--cc-night);
  font-weight: 700;
  text-decoration: none;
}

.skip:focus { top: 12px; }

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

@media (min-width: 600px) {
  .wrap { width: min(var(--wrap), calc(100% - 64px)); }
}

.eyebrow {
  margin: 0 0 10px;
  font: 700 var(--fs-eyebrow) / 1.2 var(--cc-font-body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cc-gold);
}

.lede,
.section-intro {
  max-width: 62ch;
  margin-top: 14px;
  color: var(--cc-muted);
  font-size: var(--fs-lead);
  line-height: 1.5;
}

.micro {
  margin-top: 12px;
  color: var(--cc-faint);
  font-size: var(--fs-small);
  font-weight: 500;
  line-height: 1.45;
  text-wrap: balance;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  color: currentColor;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: rgba(26, 17, 40, .82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.site-header.is-scrolled { border-bottom: 1px solid var(--cc-line); }

#main,
#top {
  scroll-margin-top: calc(var(--header) + 20px);
}

/* Section padding is about one header tall. A 20px margin would stack on
   that padding and land the heading ~80px under the bar. Offset the padding
   so the heading itself sits about 20px below the header. */
main .section {
  scroll-margin-top: calc(20px + var(--header) - var(--sp-8));
}

#book.section {
  scroll-margin-top: calc(12px + var(--header) - var(--sp-8));
}

#book-calendar {
  scroll-margin-top: calc(var(--header) + 12px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logo img {
  display: block;
  height: 28px;
  width: auto;
}

@media (min-width: 900px) {
  .logo img { height: 32px; }
}

.btn-primary,
a.bokunButton.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 0 24px;
  border: 0 !important;
  border-radius: var(--r-md);
  background: var(--cc-grad-cta) !important;
  color: var(--cc-night) !important;
  font: 700 17px / 1 var(--cc-font-body);
  text-decoration: none;
  box-shadow: var(--sh-cta);
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}

.btn-primary:hover,
a.bokunButton.btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  color: var(--cc-night);
  box-shadow: 0 12px 28px rgba(240, 138, 102, .42);
}

/* Header Book stays the same button, without the heavy CTA glow. */
a.btn-header.btn-primary,
a.bokunButton.btn-header.btn-primary {
  box-shadow: 0 2px 8px rgba(26, 17, 40, .22);
}

a.btn-header.btn-primary:hover,
a.bokunButton.btn-header.btn-primary:hover {
  box-shadow: 0 4px 12px rgba(26, 17, 40, .28);
}

.btn-primary:active,
a.bokunButton.btn-primary:active {
  filter: brightness(.97);
  transform: none;
  color: var(--cc-night);
}

.btn-primary:focus-visible,
.btn-secondary:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--cc-gold);
  outline-offset: 3px;
}

.btn-header {
  min-height: 48px;
  padding: 0 16px;
  font-size: 15px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--cc-line);
  background: transparent;
  color: var(--cc-text);
  font: 600 16px / 1 var(--cc-font-body);
  text-decoration: none;
}

.btn-secondary:hover {
  background: var(--cc-surface);
  border-color: var(--cc-gold);
  color: var(--cc-text);
}

@media (max-width: 599px) {
  .cta-row .btn-primary,
  .missing .btn-primary { width: 100%; }
}

.chips {
  display: flex;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0 0 4px;
  overflow-x: auto;
  list-style: none;
  scrollbar-width: none;
}

.chips::-webkit-scrollbar { display: none; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  background: rgba(253, 234, 222, .08);
  border: 1px solid var(--cc-line);
  color: var(--cc-text);
  font: 600 14px / 1 var(--cc-font-body);
  white-space: nowrap;
}

.chip .icon { width: 18px; height: 18px; color: var(--cc-gold); }
.chip-age { color: var(--cc-gold); border-color: var(--cc-gold); }

.hero { position: relative; background: var(--cc-night); }

.hero-media { position: relative; }

.hero-art,
.hero-art img {
  display: block;
  width: 100%;
}

.hero-media {
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  /* Fallback if svh is missing. The clamp is the real cap. */
  height: 140px;
  max-height: 140px;
  height: clamp(112px, calc(100svh - 524px), 200px);
  max-height: clamp(112px, calc(100svh - 524px), 200px);
  /* Crop the portrait so the headline sits under the art, not on it.
     46% 50% keeps Bruce's face, including the chin, in the short band. */
  object-fit: cover;
  object-position: 46% 50%;
}

.hero .chips {
  flex-wrap: wrap;
  overflow: visible;
}

.hero-art-photo { display: none; }

.hero.is-photo .hero-art-designed { display: none; }
.hero.is-photo .hero-art-photo { display: block; }
.hero.is-photo .hero-media img { object-position: center 30%; }

.hero-copy {
  position: relative;
  margin-top: 0;
  padding: 12px 0 16px;
}

@media (max-width: 899px) and (max-height: 720px) {
  .hero-copy { padding-top: 8px; }
  .hero h1 { font-size: 32px; }
  .hero .lede { margin-top: 8px; }
  .hero .chips { margin-top: 8px; }
  .hero .cta-row { margin-top: 12px; }
}

.cta-row { margin-top: 20px; }

@media (min-width: 900px) {
  .hero {
    min-height: min(86vh, 800px);
    display: grid;
    align-items: center;
    overflow: hidden;
  }

  .hero-media {
    position: absolute;
    inset: 0;
  }

  /* The picture must fill the media or the art paints past the hero. */
  .hero-media .hero-art {
    position: absolute;
    inset: 0;
    height: 100%;
  }

  .hero-media img {
    height: 100%;
    max-height: none;
    object-fit: cover;
    /* Anchor the bottom so the phone stays in frame. 46% keeps the copy left of the bezel. */
    object-position: 46% 100%;
  }

  .hero.is-photo .hero-media img { object-position: center 42%; }

  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(36, 14, 32, .78) 0%, rgba(36, 14, 32, .55) 26%, rgba(36, 14, 32, .22) 46%, transparent 64%);
  }

  .hero-copy {
    justify-self: start;
    align-self: center;
    /* Stay left of the phone. The floor keeps the Book button on one line. */
    width: min(560px, max(24rem, calc(47vw - max(2rem, (100% - var(--wrap)) / 2) - 2.75rem)));
    margin: 0 auto 0 max(2rem, calc((100% - var(--wrap)) / 2));
    padding: 40px 0 48px;
    z-index: 2;
  }

  .hero .lede {
    color: #fff8f3;
    text-shadow: 0 1px 2px rgba(26, 17, 40, .45);
  }

  .hero .micro {
    max-width: 34rem;
    color: rgba(255, 248, 243, .92);
    text-shadow: 0 1px 2px rgba(26, 17, 40, .4);
  }

  .hero .chips {
    flex-wrap: wrap;
    overflow: visible;
    max-width: 100%;
  }

  .hero .chip {
    background: rgba(26, 17, 40, .72);
    border-color: rgba(253, 234, 222, .38);
    color: var(--cc-cream);
  }

  .hero .chip-age {
    background: var(--cc-gold);
    border-color: var(--cc-gold);
    color: var(--cc-night);
  }

  .hero .chip-age .icon { color: var(--cc-night); }

  .hero .cta-row .btn-primary {
    width: auto;
    max-width: 100%;
  }
}

@media (min-width: 1280px) {
  /* Sit the phone on the fold. 100% left a dark band under the bezel. */
  .hero-media img { object-position: center 84%; }
  .hero.is-photo .hero-media img { object-position: center 40%; }

  .hero-copy {
    width: min(35rem, calc(50vw - max(2rem, (100% - var(--wrap)) / 2) - 2.5rem));
    padding: 48px 0;
  }
}

.trust {
  background: var(--cc-night-2);
  border-top: 1px solid var(--cc-line);
  border-bottom: 1px solid var(--cc-line);
  padding: 18px 0;
}

.trust-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 600 14px / 1.3 var(--cc-font-body);
}

.trust-item .icon { color: var(--cc-gold); }
.trust-item.is-insured .icon { color: var(--cc-success); }

@media (min-width: 900px) {
  .trust-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 4px;
  }

  .trust-item + .trust-item::before {
    content: "·";
    margin: 0 12px;
    color: var(--cc-faint);
  }
}

@media (min-width: 1200px) {
  .trust-row { flex-wrap: nowrap; }

  .trust-item {
    font-size: 13px;
    white-space: nowrap;
  }

  .trust-item + .trust-item::before { margin: 0 8px; }
}

#what-is-city-clue ul {
  margin: 8px 0 0;
  padding-left: 1.2em;
  max-width: 68ch;
}
#what-is-city-clue li { margin-top: 8px; color: var(--cc-muted); }
#what-is-city-clue h3 { margin: 28px 0 8px; }
#what-is-city-clue ol { margin: 8px 0 0; padding-left: 1.2em; max-width: 68ch; }

.section { padding: var(--sp-8) 0; }
.section-raise { background: var(--cc-night-2); }

@media (min-width: 900px) {
  .section { padding: 72px 0; }
  #book.section { padding-top: 40px; }
  main .section { scroll-margin-top: calc(20px + var(--header) - 72px); }
  #book.section { scroll-margin-top: calc(12px + var(--header) - 40px); }
}

.steps {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px 16px;
  padding-bottom: 28px;
}

.step:last-child { padding-bottom: 0; }

.step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 44px;
  bottom: 4px;
  border-left: 2px dotted var(--cc-rose);
}

.step-index {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--cc-gold);
  background: var(--cc-night-2);
  color: var(--cc-gold);
  font: 700 16px / 1 var(--cc-font-display);
}

.section-raise .step-index { background: var(--cc-night-2); }

.step p { margin-top: 6px; color: var(--cc-muted); max-width: 62ch; }

.how-phones {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
}

.phone-shot {
  width: 220px;
  height: auto;
  display: block;
}

.how-phones figcaption,
.figure-caption,
.life figcaption {
  margin-top: 8px;
  color: var(--cc-faint);
  font-size: var(--fs-small);
  font-weight: 500;
  line-height: 1.45;
  text-align: center;
}

.life {
  margin: 28px 0 0;
  border-radius: var(--r-lg);
  overflow: hidden;
}

.life img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

@media (min-width: 900px) {
  .how-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    grid-template-areas:
      "intro photo"
      "steps steps";
    gap: 28px 40px;
    align-items: start;
  }

  .how-intro { grid-area: intro; }
  .how-layout .life { grid-area: photo; margin-top: 0; }
  .how-layout .steps { grid-area: steps; margin-top: 0; }

  .steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .step {
    display: block;
    padding: 32px;
    background: var(--cc-surface);
    border: 1px solid var(--cc-line);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-card);
  }

  .step::before { display: none; }
  .step-index { margin-bottom: 16px; background: var(--cc-surface); }
  .step h3 { min-height: 2.5em; }
  .how-phones {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
  }
  .how-phones figure { width: 260px; margin: 0; }
  .how-phones figure:last-child { margin-top: 0; }
  .phone-shot { width: 100%; }
}

.cards {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.card {
  background: var(--cc-surface);
  border: 1px solid var(--cc-line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-card);
  padding: 20px;
}

.icon-tile {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: rgba(233, 188, 110, .12);
  color: var(--cc-gold);
}

.icon-tile .icon { width: 22px; height: 22px; }
.card p { margin-top: 6px; color: var(--cc-muted); }

@media (min-width: 600px) {
  .cards { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .cards { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  #play .section-intro { max-width: none; }
  .card h3 { min-height: 2.5em; }
  .card p { min-height: 4.65em; }
}

.phones {
  display: flex;
  gap: 16px;
  margin: 28px 0 0;
  padding: 0 0 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  list-style: none;
}

.phones li {
  flex: 0 0 200px;
  scroll-snap-align: start;
  text-align: center;
}

.phones img {
  width: 200px;
  height: auto;
  display: block;
  margin-inline: auto;
}

.phones figcaption,
.phones p {
  margin-top: 8px;
  color: var(--cc-faint);
  font-size: var(--fs-small);
  font-weight: 500;
}

@media (min-width: 900px) {
  .phones {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: stretch;
    justify-items: center;
    overflow: visible;
    gap: 16px;
    margin-top: 36px;
  }

  .phones li { flex-basis: auto; }
  .phones img { width: min(320px, 100%); }
}

.landmarks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  margin: 28px 0 0;
  padding: 16px 18px;
  list-style: none;
  background: var(--cc-surface);
  border: 1px solid var(--cc-line);
  border-radius: var(--r-lg);
  color: var(--cc-muted);
  font-size: 15px;
  line-height: 1.45;
}

.landmarks { align-items: center; }
.landmarks li { display: inline-flex; align-items: center; }
.landmarks .icon { color: var(--cc-gold); margin-right: 8px; transform: translateY(1px); }

.landmarks li:not(:last-child)::after {
  content: "·";
  margin: 0 10px;
  color: var(--cc-faint);
}

.note-line {
  margin-top: 16px;
  color: var(--cc-faint);
  font-size: var(--fs-small);
  max-width: 62ch;
}

.route-grid { display: grid; gap: 28px; }

.route-card {
  margin: 0;
  padding: 12px;
  background: var(--cc-surface);
  border: 1px solid var(--cc-line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-card);
}

.route-card svg {
  display: block;
  width: 100%;
  height: auto;
}

.facts { margin: 20px 0 0; }
.fact { display: grid; grid-template-columns: 28px 1fr; gap: 4px 12px; padding: 14px 0; border-top: 1px solid var(--cc-line); }
.fact .icon { grid-row: 1 / span 2; color: var(--cc-gold); margin-top: 1px; }
.fact dt {
  grid-column: 2;
  font: 600 13px / 1.2 var(--cc-font-body);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--cc-gold);
}
.fact dd { grid-column: 2; margin: 0; max-width: 62ch; }
.route-copy .btn-secondary { margin-top: 8px; }

@media (min-width: 900px) {
  .route-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    align-items: start;
    gap: 36px;
  }

  .route-card {
    position: sticky;
    top: calc(var(--header) + 20px);
  }

  .route-copy .life { margin-top: 0; }
}

.price {
  position: relative;
  background:
    var(--cc-glow),
    var(--cc-night-2);
}

.points {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 10px;
  max-width: 62ch;
}

.points .icon { color: var(--cc-gold); margin-top: 3px; }

.book-column { min-width: 0; }

.what-you-get {
  margin: 0 0 14px;
  padding: 14px 16px 12px;
  border: 1px solid var(--cc-line);
  border-radius: var(--r-lg);
  background: rgba(253, 234, 222, .06);
}

.what-you-get h3 { font-size: 18px; }

.what-you-get ul {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.what-you-get li {
  position: relative;
  margin: 0;
  padding: 3px 0 3px 16px;
  color: var(--cc-text);
  font-size: 15px;
  line-height: 1.35;
}

.what-you-get li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cc-gold);
}

.book-everyday,
.book-trust,
.book-help,
.book-fallback { flex: none; }

.book-everyday {
  margin: 0 0 10px;
  font: 700 13px / 1.3 var(--cc-font-body);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--cc-gold);
}

.book-panel {
  display: flex;
  flex-direction: column;
  margin-top: 0;
  padding: 8px 16px 12px;
  background:
    radial-gradient(80% 40% at 50% 0%, rgba(233, 188, 110, .28), transparent 70%),
    #f7efe6;
  border: 0;
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(8, 4, 16, .28);
  color: #1a1128;
}

.calendar-shell {
  position: relative;
  flex: 1 1 auto;
  height: 560px;
  min-height: 0;
  border-radius: 16px;
  overflow: hidden;
  overscroll-behavior: contain;
  background:
    radial-gradient(80% 50% at 50% 0%, rgba(233, 188, 110, .35), transparent 70%),
    #f7efe6;
}

.bokunWidget {
  position: relative;
  z-index: 1;
  min-height: 100%;
  border: 0;
  border-radius: 16px;
  background: transparent !important;
  color: #1a1128;
}

.calendar-pending {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 32px 20px;
  text-align: center;
  color: #1a1128;
  font: 650 16px / 1.4 var(--cc-font-body);
  background:
    radial-gradient(80% 50% at 50% 0%, rgba(233, 188, 110, .35), transparent 70%),
    #f7efe6;
}

.calendar-shell.is-ready { overflow: auto; }

.calendar-pending {
  transition: opacity .35s ease;
}

.calendar-shell.is-ready .calendar-pending {
  opacity: 0;
  pointer-events: none;
}

.calendar-shell:not(.is-ready) .bokunWidget,
.calendar-shell:not(.is-ready) .bokunWidget iframe {
  opacity: 0;
}

.booking-spinner {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(26, 17, 40, .18);
  border-top-color: #1a1128;
  animation: booking-spin .7s linear infinite;
}

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

.booking-status {
  position: fixed;
  z-index: 2147483000;
  left: 12px;
  right: 12px;
  top: calc(var(--header) + 10px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  background: var(--cc-cream);
  color: var(--cc-night);
  font: 700 15px / 1.2 var(--cc-font-body);
  box-shadow: 0 12px 32px rgba(8, 4, 16, .35);
  pointer-events: none;
}

/* Bokun's preloaded window never fires a fresh load event, and its click
   handler can block the main thread, so a JS timer alone can leave this
   message up. Fade it out on the compositor by 1.7s. */
.booking-status:not([hidden]) {
  animation: booking-status-cap 1.7s linear forwards !important;
}

@keyframes booking-status-cap {
  0%, 88% { opacity: 1; }
  100% { opacity: 0; }
}

@media (min-width: 600px) {
  .booking-status {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: max-content;
    max-width: calc(100% - 32px);
  }
}

.bokunWidget iframe {
  position: relative;
  display: block;
  width: 100%;
  height: 720px;
  min-height: 0;
  border: 0;
  background: transparent;
}

.calendar-shell.is-ready .bokunWidget iframe {
  background: #fff;
}

.book-trust {
  margin: 14px 0 0;
  color: var(--cc-muted);
  font-size: 14px;
  line-height: 1.45;
}

.book-help,
.book-fallback {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
  color: var(--cc-muted);
}

.book-help .icon,
.book-fallback .icon { color: var(--cc-gold); }

@media (max-width: 899px) {
  .price-grid {
    display: flex;
    flex-direction: column;
  }

  .book-column { order: 1; }
  .what-you-get { order: 2; }
  .price-copy { order: 3; }

  /* Let the iframe set the height so Checkout is in the page, not clipped
     inside a 560px scroller. */
  .calendar-shell,
  .calendar-shell.is-ready {
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .calendar-shell:not(.is-ready) { min-height: 560px; }

  .calendar-pending { display: block; }

  .calendar-pending-card {
    position: sticky;
    top: calc(var(--header) + 80px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding-top: 48px;
  }
}

@media (min-width: 900px) {
  .price-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    grid-template-areas:
      "copy calendar"
      "perks calendar";
    gap: 28px 36px;
    align-items: start;
  }

  .price-copy { grid-area: copy; }
  .what-you-get { grid-area: perks; align-self: start; }
  .book-column { grid-area: calendar; }

  .price-copy {
    display: flex;
    flex-direction: column;
  }

  .price-copy .life {
    display: flex;
    flex: 1 1 auto;
    margin-top: 24px;
    min-height: 240px;
  }

  .price-copy .life img {
    width: 100%;
    height: 100%;
    min-height: 240px;
    aspect-ratio: auto;
    object-fit: cover;
  }

  .book-panel {
    position: sticky;
    top: calc(var(--header) + 20px);
    margin-top: 0;
    padding: 8px 12px 10px;
    height: calc(100vh - var(--header) - 32px);
    max-height: calc(100vh - var(--header) - 32px);
    overflow: hidden;
  }

  .calendar-shell {
    height: auto;
    min-height: 0;
  }
}

.reviews-note {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: var(--sp-8) 0;
  text-align: center;
}

.reviews-note img { width: auto; height: 96px; }
.reviews-note p { max-width: 34em; font-size: var(--fs-lead); text-wrap: balance; }

@media (min-width: 900px) {
  .reviews-note {
    flex-direction: row;
    justify-content: center;
    gap: 28px;
    padding: 48px 24px 56px;
    text-align: left;
  }

  .reviews-note img { height: 180px; }
}

.faq-list { margin: 28px 0 0; }
.faq-item { border-top: 1px solid var(--cc-line); }
.faq-item:last-child { border-bottom: 1px solid var(--cc-line); }
.faq-item h3 { font-size: inherit; font-weight: inherit; }

.faq-item button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 56px;
  padding: 14px 0;
  border: 0;
  background: transparent;
  color: var(--cc-white);
  font: 650 var(--fs-h3) / 1.25 var(--cc-font-display);
  text-align: left;
  cursor: pointer;
}

.faq-item button .icon {
  color: var(--cc-gold);
  transition: transform .2s ease;
}

.faq-item button[aria-expanded="true"] .icon { transform: rotate(180deg); }

.faq-item [role="region"] { padding: 0 0 16px; }
.faq-item p { color: var(--cc-muted); max-width: 62ch; }
.faq-item p + p { margin-top: 10px; }

.final {
  position: relative;
  overflow: hidden;
  padding: var(--sp-9) 0;
  background: var(--cc-plum);
}

.final-bg {
  position: absolute;
  inset: 0;
}

.final-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.final-grid {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 8px;
}

.final-bruce img {
  display: block;
  width: auto;
  height: 260px;
  margin-top: -24px;
  filter: drop-shadow(0 18px 30px rgba(8, 4, 16, .35));
}

.bubble {
  position: relative;
  max-width: 280px;
  margin: 0 0 16px;
  padding: 14px 18px;
  border-radius: 20px;
  background: var(--cc-cream);
  color: var(--cc-berry);
  font: 600 17px / 1.35 var(--cc-font-display);
  text-align: left;
}

.bubble-label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  color: #C4788C;
  font: 700 11px / 1 var(--cc-font-body);
  letter-spacing: .14em;
}

.bubble-label .icon { width: 14px; height: 14px; }

.bubble::after {
  content: "";
  position: absolute;
  left: 36px;
  top: -10px;
  border: 8px solid transparent;
  border-bottom-color: var(--cc-cream);
  border-top: 0;
}

.final .lede { color: var(--cc-cream); }
.final .micro { color: rgba(253, 234, 222, .8); }

@media (min-width: 900px) {
  .final { padding: 56px 0 0; }

  .final-grid {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0;
    text-align: left;
  }

  .final-copy {
    flex: 1 1 26rem;
    max-width: 28rem;
    align-self: center;
    padding-bottom: 48px;
  }

  .final-bruce {
    order: 2;
    flex: none;
    align-self: flex-end;
    margin-left: -28px;
  }

  .final-bruce img {
    height: min(500px, 54vh);
    margin: 0;
  }

  .bubble { max-width: 100%; }

  .bubble::after {
    left: auto;
    right: -10px;
    top: 28px;
    border: 8px solid transparent;
    border-left-color: var(--cc-cream);
    border-right: 0;
  }
}

.site-footer {
  padding: 40px 0 32px;
  border-top: 1px solid var(--cc-line);
  background: var(--cc-night);
  color: var(--cc-muted);
  font-size: 15px;
  line-height: 1.55;
}

.footer-brand {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-bottom: 18px;
}

.footer-brand .logo-footer { height: 28px; width: auto; }
.footer-brand .rift { height: 28px; width: auto; }
.footer-brand .by { font-size: 15px; color: var(--cc-text); }

.site-footer p { max-width: 78ch; }
.site-footer p + p { margin-top: 10px; }

@media (min-width: 900px) {
  .site-footer { padding: 48px 0 40px; }

  .footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px 40px;
  }

  .footer-brand { margin-bottom: 0; }
  .footer-brand .logo-footer { height: 32px; }
  .footer-brand .rift { height: 36px; }
  .footer-nav { margin: 0; }
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 16px 0;
}

.footer-nav a,
.footer-email a { color: var(--cc-muted); }
.footer-nav a:hover,
.footer-email a:hover { color: var(--cc-text); }

.bookbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--sticky-h);
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: rgba(26, 17, 40, .94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--cc-line);
  transform: translateY(110%);
  transition: transform .2s ease;
}

.bookbar.is-visible { transform: none; }

.bookbar-price { margin: 0; display: flex; flex-direction: column; gap: 2px; }
.bookbar-amount { font: 700 16px / 1.2 var(--cc-font-body); color: var(--cc-text); }
.bookbar-note { font-size: 12px; line-height: 1.2; color: var(--cc-muted); }

.bookbar .btn-primary {
  min-height: 48px;
  min-width: 132px;
  padding: 0 18px;
  font-size: 16px;
}

@media (max-width: 768px) {
  body { padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom)); }
}

@media (min-width: 769px) {
  .bookbar { display: none; }
  body { padding-bottom: 0; }
}

iframe[src*="WidgetsCartBubble"],
iframe[src*="CartBubble"],
div:has(> iframe[src*="WidgetsCartBubble"]),
div:has(> iframe[src*="CartBubble"]) {
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  margin: 0 !important;
  border: 0 !important;
  inset: auto !important;
}

.sheet { padding: calc(var(--header) + 28px) 0 72px; }

.sheet-inner {
  width: min(720px, calc(100% - 40px));
  margin-inline: auto;
}

.sheet-inner h1 { margin-bottom: 16px; }
.sheet-inner h2 { font-size: var(--fs-h3); margin: 28px 0 8px; }
.sheet-inner p,
.sheet-inner li { color: var(--cc-muted); max-width: 62ch; }
.sheet-inner p + p { margin-top: 12px; }

.guide h3 { font-size: 18px; margin: 18px 0 6px; }
.guide .crumbs { margin-bottom: 8px; }
.guide .cta-row { margin-top: 20px; }
.guide .compare-hint { display: none; font-size: 14px; }
.guide .compare-wrap {
  overflow-x: auto;
  margin: 16px 0 8px;
  max-width: none;
}
@media (max-width: 759px) {
  .guide .compare-hint { display: block; }
}
.guide table.compare {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.4;
}
.guide table.compare th,
.guide table.compare td {
  border-bottom: 1px solid var(--cc-line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  color: var(--cc-muted);
}
.guide table.compare th {
  color: var(--cc-text);
  font-weight: 600;
}

.missing {
  padding: calc(var(--header) + 56px) 0 96px;
}

.missing h1 { margin: 8px 0 12px; }
.missing p { color: var(--cc-muted); max-width: 40ch; margin-bottom: 20px; }

[hidden] { display: none !important; }

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

  .btn-primary:hover,
  a.bokunButton.btn-primary:hover { transform: none; }

  .faq-item button[aria-expanded="true"] .icon { transform: none; }
}
