/* Sky Blue: the existing palette, lit and layered. This stylesheet is additive.
   Product artwork, template typography, copy, pricing and checkout logic stay in
   the published application. L1 / L2 / L3 are the only outer elevation tokens;
   the CTA, drawer and inset wells below are the requested explicit exceptions. */
:root {
  --depth-ink: #102c3d;
  --depth-cream: #f8f5ee;
  --depth-blue: #c8e1eb;
  --depth-l1: 0 1px 2px rgba(16,44,61,.06), 0 4px 12px rgba(16,44,61,.08);
  --depth-l2: 0 2px 6px rgba(16,44,61,.08), 0 12px 28px -6px rgba(16,44,61,.18);
  --depth-l3: 0 8px 16px rgba(16,44,61,.10), 0 28px 56px -16px rgba(16,44,61,.35);
  --depth-gradient-dark: linear-gradient(135deg,#0b2634,#102c3d 45%,#1c465b);
  --depth-gradient-light: linear-gradient(135deg,#e4eff2,#d2e8f1 52%,#c8e1eb);
  --depth-gradient-sand: linear-gradient(135deg,#ede6d3,#d7cebd 55%,#cfc2a8);
  --depth-gradient-cream: linear-gradient(135deg,#f8f5ee,#f3eee1);
  --depth-inset: inset 0 2px 8px rgba(16,44,61,.12);
  --depth-time: 220ms;
  --depth-ease: cubic-bezier(.2,.7,.2,1);
  --ink: #102c3d;
  --navy: #102c3d;
  --blue: #c8e1eb;
  --paper: #f8f5ee;
  --muted: rgba(16,44,61,.74);
  --line: rgba(16,44,61,.14);
  --accent: #2e5c6d;
}
html { scroll-padding-top: 112px; }
body { background: var(--depth-gradient-cream); }
/* Focus is never conveyed by a new color alone. Crop positions are deliberately
   not transformed: the application owns the image's inline crop geometry. */
:where(a,button,summary,input,textarea) {
  transition: transform var(--depth-time) var(--depth-ease),
    box-shadow var(--depth-time) var(--depth-ease),
    outline-color var(--depth-time) var(--depth-ease),
    background-color var(--depth-time) var(--depth-ease);
}
button:focus-visible,a:focus-visible,summary:focus-visible,
input:focus-visible,textarea:focus-visible,.design:focus-visible,
.story-step:focus-visible,.story-controls button:focus-visible,
.upload:focus-within {
  outline: 2px solid var(--depth-ink);
  outline-offset: 3px;
  box-shadow: var(--depth-l2);
}
:where(a,button,summary):focus-visible { translate: 0 -2px; }
input:focus-visible,textarea:focus-visible { box-shadow: var(--depth-l1); translate: 0 -2px; }
:where(button):disabled {
  background: #d3dbdf;
  color: rgba(16,44,61,.6);
  opacity: 1;
  box-shadow: none;
  outline: none;
  transform: none;
  translate: none;
  cursor: not-allowed;
}
:where(.fine,.pack-detail,.design-state,.story-disclaimer,.detail-photo figcaption) {
  color: rgba(16,44,61,.74);
}
:where(.button,.actions button,.photo-actions button,.drawer-head button,.remove) {
  border-radius: 16px;
}
:where(.motion-toggle,.demo-toggle,.ribbon-toggle,.bag,.story-controls button) {
  border-radius: 999px;
}
:where(input:not([type="file"]):not([type="range"]),textarea) {
  border-radius: 14px;
}
/* Header: opaque cream keeps the navigation legible; glass is reserved for
   floating chips, never used behind forms or body copy. */
body > header {
  background: var(--depth-gradient-cream);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  box-shadow: none;
}
body > header.is-scrolled,
body > header.dm-scrolled,
html.dm-scrolled body > header {
  border-bottom-color: rgba(16,44,61,.08);
  box-shadow: var(--depth-l1);
}
nav a { border-radius: 16px; padding: 9px 10px; }
.actions .bag {
  background: #fff;
  border: 1px solid #c8e1eb;
  box-shadow: var(--depth-l1);
}
.actions .lang { min-height: 44px; padding: 8px; }
.bag #count { background: #102c3d; color: #fff; }
/* All enabled primary actions share the same laminated, tactile treatment. */
.button.dark:not(:disabled),
.hero .button.dark:not(:disabled) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(180deg,#2e5c6d,#102c3d);
  color: #fff;
  box-shadow: 0 10px 22px -8px rgba(16,44,61,.45),
    inset 0 1px 0 rgba(255,255,255,.28);
  transition: transform var(--depth-time) var(--depth-ease),
    box-shadow var(--depth-time) var(--depth-ease), outline-color var(--depth-time);
}
.button.dark:disabled,
.drawer-bottom .button:disabled {
  background: #d3dbdf;
  color: rgba(16,44,61,.6);
  box-shadow: none;
  opacity: 1;
  transform: none;
  translate: none;
  outline: none;
}
/* Hero: a navy-lit copy panel and a separate sand photographic stage. */
.hero { position: relative; background: var(--depth-gradient-dark); }
.hero-copy {
  isolation: isolate;
  padding-bottom: 76px;
  background: radial-gradient(600px 320px at 18% 18%,rgba(200,225,235,.20),transparent 65%),
    var(--depth-gradient-dark);
}
.hero-copy > :is(.eyebrow,h1,p,.button,.hero-mini-steps,.story-watch-link) { position: relative; z-index: 1; }
.hero-copy > .hero-topline { position: absolute; }
.hero-copy > :is(.eyebrow,h1,p,.button),.motion-in { animation: none; }
.hero-copy::after { border-color: rgba(200,225,235,.1); z-index: 0; }
.hero-topline { border-bottom-color: rgba(200,225,235,.2); }
.hero .eyebrow,.hero h1 em { color: #c8e1eb; }
.hero-copy > p,.hero-copy > p.quick-price,.story-watch-link {
  color: #e4eff2;
}
.motion-toggle {
  color: #e4eff2;
  border-color: rgba(200,225,235,.4);
}
.motion-toggle:focus-visible {
  background: #f8f5ee;
  color: #102c3d;
  outline: 2px solid #102c3d;
  outline-offset: -3px;
  box-shadow: var(--depth-l2);
  translate: 0 -2px;
}
.hero-mini-steps { gap: 8px; color: var(--depth-ink); }
.hero-mini-steps > span {
  display: inline-block;
  padding: 8px 10px;
  background: rgba(248,245,238,.82);
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--depth-l1);
  font-weight: 600;
}
.hero-mini-steps i { color: #c8e1eb; }
.hero-image {
  display: grid;
  place-items: center;
  padding: 56px 9% 78px;
  min-width: 0;
  overflow: visible;
  background: var(--depth-gradient-sand);
}
.hero-image::after { display: none; }
.hero-image > img,
.hero-image > .dm-hero-card {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
  border: 10px solid #f8f5ee;
  border-radius: 20px;
  outline: 1px solid rgba(16,44,61,.10);
  box-shadow: var(--depth-l3);
  transform: rotate(-1.5deg);
  animation: none;
}
.dm-hero-card > img { border-radius: 10px; }
.image-label {
  bottom: 35px;
  left: 8%;
  max-width: 84%;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 16px;
  background: rgba(248,245,238,.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--depth-l1);
  color: #102c3d;
}
/* Keep the original sticker glyph in the DOM/accessibility tree; render the
   visible asterisk as a CSS vector so platform color emoji cannot leak green. */
.image-label span { color: #102c3d; font-size: 0; }
.image-label span::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  background: #102c3d;
  vertical-align: middle;
  clip-path: polygon(42% 0,58% 0,58% 31%,80% 10%,90% 20%,69% 42%,100% 42%,100% 58%,69% 58%,90% 80%,80% 90%,58% 69%,58% 100%,42% 100%,42% 69%,20% 90%,10% 80%,31% 58%,0 58%,0 42%,31% 42%,10% 20%,20% 10%,42% 31%);
}
.concept-label {
  color: #102c3d;
  background: #f8f5ee;
  border-radius: 999px;
  padding: 3px 9px;
  bottom: 9px;
}
/* A 24px overlap replaces the former hard horizontal section cut. */
.memory-ribbon {
  position: relative;
  z-index: 2;
  margin-top: -24px;
  border-radius: 24px 24px 0 0;
  padding-block: 6px;
  background: linear-gradient(90deg,#e4eff2,#d2e8f1 50%,#c8e1eb);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65),
    inset 0 -2px 8px rgba(16,44,61,.08);
}
.ribbon-message,.ribbon-values {
  display: inline-block;
  background: #f8f5ee;
  color: #102c3d;
  border: 1px solid rgba(16,44,61,.08);
  border-radius: 999px;
  padding: 8px 15px;
  box-shadow: var(--depth-l1);
}
.ribbon-heart,.ribbon-separator { color: #2e5c6d; }
.ribbon-toggle {
  color: #102c3d;
  border-color: #c8e1eb;
  background: #fff;
  box-shadow: var(--depth-l1);
}
.qualities {
  position: relative;
  z-index: 1;
  background: var(--depth-gradient-cream);
  border: 0;
  border-radius: 0 0 24px 24px;
  color: #2e5c6d;
  padding-block: 24px 40px;
}
.qualities > span {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  background: #fff;
  border: 1px solid rgba(16,44,61,.08);
  border-radius: 999px;
  box-shadow: var(--depth-l1);
}
/* Curved 36px joins are decorative, stay clear of interactive content and use
   only the following section's existing base color. */
.collection,.editor-section,.gift-story,.how,.faq,footer { position: relative; }
.collection::before,.editor-section::before,.gift-story::before,
.how::before,.faq::before,footer::before {
  content: "";
  position: absolute;
  top: -34px;
  left: 0;
  width: 100%;
  height: 36px;
  pointer-events: none;
  z-index: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 36' preserveAspectRatio='none'%3E%3Cpath d='M0 24C360-8 850-4 1440 23V36H0Z' fill='%23F8F5EE'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.editor-section::before,.gift-story::before,.how::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 36' preserveAspectRatio='none'%3E%3Cpath d='M0 24C360-8 850-4 1440 23V36H0Z' fill='%23E4EFF2'/%3E%3C/svg%3E");
}
.collection {
  overflow: visible;
  background: var(--depth-gradient-cream);
  padding-top: 78px;
  padding-bottom: 104px;
}
/* Texture is confined to the outer cream gutter, not below any text/photo. */
.collection::after,.faq::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 70px;
  bottom: 70px;
  width: 28px;
  pointer-events: none;
  background-image: radial-gradient(rgba(16,44,61,.035) 1px,transparent 1px);
  background-size: 28px 28px;
}
.showcase-visual {
  border-radius: 24px;
  background: radial-gradient(circle at 50% 42%,#fff 0 20%,#e4eff2 20.2% 39%,#d2e8f1 39.2% 58%,#e4eff2 58.2% 76%,#d2e8f1 76.2%);
  overflow: visible;
  min-height: 570px;
}
.scene-orbit {
  width: 88%;
  border: 1px solid rgba(16,44,61,.10);
  box-shadow: none;
}
/* Ambient snow belongs only in the hero, not over products or copy. */
.showcase-visual > .snowfall { display: none; }
.snowfall i { text-shadow: none; }
.editorial-photo,.editorial-gallery > img {
  border: 8px solid #f8f5ee;
  border-radius: 24px;
  outline: 1px solid rgba(16,44,61,.10);
  box-shadow: var(--depth-l2);
}
.falling-card {
  border-radius: 20px;
  outline: 1px solid rgba(16,44,61,.10);
  box-shadow: var(--depth-l3);
  transform: rotate(2deg);
  animation: none;
  isolation: isolate;
}
.falling-card::before,.artboard::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 24px;
  background: #f8f5ee;
  outline: 1px solid rgba(16,44,61,.10);
  z-index: -1;
  pointer-events: none;
}
.falling-card > img:first-child { border-radius: 20px; }
.falling-card .scene-photo {
  border: 4px solid #fff;
  border-radius: 16px;
  outline: 1px solid rgba(16,44,61,.10);
  box-shadow: var(--depth-l2);
}
.falling-card.lifted .scene-photo { box-shadow: var(--depth-l3); }
.scene-underlay {
  background: linear-gradient(135deg,#e9ecee,#d3dbdf);
  color: #102c3d;
  border-radius: 16px;
  box-shadow: var(--depth-inset);
}
.demo-toggle {
  bottom: 20px;
  background: rgba(248,245,238,.82);
  border: 1px solid rgba(255,255,255,.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--depth-l1);
}
.showcase-detail {
  padding: 24px;
  margin-top: 14px;
  border: 1px solid rgba(16,44,61,.08);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--depth-l1);
  align-items: flex-start;
  max-width: none;
}
.showcase-detail > span,.steps article > span {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%,#e4eff2,#c8e1eb);
  color: #102c3d;
}
.detail-photo {
  border: 1px solid rgba(16,44,61,.12);
  border-radius: 16px;
  background: #fff;
  padding: 0 16px;
  box-shadow: var(--depth-l1);
}
.detail-photo[open] { box-shadow: var(--depth-l2); outline: 2px solid #102c3d; outline-offset: 1px; translate: 0 -2px; }
.detail-photo img {
  border: 8px solid #f8f5ee;
  outline: 1px solid rgba(16,44,61,.10);
  border-radius: 24px;
  box-shadow: var(--depth-l2);
  margin-block: 8px 18px;
}
/* Studio: solid forms sit beside a light, elevated preview stage. */
.editor-section {
  background: linear-gradient(180deg,#e4eff2,#d2e8f1 52%,#c8e1eb);
  padding-top: 80px;
  padding-bottom: 106px;
}
.studio { align-items: start; gap: 7%; }
.card-preview,.studio .card-preview,.has-photo .card-preview {
  padding: 34px;
  border: 1px solid rgba(16,44,61,.08);
  border-radius: 24px;
  background: var(--depth-gradient-light);
  box-shadow: var(--depth-l3);
}
.artboard {
  border-radius: 20px;
  isolation: isolate;
  box-shadow: var(--depth-l2);
}
.artboard > #designImage { border-radius: 20px; }
.preview-label { color: #102c3d; }
.magnet {
  border-radius: 16px;
  outline: 1px solid rgba(16,44,61,.10);
  background: linear-gradient(135deg,#e9ecee,#d3dbdf);
  box-shadow: var(--depth-inset);
}
.magnet::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1.5px dashed rgba(16,44,61,.25);
  border-radius: 10px;
  pointer-events: none;
  z-index: 3;
}
.magnet span { color: rgba(16,44,61,.74); }
.has-photo .magnet { box-shadow: var(--depth-l2); background: #fff; }
.has-photo .magnet::after { inset: 0; border: 4px solid #fff; border-radius: inherit; }
.controls { min-width: 0; }
.packs { gap: 10px; padding-top: 3px; }
.pack {
  border: 1px solid rgba(16,44,61,.12);
  border-radius: 16px;
  background: #fff;
  padding: 14px 6px 12px;
  box-shadow: var(--depth-l1);
}
.pack.active,.pack[aria-pressed="true"] {
  background: #fff;
  outline: 2px solid #102c3d;
  outline-offset: 1px;
  box-shadow: var(--depth-l2);
  transform: translateY(-3px);
}
.pack-check { color: #102c3d; }
.pack small {
  display: inline-block;
  min-width: 46px;
  padding: 3px 8px;
  border-radius: 999px;
}
.pack.active small { background: linear-gradient(135deg,#d2e8f1,#c8e1eb); }
.design-grid { gap: 16px 12px; }
.design {
  padding: 6px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--depth-l1);
  border: 1px solid rgba(16,44,61,.10);
}
.design-stage,
.design:nth-child(n) .design-stage {
  background: var(--depth-gradient-cream);
  border: 1px solid rgba(16,44,61,.10);
  border-radius: 16px;
}
.design:not(.active) .design-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,rgba(16,44,61,.10),rgba(200,225,235,.08));
  border-radius: inherit;
  pointer-events: none;
}
.design.active,.design[aria-pressed="true"] {
  background: #fff;
  outline: 2px solid #102c3d;
  outline-offset: 1px;
  box-shadow: var(--depth-l2);
  transform: scale(1.02);
}
.design.active .design-stage { border: 1px solid rgba(16,44,61,.10); box-shadow: none; }
.design-paper { border-radius: 5px; box-shadow: var(--depth-l1); }
.design-paper > img:first-child { border-radius: 5px; }
.design-paper > .design-dog { border: 1px solid #fff; border-radius: 3px; box-shadow: var(--depth-l1); }
.design-check { border-color: #c8e1eb; background: #fff; z-index: 1; }
.design.active .design-check { background: #102c3d; border-color: #102c3d; color: #fff; }
.design.active .design-state { color: #102c3d; }
.design-name,.design-state { margin-left: 3px; margin-right: 3px; }
.selection-note {
  border-color: #102c3d;
  color: #102c3d;
  background: #f8f5ee;
  border-radius: 0 14px 14px 0;
}
.upload {
  border: 1.5px dashed rgba(16,44,61,.35);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--depth-l1);
}
.photo-actions { gap: 9px; }
.photo-actions button {
  background: #fff;
  border: 1px solid rgba(16,44,61,.12);
  border-radius: 16px;
  padding: 7px 11px;
  box-shadow: var(--depth-l1);
  text-decoration: none;
}
.crop-options,.message-options {
  position: relative;
  overflow: visible;
  background: #fff;
  border: 1px solid rgba(16,44,61,.10);
  border-radius: 20px;
  box-shadow: var(--depth-l1);
  padding: 15px 18px;
}
.crop-options[open],.message-options[open] {
  box-shadow: var(--depth-l2);
  outline: 2px solid #102c3d;
  outline-offset: 1px;
  translate: 0 -2px;
}
.crop-options[open]::before,.message-options[open]::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg,#c8e1eb,#102c3d);
}
.fields input,.fields textarea,.sender-field input {
  border-radius: 14px;
  border: 1px solid rgba(16,44,61,.20);
  background: #fff;
  color: #102c3d;
  box-shadow: inset 0 1px 2px rgba(16,44,61,.06);
}
.fields input:focus-visible,.fields textarea:focus-visible,.sender-field input:focus-visible {
  outline: 2px solid #102c3d;
  outline-offset: 2px;
  box-shadow: var(--depth-l1);
  translate: 0 -2px;
}
.sliders input { accent-color: #2e5c6d; }
.set-summary { border-color: rgba(16,44,61,.18); }
/* Story: a radial pool of light sits behind the framed photo, not the copy. */
.gift-story {
  padding-top: 88px;
  padding-bottom: 112px;
  background: radial-gradient(ellipse at 24% 42%,rgba(255,255,255,.75),transparent 49%),
    linear-gradient(180deg,#e4eff2,#d2e8f1 55%,#c8e1eb);
}
.story-scenes {
  border: 8px solid #f8f5ee;
  border-radius: 24px;
  outline: 1px solid rgba(16,44,61,.10);
  box-shadow: var(--depth-l2);
  background: var(--depth-gradient-sand);
  transform: rotate(-1deg);
}
.story-frame { border-radius: 16px; transform: scale(1.01); transition: opacity 240ms ease,transform 240ms ease; }
.story-frame.is-active { transform: scale(1); }
.story-frame img { border-radius: 16px; }
.story-frame::after { background: linear-gradient(transparent,rgba(16,44,61,.8)); }
.story-frame figcaption { text-shadow: none; }
.story-frame figcaption > span { background: #102c3d; border-color: rgba(255,255,255,.65); }
.story-copy h2 em { color: #2e5c6d; }
.story-steps { gap: 12px; }
.story-step,.story-step:last-child {
  position: relative;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 999px;
  background: rgba(248,245,238,.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 18px 20px;
  box-shadow: var(--depth-l1);
}
.story-step.is-active,.story-step[aria-pressed="true"] {
  background: #102c3d;
  color: #fff;
  padding: 18px 20px;
  outline: 2px solid #102c3d;
  outline-offset: 2px;
  box-shadow: var(--depth-l2);
  translate: 0 -2px;
}
.story-step-number { color: #2e5c6d; }
.story-step.is-active :where(.story-step-number,i,small) { color: #fff; }
.story-step.is-active .story-step-number,
.story-step[aria-pressed="true"] .story-step-number { color: #fff; }
.story-controls button {
  background: rgba(248,245,238,.82);
  border-color: rgba(255,255,255,.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--depth-l1);
}
.story-progress { background: #c8e1eb; border-radius: 999px; }
.story-progress span { background: #102c3d; }
/* Three connected cards, with the connector behind their opaque surfaces. */
.how {
  background: linear-gradient(180deg,#e4eff2,#d2e8f1 52%,#c8e1eb);
  padding-top: 72px;
  padding-bottom: 106px;
}
.steps { position: relative; gap: 32px; isolation: isolate; }
.steps::before {
  content: "";
  position: absolute;
  top: 50px;
  left: 7%;
  right: 7%;
  border-top: 2px dashed #c8e1eb;
  z-index: -1;
}
.steps article {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(16,44,61,.08);
  border-radius: 20px;
  background: #fff;
  padding: 28px;
  box-shadow: var(--depth-l1);
  transition: transform var(--depth-time) var(--depth-ease),box-shadow var(--depth-time) var(--depth-ease);
}
.steps article::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg,#c8e1eb,#102c3d);
}
.steps article > span { position: static; font-size: 18px; }
.steps h3 { margin: 18px 0 12px; }
/* FAQ answers stay solid cream and inset; no blur beneath reading text. */
.faq {
  max-width: none;
  margin: 0;
  padding: 78px max(7%,calc((100% - 940px)/2)) 108px;
  background: var(--depth-gradient-cream);
}
.faq details {
  position: relative;
  border: 1px solid rgba(16,44,61,.08);
  padding: 20px;
  margin-top: 12px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--depth-l1);
  transition: transform var(--depth-time) var(--depth-ease),box-shadow var(--depth-time) var(--depth-ease);
}
.faq details[open] {
  outline: 2px solid #102c3d;
  outline-offset: 1px;
  box-shadow: var(--depth-l2);
  translate: 0 -2px;
}
.faq details[open]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 3px;
  border-radius: 999px;
  background: #102c3d;
}
.faq details p {
  margin: 18px 0 0;
  padding: 16px;
  max-width: none;
  background: #f8f5ee;
  border-radius: 12px;
  box-shadow: inset 0 1px 2px rgba(16,44,61,.06);
}
.faq summary { padding-right: 4px; }
footer {
  background: radial-gradient(ellipse at 45% 0,rgba(200,225,235,.16),transparent 58%),
    linear-gradient(180deg,#102c3d,#0b2634 70%,#081e29);
  border-top: 1px solid rgba(200,225,235,.35);
  color: #e4eff2;
}
footer::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 36' preserveAspectRatio='none'%3E%3Cpath d='M0 24C360-8 850-4 1440 23V36H0Z' fill='%23102C3D'/%3E%3C/svg%3E");
}
footer p,footer a { color: #e4eff2; }
.footer-logo {
  display: inline-block;
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 20px;
  background: rgba(16,44,61,.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--depth-l1);
}
/* The bag remains the same native dialog and retains its close/focus behavior. */
dialog.drawer {
  background: linear-gradient(135deg,#fff,#f8f5ee);
  border-left: 1px solid rgba(16,44,61,.10);
  border-radius: 24px 0 0 24px;
  box-shadow: -24px 0 56px -16px rgba(16,44,61,.45);
}
dialog.drawer::backdrop { background: rgba(16,44,61,.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.drawer-head button { background: #fff; box-shadow: var(--depth-l1); }
.cart-item { gap: 20px; }
.cart-item img {
  border: 8px solid #f8f5ee;
  outline: 1px solid rgba(16,44,61,.10);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--depth-l2);
}
.remove { min-height: 36px; padding-inline: 8px; }
.quick-start {
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 24px 24px 0 0;
  background: rgba(248,245,238,.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--depth-l1);
}
.button.dark:focus-visible:not(:disabled) {
  outline: 2px solid #102c3d;
  outline-offset: 3px;
  box-shadow: var(--depth-l3);
  transform: translateY(-2px);
  translate: none;
}
/* Pointer hover is limited to actual hover devices. Enabled controls gain a
   ring, elevation AND displacement. Keyboard focus has the same three cues. */
@media (hover:hover) and (pointer:fine) {
  nav a:hover,.actions .lang:hover,.story-watch-link:hover,
  .motion-toggle:hover,.ribbon-toggle:hover,.story-controls button:hover,
  .photo-actions button:hover,.drawer-head button:hover,.remove:hover,
  footer a:not(.footer-logo):hover {
    outline: 2px solid #102c3d;
    outline-offset: 3px;
    box-shadow: var(--depth-l2);
    translate: 0 -2px;
  }
  .actions .bag:hover {
    outline: 2px solid #102c3d;
    outline-offset: 2px;
    box-shadow: var(--depth-l2);
    translate: 0 -1px;
  }
  .button.dark:hover:not(:disabled),.button.dark:focus-visible:not(:disabled) {
    background: linear-gradient(180deg,#2e5c6d,#102c3d);
    color: #fff;
    outline: 2px solid #102c3d;
    outline-offset: 3px;
    transform: translateY(-2px);
    translate: none;
    box-shadow: var(--depth-l3);
  }
  .pack:hover,.design:hover,.upload:hover,.story-step:hover,
  .steps article:hover,.faq details:hover,.detail-photo:hover {
    outline: 2px solid #102c3d;
    outline-offset: 2px;
    box-shadow: var(--depth-l2);
    translate: 0 -2px;
  }
  .pack:hover { transform: translateY(-3px); translate: none; }
  .design:hover { transform: scale(1.02); translate: none; }
  .steps article:hover { transform: translateY(-4px); translate: none; }
  .demo-toggle:hover {
    outline: 2px solid #102c3d;
    outline-offset: 2px;
    box-shadow: var(--depth-l2);
    translate: 0 -2px;
  }
  .crop-options summary:hover,.message-options summary:hover,.faq summary:hover {
    outline: 2px solid #102c3d;
    outline-offset: 3px;
    box-shadow: var(--depth-l2);
    border-radius: 12px;
    translate: 0 -2px;
  }
}
@media (hover:none) {
  .button:hover:not(:disabled) { transform: none; }
}
@media (max-width:1050px) {
  .hero-image { padding-inline: 8%; }
  .hero-mini-steps { gap: 6px; }
  .hero-mini-steps > span { padding: 7px 8px; font-size: 8px; }
  .showcase-detail { padding: 24px 20px; gap: 14px; }
  .card-preview,.studio .card-preview { padding: 25px; }
  .story-step,.story-step.is-active { padding: 16px; }
  .story-step strong { font-size: 20px; }
}
@media (max-width:750px) {
  html { scroll-padding-top: 88px; }
  .hero-copy { padding-bottom: 48px; }
  .hero-mini-steps > span { padding: 8px 9px; font-size: 9px; }
  .hero-image { min-height: 0; aspect-ratio: auto; padding: 36px 9% 88px; }
  .hero-image > img,.hero-image > .dm-hero-card { max-width: 440px; }
  .image-label { bottom: 44px; font-size: 14px; padding: 12px 14px; }
  .image-label span { margin-left: 10px; }
  .concept-label { bottom: 25px; max-width: 88%; font-size: 8px; }
  .qualities { padding: 20px 4% 42px; gap: 6px; flex-wrap: wrap; }
  .qualities > span { padding: 7px 9px; font-size: 10px; }
  .collection { padding: 48px 6% 76px; }
  .collection::after,.faq::after { display: none; }
  .showcase { gap: 34px; }
  .showcase-visual { min-height: 430px; overflow: hidden; }
  .showcase-detail { padding: 24px; }
  .showcase-detail strong { font-size: 20px; }
  .editor-section { padding: 52px 5% 78px; }
  .studio .card-preview,.card-preview { padding: 24px 20px 18px; margin-top: 18px; }
  .card-preview .artboard { max-width: 270px; }
  .card-preview .pv.title { font-size: 14px; }
  .card-preview .pv.message { font-size: 8px; }
  .card-preview .pv.family { font-size: 9px; }
  .card-preview .pv.year { font-size: 8px; }
  .magnet span { font-size: 7px; }
  .packs { gap: 8px; }
  .pack { padding: 13px 4px 11px; }
  .pack small { padding: 3px 5px; min-width: 40px; }
  .pack strong { font-size: 26px; }
  .pack-detail { font-size: 8px; }
  .design-grid { gap: 14px 9px; }
  .design { padding: 5px; }
  .design-name { font-size: 11px; min-height: 29px; }
  .design-state { font-size: 9px; }
  .photo-actions { gap: 8px; }
  .photo-actions button { font-size: 10px; padding-inline: 9px; }
  .fields input,.fields textarea,.sender-field input { font-size: 16px; }
  .gift-story { padding: 54px 6% 78px; }
  .story-scenes { transform: rotate(-1deg); }
  .story-steps { gap: 10px; }
  .story-step,.story-step:last-child,.story-step.is-active {
    border-radius: 24px;
    padding: 15px 10px;
    min-height: 110px;
  }
  .story-step strong { font-size: 15px; }
  .story-step-number { margin-bottom: 9px; }
  .story-frame figcaption { left: 14px; right: 14px; }
  .story-frame figcaption strong { font-size: 17px; }
  .how { padding: 52px 6% 78px; }
  .steps { gap: 22px; }
  .steps::before { top: 10px; bottom: 10px; left: 50px; right: auto; border-top: 0; border-left: 2px dashed #c8e1eb; }
  .steps article { padding: 28px; }
  .steps article > span { position: static; }
  .steps h3 { margin-top: 18px; }
  .faq { padding: 52px 6% 78px; }
  .faq details { padding: 20px; }
  footer { padding-top: 42px; padding-bottom: 124px; }
  dialog.drawer { border-radius: 24px 0 0 24px; padding: 24px; }
  .cart-item img { width: 88px; height: 132px; }
  /* Mobile cuts costly glass layers back to solid equivalents, retaining all
     information, selection cues and section depth. */
  .hero-mini-steps > span,.story-step,.story-controls button,
  .demo-toggle,.image-label { backdrop-filter: none; -webkit-backdrop-filter: none; background: #f8f5ee; }
  .story-step.is-active { background: #102c3d; }
}
@media (max-width:380px) {
  .hero-mini-steps { gap: 5px; }
  .hero-mini-steps i { display: none; }
  .hero-mini-steps > span { font-size: 8px; }
  .packs { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .pack .pack-name { font-size: 10px; }
  .pack-detail { max-width: none; font-size: 9px; min-height: 0; }
  .design-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .design-name { font-size: 12px; min-height: 30px; }
  .design-state { font-size: 10px; }
  .sliders label { grid-template-columns: minmax(0,1fr); gap: 5px; }
  .story-step,.story-step:last-child,.story-step.is-active { padding: 12px 8px; }
  .story-step strong { font-size: 14px; }
}
/* No-JS baseline is complete and visible. Reduced motion and Pause remove all
   decorative motion while retaining outlines, depth and native crop behavior. */
html.motion-paused :is(.pack,.design,.steps article,.faq details,.story-step,
  .crop-options,.message-options,.detail-photo,.button,nav a,.actions button,
  .photo-actions button,.demo-toggle,.story-controls button,summary,input,textarea) {
  translate: none !important;
}
html.motion-paused :is(.pack,.design,.steps article,.button) { transform: none !important; }
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation: none !important; transition: none !important; }
  :is(.pack,.design,.steps article,.faq details,.story-step,.crop-options,
    .message-options,.detail-photo,.button,nav a,.actions button,.photo-actions button,
    .demo-toggle,.story-controls button,summary,input,textarea) { translate: none !important; }
  :is(.pack,.design,.steps article,.button,.hero-image > img,.hero-image > .dm-hero-card,
    .story-scenes,.story-frame,.falling-card,.design-paper) { transform: none !important; }
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
  .hero-mini-steps > span,.image-label,.demo-toggle,.story-step,
  .story-controls button,.quick-start { background: #f8f5ee; }
  .story-step.is-active,.footer-logo { background: #102c3d; }
}
