/* Roma Atelier store. Soft glass + motion. Brand: Rose #B02F53, Ivory #F5F0E9, Ink #302B2C */

@font-face { font-family: 'Alexandria'; font-style: normal; font-display: swap; font-weight: 300; src: url(/assets/fonts/alexandria-arabic-300-normal.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: 'Alexandria'; font-style: normal; font-display: swap; font-weight: 400; src: url(/assets/fonts/alexandria-arabic-400-normal.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: 'Alexandria'; font-style: normal; font-display: swap; font-weight: 500; src: url(/assets/fonts/alexandria-arabic-500-normal.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: 'Alexandria'; font-style: normal; font-display: swap; font-weight: 600; src: url(/assets/fonts/alexandria-arabic-600-normal.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: 'Alexandria'; font-style: normal; font-display: swap; font-weight: 300; src: url(/assets/fonts/alexandria-latin-300-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'Alexandria'; font-style: normal; font-display: swap; font-weight: 400; src: url(/assets/fonts/alexandria-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'Alexandria'; font-style: normal; font-display: swap; font-weight: 500; src: url(/assets/fonts/alexandria-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'Alexandria'; font-style: normal; font-display: swap; font-weight: 600; src: url(/assets/fonts/alexandria-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'Bebas Neue'; font-style: normal; font-display: swap; font-weight: 400; src: url(/assets/fonts/bebas-neue-latin-400-normal.woff2) format('woff2'); }

:root {
  --rose: #B02F53; --rose-deep: #8F2443; --rose-soft: #E58AA3; --ivory: #F5F0E9; --ink: #302B2C;
  --muted: #5E5557; --text-2: #3E3739; --line: rgba(48, 43, 44, .1);
  --page-bg: #F3ECE6; --blob1: #E9B3C2; --blob2: #F1D1B6; --blob3: #E9B3C2;
  --glass: rgba(255, 255, 255, .55); --glass-edge: rgba(255, 255, 255, .88);
  --r-xl: 36px; --r-lg: 30px; --r-md: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --display: 'Bebas Neue', 'Alexandria', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; background: var(--page-bg); color: var(--ink);
  font-family: 'Alexandria', system-ui, sans-serif; font-weight: 400; line-height: 1.6;
  transition: background-color .9s ease; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.25; font-weight: 600; }
h1 { font-size: clamp(32px, 4.6vw, 60px); }
h2 { font-size: clamp(22px, 2.4vw, 32px); }
h3, .h3 { font-size: 17px; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 10px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.light { font-weight: 300; }
.rose { color: var(--rose); }
[dir='rtl'] .flip-rtl { transform: scaleX(-1); }
[hidden] { display: none !important; }

/* Background blobs */
.blobs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(110px); transition: background-color .9s ease; }
.bl1 { width: 640px; height: 640px; top: -200px; inset-inline-end: -160px; background: var(--blob1); opacity: .7; animation: drift 18s ease-in-out infinite; }
.bl2 { width: 600px; height: 600px; top: 45vh; inset-inline-start: -240px; background: var(--blob2); opacity: .65; animation: drift 22s ease-in-out infinite reverse; }
.bl3 { width: 460px; height: 460px; bottom: -200px; inset-inline-end: 10%; background: var(--blob3); opacity: .45; animation: drift 26s ease-in-out infinite; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 16px clamp(12px, 3vw, 40px) 32px; display: flex; flex-direction: column; gap: clamp(26px, 4vw, 52px); }
main { display: flex; flex-direction: column; gap: clamp(26px, 4vw, 52px); }

/* Glass */
.glass, .glass-lg {
  background: var(--glass); border: 1px solid var(--glass-edge);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.glass { border-radius: var(--r-lg); }
.glass-lg { border-radius: var(--r-xl); box-shadow: 0 24px 60px rgba(48, 43, 44, .08); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .glass-lg { background: rgba(255, 255, 255, .86); }
}

/* Header */
.topbar { position: sticky; top: 10px; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 8px 10px; border-radius: 999px; box-shadow: 0 10px 30px rgba(48, 43, 44, .06); }
.logo { display: block; padding-inline-start: 10px; line-height: 0; }
.logo img { height: 32px; width: auto; }
.mainnav { display: flex; flex-wrap: wrap; gap: 2px; font-size: 14px; }
.mainnav a { padding: 10px 15px; border-radius: 999px; text-decoration: none; transition: background-color .3s; }
.mainnav a:hover { background: rgba(255, 255, 255, .7); }
.mainnav a[aria-current='page'] { background: var(--ink); color: #fff; }
.topbar-actions { display: flex; align-items: center; gap: 6px; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 16px; border-radius: 999px; text-decoration: none; font-size: 13px; font-weight: 500; transition: transform .2s ease; }
.pill:active { transform: scale(.95); }
.pill-soft { background: rgba(255, 255, 255, .85); }
.pill-rose { background: var(--rose); color: #fff; }
.cart-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: rgba(255, 255, 255, .25); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.cart-count.bump { animation: bump .5s var(--ease); }
@media (max-width: 720px) {
  .topbar { border-radius: 26px; }
  .mainnav { order: 3; width: 100%; justify-content: space-between; }
  .mainnav a { padding: 8px 10px; font-size: 13px; }
  .cartlink > span:first-of-type { display: none; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 28px; border: 0; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 500; cursor: pointer; transition: transform .2s ease, box-shadow .3s ease, background-color .3s; }
.btn:active { transform: scale(.97); }
.btn-rose { background: var(--rose); color: #fff; box-shadow: 0 12px 26px rgba(176, 47, 83, .3); }
.btn-rose:hover { background: var(--rose-deep); }
.btn-soft { background: rgba(255, 255, 255, .88); }
.btn-ink { background: var(--ink); color: #fff; }
.round { flex: none; width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; transition: transform .2s; }
.round.rose { background: var(--rose); color: #fff; }
.round.ink { background: var(--ink); color: #fff; width: 38px; height: 38px; }
.round:active { transform: scale(.92); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.actions.center { justify-content: center; }
.badge { align-self: flex-start; display: inline-block; padding: 7px 13px; border-radius: 999px; background: rgba(176, 47, 83, .1); color: var(--rose-deep); font-size: 12px; font-weight: 600; }
.eyebrow { font-family: var(--display); letter-spacing: .4em; font-size: 15px; color: var(--rose); }
.eyebrow-rose { font-size: 13px; font-weight: 600; color: var(--rose-deep); }
.lede { font-size: clamp(16px, 1.4vw, 18px); line-height: 1.95; color: var(--muted); font-weight: 300; max-width: 520px; }
.plain-link { align-self: flex-start; font-size: 14px; }
.tag { position: absolute; top: 12px; inset-inline-start: 12px; padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, .85); font-size: 11px; font-weight: 600; color: var(--muted); }

/* Glow and motion pieces */
.glow { position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%; background: var(--glow, #EBCB8F); filter: blur(46px); opacity: .8; transition: background-color .8s ease, transform .8s var(--ease); pointer-events: none; }
.glow.gold { --glow: #EBCB8F; filter: blur(70px); opacity: .65; }
.glow.big { width: 64%; filter: blur(64px); opacity: .85; }
.tilt { position: relative; transition: transform .35s var(--ease); transform-style: preserve-3d; will-change: transform; }
.float { animation: float 7s ease-in-out infinite; transform-style: preserve-3d; }
.shadow { width: 64%; height: 20px; margin: 10px auto 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(48, 43, 44, .42), transparent); animation: shadow 7s ease-in-out infinite; }
.bob { animation: bob 5.5s ease-in-out infinite; }
.bob.d1 { animation-delay: -1.4s; } .bob.d2 { animation-delay: -2.8s; } .bob.d3 { animation-delay: -4.1s; }
.rise { animation: rise .9s var(--ease) both; }
.r1 { animation-delay: .1s; } .r2 { animation-delay: .2s; } .r3 { animation-delay: .3s; }
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease), box-shadow .5s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .card.reveal.in:hover { transform: translateY(-6px); }

/* Hero */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 12px; padding: 14px; }
.hero-text { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: clamp(14px, 4vw, 52px); }
.hero h1 span { display: block; }
.hero-stage { position: relative; min-height: clamp(360px, 44vw, 580px); border-radius: 28px; overflow: hidden; background: linear-gradient(160deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .25)); display: flex; align-items: center; justify-content: center; perspective: 1100px; }
.hero-stage .tilt { width: min(64%, 360px); }
.hero-stage img { filter: drop-shadow(0 30px 28px rgba(48, 43, 44, .2)); }
.hero-tag { position: absolute; bottom: 16px; inset-inline-start: 16px; display: flex; align-items: center; gap: 12px; padding: 10px 12px; padding-inline-start: 16px; border-radius: 22px; text-decoration: none; }
.hero-tag > span:first-child { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }

/* Sections and cards */
.section { display: flex; flex-direction: column; gap: 18px; scroll-margin-top: 110px; }
.section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 999px; }
.seg button, .seg label span, .seg a { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; font-size: 14px; text-decoration: none; transition: background-color .3s, color .3s; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg button[aria-pressed='true'], .seg input:checked + span, .seg a[aria-selected='true'] { background: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--rose); outline-offset: 2px; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; gap: 12px; padding: 12px; transition: transform .5s var(--ease), box-shadow .5s ease, opacity .9s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(48, 43, 44, .12); }
.card.hide { display: none; }
.card-stage { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; background: linear-gradient(160deg, rgba(255, 255, 255, .88), rgba(255, 255, 255, .35)); }
.card-stage .bob { position: relative; width: 84%; display: block; }
.card-stage img { filter: drop-shadow(0 18px 16px rgba(48, 43, 44, .18)); transition: transform .6s var(--ease), opacity .35s ease; }
.card:hover .card-stage img { transform: translateY(-16px) rotate(-4deg) scale(1.06); }
.card:hover .glow { transform: scale(1.15); }
.card-info { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; padding: 2px 6px; }
.card-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.card-text h3 { font-size: 15px; }
.card-text h3 a { text-decoration: none; }
.price { font-size: 14px; font-weight: 500; margin-top: 3px; }
.price.big { font-size: 24px; font-weight: 600; margin: 0; }
.dots { display: flex; align-items: center; gap: 2px; padding: 0 2px 4px; }
.dot { width: 34px; height: 34px; padding: 0; border-radius: 50%; border: 2px solid transparent; background: transparent; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: border-color .3s; }
.dot span { width: 20px; height: 20px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(48, 43, 44, .14); }
.dot[aria-pressed='true'] { border-color: var(--ink); }
.dot-name { font-size: 12px; color: var(--muted); margin-inline-start: 4px; }
.grid-cards.three { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

/* Split blocks */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 12px; padding: 14px; }
.split-media { position: relative; min-height: 280px; border-radius: 26px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.split-media.tall { min-height: clamp(320px, 34vw, 460px); }
.split-media img { position: relative; width: min(66%, 340px); }
.soft-blue { background: linear-gradient(160deg, #F7E6EA, #EFE3D6); }
.rose-block { background: linear-gradient(160deg, #B9405F, #8F2443); color: #fff; }
.rose-block .glow { opacity: .55; filter: blur(70px); }
.split-text { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: clamp(14px, 3.4vw, 46px); }
.big-quote { font-size: clamp(19px, 2vw, 26px); line-height: 1.8; font-weight: 300; max-width: 540px; }
.split-text .btn { align-self: flex-start; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.step { display: flex; flex-direction: column; gap: 10px; padding: 26px; }
.num { font-family: var(--display); font-size: 40px; line-height: 1; color: var(--rose); }
.step p { font-size: 14px; line-height: 1.8; font-weight: 300; }

/* Product page */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 8px; font-size: 13px; color: var(--muted); }
.pdp { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(16px, 3vw, 40px); align-items: start; }
.pdp-gallery { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 100px; }
@media (max-width: 960px) { .pdp-gallery { position: static; } }
.stage { position: relative; aspect-ratio: 1; overflow: hidden; perspective: 1100px; }
.stage-cut { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.stage-cut .tilt { width: 76%; aspect-ratio: 1; }
.stack { position: absolute; inset: 0; }
.stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: translateY(26px) scale(.9) rotate(-6deg); transition: opacity .7s ease, transform .9s var(--ease); filter: drop-shadow(0 28px 26px rgba(48, 43, 44, .2)); }
.stack img.on { opacity: 1; transform: none; }
.stage-cut .shadow { position: absolute; bottom: 7%; width: 44%; margin: 0; }
.stage-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: enter .8s var(--ease) both; }
.hint-tag { top: 16px; inset-inline-start: 16px; }
.thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px; scrollbar-width: thin; }
.thumb { flex: none; width: 84px; height: 84px; padding: 0; border-radius: 20px; overflow: hidden; cursor: pointer; border: 2px solid var(--glass-edge); background: rgba(255, 255, 255, .6); transition: transform .3s, border-color .3s; }
.thumb:hover { transform: translateY(-3px); }
.thumb[aria-pressed='true'] { border-color: var(--ink); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.cut img { object-fit: contain; }
.pdp-info { display: flex; flex-direction: column; gap: 20px; padding: clamp(18px, 3vw, 34px); }
.pdp-head { display: flex; flex-direction: column; gap: 8px; }
.pdp-head h1 { font-size: clamp(28px, 3.4vw, 42px); }
.price-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 4px; }
.lead-text { font-size: 15px; line-height: 1.9; font-weight: 300; color: #4F4749; }
.note-quote { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-md); background: rgba(176, 47, 83, .07); border: 1px solid rgba(176, 47, 83, .14); }
.note-quote svg { width: 26px; height: 22px; margin-top: 4px; }
.note-quote p { font-size: 14px; line-height: 1.9; color: var(--text-2); margin-bottom: 6px; }
.note-quote a { font-size: 13px; color: var(--rose-deep); }
.field { display: flex; flex-direction: column; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field legend, .field label { font-size: 14px; font-weight: 500; padding: 0; margin-bottom: 8px; }
.field input[type='text'], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 0 16px; border-radius: 16px; border: 1px solid rgba(48, 43, 44, .16); background: rgba(255, 255, 255, .9); font-size: 16px;
}
.field textarea { padding: 12px 16px; resize: vertical; }
.field input[aria-invalid='true'] { border-color: var(--rose); box-shadow: 0 0 0 3px rgba(176, 47, 83, .15); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { position: relative; width: 54px; height: 54px; border-radius: 50%; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; border: 2px solid transparent; background: rgba(255, 255, 255, .7); transition: border-color .3s, transform .3s var(--ease); }
.swatch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.swatch > span[aria-hidden] { width: 38px; height: 38px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(48, 43, 44, .14); }
.swatch:has(input:checked) { border-color: var(--ink); transform: scale(1.06); }
.swatch:has(input:focus-visible) { outline: 3px solid var(--rose); outline-offset: 2px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-radio { position: relative; }
.pill-radio input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.pill-radio span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(48, 43, 44, .14); background: rgba(255, 255, 255, .82); font-size: 14px; transition: background-color .3s, color .3s; }
.pill-radio input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.pill-radio input:focus-visible + span { outline: 3px solid var(--rose); outline-offset: 2px; }
.buy-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.grow { flex: 1 1 210px; min-height: 54px; }
.stepper { display: inline-flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .9); }
.stepper button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; font-size: 20px; }
.stepper button:hover { background: rgba(48, 43, 44, .06); }
.stepper output { min-width: 24px; text-align: center; font-weight: 600; }
.stepper.sm button { width: 40px; height: 40px; font-size: 18px; }
.specs { margin: 0; border-top: 1px solid var(--line); }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 14px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; text-align: end; }

/* Cart */
.page-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; padding: 0 8px; }
.page-head a { font-size: 14px; }
.empty { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: clamp(40px, 7vw, 90px) 20px; text-align: center; }
.empty img { width: 120px; opacity: .9; }
.cart-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(14px, 2.4vw, 28px); align-items: start; }
.cart-col { display: flex; flex-direction: column; gap: 12px; }
.lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.line { display: flex; flex-wrap: wrap; gap: 14px; padding: 12px; animation: enter .7s var(--ease) both; }
.line-media { position: relative; flex: none; width: 108px; height: 108px; border-radius: 20px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .4)); }
.line-media .glow { width: 70%; filter: blur(20px); }
.line-media img { position: relative; width: 82%; filter: drop-shadow(0 10px 10px rgba(48, 43, 44, .18)); }
.line-body { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding: 4px 2px; }
.line-top { display: flex; justify-content: space-between; gap: 10px; }
.line-total { white-space: nowrap; }
.line-opts { display: flex; flex-direction: column; gap: 2px; }
.line-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.text-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: var(--rose-deep); font-size: 13px; cursor: pointer; }
.box { display: flex; flex-direction: column; gap: 14px; padding: clamp(18px, 2.6vw, 28px); }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 12px; }
.note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 18px; background: rgba(176, 47, 83, .07); font-size: 14px; line-height: 1.8; }
.note svg { flex: none; margin-top: 3px; }
.box .seg { align-self: flex-start; background: rgba(255, 255, 255, .85); }
.summary { position: sticky; top: 100px; }
@media (max-width: 960px) { .summary { position: static; } }
.summary .row { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.summary .end { text-align: end; font-size: 14px; }
.summary hr { width: 100%; border: 0; height: 1px; background: var(--line); margin: 0; }
.bubble { padding: 16px 18px; border-radius: 20px; border-start-end-radius: 6px; background: #E9F3E1; color: #1F2A1C; font-size: 14px; line-height: 1.9; white-space: pre-line; box-shadow: 0 6px 18px rgba(48, 43, 44, .06); overflow-wrap: anywhere; }
.warn { color: var(--rose-deep); }
.wa { min-height: 56px; font-size: 16px; }

/* Story */
.chapters { display: flex; flex-direction: column; gap: 16px; }
.chapter { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 12px; padding: 12px; }
.chapter-text { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: clamp(16px, 3.4vw, 48px); }
.chapter-text p { font-size: clamp(15px, 1.3vw, 18px); line-height: 2; color: var(--text-2); font-weight: 300; }
.chapter.alt .chapter-text { order: 2; }
@media (max-width: 800px) { .chapter.alt .chapter-text { order: 0; } }
.chapter-media { position: relative; min-height: 300px; border-radius: 26px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.chapter-media.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.chapter-media.soft { background: linear-gradient(160deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, .35)); }
.placeholder { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; padding: 20px; text-align: center; }
.year { position: relative; font-family: var(--display); font-size: clamp(110px, 13vw, 180px); line-height: .9; }
.year-note { position: relative; font-size: 15px; color: #FBE3EA; }
.quote-band { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 18px; padding: clamp(36px, 6vw, 80px) clamp(20px, 5vw, 72px); border-radius: var(--r-xl); background: var(--ink); color: var(--ivory); }
.quote-band blockquote { margin: 0; max-width: 820px; }
.quote-band p { font-size: clamp(22px, 2.6vw, 34px); line-height: 1.7; font-weight: 300; }
.rose-soft { color: var(--rose-soft); }
.muted-light { font-size: 14px; color: #CFC5BE; }
.closing { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: clamp(24px, 5vw, 60px) 16px; text-align: center; }
.closing .lede { max-width: 720px; color: var(--text-2); }
.brand-line { font-size: clamp(26px, 3.2vw, 44px); font-weight: 600; color: var(--rose); }

/* Policies */
.tabs { align-self: flex-start; margin: 0 8px; }
.policy { display: flex; flex-direction: column; gap: 10px; padding: clamp(18px, 3vw, 36px); scroll-margin-top: 110px; }
.js .policy:not(.active) { display: none; }
.policy-list { list-style: none; margin: 8px 0 0; padding: 0; }
.policy-list li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 4px; border-top: 1px solid var(--line); }
.policy-list .num { flex: none; width: 34px; font-size: 26px; line-height: 1.2; }
.policy-list h3 { font-size: 16px; margin-bottom: 6px; }
.policy-list p { font-size: 15px; line-height: 1.9; color: var(--text-2); font-weight: 300; }
.help { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.help > div:first-child { display: flex; flex-direction: column; gap: 4px; }

/* Footer */
.footer { display: flex; flex-direction: column; gap: 18px; padding: 26px 28px; border-radius: var(--r-lg); background: var(--ink); color: var(--ivory); scroll-margin-top: 110px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.footer-top img { height: 14px; width: auto; }
.footer-line, .footer-bottom { font-size: 12px; color: #CFC5BE; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.footer-h { font-size: 13px; margin-inline-end: 6px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: rgba(255, 255, 255, .1); text-decoration: none; font-size: 13px; transition: background-color .3s; }
.chip:hover { background: rgba(255, 255, 255, .18); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 6px 18px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom a { color: var(--ivory); }

/* Toast */
.toast { position: fixed; z-index: 40; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 12px 14px; padding-inline-start: 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; box-shadow: 0 18px 40px rgba(48, 43, 44, .25); animation: toast-in .45s var(--ease) both; max-width: calc(100vw - 24px); }
.toast a { padding: 8px 14px; border-radius: 999px; background: var(--rose); text-decoration: none; white-space: nowrap; }

/* Keyframes */
@keyframes float { 0%, 100% { transform: translateY(0) rotateY(-9deg) rotateZ(-1deg); } 50% { transform: translateY(-20px) rotateY(9deg) rotateZ(1deg); } }
@keyframes shadow { 0%, 100% { transform: scaleX(1); opacity: .4; } 50% { transform: scaleX(.78); opacity: .2; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes enter { from { opacity: 0; transform: translateY(26px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes drift { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, -30px) scale(1.1); } }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 16px); } to { opacity: 1; transform: translate(-50%, 0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media (pointer: coarse) { .hint-tag { display: none; } }

/* Phones: two product cards per row */
@media (max-width: 560px) {
  .grid-cards, .grid-cards.three { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card { padding: 8px; gap: 8px; border-radius: 24px; }
  .card-stage { border-radius: 18px; }
  .card-info { padding: 0 4px; align-items: flex-end; }
  .card-text h3 { font-size: 14px; }
  .card .round.rose { width: 38px; height: 38px; }
  .card .tag { font-size: 10px; padding: 4px 8px; top: 8px; inset-inline-start: 8px; }
  .dots { flex-wrap: wrap; gap: 0; }
  .dot { width: 30px; height: 30px; }
  .dot span { width: 17px; height: 17px; }
  .dot-name { display: none; }
  .hero { padding: 10px; }
  .hero-stage { min-height: 320px; }
}
