body[data-theme="keepsake"] {
  /* Approved Sienna: warm paper, brown ink and terracotta accents. */
  --bg: #fbf4eb;
  --surface: #fffaf3;
  --paper: #fffaf3;
  --ink: #4d3027;
  --muted: #78675e;
  --accent: #ad4d2f;
  --accent-strong: #8b3b24;
  --accent-soft: #f2dccd;
  --line: #e4d3c2;
  --tint: #f2e1d1;
  --footer-bg: #4d3027;
  --footer-ink: #fff6e8;
  --highlight: #8f6141;
  --ks-shadow: color-mix(in srgb, var(--ink) 12%, transparent);
  --ks-shadow-soft: color-mix(in srgb, var(--ink) 6%, transparent);
  --ks-thread: color-mix(in srgb, var(--accent) 28%, var(--line));
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Manrope", Arial, sans-serif;
  color: var(--ink);
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.045' filter='url(%23n)'/%3E%3C/svg%3E");
  font-family: var(--sans);
}

body[data-theme="keepsake"] ::selection { color: var(--paper); background: var(--accent-strong); }
body[data-theme="keepsake"] .site-header { background: color-mix(in srgb, var(--bg) 94%, transparent); border-bottom: 1px solid var(--line); }
body[data-theme="keepsake"] .brand { color: var(--ink); letter-spacing: -.025em; }
body[data-theme="keepsake"] .nav-link { font-size: .875rem; font-weight: 500; }
body[data-theme="keepsake"] .header-app { border-radius: 7px; background: transparent; color: var(--paper); }
body[data-theme="keepsake"] .mobile-menu { background: var(--bg); }
body[data-theme="keepsake"] .section { padding-block: clamp(80px, 8vw, 120px); padding-inline: 0; }
body[data-theme="keepsake"] .section-inner { width: min(88%, 1260px); margin-inline: auto; }
body[data-theme="keepsake"] .eyebrow { display: block; font-family: var(--sans); font-size: .875rem; font-weight: 500; line-height: 1.5; letter-spacing: .075em; text-transform: uppercase; }
body[data-theme="keepsake"] .section-title { margin: 22px 0 25px; font-family: var(--serif); font-size: clamp(3.3rem, 4.8vw, 5.2rem); font-weight: 400; line-height: 1.01; letter-spacing: -.03em; text-wrap: balance; }
body[data-theme="keepsake"] .section-title em { font-weight: 400; }
body[data-theme="keepsake"] .body-copy { color: var(--muted); font-size: 1.0625rem; line-height: 1.85; }
body[data-theme="keepsake"] .button { min-height: 52px; border-radius: 7px; padding: 14px 24px; font-size: .9375rem; font-weight: 500; line-height: 1.4; }
body[data-theme="keepsake"] .button-primary { color: var(--paper); background: var(--accent); border-color: var(--accent); }
body[data-theme="keepsake"] .button-primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
body[data-theme="keepsake"] .button-secondary { color: var(--ink); background: transparent; border: 1px solid var(--line); }
body[data-theme="keepsake"] .button-secondary:hover { color: var(--ink); background: var(--tint); border-color: var(--accent-strong); }
body[data-theme="keepsake"] .keepsake-app-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 53px; padding: 14px 24px; color: var(--paper); background: var(--accent); border: 1px solid var(--accent); border-radius: 7px; font-size: .9375rem; font-weight: 500; line-height: 1.4; text-decoration: none; transition: background .25s ease, transform .25s ease, box-shadow .25s ease; }
body[data-theme="keepsake"] .keepsake-app-button:hover { background: var(--accent-strong); transform: translateY(-2px); box-shadow: 0 7px 15px var(--ks-shadow); }
body[data-theme="keepsake"] .keepsake-text-link { display: inline-flex; align-items: center; width: fit-content; min-height: 44px; padding-block: 7px; color: var(--ink); border-bottom: 1px solid var(--line); font-size: .9375rem; font-weight: 500; line-height: 1.5; text-decoration: none; transition: color .2s ease, border-color .2s ease; }
body[data-theme="keepsake"] .keepsake-text-link:hover { color: var(--accent); border-color: var(--accent); }
body[data-theme="keepsake"] .keepsake-free-note { display: block; color: var(--muted); font-size: .875rem; line-height: 1.6; }
body[data-theme="keepsake"] a:focus-visible,
body[data-theme="keepsake"] button:focus-visible,
body[data-theme="keepsake"] input:focus-visible,
body[data-theme="keepsake"] summary:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 5px; }
body[data-theme="keepsake"] .button:active,
body[data-theme="keepsake"] .keepsake-app-button:active { transform: translateY(0); box-shadow: none; }
body[data-theme="keepsake"] .button:focus-visible,
body[data-theme="keepsake"] .keepsake-app-button:focus-visible { box-shadow: 0 0 0 4px var(--bg); }
body[data-theme="keepsake"] .menu-toggle { border-color: var(--line); background: var(--paper); }
body[data-theme="keepsake"] .mobile-menu a:not(.button) { min-height: 48px; border-bottom: 1px solid var(--line); }
body[data-theme="keepsake"] .mobile-menu a[aria-current="page"] { color: var(--accent-strong); }
body[data-theme="keepsake"] .header-app .button { min-height: 44px; font-size: .875rem; }
body[data-theme="keepsake"] .body-copy,
body[data-theme="keepsake"] .keepsake-chapter p,
body[data-theme="keepsake"] .journal-card p { text-wrap: pretty; }

/* A centered cover, framed by a few tangible memories. */
body[data-theme="keepsake"] .keepsake-hero { position: relative; padding-top: 40px; overflow: hidden; }
body[data-theme="keepsake"] .keepsake-hero-content { position: relative; z-index: 2; width: min(92%, 800px); margin-inline: auto; text-align: center; }
body[data-theme="keepsake"] .keepsake-hero-eyebrow { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--muted); font-size: .875rem; letter-spacing: .04em; text-transform: none; }
body[data-theme="keepsake"] .keepsake-hero-eyebrow svg { color: var(--accent); stroke-width: 1.5; flex: 0 0 auto; }
body[data-theme="keepsake"] .keepsake-hero h1 { margin: 20px 0 22px; font-family: var(--serif); font-size: clamp(4.2rem, 7.1vw, 6.6rem); font-weight: 400; line-height: .94; letter-spacing: -.035em; text-wrap: balance; }
body[data-theme="keepsake"] .keepsake-hero h1 em { font-weight: 400; color: var(--accent); }
body[data-theme="keepsake"] .keepsake-hero-content > p { margin: 0; color: var(--muted); font-size: 1.0625rem; line-height: 1.65; }
body[data-theme="keepsake"] .keepsake-hero-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 25px; }
body[data-theme="keepsake"] .keepsake-hero-content > .keepsake-free-note { margin-top: 11px; }
body[data-theme="keepsake"] .hero-keepsake { position: absolute; z-index: 1; top: 147px; width: clamp(152px, 15.6vw, 214px); text-align: center; }
body[data-theme="keepsake"] .hero-keepsake-boat { left: max(18px, calc(50% - 645px)); }
body[data-theme="keepsake"] .hero-keepsake-letter { right: max(18px, calc(50% - 645px)); top: 112px; }
body[data-theme="keepsake"] .hero-keepsake-art { display: block; width: 100%; aspect-ratio: 1; overflow: hidden; }
body[data-theme="keepsake"] .hero-keepsake-art img { display: block; width: 200%; max-width: none; height: 100%; object-fit: fill; }
body[data-theme="keepsake"] .hero-keepsake-letter img { transform: translateX(-50%); }
body[data-theme="keepsake"] .hero-keepsake-caption { display: block; margin: 4px -10px 0; color: var(--highlight); font-family: var(--serif); font-size: 1.38rem; font-style: italic; line-height: 1.15; transform: rotate(-6deg); }
body[data-theme="keepsake"] .hero-keepsake-letter .hero-keepsake-caption { transform: rotate(5deg); }
body[data-theme="keepsake"] .hero-doodle { position: absolute; top: -32px; left: 17%; color: #bc813b; font-size: 2.1rem; font-family: var(--serif); line-height: 1; }
body[data-theme="keepsake"] .hero-keepsake-letter .hero-doodle { top: auto; bottom: 48px; left: auto; right: -16px; font-size: 2.8rem; }
body[data-theme="keepsake"] .hero-little-notes { display: flex; justify-content: center; align-items: center; gap: 13px 28px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--muted); }
body[data-theme="keepsake"] .hero-little-notes li { display: inline-flex; align-items: center; gap: 7px; font-size: .875rem; line-height: 1.5; }
body[data-theme="keepsake"] .hero-little-notes li > span { display: inline-block; font-size: 1.0625rem; line-height: 1; }
body[data-theme="keepsake"] .keepsake-scene { position: relative; width: min(80%, 1130px); margin: 38px auto 34px; padding-bottom: 25px; }
body[data-theme="keepsake"] .keepsake-family-panorama { position: relative; z-index: 1; width: 100%; margin: 0; height: clamp(330px, 30.5vw, 430px); overflow: hidden; border: 9px solid var(--paper); border-radius: 120px 120px 5px 5px; box-shadow: 0 22px 45px var(--ks-shadow-soft), 0 2px 5px var(--ks-shadow); }
body[data-theme="keepsake"] .keepsake-family-panorama > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
body[data-theme="keepsake"] .keepsake-scene-thread { position: absolute; z-index: 0; width: calc(100% + 140px); height: 116%; left: -70px; top: -21px; color: var(--ks-thread); pointer-events: none; }
body[data-theme="keepsake"] .keepsake-paper { --paper-rotation: 0deg; position: absolute; z-index: 3; margin: 0; padding: 9px 9px 11px; background: var(--paper); border: 1px solid var(--line); border-radius: 2px; box-shadow: 0 8px 24px var(--ks-shadow), 0 1px 3px var(--ks-shadow-soft); transform: rotate(var(--paper-rotation)); animation: keepsake-paper-float 7s ease-in-out infinite; }
body[data-theme="keepsake"] .keepsake-paper img { display: block; width: 100%; height: auto; aspect-ratio: 1.2; object-fit: cover; }
body[data-theme="keepsake"] .keepsake-paper figcaption { margin-top: 10px; font-family: var(--serif); font-size: 1.25rem; font-style: italic; line-height: 1.1; text-align: center; }
body[data-theme="keepsake"] .keepsake-paper-beginning { left: -72px; bottom: 26px; width: 190px; animation-delay: -1.5s; }
body[data-theme="keepsake"] .keepsake-paper-beginning img { object-position: 42% 66%; }
body[data-theme="keepsake"] .keepsake-paper-memory { top: 21px; right: -74px; width: 202px; animation-delay: -4.5s; }
body[data-theme="keepsake"] .keepsake-paper-memory img { aspect-ratio: 1.4; }
body[data-theme="keepsake"] .keepsake-scene-note { position: absolute; z-index: 4; right: -57px; bottom: 5px; color: var(--highlight); font-family: var(--serif); font-size: 1.65rem; font-style: italic; line-height: 1.08; text-align: center; transform: rotate(7deg); }

