@font-face {
  font-family: Caveat;
  src: url('/landing/fonts/caveat.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
.handwritten {
  font-family: Caveat, cursive;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.1;
}
.hero {
  background: #fffaf0;
}
.hero-details {
  width: 110%;
  height: 880px;
  object-fit: fill;
  top: -170px;
  max-width: 1700px;
  opacity: 1;
}
.hero-copy {
  padding-top: 64px;
}
.hero-copy h1 {
  position: relative;
  z-index: 1;
}
.scroll-invitation {
  font-size: 26px;
  transform: rotate(-4deg);
  color: #bf4a2b;
  margin: 27px 0 0;
}
.hero-book {
  perspective: 1600px;
  margin-top: -15px;
}
.hero-book > a {
  transform-origin: 50% 80%;
  will-change: transform;
  transform: rotateX(calc((1 - var(--hero-p, 1)) * 16deg))
    rotate(calc((1 - var(--hero-p, 1)) * -5deg)) scale(calc(0.87 + var(--hero-p, 1) * 0.13));
  opacity: calc(0.25 + var(--hero-p, 1) * 0.75);
}
.hero-book > .hero-loose {
  position: absolute;
  z-index: 2;
  width: 70%;
  left: 15%;
  top: -4%;
  pointer-events: none;
  opacity: calc(1 - var(--hero-p, 1));
  transform: translateY(calc(var(--hero-p, 1) * 110px)) rotate(calc(var(--hero-p, 1) * -12deg))
    scale(calc(1 - var(--hero-p, 1) * 0.25));
  will-change: transform, opacity;
}
.hero-book figcaption {
  margin-top: 0;
}
.motion-toggle {
  position: fixed;
  bottom: 16px;
  right: 16px;
  left: auto;
  z-index: 30;
  border: 1px solid #30241645;
  border-radius: 30px;
  background: #fffaf0f2;
  color: var(--ink);
  padding: 10px 15px;
  min-height: 44px;
  font: 12px var(--sans);
  cursor: pointer;
  box-shadow: 0 2px 12px #30241612;
}
.motion-toggle:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid #285f61;
  outline-offset: 4px;
}
.motion-toggle[hidden] {
  display: none;
}
.examples {
  overflow: clip;
  position: relative;
  padding-top: 100px;
  padding-bottom: 130px;
}
.examples .section-heading {
  position: relative;
  z-index: 1;
}
.book-shelf {
  position: relative;
  gap: 32px;
  margin-top: 35px;
}
.shelf-doodles {
  position: absolute !important;
  inset: -100px -70px;
  width: calc(100% + 140px) !important;
  max-width: none !important;
  height: 650px;
  object-fit: fill;
  pointer-events: none;
  opacity: 0.9;
}
.book-shelf figure {
  position: relative;
  z-index: 1;
}
.book-shelf figure:nth-of-type(1) {
  transform: translateY(calc(var(--shelf-y, 0) * 1px)) rotate(-7deg);
}
.book-shelf figure:nth-of-type(2) {
  transform: translateY(calc(var(--shelf-y, 0) * -0.3px)) rotate(3deg);
}
.book-shelf figure:nth-of-type(3) {
  transform: translateY(calc(var(--shelf-y, 0) * 0.65px)) rotate(8deg);
}
.book-shelf figcaption {
  transform: rotate(0deg);
  margin-top: 5px;
}
.examples > .button {
  margin-top: 25px;
  position: relative;
  z-index: 2;
}
.feature-story {
  background: #e7ecdc;
  position: relative;
  --chapter-p: 1;
}
.feature-pin {
  padding: 30px 0 26px;
}
.feature-topline {
  width: calc(100% - 64px);
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 10px;
  letter-spacing: 0.1em;
}
.feature-topline .handwritten {
  font-size: 25px;
  color: #bf4a2b;
}
.feature-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: center;
  padding-block: 55px;
}
.feature-copy {
  position: relative;
}
.feature-chapter {
  margin-bottom: 30px;
}
.feature-chapter h2 {
  font-size: clamp(42px, 5.1vw, 73px);
  line-height: 1.01;
  letter-spacing: -0.035em;
}
.feature-chapter > p:not(.eyebrow) {
  font-size: 16px;
  line-height: 1.65;
  max-width: 365px;
  margin-top: 24px;
}
.feature-chapter .feature-detail {
  font-size: 13px !important;
  color: #56574c;
  margin-top: 18px !important;
}
.feature-cta {
  display: inline-block;
  margin-top: 16px;
}
.feature-visual {
  min-width: 0;
  position: relative;
}
.feature-scene {
  margin-bottom: 50px;
}
.arrangement-paper,
.artwork-paper,
.cutout-paper {
  position: relative;
  width: 100%;
  aspect-ratio: 1.12;
  background: #fffdf4 url('/landing/images/texture-watercolour-paper.webp') center/cover;
  box-shadow:
    0 18px 50px #27392726,
    0 2px 4px #27392716;
  transform: rotate(3deg);
  border: 1px solid #f8f0df;
}
.arrange-photo {
  position: absolute;
  object-fit: cover;
  border: 8px solid #fffdf4;
  box-shadow: 0 4px 12px #30241625;
  transition:
    top 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    left 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.photo-one {
  left: 7%;
  top: 9%;
  width: 58%;
  height: 67%;
  transform: rotate(-7deg);
  z-index: 1;
}
.photo-two {
  left: 61%;
  top: 9%;
  width: 31%;
  height: 38%;
  transform: rotate(8deg);
  z-index: 2;
}
.photo-three {
  left: 57%;
  top: 48%;
  width: 38%;
  height: 38%;
  transform: rotate(-3deg);
  z-index: 3;
}
.page-caption {
  position: absolute;
  left: 9%;
  bottom: 2%;
  font-size: 26px;
  transform: rotate(-5deg);
  color: #b04830;
}
.arrangement-paper[data-layout='editorial'] .photo-one {
  left: 6%;
  top: 7%;
  width: 88%;
  height: 47%;
  transform: none;
}
.arrangement-paper[data-layout='editorial'] .photo-two {
  left: 6%;
  top: 56%;
  width: 42%;
  height: 31%;
  transform: none;
}
.arrangement-paper[data-layout='editorial'] .photo-three {
  left: 52%;
  top: 56%;
  width: 42%;
  height: 31%;
  transform: none;
}
.arrangement-paper[data-layout='editorial'] .page-caption {
  font-size: 23px;
  bottom: 1%;
  left: 32%;
  transform: none;
}
.arrangement-paper[data-layout='pocket'] .photo-one {
  left: 6%;
  top: 8%;
  width: 42%;
  height: 76%;
  transform: none;
}
.arrangement-paper[data-layout='pocket'] .photo-two {
  left: 52%;
  top: 8%;
  width: 42%;
  height: 36%;
  transform: none;
}
.arrangement-paper[data-layout='pocket'] .photo-three {
  left: 52%;
  top: 48%;
  width: 42%;
  height: 36%;
  transform: none;
}
.arrangement-paper[data-layout='pocket'] .page-caption {
  font-size: 25px;
  bottom: 3%;
  transform: none;
}
.layout-options,
.paper-options {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 35px;
  position: relative;
  z-index: 5;
}
.layout-options button,
.paper-options button {
  font: 12px var(--sans);
  min-height: 44px;
  padding: 9px 17px;
  border-radius: 25px;
  border: 1px solid #30241655;
  background: #fffaf0;
  color: var(--ink);
  cursor: pointer;
}
.layout-options button[aria-pressed='true'],
.paper-options button[aria-pressed='true'] {
  color: #fffaf0;
  background: #285f61;
  border-color: #285f61;
}
.demo-caption {
  font-size: 10px;
  text-align: center;
  margin-top: 13px;
  color: #4c5046;
}
.cutout-paper {
  overflow: hidden;
  transform: rotate(-3deg);
  background: #f3cf72;
  --cut: 0%;
}
.ticket-before,
.ticket-after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ticket-before {
  background: #e3e5e3;
  clip-path: inset(0 0 0 var(--cut));
  z-index: 2;
}
.ticket-after {
  z-index: 1;
}
.keepsake-note {
  position: absolute;
  z-index: 3;
  top: 9%;
  left: 9%;
  font-size: 34px;
  transform: rotate(-8deg);
  color: #a9482e;
}
.scan-line {
  position: absolute;
  z-index: 4;
  top: 0;
  bottom: 0;
  left: var(--cut);
  width: 2px;
  background: #d3562c;
  box-shadow: 0 0 15px #d3562c55;
}
.cutout-control {
  display: grid;
  gap: 8px;
  margin: 25px auto 0;
  font-size: 12px;
  text-align: center;
  max-width: 360px;
}
.cutout-control input {
  width: 100%;
  accent-color: #285f61;
  min-height: 28px;
}
.artwork-paper {
  overflow: hidden;
  background-color: #fff3cf;
  background-blend-mode: multiply;
  transform: rotate(4deg);
  transition: background-color 0.4s;
}
.artwork-paper[data-paper='blue'] {
  background-color: #c2dfeb;
}
.artwork-paper[data-paper='pink'] {
  background-color: #f1c8c0;
}
.art-photo {
  position: absolute;
  top: 19%;
  left: 20%;
  width: 60%;
  height: 58%;
  object-fit: cover;
  border: 10px solid #fffaf0;
  transform: rotate(-7deg);
  box-shadow: 0 4px 10px #30241622;
}
.art-doodles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  transform: scale(calc(0.6 + var(--chapter-p, 1) * 0.4))
    rotate(calc((1 - var(--chapter-p, 1)) * -15deg));
  opacity: clamp(0, var(--chapter-p, 1) * 2, 1);
}
.artwork-paper > p {
  position: absolute;
  bottom: 8%;
  left: 33%;
  font-size: 35px;
  color: #ac442b;
  transform: rotate(-4deg);
}
.chapter-navigation {
  display: flex;
  gap: 30px;
  position: relative;
  width: min(1180px, calc(100% - 64px));
  margin: auto;
  padding-top: 20px;
  border-top: 1px solid #30241625;
}
.chapter-navigation button {
  border: 0;
  padding: 8px 0;
  min-height: 44px;
  background: none;
  font: 13px var(--sans);
  cursor: pointer;
  color: #59594e;
}
.chapter-navigation button span {
  margin-left: 8px;
}
.chapter-navigation button[aria-current='step'] {
  color: #a54427;
}
.story-progress {
  height: 3px;
  position: absolute;
  left: 0;
  right: 0;
  top: -2px;
}
.story-progress span {
  display: block;
  height: 100%;
  background: #c6532e;
  transform: scaleX(var(--story-p, 0));
  transform-origin: left;
}
.memory-wall {
  position: relative;
  background: #d8bd7c;
}
.wall-pin {
  min-height: 900px;
  position: relative;
  overflow: hidden;
}
.wall-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(calc(1.16 - var(--wall-p, 1) * 0.16));
  will-change: transform;
}
.wall-title {
  position: relative;
  padding: 75px 0 0;
  margin-left: 6%;
  width: max-content;
  max-width: 88%;
  transform: rotate(-5deg);
  color: #fffaf0;
  text-shadow: 0 2px 12px #30241699;
}
.wall-title .eyebrow {
  background: #234e4d;
  padding: 10px 16px;
  display: inline-block;
  color: #fff;
  transform: rotate(2deg);
  margin-bottom: 0;
}
.wall-title h2 {
  font-size: clamp(70px, 8.4vw, 120px);
  line-height: 0.95;
  margin-top: 12px;
  letter-spacing: -0.055em;
}
.wall-title em {
  font-family: Caveat, cursive;
  font-size: 1.2em;
  font-weight: 600;
  font-style: normal;
  color: #ffe680;
}
.wall-note {
  position: absolute;
  width: 330px;
  background: #fff9e7;
  padding: 28px 30px 32px;
  box-shadow: 3px 12px 25px #30241635;
}
.wall-note .handwritten {
  font-size: 32px;
  color: #b54b2d;
  display: block;
  margin-bottom: 14px;
}
.wall-note h3 {
  font-size: 27px;
}
.wall-note p {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 14px;
}
.note-one {
  right: 8%;
  top: 15%;
  transform: translateY(calc((1 - var(--wall-p, 1)) * 210px)) rotate(7deg);
}
.note-two {
  left: 14%;
  bottom: 11%;
  background: #e2edf2;
  transform: translateY(calc((1 - var(--wall-p, 1)) * 360px)) rotate(-7deg);
}
.wall-link {
  position: absolute;
  right: 10%;
  bottom: 10%;
  box-shadow: 0 4px 10px #30241633;
}
.take-it {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  align-items: center;
  padding-block: 130px;
}
.take-it h2 {
  font-size: 75px;
}
.take-it > div > p:not(.eyebrow) {
  font-size: 16px;
  margin-top: 25px;
  max-width: 410px;
}
.take-it .text-link {
  display: inline-block;
  margin-top: 25px;
}
.take-visual {
  position: relative;
  perspective: 1200px;
  min-height: 470px;
}
.take-book {
  width: 330px;
  margin: auto;
  transform: rotate(calc(-12deg + var(--take-p, 1) * 16deg))
    rotateY(calc((1 - var(--take-p, 1)) * -20deg));
}
.export-label {
  position: absolute;
  background: #fffdf5;
  border: 1px solid #d8d1bf;
  padding: 16px 22px;
  box-shadow: 0 5px 16px #30241615;
  width: 205px;
}
.export-label span {
  font-family: var(--serif);
  font-size: 31px;
}
.export-label p {
  font-size: 11px;
  line-height: 1.6;
  margin-top: 6px;
}
.export-pdf {
  left: -5%;
  top: 12%;
  transform: translateX(calc((1 - var(--take-p, 1)) * 100px)) rotate(-10deg);
}
.export-book {
  right: -5%;
  bottom: 7%;
  background: #e7ebd7;
  transform: translateX(calc((1 - var(--take-p, 1)) * -100px)) rotate(6deg);
}
/* Only enhance after the animation controller is ready. HTML remains complete without it. */
html[data-motion='full'] .feature-story {
  height: 350svh;
}
html[data-motion='full'] .feature-pin {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 650px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
html[data-motion='full'] .feature-grid {
  flex: 1;
  padding-block: 25px;
  max-height: 650px;
}
html[data-motion='full'] .feature-copy {
  height: 390px;
  display: flex;
  align-items: flex-start;
}
html[data-motion='full'] .feature-chapter {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(28px);
  transition:
    opacity 0.4s,
    transform 0.5s,
    visibility 0.4s;
}
html[data-motion='full'] .feature-cta {
  position: absolute;
  bottom: 0;
  left: 0;
}
html[data-motion='full'] .feature-visual {
  height: min(65svh, 550px);
}
html[data-motion='full'] .feature-scene {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(45px) rotate(3deg);
  transition:
    opacity 0.45s,
    transform 0.65s,
    visibility 0.45s;
}
html[data-motion='full'] .feature-scene > div:first-child {
  height: calc(100% - 90px);
  width: auto;
  max-width: 100%;
  margin-inline: auto;
  aspect-ratio: 1.12;
}
html[data-motion='full'] .feature-story[data-active='0'] [data-chapter='0'],
html[data-motion='full'] .feature-story[data-active='1'] [data-chapter='1'],
html[data-motion='full'] .feature-story[data-active='2'] [data-chapter='2'],
html[data-motion='full'] .feature-story[data-active='0'] [data-scene='0'],
html[data-motion='full'] .feature-story[data-active='1'] [data-scene='1'],
html[data-motion='full'] .feature-story[data-active='2'] [data-scene='2'] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}
html[data-motion='full'] .feature-story[data-active='1'] {
  background: #f0d9a5;
}
html[data-motion='full'] .feature-story[data-active='2'] {
  background: #ecd8d0;
}
html[data-motion='full'] .memory-wall {
  height: 190svh;
}
html[data-motion='full'] .wall-pin {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 700px;
}
html[data-motion='off'] .hero-book > .hero-loose {
  display: none;
}
html[data-motion='off'] .hero-book > a {
  transform: none;
  opacity: 1;
}
html[data-motion='off'] .art-doodles {
  opacity: 1;
  transform: none;
}
@media (min-width: 701px) and (max-height: 760px) {
  html[data-motion='full'] .feature-copy {
    height: 345px;
  }
  .feature-chapter h2 {
    font-size: 55px;
  }
  .feature-chapter > p:not(.eyebrow) {
    font-size: 14px;
    margin-top: 17px;
  }
  .feature-chapter .feature-detail {
    font-size: 12px !important;
  }
  .feature-topline .handwritten {
    font-size: 21px;
  }
  .layout-options,
  .paper-options {
    margin-top: 23px;
  }
}
@media (max-width: 1000px) {
  .feature-grid {
    gap: 35px;
  }
  .feature-chapter h2 {
    font-size: 48px;
  }
  .take-it {
    gap: 65px;
  }
  .take-it h2 {
    font-size: 62px;
  }
  .wall-note {
    width: 300px;
  }
  .note-one {
    right: 5%;
  }
  .note-two {
    left: 7%;
  }
  .shelf-doodles {
    height: 540px;
  }
}
@media (max-width: 700px) {
  .hero-details {
    display: block;
    width: 145%;
    height: 400px;
    top: -100px;
    opacity: 0.6;
    left: 50%;
    object-fit: fill;
  }
  .hero-copy {
    padding-top: 35px;
  }
  .hero-copy h1 {
    font-size: clamp(32px, 9.48vw, 54px);
  }
  .hero-description,
  .actions,
  .hero-note {
    position: relative;
    z-index: 1;
  }
  .scroll-invitation {
    font-size: 23px;
    margin-top: 25px;
  }
  .hero-book {
    margin-top: 0;
  }
  .hero-book > .hero-loose {
    width: 86%;
    left: 7%;
    top: 0;
  }
  .examples {
    padding-top: 70px;
    padding-bottom: 75px;
    overflow: clip;
  }
  .book-shelf {
    gap: 6px;
    margin-top: 35px;
  }
  .book-shelf figcaption h3 {
    font-size: 11px;
  }
  .shelf-doodles {
    inset: -60px -30px;
    width: calc(100% + 60px) !important;
    height: 360px;
  }
  .feature-topline {
    width: calc(100% - 36px);
    font-size: 8px;
  }
  .feature-topline .handwritten {
    display: none;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 35px;
  }
  .feature-chapter h2 {
    font-size: 42px;
  }
  .feature-chapter > p:not(.eyebrow) {
    font-size: 14px;
    margin-top: 16px;
    max-width: none;
  }
  .feature-chapter .feature-detail {
    font-size: 12px !important;
    margin-top: 12px !important;
  }
  .feature-scene {
    max-width: 430px;
    width: 100%;
    margin-inline: auto;
  }
  .feature-cta {
    font-size: 12px;
  }
  .arrangement-paper,
  .artwork-paper,
  .cutout-paper {
    width: 92%;
    margin-inline: auto;
  }
  .page-caption {
    font-size: 24px;
  }
  .layout-options,
  .paper-options {
    margin-top: 23px;
    gap: 4px;
  }
  .layout-options button,
  .paper-options button {
    font-size: 10px;
    padding-inline: 12px;
  }
  .demo-caption {
    font-size: 9px;
    margin-top: 8px;
  }
  .keepsake-note {
    font-size: 27px;
  }
  .artwork-paper > p {
    font-size: 28px;
  }
  .cutout-control {
    margin-top: 16px;
    gap: 2px;
    font-size: 11px;
  }
  .chapter-navigation {
    width: calc(100% - 36px);
    justify-content: space-between;
    gap: 12px;
    padding-top: 10px;
    padding-bottom: 70px;
  }
  .chapter-navigation button {
    font-size: 11px;
  }
  .chapter-navigation button span {
    margin-left: 5px;
  }
  .feature-pin {
    padding-top: 23px;
    padding-bottom: 16px;
  }
  html[data-motion='full'] .feature-story {
    height: 340svh;
  }
  html[data-motion='full'] .feature-pin {
    min-height: 650px;
  }
  html[data-motion='full'] .feature-grid {
    gap: 15px;
    padding-block: 18px;
    max-height: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
  }
  html[data-motion='full'] .feature-copy {
    height: 233px;
    flex-shrink: 0;
  }
  html[data-motion='full'] .feature-chapter h2 {
    font-size: 38px;
  }
  html[data-motion='full'] .feature-chapter > p:not(.eyebrow) {
    font-size: 12px;
    margin-top: 14px;
  }
  html[data-motion='full'] .feature-chapter .feature-detail {
    font-size: 10px !important;
    margin-top: 10px !important;
  }
  html[data-motion='full'] .feature-visual {
    height: min(42svh, 355px);
    min-height: 285px;
  }
  html[data-motion='full'] .feature-scene > div:first-child {
    max-height: calc(100% - 85px);
    max-width: 95%;
  }
  html[data-motion='full'] .feature-copy .eyebrow {
    font-size: 8px;
    margin-bottom: 10px;
  }
  .wall-pin {
    min-height: 1080px;
  }
  .wall-title {
    padding-top: 55px;
    margin-left: 7%;
  }
  .wall-title h2 {
    font-size: 70px;
  }
  .wall-title .eyebrow {
    font-size: 8px;
    padding: 8px 12px;
  }
  .wall-note {
    width: 250px;
    padding: 22px;
  }
  .wall-note .handwritten {
    font-size: 27px;
    margin-bottom: 10px;
  }
  .wall-note h3 {
    font-size: 23px;
  }
  .wall-note p {
    font-size: 12px;
    margin-top: 10px;
  }
  .note-one {
    top: 33%;
    right: 7%;
  }
  .note-two {
    bottom: 14%;
    left: 7%;
  }
  .wall-link {
    right: 8%;
    bottom: 5%;
    font-size: 12px;
  }
  .wall-image {
    object-position: 48% center;
  }
  .take-it {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-block: 80px;
  }
  .take-visual {
    min-height: 380px;
    max-width: 350px;
    margin: auto;
    width: 100%;
  }
  .take-book {
    width: 280px;
  }
  .export-label {
    width: 170px;
    padding: 12px 16px;
  }
  .export-label span {
    font-size: 26px;
  }
  .export-pdf {
    left: 0;
  }
  .export-book {
    right: 0;
  }
  .take-it h2 {
    font-size: 60px;
  }
  .take-it > div > p:not(.eyebrow) {
    font-size: 15px;
    margin-top: 20px;
  }
  .motion-toggle {
    font-size: 10px;
    padding: 8px 12px;
    bottom: 10px;
    right: 10px;
    left: auto;
    min-height: 38px;
  }
  html[data-motion='full'] .memory-wall {
    height: 200svh;
  }
  html[data-motion='full'] .wall-pin {
    min-height: 760px;
  }
  .last-page {
    position: relative;
    overflow: hidden;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-book > a,
  .hero-loose,
  .wall-image,
  .wall-note,
  .take-book,
  .export-label,
  .book-shelf figure {
    transform: none !important;
  }
  .hero-book > a {
    opacity: 1;
  }
  .hero-book > .hero-loose {
    display: none;
  }
  .art-doodles {
    transform: none;
    opacity: 1;
  }
}

html[data-motion='full'] .hero-book > a {
  opacity: 0;
  transition: opacity 0.45s ease;
}
html[data-motion='full'] .hero-book > .hero-loose {
  opacity: 1;
  transition: opacity 0.45s ease;
}
html[data-motion='full'] .hero-book[data-assembled='true'] > a {
  opacity: 1;
}
html[data-motion='full'] .hero-book[data-assembled='true'] > .hero-loose {
  opacity: 0;
}
.voice-wave {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 42px;
  margin-top: 18px;
  overflow: hidden;
}
.voice-wave i {
  display: block;
  width: 4px;
  height: var(--h);
  background: #285f61;
  border-radius: 3px;
  transform: scaleY(calc(0.2 + var(--wall-p, 1) * 0.8));
}
.voice-caption {
  font-size: 10px !important;
  margin-top: 6px !important;
  color: #285f61;
}
@media (max-width: 700px) {
  .take-book {
    max-width: 80%;
  }
}
@media (max-width: 700px) and (max-height: 780px) {
  html[data-motion='full'] .feature-topline {
    display: none;
  }
}

@media (max-width: 700px) {
  .wall-title h2 {
    font-size: clamp(54px, 17vw, 70px);
  }
  html[data-motion='full'] .wall-note {
    top: 36%;
    bottom: auto;
    transition:
      opacity 0.35s,
      transform 0.5s;
  }
  html[data-motion='full'] .note-one {
    opacity: 1;
    transform: rotate(5deg);
  }
  html[data-motion='full'] .note-two {
    opacity: 0;
    transform: translateY(50px) rotate(-5deg);
  }
  html[data-motion='full'] .memory-wall[data-phase='voice'] .note-one {
    opacity: 0;
    transform: translateY(-50px) rotate(5deg);
  }
  html[data-motion='full'] .memory-wall[data-phase='voice'] .note-two {
    opacity: 1;
    transform: rotate(-5deg);
  }
}
@media (max-width: 700px) {
  .wall-link {
    bottom: 10%;
  }
}

/* Phone storytelling follows the document, with each explanation beside its demo. */
@media (max-width: 700px) {
  .header {
    height: 108px;
    padding-top: 16px;
  }
  .header nav {
    gap: 20px;
  }
  .nav-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    font-size: 13px;
  }
  .header-cta {
    min-height: 44px;
    top: 14px;
  }
  .hero-copy {
    padding-top: 28px;
  }
  .hero-copy h1 {
    font-size: clamp(40px, 11.5vw, 58px);
    line-height: 1.04;
    max-width: 370px;
    margin-inline: auto;
    text-wrap: balance;
  }
  .hero-details {
    opacity: 0.4;
    top: 80px;
    height: 420px;
    width: 165%;
  }
  .hero-description {
    font-size: 16px;
    line-height: 1.55;
    margin-block: 22px 20px;
    max-width: 310px;
  }
  .actions {
    gap: 16px;
  }
  .actions .button {
    font-size: 14px;
    padding-inline: 22px;
  }
  .actions .text-link {
    font-size: 14px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
  }
  .hero-note {
    font-size: 12px;
  }
  .scroll-invitation {
    margin-top: 22px;
    font-size: 24px;
  }
  .hero-book {
    margin-top: -12px;
    padding-bottom: 28px;
  }
  .hero-book > .hero-loose {
    width: 80%;
    left: 10%;
    top: 0;
  }
  .hero-book figcaption {
    position: relative;
    z-index: 3;
    margin-top: 22px;
    font-size: 12px;
  }
  .hero-book figcaption a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }
  .examples {
    padding-block: 56px 64px;
  }
  .examples .section-heading {
    padding-inline: 6px;
  }
  .section-heading h2 {
    font-size: 39px;
    line-height: 1.1;
    text-wrap: balance;
  }
  .section-heading > p:last-child {
    font-size: 16px;
  }
  .book-shelf {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    margin-inline: -18px;
    padding: 20px 32px 24px;
    scrollbar-width: thin;
    scrollbar-color: #aebbb0 transparent;
  }
  .book-shelf figure {
    flex: 0 0 76%;
    scroll-snap-align: center;
    transform: none !important;
  }
  .book-shelf figure > a {
    transform: rotate(-3deg);
  }
  .book-shelf figure:nth-of-type(2) > a {
    transform: rotate(3deg);
  }
  .book-shelf figcaption h3 {
    font: 25px var(--serif);
    line-height: 1.2;
    margin-top: 14px;
  }
  .book-shelf figcaption p {
    display: block;
    font-size: 14px;
    line-height: 1.6;
    margin: 8px auto 0;
    max-width: 240px;
  }
  .book-shelf img {
    max-height: 330px;
    width: 100%;
    object-fit: contain;
  }
  .shelf-doodles {
    display: none;
  }
  html[data-motion] .feature-story {
    height: auto;
    background: #e7ecdc;
  }
  html[data-motion] .feature-pin {
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
  }
  .feature-topline {
    display: none;
  }
  html[data-motion] .feature-grid {
    display: block;
    width: 100%;
    padding: 0;
    max-height: none;
  }
  html[data-motion] .feature-copy {
    display: block;
    height: auto;
  }
  html[data-layout='phone'] .feature-visual {
    display: none;
  }
  html[data-motion] .feature-chapter {
    position: relative;
    inset: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin: 0;
    padding: 38px 24px 42px;
    scroll-margin-top: 64px;
  }
  .feature-chapter[data-chapter='1'] {
    background: #f0d9a5;
  }
  .feature-chapter[data-chapter='2'] {
    background: #ecd8d0;
  }
  html[data-motion] .feature-chapter h2 {
    font-size: clamp(38px, 10.5vw, 50px);
    line-height: 1.04;
  }
  html[data-motion] .feature-chapter > p:not(.eyebrow) {
    font-size: 16px;
    line-height: 1.6;
    margin-top: 20px;
    max-width: 430px;
  }
  html[data-motion] .feature-chapter .feature-detail {
    font-size: 14px !important;
    line-height: 1.6;
    margin-top: 12px !important;
    color: #43483c;
  }
  html[data-motion] .feature-copy .eyebrow {
    font-size: 10px;
    line-height: 1.5;
    margin-bottom: 16px;
  }
  html[data-motion] .feature-scene {
    position: relative;
    inset: auto;
    height: auto;
    margin: 32px auto 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  html[data-motion='full'] .feature-scene > div:first-child {
    transform: translateY(calc((1 - var(--scene-p, 1)) * 26px))
      rotate(calc((1 - var(--scene-p, 1)) * -5deg));
  }
  html[data-motion] .feature-scene > div:first-child {
    height: auto;
    max-height: none;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1.12;
  }
  .layout-options,
  .paper-options {
    gap: 6px;
    margin-top: 22px;
  }
  .layout-options button,
  .paper-options button {
    min-height: 48px;
    padding: 10px 13px;
    font-size: 12px;
  }
  .demo-caption {
    font-size: 12px;
    line-height: 1.5;
    margin: 12px auto 0;
    max-width: 310px;
  }
  .cutout-control {
    font-size: 14px;
    gap: 8px;
    margin-top: 22px;
  }
  .cutout-control input {
    min-height: 44px;
  }
  html[data-motion] .feature-cta {
    display: flex;
    position: static;
    justify-content: center;
    gap: 8px;
    padding: 22px 16px;
    margin: 0;
    font-size: 15px;
    background: #ecd8d0;
    min-height: 64px;
  }
  .chapter-navigation {
    order: -1;
    position: sticky;
    top: 0;
    z-index: 12;
    width: 100%;
    padding: 10px 18px;
    gap: 6px;
    background: #fffaf0f5;
    border: 0;
    box-shadow: 0 2px 12px #3024160c;
  }
  .chapter-navigation button {
    flex: 1;
    min-height: 44px;
    font-size: 12px;
    border-radius: 30px;
  }
  .chapter-navigation button[aria-current='step'] {
    background: #285f61;
    color: white;
  }
  .story-progress {
    top: auto;
    bottom: 0;
    height: 2px;
  }
  html[data-motion] .memory-wall {
    height: auto;
  }
  html[data-motion] .wall-pin {
    position: relative;
    height: auto;
    min-height: 0;
    display: grid;
    gap: 36px;
    padding: 48px 24px;
  }
  .wall-title {
    margin: 0;
    padding: 0;
    max-width: 100%;
  }
  .wall-title h2 {
    font-size: clamp(52px, 16vw, 70px);
  }
  .wall-title .eyebrow {
    font-size: 8px;
  }
  html[data-motion] .wall-note {
    position: relative;
    inset: auto;
    width: min(100%, 300px);
    padding: 26px;
    opacity: 1 !important;
  }
  html[data-motion] .memory-wall[data-phase] .note-one {
    justify-self: end;
    transform: rotate(4deg) translateY(calc((1 - var(--wall-p, 1)) * 18px));
  }
  html[data-motion] .memory-wall[data-phase] .note-two {
    justify-self: start;
    transform: rotate(-4deg) translateY(calc((1 - var(--wall-p, 1)) * 35px));
  }
  .wall-note p {
    font-size: 15px;
    line-height: 1.65;
  }
  .wall-note h3 {
    font-size: 27px;
  }
  .wall-note .handwritten {
    font-size: 29px;
  }
  .wall-link {
    position: relative;
    inset: auto;
    justify-self: center;
    font-size: 14px;
  }
  .take-it {
    gap: 24px;
    padding-block: 66px;
  }
  .take-it h2 {
    font-size: 52px;
  }
  .take-it > div > p:not(.eyebrow) {
    font-size: 16px;
    line-height: 1.65;
  }
  .export-label p {
    font-size: 12px;
  }
  .plan {
    padding: 28px 24px;
  }
  .plan li {
    font-size: 15px;
    line-height: 1.55;
  }
  .price-note {
    font-size: 14px;
    line-height: 1.6;
  }
  .plan .button {
    font-size: 15px;
    min-height: 52px;
  }
  .questions summary {
    font-size: 16px;
    line-height: 1.45;
  }
  .questions details > p {
    font-size: 15px;
    line-height: 1.7;
  }
  .footer nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .motion-toggle {
    position: absolute;
    top: 116px;
    bottom: auto;
    right: 18px;
    font-size: 11px;
    min-height: 44px;
    padding: 7px 12px;
    box-shadow: none;
  }
  .hero-copy {
    padding-top: 54px;
  }
}
@media (max-width: 359px) {
  .hero-copy h1 {
    font-size: 39px;
  }
  .actions {
    gap: 10px;
  }
  .actions .button {
    font-size: 13px;
    padding-inline: 16px;
  }
  .actions .text-link {
    font-size: 13px;
  }
  html[data-motion] .feature-chapter {
    padding-inline: 20px;
  }
  .layout-options button,
  .paper-options button {
    font-size: 11px;
    padding-inline: 10px;
  }
}

@media (max-width: 700px) {
  :root {
    scroll-padding-top: 0;
    scroll-behavior: auto;
  }
}

.gallery-hint {
  display: none;
}
@media (max-width: 700px) {
  .gallery-hint {
    display: block;
    font-size: 23px;
    color: #a54427;
    margin-top: 24px;
  }
  .book-shelf {
    margin-top: 0;
  }
}
