@font-face {
  font-family: Inter; font-style: normal; font-weight: 100 900;
  src: url("motion/inter.woff2") format("woff2"); font-display: swap;
}
:root {
  color-scheme: light; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #202020; background: white; --ink: #202020; --subtle: #626262;
  --rail: #f3f3f3; --card-corners: 5.8% / 4.1%;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
button, input, textarea { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; border: 0; background: transparent; }
button:disabled { cursor: default; opacity: .36; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--ink); outline-offset: 3px;
}
[tabindex="-1"]:focus { outline: 0; }
[hidden] { display: none !important; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.site-head { height: 64px; padding: 0 clamp(20px, 3vw, 54px); display: flex; gap: clamp(6px,1.8vw,10px); align-items: center; background: white; color: var(--ink); }
.brand { display: inline-flex; min-width: 0; min-height: 44px; align-items: center; margin-inline-end: auto; }
.brand img { display: block; width: 108px; max-width: 100%; height: auto; }
.quiet-button, .primary, .secondary { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; border-radius: 12px; padding: 0 18px; font-weight: 580; font-size: 14px; text-decoration: none; }
.quiet-button { border-radius: 30px; background: var(--rail); min-height: 42px; font-size: 13px; }
.quiet-button:hover { background: #ebebeb; }
.site-head .quiet-button { flex: none; white-space: nowrap; background: white; color: var(--ink); box-shadow: inset 0 0 0 1px #dedede; }
.site-head .quiet-button:hover { box-shadow: 0 2px 8px #00000014, inset 0 0 0 1px #d4d4d4; }
#cart-open { gap: 6px; }
.bag-quantity { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 20px; background: #f1f1f1; font-size: 11px; line-height: 1; font-variant-numeric: tabular-nums; }
.bag-flight { position: fixed; z-index: 16; pointer-events: none; border-radius: var(--card-corners); transform-origin: center; }
.primary { background: var(--ink); color: #fff; }
.primary:hover { background: #080808; }
.secondary { color: var(--ink); background: white; box-shadow: inset 0 0 0 1px #c0c0c0; }
.secondary:hover { background: #fafafa; }
.icon { width: 20px; height: 20px; flex: none; display: inline-block; vertical-align: middle; stroke-width: 1.65; }
.icon-button { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; flex: none; }
.icon-button:hover { background: var(--rail); }
.text-button { min-height: 40px; padding: 4px; font-size: 13px; font-weight: 560; text-decoration: underline; text-underline-offset: 3px; }
.gallery { max-width: 1176px; min-height: min(840px,calc(100svh - 64px)); display: grid; align-content: center; margin: 0 auto; padding: clamp(27px,4svh,56px) clamp(25px,4.5vw,76px); }
.album { display: grid; grid-template-columns: minmax(0,1.06fr) minmax(0,1fr); grid-template-areas: "art title" "art choices"; column-gap: clamp(35px,5.2vw,76px); }
.album-intro { grid-area: title; align-self: end; }
.album-intro h1 { max-width: 12ch; font-size: clamp(42px,4.35vw,65px); line-height: 1.03; font-weight: 580; letter-spacing: -.06em; }
.display-piece { grid-area: art; min-width: 0; }
.card-mount { position: relative; isolation: isolate; display: grid; place-items: center; min-width: 0; padding: clamp(18px,2.3vw,34px) 24px;
  touch-action: pan-y pinch-zoom; -webkit-user-select: none; user-select: none; }
.album-art, .studio-art, .recipient-art { position: relative; isolation: isolate; aspect-ratio: 17 / 24; border-radius: var(--card-corners); }
.album-art { width: min(100%, min(26vw,41svh),340px); min-width: min(100%,205px); }
.album-details { grid-area: choices; align-self: start; min-width: 0; display: grid; grid-template-columns: minmax(0,1fr); justify-items: start; align-content: center; }
.scene-caption { position: relative; display: grid; justify-items: center; width: 100%; text-align: center; }
.caption-text { display: grid; grid-template: "words" auto / minmax(0,1fr); place-items: center; width: min(100%,414px); min-height: 62px; padding: 3px 8px; border-radius: 6px; text-align: center; }
.caption-text > span { grid-area: words; }
.design-title, .scene-story { font-family: inherit; font-size: 17px; line-height: 1.4; letter-spacing: -.025em; }
.design-title { font-weight: 540; }
.caption-text .design-title { transition: opacity 240ms ease; }
.scene-story { color: inherit; font-style: normal; font-weight: 380; text-wrap: pretty; visibility: hidden; opacity: 0; transition: opacity 340ms ease; }
.ink-word { display: inline-block; }
.scene-caption:is([data-phase="writing"],[data-phase="reading"],[data-phase="pinned"],[data-phase="returning"]) .design-title { opacity: 0; }
.scene-caption:is([data-phase="writing"],[data-phase="reading"],[data-phase="pinned"],[data-phase="returning"]) .scene-story { visibility: visible; }
.scene-caption:is([data-phase="writing"],[data-phase="reading"],[data-phase="pinned"]) .scene-story { opacity: 1; }
.scene-caption[data-phase="writing"] .ink-word { animation: write-word var(--duration) cubic-bezier(.25,.55,.5,1) var(--start) both; }
@keyframes write-word {
  from { opacity: 0; clip-path: inset(-.18em 100% -.24em 0); }
  10% { opacity: 1; }
  to { opacity: 1; clip-path: inset(-.18em -.14em -.24em -.12em); }
}
.recipient-caption h1 { width: 100%; }
.recipient-caption .caption-text { margin: auto; width: min(100%,660px); }
.recipient-caption .design-title { font: inherit; letter-spacing: inherit; }
.recipient-caption .scene-story { font-size: inherit; line-height: inherit; letter-spacing: inherit; }
.scene-picker { --arrow-size: 46px; min-width: 0; width: 100%; display: grid; grid-template-columns: var(--arrow-size) minmax(0,1fr) var(--arrow-size); gap: 6px; align-items: center; margin-top: clamp(22px,3.2svh,34px); }
.picker-arrow { width: var(--arrow-size); height: var(--arrow-size); padding: 0; }
.picker-arrow .icon { width: 29px; height: 29px; }
.stamp-index { --stamp-w: 76px; display: flex; gap: 6px; min-width: 0; overflow-x: auto; overflow-y: hidden;
  padding: 6px 5px 8px; overscroll-behavior-x: contain; scrollbar-width: none; }
.stamp-index::-webkit-scrollbar { display: none; }
.scene-choice { display: grid; place-items: center; padding: 5px; flex: 0 0 auto; border-radius: 7px; background: transparent; }
.scene-choice:is([aria-checked="true"],:hover,:focus-visible,:active) { background: #fff; box-shadow: 0 2px 6px #2323232b; }
.scene-choice:focus-visible { outline-offset: 1px; }
.card-miniature { display: block; width: var(--stamp-w); aspect-ratio: 17 / 24; border-radius: var(--card-corners); }
.postage { width: var(--stamp-w,47px); display: inline-block; position: relative; line-height: 0; filter: drop-shadow(0 1px 1px #30303040); }
.stamp-paper { display: block; position: relative; padding: 4px; background: #ffffff;
  mask: linear-gradient(#000 0 0) center / calc(100% - 5px) calc(100% - 5px) no-repeat,
    radial-gradient(circle at 0 50%,transparent 1.5px,#000 1.9px) left center / 3px 7px repeat-y,
    radial-gradient(circle at 100% 50%,transparent 1.5px,#000 1.9px) right center / 3px 7px repeat-y,
    radial-gradient(circle at 50% 0,transparent 1.5px,#000 1.9px) center top / 7px 3px repeat-x,
    radial-gradient(circle at 50% 100%,transparent 1.5px,#000 1.9px) center bottom / 7px 3px repeat-x; }
.album-action { margin-top: clamp(16px,2.8svh,29px); padding: 0 22px; min-height: 47px; border-radius: 28px; }
.album-action .icon { width: 17px; height: 17px; }
.face { display: grid; place-items: center; position: relative; isolation: isolate; width: 100%; height: 100%; overflow: hidden; border-radius: inherit;
  box-shadow: 0 1px 3px #0000001a, 0 3px 8px -4px #00000024; background: #fff; }
.face::after { content: ""; position: absolute; z-index: 3; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px #ffffff28; pointer-events: none; }
.face::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 32% 23% at center, rgba(20,20,20,var(--mark-shade)) 0 12%, transparent 100%); }
.painting, .painting img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.painting img { object-fit: cover; }
.motion-layer, .cloud-window { display: block; position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.cloud-window { opacity: 0; mask-image: var(--sky-window); -webkit-mask-image: var(--sky-window);
  mask-size: 100% 100%; -webkit-mask-size: 100% 100%; mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat; transition: opacity .4s ease; }
.cloud-window.ready { opacity: 1; }
.cloud-strip { display: block; position: absolute; top: 0; left: -200%; width: 300%; height: 100%;
  background-repeat: repeat-x; background-size: 66.66666667% 100%; }
.cloud-window.ready .cloud-strip { animation-name: sky-crossing; animation-timing-function: linear; animation-iteration-count: infinite; }
@keyframes sky-crossing { from { transform: translateX(0); } to { transform: translateX(66.66666667%); } }
.scene-mark { grid-area: 1 / 1; position: relative; z-index: 2; width: 16.8%; height: auto; display: block; pointer-events: none; }

.studio, .recipient { padding: clamp(24px,5.3svh,64px) 20px 40px; }
.studio-title, .section-title { text-align: center; font-size: clamp(30px,3.1vw,46px); line-height: 1.08; letter-spacing: -.055em; font-weight: 570; overflow-wrap: anywhere; }
.studio { max-width: 970px; margin: 0 auto; }
.studio-pair { display: grid; grid-template-columns: minmax(230px,345px) minmax(343px,410px);
  justify-content: center; align-items: center; gap: clamp(32px,5.2vw,78px); margin: clamp(22px,4.4svh,49px) auto 0; }
.studio-scene { width: 100%; display: grid; justify-items: center; gap: 15px; }
.studio-art { width: min(100%,33svh); min-width: min(100%,220px); }
.studio-scene figcaption { font-size: 15px; color: var(--subtle); letter-spacing: -.02em; text-align: center; }
.sheet { width: 100%; min-height: 435px; min-width: 0; display: flex; flex-direction: column; background: #ffffff;
  border-radius: 8px; box-shadow: 0 2px 9px #24242418; }
.sheet .sheet-body { overflow: visible; }
.sheet-head { flex: none; height: 54px; padding: 5px 10px; display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; }
.sheet-head h2 { font-weight: 610; font-size: 15px; letter-spacing: -.03em; text-align: center; }
.sheet-head .end { grid-column: 3; } .sheet-head .icon { width: 18px; height: 18px; }
.sheet-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 16px 22px 14px; scrollbar-width: thin; }
.sheet-footer { margin-top: auto; flex: none; }
.progress { display: flex; gap: 3px; } .progress i { flex: 1; height: 3px; background: #ececec; } .progress i.done { background: #2e2e2e; }
.sheet-actions { display: flex; gap: 9px; padding: 12px 20px 17px; } .sheet-actions button { flex: 1; }
.amount-body { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.amount-centre { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-bottom: 8px; }
.amount-entry { display: inline-flex; align-items: baseline; justify-content: center; max-width: 100%; gap: 6px; font-weight: 640; }
.amount-entry span { font-size: 27px; letter-spacing: -.06em; }
.amount-entry input { max-width: 77%; min-width: 1ch; padding: 2px 0; background: transparent; border: 0; border-radius: 6px; font-size: clamp(46px,4.7vw,69px); font-weight: 620; line-height: 1.1; letter-spacing: -.075em; text-align: center; }
.amount-caption { color: var(--subtle); font-size: 13px; line-height: 1.45; margin-top: 18px; }
.rail { display: flex; background: var(--rail); border-radius: 14px; padding: 4px; gap: 2px; }
.rail button { flex: 1; min-width: 0; min-height: 37px; border-radius: 10px; padding: 3px 7px; font-size: 12px; font-weight: 540; }
.rail button:hover, .rail button[aria-pressed="true"], .options button:hover, .options button[aria-pressed="true"], .calendar-days button[aria-pressed="true"] { background: white; box-shadow: 0 1px 3px #1919191b,0 2px 7px #19191912; }
.preset-buttons { display: flex; gap: clamp(6px,1.5vw,9px); }
.preset-buttons button { display: flex; flex: 1; justify-content: center; align-items: center; min-width: 0; min-height: 44px; padding: 3px 2px; border-radius: 999px; background: #fff; box-shadow: 0 2px 7px #20202014,0 1px 2px #20202012; font-size: 12px; font-weight: 540; white-space: nowrap; }
.preset-buttons button[aria-pressed="true"] { font-weight: 640; box-shadow: 0 3px 10px #20202024,0 1px 3px #20202017; }
@media (hover: hover) and (pointer: fine) {
  .preset-buttons button[aria-pressed="false"]:hover { box-shadow: 0 3px 10px #20202020,0 1px 3px #20202015; }
}
.fields { display: grid; gap: 12px; }
.group-fields { border: 1px solid #bcbcbc; border-radius: 13px; }
.field { position: relative; display: block; border: 1px solid #bcbcbc; border-radius: 13px; padding: 9px 13px 8px; text-align: left; background: #fff; }
.group-fields .field { display: grid; grid-template-columns: 45px minmax(0,1fr); align-items: center; column-gap: 8px; min-height: 53px; border: 0; border-radius: 12px; padding: 7px 14px; }
.group-fields .field + .field { border-top: 1px solid #d4d4d4; border-top-left-radius: 0; border-top-right-radius: 0; }
.field:focus-within { box-shadow: inset 0 0 0 1.5px var(--ink); }
.field label, .field > span:first-child, .field-title { display: block; width: fit-content; color: var(--subtle); font-size: 11px; font-weight: 520; line-height: 1.4; }
.group-fields .field label { color: #000; font-size: 16px; font-weight: 560; letter-spacing: -.02em; }
.group-fields .field input { min-height: 37px; }
.field input, .field textarea { display: block; border: 0; background: transparent; outline: none; padding: 2px 0; width: 100%; min-width: 0; font-size: 15px; line-height: 1.45; }
.field input:focus-visible, .field textarea:focus-visible { outline: none; }
.field input::placeholder, .field textarea::placeholder { color: #878787; }
.field.note-field { container-type: inline-size; padding: 12px 14px; }
.note-heading label { font-size: 14px; font-weight: 550; color: var(--ink); }
.note-field textarea { height: clamp(184px,24svh,232px); resize: none; padding-block: 8px; font-size: 16px; line-height: 1.5; }
.field:has([aria-invalid="true"]) { box-shadow: inset 0 0 0 1.5px #aa4427; }
.hint, .error, .time-caption { color: var(--subtle); font-size: 12px; line-height: 1.45; }
.error { display: block; color: #9c4028; padding: 3px 0 0; }
.error:empty { display: none; }
.occasion-rail { gap: clamp(6px,2.2cqi,10px); margin-top: 10px; }
.occasion-rail button { flex-basis: auto; gap: clamp(3px,1.4cqi,6px); font-size: clamp(11.5px,3.75cqi,13px); }
.occasion-icon { position: relative; display: block; flex: none; width: clamp(23px,8.9cqi,30px); aspect-ratio: 1; pointer-events: none; }
.occasion-icon img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.occasion-icon .occasion-detail { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .occasion-icon .occasion-detail { display: block; }
  .occasion-icon.holiday { --hinge: 32.8%; }
  .occasion-icon.birthday { --hinge: 22.65%; }
  /* The bow bends at its knot and the flame at its wick. Keep the rest of each illustration still. */
  .occasion-icon:is(.holiday,.birthday) .occasion-base { clip-path: inset(calc(var(--hinge) - .3%) 0 0); }
  .occasion-icon:is(.holiday,.birthday) .occasion-detail { clip-path: inset(0 0 calc(100% - var(--hinge))); transform-origin: 50% var(--hinge); }
  .holiday .occasion-detail { animation: ribbon-unfold 7.8s cubic-bezier(.42,0,.32,1) -2.3s infinite; }
  .birthday .occasion-detail { animation: candle-flame 4.7s ease-in-out -.9s infinite; }
  .thanks .occasion-detail { transform-origin: 50% 47.7%; animation: letter-heart 7.2s cubic-bezier(.42,0,.3,1) -3.8s infinite; }
}
@keyframes ribbon-unfold {
  0%,55%,90%,100% { transform: none; }
  70% { transform: skewX(-2.5deg) scaleY(1.07); }
  81% { transform: skewX(.7deg) scaleY(.99); }
}
@keyframes candle-flame {
  0%,100% { transform: skewX(-3deg); }
  30% { transform: skewX(7deg) scaleY(.94); }
  58% { transform: skewX(-5deg) scaleY(1.04); }
  78% { transform: skewX(2deg) scaleY(.98); }
}
@keyframes letter-heart {
  0%,46%,84%,100% { transform: scale(1); }
  65% { transform: scale(1.025,1.085); }
}
.char-count { margin-top: 5px; }
.options { display: grid; gap: 5px; padding: 5px; background: var(--rail); border-radius: 17px; }
.option { display: grid; grid-template-columns: 22px 1fr 17px; gap: 12px; text-align: left; align-items: center; padding: 15px 12px; border-radius: 12px; }
.option strong { font-size: 15px; font-weight: 570; letter-spacing: -.025em; }
.option .check { opacity: 0; width: 15px; } .option[aria-pressed="true"] .check { opacity: 1; }
.delivery-details .field-title { font-size: 12px; margin-bottom: 5px; }
.date-button { width: 100%; display: flex; justify-content: space-between; align-items: center; min-height: 46px; margin: 3px 0 7px; border-radius: 11px; border: 1px solid #bcbcbc; padding: 0 12px; text-align: left; font-size: 14px; }
.date-button .icon { width: 17px; }
.review-body { display: flex; flex-direction: column; justify-content: safe center; gap: 16px; }
.review-greeting { text-align: center; overflow-wrap: anywhere; padding: 0 2px; }
.edit-amount { font-size: clamp(32px,3.3vw,47px); font-weight: 620; letter-spacing: -.065em; line-height: 1.08; padding: 3px 7px; border-radius: 10px; }
.review-note { font-size: clamp(17px,1.45vw,21px); font-weight: 520; line-height: 1.34; letter-spacing: -.032em; margin: 11px 0 6px; white-space: pre-wrap; }
.review-list { border: 1px solid #e4e4e4; border-radius: 14px; padding: 0 12px; }
.review-row { display: grid; grid-template-columns: 57px minmax(0,1fr) 34px; gap: 5px; align-items: center; min-height: 48px; padding: 4px 0; }
.review-row + .review-row { border-top: 1px solid #ebebeb; }
.review-row dt { font-size: 12px; font-weight: 570; }
.review-row dd { text-align: right; overflow-wrap: anywhere; font-size: 12px; line-height: 1.4; color: var(--subtle); }
.review-row dd small { display: block; color: var(--subtle); font-size: 11px; }
.review-row button { width: 34px; height: 38px; } .review-row .icon { width: 14px; height: 14px; }
.simple-section { max-width: 596px; margin: 0 auto; padding: clamp(24px,5.5svh,64px) 20px 40px; }
.order-panel { border: 1px solid #e4e4e4; padding: clamp(15px,3vw,25px); border-radius: 23px; margin: 30px auto 0; }
.order-row { display: grid; grid-template-columns: 65px minmax(0,1fr) auto; gap: 15px; align-items: center; padding: 14px 0; }
.order-row + .order-row, .order-total { border-top: 1px solid #e7e7e7; }
.order-thumb { width: 65px; aspect-ratio: 17/24; display: block; border-radius: 7px; }
.order-thumb .face { box-shadow: none; }
.order-row h3 { font-size: 16px; letter-spacing: -.024em; font-weight: 590; overflow-wrap: anywhere; }
.order-row p { color: var(--subtle); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.order-row strong, .order-total { font-size: 16px; font-weight: 600; }
.order-tools { display: flex; flex-wrap: wrap; gap: 9px; } .order-tools button { font-size: 12px; }
.order-total { margin: 9px 0; padding: 18px 0 6px; display: flex; justify-content: space-between; }
.order-note { color: var(--subtle); font-size: 13px; line-height: 1.5; padding: 7px 0; }
.order-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; align-items: center; margin-top: 21px; }
.checkout-section { max-width: 824px; margin: 0 auto; padding: clamp(28px,6svh,70px) clamp(20px,5vw,56px) 48px; }
.checkout-spread { display: grid; grid-template-columns: minmax(0,.84fr) minmax(0,1fr); align-items: center; gap: clamp(30px,5vw,72px); margin-top: clamp(28px,5.5svh,58px); }
.checkout-portrait { min-width: 0; text-align: center; }
.checkout-portrait > div { width: min(100%,247px); margin: 0 auto; aspect-ratio: 17 / 24; border-radius: var(--card-corners); box-shadow: 0 10px 24px -14px #20202048; }
.checkout-portrait figcaption { margin-top: 12px; color: var(--subtle); font-size: 13px; line-height: 1.45; }
.checkout-details { display: grid; min-width: 0; gap: 22px; }
.checkout-letter { min-width: 0; overflow-wrap: anywhere; }
.checkout-letter h2 { font-size: clamp(22px,2.3vw,31px); line-height: 1.14; font-weight: 570; letter-spacing: -.044em; }
.checkout-message { margin-top: 10px; font-size: 17px; line-height: 1.5; font-weight: 430; letter-spacing: -.018em; white-space: pre-wrap; }
.checkout-signature { margin-top: 8px; color: var(--subtle); font-size: 14px; line-height: 1.45; }
.checkout-facts { display: grid; gap: 13px; border-top: 1px solid #e8e8e8; padding-top: 17px; }
.checkout-facts > div { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 14px; align-items: baseline; }
.checkout-facts dt { font-size: 13px; color: var(--subtle); }
.checkout-facts dd { text-align: right; overflow-wrap: anywhere; font-size: 14px; font-weight: 530; }
.checkout-facts small { display: block; margin-top: 2px; color: var(--subtle); font-size: 12px; font-weight: 400; line-height: 1.45; }
.checkout-value dd { font-size: 27px; letter-spacing: -.048em; font-weight: 590; font-variant-numeric: tabular-nums; }
.checkout-controls { display: grid; min-width: 0; gap: 14px; }
.checkout-controls > .primary { width: 100%; min-height: 47px; border-radius: 999px; }
.checkout-email { padding: 9px 14px; }
.checkout-email > span:first-child { font-size: 12px; }
.checkout-email input { font-size: 16px; }
.checkout-consent { display: grid; grid-template-columns: 28px minmax(0,1fr); align-items: center; min-height: 44px; color: var(--subtle); font-size: 13px; line-height: 1.55; }
.checkout-consent label, .checkout-check input { cursor: pointer; }
.checkout-check { display: flex; align-items: center; position: relative; height: 44px; }
.checkout-check input { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; }
.checkout-checkmark { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; border: 1px solid #929292; background: white; color: var(--ink); }
.checkout-checkmark .icon { width: 14px; height: 14px; stroke-width: 2.25; opacity: 0; }
.checkout-check input:checked + span { border-color: #787878; box-shadow: 0 2px 5px #19191924; }
.checkout-check input:checked + span .icon { opacity: 1; }
.checkout-check input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.checkout-check input[aria-invalid="true"] + span { border-color: #9c4028; }
.checkout-consent a, .checkout-links a, .checkout-edit { color: var(--ink); font-weight: 530; text-decoration-line: underline; text-decoration-color: #999; text-underline-offset: 3px; }
.checkout-consent a:hover, .checkout-links :is(a,button):hover { text-decoration-color: currentColor; }
.checkout-links { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; column-gap: 24px; }
.checkout-links a, .checkout-edit { display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; font-size: 13px; }
.checkout-controls #payment-status { color: var(--subtle); font-size: 13px; line-height: 1.5; }
.checkout-controls #payment-status:empty { display: none; }
.checkout-spread.many-postcards { grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); align-items: start; gap: clamp(25px,3.5vw,45px); }
.checkout-items { min-width: 0; }
.checkout-items .order-row { grid-template-columns: 48px minmax(0,1fr) auto; gap: 10px; }
.checkout-items .order-thumb { width: 48px; }
.checkout-items .order-row:first-child { padding-top: 0; }
.checkout-items .order-tools:empty { display: none; }
.many-postcards .checkout-facts { padding-top: 0; border-top: 0; }
@media (max-width: 700px) {
  .checkout-section { max-width: 475px; padding: 27px clamp(20px,6vw,32px) max(28px,env(safe-area-inset-bottom)); }
  .checkout-spread { margin-top: 30px; }
  .checkout-spread.one-postcard { grid-template-columns: minmax(0,.72fr) minmax(0,1fr); gap: 25px clamp(15px,5.6vw,26px); }
  .one-postcard .checkout-details { display: contents; }
  .one-postcard .checkout-facts, .one-postcard .checkout-controls { grid-column: 1 / -1; }
  .checkout-portrait > div { width: min(100%,140px); }
  .checkout-portrait figcaption { margin-top: 8px; font-size: 12px; }
  .checkout-letter h2 { font-size: 23px; }
  .checkout-message { margin-top: 8px; font-size: 15px; }
  .checkout-signature { font-size: 13px; }
  .checkout-spread.many-postcards { grid-template-columns: minmax(0,1fr); }
  .many-postcards .checkout-facts { padding-top: 17px; border-top: 1px solid #e8e8e8; }
}
.recipient { text-align: center; }
.recipient-stage { display: grid; justify-items: center; gap: 20px; margin: 28px auto 0; }
.envelope { position: relative; isolation: isolate; display: grid; place-items: end center; width: min(325px,76vw); aspect-ratio: 1.2; margin: 8px 0 7px; }
.envelope .insert { position: absolute; top: 0; left: 18%; width: 64%; height: 89%; overflow: hidden; border-radius: 10px; transform: rotate(-4deg); }
.envelope .painting img { object-position: 50% 19%; }
.envelope .pocket { position: absolute; bottom: 0; width: 100%; height: 67%; border-radius: 6px 6px 13px 13px; overflow: hidden;
  background: linear-gradient(148deg, transparent 49.4%,#a8a8a867 49.9%,#fafafa 50.6%) 0 100%/51% 100% no-repeat,linear-gradient(212deg,transparent 49.4%,#a8a8a867 49.9%,#f1f1f1 50.6%) 100% 100%/51% 100% no-repeat, #ffffff;
  box-shadow: 0 12px 35px -11px #28282842, inset 0 0 0 1px #aaaaaa44; }
.pocket { display: grid; place-items: center; }
.seal { width: 49px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: #303030; box-shadow: 0 2px 4px #34343424; }
.seal img { display: block; width: 21px; height: auto; }
.recipient-art { width: min(315px,65vw,32svh); min-width: min(220px,68vw); }
.paper-back { height: 100%; border-radius: inherit; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; text-align: left; gap: 9px; padding: 8% 9%; overflow-y: auto; overflow-wrap: anywhere; background: #ffffff; box-shadow: inset 0 0 0 1px #dedede, 0 4px 15px #2929291a; }
.postcard-imprint { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.postcard-imprint > span:first-child { max-width: 15ch; padding-top: 4px; font-size: 11px; line-height: 1.35; color: #626262; font-weight: 550; }
.letter-stamp { width: 40px; flex: none; }
.letter-stamp .stamp-paper { padding: 3px; }
.stamp-paper > img:first-child { width: 100%; height: auto; }
.stamp-mark { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); height: auto; width: 16%; }
.note-heading { display: flex; align-items: center; justify-content: space-between; gap: 9px; }
.note-heading .letter-stamp { width: 37px; }
.note-field { background: #ffffff; }
.paper-back .letter-amount { margin-top: auto; }
.paper-back .letter-to, .paper-back .letter-from { width: 100%; font-size: 13px; line-height: 1.4; color: #595959; }
.paper-back .letter-note { width: 100%; font-family: Georgia,serif; font-size: clamp(17px,1.75vw,25px); line-height: 1.36; white-space: pre-wrap; }
.paper-back .letter-amount { color: #444444; font-size: 15px; font-weight: 580; letter-spacing: -.025em; }
dialog { border: 0; padding: 0; color: var(--ink); max-height: min(84svh,760px); border-radius: 23px; box-shadow: 0 20px 90px #15151538; }
dialog::backdrop { background: #26262670; }
.help-content { width: min(460px,calc(100vw - 36px)); padding: 24px 26px 26px; }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: -4px -8px 20px 0; }
.dialog-heading h2 { font-size: 26px; font-weight: 615; letter-spacing: -.05em; }
.help-content h3 { margin-top: 18px; font-size: 16px; font-weight: 600; letter-spacing: -.025em; } .help-content p { font-size: 14px; line-height: 1.55; color: var(--subtle); margin-top: 4px; }
.help-content .faq-heading { margin: 24px 0 6px; font-size: 21px; }
.help-content details { border-bottom: 1px solid #e6e6e6; } .help-content details:last-child { border: 0; }
.help-content summary { cursor: pointer; min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; font-weight: 540; list-style: none; }
.help-content summary::-webkit-details-marker { display: none; }
.help-content summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg); flex: none; margin-right: 4px; }
.help-content details[open] summary::after { transform: rotate(225deg); }
.help-content details p { margin: 0 0 13px; }
.calendar-content { padding: 18px; width: min(332px,calc(100vw - 32px)); } .calendar-content h2 { font-size: 20px; }
.month-nav { display: flex; align-items: center; justify-content: space-between; margin: 4px 0; font-size: 14px; font-weight: 590; }
.calendar-days { display: grid; grid-template-columns: repeat(7,1fr); text-align: center; gap: 2px; }
.calendar-days span { font-size: 11px; padding: 5px 0; color: var(--subtle); }
.calendar-days button { min-height: 36px; border-radius: 10px; font-size: 13px; }
.calendar-days button:hover:enabled, .calendar-days button[aria-pressed="true"] { background: #fff; box-shadow: 0 1px 8px #2121212b; }
@media (min-width: 1650px) and (min-height: 850px) {
  .studio { padding-top: 6svh; }
}
@media (max-width: 739px), (pointer: coarse) and (orientation: landscape) and (max-height: 500px) {

  .site-head { height: 62px; padding: 0 18px; display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 0; }
  .site-head > * { grid-row: 1; }
  #cart-open { grid-column: 1; justify-self: start; }
  .brand { grid-column: 2; justify-self: center; margin-inline-end: 0; }
  .brand img { width: 89px; }
  #help-open { grid-column: 3; justify-self: end; }
  .quiet-button { min-height: 38px; font-size: 12px; padding: 0 11px; }
  .gallery-page .site-head { height: 56px; }
  .gallery { min-height: min(720px,calc(100svh - 56px)); max-width: 620px; padding: clamp(18px,3svh,32px) 4px clamp(32px,7svh,68px); }
  .album-intro { align-self: start; padding-inline: 12px; text-align: center; }
  .album-intro h1 { max-width: none; font-size: clamp(29px,7.45vw,41px); line-height: 1.08; }
  .album { grid-template-columns: minmax(0,1fr); grid-template-areas: "title" "art" "choices"; gap: clamp(12px,2.7svh,24px); }
  .album-details { width: 100%; justify-items: center; }
  .design-title, .scene-story { font-size: 15px; }
  .album-action { margin-top: 0; padding: 0 21px; min-height: 46px; }
  .album-action .icon { display: none; }
  .mobile-deck { --hero: min(47.5vw,40svh,275px); --gap: clamp(6px,1.85vw,11px); --step: calc(var(--hero) * .735 + var(--gap));
    display: flex; justify-content: flex-start; align-items: center; width: min(100%,calc(var(--hero) * 1.94 + var(--gap) * 2 + 10px)); margin-inline: auto; padding: 6px 0; overflow-x: auto; overflow-y: hidden;
    touch-action: pan-x pan-y pinch-zoom; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .mobile-deck::-webkit-scrollbar { display: none; }
  .mobile-deck::before, .mobile-deck::after { content: ""; flex: 0 0 calc(50% - var(--step) / 2); }
  .deck-slide { --presence: 0; position: relative; flex: 0 0 var(--step); height: calc(var(--hero) * 24 / 17); scroll-snap-align: center; scroll-snap-stop: always; }
  .deck-print { position: absolute; left: 50%; top: 50%; width: var(--hero); min-width: 0; aspect-ratio: 17 / 24; padding: 0; border-radius: var(--card-corners);
    transform: translate(-50%,-50%) scale(calc(.47 + .53 * var(--presence))); }
  .deck-print > .face { position: absolute; inset: 0; background-size: cover; background-position: center; }
  .display-piece .scene-caption { margin-top: 5px; padding-inline: 8px; }
  .studio, .recipient { padding: 17px 14px 28px; } .studio-title, .section-title { font-size: clamp(25px,6.5vw,34px); }
  .mobile-studio { max-width: 475px; padding: clamp(18px,4svh,36px) clamp(12px,4vw,20px) max(20px,env(safe-area-inset-bottom)); }
  .mobile-studio .sheet { width: 100%; min-height: min(465px,calc(100svh - 120px)); border-radius: 0; box-shadow: none; }
  .mobile-studio .sheet-head { height: auto; min-height: 48px; padding: 0; }
  .mobile-studio .sheet-head h1 { font-size: clamp(25px,6.7vw,33px); line-height: 1.12; letter-spacing: -.055em; font-weight: 580; text-align: center; }
  .mobile-studio .sheet-body { padding: 20px 3px 14px; }
  .mobile-studio .sheet-actions { justify-content: center; padding: 12px 3px 3px; }
  .mobile-studio .sheet-actions button { flex: 0 1 220px; border-radius: 24px; }
  .mobile-studio .progress { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .amount-entry input { font-size: 52px; } .amount-entry span { font-size: 23px; }
  .field input, .field textarea { font-size: 16px; }
  .fields { gap: 12px; }
  .review-body { gap: 12px; }
  .note-heading .letter-stamp { width: 29px; }
  .simple-section { padding-top: 24px; } .order-row { gap: 9px; } .order-panel { margin-top: 22px; }
  .recipient-stage { margin-top: 23px; } .paper-back .letter-note { font-size: 18px; }
}
@media (pointer: coarse) and (orientation: landscape) and (max-height: 500px) {
  .gallery-page .site-head { height: 46px; }
  .gallery { min-height: calc(100svh - 46px); padding-block: 0 6px; }
  .album { gap: 2px; }
  .album-intro h1 { font-size: 27px; }
  .mobile-deck { --hero: min(33svh,175px); padding-block: 4px; }
  .display-piece .scene-caption { margin-top: 0; }
  .caption-text { min-height: 44px; width: min(100%,540px); }
  .mobile-studio { padding-block: 8px 12px; }
  .mobile-studio .sheet { min-height: min(290px,calc(100svh - 85px)); }
  .mobile-studio .sheet-body { padding-block: 10px; }
}
@media (max-height: 540px) and (min-width: 740px) {
  .site-head { height: 54px; } .studio { padding-top: 10px; } .studio-pair { margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .bag-flight { display: none; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .caption-text .ink-word { animation: none !important; clip-path: none; }
  .caption-text > span { transition: none !important; }
}
.gallery-page .site-head { position: sticky; top: 0; z-index: 15; }

.gift-charge-options:not(:empty) { display: inline-flex; align-self: start; width: fit-content; padding: 4px; border-radius: 2rem; background: #f3f3f3; }
.gift-charge-options:empty { display: none; }
.gift-charge-options button { color: inherit; font: inherit; font-weight: 600; min-height: 44px; background: transparent; border: 0; border-radius: 2rem; padding: 0 1rem; }
.gift-charge-options button:is([aria-pressed="true"],:hover,:focus-visible) { background: white; box-shadow: 0 1px 4px #0002; }