/* Three illustrated chapters, connected by a quiet hand-drawn line. */
body[data-theme="keepsake"] .keepsake-chapters { padding-top: clamp(60px, 5.5vw, 86px); }
body[data-theme="keepsake"] .keepsake-centered-heading { text-align: center; }
body[data-theme="keepsake"] .keepsake-centered-heading .section-title { margin-top: 20px; }
body[data-theme="keepsake"] .keepsake-centered-heading .body-copy { margin: 0 auto; }
body[data-theme="keepsake"] .keepsake-chapter-grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: clamp(28px, 4.7vw, 72px); margin-top: 66px; }
body[data-theme="keepsake"] .keepsake-chapter-thread { position: absolute; z-index: 0; top: 125px; left: 0; width: 100%; color: var(--ks-thread); pointer-events: none; }
body[data-theme="keepsake"] .keepsake-chapter { --chapter-rotation: -2.2deg; position: relative; z-index: 1; }
body[data-theme="keepsake"] .keepsake-chapter figure { margin: 0; padding: 9px; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 12px 27px var(--ks-shadow-soft); transform: rotate(var(--chapter-rotation)); transition: transform .55s cubic-bezier(.22, 1, .36, 1), box-shadow .55s ease; }
body[data-theme="keepsake"] .keepsake-chapter figure img { width: 100%; height: auto; display: block; aspect-ratio: 1.15; object-fit: cover; }
body[data-theme="keepsake"] .keepsake-chapter-beginning figure img { object-position: 38% 65%; }
body[data-theme="keepsake"] .keepsake-chapter-choice { --chapter-rotation: 2deg; padding-top: 56px; }
body[data-theme="keepsake"] .keepsake-chapter-people { --chapter-rotation: -1.5deg; padding-top: 12px; }
body[data-theme="keepsake"] .keepsake-chapter:hover figure { transform: rotate(0deg) translateY(-4px); box-shadow: 0 17px 31px var(--ks-shadow-soft); }
body[data-theme="keepsake"] .keepsake-chapter-copy { padding: 29px 5px 0; }
body[data-theme="keepsake"] .keepsake-chapter-copy .eyebrow { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; color: var(--accent-strong); font-size: .875rem; letter-spacing: .065em; }
body[data-theme="keepsake"] .keepsake-chapter-index { display: inline-grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); font-family: var(--serif); font-size: 1rem; line-height: 1; letter-spacing: 0; }
body[data-theme="keepsake"] .keepsake-chapter h3 { margin: 12px 0 16px; font-family: var(--serif); font-size: clamp(2rem, 2.8vw, 2.65rem); font-weight: 400; line-height: 1.04; letter-spacing: -.02em; }
body[data-theme="keepsake"] .keepsake-chapter p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.8; }
body[data-theme="keepsake"] .keepsake-chapter-closing { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 58px; padding-top: 24px; border-top: 1px solid var(--line); }
body[data-theme="keepsake"] .keepsake-chapter-closing > span { color: var(--muted); font-family: var(--serif); font-size: 1.5rem; font-style: italic; line-height: 1.3; }

/* An open-page invitation: art and reading share one generous spread. */
body[data-theme="keepsake"] .keepsake-invitation { padding-top: 12px; padding-bottom: 32px; }
body[data-theme="keepsake"] .keepsake-invitation-layout { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: clamp(38px, 5.3vw, 78px); padding: 46px; border: 1px solid var(--line); border-radius: 14px; background: color-mix(in srgb, var(--tint) 82%, var(--bg)); }
body[data-theme="keepsake"] .keepsake-invitation-art { position: relative; min-width: 0; }
body[data-theme="keepsake"] .keepsake-story-album { display: flex; flex-direction: column; gap: 18px; }
body[data-theme="keepsake"] .keepsake-story-cover { position: relative; display: block; overflow: hidden; aspect-ratio: 1.45; border: 8px solid var(--paper); border-radius: 76px 5px 5px 5px; background: var(--accent-soft); box-shadow: 0 14px 30px var(--ks-shadow-soft); isolation: isolate; }
body[data-theme="keepsake"] .keepsake-story-cover > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; transition: transform .8s cubic-bezier(.22, 1, .36, 1); }
body[data-theme="keepsake"] .keepsake-story-cover::after { position: absolute; z-index: 0; inset: 30% 0 0; content: ""; pointer-events: none; background: linear-gradient(transparent, color-mix(in srgb, var(--footer-bg) 90%, transparent)); }
body[data-theme="keepsake"] .keepsake-story-cover-label { position: absolute; z-index: 1; bottom: 24px; left: 24px; right: 78px; color: var(--footer-ink); }
body[data-theme="keepsake"] .keepsake-story-cover-label > span { display: block; margin-bottom: 9px; font-size: .875rem; line-height: 1.4; }
body[data-theme="keepsake"] .keepsake-story-cover-label > strong { display: block; font-family: var(--serif); font-size: clamp(1.9rem, 2.6vw, 2.6rem); font-weight: 400; line-height: 1; letter-spacing: -.015em; }
body[data-theme="keepsake"] .keepsake-story-play { position: absolute; z-index: 1; right: 22px; bottom: 24px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--paper); color: var(--accent-strong); transition: transform .3s ease, background .3s ease; }
body[data-theme="keepsake"] .keepsake-story-play svg { margin-left: 2px; }
body[data-theme="keepsake"] .keepsake-story-cover:hover > img { transform: scale(1.035); }
body[data-theme="keepsake"] .keepsake-story-cover:hover .keepsake-story-play { transform: scale(1.07); background: var(--accent-soft); }
body[data-theme="keepsake"] .keepsake-story-filmstrip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; padding-inline: 4px; }
body[data-theme="keepsake"] .keepsake-story-filmstrip figure { margin: 0; padding: 6px 6px 11px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper); box-shadow: 0 6px 16px var(--ks-shadow-soft); }
body[data-theme="keepsake"] .keepsake-story-filmstrip figure:first-child { transform: rotate(-2deg); }
body[data-theme="keepsake"] .keepsake-story-filmstrip figure:last-child { transform: rotate(2deg); }
body[data-theme="keepsake"] .keepsake-story-filmstrip img { display: block; width: 100%; height: auto; aspect-ratio: 1.45; object-fit: cover; }
body[data-theme="keepsake"] .keepsake-story-filmstrip figcaption { display: flex; flex-direction: column; gap: 3px; min-height: 4.1em; align-items: center; justify-content: start; margin-top: 10px; color: var(--muted); font-size: .875rem; line-height: 1.4; text-align: center; }
body[data-theme="keepsake"] .keepsake-story-age { color: var(--accent-strong); font-size: .875rem; line-height: 1.5; }
body[data-theme="keepsake"] .keepsake-invitation-copy { padding: 22px 8px 22px 0; }
body[data-theme="keepsake"] .keepsake-invitation-copy .section-title { margin-top: 22px; font-size: clamp(3rem, 4.1vw, 4.5rem); line-height: 1.02; }
body[data-theme="keepsake"] .keepsake-invitation-copy .body-copy { margin-bottom: 25px; }
body[data-theme="keepsake"] .keepsake-story-details { display: flex; flex-wrap: wrap; gap: 14px 23px; margin-bottom: 28px; padding-block: 17px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
body[data-theme="keepsake"] .keepsake-story-details > span { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: .875rem; line-height: 1.5; }
body[data-theme="keepsake"] .keepsake-story-details svg { color: var(--accent); }
body[data-theme="keepsake"] .keepsake-invitation-copy .keepsake-free-note { max-width: 370px; margin-top: 17px; line-height: 1.7; }

/* The actual app has its own place in the album. */
body[data-theme="keepsake"] .keepsake-app-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(48px, 7vw, 104px); }
body[data-theme="keepsake"] .keepsake-app-copy { max-width: 525px; }
body[data-theme="keepsake"] .keepsake-app-copy > .body-copy { max-width: 465px; }
body[data-theme="keepsake"] .keepsake-feature-list { display: flex; flex-direction: column; gap: 24px; margin: 35px 0 29px; }
body[data-theme="keepsake"] .keepsake-feature-list > div { display: grid; grid-template-columns: 34px 1fr; align-items: start; gap: 16px; }
body[data-theme="keepsake"] .keepsake-feature-list > div > svg { box-sizing: content-box; margin-top: 3px; padding: 5px; color: var(--accent); stroke-width: 1.5; }
body[data-theme="keepsake"] .keepsake-feature-list h3 { margin: 0 0 7px; color: var(--ink); font-size: 1rem; font-weight: 600; line-height: 1.5; }
body[data-theme="keepsake"] .keepsake-feature-list p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.75; }
body[data-theme="keepsake"] .keepsake-app-quiet-note { display: flex; align-items: center; gap: 10px; margin: 0 0 25px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: .875rem; line-height: 1.6; }
body[data-theme="keepsake"] .keepsake-app-quiet-note svg { flex-shrink: 0; color: var(--accent); }
body[data-theme="keepsake"] .keepsake-app-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
body[data-theme="keepsake"] .keepsake-product-exhibit { position: relative; min-width: 0; }
body[data-theme="keepsake"] .keepsake-product-scene { position: relative; display: grid; place-items: center; min-height: 690px; padding: 46px 30px 54px; }
body[data-theme="keepsake"] .keepsake-product-arch { position: absolute; inset: 26px 12px 27px; z-index: 0; border: 1px solid color-mix(in srgb, var(--line) 70%, transparent); border-radius: 46% 46% 12px 12px; background: var(--tint); background-image: radial-gradient(ellipse at 50% 25%, var(--paper) 0, var(--tint) 80%); transform: rotate(3deg); }
body[data-theme="keepsake"] .keepsake-product-thread { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; color: var(--ks-thread); pointer-events: none; }
body[data-theme="keepsake"] .keepsake-product-panels { position: relative; z-index: 2; width: min(76%, 274px); aspect-ratio: 600 / 1300; }
body[data-theme="keepsake"] .keepsake-product-shot { position: relative; width: 100%; margin: 0; transform: rotate(3deg); transition: transform .6s cubic-bezier(.22, 1, .36, 1); }
body[data-theme="keepsake"] .keepsake-product-shot figcaption { display: none; }
body[data-theme="keepsake"] .product-shot img { box-shadow: 0 20px 48px var(--ks-shadow); }
body[data-theme="keepsake"] .keepsake-product-scene:hover .keepsake-product-shot { transform: rotate(1.5deg) translateY(-3px); }
body[data-theme="keepsake"] .keepsake-product-note { position: absolute; z-index: 3; left: -3px; top: 47px; color: var(--highlight); font-family: var(--serif); font-size: 1.65rem; font-style: italic; line-height: 1.12; transform: rotate(-8deg); pointer-events: none; }
body[data-theme="keepsake"] .keepsake-product-tabs { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; width: min(100%, 390px); margin: 8px auto 0; padding: 5px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); }
body[data-theme="keepsake"] .keepsake-product-tabs button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 45px; padding: 10px 13px; border: 1px solid transparent; border-radius: 5px; background: transparent; color: var(--muted); font-size: .875rem; line-height: 1.4; transition: background .2s ease, color .2s ease, border-color .2s ease; }
body[data-theme="keepsake"] .keepsake-product-tabs button > span { font-family: var(--serif); font-size: 1rem; line-height: 1; }
body[data-theme="keepsake"] .keepsake-product-tabs button:hover { background: var(--accent-soft); color: var(--accent-strong); }
body[data-theme="keepsake"] .keepsake-product-tabs button[aria-selected="true"] { border-color: var(--accent); background: var(--accent); color: var(--paper); }
body[data-theme="keepsake"] .keepsake-product-tabs button:focus-visible { position: relative; z-index: 1; outline-offset: 3px; }
body[data-theme="keepsake"] .keepsake-product-caption { max-width: 410px; margin: 20px auto 0; color: var(--muted); text-align: center; }
body[data-theme="keepsake"] .keepsake-product-caption > span { color: var(--accent-strong); font-size: .875rem; line-height: 1.5; }
body[data-theme="keepsake"] .keepsake-product-caption p { min-height: 3.2em; max-width: 370px; margin: 9px auto 0; font-size: 1rem; line-height: 1.6; text-wrap: balance; }
body[data-theme="keepsake"] .keepsake-product-zoom { position: relative; }
body[data-theme="keepsake"] .keepsake-product-shot .keepsake-product-zoom > span { position: absolute; left: 50%; bottom: -20px; min-height: 40px; margin: 0; padding: 8px 15px; border: 1px solid var(--line); border-radius: 25px; background: var(--paper); color: var(--ink); box-shadow: 0 4px 12px var(--ks-shadow); white-space: nowrap; transform: translateX(-50%); }
body[data-theme="keepsake"] .keepsake-product-shot .keepsake-product-zoom:hover img { transform: none; }

