/* Gift-specific content uses the homepage's presentation and section components. */
.gift-experience .experience-hero__content {
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .8fr);
  min-height: 0;
  gap: clamp(32px, 6vw, 80px);
  padding-block: clamp(48px, 6vw, 80px) 36px;
}
.gift-experience .experience-copy h1 {
  font-size: clamp(3rem, 4.6vw, 4.7rem);
  line-height: 1.02;
  text-wrap: balance;
}
.gift-experience .experience-copy h1 .hl { color: var(--glow); }
.gift-experience .experience-copy > .artifact-label { color: var(--glow); display: block; margin-bottom: 18px; }
/* Reserve space above each perch even when its word wraps to another line.
   The foot offset includes the sprites' transparent bottom margin. */
.gift-experience .hero-ry,
.gift-experience .gift-hero-perch,
.gift-experience .gift-occasion .mascot-perch { display: inline-block; white-space: nowrap; }
.gift-experience .gift-hero-perch { padding-top: .5em; }
.gift-experience .experience-mascot { left: 50%; bottom: .43em; }
/* Perches wrap whole words so the sprite never splits a word in rendered text;
   76% seats Leo over the "oo" of "storybook". */
.gift-experience .gift-hero-perch--storybook .experience-mascot { left: 76%; }
.gift-experience .gift-occasion .mascot-perch { padding-top: .65em; }
.gift-experience .gift-occasion .page-mascot { left: 50%; bottom: .43em; }
.gift-experience .gift-occasion .story-path-card__eyebrow { margin-bottom: 16px; }
.gift-experience #stories > .wrap > .eyebrow { margin-bottom: 44px; }
.gift-experience .experience-moon-doodle { left: auto; right: 24px; top: 12px; }
.gift-experience .hero-promise { font-size: clamp(1.1rem, 1.7vw, 1.35rem); max-width: 42ch; }
.gift-experience .experience-actions { gap: 16px 22px; }
.gift-how-link { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.gift-experience .gift-offer {
  align-items: center;
  border-top: 1px solid #ffffff30;
  color: #e3e7ec;
  display: flex;
  gap: 14px;
  margin-top: 26px;
  padding-top: 20px;
  max-width: 520px;
}
.gift-experience .gift-offer strong { color: #fff; display: block; font-size: 1rem; line-height: 1.4; }
.gift-experience .gift-offer p { color: #e3e7ec; font-size: .87rem; line-height: 1.5; }
.gift-experience .gift-offer a { color: var(--glow); text-decoration: underline; text-underline-offset: 3px; }
.gift-experience .gift-offer img { flex: 0 0 auto; height: auto; width: 82px; }
.gift-experience .gift-hero__trust { position: relative; z-index: 5; padding-bottom: 32px; }
.gift-experience .gift-trust { display: flex; flex-wrap: wrap; gap: 12px 24px; color: #f1ede7; font-size: .8rem; list-style: none; margin: 0; max-width: 34rem; }
.gift-experience .gift-trust li { color: inherit; display: flex; font-size: .88rem; font-weight: 700; gap: 7px; line-height: 1.35; }
.gift-experience .gift-trust li::before { color: var(--glow); content: "✓"; font-weight: 900; }
.gift-experience .gift-trust a { color: inherit; text-decoration: underline; text-decoration-color: rgba(108,75,214,.5); text-underline-offset: 3px; }
.gift-hero-portrait { margin: 0; justify-self: end; width: 100%; max-width: 350px; transform: rotate(2deg); }
.gift-hero-image { display: block; width: 100%; height: auto; max-height: 470px; object-fit: cover; border: 10px solid var(--paper); border-radius: 28px; box-shadow: 0 24px 65px #0006; }
.gift-hero-portrait figcaption { font-size: .72rem; line-height: 1.5; color: #ffffffc9; margin: 16px 10px 0; }
/* Photo page: the photo and the illustrated character made from it. */
.gift-experience .photo-hero { align-items: start; display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; max-width: 380px; }
.gift-experience .photo-hero img { border: 7px solid var(--paper); border-radius: 24px; box-shadow: 0 24px 52px rgba(42,35,66,.14); display: block; height: auto; width: 100%; }
.gift-experience .photo-hero img + img { margin-top: 48px; }
.gift-experience .photo-hero figcaption { color: #ffffffc9; font-size: .8rem; grid-column: 1 / -1; line-height: 1.5; text-align: center; }
.gift-experience .gift-hero .product-facts-note { color: #ffffffcf; }
.gift-experience .gift-hero .product-facts-note a { color: var(--glow); }
.gift-experience .gift-occasion .story-path-card__media { min-height: 520px; }
.gift-experience .gift-occasion .experience-title { font-size: clamp(2.6rem, 4.2vw, 4rem); }
.gift-experience .gift-video { border: 0; padding: 0; }
.gift-experience .gift-video__layout { grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr); align-items: center; }
.gift-experience .gift-video .ai-keepsake__intro { margin: 0; max-width: 500px; text-align: left; }
.gift-experience .gift-video .ai-keepsake__intro > p:last-of-type { margin: 0; }
.gift-experience .gift-video h2 { color: var(--story-ink); font-size: clamp(2.4rem, 4vw, 3.8rem); line-height: 1.03; }
.gift-experience .gift-video .eyebrow { color: var(--fern); }
.gift-experience .gift-video .ai-keepsake__card { justify-self: center; width: 100%; max-width: 330px; background: var(--paper); border: 0; transform: rotate(-2deg); box-shadow: 0 24px 60px #251c2f26; }
.gift-experience .gift-video figcaption,
.gift-experience .gift-video figcaption strong { color: var(--story-ink); }
.gift-experience .gift-video .ai-keepsake__label { color: var(--fern); }
.gift-experience .gift-video .ai-keepsake__intro > p:not(.eyebrow) { font-size: 1.08rem; line-height: 1.65; color: #5f5669; }
.gift-experience .gift-video .paper-pill { background: var(--violet); border-color: var(--violet); color: #fff; margin-top: 24px; }
.gift-experience main > .band,
.gift-experience main > .block { padding-block: clamp(48px, 6vw, 80px); background: transparent; border-color: #2a23421a; }
.gift-experience .band .experience-title,
.gift-experience .block .experience-title { max-width: 20ch; margin-bottom: 20px; }
.gift-experience .lead { color: #645a70; }
.gift-experience .eyebrow { color: var(--marker); }
.gift-experience .cards { gap: 22px; margin-top: 30px; }
.gift-experience .card { background: #ffffffa8; border: 1px solid #2a23421f; border-radius: 22px; box-shadow: none; padding: 26px; }
.gift-experience .card h3 { font-size: 1.4rem; }
.gift-experience .card-mark { background: #f2ecff; color: var(--violet); }
.gift-experience .steps { margin-top: 28px; }
.gift-experience main > .gift-price-band { background: #f3eddf; }
/* The price beside the real book, the printed dedication, and the Christmas order-by dates. */
.gift-price { align-items: center; display: flex; gap: 16px; margin: 6px 0 18px; }
.gift-price__amount { color: var(--violet); font-family: var(--font-head); font-size: 3.2rem; font-weight: 700; line-height: 1; }
.gift-price__terms { color: var(--ink); font-weight: 700; line-height: 1.4; }
.gift-book-photos { align-items: center; align-self: center; display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.gift-book-photos img { display: block; height: auto; width: 100%; }
.gift-book-photos figcaption { color: var(--muted); font-size: .9rem; grid-column: 1 / -1; line-height: 1.5; text-align: center; }
.gift-experience main > .gift-details { background: #fffdf8; }
.dedication-sample { align-self: center; justify-self: center; margin: 0; max-width: 320px; transform: rotate(2deg); width: 100%; }
.dedication-sample__page { align-content: center; aspect-ratio: 6.25 / 9.25; background: #fff; border: 1px solid var(--border); border-radius: 6px; box-shadow: 0 18px 44px rgba(76,43,158,.14); display: grid; gap: 14px; padding: 36px 28px; text-align: center; }
.dedication-sample__page p { color: var(--ink); font-family: var(--font-head); font-size: 1.12rem; line-height: 1.45; margin: 0; }
.dedication-sample figcaption { color: var(--muted); font-size: .9rem; line-height: 1.5; margin-top: 12px; text-align: center; }
.order-by-dates { display: grid; gap: 10px; margin: 6px 0 18px; }
.order-by-dates > div { align-items: baseline; background: var(--cream); border: 1px solid var(--border); border-radius: 14px; display: flex; flex-wrap: wrap; gap: 4px 14px; justify-content: space-between; padding: 14px 18px; }
.order-by-dates dt { font-weight: 700; }
.order-by-dates dd { color: var(--purple-dark); font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; margin: 0; }
.gift-details .section-copy a,
.christmas-delivery .section-copy a { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }
/* Christmas page: one free library story as a sample of the finished thing. */
.library-pick { justify-self: center; max-width: 420px; width: 100%; }
.library-pick img { aspect-ratio: 7 / 5; }
.gift-experience .related-links a { border-color: #e4cdaf; background: #fffcf7; min-height: 44px; }
.gift-experience .article { max-width: var(--max); }
.gift-experience .article > p { max-width: 70ch; }
.gift-experience .gift-closing-band { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; text-align: left; }
.gift-experience .gift-closing-band h2 { max-width: 20ch; margin: 0; }
.gift-experience .gift-closing-band > p { margin: 0; font-size: 1.1rem; }
.gift-experience .gift-closing-band .paper-pill { margin-top: 10px; }
.gift-experience a:focus-visible,
.gift-experience summary:focus-visible { outline: 3px solid var(--lagoon); outline-offset: 5px; }
@media (max-width: 860px) {
  .gift-experience .experience-hero__content { grid-template-columns: 1fr; padding-top: 44px; gap: 28px; }
  .gift-experience .experience-copy { max-width: 650px; }
  .gift-experience .experience-copy h1 { max-width: 18ch; }
  .gift-experience .gift-hero-portrait { justify-self: center; max-width: 300px; }
  .gift-experience .gift-hero-image { max-height: 340px; object-fit: contain; background: var(--paper); }
  .gift-experience .gift-hero__trust { padding-bottom: 28px; }
  .gift-experience .gift-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
  .gift-experience .gift-video__layout { grid-template-columns: 1fr; }
  .gift-experience .photo-hero { margin: 0 auto; }
  .dedication-sample { max-width: 250px; }
  .dedication-sample__page { padding: 28px 22px; }
  .dedication-sample__page p { font-size: 1rem; }
  .library-pick { max-width: none; }
  .library-pick img { aspect-ratio: auto; }
  .gift-experience .gift-occasion .story-path-card__media { min-height: 350px; width: 100%; max-width: 480px; }
}
@media (max-width: 700px) {
  .gift-experience .gift-occasion .mascot-perch { padding-top: 0; }
  .gift-experience .gift-occasion .story-path-card__eyebrow,
  .gift-experience #stories > .wrap > .eyebrow { margin-bottom: 20px; }
}
@media (max-width: 680px) {
  .gift-experience .experience-copy h1 { font-size: clamp(2.6rem, 10vw, 3.3rem); }
  .gift-experience .experience-actions { align-items: stretch; flex-direction: column; gap: 18px; }
  .gift-experience .experience-actions .paper-pill { width: 100%; min-width: 0; padding: 12px 18px; line-height: 1.35; }
  .gift-experience .gift-how-link { align-self: center; }
  .gift-experience .gift-offer { margin-top: 22px; }
  .gift-experience .gift-hero-portrait { max-width: 245px; }
  .gift-experience .gift-hero-image { max-height: 280px; border-width: 7px; }
  .gift-experience .gift-trust { font-size: .75rem; }
  .gift-experience .gift-occasion .story-path-card__media { min-height: 260px; }
  .gift-experience .gift-occasion .experience-title { font-size: 2.4rem; }
  .gift-experience .gift-video .ai-keepsake__card { max-width: 250px; }
  .gift-experience .cards { gap: 14px; }
  .gift-experience .dedication-sample { margin-top: 16px; }
}
/* Page scrolling is reset on <html> in marketing-mobile.css; this stops the
   homepage components' hover transitions, whose selectors are more specific. */
@media (prefers-reduced-motion: reduce) {
  .gift-experience *, .gift-experience *::before, .gift-experience *::after { transition: none !important; }
}
