@font-face {
  font-family: "Jane Austen";
  src: url("assets/fonts/jane-austen/JaneAusten.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  --ink: #38272e; --muted: #79616b; --paper: #FFF9F7; --rose: #98606e;
  --line: #e8d8dc; --velvet: #a4687a; --fold-shadow: #442332; --fold-light: #d5a0aa;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Vazirmatn", sans-serif; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.site-header { position: fixed; z-index: 20; inset: 0 0 auto; height: 78px; padding: 0 clamp(20px, 5vw, 76px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; direction: ltr; color: var(--ink); transition: color .3s; }
body.curtain-closed .site-header { color: #fff4ee; }
.brand { font: italic 400 clamp(26px, 2.4vw, 36px)/1 "Cormorant Garamond", Georgia, serif; letter-spacing: -.04em; white-space: nowrap; }
.desktop-nav { display: flex; gap: 34px; direction: rtl; font-size: 13px; }
.desktop-nav a, .bag { display: flex; min-height: 44px; align-items: center; }
.bag { justify-self: end; gap: 9px; direction: rtl; font-size: 12px; }
.bag-count { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid currentColor; border-radius: 50%; }
.frame-story { position: relative; }
.frame-sticky { position: relative; min-height: 100svh; background: var(--paper); isolation: isolate; }
.motion-ready .frame-story { height: 280svh; }
.motion-ready .frame-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.curtain-scene { display: none; position: absolute; z-index: 5; inset: 0; pointer-events: none; overflow: hidden; }
.motion-ready .curtain-scene { display: block; }
.curtain {
  position: absolute; top: -2%; bottom: -2%; width: 50.5%;
  background-color: var(--velvet);
  background-image:
    linear-gradient(180deg, #27141c99, transparent 18%, #e5aebd12 48%, #25101988),
    repeating-linear-gradient(90deg, #2c152454 0%, #47223599 3%, #8f526a22 7%, #edbdc255 10%, #e1a5af80 12%, #b8778811 16%, #482335cc 21%, #32192ccf 24%, #9d607600 29%, #d79ba967 33%, #b97e9022 37%, #4d253bbb 43%, #9f627411 49%, #e9b4bd88 54%, #c2899980 57%, #7b425b44 62%, #321b2dcc 69%, #77425877 75%, #df9da966 82%, #b47a8866 88%, #48233599 96%, #2c152454 100%);
  background-size: 100% 100%, clamp(180px, 23vw, 390px) 100%;
  will-change: transform;
}
.curtain::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, #ffe7ef07 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, #27121a0a 0 1px, transparent 1px 3px); }
.curtain::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 20px 35px #32152280; background: radial-gradient(ellipse at 50% 40%, transparent 20%, #30121c44 100%); }
.curtain-left { left: 0; transform-origin: left center; transform: translate3d(var(--left, 0%),0,0) scaleX(var(--gather, 1)); border-right: 2px solid #542e3e; box-shadow: 12px 0 30px #32132255; }
.curtain-right { right: 0; transform-origin: right center; transform: translate3d(var(--right, 0%),0,0) scaleX(var(--gather, 1)); border-left: 2px solid #e7afba44; box-shadow: -12px 0 30px #32132255; }
.heart-light { position: absolute; width: min(78vw, 79svh, 790px); aspect-ratio: 600 / 560; top: 47%; left: 50%; transform: translate(-50%,-50%); opacity: var(--light, .8); mix-blend-mode: soft-light; }
.heart-light svg { display: block; width: 100%; height: 100%; overflow: visible; }
.stage-title { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-bottom: 4svh; color: #fff2e3; text-shadow: 0 2px 24px #ffd8d155; opacity: var(--title, 1); }
.stage-title > span { font: italic 400 clamp(16px, 2vw, 23px)/1.5 "Cormorant Garamond", Georgia, serif; }
.stage-title p { margin: 18px 0 24px; font: 400 clamp(40px, 7.5vw, 108px)/1.4 "Jane Austen", "Cormorant Garamond", cursive; letter-spacing: 0; white-space: nowrap; }
.stage-title p span { font-size: .7em; margin-left: .06em; }
.stage-title small { font: 400 10px/1.5 "Manrope", sans-serif; letter-spacing: .35em; }
.scroll-cue { display: none; position: absolute; z-index: 6; bottom: max(26px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); color: #fff4ee; text-align: center; white-space: nowrap; font-size: 12px; min-height: 44px; opacity: var(--cue, 1); }
.motion-ready .scroll-cue { display: grid; justify-items: center; gap: 14px; }
.scroll-cue i { width: 1px; height: 38px; background: linear-gradient(#fff4ee, #fff4ee00); }
.collection { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 100px clamp(24px, 6vw, 100px) 35px; }
.motion-ready .collection { height: 100%; min-height: 0; overflow-y: auto; }
.collection-heading { max-width: 560px; margin: 0 auto clamp(20px, 4svh, 44px); text-align: center; }
.eyebrow { margin: 0 0 14px; color: var(--rose); direction: ltr; font: 500 10px/1.5 "Manrope", sans-serif; letter-spacing: .2em; text-transform: uppercase; }
.collection-heading h1 { margin: 0; font-size: clamp(30px, 3.4vw, 52px); font-weight: 300; line-height: 1.3; }
.collection-heading > p:last-child { margin: 12px auto 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.product-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(14px, 2.5vw, 40px); direction: ltr; }
.product { position: relative; min-width: 0; direction: rtl; }
.product-art { display: block; width: 100%; height: clamp(160px, 34svh, 410px); object-fit: contain; object-position: center bottom; transition: transform .6s; color: var(--muted); font-size: 12px; }
.product-art:not([src]) { visibility: hidden; }
@media (hover: hover) { .product:hover .product-art { transform: translateY(-7px); } }
.favorite { position: absolute; z-index: 2; top: 0; right: 0; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff9f7bb; font: 25px/1 sans-serif; color: var(--rose); cursor: pointer; }
.favorite.active { color: #a53255; background: #f3dfe6; }
.product-copy { padding-top: 14px; border-top: 1px solid var(--line); text-align: center; }
.product-copy h2 { margin: 0; font-size: 15px; font-weight: 400; }
.product-copy p { margin: 5px 0 8px; color: var(--muted); font-size: 12px; }
.product-copy span { font-size: 12px; }
.collection-note { margin-top: 28px; padding: 16px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; gap: 16px; }
.collection-note a { color: var(--ink); }
.swipe-hint { display: none; }
footer { min-height: 190px; padding: 50px clamp(24px, 5vw, 76px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; background: #38232e; color: #f6edef; direction: ltr; }
footer p { margin: 0; direction: rtl; font-size: 12px; }
footer span { justify-self: end; font: 11px "Manrope", sans-serif; }
@media (max-width: 820px) {
  .site-header { height: 66px; grid-template-columns: 1fr 1fr; }
  .desktop-nav { display: none; }
  .motion-ready .frame-story { height: 250svh; }
  .scroll-cue { white-space:normal;width:calc(100% - 36px);max-width:440px;justify-items:center;line-height:1.8 }
  .heart-light { width: min(110vw, 75svh); }
  .stage-title p { font-size: clamp(30px, 9.5vw, 76px); }
  .collection { padding: 82px 24px 22px; }
  .collection-heading { margin-bottom: 20px; }
  .collection-heading > p:last-child { max-width: 280px; }
  .product-grid { margin-inline: -24px; padding: 0 24px 10px; grid-template-columns: repeat(5, minmax(220px, 66vw)); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #ba8999 #eee0e5; }
  .product { scroll-snap-align: center; }
  .product-art { height: clamp(155px, 33svh, 380px); }
  .swipe-hint { display: block; text-align: center; font-size: 11px; color: var(--muted); margin: 12px 0 0; }
  .collection-note { justify-content: center; text-align: center; margin-top: 15px; padding: 10px 0 0; }
  .collection-note a { display: none; }
  footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  footer span { justify-self: center; }
}
@media (max-height: 600px) {
  .collection { justify-content: flex-start; padding-top: 75px; }
  .collection-heading { margin-bottom: 12px; }
  .collection-heading h1 { font-size: 28px; }
  .collection-heading > p:last-child, .collection-note, .swipe-hint { display: none; }
  .eyebrow { margin-bottom: 6px; }
  .product-art { height: 28svh; min-height: 85px; }
  .product-copy { padding-top: 6px; }
  .product-copy p { margin: 2px 0; }
  .scroll-cue { bottom: 16px; }
  .scroll-cue i { height: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .motion-ready .frame-story { height: auto; }
  .motion-ready .frame-sticky { position: relative; height: auto; overflow: visible; }
  .motion-ready .collection { min-height: 100svh; height: auto; overflow: visible; }
  .motion-ready .curtain-scene, .motion-ready .scroll-cue { display: none; }
}