/* Covers laid out on a desk, with enough quiet space to keep reading easy. */
body[data-theme="keepsake"] .keepsake-journal { padding-top: 42px; padding-bottom: 110px; }
body[data-theme="keepsake"] .keepsake-journal-heading { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 55px; }
body[data-theme="keepsake"] .keepsake-journal-heading .section-title { margin-bottom: 0; }
body[data-theme="keepsake"] .keepsake-journal-heading > div:last-child { max-width: 370px; padding-bottom: 6px; }
body[data-theme="keepsake"] .keepsake-journal-heading .body-copy { margin: 0 0 14px; }
body[data-theme="keepsake"] .keepsake-journal-link { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
body[data-theme="keepsake"] .keepsake-journal-link > span { color: var(--muted); font-size: .875rem; line-height: 1.5; }
body[data-theme="keepsake"] .journal-grid { gap: 28px; }
body[data-theme="keepsake"] .journal-card { border: 1px solid var(--line); border-radius: 4px; background: var(--paper); overflow: hidden; box-shadow: 0 9px 24px var(--ks-shadow-soft); }
body[data-theme="keepsake"] .journal-card-image { aspect-ratio: 1.36; border-radius: 0; }
body[data-theme="keepsake"] .journal-card img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; }
body[data-theme="keepsake"] .journal-card-content { padding: 22px 22px 24px; }
body[data-theme="keepsake"] .journal-card h3 { color: var(--ink); font-family: var(--serif); font-size: 2rem; font-weight: 400; letter-spacing: -.02em; line-height: 1.09; }
body[data-theme="keepsake"] .journal-card p { color: var(--muted); font-size: 1rem; line-height: 1.7; }
body[data-theme="keepsake"] .keepsake-journal-covers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 35px; align-items: stretch; }
body[data-theme="keepsake"] .journal-grid.keepsake-journal-covers > .journal-card { display: block; }
body[data-theme="keepsake"] .keepsake-journal-covers > :first-child { --cover-rotation: -1.25deg; }
body[data-theme="keepsake"] .keepsake-journal-covers > :nth-child(2) { --cover-rotation: 1deg; margin-top: 20px; }
body[data-theme="keepsake"] .keepsake-journal-covers > :nth-child(3) { --cover-rotation: -.85deg; }
body[data-theme="keepsake"] .keepsake-journal-covers .journal-card { padding: 10px; transform: rotate(var(--cover-rotation, 0deg)); transform-origin: center center; transition: transform .4s cubic-bezier(.22, 1, .36, 1), box-shadow .4s ease; }
body[data-theme="keepsake"] .keepsake-journal-covers .journal-card-link { display: flex; flex-direction: column; height: 100%; }
body[data-theme="keepsake"] .keepsake-journal-covers .journal-card-content { display: flex; flex: 1; flex-direction: column; align-items: start; padding: 24px 12px 19px; }
body[data-theme="keepsake"] .keepsake-journal-covers .journal-card .text-link { margin-top: auto; padding-top: 10px; }
body[data-theme="keepsake"] .keepsake-journal-covers .journal-card:focus-within,
body[data-theme="keepsake"] .keepsake-journal-covers .journal-card:hover { transform: rotate(0deg) translateY(-4px); box-shadow: 0 16px 32px var(--ks-shadow-soft); }
body[data-theme="keepsake"] .keepsake-journal-covers .journal-card-link:focus-visible { outline-offset: -3px; }
body[data-theme="keepsake"] .keepsake-journal-covers .journal-card h3,
body[data-theme="keepsake"] .keepsake-journal-covers .journal-card p { margin-inline: 0; }

body[data-theme="keepsake"] .keepsake-last-page { position: relative; margin-top: 12px; padding-block: 84px 100px; border-top: 1px solid var(--line); background-color: var(--tint); background-image: radial-gradient(ellipse at top, var(--paper), transparent 75%); }
body[data-theme="keepsake"] .keepsake-last-content { text-align: center; }
body[data-theme="keepsake"] .keepsake-last-memory { position: relative; width: 252px; margin: 0 auto 38px; padding: 7px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper); box-shadow: 0 12px 28px var(--ks-shadow); transform: rotate(-3deg); }
body[data-theme="keepsake"] .keepsake-last-memory img { display: block; width: 100%; height: auto; aspect-ratio: 1.6; object-fit: cover; object-position: 48% 47%; }
body[data-theme="keepsake"] .keepsake-last-mark { position: absolute; right: -18px; bottom: -14px; display: grid; place-items: center; width: 48px; height: 48px; color: var(--highlight); border: 1px solid var(--line); border-radius: 50%; background: var(--paper); transform: rotate(8deg); }
body[data-theme="keepsake"] .keepsake-last-mark svg { stroke-width: 1.35; }
body[data-theme="keepsake"] .keepsake-last-page h2 { margin: 23px 0 22px; font-family: var(--serif); font-size: clamp(3.8rem, 6.2vw, 6rem); font-weight: 400; line-height: .98; letter-spacing: -.035em; }
body[data-theme="keepsake"] .keepsake-last-page h2 em { color: var(--accent); font-weight: 400; }
body[data-theme="keepsake"] .keepsake-last-content > p { margin: 0 0 27px; color: var(--muted); font-size: 1.0625rem; line-height: 1.75; }
body[data-theme="keepsake"] .keepsake-last-content > .keepsake-free-note { margin-top: 17px; }
body[data-theme="keepsake"] .site-footer { color: var(--footer-ink); background: var(--footer-bg); border-color: color-mix(in srgb, var(--footer-ink) 20%, transparent); }
body[data-theme="keepsake"] .site-footer .brand,
body[data-theme="keepsake"] .site-footer .footer-links a { color: var(--footer-ink); }
body[data-theme="keepsake"] .site-footer .footer-brand p,
body[data-theme="keepsake"] .site-footer .footer-title,
body[data-theme="keepsake"] .site-footer .footer-bottom,
body[data-theme="keepsake"] .site-footer .motion-toggle { color: color-mix(in srgb, var(--footer-ink) 80%, transparent); }
body[data-theme="keepsake"] .site-footer .footer-bottom { border-color: color-mix(in srgb, var(--footer-ink) 22%, transparent); }
body[data-theme="keepsake"] .site-footer .brand-mark circle:last-child { fill: var(--footer-ink); }

