/* ================= HOME ================= */
.hero-trust{
  margin-top:22px; display:flex; align-items:center; gap:10px; flex-wrap:wrap;
  font:500 .78rem/1.4 'IBM Plex Mono', monospace; letter-spacing:.04em; text-transform:uppercase; color:var(--ink-soft);
}
.hero-trust .stars{ color:var(--ochre); letter-spacing:2px; font-size:.9rem; }
.hero > div:first-child > .hero-trust{ animation-delay:.58s; }
.hero-tag{ position:absolute; top:22%; right:8%; font-size:.78rem; animation:tapeIn .6s var(--ease-spring) 1s both; }
@keyframes tapeIn{ from{ opacity:0; transform:rotate(-14deg) scale(.6); } to{ opacity:1; transform:rotate(-3deg); } }

.paths{ padding:72px 0 24px; display:grid; grid-template-columns:1fr 1fr; gap:22px; content-visibility:visible; }
.path-card{
  position:relative; overflow:hidden; display:flex; flex-direction:column; align-items:flex-start;
  min-height:300px; padding:34px 34px 30px; border-radius:var(--radius-lg);
  text-decoration:none; color:var(--ink);
  background:var(--white-paint); border:var(--border-soft);
  transition:transform .36s var(--ease-out), box-shadow .36s var(--ease-out);
}
.path-card:hover{ transform:translateY(-4px) rotate(-.4deg); box-shadow:var(--shadow-lift); }
.path-card:nth-child(2):hover{ transform:translateY(-4px) rotate(.4deg); }
.path-card .pin{ top:14px; }
.path-card .eyebrow{ margin-bottom:16px; }
.path-card h2{ font-size:clamp(1.7rem, 3vw, 2.4rem); line-height:1.05; max-width:12ch; }
.path-card p{ margin-top:12px; color:var(--ink-soft); max-width:30ch; line-height:1.65; position:relative; z-index:1; }
.path-cta{ margin-top:auto; padding-top:22px; font-weight:600; display:inline-flex; gap:8px; position:relative; z-index:1; }
.path-cta span{ transition:transform var(--dur-base) var(--ease-out); }
.path-card:hover .path-cta span{ transform:translateX(5px); }
.path-commission{ background:linear-gradient(140deg, var(--white-paint) 40%, var(--cherry-50)); }
.path-shop{ background:linear-gradient(140deg, var(--white-paint) 40%, var(--blue-50)); }
.path-art{ position:absolute; right:-14px; bottom:-8px; width:min(52%, 270px); opacity:.95; pointer-events:none; transition:transform .6s var(--ease-out); }
.path-art-tote{ width:min(38%, 190px); right:22px; bottom:-26px; transform:rotate(6deg); border-radius:14px; box-shadow:0 14px 30px rgba(34,29,25,.14); }
.path-card:hover .path-art{ transform:translateY(-4px); }
.path-card:hover .path-art-tote{ transform:rotate(3deg) translateY(-8px); }

#shop-preview{ padding:72px 0 40px; }
#shop-preview .sec-head{ margin-bottom:36px; }

/* Before / after */
#before-after{ padding:88px 0; }
.ba-layout{ display:grid; grid-template-columns:.9fr 1.1fr; gap:48px; align-items:center; }
.ba-layout .sec-head{ margin:0; }
.ba-layout .btn{ margin-top:24px; }
.ba-slider{
  position:relative; aspect-ratio:4/5; max-width:440px; width:100%; justify-self:center;
  border-radius:var(--radius); overflow:hidden; background:var(--canvas-deep);
  box-shadow:14px 16px 0 rgba(58,76,166,.14), var(--shadow-lift);
  transform:rotate(1.2deg);
  touch-action:pan-y;
}
.ba-pane{ position:absolute; inset:0; }
.ba-pane img, .ba-pane svg{ width:100%; height:100%; object-fit:cover; display:block; }
.ba-photo{ position:absolute; inset:0; }
.ba-after{ clip-path:inset(0 0 0 var(--pos)); }
.ba-label{
  position:absolute; bottom:14px; padding:5px 11px; border-radius:999px;
  font:500 .72rem/1.2 'IBM Plex Mono', monospace; letter-spacing:.05em; text-transform:uppercase;
  background:rgba(251,248,241,.92); color:var(--ink);
}
.ba-before .ba-label{ left:14px; }
.ba-after .ba-label{ right:14px; }
.ba-handle{ position:absolute; top:0; bottom:0; left:var(--pos); width:0; pointer-events:none; }
.ba-handle::before{ content:""; position:absolute; top:0; bottom:0; left:-1.5px; width:3px; background:var(--white-paint); box-shadow:0 0 10px rgba(0,0,0,.2); }
.ba-handle span{
  position:absolute; top:50%; left:0; translate:-50% -50%;
  width:46px; height:46px; border-radius:50%;
  background:var(--cherry); box-shadow:0 6px 16px rgba(0,0,0,.25);
}
.ba-handle span::before{ content:"‹ ›"; position:absolute; inset:0; display:grid; place-items:center; color:var(--white-paint); font:700 1rem/1 'Inter', sans-serif; letter-spacing:4px; }
.ba-range{ position:absolute; inset:0; width:100%; height:100%; opacity:0; cursor:ew-resize; margin:0; }
.ba-range:focus-visible + *{ outline:none; }
.ba-slider:focus-within{ outline:2px solid var(--focus); outline-offset:6px; }

/* Tiers rendered into existing .price-card styles */
.price-card .tier-days{ font:500 .76rem/1.3 'IBM Plex Mono', monospace; letter-spacing:.04em; text-transform:uppercase; opacity:.72; }
.price-card .btn{ margin-top:auto; }
.price-card.feat .btn-primary{ background:var(--cherry); }

