:root {
  --page-bg: #f7f7f7;
  --text-strong: #242424;
  --text-body: rgba(66, 66, 66, 0.588);
  --purple: #883da6;
  --purple-button: #9b5bb5;
  --purple-button-hover: #a16eb5;
  --yellow: #ffde59;
  --red: #b01a24;
  --link: #5c83ee;
  --max-width: 70rem;
  --section-pad-x: 3rem;
  --section-pad-y: 3rem;
  --feature-gap: 6rem;
  --card-gap: 3rem;
  --shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.1);
}

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

html {
  font-size: 17px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    sans-serif;
  font-size: 1rem;
  line-height: 1.875;
  color: var(--text-body);
  background: var(--page-bg);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background: center / cover no-repeat url("./assets/bg.svg");
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 4;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease 0.5s, visibility 1s ease 0.5s;
  pointer-events: none;
}

body.is-loading::after {
  opacity: 1;
  visibility: visible;
}

.page-shell {
  position: relative;
  z-index: 1;
  opacity: 1;
  transition: opacity 1.25s ease-in-out;
}

body.is-loading .page-shell {
  opacity: 0;
}

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

a {
  color: inherit;
  transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

p,
h1,
h2 {
  margin: 0;
}

em {
  font-style: italic;
}

h1,
h2,
.section-title {
  font-family: "Inter", sans-serif;
  color: var(--text-strong);
  font-weight: 400;
  line-height: 1.25;
}

h1 {
  font-size: 3rem;
  letter-spacing: -0.125rem;
}

h2,
.section-title {
  font-size: 2.875rem;
  letter-spacing: -0.1rem;
}

p a {
  color: var(--link);
  text-decoration: none;
}

p a:hover {
  color: #10182f;
}

.content-wrap {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding-inline: var(--section-pad-x);
}

.content-wrap--narrow {
  max-width: var(--max-width);
}

.topbar,
.hero-banner,
.feature,
.testimonials,
.cta-band,
.activities-intro,
.activities-grid {
  width: 100%;
}

.topbar {
  background: linear-gradient(49deg, var(--purple) 51%, var(--yellow) 100%);
  z-index: 3;
  box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.08);
}

.topbar__inner {
  display: flex;
  justify-content: center;
  padding-block: 0.5rem;
}

.topbar__logo {
  width: 11.625rem;
}

.hero-banner {
  position: relative;
  min-height: min(52rem, calc(100vh - 4rem));
  overflow: clip;
  background: #bfb09a;
}

.hero-banner__image,
.hero-banner__scrim,
.hero-banner__content {
  position: relative;
  z-index: 1;
}

.hero-banner__image,
.hero-banner__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-banner__image {
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-banner__scrim {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(18, 14, 9, 0.44) 0%, rgba(18, 14, 9, 0.16) 32%, rgba(18, 14, 9, 0.02) 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 22%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.12), transparent 26%);
}

.hero-banner__content {
  display: flex;
  align-items: center;
  min-height: inherit;
  position: relative;
  z-index: 2;
  padding-top: 3rem;
  padding-bottom: 3rem;
  width: 100%;
  max-width: none;
  padding-inline: 4rem;
}

.hero-banner__copy {
  display: grid;
  gap: 1.75rem;
  max-width: 31rem;
  padding: 3rem 0;
}

.hero-banner__copy h1 {
  color: #fff;
  max-width: 29rem;
  font-size: clamp(3.3rem, 4.5vw, 4.55rem);
  line-height: 1.12;
  letter-spacing: -0.16rem;
  text-shadow:
    0 0.18rem 0.5rem rgba(0, 0, 0, 0.22),
    0 0.05rem 0.1rem rgba(0, 0, 0, 0.35);
}

.hero-banner__headline-line {
  display: block;
  white-space: nowrap;
}

.hero-banner__copy p {
  max-width: 31rem;
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.98rem;
  line-height: 1.7;
  text-shadow: 0 0.12rem 0.35rem rgba(0, 0, 0, 0.28);
}

.hero-banner__button {
  justify-self: start;
}