/* Interior pages form one considered, illustrated publication. */
body[data-theme="keepsake"] .page-hero { width: min(88%, 1260px); max-width: 1260px; margin-inline: auto; padding: 76px 0 52px; background: transparent; border-bottom: 1px solid var(--line); }
body[data-theme="keepsake"] .page-hero h1 { max-width: 960px; margin-bottom: 24px; font-family: var(--serif); font-size: clamp(3.7rem, 6.7vw, 6.5rem); font-weight: 400; line-height: 1; letter-spacing: -.035em; text-wrap: balance; }
body[data-theme="keepsake"] .page-hero h1 em { color: var(--accent); }
body[data-theme="keepsake"] .page-hero p { color: var(--muted); font-size: 1.0625rem; line-height: 1.8; }
body[data-theme="keepsake"] .page-hero .eyebrow { color: var(--accent-strong); font-size: .875rem; line-height: 1.5; }
body[data-theme="keepsake"] .page-hero .lead { max-width: 640px; margin-bottom: 0; font-size: 1.125rem; }
body[data-theme="keepsake"] .breadcrumb { gap: 13px; margin-bottom: 28px; font-size: .875rem; letter-spacing: .035em; line-height: 1.5; }
body[data-theme="keepsake"] .breadcrumb a { text-underline-offset: 4px; }
body[data-theme="keepsake"] .breadcrumb a:hover { text-decoration: underline; }
body[data-theme="keepsake"] .inner-page { width: min(88%, 1260px); max-width: 1260px; margin-inline: auto; padding: 0 0 100px; }
body[data-theme="keepsake"] .inner-page h2,
body[data-theme="keepsake"] .article-prose h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.025em; }
body[data-theme="keepsake"] .section-inset { padding-top: 84px; }
body[data-theme="keepsake"] .how-steps,
body[data-theme="keepsake"] .section-inset { scroll-margin-top: 112px; }
body[data-theme="keepsake"] .keepsake-page-journal .page-hero,
body[data-theme="keepsake"] .keepsake-page-support .page-hero { display: grid; grid-template-columns: minmax(0, 1fr) 330px; align-items: start; column-gap: clamp(40px, 7vw, 100px); }
body[data-theme="keepsake"] .keepsake-page-journal .page-hero > :not(.keepsake-page-vignette),
body[data-theme="keepsake"] .keepsake-page-support .page-hero > :not(.keepsake-page-vignette) { grid-column: 1; }
body[data-theme="keepsake"] .keepsake-page-vignette { grid-column: 2; grid-row: 1 / 6; align-self: center; width: 100%; margin: 0; padding: 9px 9px 15px; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 12px 30px var(--ks-shadow-soft); transform: rotate(3deg); }
body[data-theme="keepsake"] .keepsake-page-vignette img { display: block; width: 100%; height: auto; aspect-ratio: 1.2; object-fit: cover; }
body[data-theme="keepsake"] .keepsake-page-vignette figcaption { margin-top: 14px; color: var(--highlight); font-family: var(--serif); font-size: 1.45rem; font-style: italic; line-height: 1.2; text-align: center; }
body[data-theme="keepsake"] .keepsake-page-support .keepsake-page-vignette { max-width: 290px; justify-self: end; transform: rotate(-3deg); }
body[data-theme="keepsake"] .keepsake-page-support .keepsake-page-vignette img { aspect-ratio: 1.05; object-position: 40% 60%; }
body[data-theme="keepsake"] .keepsake-page-index { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
body[data-theme="keepsake"] .keepsake-page-index a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; color: var(--ink); border: 1px solid var(--line); border-radius: 6px; background: var(--paper); font-size: .875rem; line-height: 1.5; transition: border-color .2s, background .2s; }
body[data-theme="keepsake"] .keepsake-page-index a:hover { border-color: var(--accent); background: var(--accent-soft); }