/* Occasions */
#gifting{ padding:80px 0; }
.occasion-row{ display:grid; grid-template-columns:repeat(5, minmax(0,1fr)); gap:14px; }
.occasion{
  position:relative; min-height:180px; padding:20px 18px; border-radius:var(--radius);
  display:flex; flex-direction:column; justify-content:flex-end; gap:6px;
  color:var(--ink); text-decoration:none; overflow:hidden;
  transition:transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base);
}
.occasion::before{ content:""; position:absolute; width:120px; height:100px; right:-26px; top:-24px; border-radius:46% 54% 60% 40%/50% 40% 60% 50%; background:currentColor; opacity:.18; transition:transform .6s var(--ease-out); }
.occasion:hover{ transform:translateY(-3px); box-shadow:var(--shadow-soft); }
.occasion:hover::before{ transform:scale(1.25) rotate(18deg); }
.occasion h3{ font-size:1.05rem; color:var(--ink); }
.occasion p{ font-size:.84rem; line-height:1.5; color:var(--ink-soft); }
.occ-ochre{ background:var(--ochre-50); color:var(--ochre-600); }
.occ-cherry{ background:var(--cherry-50); color:var(--cherry-600); }
.occ-sage{ background:var(--sage-50); color:var(--sage-600); }
.occ-blue{ background:var(--blue-50); color:var(--blue-600); }
.gift-occasions{ padding-bottom:56px; }
.gift-occasions .occasion{ min-height:200px; scroll-margin-top:96px; }
.gift-occasions .occasion:hover{ transform:none; box-shadow:none; }
.occasion-links{ display:flex; flex-direction:column; gap:4px; margin-top:6px; position:relative; }
.occasion-links a{ font-size:.84rem; font-weight:600; color:var(--ink); text-decoration:underline; text-decoration-color:currentColor; text-underline-offset:3px; }
.occasion-links a:hover{ color:var(--cherry); }

/* Reviews additions */
.rating-summary{ font:600 1rem/1.3 'Space Grotesk', sans-serif; display:flex; align-items:center; gap:10px; }
.rating-summary .stars{ color:var(--ochre); letter-spacing:2px; }
.review-photo{ width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:12px; margin-bottom:14px; }

/* Meet June */
#meet-june{ padding:72px 0; }
.meet-june{
  display:grid; grid-template-columns:.9fr 1.1fr; gap:48px; align-items:center;
  padding:clamp(24px, 4vw, 48px); border-radius:var(--radius-lg);
  background:var(--white-paint); border:var(--border-soft);
}
.meet-june-art{ background:var(--canvas-deep); border-radius:var(--radius); padding:28px; }
.meet-june h2{ font-size:var(--fs-h2); line-height:1.1; }
.meet-june p{ margin-top:14px; color:var(--ink-soft); line-height:1.75; max-width:52ch; }
.meet-june .signature{ font-size:1.8rem; color:var(--cherry); margin:10px 0 20px; }

#faq-preview{ padding:72px 0; }
#faq-preview .faq-list{ max-width:860px; }

/* Letter teaser on home sits on the dark .order block */
[data-letter-teaser] .letter-footer button{ cursor:pointer; }

/* ================= SHOP ================= */
.shop-toolbar{ display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; margin-bottom:20px; }
.toolbar-right{ display:flex; align-items:center; gap:16px; flex-wrap:wrap; }

/* ================= PRODUCT ================= */
.product-layout{ display:grid; grid-template-columns:1.1fr .9fr; gap:48px; padding:28px 0 72px; align-items:start; }
.product-gallery{ display:grid; gap:12px; position:sticky; top:calc(var(--header-h) + 16px); }
.gallery-main{
  position:relative; aspect-ratio:4/5; border-radius:var(--radius-lg); overflow:hidden; background:var(--canvas-deep);
  cursor:zoom-in;
}
.gallery-main img{ width:100%; height:100%; object-fit:cover; transition:transform .5s var(--ease-out); transform-origin:var(--zx, 50%) var(--zy, 50%); }
.gallery-main.is-zoomed img{ transform:scale(1.9); }
.gallery-main.is-zoomed{ cursor:zoom-out; }
.gallery-thumbs{ display:flex; gap:10px; }
.gallery-thumbs button{ width:74px; aspect-ratio:4/5; padding:0; border-radius:12px; overflow:hidden; border:2px solid transparent; cursor:pointer; background:var(--canvas-deep); }
.gallery-thumbs button.is-active{ border-color:var(--ink); }
.gallery-thumbs img{ width:100%; height:100%; object-fit:cover; }
.product-info h1{ font-size:clamp(2rem, 3.6vw, 2.8rem); line-height:1.05; margin-top:10px; }
.product-info .price-stamp{ font-size:1.6rem; margin-top:16px; display:block; }
.product-info .lead{ margin-top:16px; color:var(--ink-soft); line-height:1.75; font-size:1.04rem; }
.stock-note{ display:inline-flex; align-items:center; gap:8px; margin-top:14px; font-size:.88rem; font-weight:600; }
.stock-note::before{ content:""; width:9px; height:9px; border-radius:50%; background:var(--sage); }
.stock-note.is-low::before{ background:var(--ochre); }
.stock-note.is-out::before{ background:var(--cherry); }
.buy-row{ display:flex; gap:12px; margin-top:22px; flex-wrap:wrap; align-items:center; }
.buy-row .btn{ flex:1; min-width:200px; }
.handmade-note{ margin-top:18px; padding:14px 16px; border-radius:var(--radius-sm); background:var(--ochre-50); font-size:.88rem; color:var(--ink-soft); display:flex; gap:10px; }
.handmade-note::before{ content:"✦"; color:var(--ochre); }
.spec-list{ margin-top:22px; display:grid; gap:0; border-top:1px dashed var(--line-strong); }
.spec-list details{ border-bottom:1px dashed var(--line-strong); }
.spec-list summary{ cursor:pointer; padding:14px 0; font-weight:600; list-style:none; display:flex; justify-content:space-between; }
.spec-list summary::after{ content:"+"; }
.spec-list details[open] summary::after{ content:"–"; }
.spec-list .spec-body{ padding:0 0 16px; color:var(--ink-soft); font-size:.92rem; line-height:1.7; white-space:pre-line; }
.notify-form{ display:flex; gap:8px; margin-top:18px; flex-wrap:wrap; }
.notify-form input{ flex:1; min-width:200px; border:1px solid var(--line-strong); background:var(--white-paint); border-radius:999px; padding:12px 16px; }
.ship-estimate{ margin-top:14px; font-size:.86rem; color:var(--ink-soft); }
.related{ padding:24px 0 72px; }