.feature__grid,
.cta-band__grid,
.activities-grid__cards,
.testimonials__grid {
  display: grid;
}

.feature__grid {
  align-items: center;
  gap: var(--feature-gap);
  padding-block: var(--section-pad-y);
}

.feature__grid--55 {
  grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
}

.feature__grid--50 {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.feature__grid--reverse {
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
}

.feature__copy {
  display: grid;
  gap: 1.5rem;
}

.feature__media--book img {
  width: auto;
}

.feature__media--video {
  display: flex;
  justify-content: center;
}

.feature__media--video video {
  width: min(100%, 24rem);
  height: auto;
  max-height: 34rem;
  display: block;
  border-radius: 1.25rem;
  box-shadow:
    0 1.5rem 3rem rgba(26, 21, 15, 0.16),
    0 0 0 1px rgba(136, 61, 166, 0.08);
  background: #ddd3c3;
}

.section-title--center {
  text-align: center;
}

.testimonials {
  padding-top: 1.5rem;
}

.testimonials__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--card-gap);
  padding-block: 1.625rem 3rem;
}

.testimonial {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 1rem;
}

.testimonial__divider {
  width: 2rem;
  height: 2px;
  background: var(--red);
}

.cta-band {
  background:
    linear-gradient(100deg, var(--purple) 66%, var(--yellow) 100%),
    center / cover no-repeat url("./assets/container01.svg");
  color: #fff;
}

.cta-band__grid {
  grid-template-columns: minmax(0, 25fr) minmax(0, 75fr);
  align-items: start;
  gap: var(--card-gap);
  padding-block: 4.25rem;
}

.cta-band__media img {
  width: 13.75rem;
}

.cta-band__copy {
  display: grid;
  align-content: center;
  gap: 1rem;
}

.cta-band__copy h2 {
  color: #fff;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  width: fit-content;
  min-height: 3.375rem;
  padding: 0 1.6875rem;
  border-radius: 0.375rem;
  background: var(--purple-button);
  color: #fff;
  font-family: "Inter", sans-serif;
  font-weight: 300;
  text-decoration: none;
}

.cta-button:hover {
  background: var(--purple-button-hover);
}

.cta-button--ghost {
  background: rgba(136, 61, 166, 0.12);
  color: var(--purple);
  box-shadow: inset 0 0 0 1px rgba(136, 61, 166, 0.2);
}

.cta-button--ghost:hover {
  background: rgba(136, 61, 166, 0.18);
}

.cta-button svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.order-page {
  padding-block: 5.5rem 4rem;
}

.order-shell {
  display: grid;
  grid-template-columns: minmax(16rem, 30rem) minmax(18rem, 24rem);
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
}

.order-media {
  display: grid;
  max-width: 30rem;
  justify-self: end;
}

.order-media__image,
.order-panel {
  border-radius: 1.4rem;
}

.order-media__image {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  box-shadow: 0 1.5rem 3.5rem rgba(51, 36, 58, 0.12);
}

.order-panel {
  display: grid;
  gap: 0.9rem;
  padding: 1.7rem;
  border: 1px solid rgba(136, 61, 166, 0.08);
  background: rgba(255, 255, 255, 0.98);
  box-shadow:
    0 1rem 2.5rem rgba(44, 28, 54, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  align-content: start;
}

.order-eyebrow {
  margin: 0;
  color: var(--purple);
  font-family: "Inter", sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.17rem;
  text-transform: uppercase;
}

.order-panel h1 {
  margin: 0;
  color: var(--text-strong);
  font-family: "Inter", sans-serif;
  font-size: clamp(2rem, 3vw, 2.55rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.09rem;
}

.order-purchase-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.15rem;
}

.order-price {
  margin: 0;
  color: var(--text-strong);
  font-family: "Inter", sans-serif;
  font-size: 2.5rem;
  line-height: 1;
  letter-spacing: -0.09rem;
}

.order-actions {
  padding-top: 0.15rem;
}

.order-stripe-ready,
.order-stripe-pending {
  display: grid;
  gap: 0.55rem;
}

.order-stripe-ready[hidden],
.order-stripe-pending[hidden] {
  display: none !important;
}

.order-primary-link,
.order-disabled-button {
  width: 100%;
  justify-content: center;
  min-height: 3.5rem;
  border-radius: 0.85rem;
  font-weight: 600;
}

.order-disabled-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.6875rem;
  border: 0;
  background: linear-gradient(180deg, rgba(155, 91, 181, 0.16), rgba(155, 91, 181, 0.1));
  color: var(--purple);
  font-family: "Inter", sans-serif;
  font-size: 1rem;
}