/* Journal: a featured opening story and a calm, searchable collection. */
body[data-theme="keepsake"] .journal-controls { gap: 24px; margin: 0 0 30px; padding: 25px 0; border-top: 0; border-bottom: 1px solid var(--line); }
body[data-theme="keepsake"] .filter-tabs { gap: 7px; }
body[data-theme="keepsake"] .filter-tab { min-height: 44px; padding: 10px 16px; color: var(--muted); border: 1px solid transparent; border-radius: 24px; background: transparent; font-size: .875rem; line-height: 1.5; transition: color .2s, background .2s, border-color .2s; }
body[data-theme="keepsake"] .filter-tab:hover { color: var(--accent-strong); background: var(--accent-soft); }
body[data-theme="keepsake"] .filter-tab.active { color: var(--paper); border-color: var(--accent); background: var(--accent); }
body[data-theme="keepsake"] .search-wrap { min-width: 225px; max-width: 275px; min-height: 48px; padding: 10px 14px; gap: 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); }
body[data-theme="keepsake"] .search-wrap input { min-width: 0; padding: 0; font-size: 1rem; line-height: 1.5; }
body[data-theme="keepsake"] .search-wrap input:focus-visible { outline: none; }
body[data-theme="keepsake"] .search-wrap:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; border-color: var(--accent); }
body[data-theme="keepsake"] .journal-results-count { margin-bottom: 26px; color: var(--muted); font-size: .875rem; }
body[data-theme="keepsake"] .journal-results .journal-grid { row-gap: 32px; align-items: stretch; }
body[data-theme="keepsake"] .journal-results .journal-card { min-width: 0; transition: box-shadow .35s, transform .35s; }
body[data-theme="keepsake"] .journal-results .journal-card-link { display: flex; flex-direction: column; height: 100%; }
body[data-theme="keepsake"] .journal-results .journal-card-content { display: flex; flex: 1; flex-direction: column; align-items: start; padding: 25px 25px 28px; }
body[data-theme="keepsake"] .journal-results .journal-card .text-link { margin-top: auto; }
body[data-theme="keepsake"] .journal-results .journal-card:first-child { grid-column: 1 / -1; padding: 10px; }
body[data-theme="keepsake"] .journal-results .journal-card:first-child .journal-card-link { display: grid; grid-template-columns: 1.12fr 1fr; align-items: stretch; min-height: 365px; }
body[data-theme="keepsake"] .journal-results .journal-card:first-child .journal-card-image { min-height: 365px; height: 100%; aspect-ratio: auto; }
body[data-theme="keepsake"] .journal-results .journal-card:first-child .journal-card-content { justify-content: center; padding: clamp(30px, 4vw, 55px); }
body[data-theme="keepsake"] .journal-results .journal-card:first-child h3 { max-width: 470px; font-size: clamp(2.45rem, 3.6vw, 3.6rem); line-height: 1.04; }
body[data-theme="keepsake"] .journal-results .journal-card:first-child .text-link { margin-top: 10px; }
body[data-theme="keepsake"] .article-meta { flex-wrap: wrap; gap: 8px 15px; font-size: .875rem; letter-spacing: .025em; line-height: 1.5; }
body[data-theme="keepsake"] .journal-card:hover { box-shadow: 0 14px 32px var(--ks-shadow-soft); }
body[data-theme="keepsake"] .empty-state { padding: 65px 30px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
body[data-theme="keepsake"] .empty-state h2 { margin-bottom: 18px; font-size: 2.7rem; }
body[data-theme="keepsake"] .empty-state p { max-width: 480px; margin: 0 auto 25px; font-size: 1rem; }

/* Articles: a real reading measure, clear navigation and a quiet app invitation. */
body[data-theme="keepsake"] .article-head { width: min(90%, 970px); max-width: 970px; padding: 70px 0 46px; border-bottom: 0; }
body[data-theme="keepsake"] .article-head h1 { max-width: 930px; font-size: clamp(3.45rem, 6.2vw, 6rem); line-height: 1.02; }
body[data-theme="keepsake"] .article-head .lead { max-width: 720px; font-size: 1.125rem; }
body[data-theme="keepsake"] .article-head .article-meta { justify-content: center; gap: 12px 24px; margin: 0 0 24px; font-size: .875rem; }
body[data-theme="keepsake"] .article-cover { width: min(90%, 1170px); max-width: 1170px; margin: 0 auto 66px; padding: 10px; border: 1px solid var(--line); border-radius: 5px; background: var(--paper); box-shadow: 0 15px 35px var(--ks-shadow-soft); }
body[data-theme="keepsake"] .article-cover img { display: block; aspect-ratio: 2.2; border-radius: 2px; }
body[data-theme="keepsake"] .article-layout { width: min(90%, 1120px); max-width: 1120px; padding: 0 0 92px; grid-template-columns: 185px minmax(0, 700px); gap: clamp(45px, 6vw, 85px); }
body[data-theme="keepsake"] .article-aside { font-size: .875rem; }
body[data-theme="keepsake"] .article-aside .eyebrow { margin-bottom: 15px; color: var(--accent-strong); font-size: .875rem; }
body[data-theme="keepsake"] .article-aside nav { border-left: 1px solid var(--line); }
body[data-theme="keepsake"] .article-aside nav a { margin: 0 0 5px -1px; padding: 9px 11px 9px 15px; border-left: 2px solid transparent; border-radius: 0 4px 4px 0; color: var(--muted); font-size: .875rem; line-height: 1.5; transition: color .2s, background .2s, border-color .2s; }
body[data-theme="keepsake"] .article-aside nav a:hover,
body[data-theme="keepsake"] .article-aside nav a[aria-current="location"] { color: var(--accent-strong); border-color: var(--accent); background: var(--accent-soft); }
body[data-theme="keepsake"] .article-aside > .text-link { margin-top: 22px; color: var(--ink); }
body[data-theme="keepsake"] .article-prose { color: var(--ink); font-size: 1.125rem; line-height: 1.9; }
body[data-theme="keepsake"] .article-prose section { margin-bottom: 52px; }
body[data-theme="keepsake"] .article-prose h2 { margin-bottom: 24px; color: var(--ink); font-size: clamp(2.2rem, 3.1vw, 2.8rem); line-height: 1.13; text-wrap: balance; }
body[data-theme="keepsake"] .article-prose p,
body[data-theme="keepsake"] .article-prose li { color: color-mix(in srgb, var(--ink) 86%, var(--muted)); font-size: 1.125rem; line-height: 1.9; text-wrap: pretty; }
body[data-theme="keepsake"] .article-prose p { margin-bottom: 1.45em; }
body[data-theme="keepsake"] .article-prose a { color: var(--accent-strong); text-underline-offset: 4px; }
body[data-theme="keepsake"] .article-prose blockquote { margin-inline: 0; padding: 25px 30px; background: var(--tint); border-left: 2px solid var(--highlight); border-radius: 0 9px 9px 0; font-family: var(--serif); font-size: 1.85rem; line-height: 1.4; }
body[data-theme="keepsake"] .article-prose .sources { margin-top: 42px; padding: 26px 30px; border: 1px solid var(--line); border-radius: 7px; background: var(--tint); }
body[data-theme="keepsake"] .sources h3 { margin-bottom: 15px; color: var(--ink); font-family: var(--sans); font-size: .875rem; font-weight: 600; line-height: 1.5; }
body[data-theme="keepsake"] .sources ul { margin-block: 0; padding-left: 20px; }
body[data-theme="keepsake"] .sources li,
body[data-theme="keepsake"] .sources a { font-size: .875rem; line-height: 1.65; overflow-wrap: anywhere; }
body[data-theme="keepsake"] .article-cta { margin-top: 45px; padding: 30px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
body[data-theme="keepsake"] .article-cta:has(.keepsake-article-keepsake) { display: grid; grid-template-columns: 145px minmax(0, 1fr); align-items: start; gap: 0 26px; padding: 26px; }
body[data-theme="keepsake"] .article-cta:has(.keepsake-article-keepsake) > :not(.keepsake-article-keepsake) { grid-column: 2; }
body[data-theme="keepsake"] .article-cta h3 { margin-bottom: 13px; color: var(--ink); font-family: var(--serif); font-size: 2.2rem; line-height: 1.05; }
body[data-theme="keepsake"] .article-cta p { margin-bottom: 22px; font-size: 1rem; line-height: 1.75; }
body[data-theme="keepsake"] .article-cta .button { justify-self: start; }
body[data-theme="keepsake"] .article-cta .button-primary { color: var(--paper); }
body[data-theme="keepsake"] .article-cta .button-secondary { color: var(--ink); }
body[data-theme="keepsake"] .keepsake-article-keepsake { grid-column: 1; grid-row: 1 / 4; align-self: stretch; margin: 0; padding: 5px; border: 1px solid var(--line); background: var(--paper); transform: rotate(-3deg); }
body[data-theme="keepsake"] .keepsake-article-keepsake img { width: 100%; height: 100%; min-height: 190px; object-fit: cover; object-position: 42% 57%; }

/* The guide gives each practical step, illustration and screenshot its space. */
body[data-theme="keepsake"] .how-intro { grid-template-columns: 1.1fr .9fr; gap: clamp(45px, 8vw, 110px); padding: 64px 0 85px; }
body[data-theme="keepsake"] .how-intro h2 { margin-bottom: 25px; color: var(--ink); font-size: clamp(3.1rem, 4.8vw, 4.8rem); line-height: 1.04; }
body[data-theme="keepsake"] .how-intro p { font-size: 1.0625rem; line-height: 1.8; }
body[data-theme="keepsake"] .how-intro .button { margin-top: 12px; }
body[data-theme="keepsake"] .how-intro-art { padding: 8px; border: 1px solid var(--line); border-radius: 47% 47% 4px 4px; background: var(--paper); box-shadow: 0 15px 35px var(--ks-shadow-soft); }
body[data-theme="keepsake"] .how-intro-art img { aspect-ratio: 1; border-radius: 47% 47% 2px 2px; object-position: 40% 60%; }
body[data-theme="keepsake"] .how-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px; border: 0; }
body[data-theme="keepsake"] .how-step { grid-template-columns: 48px minmax(0, 1fr); gap: 14px 20px; padding: 30px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
body[data-theme="keepsake"] .how-step-icon { width: 48px; height: 48px; color: var(--accent-strong); border: 0; background: var(--accent-soft); }
body[data-theme="keepsake"] .how-step h3 { grid-column: 2; margin: 2px 0 0; font-size: 2.2rem; line-height: 1.06; }
body[data-theme="keepsake"] .how-step p { grid-column: 2; font-size: 1rem; line-height: 1.8; }
body[data-theme="keepsake"] .stat-lenses { gap: 20px; margin-block: 38px 29px; }
body[data-theme="keepsake"] .lens { padding: 29px 25px; border: 1px solid var(--line); border-radius: 7px; background: var(--tint); }
body[data-theme="keepsake"] .lens > svg { color: var(--accent); }
body[data-theme="keepsake"] .lens h3 { margin: 19px 0 14px; font-family: var(--serif); font-size: 2rem; }
body[data-theme="keepsake"] .lens p { font-size: 1rem; line-height: 1.75; }
body[data-theme="keepsake"] .screenshot-strip { gap: 32px; max-width: 900px; margin-block: 45px 25px; }
body[data-theme="keepsake"] .screenshot-strip img { width: 100%; border: 5px solid var(--paper); border-radius: 20px; box-shadow: 0 12px 35px var(--ks-shadow); }
body[data-theme="keepsake"] .keepsake-screenshot-button { display: block; min-width: 0; cursor: zoom-in; }
body[data-theme="keepsake"] .keepsake-screenshot-button > span { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; margin-top: 12px; color: var(--accent-strong); font-size: .875rem; }
body[data-theme="keepsake"] .keepsake-screenshot-button img { transition: transform .4s ease, box-shadow .4s ease; }
body[data-theme="keepsake"] .keepsake-screenshot-button:hover img { transform: translateY(-4px); box-shadow: 0 18px 38px var(--ks-shadow); }
body[data-theme="keepsake"] .screenshot-caption { font-size: .875rem; line-height: 1.65; }
body[data-theme="keepsake"]:has(.keepsake-image-viewer[open]) { overflow: hidden; }
body[data-theme="keepsake"] .keepsake-image-viewer { width: min(92vw, 760px); max-width: 92vw; max-height: 94dvh; padding: 0; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: var(--paper); box-shadow: 0 25px 80px var(--ks-shadow); }
body[data-theme="keepsake"] .keepsake-image-viewer::backdrop { background: color-mix(in srgb, var(--footer-bg) 78%, transparent); backdrop-filter: blur(7px); }
body[data-theme="keepsake"] .keepsake-image-viewer-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 13px 20px; border-bottom: 1px solid var(--line); }
body[data-theme="keepsake"] .keepsake-image-viewer-header > p { margin: 0; font-size: 1rem; line-height: 1.5; }
body[data-theme="keepsake"] .keepsake-image-viewer-header button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: var(--surface); }
body[data-theme="keepsake"] .keepsake-image-viewer-stage { display: flex; justify-content: center; padding: 22px; background: var(--tint); }
body[data-theme="keepsake"] .keepsake-image-viewer-stage img { display: block; width: auto; max-width: 100%; height: min(68dvh, 760px); border-radius: 13px; object-fit: contain; }
body[data-theme="keepsake"] .keepsake-image-viewer-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 20px; border-top: 1px solid var(--line); }
body[data-theme="keepsake"] .keepsake-image-viewer-footer p { margin: 0; color: var(--muted); font-size: .875rem; }
body[data-theme="keepsake"] .keepsake-image-viewer-footer > div { display: flex; gap: 9px; }
body[data-theme="keepsake"] .keepsake-image-viewer-footer button { min-height: 44px; padding: 9px 16px; color: var(--ink); border: 1px solid var(--line); border-radius: 5px; background: var(--surface); font-size: .875rem; }
body[data-theme="keepsake"] .keepsake-image-viewer button:hover { border-color: var(--accent); background: var(--accent-soft); }

/* Support: roomy native disclosures and a clear route to the official help. */
body[data-theme="keepsake"] .support-layout { gap: clamp(40px, 6vw, 80px); padding-top: 42px; grid-template-columns: minmax(0, 1fr) 330px; }
body[data-theme="keepsake"] .faq-item { margin-bottom: 13px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); transition: border-color .2s, background .2s; }
body[data-theme="keepsake"] .faq-item summary { padding: 24px 64px 24px 26px; color: var(--ink); font-family: var(--serif); font-size: 1.75rem; font-weight: 400; line-height: 1.2; }
body[data-theme="keepsake"] .faq-item summary::after { display: grid; place-items: center; top: 21px; right: 22px; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; color: var(--accent-strong); font-family: var(--sans); font-size: 1.25rem; line-height: 1; }
body[data-theme="keepsake"] .faq-item summary:hover { color: var(--accent-strong); }
body[data-theme="keepsake"] .faq-item[open] { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); background: var(--paper); }
body[data-theme="keepsake"] .faq-item[open] summary { color: var(--accent-strong); }
body[data-theme="keepsake"] .faq-item p { padding: 0 29px 27px 26px; color: var(--muted); font-size: 1rem; line-height: 1.85; }
body[data-theme="keepsake"] .support-card { padding: 32px 30px; border: 1px solid var(--line); border-radius: 9px; background: var(--tint); }
body[data-theme="keepsake"] .support-card h2 { margin: 0 0 17px; font-size: 2.5rem; line-height: 1.05; }
body[data-theme="keepsake"] .support-card p { font-size: 1rem; line-height: 1.8; }
body[data-theme="keepsake"] .support-card .button { min-height: 48px; padding-inline: 18px; font-size: .875rem; }
body[data-theme="keepsake"] .support-card img { width: 66px; height: 66px; margin-bottom: 25px; border: 1px solid var(--line); border-radius: 15px; }
body[data-theme="keepsake"] .footer-title,
body[data-theme="keepsake"] .footer-bottom,
body[data-theme="keepsake"] .motion-toggle { font-size: .875rem; }
body[data-theme="keepsake"] .footer-brand p { font-size: 1rem; }
body[data-theme="keepsake"] .footer-links a { min-height: 28px; font-size: .875rem; text-underline-offset: 4px; }
body[data-theme="keepsake"] .footer-links a:hover { color: var(--footer-ink); }
body[data-theme="keepsake"] .motion-toggle { min-height: 36px; }

