:root {
  color-scheme: light;
  --ink: #173d42;
  --ink-soft: #3f5d59;
  --forest: #123f3a;
  --deep-forest: #092c31;
  --leaf: #6f8e3c;
  --gold: #d9a632;
  --gold-light: #f4dc8b;
  --parchment: #fff8df;
  --cream: #fbf8eb;
  --purple: #653181;
  --purple-dark: #411b62;
  --purple-light: #8e50a5;
  --shadow: 0 22px 60px rgb(12 45 41 / 16%);
  font-family: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 12%, rgb(255 242 169 / 34%), transparent 21rem),
    linear-gradient(180deg, #f6f4dd 0%, #edf5df 42%, #eef6ec 100%);
  font-size: clamp(1rem, 0.95rem + 0.18vw, 1.16rem);
  line-height: 1.72;
}

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

h1,
h2,
p,
figure,
blockquote {
  margin-top: 0;
}

h1,
h2 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.06;
  text-wrap: balance;
}

h1 {
  margin-bottom: 0.65rem;
  font-size: clamp(4rem, 9vw, 8.75rem);
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 1.4rem;
  font-size: clamp(2.5rem, 5vw, 5.1rem);
  letter-spacing: -0.035em;
}

.page-width {
  width: min(1180px, calc(100% - 3rem));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.85rem;
  color: #fff;
  background: var(--purple-dark);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.page-magic {
  position: fixed;
  z-index: 20;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.firefly {
  position: absolute;
  width: 4px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffe88d;
  box-shadow: 0 0 12px 3px rgb(255 218 79 / 48%);
  opacity: 0;
  animation: firefly-drift 15s ease-in-out infinite;
}

.firefly--1 { left: 8%; top: 28%; animation-delay: -3s; }
.firefly--2 { left: 28%; top: 68%; animation-delay: -10s; animation-duration: 19s; }
.firefly--3 { left: 57%; top: 18%; animation-delay: -7s; animation-duration: 17s; }
.firefly--4 { left: 78%; top: 58%; animation-delay: -13s; animation-duration: 21s; }
.firefly--5 { left: 92%; top: 35%; animation-delay: -5s; animation-duration: 18s; }

.eyebrow {
  margin-bottom: 0.8rem;
  color: #7e6425;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  display: grid;
  min-height: 94svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 36%, rgb(255 233 144 / 56%), transparent 22rem),
    radial-gradient(circle at 15% 4%, rgb(180 221 189 / 55%), transparent 34rem),
    linear-gradient(140deg, #eff6de 0%, #fff8d9 52%, #d7edcf 100%);
  place-items: center;
}

.hero::before,
.hero::after {
  position: absolute;
  bottom: -12rem;
  width: 58rem;
  height: 30rem;
  border-radius: 50%;
  background: rgb(54 105 65 / 10%);
  content: "";
  filter: blur(1px);
}

.hero::before {
  left: -18rem;
  transform: rotate(12deg);
}

.hero::after {
  right: -16rem;
  transform: rotate(-8deg);
}

.hero__glow {
  position: absolute;
  top: 14%;
  right: 15%;
  width: 24rem;
  height: 24rem;
  border: 1px solid rgb(212 159 41 / 22%);
  border-radius: 50%;
  box-shadow:
    0 0 0 3.5rem rgb(248 215 113 / 7%),
    0 0 0 7.5rem rgb(248 215 113 / 4%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  gap: clamp(3rem, 7vw, 7.5rem);
  grid-template-columns: minmax(0, 1.35fr) minmax(17rem, 0.65fr);
  padding-block: clamp(5rem, 10vh, 8rem);
}

.hero__primary-promise h2 {
  max-width: 17ch;
  margin-bottom: 2.2rem;
  color: var(--purple);
  font-size: clamp(1.65rem, 3vw, 3rem);
  font-style: italic;
  font-weight: 700;
  letter-spacing: normal;
  line-height: 1.18;
}

.hero__primary-promise {
  position: relative;
}

.hero__promise-line,
.hero__promise-coda {
  display: block;
}

.hero__promise-coda {
  width: fit-content;
  margin-top: 0.65em;
  margin-left: clamp(0.25rem, 2vw, 1.5rem);
  font-size: 0.68em;
  font-weight: 700;
  line-height: 1.18;
}

.hero__practice-promise {
  max-width: 47rem;
  margin-top: clamp(3.3rem, 5.8vw, 4.95rem);
}

.hero__practice-promise h2 {
  max-width: 17ch;
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(1.65rem, 3vw, 3rem);
  font-style: italic;
  font-weight: 700;
  letter-spacing: normal;
  line-height: 1.18;
}

.promise-list {
  display: grid;
  max-width: 46rem;
  margin: 0;
  padding: 0;
  gap: 0.85rem;
  list-style: none;
}

.promise-list li {
  position: relative;
  padding-left: 2rem;
  color: #244c4b;
  font-size: clamp(1.08rem, 1.8vw, 1.42rem);
  font-weight: 700;
  line-height: 1.35;
}

.promise-list li::before {
  position: absolute;
  top: 0.02em;
  left: 0;
  color: var(--gold);
  content: "✦";
}

.promise-emphasis {
  color: var(--purple);
  font-style: italic;
  font-weight: 800;
}

.promise-emphasis--and {
  color: #8b671c;
}

.hero__invitation {
  position: relative;
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 1px solid rgb(175 123 32 / 30%);
  border-radius: 48% 52% 46% 54% / 42% 44% 56% 58%;
  background: rgb(255 251 229 / 72%);
  box-shadow: var(--shadow), inset 0 0 45px rgb(255 230 145 / 30%);
  text-align: center;
  backdrop-filter: blur(8px);
}

.hero__invitation p {
  margin-bottom: 2rem;
  color: var(--ink-soft);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-style: italic;
}

.hero__note {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--gold);
  font-size: 3rem;
  line-height: 1;
}

.cta-button {
  display: inline-flex;
  min-width: min(100%, 17rem);
  min-height: 4.2rem;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border: 2px solid #b67ac7;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, var(--purple-light), var(--purple-dark));
  box-shadow:
    0 12px 26px rgb(65 27 98 / 30%),
    inset 0 1px 0 rgb(255 255 255 / 38%);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.cta-button:hover {
  box-shadow:
    0 16px 34px rgb(65 27 98 / 38%),
    0 0 24px rgb(196 139 218 / 30%),
    inset 0 1px 0 rgb(255 255 255 / 45%);
  transform: translateY(-2px);
}

.cta-button:focus-visible,
.return-link:focus-visible {
  outline: 3px solid #e8bd4b;
  outline-offset: 4px;
}

.purchase-reassurance {
  display: grid;
  max-width: 21rem;
  margin: 1.5rem auto 0;
  padding: 0.8rem 0.9rem 0;
  border-top: 1px solid rgb(177 128 39 / 27%);
  color: #526a63;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 600;
  gap: 0.26rem;
  justify-items: center;
  letter-spacing: 0.01em;
  line-height: 1.4;
  text-align: center;
}

.purchase-reassurance__price {
  color: #4c3a5e;
  font-size: 0.82rem;
  font-weight: 800;
}

.story-section {
  position: relative;
  padding-block: clamp(6rem, 12vw, 10rem);
}

.section-intro {
  max-width: 52rem;
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

.section-intro p:last-child,
.own-world__copy p {
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
}

.section-intro--centred {
  margin-inline: auto;
  text-align: center;
}

.first-steps {
  padding-bottom: clamp(8rem, 15vw, 13rem);
  background:
    radial-gradient(circle at 50% 6%, rgb(244 214 111 / 16%), transparent 28rem),
    var(--cream);
}

.paired-scenes {
  display: grid;
  align-items: start;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3.25rem);
  grid-template-columns: repeat(2, minmax(0, 31rem));
}

.storybook-frame {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 4 / 5;
  align-content: center;
  margin: 0;
  padding: clamp(3.2rem, 5vw, 4.5rem) clamp(0.85rem, 1.5vw, 1.15rem) clamp(1.1rem, 2vw, 1.5rem);
  border: 1px solid rgb(136 94 28 / 22%);
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 50% 18%, rgb(255 231 148 / 18%), transparent 13rem),
    linear-gradient(145deg, #fffdf4, #f6ead0);
  box-shadow: var(--shadow);
}

.storybook-frame::before {
  position: absolute;
  top: 1.2rem;
  left: 50%;
  color: rgb(180 133 42 / 58%);
  content: "✦  ·  ♪  ·  ✦";
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  transform: translateX(-50%);
  white-space: nowrap;
}

.storybook-frame--left {
  transform: rotate(-1.1deg);
}

.storybook-frame--right {
  margin-top: 3.5rem;
  transform: rotate(1.1deg);
}

.storybook-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: 1rem;
  object-fit: contain;
}

.storybook-frame figcaption {
  padding: 0.8rem 0.4rem 0.2rem;
  color: #765e2b;
  font-style: italic;
  text-align: center;
}

.own-world {
  overflow: hidden;
  border-top: 1px solid rgb(92 123 68 / 18%);
  background:
    radial-gradient(circle at 82% 42%, rgb(219 184 87 / 22%), transparent 27rem),
    linear-gradient(145deg, #eaf4df, #d7ebd5);
}

.own-world__layout {
  display: grid;
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.own-world__gallery {
  position: relative;
  min-height: clamp(28rem, 52vw, 45rem);
}

.world-frame {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 0.55rem solid #fffaf0;
  border-radius: 1.25rem;
  box-shadow: 0 25px 55px rgb(14 60 50 / 24%);
}

.world-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.world-frame--shop {
  top: 0;
  right: 0;
  width: 88%;
  aspect-ratio: 4 / 3;
  transform: rotate(1.8deg);
}

.world-frame--result {
  bottom: 0;
  left: 0;
  width: 61%;
  aspect-ratio: 4 / 3;
  transform: rotate(-2.5deg);
}

.belief-section {
  position: relative;
  overflow: hidden;
  padding: clamp(7rem, 15vw, 12rem) 1.5rem;
  color: #fff9dc;
  background:
    radial-gradient(circle at 50% 50%, rgb(113 89 163 / 42%), transparent 38rem),
    linear-gradient(135deg, #082f36, #173e42 47%, #241e46);
  text-align: center;
}

.belief-section::before {
  position: absolute;
  inset: 1.25rem;
  border: 1px solid rgb(237 200 98 / 28%);
  border-radius: 2rem;
  content: "";
}

.belief-section__stars {
  position: relative;
  margin-bottom: 2rem;
  color: var(--gold-light);
  font-size: 1.3rem;
  letter-spacing: 0.3em;
}

.belief-section blockquote {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
}

.belief-section p {
  margin-bottom: 0;
  color: inherit;
  font-size: clamp(2.15rem, 5.7vw, 5.4rem);
  font-style: italic;
  font-weight: 700;
  line-height: 1.08;
  text-wrap: balance;
}

.belief-section p + p {
  margin-top: 1.75rem;
  color: #f2d887;
  font-size: clamp(1.4rem, 3.2vw, 3rem);
}

.growing-world {
  overflow: hidden;
  background:
    radial-gradient(circle at 4% 50%, rgb(102 154 110 / 16%), transparent 24rem),
    linear-gradient(180deg, #f7f3df, #eef3e0);
}

.world-collage {
  display: grid;
  align-items: center;
  margin-bottom: clamp(4rem, 8vw, 7rem);
  gap: clamp(1rem, 2.4vw, 2rem);
  grid-template-columns: repeat(12, 1fr);
}

.collage-card {
  margin: 0;
  overflow: hidden;
  border: 0.45rem solid #fffbed;
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
}

.collage-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collage-card--wide {
  z-index: 1;
  grid-column: 1 / 9;
  grid-row: 1 / 7;
  aspect-ratio: 1.45 / 1;
  transform: rotate(-0.8deg);
}

.collage-card--lava {
  grid-column: 9 / 13;
  grid-row: 1 / 5;
  aspect-ratio: 1;
  transform: rotate(1.3deg);
}

.collage-card--sunflower {
  z-index: 2;
  grid-column: 7 / 10;
  grid-row: 5 / 9;
  aspect-ratio: 1;
  transform: rotate(2deg);
}

.collage-card--seahorse {
  grid-column: 10 / 13;
  grid-row: 5 / 9;
  aspect-ratio: 1;
  transform: rotate(-1.6deg);
}

.adventure-list {
  display: grid;
  max-width: 68rem;
  margin-inline: auto;
  gap: 1.4rem 4rem;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.adventure-list p {
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.5vw, 1.26rem);
}

.adventure-list p:last-child {
  grid-column: 1 / -1;
  max-width: 54rem;
  margin-inline: auto;
  text-align: center;
}

.adventure-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.adventure-list li {
  position: relative;
  margin-bottom: 0.65rem;
  padding-left: 1.8rem;
  font-weight: 700;
}

.adventure-list li::before {
  position: absolute;
  left: 0;
  color: var(--gold);
  content: "✦";
}

.included-section {
  padding: clamp(5rem, 10vw, 9rem) 1.5rem;
  background:
    radial-gradient(circle at center, rgb(252 232 158 / 25%), transparent 34rem),
    #dcebd7;
}

.included-card {
  position: relative;
  max-width: 850px;
  margin-inline: auto;
  padding: clamp(3rem, 7vw, 6rem);
  border: 1px solid rgb(154 108 33 / 34%);
  border-radius: 2rem 2rem 4rem 2rem;
  background:
    linear-gradient(rgb(255 251 229 / 90%), rgb(255 246 208 / 94%)),
    repeating-linear-gradient(0deg, transparent 0 12px, rgb(130 85 27 / 3%) 13px);
  box-shadow: var(--shadow), inset 0 0 65px rgb(226 184 81 / 18%);
}

.included-card__ornament {
  position: absolute;
  top: 1.4rem;
  right: 1.8rem;
  color: var(--gold);
  font-size: 1.6rem;
}

.included-card ul {
  display: grid;
  margin: 2rem 0 0;
  padding: 0;
  gap: 1rem;
  list-style: none;
}

.included-card li {
  position: relative;
  padding-left: 2.2rem;
  color: #294d47;
  font-size: clamp(1.08rem, 2vw, 1.42rem);
  font-weight: 700;
}

.included-card li::before {
  position: absolute;
  left: 0;
  color: #548448;
  content: "✓";
}

.closing-section {
  position: relative;
  padding: clamp(7rem, 14vw, 12rem) 1.5rem;
  overflow: hidden;
  color: #fff9df;
  background:
    radial-gradient(circle at 50% 28%, rgb(244 207 95 / 17%), transparent 28rem),
    linear-gradient(155deg, #153f3a, #0a2c32 58%, #251b42);
  text-align: center;
}

.closing-section__content {
  position: relative;
  max-width: 850px;
  margin-inline: auto;
}

.closing-section h2 {
  color: inherit;
}

.closing-section .eyebrow {
  color: var(--gold-light);
}

.closing-section .purchase-reassurance {
  border-top-color: rgb(243 216 128 / 27%);
  color: #d9e1d5;
}

.closing-section .purchase-reassurance__price {
  color: #f3df9b;
}

.cta-button--closing {
  min-width: min(100%, 20rem);
  min-height: 4.7rem;
  font-size: 1.08rem;
}

.return-link {
  display: block;
  width: fit-content;
  margin: 2rem auto 0;
  color: #f3df9b;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.95rem;
  text-underline-offset: 0.3em;
}

@keyframes firefly-drift {
  0%, 100% { opacity: 0; transform: translate3d(0, 10px, 0); }
  22% { opacity: 0.52; }
  55% { opacity: 0.2; transform: translate3d(12px, -16px, 0); }
  76% { opacity: 0; transform: translate3d(18px, -28px, 0); }
}

@media (max-width: 880px) {
  .hero {
    min-height: auto;
  }

  .hero__inner,
  .own-world__layout {
    grid-template-columns: 1fr;
  }

  .hero__invitation {
    max-width: 34rem;
  }

  .own-world__gallery {
    min-height: min(110vw, 43rem);
  }

  .world-frame--shop {
    width: 86%;
  }

  .world-frame--result {
    width: 60%;
  }
}

@media (max-width: 660px) {
  .page-width {
    width: min(100% - 2rem, 1180px);
  }

  .hero__promise-coda {
    margin-left: 0.25rem;
  }

  .paired-scenes {
    grid-template-columns: 1fr;
  }

  .storybook-frame--left,
  .storybook-frame--right {
    margin-top: 0;
    transform: none;
  }

  .world-collage {
    grid-template-columns: repeat(2, 1fr);
  }

  .collage-card--wide {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .collage-card--lava,
  .collage-card--sunflower,
  .collage-card--seahorse {
    grid-column: auto;
    grid-row: auto;
  }

  .collage-card--seahorse {
    grid-column: 1 / -1;
    width: 64%;
    justify-self: center;
  }

  .adventure-list {
    grid-template-columns: 1fr;
  }

  .adventure-list p:last-child {
    grid-column: auto;
    text-align: left;
  }

  .belief-section::before {
    inset: 0.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .firefly {
    display: none;
  }

  .cta-button {
    transition: none;
  }
}