.order-status {
  margin: 0;
  color: rgba(66, 66, 66, 0.72);
  font-size: 0.85rem;
  line-height: 1.45;
}

.activities-intro {
  background:
    linear-gradient(var(--red), var(--red)),
    center / cover no-repeat url("./assets/container15.svg");
  color: #fff;
}

.activities-intro .content-wrap {
  padding-block: 2.5rem;
}

.activities-intro .section-title {
  color: #fff;
}

.activities-intro p {
  margin-top: 0.75rem;
}

.activities-intro a {
  color: var(--yellow);
}

.activities-grid {
  background:
    linear-gradient(var(--red), var(--red)),
    center / cover no-repeat url("./assets/container18.svg");
  color: #fff;
}

.activities-grid .content-wrap {
  padding-block: 0.5rem 3rem;
}

.activities-grid__cards {
  grid-template-columns: 40fr 30fr 30fr;
  gap: var(--card-gap);
}

.activity-card {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.activity-card__image-link {
  width: fit-content;
  text-decoration: none;
}

.activity-card img {
  object-fit: cover;
  object-position: center;
}

.activity-card:first-child img {
  width: 17.5rem;
  height: 17.5rem;
}

.activity-card:nth-child(2) img,
.activity-card:nth-child(3) img {
  width: 13.625rem;
  height: 17.5rem;
}

.activity-card__footnote {
  font-size: 0.75rem;
}

@media (max-width: 1280px) {
  html {
    font-size: 13px;
  }
}

@media (max-width: 980px) {
  html {
    font-size: 11px;
  }

  .feature__grid,
  .cta-band__grid,
  .activities-grid__cards,
  .testimonials__grid,
  .order-shell {
    grid-template-columns: 1fr;
  }

  .feature__grid,
  .cta-band__grid {
    gap: 3rem;
  }

  .hero-banner {
    min-height: 46rem;
  }

  .testimonials__grid {
    gap: 2rem;
  }

  .cta-band__copy {
    justify-items: start;
  }

  .activities-grid__cards {
    justify-items: center;
  }

  .order-page {
    padding-block: 4rem 4rem;
  }
}

@media (max-width: 736px) {
  :root {
    --section-pad-x: 1.25rem;
    --section-pad-y: 3rem;
    --feature-gap: 3rem;
    --card-gap: 2rem;
  }

  html {
    font-size: 12px;
  }

  h1 {
    font-size: 2.5rem;
    letter-spacing: -0.109375rem;
  }

  h2,
  .section-title {
    font-size: 2.25rem;
    letter-spacing: -0.0875rem;
  }

  .topbar__logo {
    width: 10rem;
  }

  .hero-banner {
    min-height: 40rem;
  }

  .hero-banner__content {
    align-items: flex-end;
    padding-inline: 1.25rem;
  }

  .hero-banner__copy {
    max-width: 22rem;
    gap: 1.5rem;
    padding: 2.5rem 0;
  }

  .hero-banner__copy h1 {
    max-width: 100%;
    font-size: clamp(3rem, 11vw, 4rem);
    line-height: 1.08;
    letter-spacing: -0.11rem;
  }

  .hero-banner__headline-line {
    white-space: normal;
  }

  .hero-banner__copy p {
    max-width: 20rem;
    font-size: 1rem;
  }

  .activity-card:first-child img {
    width: 17.5rem;
    height: 21.875rem;
  }

  .activity-card:nth-child(2) img,
  .activity-card:nth-child(3) img {
    width: 13.625rem;
    height: 21.875rem;
  }

  .order-panel {
    padding: 1.5rem;
  }

  .order-purchase-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }
}