@keyframes keepsake-paper-float {
  0%, 100% { transform: translate3d(var(--keepsake-pointer-x, 0px), var(--keepsake-pointer-y, 0px), 0) rotate(var(--paper-rotation)); }
  50% { transform: translate3d(var(--keepsake-pointer-x, 0px), calc(var(--keepsake-pointer-y, 0px) - 7px), 0) rotate(calc(var(--paper-rotation) + .7deg)); }
}

@media (max-width: 1100px) {
  body[data-theme="keepsake"] .hero-keepsake { top: 170px; width: 140px; }
  body[data-theme="keepsake"] .hero-keepsake-letter { top: 142px; }
  body[data-theme="keepsake"] .hero-keepsake-caption { font-size: 1.16rem; }
  body[data-theme="keepsake"] .keepsake-paper-beginning { left: -53px; width: 160px; bottom: 18px; }
  body[data-theme="keepsake"] .keepsake-paper-memory { right: -57px; width: 172px; }
  body[data-theme="keepsake"] .keepsake-scene-note { right: -43px; font-size: 1.45rem; }
  body[data-theme="keepsake"] .keepsake-invitation-layout { padding: 30px; gap: 36px; }
  body[data-theme="keepsake"] .keepsake-invitation-copy { padding-right: 0; }
  body[data-theme="keepsake"] .keepsake-story-cover-label { left: 18px; bottom: 20px; right: 67px; }
  body[data-theme="keepsake"] .keepsake-story-cover-label > span { font-size: .875rem; }
  body[data-theme="keepsake"] .keepsake-story-cover-label > strong { font-size: 2rem; }
  body[data-theme="keepsake"] .keepsake-story-play { right: 16px; bottom: 20px; width: 42px; height: 42px; }
  body[data-theme="keepsake"] .keepsake-product-scene { min-height: 630px; padding-inline: 20px; }
  body[data-theme="keepsake"] .keepsake-product-note { left: -8px; top: 46px; font-size: 1.5rem; }
  body[data-theme="keepsake"] .keepsake-app-layout { gap: 55px; }
  body[data-theme="keepsake"] .keepsake-journal-covers { gap: 25px; }
  body[data-theme="keepsake"] .keepsake-page-journal .page-hero,
  body[data-theme="keepsake"] .keepsake-page-support .page-hero { grid-template-columns: minmax(0, 1fr) 270px; column-gap: 45px; }
  body[data-theme="keepsake"] .journal-results .journal-card:first-child .journal-card-content { padding: 30px; }
  body[data-theme="keepsake"] .article-layout { grid-template-columns: 160px minmax(0, 1fr); gap: 38px; }
  body[data-theme="keepsake"] .how-intro { gap: 45px; }
  body[data-theme="keepsake"] .how-step { padding: 25px; gap: 14px 16px; }
  body[data-theme="keepsake"] .stat-lenses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body[data-theme="keepsake"] .support-layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 38px; }
  body[data-theme="keepsake"] .support-card { padding: 28px 24px; }
}

@media (max-width: 850px) {
  body[data-theme="keepsake"] .hero-keepsake { display: none; }
  body[data-theme="keepsake"] .section-inner { width: min(88%, 680px); }
  body[data-theme="keepsake"] .keepsake-hero { padding-top: 34px; }
  body[data-theme="keepsake"] .keepsake-hero h1 { font-size: clamp(4.4rem, 9vw, 5.8rem); }
  body[data-theme="keepsake"] .keepsake-scene { width: 82%; margin-top: 35px; }
  body[data-theme="keepsake"] .keepsake-family-panorama { height: 350px; border-radius: 80px 80px 4px 4px; border-width: 7px; }
  body[data-theme="keepsake"] .keepsake-paper-beginning { width: 142px; left: -37px; bottom: 12px; }
  body[data-theme="keepsake"] .keepsake-paper-memory { width: 145px; right: -39px; top: 17px; }
  body[data-theme="keepsake"] .keepsake-paper figcaption { font-size: 1.1rem; }
  body[data-theme="keepsake"] .keepsake-scene-note { right: -25px; bottom: -8px; font-size: 1.35rem; }
  body[data-theme="keepsake"] .keepsake-chapter-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; gap: 48px; }
  body[data-theme="keepsake"] .keepsake-chapter { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 30px; padding-top: 0; }
  body[data-theme="keepsake"] .keepsake-chapter-choice figure { grid-column: 2; grid-row: 1; }
  body[data-theme="keepsake"] .keepsake-chapter-choice .keepsake-chapter-copy { grid-column: 1; grid-row: 1; }
  body[data-theme="keepsake"] .keepsake-chapter figure img { aspect-ratio: .93; }
  body[data-theme="keepsake"] .keepsake-chapter-copy { padding: 0; }
  body[data-theme="keepsake"] .keepsake-chapter-thread { top: 0; height: 100%; }
  body[data-theme="keepsake"] .keepsake-chapter h3 { font-size: 2.1rem; }
  body[data-theme="keepsake"] .keepsake-invitation-layout { grid-template-columns: 1fr; padding: 28px; gap: 30px; }
  body[data-theme="keepsake"] .keepsake-story-cover { aspect-ratio: 1.7; }
  body[data-theme="keepsake"] .keepsake-story-cover-label { bottom: 25px; left: 25px; right: 85px; }
  body[data-theme="keepsake"] .keepsake-story-cover-label > strong { font-size: 2.5rem; }
  body[data-theme="keepsake"] .keepsake-story-play { bottom: 25px; right: 25px; width: 46px; height: 46px; }
  body[data-theme="keepsake"] .keepsake-story-filmstrip { gap: 17px; }
  body[data-theme="keepsake"] .keepsake-story-filmstrip img { aspect-ratio: 1.6; }
  body[data-theme="keepsake"] .keepsake-invitation-copy { padding: 0 9px 10px; }
  body[data-theme="keepsake"] .keepsake-invitation-copy .section-title { font-size: 3.7rem; }
  body[data-theme="keepsake"] .keepsake-invitation-copy .body-copy { max-width: 510px; }
  body[data-theme="keepsake"] .keepsake-invitation-copy .keepsake-free-note { max-width: 400px; }
  body[data-theme="keepsake"] .keepsake-app-layout { grid-template-columns: 1fr; gap: 36px; }
  body[data-theme="keepsake"] .keepsake-app-copy { max-width: 600px; }
  body[data-theme="keepsake"] .keepsake-app-copy > .body-copy { max-width: 550px; }
  body[data-theme="keepsake"] .keepsake-product-exhibit { width: min(100%, 500px); margin-inline: auto; }
  body[data-theme="keepsake"] .keepsake-product-scene { width: min(94%, 470px); margin-inline: auto; min-height: 680px; }
  body[data-theme="keepsake"] .keepsake-product-note { top: 45px; left: -5px; font-size: 1.7rem; }
  body[data-theme="keepsake"] .keepsake-product-panels { width: 274px; max-width: 76%; }
  body[data-theme="keepsake"] .keepsake-journal-heading { gap: 35px; }
  body[data-theme="keepsake"] .keepsake-journal-heading > div:last-child { max-width: 260px; }
  body[data-theme="keepsake"] .keepsake-journal-heading .section-title { font-size: 3.5rem; }
  body[data-theme="keepsake"] .keepsake-journal-covers { grid-template-columns: 1fr 1fr; gap: 35px 24px; }
  body[data-theme="keepsake"] .keepsake-journal-covers > :first-child { --cover-rotation: -1deg; grid-column: 1 / -1; }
  body[data-theme="keepsake"] .keepsake-journal-covers > :first-child .journal-card-image { aspect-ratio: 1.8; }
  body[data-theme="keepsake"] .keepsake-journal-covers > :nth-child(2) { margin-top: 0; }
  body[data-theme="keepsake"] .page-hero,
  body[data-theme="keepsake"] .inner-page { width: min(88%, 680px); }
  body[data-theme="keepsake"] .page-hero { padding-top: 56px; padding-bottom: 40px; }
  body[data-theme="keepsake"] .page-hero h1 { font-size: clamp(3.3rem, 6.6vw, 4.25rem); }
  body[data-theme="keepsake"] .keepsake-page-journal .page-hero,
  body[data-theme="keepsake"] .keepsake-page-support .page-hero { grid-template-columns: minmax(0, 1fr) 210px; column-gap: 32px; }
  body[data-theme="keepsake"] .keepsake-page-vignette { padding: 7px 7px 12px; }
  body[data-theme="keepsake"] .keepsake-page-vignette figcaption { font-size: 1.25rem; }
  body[data-theme="keepsake"] .journal-controls { align-items: stretch; }
  body[data-theme="keepsake"] .search-wrap { max-width: none; }
  body[data-theme="keepsake"] .journal-results .journal-card:first-child .journal-card-link { grid-template-columns: 1fr 1fr; min-height: 340px; }
  body[data-theme="keepsake"] .journal-results .journal-card:first-child .journal-card-image { min-height: 340px; }
  body[data-theme="keepsake"] .journal-results .journal-card:first-child .journal-card-content { padding: 22px; }
  body[data-theme="keepsake"] .journal-results .journal-card:first-child h3 { font-size: 2.45rem; }
  body[data-theme="keepsake"] .article-head { width: min(88%, 680px); }
  body[data-theme="keepsake"] .article-head h1 { font-size: clamp(3.15rem, 6.6vw, 4.1rem); }
  body[data-theme="keepsake"] .article-cover { width: min(88%, 700px); margin-bottom: 45px; }
  body[data-theme="keepsake"] .article-cover img { aspect-ratio: 1.8; }
  body[data-theme="keepsake"] .article-layout { width: min(88%, 680px); grid-template-columns: 1fr; gap: 0; }
  body[data-theme="keepsake"] .how-intro { grid-template-columns: 1fr; gap: 40px; padding: 48px 0 60px; }
  body[data-theme="keepsake"] .how-intro-art { width: min(80%, 380px); margin-inline: auto; order: -1; }
  body[data-theme="keepsake"] .how-intro h2 { font-size: 3.5rem; }
  body[data-theme="keepsake"] .how-step { grid-template-columns: 40px minmax(0, 1fr); padding: 23px; gap: 13px; }
  body[data-theme="keepsake"] .how-step-icon { width: 40px; height: 40px; }
  body[data-theme="keepsake"] .how-step h3 { font-size: 1.95rem; }
  body[data-theme="keepsake"] .how-step p { grid-column: 1 / -1; }
  body[data-theme="keepsake"] .screenshot-strip { gap: 22px; }
  body[data-theme="keepsake"] .support-layout { grid-template-columns: 1fr; gap: 40px; }
  body[data-theme="keepsake"] .support-card { max-width: 540px; }
}

