:root {
  --ink: #2f2028;
  --rose: #a24f6e;
  --pink: #e9b4c5;
  --cream: #fffaf2;
  --gold: #c99529;
  --sage: #586f61;
}

* { box-sizing: border-box; }

button { font-family: inherit; }

html, body { margin: 0; min-height: 100%; }

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 18%, rgba(242, 192, 211, .38), transparent 25%),
    radial-gradient(circle at 92% 85%, rgba(187, 213, 222, .35), transparent 26%),
    #f8f3eb;
  font-family: Arial, Helvetica, sans-serif;
}

button, a { font: inherit; }
button { color: inherit; }

.experience {
  min-height: 100vh;
  padding: 18px clamp(18px, 4vw, 64px) 16px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
}

.topbar, footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-size: 12px;
  color: #795f6a;
}

.brand { white-space: nowrap; }
.progress { display: flex; align-items: center; gap: 10px; font-family: Georgia, serif; }
.progress i { width: 44px; height: 1px; background: #cdbbc2; }

.book {
  position: relative;
  width: min(1160px, 100%);
  height: min(760px, calc(100vh - 112px));
  min-height: 570px;
  margin: auto;
  overflow: hidden;
  border-radius: 30px;
  background: var(--cream);
  box-shadow: 0 24px 70px rgba(72, 48, 58, .16), inset 0 0 0 1px rgba(125, 90, 102, .1);
}

.lola-photo { position: absolute; inset: 0; overflow: hidden; padding: clamp(30px, 6vw, 78px); color: white; }
.cover-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
}
.photo-shade {
  position: absolute; inset: 0;
  background: linear-gradient(270deg, rgba(38, 22, 30, .88) 0%, rgba(42, 24, 32, .68) 46%, rgba(36, 21, 29, .08) 78%),
              linear-gradient(0deg, rgba(28, 16, 22, .45), transparent 48%);
}
.cover-copy { position: relative; z-index: 1; width: min(650px, 59%); margin-left: auto; }
.cover-kicker, .eyebrow {
  text-transform: uppercase; letter-spacing: .22em; font-weight: 700; font-size: 12px; color: #d2779c;
}
.lola-photo .cover-kicker { color: #ffd6e5; }
.lola-photo h1 {
  max-width: 670px; margin: 34px 0 18px; font: 500 clamp(48px, 6.3vw, 88px)/.93 Georgia, serif; letter-spacing: -.045em;
}
.cover-deck { font: 22px/1.45 Georgia, serif; max-width: 510px; color: #fff5f8; }
.start-button, .ink-button, .scan-link {
  border: 0; cursor: pointer; margin-top: 28px; padding: 15px 22px; background: #fff8f2; color: var(--ink);
  border-radius: 999px; font-weight: 700; text-decoration: none; display: inline-flex; gap: 28px; align-items: center;
  box-shadow: 0 10px 30px rgba(37, 19, 28, .18); transition: transform .2s, background .2s;
}
.start-button:hover, .ink-button:hover, .scan-link:hover { transform: translateY(-2px); background: white; }

.story-page { height: 100%; }
.split-story { display: grid; grid-template-columns: .95fr 1.05fr; }
.paper-scene {
  position: relative; overflow: hidden;
  background: linear-gradient(145deg, #edc0cc, #9d566f 68%, #603747);
}
.paper-scene::before {
  content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%;
  background: rgba(255,255,255,.16); left: -130px; top: -110px;
}
.listing-sheet {
  position: absolute; width: min(330px, 68%); aspect-ratio: .76; left: 50%; top: 49%;
  transform: translate(-50%, -50%) rotate(-6deg); background: #fffaf3; box-shadow: 0 30px 45px rgba(54,23,37,.25);
  padding: 42px;
}
.sheet-mark { font: 700 36px Georgia, serif; color: var(--rose); margin-bottom: 45px; }
.sheet-line { height: 5px; background: #d9cbd0; margin: 23px 0; width: 78%; }
.sheet-line.wide { width: 100%; }.sheet-line.short { width: 52%; }
.lola-badge, .lola-monogram {
  display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff5f7; font: 700 48px Georgia, serif;
}
.lola-badge { position: absolute; width: 98px; height: 98px; right: 9%; bottom: 8%; border: 6px solid #f5d4df; transform: rotate(8deg); }
.paw { position: absolute; color: #f8dce5; font-size: 20px; opacity: .75; }
.paw-one { right: 22%; top: 16%; }.paw-two { left: 13%; bottom: 15%; }
.story-copy { padding: clamp(45px, 7vw, 100px); align-self: center; }
.story-copy h2, .challenge-page h2, .outcome-page h2, .lesson-page h2, .rewrite-page h2, .finish-copy h2 {
  margin: 17px 0 24px; font: 500 clamp(42px, 5vw, 68px)/1.02 Georgia, serif; letter-spacing: -.035em;
}
.story-copy > p:not(.eyebrow) { font: 19px/1.65 Georgia, serif; color: #5e4852; max-width: 550px; }
.story-copy blockquote {
  margin: 30px 0; padding-left: 22px; border-left: 2px solid var(--pink); font: italic 27px Georgia, serif;
}
.story-copy .lola-line { color: var(--rose)!important; font-weight: 700!important; }

.challenge-page { height: 100%; padding: clamp(42px, 6vw, 82px) clamp(40px, 8vw, 120px); display: flex; flex-direction: column; }
.challenge-page h2 { margin-bottom: 34px; }
.listing-copy { margin: auto 0; max-width: 1020px; font: clamp(25px, 3vw, 40px)/1.55 Georgia, serif; }
.listing-copy button {
  display: inline; border: 0; padding: 0 3px; background: linear-gradient(transparent 68%, rgba(213, 142, 168, .34) 0);
  cursor: pointer; transition: background .2s;
}
.listing-copy button:hover, .listing-copy button.marked { background: linear-gradient(transparent 56%, #e8a7bd 0); }
.choice-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid #eadde2; padding-top: 24px; }
.choice-footer p { color: #795f6a; }
.ink-button { margin: 0; background: var(--ink); color: white; box-shadow: none; }
.ink-button:disabled { opacity: .3; cursor: default; transform: none; }

.outcome-page { height: 100%; padding: clamp(44px, 6vw, 80px); background: #302129; color: #fff8f4; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; }
.outcome-page .eyebrow { color: #f2a9c2; }
.outcome-page h2 { font-size: clamp(50px, 7vw, 92px); margin-bottom: 10px; }
.outcome-page h3 { font: italic 30px/1.25 Georgia, serif; color: #e6b8c7; max-width: 580px; }
.outcome-video-wrap {
  position: relative; height: 390px; overflow: hidden; border-radius: 24px;
  box-shadow: 0 20px 55px rgba(15, 7, 11, .38);
}
.outcome-video { width: 100%; height: 100%; object-fit: cover; object-position: 51% 50%; }
.outcome-video-wrap::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(28, 14, 21, .6), transparent 40%);
  pointer-events: none;
}
.outcome-label {
  position: absolute; z-index: 1; left: 20px; bottom: 18px; color: #fff6f8;
  text-transform: uppercase; letter-spacing: .18em; font-size: 10px; font-weight: 700;
}
.outcome-copy { grid-column: 1 / -1; margin: -30px 0 0; max-width: 820px; font: 20px/1.55 Georgia, serif; color: #ddcdd3; }
@keyframes pulse { 0% { transform: scale(.85); opacity: .2; } 55% { opacity: 1; } 100% { transform: scale(1.08); opacity: .1; } }

.lesson-page { height: 100%; padding: clamp(42px, 6vw, 82px) clamp(46px, 8vw, 110px); position: relative; }
.lesson-page h2 { max-width: 700px; margin-bottom: 36px; }
.lola-monogram { position: absolute; width: 110px; height: 110px; right: 8%; top: 9%; background: #ead2dc; color: var(--rose); }
.phrase-lessons { border-top: 1px solid #dbcbd1; }
.phrase-lessons > div { display: grid; grid-template-columns: 55px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid #e4d8dc; }
.phrase-lessons span { color: var(--rose); letter-spacing: .1em; }
.phrase-lessons h3 { margin: 0 0 5px; font: 700 20px Georgia, serif; }
.phrase-lessons p { margin: 0; line-height: 1.5; color: #725c65; }

.rewrite-page { height: 100%; padding: clamp(42px, 6vw, 82px) clamp(46px, 8vw, 120px); background: #edf1eb; }
.rewrite-page h2 { max-width: 800px; }
.rewrite-text { max-width: 950px; margin-top: 45px; font: clamp(24px, 2.7vw, 38px)/1.5 Georgia, serif; color: #3c5145; }
.rewrite-rule { margin-top: 48px; display: flex; gap: 18px; align-items: center; border-top: 1px solid #bdc9bf; padding-top: 24px; color: #516457; }
.rewrite-rule span { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--sage); color: white; font-weight: 800; }

.finish-page { height: 100%; display: grid; grid-template-columns: .78fr 1.22fr; }
.finish-photo { overflow: hidden; position: relative; background: #dcb5c2; }
.finish-photo img { width: 400%; height: auto; max-width: none; transform: translate(-38%, -10%); }
.finish-copy { padding: clamp(45px, 7vw, 90px); align-self: center; }
.finish-copy > p { font: 22px Georgia, serif; }
.scoreline { display: flex; align-items: center; gap: 11px; color: #dfccd3; margin: 28px 0 8px; }
.scoreline span { font-size: 28px; }.scoreline span.earned { color: var(--rose); }
.scoreline b { margin-left: 12px; font-size: 17px; }
.scan-link { margin: 22px 0; background: var(--ink); color: white; }
.finish-copy small { display: block; color: #8a737d; line-height: 1.45; }

.nav-arrow {
  position: absolute; z-index: 10; top: 50%; transform: translateY(-50%); width: 52px; height: 52px;
  border: 0; border-radius: 50%; background: rgba(255,255,255,.9); box-shadow: 0 6px 24px rgba(58,38,47,.14);
  font: 36px/1 Georgia, serif; cursor: pointer; color: #6b4c59;
}
.nav-arrow:hover { background: white; }.previous { left: 16px; }.next { right: 16px; }

footer { text-transform: none; letter-spacing: .04em; font-size: 12px; }
.page-dots { display: flex; gap: 8px; }
.page-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: #cbb9c0; cursor: pointer; }
.page-dots button.active { width: 26px; border-radius: 99px; background: var(--rose); }

@media (max-width: 760px) {
  .experience { padding: 10px; gap: 8px; }
  .topbar { padding: 4px 3px; }
  .book { height: calc(100vh - 88px); min-height: 590px; border-radius: 20px; }
  footer > span { display: none; }
  footer { justify-content: center; }
  .lola-photo { padding: 36px 25px; }
  .cover-video { object-position: 40% 50%; }
  .photo-shade { background: linear-gradient(0deg, rgba(34,18,27,.94) 0%, rgba(34,18,27,.64) 52%, rgba(34,18,27,.06) 88%); }
  .cover-copy { width: 100%; margin: 0; }
  .lola-photo h1 { margin-top: 250px; font-size: 48px; }
  .cover-deck { font-size: 17px; }
  .split-story, .finish-page { grid-template-columns: 1fr; grid-template-rows: 40% 60%; }
  .listing-sheet { height: 210px; width: 165px; padding: 22px; }
  .sheet-mark { margin-bottom: 18px; }
  .story-copy { padding: 30px 28px; overflow: auto; }
  .story-copy h2, .challenge-page h2, .lesson-page h2, .rewrite-page h2, .finish-copy h2 { font-size: 39px; }
  .story-copy > p:not(.eyebrow) { font-size: 16px; }
  .story-copy blockquote { margin: 15px 0; font-size: 21px; }
  .challenge-page, .lesson-page, .rewrite-page { padding: 34px 28px; overflow: auto; }
  .listing-copy { font-size: 23px; margin: 12px 0 30px; }
  .choice-footer { flex-direction: column; align-items: stretch; }
  .ink-button { justify-content: center; }
  .outcome-page { grid-template-columns: 1fr; padding: 42px 30px; overflow: auto; }
  .outcome-page h2 { font-size: 56px; }
  .outcome-video-wrap { height: 240px; margin: 15px 0; }
  .outcome-copy { margin-top: 10px; }
  .lola-monogram { width: 65px; height: 65px; font-size: 30px; top: 5%; right: 5%; }
  .phrase-lessons > div { padding: 13px 0; }
  .phrase-lessons p { font-size: 14px; }
  .rewrite-text { font-size: 23px; margin-top: 20px; }
  .rewrite-rule { margin-top: 25px; }
  .finish-copy { padding: 26px 28px; overflow: auto; }
  .finish-photo img { width: 320%; transform: translate(-38%, -5%); }
  .nav-arrow { width: 42px; height: 42px; top: auto; bottom: 12px; transform: none; }
}

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