/* ================= COMMISSION ================= */
.stepper{
  list-style:none; margin:0 0 28px; padding:0;
  display:flex; gap:0; counter-reset:step;
  font:500 .76rem/1.2 'IBM Plex Mono', monospace; letter-spacing:.05em; text-transform:uppercase; color:var(--text-faint);
}
.stepper li{ flex:1; display:flex; flex-direction:column; align-items:center; gap:8px; position:relative; text-align:center; }
.stepper li::before{
  content:""; position:absolute; top:15px; left:calc(-50% + 18px); right:calc(50% + 18px); height:2px;
  background:repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px);
}
.stepper li:first-child::before{ display:none; }
.stepper li span{
  width:32px; height:32px; border-radius:50%; display:grid; place-items:center;
  background:var(--white-paint); border:2px solid var(--line-strong); color:var(--text-faint); font-size:.8rem;
  transition:all var(--dur-base) var(--ease-out);
}
.stepper li.is-done span{ background:var(--cherry); border-color:var(--cherry); color:var(--white-paint); }
.stepper li.is-done::before, .stepper li.is-current::before{ background:repeating-linear-gradient(90deg, var(--cherry) 0 6px, transparent 6px 12px); }
.stepper li.is-current{ color:var(--ink); }
.stepper li.is-current span{ background:var(--ink); border-color:var(--ink); color:var(--white-paint); transform:scale(1.1); }