@media (max-width: 640px) {
  body[data-theme="keepsake"] .how-steps { grid-template-columns: 1fr; gap: 17px; }
  body[data-theme="keepsake"] .how-step { grid-template-columns: 44px minmax(0, 1fr); padding: 25px; gap: 12px 18px; }
  body[data-theme="keepsake"] .how-step-icon { width: 44px; height: 44px; }
  body[data-theme="keepsake"] .how-step h3 { margin-top: 4px; font-size: 2.1rem; }
  body[data-theme="keepsake"] .how-step p { grid-column: 2; }
  body[data-theme="keepsake"] .journal-results .journal-card:first-child .journal-card-link { display: flex; min-height: 0; }
  body[data-theme="keepsake"] .journal-results .journal-card:first-child .journal-card-image { min-height: 0; height: auto; aspect-ratio: 1.5; }
  body[data-theme="keepsake"] .journal-results .journal-card:first-child .journal-card-content { padding: 26px 18px 20px; }
  body[data-theme="keepsake"] .journal-results .journal-card:first-child h3 { font-size: 2.5rem; }
  body[data-theme="keepsake"] .screenshot-strip { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: min(70vw, 270px); gap: 20px; padding: 5px 5px 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-color: var(--accent) var(--line); scrollbar-width: thin; }
  body[data-theme="keepsake"] .screenshot-strip > * { scroll-snap-align: start; }
}

