:root {
  --ivory: #fdf7f8; --cream: #f9e9ee; --powder: #f4d3de;
  --ink: #552639; --muted: #8d6e78; --line: #ecd4dc;
  --rose: #c0718d; --rose-deep: #a45774; --plum-deep: #7c3a52;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  --script: "Parisienne", "Cormorant Garamond", cursive;
  --ease: cubic-bezier(.22,.61,.36,1);
  color: var(--ink); background: var(--ivory); font-family: var(--sans);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--ivory); overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button:disabled { cursor: not-allowed; opacity: .5; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--rose); outline-offset: 5px; }
button:active, .primary-link:active { transform: scale(.98); }
button, .primary-link, .ghost-link { transition: transform 160ms ease-out, background-color 180ms ease-out, color 180ms ease-out, border-color 180ms ease-out; }
img { display: block; max-width: 100%; height: auto; }
figure, p, h1, h2, h3, ul { margin: 0; }
ul { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; text-wrap: balance; }
p { line-height: 1.65; text-wrap: pretty; }
em { font-family: var(--script); font-weight: 400; font-size: 1.18em; }
::selection { background: var(--powder); }
.eyebrow { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; color: var(--rose-deep); }
.skip-link { position: fixed; top: -90px; left: 16px; background: var(--ink); color: white; z-index: 60; padding: 16px; }
.skip-link:focus { top: 8px; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; align-items: center; gap: 26px; padding-right: 26px; animation: marquee 26s linear infinite; will-change: transform; }
.marquee-track span { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; }
.marquee-track i { font-style: normal; font-size: 9px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-top { background: var(--ink); color: var(--cream); padding: 9px 0; }
.marquee-band { background: linear-gradient(135deg, var(--rose-deep), var(--plum-deep)); color: var(--ivory); padding: 15px 0; }
.marquee-band .marquee-track { animation-duration: 32s; }
.marquee-band .marquee-track span { font-size: 12px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 72px; padding: 0 20px; background: #fdf7f8f2; backdrop-filter: blur(8px); }
.top::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--rose), transparent); opacity: 0; transition: opacity 220ms ease-out; }
.top.is-scrolled::after { opacity: .7; }
.top-brand { display: block; width: 92px; justify-self: center; transition: transform 220ms ease-out; }
.top-brand img { width: 100%; height: auto; }
.top.is-scrolled .top-brand { transform: scale(.93); }
.top-menu-toggle { display: block; justify-self: start; padding: 0; min-width: 44px; min-height: 44px; text-align: left; font-size: 11px; }
#bag-button { justify-self: end; padding: 0; min-width: 52px; min-height: 44px; font-size: 11px; }
.top-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 20px 24px 26px; background: var(--ivory); border-bottom: 1px solid var(--line); }
.top-nav.is-open { display: flex; flex-direction: column; }
.top-nav a { padding: 14px 0; font-size: 13px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: clip; }
.hero-silk { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #fdf7f8d9 0%, #fdf7f866 45%, #fdf7f8f2 100%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; max-width: 1400px; margin: auto; padding: 64px 24px 30px; display: grid; gap: 44px; }
.hero-copy { max-width: 640px; }
.hero-copy .eyebrow { margin-bottom: 18px; }
.hero h1 { font-size: clamp(64px, 17vw, 96px); line-height: .92; letter-spacing: -.04em; }
.hero h1 em { color: var(--rose-deep); }
.hero-note { margin: 20px 0 30px; font-size: 14px; color: var(--muted); max-width: 420px; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.primary-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; background: linear-gradient(135deg, var(--rose-deep), var(--plum-deep)); color: var(--ivory); padding: 17px 24px; border-radius: 40px; font-size: 12px; min-height: 54px; white-space: nowrap; box-shadow: 0 14px 30px -12px #a4577499; }
.primary-link span:last-child { font-size: 19px; }
.ghost-link { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 4px; font-size: 12px; border-bottom: 1px solid var(--rose); }
.ghost-link span:last-child { font-size: 15px; }
.hero-visual { position: relative; justify-self: center; width: min(78vw, 340px); }
.hero-photo { position: relative; border-radius: 170px 170px 6px 6px; overflow: hidden; background: var(--powder); box-shadow: 0 0 0 1px #f3cdd9, 0 30px 60px -24px #c0718d88; }
.hero-photo img { width: 100%; aspect-ratio: 3/4.4; object-fit: cover; }
.hero-photo figcaption { position: absolute; bottom: 0; left: 0; right: 0; display: flex; justify-content: space-between; padding: 13px 16px; background: #fdf7f8e8; font-size: 9px; letter-spacing: .06em; }
.hero-badge { position: absolute; top: -34px; right: -30px; width: 92px; height: 92px; animation: spin 22s linear infinite; filter: drop-shadow(0 8px 16px #a4577455); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-chip { position: absolute; left: -18px; bottom: 46px; background: var(--ivory); border: 1px solid var(--line); border-radius: 30px; padding: 10px 16px; font-size: 10px; letter-spacing: .08em; box-shadow: 0 12px 26px -14px #a4577477; transform: rotate(-4deg); }
.hero-scroll { position: relative; z-index: 1; text-align: center; padding: 6px 0 26px; font-size: 9px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.hero-scroll span { display: block; margin-top: 6px; animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ---------- drop / products ---------- */
.drop-section { max-width: 1400px; margin: auto; padding: 70px 24px 60px; }
.section-heading { margin-bottom: 40px; display: grid; gap: 16px; }
.section-heading h2 { font-size: clamp(48px, 12vw, 64px); line-height: 1; letter-spacing: -.035em; margin-top: 14px; }
.section-heading h2 em { color: var(--rose-deep); }
.section-heading > p { color: var(--muted); font-size: 13px; }
.product-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 48px; }
.flow-product { min-width: 0; scroll-margin-top: 110px; }
.product-media { position: relative; overflow: hidden; aspect-ratio: 3/4; border-radius: 120px 6px 6px 6px; background: var(--powder); touch-action: pan-y pinch-zoom; box-shadow: 0 0 0 1px #f3cdd9, 0 24px 48px -24px #c0718d77; }
.flow-product:nth-child(2) .product-media { border-radius: 6px 120px 6px 6px; }
.product-photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.view-radio { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.product-media .photo-back { display: none; }
.view-radio[value="back"]:checked ~ .photo-front { display: none; }
.view-radio[value="back"]:checked ~ .photo-back { display: block; }
.product-number { position: absolute; top: 20px; right: 20px; z-index: 1; font-size: 9px; letter-spacing: .1em; background: #fdf7f8d9; padding: 8px 12px; border-radius: 20px; }
.flow-product:nth-child(2) .product-number { left: 20px; right: auto; }
.gallery-footer { position: absolute; bottom: 16px; left: 16px; right: 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gallery-hint { color: var(--ink); background: #fdf7f8df; padding: 10px 14px; border-radius: 20px; font-size: 9px; letter-spacing: .04em; }
.view-switch { display: flex; padding: 3px; border-radius: 30px; background: var(--ivory); box-shadow: 0 0 0 1px var(--line); }
.view-switch label { min-width: 56px; min-height: 42px; border-radius: 25px; font-size: 10px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; }
.view-radio[value="front"]:checked ~ .gallery-footer label[for$="-front"], .view-radio[value="back"]:checked ~ .gallery-footer label[for$="-back"] { color: var(--ivory); background: linear-gradient(135deg, var(--rose-deep), var(--plum-deep)); }
.product-info { padding-top: 22px; }
.product-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-heading h3 { font-size: 33px; letter-spacing: -.025em; }
.price { font-variant-numeric: tabular-nums; font-size: 15px; }
.product-color { font-size: 12px; display: flex; align-items: center; gap: 8px; margin: 6px 0 12px; }
.color-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }
.flow-product:nth-child(2) .color-dot { background: #9cc8e1; }
.product-description { font-size: 12px; color: var(--muted); }
.size-label { display: flex; align-items: center; justify-content: space-between; font-size: 11px; margin: 20px 0 8px; }
.size-label button { min-height: 36px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--rose); font-size: 10px; padding: 0 4px; }
.product-purchase { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; }
.flow-sizes { display: flex; gap: 6px; }
.flow-sizes button { min-width: 42px; min-height: 50px; border: 1px solid var(--line); border-radius: 8px; font-size: 11px; background: #ffffff88; }
.flow-sizes button[aria-pressed=true] { background: linear-gradient(135deg, var(--rose-deep), var(--plum-deep)); color: var(--ivory); border-color: transparent; }
.add-flow { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 50px; padding: 12px 18px; background: linear-gradient(135deg, var(--rose-deep), var(--plum-deep)); color: var(--ivory); border-radius: 30px; font-size: 11px; white-space: nowrap; box-shadow: 0 12px 26px -12px #a4577499; }
.add-flow span:last-child { font-size: 20px; }
.selection-status { min-height: 20px; padding-top: 5px; font-size: 10px; color: var(--muted); }
.selection-status.is-error { color: #943e32; }

/* ---------- ritual ---------- */
.ritual-section { max-width: 1400px; margin: auto; padding: 70px 24px; display: grid; gap: 40px; align-items: center; }
.ritual-photo { border-radius: 8px 140px 8px 8px; overflow: hidden; box-shadow: 0 0 0 1px #f3cdd9, 0 24px 48px -24px #c0718d77; }
.ritual-photo img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.ritual-copy .eyebrow { display: block; margin-bottom: 14px; }
.ritual-copy h2 { font-size: clamp(44px, 11vw, 58px); line-height: 1.02; letter-spacing: -.03em; }
.ritual-copy h2 em { color: var(--rose-deep); }
.ritual-copy > p { margin: 18px 0 26px; font-size: 13px; color: var(--muted); max-width: 440px; }
.ritual-list { display: grid; gap: 0; border-top: 1px solid var(--line); margin-bottom: 28px; }
.ritual-list li { padding: 18px 2px; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.ritual-list strong { font-family: var(--serif); font-size: 21px; font-weight: 400; }
.ritual-list span { font-size: 12px; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 44px; border-bottom: 1px solid currentColor; padding: 8px 0; font-size: 11px; }
.text-link span:last-child { font-size: 17px; transition: transform 180ms ease-out; }

/* ---------- brand ---------- */
.brand-section { position: relative; overflow: clip; padding: 90px 24px; text-align: center; }
.brand-bloom { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.brand-section::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ivory) 0%, #fdf7f866 40%, var(--ivory) 100%); pointer-events: none; }
.brand-copy { position: relative; z-index: 1; max-width: 620px; margin: auto; }
.brand-symbol { width: 120px; height: 120px; margin: 0 auto 26px; filter: drop-shadow(0 10px 22px #a4577455); }
.brand-copy .eyebrow { display: block; margin-bottom: 12px; }
.brand-copy h2 { font-size: clamp(64px, 18vw, 110px); letter-spacing: -.04em; line-height: 1; }
.brand-copy > p { margin: 22px auto 0; font-size: 14px; color: var(--muted); max-width: 480px; }
.brand-signature { font-family: var(--script); font-size: 26px; color: var(--rose-deep); margin-top: 26px; }
.brand-copy .text-link { margin-top: 26px; }

/* ---------- size ---------- */
.size-section { max-width: 1400px; margin: auto; padding: 60px 24px 80px; text-align: center; }
.size-callout .eyebrow { display: block; margin-bottom: 12px; }
.size-section h2 { font-size: clamp(44px, 11vw, 58px); letter-spacing: -.03em; }
.size-section h2 em { color: var(--rose-deep); }
.size-callout > p { margin: 16px auto 8px; font-size: 13px; color: var(--muted); max-width: 420px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--cream), #f6dde6); padding: 30px 24px 18px; overflow: clip; }
.footer-top { max-width: 1300px; margin: auto; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 20px; }
.footer-brand { display: block; width: 110px; }
.footer-brand img { display: block; width: 100%; height: auto; }
.footer-top > p { font-size: 11px; line-height: 1.6; }
.footer-top > p span { font-size: 9px; color: var(--muted); }
.footer-top nav { grid-column: 1/-1; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 10px; }
.footer-top nav a { min-height: 40px; display: inline-flex; align-items: center; }
.footer-lockup { text-align: center; padding: 36px 20px 12px; }
.footer-lockup-word { width: clamp(200px, 46vw, 300px); height: auto; }
.footer-ig { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 11px 24px; border: 1px solid var(--rose); border-radius: 999px; color: var(--ink); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
.footer-ig svg { width: 15px; height: 15px; stroke: var(--rose); fill: none; stroke-width: 1.8; }
.footer-ig:hover { background: var(--rose); color: #fff; }
.footer-ig:hover svg { stroke: #fff; }
.footer-bottom { max-width: 1300px; margin: 0 auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-size: 9px; color: var(--muted); }

/* ---------- bag drawer / dialog ---------- */
.bag-overlay { position: fixed; inset: 0; z-index: 30; background: #55263955; visibility: hidden; opacity: 0; transition: opacity 220ms ease-out, visibility 220ms; }
.bag-overlay.is-open { opacity: 1; visibility: visible; }
.bag-drawer { position: fixed; inset: 0 0 0 auto; z-index: 40; width: min(480px,100%); padding: 25px max(24px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) 24px; background: var(--ivory); overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform 260ms var(--ease), visibility 260ms; }
.bag-drawer.is-open { visibility: visible; transform: translateX(0); transition: transform 260ms var(--ease); }
.bag-open { overflow: hidden; }
.bag-drawer-head { display: flex; align-items: center; justify-content: space-between; }
.bag-drawer h2 { font-size: 42px; margin-top: 6px; }
.bag-close { min-height: 44px; font-size: 11px; }
.bag-status { font-size: 10px; color: var(--muted); margin: 20px 0; }
.cart-item { display: grid; grid-template-columns: 72px 1fr; gap: 14px; border-top: 1px solid var(--line); padding: 18px 0; }
.cart-item-thumb { width: 72px; height: 106px; object-fit: cover; border-radius: 30px 2px 2px 2px; }
.cart-item-meta { display: flex; flex-direction: column; gap: 7px; font-size: 10px; }
.cart-item-meta strong { font-size: 15px; font-weight: 500; }
.cart-item > strong { grid-column: 2; font-size: 12px; font-weight: 500; }
.cart-item-controls { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cart-item-controls button { min-width: 40px; min-height: 40px; border: 1px solid var(--line); border-radius: 4px; }
.cart-item-controls .remove-line { border: 0; text-decoration: underline; }
.cart-empty { padding: 45px 0; font-size: 14px; }
.cart-empty p { margin-top: 10px; font-size: 12px; color: var(--muted); }
.cart-empty a { margin-top: 22px; }
.bag-summary { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding: 22px 0; font-size: 13px; }
.bag-checkout { min-height: 52px; width: 100%; border-radius: 30px; color: var(--ivory); background: linear-gradient(135deg, var(--rose-deep), var(--plum-deep)); padding: 14px; font-size: 12px; box-shadow: 0 12px 26px -12px #a4577499; }
.bag-checkout-status { margin-top: 12px; font-size: 12px; }
.bag-checkout-status.is-error { color: #943e32; }
dialog { width: 460px; max-width: calc(100% - 32px); max-height: calc(100dvh - 32px); border: 1px solid var(--line); border-radius: 16px; padding: 26px; color: var(--ink); background: var(--ivory); box-shadow: 0 30px 60px -30px #a4577466; }
dialog::backdrop { background: #55263966; }
.dialog-close { display: block; margin-left: auto; min-height: 44px; font-size: 11px; }
dialog h2 { font-size: 45px; margin: 14px 0 20px; }
dialog p { font-size: 13px; }
dialog .size-note { font-size: 11px; color: var(--muted); margin: 16px 0 24px; }
.guide-sizes { display: flex; gap: 10px; margin: 20px 0; flex-wrap: wrap; }
.guide-sizes span { border: 1px solid var(--line); border-radius: 8px; padding: 12px 20px; font-size: 12px; background: #ffffff88; }

/* ---------- reveal ---------- */
.motion-ready [data-reveal] { opacity: 1; transform: translateY(18px); transition: transform 700ms var(--ease); }
.motion-ready [data-reveal="photo"] { opacity: 1; transform: translateY(22px) scale(.985); }
.motion-ready [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- desktop ---------- */
@media (min-width: 768px) {
  .top { min-height: 84px; grid-template-columns: auto 1fr auto; gap: 38px; padding: 0 4.5%; }
  .top-menu-toggle { display: none; }
  .top-brand { width: 106px; justify-self: start; }
  .top-nav, .top-nav.is-open { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 34px; position: static; padding: 0; border: 0; }
  .top-nav a { font-size: 11px; }
  #bag-button { font-size: 12px; }
  .hero-inner { grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 90px 4.5% 50px; }
  .hero h1 { font-size: clamp(88px, 9.5vw, 150px); }
  .hero-note { font-size: 15px; }
  .hero-visual { width: min(30vw, 400px); justify-self: end; }
  .hero-badge { width: 120px; height: 120px; top: -44px; right: -40px; }
  .hero-chip { left: -34px; }
  .drop-section { padding: 90px 5% 80px; }
  .section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 50px; }
  .section-heading h2 { font-size: clamp(56px, 5.4vw, 80px); }
  .section-heading > p { font-size: 13px; text-align: right; }
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 6%; align-items: start; }
  .flow-product:nth-child(2) { margin-top: 90px; }
  .product-heading h3 { font-size: 36px; }
  .ritual-section { grid-template-columns: 1fr 1fr; gap: 7%; padding: 90px 5%; }
  .ritual-copy h2 { font-size: clamp(52px, 4.6vw, 72px); }
  .brand-section { padding: 120px 24px; }
  .brand-symbol { width: 150px; height: 150px; }
  .size-section { padding: 70px 24px 100px; }
  footer { padding: 30px 5% 18px; }
  .footer-top { grid-template-columns: 130px 1fr auto; gap: 42px; }
  .footer-brand { width: 120px; }
  .footer-top nav { grid-column: auto; gap: 28px; }
}
@media (hover: hover) and (pointer: fine) {
  .primary-link:hover, .add-flow:hover, .bag-checkout:hover { background: linear-gradient(135deg, #b76a86, #8a445e); }
  .text-link:hover span:last-child { transform: translate(3px,-3px); }
  .top-nav a:hover, .footer-top nav a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--rose); }
  .ghost-link:hover { color: var(--rose-deep); }
  .flow-sizes button:hover { border-color: var(--rose); }
}
@media (max-width: 359px) {
  .hero h1 { font-size: 58px; }
  .product-purchase { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .motion-ready [data-reveal], .motion-ready [data-reveal="photo"] { opacity: 1; transform: none; }
}