.commission-layout{ display:grid; grid-template-columns:1fr 320px; gap:32px; align-items:start; padding-bottom:72px; }
.letter-sheet{ gap:16px; padding:30px 34px 24px 44px; }
.letter-step{ display:none; gap:16px; }
.letter-step.is-active{ display:grid; animation:letterIn .45s var(--ease-out); }
@keyframes letterIn{ from{ opacity:0; transform:translateX(16px); } }
.letter-step legend{ padding:0; margin-bottom:6px; }
.order-form.letter-sheet .letter-salutation{ font-size:1.5rem; }
.letter-sheet .field-label{ font:0.67rem/1.2 'IBM Plex Mono', monospace; letter-spacing:.12em; text-transform:uppercase; color:var(--cherry); font-weight:500; }
.letter-sheet .letter-field input[type="date"]{ max-width:240px; }
/* The legacy dark-section `.order-form button` / `.order-form label` rules must not reach chips or tier cards. */
.order-form.letter-sheet .chip{
  background:rgba(255,255,255,.5); color:var(--ink);
  padding:8px 14px; min-height:38px; border-radius:999px; border:1px solid var(--line-strong);
  font-size:.86rem; font-weight:500; box-shadow:none; flex:0 0 auto;
}
.order-form.letter-sheet .chip::before{ content:none; }
.order-form.letter-sheet .chip:hover{ background:rgba(255,255,255,.8); border-color:var(--ink); box-shadow:none; transform:none; }
.order-form.letter-sheet .chip.is-active{ background:var(--ink); color:var(--white-paint); border-color:var(--ink); }
.order-form.letter-sheet .tier-option{ color:var(--ink); font-size:.9rem; }
@media (max-width:640px){ .order-form.letter-sheet .chip{ width:auto; } }
/* Step headings get focus for screen readers on step change; they aren't controls, so no ring. */
.letter-step legend:focus{ outline:none; }
.letter-sheet .letter-message textarea{ min-height:180px; }
.letter-sheet .check{ color:var(--ink); font-size:.9rem; }
.order-form .letter-field input:not([type]){ font-family:inherit; }
.tier-pick{ display:grid; grid-template-columns:repeat(3, 1fr); gap:12px; }
.tier-option{
  position:relative; display:grid; gap:4px; padding:16px 14px; cursor:pointer; text-align:left;
  border-radius:14px; border:1.5px solid var(--line-strong); background:rgba(255,255,255,.55);
  transition:border-color var(--dur-base), transform var(--dur-fast), box-shadow var(--dur-base);
}
.tier-option:hover{ border-color:var(--ink); }
.tier-option input{ position:absolute; opacity:0; pointer-events:none; }
.tier-option:has(input:checked){ border-color:var(--cherry); box-shadow:0 0 0 3px rgba(193,68,60,.14); background:var(--white-paint); }
.tier-option:has(input:focus-visible){ outline:2px solid var(--focus); outline-offset:2px; }
.tier-option strong{ font:600 1.02rem/1.2 'Space Grotesk', sans-serif; }
.tier-option .from{ font-weight:700; }
.tier-option small{ color:var(--ink-soft); font-size:.78rem; line-height:1.4; }
.tier-option .tape{ position:absolute; top:-10px; right:8px; font-size:.6rem; }
.letter-nav{ justify-content:space-between; }
.letter-nav .letter-hint{ flex:1; text-align:center; }
.letter-nav .btn-back{
  background:transparent !important; color:var(--ink) !important; border:1.5px solid var(--line-strong) !important;
  box-shadow:none !important; padding:12px 18px !important;
}
.letter-nav .btn-back::before{ content:"←" !important; }
.letter-review{ display:grid; gap:10px; font-size:.92rem; }
.letter-review dl{ display:grid; grid-template-columns:140px 1fr; gap:8px 14px; margin:0; }
.letter-review dt{ font:0.67rem/1.6 'IBM Plex Mono', monospace; letter-spacing:.12em; text-transform:uppercase; color:var(--cherry); }
.letter-review dd{ margin:0; color:var(--ink); white-space:pre-line; }
.letter-review .thumbs{ display:flex; gap:6px; flex-wrap:wrap; }
.letter-review .thumbs img{ width:48px; height:48px; object-fit:cover; border-radius:8px; }
.dropzone.is-drag{ background:var(--white-paint); outline:2px dashed var(--cherry); outline-offset:4px; }
.reference-thumb.is-uploading::before{ content:""; position:absolute; inset:0; background:rgba(251,248,241,.6) linear-gradient(90deg, transparent, rgba(255,255,255,.8), transparent) 0 0/200% 100%; animation:pencilShimmer 1s linear infinite; z-index:1; }
.commission-aside{ display:grid; gap:16px; position:sticky; top:calc(var(--header-h) + 16px); }
.aside-card{ background:var(--white-paint); border:var(--border-soft); border-radius:var(--radius); padding:22px; }
.aside-card h2{ font-size:1.1rem; margin-bottom:14px; }
.aside-quiet{ background:transparent; border-style:dashed; font-size:.9rem; }
.mini-timeline{ list-style:none; margin:0; padding:0; display:grid; gap:14px; counter-reset:mt; }
.mini-timeline li{ counter-increment:mt; display:grid; grid-template-columns:26px 1fr; column-gap:12px; font-size:.9rem; }
.mini-timeline li::before{ content:counter(mt); grid-row:span 2; width:26px; height:26px; border-radius:50%; display:grid; place-items:center; background:var(--canvas-deep); font:600 .72rem/1 'IBM Plex Mono', monospace; }
.mini-timeline li:nth-child(1)::before{ background:var(--blue); color:#fff; }
.mini-timeline li:nth-child(3)::before{ background:var(--cherry); color:#fff; }
.mini-timeline li:nth-child(5)::before{ background:var(--sage); color:#fff; }
.mini-timeline span{ color:var(--ink-soft); font-size:.8rem; }

/* Sealed envelope */
.sealed{ text-align:center; padding:40px 0 90px; display:grid; justify-items:center; gap:12px; }
.sealed h2{ font-size:var(--fs-h2); }
.sealed p{ color:var(--ink-soft); max-width:50ch; }
.sealed-envelope{ position:relative; width:220px; height:150px; margin-bottom:24px; perspective:600px; }
.env-body{ position:absolute; inset:0; border-radius:10px; background:var(--white-paint); border:1.5px solid var(--line-strong); box-shadow:var(--shadow-lift);
  background-image:linear-gradient(150deg, transparent 49.5%, var(--line-strong) 50%, transparent 50.5%), linear-gradient(210deg, transparent 49.5%, var(--line-strong) 50%, transparent 50.5%); }
.env-flap{ position:absolute; left:0; right:0; top:0; height:90px; transform-origin:top; background:var(--canvas-deep); clip-path:polygon(0 0, 100% 0, 50% 100%); border-radius:10px 10px 0 0; animation:flapClose .7s var(--ease-out) .2s both; }
.env-seal{ position:absolute; left:50%; top:66px; translate:-50% 0; width:46px; height:46px; border-radius:50%; display:grid; place-items:center;
  background:var(--cherry); color:var(--white-paint); font:italic 1.3rem/1 'DM Serif Display', Georgia, serif; box-shadow:0 4px 10px rgba(143,45,39,.4);
  animation:sealPress .5s var(--ease-spring) .9s both; }
@keyframes flapClose{ from{ transform:rotateX(180deg); } to{ transform:rotateX(0); } }
@keyframes sealPress{ from{ opacity:0; transform:scale(1.8) rotate(-20deg); } to{ opacity:1; transform:scale(1) rotate(-6deg); } }

/* ================= CHECKOUT ================= */
.checkout-layout{ display:grid; grid-template-columns:1.2fr .8fr; gap:28px; align-items:start; padding-bottom:72px; }
.checkout-form{ display:grid; gap:26px; padding:clamp(20px, 3vw, 34px); }
.checkout-form fieldset{ display:grid; gap:14px; }
.checkout-form legend{ font:600 1.15rem/1.2 'Space Grotesk', sans-serif; margin-bottom:14px; }
.saved-addresses{ display:flex; gap:8px; flex-wrap:wrap; }
.gift-fields{ display:grid; gap:12px; }
.order-summary{ padding:24px; position:sticky; top:calc(var(--header-h) + 16px); display:grid; gap:16px; }
.order-summary h2{ font-size:1.2rem; }
.summary-line{ display:grid; grid-template-columns:56px 1fr auto; gap:12px; align-items:center; font-size:.9rem; }
.summary-line img{ width:56px; height:66px; object-fit:cover; border-radius:8px; background:var(--canvas-deep); }
.summary-line .muted{ font-size:.8rem; }
.coupon-row{ display:flex; gap:8px; }
.coupon-row input{ flex:1; min-width:0; text-transform:uppercase; }
.coupon-row .btn{ min-height:46px; padding:10px 18px; }
.totals{ margin:0; display:grid; grid-template-columns:1fr auto; gap:8px 12px; font-size:.94rem; padding-top:14px; border-top:1px dashed var(--line-strong); }
.totals dt{ color:var(--ink-soft); }
.totals dd{ margin:0; text-align:right; font-weight:600; }
.totals .grand{ font:700 1.2rem/1.2 'Space Grotesk', sans-serif; color:var(--ink); padding-top:10px; border-top:1px solid var(--line); }
.totals .saving{ color:var(--sage-800); }

/* ================= ORDER / TRACK ================= */
.order-head{ display:flex; justify-content:space-between; align-items:flex-start; gap:20px; flex-wrap:wrap; padding:48px 0 24px; }
.order-head h1{ font-size:var(--fs-h1); line-height:1.05; }
.order-grid{ display:grid; gap:20px; padding-bottom:72px; }
.order-card-lg{ padding:clamp(20px, 3vw, 32px); }
.order-card-lg h2{ font-size:1.25rem; margin-bottom:16px; }
.sketch-reveal{ display:grid; grid-template-columns:1fr 1fr; gap:24px; align-items:start; }
.sketch-reveal img{ width:100%; border-radius:var(--radius-sm); border:var(--border-soft); background:var(--canvas-deep); }
.quote-note{ font:italic 1.08rem/1.6 'DM Serif Display', Georgia, serif; color:var(--ink); padding:14px 18px; background:var(--ochre-50); border-radius:var(--radius-sm); margin-bottom:16px; }
.quote-figures{ display:grid; grid-template-columns:1fr auto; gap:8px; margin:12px 0 18px; font-size:.95rem; }
.quote-figures strong{ font-family:'Space Grotesk', sans-serif; }
.action-row{ display:flex; gap:10px; flex-wrap:wrap; }
.ref-strip{ display:flex; gap:8px; flex-wrap:wrap; }
.ref-strip img{ width:72px; height:72px; object-fit:cover; border-radius:10px; }
.track-form{ display:grid; gap:16px; margin-bottom:24px; }
.stars-input{ display:flex; gap:4px; flex-direction:row-reverse; justify-content:flex-end; }
.stars-input input{ position:absolute; opacity:0; }
.stars-input label{ font-size:1.8rem; color:var(--line-strong); cursor:pointer; transition:color var(--dur-fast), transform var(--dur-fast); }
.stars-input label:hover, .stars-input label:hover ~ label, .stars-input input:checked ~ label{ color:var(--ochre); }
.stars-input input:focus-visible + label{ outline:2px solid var(--focus); border-radius:4px; }

/* ================= STORIES ================= */
[data-story-filter]{ margin-bottom:20px; }
.story-art{ border-radius:10px; overflow:hidden; aspect-ratio:4/5; margin-bottom:14px; background:var(--canvas-deep); }
.story-art img{ width:100%; height:100%; object-fit:cover; transition:transform .6s var(--ease-out); }
.card:hover .story-art img{ transform:scale(1.04); }
.story-feature .story-art{ aspect-ratio:1/1; }
.story-wide .story-art{ aspect-ratio:16/9; }
.story-detail{ display:grid; grid-template-columns:1fr 1fr; gap:48px; padding:28px 0 72px; align-items:center; }
.story-detail .polaroid{ background:var(--white-paint); padding:16px 16px 56px; border-radius:6px; box-shadow:var(--shadow-lift); transform:rotate(-2deg); position:relative; }
.story-detail .polaroid img{ width:100%; aspect-ratio:4/5; object-fit:cover; border-radius:3px; }
.story-detail .polaroid figcaption{ position:absolute; bottom:14px; left:0; right:0; text-align:center; font:700 1.5rem/1 'Caveat', cursive; }
.story-detail .polaroid .tape{ position:absolute; top:-12px; left:50%; translate:-50% 0; width:110px; height:26px; }
.story-detail h1{ font-size:var(--fs-h1); line-height:1.05; }
.memory-quote{ margin:22px 0; padding-left:18px; border-left:3px solid var(--cherry); font:italic 1.3rem/1.5 'DM Serif Display', Georgia, serif; }

/* ================= ABOUT ================= */
.about-hero{ display:grid; grid-template-columns:1.2fr .8fr; gap:40px; align-items:center; max-width:none; }
.about-hero img{ width:min(100%, 520px); height:auto; justify-self:end; margin:-24px -12px -12px 0; }
.about-body{ padding:24px 0 48px; }
.prose{ max-width:68ch; font-size:1.06rem; line-height:1.8; color:var(--ink-soft); }
.prose p + p{ margin-top:16px; }
.prose h1{ font-size:var(--fs-h1); color:var(--ink); line-height:1.1; margin-bottom:6px; }
.prose h2{ font-size:1.3rem; color:var(--ink); margin:30px 0 10px; }
.prose ul{ padding-left:20px; }
.prose li{ margin:6px 0; }
.prose a{ color:var(--blue); }
.legal{ margin:48px auto 72px; max-width:none; }
.draft-note{ font:700 1.15rem/1.3 'Caveat', cursive; color:var(--cherry); transform:rotate(-1.5deg); transform-origin:left; margin-bottom:10px; }
.legal::before{ content:"The fine print"; display:inline-block; margin-bottom:22px; padding:8px 18px; background:#fffdf8; font:500 .72rem/1 'IBM Plex Mono', monospace; letter-spacing:.16em; text-transform:uppercase; color:var(--ink-soft);
  border-left:1.5px dashed #c9bfae; border-right:1.5px dashed #c9bfae; box-shadow:0 1px 1px rgba(34,29,25,.06), 0 10px 18px -12px rgba(59,47,34,.45); transform:rotate(-1deg); }
.draft-note{ display:block; }
.legal h2{ position:relative; padding-top:28px; margin-top:34px; }
.legal h2::before{ content:""; position:absolute; top:0; left:0; width:min(220px, 50%); height:1.4px; background:var(--seam); }
.promise-grid{ grid-template-columns:repeat(4, 1fr); }
.care-card{ margin:24px 0 24px; }
.care-card h2{ font-size:1.3rem; }
.care-list{ display:grid; grid-template-columns:repeat(4, 1fr); gap:14px; list-style:none; padding:0; margin:18px 0 0; }
.care-list li{ padding:16px; border-radius:var(--radius-sm); background:var(--canvas); font-size:.92rem; }

/* ================= GIFTS ================= */
.planner{ display:grid; grid-template-columns:1fr 1fr; gap:24px; align-items:center; margin-bottom:40px; }
.planner h2{ font-size:1.5rem; }
.planner p{ color:var(--ink-soft); margin-top:6px; }
.planner-form{ display:grid; gap:12px; }
.planner-result{ font-size:.94rem; line-height:1.6; }
.planner-result strong{ font-family:'Space Grotesk', sans-serif; }
.planner-result .ok{ color:var(--sage-800); } .planner-result .warn{ color:var(--cherry); }
.occasion-sections{ display:grid; gap:20px; padding-bottom:56px; }
.occasion-section{ display:grid; grid-template-columns:.8fr 1.2fr; gap:28px; padding:28px; border-radius:var(--radius-lg); align-items:center; }
.occasion-section h2{ font-size:var(--fs-h2); color:var(--ink); line-height:1.1; }
.occasion-section p{ color:var(--ink-soft); margin:10px 0 18px; }
.occasion-section .grid{ grid-template-columns:repeat(3, minmax(0,1fr)); }

/* ================= CONTACT ================= */
.contact-layout{ display:grid; grid-template-columns:1.3fr .7fr; gap:24px; padding-bottom:72px; align-items:start; }
.contact-form{ display:grid; gap:16px; }
.contact-aside{ display:grid; gap:16px; }
.contact-aside a{ font-weight:600; }

/* ================= AUTH / ACCOUNT ================= */
.auth-shell{ display:grid; grid-template-columns:1fr .8fr; gap:32px; padding:56px 0 80px; align-items:center; }
.auth-shell.single{ grid-template-columns:minmax(0, 480px); justify-content:center; }
.auth-card{ display:grid; gap:18px; }
.auth-title{ font-size:1.9rem; }
.auth-aside h2{ font-size:1.3rem; margin-bottom:14px; }
.tick-list{ list-style:none; padding:0; margin:0 0 18px; display:grid; gap:10px; }
.tick-list li{ display:flex; gap:10px; }
.tick-list li::before{ content:"✓"; color:var(--sage); font-weight:700; }
.or-divider{ display:flex; align-items:center; gap:12px; color:var(--text-faint); font-size:.8rem; }
.or-divider::before, .or-divider::after{ content:""; flex:1; height:1px; background:var(--line-strong); }
[data-show-pass]{ position:absolute; right:14px; top:36px; font-size:.78rem; }

.account-hero{ display:flex; justify-content:space-between; align-items:flex-end; gap:20px; flex-wrap:wrap; max-width:none; }
.account-hero-actions{ display:flex; gap:10px; }
.account-layout{ display:grid; grid-template-columns:220px 1fr; gap:28px; padding-bottom:80px; align-items:start; }
.side-tabs{ display:grid; gap:4px; position:sticky; top:calc(var(--header-h) + 16px); }
.side-tab{ text-align:left; border:0; background:none; padding:12px 16px; border-radius:12px; cursor:pointer; font-weight:600; color:var(--ink-soft); }
.side-tab:hover{ background:rgba(34,29,25,.05); }
.side-tab.is-active{ background:var(--white-paint); color:var(--ink); box-shadow:var(--shadow-paper); }
.tab-panel{ display:none; gap:18px; }
.tab-panel.is-active{ display:grid; animation:fadeIn var(--dur-base); }
.acct-order{ padding:22px; display:grid; gap:14px; }
.acct-order-head{ display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap; align-items:flex-start; }
.acct-order h3{ font-size:1.1rem; }
.acct-order .meta-row{ margin-top:4px; }
.progress-pins{ display:flex; gap:4px; align-items:center; }
.progress-pins i{ flex:1; height:6px; border-radius:99px; background:var(--canvas-deep); }
.progress-pins i.on{ background:var(--cherry); }
.memory-grid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(220px, 1fr)); gap:14px; }
.memory-card{ padding:18px; display:grid; gap:8px; position:relative; transform:rotate(var(--r, -.6deg)); }
.memory-card:nth-child(2n){ --r:.8deg; }
.memory-card h3{ font-size:1rem; }
.memory-card p{ font-size:.88rem; color:var(--ink-soft); white-space:pre-line; }
.memory-card .action-row{ margin-top:6px; }
.address-card{ padding:18px; display:grid; gap:4px; font-size:.92rem; }

/* ================= 404 ================= */
.not-found{ text-align:center; padding:72px 0 96px; display:grid; justify-items:center; gap:12px; }
.not-found .lost-art{ width:min(460px, 100%); height:auto; margin-bottom:4px; }
.not-found .sub{ max-width:44ch; }
.lost-help{ margin-top:10px; font-size:.86rem; color:var(--text-muted); }
.lost-help a{ color:var(--ink); text-underline-offset:3px; }
.not-found h1{ font-size:var(--fs-h1); line-height:1.05; max-width:16ch; }
.not-found .sub{ color:var(--ink-soft); }
.not-found .hero-ctas{ justify-content:center; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1080px){
  .occasion-row{ grid-template-columns:repeat(3, minmax(0,1fr)); }
  .promise-grid, .care-list{ grid-template-columns:repeat(2, 1fr); }
  .commission-layout{ grid-template-columns:1fr; }
  .commission-aside{ position:static; grid-template-columns:1fr 1fr; }
}
@media (max-width: 860px){
  .paths{ grid-template-columns:1fr; padding-top:48px; }
  .ba-layout, .meet-june, .product-layout, .checkout-layout, .story-detail, .about-hero, .planner, .occasion-section, .contact-layout, .auth-shell, .sketch-reveal{ grid-template-columns:1fr; }
  .product-gallery, .order-summary{ position:static; top:auto; }
  .order-summary{ order:-1; }
  .account-layout{ grid-template-columns:1fr; }
  .side-tabs{ position:static; display:flex; overflow-x:auto; gap:6px; padding-bottom:4px; }
  .side-tab{ white-space:nowrap; }
  .tier-pick{ grid-template-columns:1fr; }
  .commission-aside{ grid-template-columns:1fr; }
  .occasion-section .grid{ grid-template-columns:repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px){
  .occasion-row{ grid-template-columns:repeat(2, minmax(0,1fr)); }
  .occasion{ min-height:140px; }
  .occasion-row .occasion:last-child{ grid-column:span 2; }
  .path-card{ min-height:260px; padding:26px 22px; }
  .path-art{ width:46%; }
  .stepper{ font-size:0; gap:0; }
  .stepper li span{ font-size:.78rem; }
  .letter-sheet{ padding:18px 16px 16px 24px; }
  .letter-nav{ flex-direction:row !important; flex-wrap:wrap; }
  .letter-nav .letter-hint{ order:3; flex-basis:100%; }
  .letter-nav button{ flex:1; width:auto !important; }
  .letter-review dl{ grid-template-columns:1fr; gap:2px; }
  .letter-review dd{ margin-bottom:8px; }
  .promise-grid, .care-list{ grid-template-columns:1fr; }
  .buy-row .btn{ min-width:0; }
  .gallery-thumbs button{ width:60px; }
  .occasion-section{ padding:20px; }
  .action-row .btn{ width:100%; }
  .account-hero-actions .btn{ width:auto; }
}

/* ---------- Hero tote (generated by tools/illustrations/build.js) ---------- */
.tote.hero-tote{ overflow:visible; filter:drop-shadow(0 18px 24px rgba(59,47,34,.08)); }
.hero-tote .tote-handle, .hero-tote path:nth-of-type(2){ animation:none; }
.hero-tote .sun-core{ transform-box:fill-box; transform-origin:center; animation:heroSun 6s ease-in-out infinite; }
.hero-tote .ray{ stroke-dasharray:10; stroke-dashoffset:10; }
.hero-tote .bird{ animation:heroBird 10s linear infinite; }
.hero-tote .bird.b2{ animation-delay:-4.6s; }
@keyframes heroSun{ 0%, 40%, 100%{ transform:scale(1); } 60%{ transform:scale(1.14); } 78%{ transform:scale(1.04); } }
@keyframes heroBird{
  0%{ transform:translate(22px, 84px) scale(.8); opacity:0; }
  8%{ opacity:1; }
  46%{ transform:translate(176px, 56px) scale(.8); opacity:1; }
  52%, 100%{ transform:translate(186px, 54px) scale(.8); opacity:0; }
}

/* ---------- "How it works" spot illustrations ---------- */
.step-art.step-spot{ display:grid; place-items:center; }
.step-art.step-spot img{ position:relative; width:100%; height:100%; object-fit:contain; }
@media (prefers-reduced-motion: reduce){ .hero-tote .sun-core, .hero-tote .bird{ animation:none !important; } }

/* ---------- Commission tiers: price tags pegged to a studio clothesline ---------- */
.tier-line{ position:relative; display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:clamp(18px, 3vw, 40px); padding:34px 0 8px; }
.tier-line::before{ content:""; position:absolute; left:-3%; right:-3%; top:0; height:70px; pointer-events:none;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 70' preserveAspectRatio='none'%3E%3Cpath d='M0 6 Q500 74 1000 6' fill='none' stroke='%238a6a44' stroke-width='2.2' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
.tier-tag{ --tote-fill:#F4EEE2; --tote-art:var(--ochre-300); position:relative; color:var(--ink); filter:drop-shadow(0 16px 22px rgba(59,47,34,.16)) drop-shadow(0 1px 1px rgba(59,47,34,.12)); }
.tier-tag:nth-child(2){ margin-top:22px; }
.tier-tag:hover .tier-card{ transform:rotate(calc(var(--tilt, 0deg) * -.6)); }
.tier-card{
  position:relative; display:flex; flex-direction:column; height:100%; padding:42px 26px 26px;
  background:#E3C99D url("/assets/textures/canvas.webp") 0 0 / 240px;
  clip-path:polygon(16% 0, 84% 0, 100% 9%, 100% 100%, 0 100%, 0 9%);
  border-radius:0 0 8px 8px;
  transform-origin:50% 8px; transform:rotate(var(--tilt, 0deg)); transition:transform .8s cubic-bezier(.3,1.6,.5,1);
}
.tier-card::before{ content:""; position:absolute; top:16px; left:50%; width:12px; height:12px; margin-left:-6px; border-radius:50%; background:var(--canvas); box-shadow:inset 0 1px 2px rgba(59,47,34,.35); }
.peg{ position:absolute; z-index:2; top:-26px; left:50%; width:13px; height:38px; margin-left:-6.5px; border-radius:3px; background:linear-gradient(90deg, #b48a55, #d7b07a 45%, #a97f4b); box-shadow:0 2px 3px rgba(59,47,34,.3); }
.peg::after{ content:""; position:absolute; left:50%; top:4px; bottom:4px; width:1px; background:rgba(74,52,26,.45); }
.peg::before{ content:""; position:absolute; left:-2px; right:-2px; top:13px; height:4px; border-radius:2px; background:#9a9184; }
.tier-head{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
.tier-head h3{ font:700 1.25rem/1.1 'Space Grotesk', sans-serif; letter-spacing:-.01em; }
.tier-flag{ font:700 1.05rem/1 'Caveat', cursive; color:var(--cherry); transform:rotate(-4deg); white-space:nowrap; }
.tier-price-row{ display:flex; align-items:flex-end; justify-content:space-between; gap:12px; margin-top:14px; }
.tier-price{ display:flex; align-items:baseline; gap:6px; font:700 clamp(2.4rem, 4vw, 3.1rem)/1 'Space Grotesk', sans-serif; letter-spacing:-.03em; }
.tier-price small{ font:700 1.15rem/1 'Caveat', cursive; letter-spacing:0; color:var(--ink-soft); }
.tier-size{ flex:none; height:auto; color:#6f5a3d; }
.tier-days{ margin-top:10px; font:500 .7rem/1 'IBM Plex Mono', monospace; letter-spacing:.12em; text-transform:uppercase; color:var(--ink-soft); }
.tier-card ul{ list-style:none; padding:0; margin:20px 0 26px; display:grid; gap:10px; border-top:1px dashed rgba(74,52,26,.3); padding-top:18px; }
.tier-card li{ position:relative; padding-left:20px; font-size:.95rem; line-height:1.45; }
.tier-card li::before{ content:""; position:absolute; left:0; top:.45em; width:9px; height:9px; border-radius:40% 60% 55% 45%/45% 55% 45% 55%; background:var(--blue); }
.tier-card .btn{ margin-top:auto; width:100%; justify-content:center; }
.tier-tag.is-feat{ --tote-fill:#3a332d; --tote-art:var(--ochre); color:var(--white-paint); }
.tier-tag.is-feat .tier-card{ background:#2a2420 url("/assets/textures/canvas.webp") 0 0 / 240px; }
.tier-tag.is-feat .tier-price small, .tier-tag.is-feat .tier-days{ color:rgba(251,248,241,.7); }
.tier-tag.is-feat .tier-size{ color:#d9c9ac; }
.tier-tag.is-feat .tier-card ul{ border-top-color:rgba(251,248,241,.22); }
.tier-tag.is-feat .tier-card li::before{ background:var(--cherry); }
.tier-tag.is-feat .tier-flag{ color:#f1a59e; }
.tier-tag:nth-child(3) .tier-card li::before{ background:var(--sage); }
@media (max-width:860px){
  .tier-line{ grid-template-columns:1fr; gap:44px; padding-top:30px; max-width:440px; margin:0 auto; }
  .tier-line::before{ display:none; }
  .tier-tag:nth-child(2){ margin-top:0; }
  .tier-tag{ --tilt:0deg !important; }
}
@media (prefers-reduced-motion: reduce){ .tier-card, .tier-tag:hover .tier-card{ transition:none; transform:none; } }

/* ---------- Testimonials: a pile of prints, the active one lifts to the front ---------- */
.tm{ display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1fr); gap:clamp(40px, 8vw, 96px); align-items:stretch; max-width:940px; margin:0 auto; padding:clamp(24px, 4vw, 48px) 0; outline:none; }
.tm-stack{ position:relative; width:min(100%, 360px); height:clamp(300px, 34vw, 380px); justify-self:center; perspective:1000px; }
.tm-card{
  position:absolute; inset:0; margin:0; padding:10px; background:#fff; border-radius:26px; transform-origin:50% 100%;
  transform:rotate(var(--tilt, 0deg)) scale(.95); opacity:.7;
  box-shadow:0 1px 1px rgba(34,29,25,.05), 0 18px 40px -18px rgba(59,47,34,.45);
  transition:transform .4s ease-in-out, opacity .4s ease-in-out;
}
.tm-card.is-active{ transform:none; opacity:1; }
.tm-card.is-lifting{ animation:tmLift .4s ease-in-out; }
.tm-card img{ display:block; width:100%; height:100%; object-fit:cover; object-position:center; border-radius:18px; background:var(--canvas-deep); user-select:none; }
@keyframes tmLift{ 50%{ translate:0 -80px; } }
.tm-body{ display:flex; flex-direction:column; justify-content:space-between; gap:36px; padding:16px 0; }
.tm-text h3{ font:700 clamp(1.5rem, 2.4vw, 1.9rem)/1.1 'Space Grotesk', sans-serif; letter-spacing:-.015em; animation:tmIn .2s ease-in-out both; }
.tm-meta{ display:flex; align-items:center; gap:10px; margin-top:6px; font-size:.9rem; color:var(--text-muted); animation:tmIn .2s ease-in-out both; }
.tm-meta .stars{ color:var(--ochre); letter-spacing:.08em; }
.tm-text blockquote{ margin:30px 0 0; font-size:clamp(1.08rem, 1.5vw, 1.25rem); line-height:1.65; color:var(--ink-soft); }
.tm-text blockquote span{ display:inline-block; animation:tmWord .2s ease-in-out both; animation-delay:var(--d, 0ms); }
@keyframes tmIn{ from{ opacity:0; transform:translateY(20px); } }
@keyframes tmWord{ from{ opacity:0; filter:blur(10px); transform:translateY(5px); } }
.tm-nav{ display:flex; align-items:center; gap:14px; }
.tm-btn{ display:grid; place-items:center; width:42px; height:42px; padding:0; border-radius:50%; border:1px solid var(--line-strong); background:var(--canvas-deep); color:var(--ink); cursor:pointer; transition:background-color .2s, border-color .2s; }
.tm-btn:hover{ background:var(--white-paint); border-color:var(--ink); }
.tm-btn svg{ transition:transform .3s; }
.tm-prev:hover svg{ transform:rotate(12deg); }
.tm-next:hover svg{ transform:rotate(-12deg); }
.tm-btn:focus-visible{ outline:2px solid var(--focus); outline-offset:3px; }
.tm-count{ margin-left:auto; font:500 .72rem/1 'IBM Plex Mono', monospace; letter-spacing:.14em; color:var(--text-muted); }
@media (max-width:760px){
  .tm{ grid-template-columns:1fr; gap:28px; max-width:420px; }
  .tm-stack{ width:min(78%, 300px); height:clamp(260px, 80vw, 320px); }
  .tm-body{ padding:0; gap:28px; }
}
@media (prefers-reduced-motion: reduce){
  .tm-card, .tm-card.is-lifting, .tm-text h3, .tm-meta, .tm-text blockquote span{ animation:none !important; transition:none; }
}

/* Steps play one after another; the playing card lifts and a stitched thread runs along its foot. */
.journey-flow .step{ transition:transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.journey-flow .step.is-playing{ transform:translateY(-6px); box-shadow:0 22px 44px -26px rgba(59,47,34,.45); }
.step-progress{ position:absolute; left:22px; right:22px; bottom:14px; height:1.6px; background:repeating-linear-gradient(90deg, var(--cherry) 0 7px, transparent 7px 12px); transform:scaleX(0); transform-origin:0 50%; opacity:0; pointer-events:none; }
.step.is-playing .step-progress{ opacity:.8; animation:stepThread 5.6s linear forwards; }
@keyframes stepThread{ to{ transform:scaleX(1); } }
.verify-note{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; padding:14px 0 18px; margin-bottom:18px; border-bottom:1.4px dashed rgba(34,29,25,.25); font-size:.92rem; color:var(--ink-soft); }
.verify-note p{ flex:1 1 280px; margin:0; }
.auth-note{ margin:0 0 16px; padding:12px 14px; border-left:3px solid var(--sage, #6b7f5c); background:rgba(107,127,92,.1); font-size:.92rem; line-height:1.5; color:var(--ink); }
.mail-hint{ max-width:62ch; margin:14px auto 18px; padding-left:14px; border-left:3px solid var(--ochre); font-size:.92rem; line-height:1.55; color:var(--ink-soft); text-align:left; }
.order-head + .mail-hint{ margin:6px 0 22px; }
