/* Mallow Post — a warm, considered home for the deliveries.
   No webfonts, image textures, or layout-dependent animation. */
:root {
  --paper: #f6f0e5;
  --paper-light: #fffaf1;
  --ink: #304638;
  --muted: #687061;
  --moss: #3e5542;
  --moss-dark: #2b4031;
  --apricot: #dca889;
  --line: #dcd8c9;
  --serif: 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, serif;
  --sans: 'Avenir Next', Avenir, 'Segoe UI', sans-serif;
  --shadow: 0 3px 5px #4b432a03, 0 15px 35px #4b432a08;
}

html { background: var(--paper); scroll-padding-top: 24px; }
body {
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse at 15% 0%, #fffcf0e0, transparent 48%),
    radial-gradient(ellipse at 98% 40%, #e7d9c34d, transparent 48%),
    repeating-linear-gradient(0deg, #89785b03 0, #89785b03 1px, transparent 1px, transparent 4px);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
}
button, input, textarea { font-family: var(--sans); }
h1, h2, h3, .brand, .footer-brand { font-family: var(--serif); }
h1, h2, h3 { font-weight: 400; letter-spacing: -.045em; }
p { line-height: 1.65; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 2px solid #96633f; outline-offset: 4px; }
button:disabled { transform: none !important; }
button, .button { -webkit-user-select: none; user-select: none; }
button:active:not(:disabled), .button:active { transform: translateY(1px) scale(.985); }
[hidden] { display: none !important; }
.wrap { max-width: 1160px; padding-inline: 40px; }
.header { height: 88px; gap: 18px; border-bottom: 1px solid #dad6c653; }
.brand { gap: 9px; font-size: 27px; letter-spacing: -1.2px; white-space: nowrap; }
.brand img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.brand-mark { display: grid; place-items: center; width: 37px; height: 37px; flex: 0 0 37px; }
.brand svg { display: block; width: 100%; height: 100%; }
.nav { gap: 24px; }
.nav button { font-size: 12px; padding: 10px 0; min-height: 44px; color: #5c6b57; }
.nav .active { color: var(--ink); border-bottom-color: #9ba88d; }
.preview-strip {
  padding: 6px 16px;
  background: #e8dfcd;
  color: #655f50;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: .025em;
}
.eyebrow { color: #707860; font-size: 10px; line-height: 1.5; letter-spacing: .16em; margin-bottom: 12px; }
.tiny, .stage-caption, .catalog-footnote, .count, .privacy-note { color: #687261; }
.sub { color: #626d5f; }
.pill { border-color: #d8d7c5; color: #5a6953; padding: 7px 12px; letter-spacing: .075em; background: #faf8ee75; }
.button {
  min-height: 50px;
  padding: 14px 23px;
  border-radius: 14px;
  background: var(--moss);
  color: #fffaf1;
  box-shadow: inset 0 1px 0 #ffffff19, 0 3px 0 #283f3012;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .015em;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}
.button:hover { background: var(--moss-dark); box-shadow: inset 0 1px 0 #ffffff19, 0 5px 12px #2b403115; }
.button.secondary { background: #faf6eaa6; border-color: #c9cfbb; color: #3e5542; box-shadow: 0 2px 3px #5c553504; }
.button.secondary:hover { background: #e8ecdf; border-color: #a8b69b; }
.button.light { background: var(--paper-light); color: var(--ink); }
.text-btn { line-height: 1.6; min-height: 44px; }
.arrow { font-size: 18px; }

/* The collection is the first thing people meet. */
.catalogue-intro { padding: 30px 0 25px; max-width: 780px; }
.catalogue-intro .eyebrow { margin-bottom: 10px; }
.catalogue-intro h1 { font-size: clamp(34px, 4.2vw, 53px); line-height: 1.06; margin: 0 0 12px; }
.catalogue-intro p:not(.eyebrow) { max-width: 590px; font-size: 14px; color: var(--muted); margin-bottom: 0; }
.featured-gift {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  overflow: hidden;
  background: #fffaf0;
  border: 1px solid #e0dccb;
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.featured-art { position: relative; aspect-ratio: 1; min-width: 0; overflow: hidden; background: #e7dfcb; }
.featured-art > img { width: 100%; height: 100%; display: block; object-fit: cover; }
.featured-art .art-button { border-radius: 0; }
.featured-art .scene-thumb, .featured-art .scene-sprite { height: 100%; width: 100%; }
.featured-copy { padding: 36px 40px; }
.featured-copy h2 { font-size: clamp(32px, 3.7vw, 46px); line-height: 1.08; margin-bottom: 14px; }
.featured-copy p { font-size: 14px; color: #697161; margin-bottom: 20px; max-width: 360px; }
.featured-copy .eyebrow { font-size: 10px; margin-bottom: 13px; }
.featured-copy .tiny { font-size: 11px; margin-top: 14px; margin-bottom: 0; }
.featured-copy .button { margin-right: 8px; }
.featured-copy .text-btn { display: inline-block; font-size: 12px; }
.featured-gift .tag { top: 18px; left: 18px; }
.collection-head, .section-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 35px 0 18px;
}
.collection-head h2, .section-top h2 { font-size: 31px; margin: 0; line-height: 1.15; }
.collection-head h3 { font-size: 29px; margin: 0 0 5px; }
.collection-head p { font-size: 12px; color: var(--muted); margin: 7px 0 0; }
.collection-head .eyebrow { margin: 0 0 8px; font-size: 9px; }
.price-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d2d5c1;
  border-radius: 20px;
  background: #f9f7ec;
  color: #4e6245;
  padding: 7px 12px;
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
}
.collection-scroll, .cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.collection-card, .scene-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e0dccb;
  background: #fffbf2;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.art-button { aspect-ratio: 1; background: #e8dfcb; }
.art-button .scene-thumb { transition: filter 200ms ease; }
.scene-thumb, .scene-sprite { background-size: 300% auto; background-repeat: no-repeat; aspect-ratio: 1; }
.scene-thumb { background-position: 50% 0; }
.card-content { padding: 20px; }
.card-content h3 { font-size: 26px; line-height: 1.1; margin-bottom: 10px; }
.card-content p { color: #697060; font-size: 12px; line-height: 1.6; min-height: 0; margin-bottom: 15px; }
.card-bottom { border-color: #e7e3d5; padding-top: 9px; gap: 10px; font-size: 11px; }
.card-bottom > span { color: #69745f; }
.card-bottom button { padding: 9px 0; min-height: 38px; color: #3b5339; font-size: 12px; }
.tag {
  border: 1px solid #ffffff85;
  background: #fffaf1ed;
  color: #4b5f44;
  border-radius: 7px;
  box-shadow: 0 2px 9px #4e432c0b;
  letter-spacing: .055em;
  font-size: 9px;
  padding: 6px 9px;
}
.play-circle { width: 38px; height: 38px; font-size: 13px; background: #fffbf2f2; color: #41523d; box-shadow: 0 2px 12px #3c3b2420; }
.filters { padding-bottom: 18px; gap: 7px; }
.filter { background: #fffaf066; border-color: #d7d8c6; padding: 9px 15px; font-size: 11px; min-height: 38px; }
.filter.active { background: #596c4c; border-color: #596c4c; }
.catalog-footnote { font-size: 11px; line-height: 1.7; margin: 18px 0 0; }
.pack-band { margin-top: 36px; border-color: #d6dbc7; border-radius: 20px; background: linear-gradient(120deg, #e9eddd, #f0eee0); padding: 28px 30px; }
.pack-band h3 { font-size: 28px; }
.pack-band .eyebrow { font-size: 9px; margin-bottom: 9px; }
.pack-band p { color: #647159; }
.how { border-color: #dddcca; padding-block: 18px; color: #64705b; }
.footer { border-top: 1px solid #ddd9c87a; margin-top: 35px; padding: 24px 0 28px; color: #6b735f; }
.footer-brand { font-size: 18px; color: #526346; }
.footer button { font-size: 10px; }

/* Personalisation is stationery, with an honest live preview. */
.back { min-height: 44px; color: #64705c; font-size: 12px; padding: 16px 0 8px; }
.editor-layout { gap: 48px; margin: 16px 0 44px; grid-template-columns: 1fr 1fr; }
.preview-panel { min-width: 0; }
.stage { aspect-ratio: 1; border-radius: 22px; background: #e9e2d1; box-shadow: inset 0 0 0 1px #43391c0a, 0 8px 26px #64553608; }
.stage:after { box-shadow: inset 0 0 0 1px #5142210a; border-radius: inherit; }
.stage .scene-art { width: 100%; height: 100%; }
.editor-layout .stage { aspect-ratio: 1; }
.scene-subtitle { font-family: var(--serif); font-size: 25px; line-height: 1.3; margin: 18px 0 7px; }
.stage-caption { font-size: 11px; line-height: 1.6; margin-bottom: 0; }
.motion-control { border-color: #ddd7c6; background: #fffbf0ec; font-size: 10px; min-height: 34px; padding: 7px 11px; }
.form-panel { padding-top: 5px; }
.form-panel h2 { font-size: 38px; line-height: 1.07; margin-bottom: 13px; }
.form-panel .sub { max-width: 380px; font-size: 13px; margin-bottom: 20px; }
.field { margin-top: 18px; }
.field > span { font-size: 11px; color: #52644b; font-weight: 600; margin-bottom: 8px; }
.field input, .field textarea, .code-input {
  background: #fffaf1;
  border-color: #d4d6c4;
  border-radius: 12px;
  padding: 13px 14px;
  font-size: 15px;
  box-shadow: inset 0 2px 3px #6d5c3803;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.field input { min-height: 49px; }
.field textarea { min-height: 116px; line-height: 1.7; }
.field input::placeholder, .field textarea::placeholder { color: #8c907f; opacity: 1; }
.field input:focus, .field textarea:focus, .code-input:focus { border-color: #82916e; box-shadow: 0 0 0 3px #7e956b1f; }
.suggestions { gap: 7px; margin: 10px 0; }
.suggestions button { border-color: #d5d7c4; border-radius: 9px; background: #f8f5e9; color: #56684d; font-size: 10px; padding: 7px 10px; min-height: 32px; }
.suggestions button:hover { background: #e9ecdf; }
.count { margin-bottom: 20px; font-size: 10px; }
.privacy-note { margin-top: 14px; font-size: 10px; line-height: 1.65; }
.ending-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0 22px; }
.ending-choice {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 8px;
  border: 1px solid #d8d7c7;
  border-radius: 12px;
  background: #fffaf0;
  color: var(--ink);
  transition: background-color 180ms ease, border-color 180ms ease;
}
.ending-choice.selected, .ending-choice[aria-pressed='true'] { border-color: #82976e; background: #eaf0dd; box-shadow: 0 0 0 1px #82976e40; }
.ending-choice img, .ending-choice .scene-thumb, .ending-choice .ending-art { width: 60px; height: 60px; border-radius: 8px; object-fit: cover; overflow: hidden; }
.ending-choice strong { display: block; font-size: 11px; font-weight: 600; }
.ending-choice small, .ending-choice p { display: block; font-size: 10px; color: #67725c; line-height: 1.45; margin: 3px 0 0; }
.ending-choice > span { min-width: 0; }

/* Receiving: one quiet stage, an invitation, then a real note. */
.receive-header { padding: 25px 20px 6px; }
.receive-header .brand { font-size: 24px; }
.receive { max-width: 510px; margin: 13px auto 38px; padding-inline: 22px; }
.receive h1 { font-size: 37px; line-height: 1.12; margin-bottom: 13px; }
.receive .eyebrow { margin: 20px 0 10px; }
.receive .tiny { font-size: 11px; }
.recipient-world { max-width: 500px; padding: 20px 20px 35px; margin: 0 auto; text-align: center; }
.recipient-top { margin: 0 0 16px; }
.recipient-top .brand { justify-content: center; font-size: 23px; gap: 7px; }
.recipient-top .brand img, .recipient-top .brand-mark { width: 31px; height: 31px; flex-basis: 31px; }
.recipient-top p { font-size: 12px; color: #697260; margin: 9px 0 0; }
.address-label { font-family: var(--serif); font-size: 28px; color: var(--ink); margin: 18px 0 13px; line-height: 1.2; }
.address-label span { color: #6b735e; }
.address-label small { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: .02em; color: #6e765f; margin-top: 8px; }
.opening-stage { position: relative; isolation: isolate; }
.parcel-card { position: relative; overflow: hidden; border-radius: 24px; background: #e9e1cf; box-shadow: var(--shadow); }
.parcel-card .parcel-art, .opening-stage .parcel-art { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 24px; animation: none; }
.parcel { border-radius: 24px; }
.parcel-art { animation: none; }
.parcel-label { border: 1px solid #d9d5c0; background: #fffbf0; color: #435a3d; border-radius: 12px; padding: 12px 18px; box-shadow: 0 3px 14px #3e482222; }
.ribbon-pull {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  border: 1px solid #ffffff50;
  border-radius: 13px;
  background: #3e5542;
  color: #fffaf0;
  min-height: 49px;
  padding: 13px 21px;
  box-shadow: 0 4px 18px #2b3d2a29, inset 0 1px 0 #ffffff18;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  touch-action: pan-y;
  z-index: 3;
}
.ribbon-pull:active:not(:disabled) { transform: translateX(-50%) translateY(2px); }
.ribbon-pull:hover { background: #304631; }
.ribbon-pull small { display: block; font-size: 9px; color: #f1f3e1c2; font-weight: 400; margin-top: 4px; }
.opening-stage.is-opening .parcel-card { animation: parcel-open 600ms ease both; }
.story-stage { position: relative; }
.story-stage .stage { border-radius: 24px; }
.story-instruction { font-size: 12px; line-height: 1.6; color: #68755f; margin: 12px 10px; min-height: 20px; }
.seat-tag {
  position: absolute;
  bottom: 18px;
  left: 16px;
  max-width: 65%;
  padding: 8px 13px;
  background: #fffaf1;
  color: #4a6040;
  border: 1px solid #e2d6ba;
  border-radius: 3px 10px 10px 3px;
  box-shadow: 0 2px 7px #3c392025;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.3;
  transform: rotate(-3deg);
  overflow-wrap: anywhere;
  z-index: 4;
}
.ritual-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; margin: 2px auto 0; min-height: 50px; min-width: 190px; border: 1px solid #455b37; border-radius: 14px; background: var(--moss); color: var(--paper-light); padding: 13px 23px; font-size: 13px; font-weight: 600; box-shadow: 0 3px 10px #3a4a2910; }
.ritual-button:hover { background: var(--moss-dark); }
.personal-letter, .letter {
  position: relative;
  border: 1px solid #e0d9c6;
  background: linear-gradient(130deg, #fffdf4, #faf4e7);
  border-radius: 7px 7px 18px 18px;
  box-shadow: 0 2px 2px #5e513c03, 0 13px 25px #5e513c08;
  margin: 20px 0 12px;
  padding: 26px 25px;
  animation: letter-in 420ms ease both;
}
.personal-letter blockquote, .letter blockquote { font-family: var(--serif); font-size: 26px; line-height: 1.4; margin: 0 0 19px; white-space: pre-wrap; overflow-wrap: anywhere; letter-spacing: -.025em; }
.personal-letter .signature, .letter .signature { font-size: 12px; color: #68735d; }
.personal-letter p { font-size: 13px; }
.note-seal { display: grid; place-items: center; width: 36px; height: 36px; margin: -8px auto 16px; border-radius: 50%; border: 1px solid #bfcaa8; background: #dce4ca; color: #526343; box-shadow: inset 0 0 0 3px #e8eddc; font: 19px var(--serif); }
.reactions { gap: 7px; margin: 14px 0 12px; }
.reaction { min-height: 42px; border-radius: 11px; font-size: 11px; border-color: #d2d8c2; background: #fffbf0; padding: 10px 13px; }
.reaction.selected { background: #53694a; border-color: #53694a; }
.replay { min-height: 44px; font-size: 12px; color: #54694a; }
.divider { border-color: #d9ddca; margin: 23px 0; }
.receive .button.full { margin-top: 8px; }
.reply-done { font-size: 11px; color: #536d42; }

/* Purchase, share, and the comparison stay part of the same world. */
dialog { padding: 32px; max-width: 520px; border: 1px solid #e1dbc9; border-radius: 23px; background: var(--paper); box-shadow: 0 20px 70px #1d2e2633; }
dialog::backdrop { background: #293a2c80; backdrop-filter: blur(5px); }
dialog h2 { font-size: 35px; line-height: 1.08; margin-bottom: 18px; }
dialog .eyebrow { margin-right: 28px; }
.close { width: 36px; height: 36px; min-height: 36px; min-width: 36px; right: 14px; top: 14px; background: #e7e8d9; color: #627255; }
.pack-preview { height: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 18px 0; border-radius: 13px; }
.pack-preview .scene-thumb { height: auto; aspect-ratio: 1; border-radius: 12px; background-size: 300% auto; }
.sheet-art { height: auto; max-height: 280px; aspect-ratio: 1.4; object-position: center; }
.sheet-price { font-family: var(--serif); font-size: 36px; margin: 15px 0 12px; }
.sheet-price small { font-family: var(--sans); font-size: 11px; color: #717962; }
.benefits { color: #53644b; padding-left: 18px; line-height: 1.7; font-size: 12px; margin: 16px 0 20px; }
.benefits li { margin: 7px 0; padding-left: 3px; }
.pay-note { border: 1px solid #ddd4be; background: #eee6d5; color: #6a604b; font-size: 10px; line-height: 1.6; border-radius: 9px; }
.demo-action { border-color: #dfddc9; }
.collection-option { border-color: #d6dbc7; }
.collection-option h3 { font-size: 26px; }
.center-page { max-width: 470px; }
.center-page h1 { font-size: 39px; }
.center-page .sub { font-size: 13px; max-width: 355px; }
.success-mark { width: 42px; height: 42px; margin: 18px auto; color: #496239; background: #e2e9d5; border: 1px solid #cdd8b9; }
.share-preview { width: 200px; height: 200px; border-radius: 22px; border: 1px solid #d7d6bf; box-shadow: var(--shadow); margin: 20px auto; }
.share-link { border-radius: 11px; border-color: #d0d6bf; margin-top: 20px; }
.share-link input { background: #fffaf0; font-size: 12px; padding: 13px; }
.share-link button { min-width: 61px; background: #e8ecdc; border-color: #d0d6bf; font-weight: 600; }
.account-card { background: #eaecdc; border: 1px solid #d7dcc5; border-radius: 17px; }
.delivery-row { border-color: #d9ddca; }
.mini-art { box-shadow: inset 0 0 0 1px #484b2310; }
.empty { border-color: #c8d0b6; background: #f8f6e9; }
.outbox h1 { font-size: 43px; }
.error { border-color: #e2c3b1; color: #7c442f; background: #f1e0d4; }
.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; margin-top: 23px; }
.static-message-card { padding: 15px; border-radius: 20px; background: #fffaf0; border: 1px solid #dfdac9; box-shadow: var(--shadow); }
.static-message-card > img, .static-message-card .scene-thumb { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: 13px; object-fit: cover; }
.static-message-card h3 { font-size: 26px; margin: 17px 5px 10px; }
.static-message-card p { color: #5d6b52; font-size: 13px; margin: 13px 5px 3px; }
.comparison-note { padding: 19px 21px; margin-top: 20px; border: 1px solid #d8dcc7; border-radius: 15px; background: #edf0e2; font-size: 12px; color: #5d6d51; line-height: 1.7; }
.comparison-note h3 { font-size: 23px; margin-bottom: 9px; }
.comparison-note p:last-child { margin-bottom: 0; }
#toast { border: 1px solid #ffffff12; background: #344b38; box-shadow: 0 6px 23px #30432a25; border-radius: 13px; bottom: max(24px, env(safe-area-inset-bottom)); }

@keyframes parcel-open { from { opacity: 1; transform: translateY(0) scale(1); } to { opacity: 0; transform: translateY(-8px) scale(1.025); } }
@media (hover: hover) {
  .collection-card:hover, .scene-card:hover { transform: translateY(-3px); box-shadow: 0 5px 10px #4b432a06, 0 20px 35px #4b432a0d; }
  .art-button:hover .scene-thumb { filter: saturate(1.035) brightness(1.015); }
}
@media (min-width: 1000px) {
  .featured-gift { grid-template-columns: 1fr 1fr; }
  .editor-layout .preview-panel { position: sticky; top: 24px; }
}
@media (max-width: 760px) {
  .wrap { padding-inline: 20px; }
  .header { height: 73px; gap: 10px; }
  .brand { font-size: 24px; gap: 7px; }
  .brand img, .brand-mark { width: 33px; height: 33px; flex-basis: 33px; }
  .nav { gap: 14px; }
  .nav button { font-size: 10px; }
  .preview-strip { padding-block: 5px; font-size: 9px; }
  .catalogue-intro { padding: 21px 0 19px; }
  .catalogue-intro h1 { font-size: 35px; margin-bottom: 9px; line-height: 1.08; }
  .catalogue-intro .eyebrow { margin-bottom: 7px; font-size: 9px; }
  .catalogue-intro p:not(.eyebrow) { font-size: 12px; line-height: 1.65; max-width: 320px; }
  .featured-gift { display: block; border-radius: 21px; }
  .featured-art { width: 100%; aspect-ratio: 1; }
  .featured-copy { padding: 19px 20px 21px; }
  .featured-copy h2 { font-size: 31px; margin-bottom: 10px; }
  .featured-copy .eyebrow { font-size: 9px; margin-bottom: 8px; }
  .featured-copy p { font-size: 12px; line-height: 1.6; margin-bottom: 14px; }
  .featured-copy .button { min-height: 46px; padding: 12px 18px; font-size: 12px; }
  .featured-copy .text-btn { font-size: 11px; }
  .featured-copy .tiny { font-size: 10px; margin-top: 12px; }
  .featured-gift .tag { top: 13px; left: 13px; }
  .collection-head, .section-top { margin: 28px 0 15px; gap: 14px; }
  .collection-head h2, .section-top h2 { font-size: 28px; }
  .collection-head h3 { font-size: 27px; }
  .collection-head p { font-size: 11px; line-height: 1.55; max-width: 220px; }
  .price-pill { padding: 6px 10px; font-size: 11px; }
  .collection-scroll {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min(79vw, 310px);
    grid-template-columns: none;
    overflow-x: auto;
    gap: 13px;
    margin-inline: -20px;
    padding: 0 20px 17px;
    scroll-padding-inline: 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: #bfc8ad transparent;
    -webkit-overflow-scrolling: touch;
  }
  .collection-scroll > * { scroll-snap-align: start; }
  .collection-card, .scene-card { border-radius: 18px; }
  .collection-scroll .card-content { padding: 17px 18px; }
  .collection-scroll .card-content h3 { font-size: 26px; }
  .collection-scroll .card-content p { font-size: 12px; min-height: 0; }
  .collection-scroll .card-bottom { font-size: 10px; }
  .collection-scroll .card-bottom button { font-size: 11px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .cards .scene-card:first-child { grid-column: span 2; }
  .cards .scene-card:first-child .art-button { aspect-ratio: 1; }
  .art-button { aspect-ratio: 1; }
  .card-content { padding: 15px 12px; }
  .card-content h3 { font-size: 23px; }
  .card-content p { min-height: 0; }
  .card-bottom { gap: 5px; font-size: 9px; flex-wrap: wrap; }
  .card-bottom button { font-size: 10px; }
  .play-circle { width: 34px; height: 34px; }
  .tag { font-size: 8px; }
  .catalog-footnote { font-size: 10px; margin-top: 11px; }
  .pack-band { padding: 22px; border-radius: 18px; margin-top: 26px; }
  .pack-band h3 { font-size: 27px; }
  .pack-band .button { margin-top: 18px; }
  .footer { margin-top: 28px; padding: 23px 0 26px; gap: 5px 17px; }
  .footer-brand { width: 100%; margin-bottom: 4px; }
  .footer button { min-height: 36px; }
  .hero { gap: 0; padding: 18px 0 24px; }
  .hero h1 { font-size: 42px; margin: 13px 0; }
  .hero .sub { font-size: 12px; max-width: 290px; margin-bottom: 15px; }
  .hero-visual { max-width: 370px; }
  .hero-visual > img { aspect-ratio: 1; animation: none; }
  .hero .pill { font-size: 8px; }
  .how { font-size: 9px; gap: 9px; }
  .back { font-size: 11px; padding-top: 12px; }
  .editor-layout { grid-template-columns: 1fr; gap: 25px; margin-top: 12px; }
  .editor-layout > .preview-panel { max-width: 460px; }
  .editor-layout .stage { aspect-ratio: 1; }
  .stage { border-radius: 20px; }
  .scene-subtitle { font-size: 24px; margin-top: 15px; }
  .stage-caption { font-size: 10px; }
  .form-panel { padding-top: 0; }
  .form-panel h2 { font-size: 33px; margin-bottom: 11px; }
  .form-panel .sub { font-size: 12px; max-width: 320px; margin-bottom: 15px; }
  .field { margin-top: 16px; }
  .field-row { gap: 12px; }
  .field input, .field textarea, .code-input { font-size: 16px; }
  .field > span { font-size: 10px; }
  .ending-options { gap: 8px; }
  .ending-choice { grid-template-columns: 45px minmax(0, 1fr); gap: 7px; padding: 7px; }
  .ending-choice img, .ending-choice .scene-thumb, .ending-choice .ending-art { width: 45px; height: 45px; }
  .ending-choice strong { font-size: 10px; }
  .ending-choice small, .ending-choice p { font-size: 9px; }
  .receive-header { padding-top: 19px; }
  .receive { padding-inline: 18px; margin-top: 12px; }
  .receive h1 { font-size: 32px; }
  .receive .eyebrow { font-size: 9px; margin-top: 17px; }
  .recipient-world { padding: 17px 18px 30px; }
  .recipient-top { margin-bottom: 13px; }
  .recipient-top .brand { font-size: 23px; }
  .recipient-top p { font-size: 11px; }
  .address-label { font-size: 27px; margin: 15px 0 13px; }
  .parcel-card, .parcel-card .parcel-art, .opening-stage .parcel-art, .story-stage .stage { border-radius: 21px; }
  .ribbon-pull { bottom: 17px; min-height: 46px; font-size: 12px; padding: 12px 19px; }
  .seat-tag { left: 13px; bottom: 15px; font-size: 16px; padding: 7px 11px; }
  .personal-letter, .letter { padding: 24px 21px; margin-top: 17px; }
  .personal-letter blockquote, .letter blockquote { font-size: 24px; }
  .personal-letter .signature, .letter .signature { font-size: 11px; }
  .story-instruction { margin: 11px 5px; font-size: 11px; }
  .ritual-button { min-height: 48px; font-size: 12px; }
  .center-page h1 { font-size: 34px; }
  .center-page .sub { font-size: 12px; }
  .share-preview { width: 185px; height: 185px; }
  .outbox h1 { font-size: 36px; }
  .delivery-row { grid-template-columns: 55px minmax(0, 1fr) auto; gap: 12px; }
  .delivery-row h3 { font-size: 21px; }
  .delivery-row p { font-size: 10px; }
  dialog { padding: 28px 23px 25px; width: min(520px, calc(100% - 24px)); max-height: calc(100dvh - 24px); border-radius: 21px; }
  dialog h2 { font-size: 31px; margin-bottom: 17px; }
  dialog .eyebrow { font-size: 9px; }
  dialog .sub { font-size: 12px; }
  .pack-preview { height: auto; }
  .pack-preview .scene-thumb { height: auto; }
  .sheet-price { font-size: 33px; }
  .sheet-price small { font-size: 10px; }
  .benefits { font-size: 11px; line-height: 1.7; }
  .comparison-grid { grid-template-columns: 1fr; gap: 20px; }
  .comparison-note { padding: 17px 19px; font-size: 11px; }
}
@media (max-width: 360px) {
  .wrap { padding-inline: 15px; }
  .brand { font-size: 22px; gap: 5px; }
  .brand img, .brand-mark { width: 30px; height: 30px; flex-basis: 30px; }
  .nav { gap: 9px; }
  .nav button { font-size: 9px; }
  .catalogue-intro h1 { font-size: 31px; }
  .collection-scroll { margin-inline: -15px; padding-inline: 15px; scroll-padding-inline: 15px; grid-auto-columns: 84vw; }
  .featured-copy { padding: 17px; }
  .featured-copy h2 { font-size: 28px; }
  .featured-copy .button { padding-inline: 15px; }
  .ending-options { grid-template-columns: 1fr; }
  .ending-choice { grid-template-columns: 48px minmax(0, 1fr); }
  .ending-choice strong { font-size: 11px; }
  .ending-choice small { font-size: 10px; }
  .recipient-world { padding-inline: 14px; }
  .receive h1 { font-size: 29px; }
  .personal-letter blockquote, .letter blockquote { font-size: 22px; }
  .collection-head { gap: 8px; }
  .price-pill { font-size: 10px; padding-inline: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .scene-sprite { background-position: 50% 0; }
  .collection-card:hover, .scene-card:hover, .button:hover, button:active:not(:disabled), .button:active { transform: none; }
  .ribbon-pull:active:not(:disabled) { transform: translateX(-50%); }
}

/* Product mark and a quieter signature from the parent studio. */
.brand img.feltfully-app-icon {
  border-radius: 25%;
  object-fit: contain;
  flex-shrink: 0;
  box-shadow: 0 1px 3px #5543260b;
}
.brand-lockup { display: block; line-height: .95; }
.brand .brand-parent {
  display: block;
  font: 600 7px/1.4 var(--sans);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-top: 7px;
  color: #748065;
}
.studio-signature {
  display: block;
  width: fit-content;
  max-width: 100%;
  padding: 7px 9px;
  margin: 11px 0 0 -9px;
  border-radius: 9px;
  background: #f5f0e4;
}
.mental-mango-logo {
  display: block;
  width: 150px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}
.about-studio { margin: 0 0 22px; padding: 12px 14px; }
.about-studio .mental-mango-logo { width: 180px; height: auto; }
.footer-support { font-size: 10px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.footer-support:hover, .support-line a:hover, .offline-support a:hover { text-decoration: underline; text-underline-offset: 4px; }
.support-line { font-size: 12px; line-height: 1.7; margin: 18px 0 23px; }
.support-line a, .offline-support a { color: #40583c; text-underline-offset: 3px; overflow-wrap: anywhere; }
.offline-page { padding: 40px 23px 30px; }
.offline-page > .brand { justify-content: center; margin: 0 auto 48px; }
.offline-page > p:not(.offline-support) { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
.offline-support { font-size: 11px; color: #687261; margin: 24px 0 36px; }
.offline-page > .mental-mango-logo { box-sizing: content-box; margin: auto; padding: 9px 12px; background: #f5f0e4; border-radius: 9px; }
@media (max-width: 760px) {
  .footer .studio-signature { margin-top: 9px; margin-bottom: 5px; }
  .footer .mental-mango-logo { width: 132px; height: auto; }
  .footer-support { min-height: 36px; }
  .offline-page { padding-top: 28px; }
}