@media (max-width: 560px) {
  body[data-theme="keepsake"] .section-inner { width: calc(100% - 42px); }
  body[data-theme="keepsake"] .section { padding-block: 67px; }
  body[data-theme="keepsake"] .section-title { font-size: 3rem; }
  body[data-theme="keepsake"] .eyebrow { font-size: .875rem; }
  body[data-theme="keepsake"] .body-copy { font-size: 1rem; }
  body[data-theme="keepsake"] .keepsake-desktop-break { display: none; }
  body[data-theme="keepsake"] .keepsake-hero { padding-top: 28px; }
  body[data-theme="keepsake"] .keepsake-hero-content { width: calc(100% - 38px); }
  body[data-theme="keepsake"] .keepsake-hero-eyebrow { gap: 7px; max-width: 300px; margin-inline: auto; font-size: .875rem; line-height: 1.5; letter-spacing: 0; }
  body[data-theme="keepsake"] .keepsake-hero-eyebrow svg { width: 16px; height: 16px; }
  body[data-theme="keepsake"] .keepsake-hero h1 { margin-top: 19px; margin-bottom: 18px; font-size: clamp(2.7rem, 13.7vw, 4.65rem); line-height: .96; }
  body[data-theme="keepsake"] .hero-little-notes { gap: 10px 18px; margin-top: 21px; }
  body[data-theme="keepsake"] .hero-little-notes li { gap: 5px; }
  body[data-theme="keepsake"] .keepsake-hero-content > p { max-width: 350px; margin-inline: auto; font-size: 1rem; line-height: 1.7; }
  body[data-theme="keepsake"] .keepsake-hero-actions { gap: 10px; margin-top: 21px; }
  body[data-theme="keepsake"] .keepsake-hero-actions .button,
  body[data-theme="keepsake"] .keepsake-hero-actions .keepsake-app-button { min-height: 49px; padding: 13px 14px; font-size: .875rem; }
  body[data-theme="keepsake"] .keepsake-free-note { font-size: .875rem; }
  body[data-theme="keepsake"] .keepsake-scene { width: calc(100% - 42px); margin-top: 35px; margin-bottom: 32px; padding-bottom: 36px; }
  body[data-theme="keepsake"] .keepsake-family-panorama { height: 305px; border-radius: 68px 68px 3px 3px; border-width: 6px; }
  body[data-theme="keepsake"] .keepsake-family-panorama > img { object-position: 51% 55%; }
  body[data-theme="keepsake"] .keepsake-scene-thread { width: calc(100% + 40px); left: -20px; }
  body[data-theme="keepsake"] .keepsake-paper { padding: 6px 6px 8px; }
  body[data-theme="keepsake"] .keepsake-paper-beginning { left: -8px; bottom: 2px; width: 112px; }
  body[data-theme="keepsake"] .keepsake-paper-beginning img { aspect-ratio: 1.25; }
  body[data-theme="keepsake"] .keepsake-paper-memory { top: -24px; right: -5px; width: 104px; }
  body[data-theme="keepsake"] .keepsake-paper-memory img { aspect-ratio: 1.5; }
  body[data-theme="keepsake"] .keepsake-paper figcaption { margin-top: 7px; font-size: .9375rem; line-height: 1.12; }
  body[data-theme="keepsake"] .keepsake-scene-note { bottom: 0; right: 4px; font-size: 1.2rem; transform: rotate(4deg); }
  body[data-theme="keepsake"] .keepsake-chapters { padding-top: 32px; }
  body[data-theme="keepsake"] .keepsake-centered-heading .section-title { font-size: 2.9rem; }
  body[data-theme="keepsake"] .keepsake-chapter-grid { margin-top: 43px; gap: 48px; }
  body[data-theme="keepsake"] .keepsake-chapter { display: block; }
  body[data-theme="keepsake"] .keepsake-chapter figure { width: 94%; margin-inline: auto; padding: 7px; }
  body[data-theme="keepsake"] .keepsake-chapter figure img { aspect-ratio: 1.45; }
  body[data-theme="keepsake"] .keepsake-chapter-copy { padding: 27px 4px 0; }
  body[data-theme="keepsake"] .keepsake-chapter h3 { margin: 10px 0 13px; font-size: 2.2rem; }
  body[data-theme="keepsake"] .keepsake-chapter p { font-size: 1rem; }
  body[data-theme="keepsake"] .keepsake-chapter-thread { display: none; }
  body[data-theme="keepsake"] .keepsake-chapter-closing { align-items: start; flex-direction: column; gap: 13px; margin-top: 40px; }
  body[data-theme="keepsake"] .keepsake-invitation { padding-top: 4px; padding-bottom: 12px; }
  body[data-theme="keepsake"] .keepsake-invitation-layout { width: calc(100% - 28px); padding: 18px; border-radius: 12px; gap: 25px; }
  body[data-theme="keepsake"] .keepsake-story-album { gap: 15px; }
  body[data-theme="keepsake"] .keepsake-story-cover { aspect-ratio: 1.25; border-width: 6px; border-radius: 50px 4px 4px 4px; }
  body[data-theme="keepsake"] .keepsake-story-cover-label { left: 16px; bottom: 20px; right: 63px; }
  body[data-theme="keepsake"] .keepsake-story-cover-label > span { margin-bottom: 8px; }
  body[data-theme="keepsake"] .keepsake-story-cover-label > strong { font-size: 1.95rem; }
  body[data-theme="keepsake"] .keepsake-story-play { width: 40px; height: 40px; right: 14px; bottom: 20px; }
  body[data-theme="keepsake"] .keepsake-story-filmstrip { grid-template-columns: 1fr; gap: 10px; padding-inline: 0; }
  body[data-theme="keepsake"] .keepsake-story-filmstrip figure { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 14px; padding: 7px; transform: none; }
  body[data-theme="keepsake"] .keepsake-story-filmstrip img { aspect-ratio: 1.5; border-radius: 1px; }
  body[data-theme="keepsake"] .keepsake-story-filmstrip figcaption { align-items: start; min-height: 0; margin: 0; padding-right: 5px; font-size: .875rem; text-align: left; }
  body[data-theme="keepsake"] .keepsake-invitation-copy { padding: 0 5px 15px; }
  body[data-theme="keepsake"] .keepsake-invitation-copy .section-title { font-size: 3rem; }
  body[data-theme="keepsake"] .keepsake-invitation-copy .eyebrow { font-size: .875rem; letter-spacing: .04em; }
  body[data-theme="keepsake"] .keepsake-invitation-copy .keepsake-free-note { font-size: .875rem; }
  body[data-theme="keepsake"] .keepsake-app-layout { gap: 27px; }
  body[data-theme="keepsake"] .keepsake-feature-list { gap: 24px; }
  body[data-theme="keepsake"] .keepsake-feature-list > div { gap: 13px; }
  body[data-theme="keepsake"] .keepsake-app-actions { align-items: start; flex-direction: column; gap: 9px; }
  body[data-theme="keepsake"] .keepsake-product-scene { width: 100%; min-height: 570px; padding: 56px 18px 46px; }
  body[data-theme="keepsake"] .keepsake-product-panels { width: min(78%, 250px); max-width: none; }
  body[data-theme="keepsake"] .keepsake-product-arch { inset: 24px 5px 20px; }
  body[data-theme="keepsake"] .keepsake-product-note { left: 50%; top: 0; width: 100%; font-size: 1.35rem; text-align: center; transform: translateX(-50%) rotate(-3deg); }
  body[data-theme="keepsake"] .keepsake-product-tabs { width: 100%; gap: 4px; margin-top: 5px; }
  body[data-theme="keepsake"] .keepsake-product-tabs button { min-width: 0; min-height: 46px; padding-inline: 10px; }
  body[data-theme="keepsake"] .keepsake-product-tabs button > span { display: none; }
  body[data-theme="keepsake"] .keepsake-product-caption { margin-top: 17px; }
  body[data-theme="keepsake"] .keepsake-product-caption p { max-width: 310px; }
  body[data-theme="keepsake"] .keepsake-journal { padding-top: 23px; }
  body[data-theme="keepsake"] .keepsake-journal-heading { display: block; margin-bottom: 36px; }
  body[data-theme="keepsake"] .keepsake-journal-heading .section-title { font-size: 3.1rem; margin-bottom: 24px; }
  body[data-theme="keepsake"] .keepsake-journal-heading > div:last-child { max-width: 350px; }
  body[data-theme="keepsake"] .keepsake-journal-covers { grid-template-columns: 1fr; gap: 28px; padding-inline: 0; }
  body[data-theme="keepsake"] .keepsake-journal-covers > :first-child { grid-column: auto; }
  body[data-theme="keepsake"] .keepsake-journal-covers > .journal-card { --cover-rotation: 0deg; margin-top: 0; }
  body[data-theme="keepsake"] .keepsake-journal-covers > :first-child .journal-card-image,
  body[data-theme="keepsake"] .keepsake-journal-covers .journal-card-image { aspect-ratio: 1.45; }
  body[data-theme="keepsake"] .keepsake-journal-covers .journal-card h3 { font-size: 2rem; }
  body[data-theme="keepsake"] .keepsake-last-page { padding-block: 64px 70px; }
  body[data-theme="keepsake"] .keepsake-last-memory { width: 218px; margin-bottom: 34px; }
  body[data-theme="keepsake"] .keepsake-last-page h2 { font-size: 3.5rem; }
  body[data-theme="keepsake"] .keepsake-last-content > p { font-size: 1rem; }
  body[data-theme="keepsake"] .page-hero,
  body[data-theme="keepsake"] .inner-page,
  body[data-theme="keepsake"] .article-layout { width: calc(100% - 42px); }
  body[data-theme="keepsake"] .page-hero { padding-top: 40px; padding-bottom: 35px; }
  body[data-theme="keepsake"] .page-hero h1 { margin-top: 15px; margin-bottom: 23px; font-size: clamp(3rem, 12.5vw, 3.7rem); }
  body[data-theme="keepsake"] .page-hero .lead { font-size: 1rem; line-height: 1.8; }
  body[data-theme="keepsake"] .breadcrumb { flex-wrap: wrap; gap: 8px 12px; margin-bottom: 25px; font-size: .875rem; }
  body[data-theme="keepsake"] .inner-page { padding-bottom: 65px; }
  body[data-theme="keepsake"] .keepsake-page-journal .page-hero,
  body[data-theme="keepsake"] .keepsake-page-support .page-hero { display: block; }
  body[data-theme="keepsake"] .keepsake-page-vignette,
  body[data-theme="keepsake"] .keepsake-page-support .keepsake-page-vignette { width: 86%; max-width: 300px; margin: 30px auto 4px; }
  body[data-theme="keepsake"] .keepsake-page-vignette img,
  body[data-theme="keepsake"] .keepsake-page-support .keepsake-page-vignette img { aspect-ratio: 2; }
  body[data-theme="keepsake"] .keepsake-page-vignette figcaption { font-size: 1.25rem; }
  body[data-theme="keepsake"] .keepsake-page-index { gap: 8px; margin-top: 25px; }
  body[data-theme="keepsake"] .keepsake-page-index a { padding-inline: 13px; }
  body[data-theme="keepsake"] .journal-controls { gap: 17px; padding-block: 22px; }
  body[data-theme="keepsake"] .filter-tabs { gap: 5px; }
  body[data-theme="keepsake"] .filter-tab { padding-inline: 13px; }
  body[data-theme="keepsake"] .journal-results .journal-grid { row-gap: 27px; }
  body[data-theme="keepsake"] .journal-results .journal-card-content { padding: 24px; }
  body[data-theme="keepsake"] .article-head h1 { font-size: clamp(2.9rem, 11.7vw, 3.6rem); }
  body[data-theme="keepsake"] .article-head .article-meta { gap: 9px 17px; }
  body[data-theme="keepsake"] .article-cover { width: calc(100% - 32px); padding: 7px; margin-bottom: 35px; }
  body[data-theme="keepsake"] .article-cover img { aspect-ratio: 1.5; }
  body[data-theme="keepsake"] .article-prose,
  body[data-theme="keepsake"] .article-prose p,
  body[data-theme="keepsake"] .article-prose li { font-size: 1.0625rem; line-height: 1.85; }
  body[data-theme="keepsake"] .article-prose h2 { margin-bottom: 20px; font-size: 2.15rem; line-height: 1.12; }
  body[data-theme="keepsake"] .article-prose section { margin-bottom: 38px; }
  body[data-theme="keepsake"] .article-prose .sources { padding: 23px; }
  body[data-theme="keepsake"] .article-prose .sources li,
  body[data-theme="keepsake"] .article-prose .sources a { font-size: .875rem; }
  body[data-theme="keepsake"] .article-cta,
  body[data-theme="keepsake"] .article-cta:has(.keepsake-article-keepsake) { display: block; padding: 24px; }
  body[data-theme="keepsake"] .keepsake-article-keepsake { width: 100%; height: 165px; margin: 2px 0 26px; }
  body[data-theme="keepsake"] .keepsake-article-keepsake img { min-height: 0; height: 100%; object-position: 42% 68%; }
  body[data-theme="keepsake"] .article-cta h3 { font-size: 2.2rem; }
  body[data-theme="keepsake"] .article-cta p { font-size: 1rem; }
  body[data-theme="keepsake"] .section-inset { padding-top: 58px; }
  body[data-theme="keepsake"] .how-steps,
  body[data-theme="keepsake"] .section-inset { scroll-margin-top: 92px; }
  body[data-theme="keepsake"] .how-intro { gap: 35px; padding-top: 35px; padding-bottom: 45px; }
  body[data-theme="keepsake"] .how-intro-art { width: 86%; }
  body[data-theme="keepsake"] .how-intro h2 { font-size: 3.05rem; }
  body[data-theme="keepsake"] .how-intro p { font-size: 1rem; }
  body[data-theme="keepsake"] .how-step { padding: 23px; }
  body[data-theme="keepsake"] .stat-lenses { gap: 13px; margin-block: 30px 25px; }
  body[data-theme="keepsake"] .lens { padding: 25px 17px; }
  body[data-theme="keepsake"] .lens h3 { font-size: 1.85rem; }
  body[data-theme="keepsake"] .lens p { font-size: 1rem; }
  body[data-theme="keepsake"] .screenshot-strip { margin-block: 32px 18px; }
  body[data-theme="keepsake"] .keepsake-image-viewer-header { padding: 10px 14px; gap: 12px; }
  body[data-theme="keepsake"] .keepsake-image-viewer-header > p { max-width: 200px; }
  body[data-theme="keepsake"] .keepsake-image-viewer-stage { padding: 15px; }
  body[data-theme="keepsake"] .keepsake-image-viewer-stage img { height: min(62dvh, 670px); }
  body[data-theme="keepsake"] .keepsake-image-viewer-footer { padding: 12px 14px; gap: 10px; }
  body[data-theme="keepsake"] .keepsake-image-viewer-footer > div { gap: 6px; }
  body[data-theme="keepsake"] .keepsake-image-viewer-footer button { padding-inline: 12px; }
  body[data-theme="keepsake"] .support-layout { padding-top: 30px; gap: 32px; }
  body[data-theme="keepsake"] .faq-item summary { padding: 22px 57px 22px 21px; font-size: 1.55rem; }
  body[data-theme="keepsake"] .faq-item summary::after { right: 17px; top: 20px; }
  body[data-theme="keepsake"] .faq-item p { padding: 0 22px 23px; }
  body[data-theme="keepsake"] .support-card { padding: 28px 25px; }
}

body[data-theme="keepsake"].motion-paused .keepsake-paper,
body[data-theme="keepsake"][data-motion="paused"] .keepsake-paper,
body[data-theme="keepsake"][data-reduce-motion="true"] .keepsake-paper { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  body[data-theme="keepsake"] .keepsake-paper { animation: none; transform: rotate(var(--paper-rotation)); }
  body[data-theme="keepsake"] .keepsake-chapter figure,
  body[data-theme="keepsake"] .keepsake-product-shot,
  body[data-theme="keepsake"] .keepsake-journal-covers .journal-card,
  body[data-theme="keepsake"] .keepsake-story-cover > img,
  body[data-theme="keepsake"] .keepsake-story-play,
  body[data-theme="keepsake"] .keepsake-screenshot-button img,
  body[data-theme="keepsake"] .keepsake-app-button { transition: none; }
  body[data-theme="keepsake"] .keepsake-app-button:hover { transform: none; }
  body[data-theme="keepsake"] .keepsake-story-cover:hover > img,
  body[data-theme="keepsake"] .keepsake-story-cover:hover .keepsake-story-play,
  body[data-theme="keepsake"] .keepsake-screenshot-button:hover img { transform: none; }
  body[data-theme="keepsake"] .keepsake-product-scene:hover .keepsake-product-shot { transform: rotate(3deg); }
  body[data-theme="keepsake"] .keepsake-chapter:hover figure { transform: rotate(var(--chapter-rotation)); }
  body[data-theme="keepsake"] .keepsake-journal-covers .journal-card:focus-within,
  body[data-theme="keepsake"] .keepsake-journal-covers .journal-card:hover { transform: rotate(var(--cover-rotation, 0deg)); }
  body[data-theme="keepsake"] .journal-card:hover .journal-card-image img { transform: none; }
}
