/* Resin Sisters ATX: Atelier design system (Claude Design direction C). */

/* ---------- Fonts (self-hosted, variable) ---------- */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 600; font-display: swap; src: url(../fonts/cormorant-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 600; font-display: swap; src: url(../fonts/cormorant-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300 600; font-display: swap; src: url(../fonts/cormorant-italic-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300 600; font-display: swap; src: url(../fonts/cormorant-italic-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../fonts/dmsans-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../fonts/dmsans-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Aref Ruqaa"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/arefruqaa-400-arabic.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Aref Ruqaa"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/arefruqaa-700-arabic.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Aref Ruqaa"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/arefruqaa-400-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }

/* ---------- Tokens ---------- */
:root {
  --ivory: #FAF6EF;
  --paper: #FFFDF9;
  --sand: #F3ECE2;
  --blush: #F4E6E2;
  --rose-100: #EBD3CF;
  --rose: #C58C94;
  --rose-ink: #8C5560;
  --teal: #2E6B70;
  --teal-deep: #264E52;
  --midnight: #182B3A;
  --slate: #4A5662;
  --brass: #B38A4D;
  --brass-light: #C9A46B;
  --on-teal: #E4ECEB;
  --on-teal-soft: #F0D9D5;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --arabic: "Aref Ruqaa", "Amiri", serif;

  --wrap: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius-pill: 999px;
  --shadow-soft: 0 30px 60px -34px rgba(24, 43, 58, .5);
  --shadow-card: 0 24px 40px -24px rgba(24, 43, 58, .5);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--sand); color: var(--midnight); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: var(--teal); }
a:hover { color: var(--midnight); }
h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }   /* headings focused by script for screen readers */
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--midnight); color: var(--ivory); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
main { background: var(--ivory); display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.ar { font-family: var(--arabic); direction: rtl; }

/* ---------- Type ---------- */
.eyebrow { font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.3; color: var(--rose-ink); display: flex; gap: 10px; align-items: center; }
.display { font-family: var(--serif); font-weight: 500; font-size: clamp(54px, 6.2vw, 92px); line-height: .98; letter-spacing: -.02em; text-wrap: balance; }
.h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 4.3vw, 60px); line-height: 1; letter-spacing: -.01em; text-wrap: balance; }
.h2 em, .display em { color: var(--rose-ink); }
.h3 { font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.15; }
.h3i { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 34px; line-height: 1.05; }
.lead { font-size: 18px; line-height: 1.6; color: var(--slate); max-width: 30em; text-wrap: pretty; }
.muted { color: var(--slate); }
.small { font-size: 14px; }
.underline-draw { position: relative; display: inline-block; font-style: italic; color: var(--rose-ink); }
.underline-draw svg { position: absolute; left: 0; right: 0; bottom: -14px; width: 100%; height: 20px; overflow: visible; }
.underline-draw path { stroke-dasharray: 600; animation: rsDraw 2.2s var(--ease) .4s both; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 18px 30px; border-radius: var(--radius-pill); font-size: 16px; font-weight: 500; line-height: 1; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background-color .3s ease, transform .3s ease, border-color .3s ease, color .3s ease; white-space: nowrap; }
.btn-primary { background: var(--teal); color: var(--ivory); }
.btn-primary:hover { background: var(--teal-deep); color: var(--ivory); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--midnight); border-color: rgba(24, 43, 58, .3); }
.btn-ghost:hover { border-color: var(--midnight); color: var(--midnight); }
.btn-light { background: var(--ivory); color: var(--midnight); }
.btn-light:hover { background: var(--paper); color: var(--midnight); transform: translateY(-1px); }
.btn-outline-light { background: transparent; color: var(--ivory); border-color: rgba(250, 246, 239, .6); }
.btn-outline-light:hover { color: var(--ivory); border-color: var(--ivory); }
.btn-sm { padding: 0 20px; height: 44px; font-size: 14px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }
.link-arrow { display: inline-flex; gap: 8px; align-items: center; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--teal); }
.link-arrow svg { transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.icon { width: 16px; height: 16px; flex: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(250, 246, 239, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: box-shadow .3s ease; }
.site-header.scrolled { box-shadow: 0 1px 0 rgba(197, 140, 148, .35); }
.site-header .bar { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand .mark { height: 50px; width: auto; }
.brand .word { height: 32px; width: auto; }
.nav { display: flex; gap: 8px; align-items: center; padding: 6px; border-radius: var(--radius-pill); background: var(--blush); }
.nav a { font-size: 14px; color: var(--midnight); text-decoration: none; padding: 10px 16px; border-radius: var(--radius-pill); transition: background-color .25s ease; }
.nav a:hover { background: rgba(250, 246, 239, .7); }
.nav a[aria-current="page"] { background: var(--ivory); }
.head-actions { display: flex; gap: 10px; align-items: center; }
.ig-btn { width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; background: var(--blush); color: var(--midnight); transition: background-color .25s ease, color .25s ease; }
.ig-btn:hover { background: var(--teal); color: var(--ivory); }
.ig-btn .icon { width: 20px; height: 20px; }
.social-link { display: inline-flex; gap: 8px; align-items: center; }
.menu-btn { display: none; appearance: none; background: var(--blush); border: 0; width: 48px; height: 48px; border-radius: var(--radius-pill); place-items: center; cursor: pointer; color: var(--midnight); }
.mobile-menu { display: none; }
@media (max-width: 960px) {
  .site-header .bar { height: 72px; }
  .brand .mark { height: 38px; }
  .brand .word { height: 25px; }
  .nav, .head-actions .btn-primary { display: none; }
  .menu-btn { display: grid; }
  .site-header .bar { gap: 10px; }
  .head-actions { margin-left: auto; }
  .mobile-menu .social-link { font-family: var(--sans); font-size: 16px; color: var(--teal); }
  .mobile-menu { position: fixed; inset: 72px 0 auto 0; background: var(--ivory); padding: 12px 20px 24px; box-shadow: 0 30px 40px -30px rgba(24, 43, 58, .4); flex-direction: column; gap: 4px; }
  .mobile-menu.open { display: flex; }
  .mobile-menu a { font-family: var(--serif); font-size: 28px; color: var(--midnight); text-decoration: none; padding: 10px 4px; border-bottom: 1px solid rgba(197, 140, 148, .35); }
  .mobile-menu .btn { margin-top: 16px; font-family: var(--sans); font-size: 16px; border: 0; color: var(--ivory); }
}

/* ---------- Hero ---------- */
.hero { max-width: var(--wrap); margin: 0 auto; padding: 48px var(--gutter) 56px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.assure { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--slate); }
.assure .tick { width: 26px; height: 26px; border-radius: var(--radius-pill); background: var(--blush); display: grid; place-items: center; color: var(--rose-ink); flex: none; }
.hero-art { flex: 1 1 540px; min-width: 0; position: relative; min-height: 680px; }
.hero-arch { position: absolute; left: 50%; top: 0; width: 420px; max-width: 80%; height: 620px; transform: translateX(-46%); border-radius: 999px 999px 28px 28px; overflow: hidden; background: var(--rose-100); box-shadow: 0 40px 80px -50px rgba(24, 43, 58, .55); }
.hero-arch img, .hero-arch video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-arch .kb { animation: rsKb 18s ease-in-out infinite alternate; }
.hero-arch .xf { opacity: 0; animation: rsShow 18s ease-in-out infinite; }
.hero-arch .xf.d6 { animation-delay: 6s; }
.hero-arch .xf.d12 { animation-delay: 12s; }
.polaroid { position: absolute; margin: 0; background: var(--paper); padding: 10px 10px 34px; border-radius: 6px; box-shadow: var(--shadow-card); animation: rsFloat 7s ease-in-out infinite; }
.polaroid img { width: 100%; object-fit: cover; border-radius: 3px; }
.polaroid figcaption { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; font-family: var(--serif); font-style: italic; font-size: 15px; }
.hero-art .p1 { --r: -6deg; left: 0; bottom: 24px; width: 190px; transform: rotate(-6deg); }
.hero-art .p1 img { aspect-ratio: 1; }
.hero-art .p2 { --r: 5deg; right: 0; top: 40px; width: 170px; transform: rotate(5deg); animation-duration: 8s; animation-delay: 1s; }
.hero-art .p2 img { aspect-ratio: 4 / 5; }
.hero-art .p3 { --r: 3deg; right: 4%; bottom: 0; width: 150px; transform: rotate(3deg); animation-duration: 9s; animation-delay: 2s; }
.hero-art .p3 img { aspect-ratio: 1; }
@media (max-width: 720px) {
  .hero { padding: 20px 20px 36px; gap: 22px; }
  .hero-copy { gap: 18px; }
  .display { font-size: clamp(44px, 12.5vw, 58px); }
  .lead { font-size: 16px; }
  .hero-actions .btn { padding: 16px 22px; font-size: 15px; flex: 1 1 auto; }
  .hero-art { min-height: 430px; flex-basis: 100%; }
  .hero-arch { width: 250px; height: 380px; transform: translateX(-50%); }
  .hero-art .p1 { width: 120px; padding: 7px 7px 26px; bottom: 6px; }
  .hero-art .p2 { width: 112px; padding: 7px 7px 26px; top: 26px; }
  .hero-art .p3 { display: none; }
  .polaroid figcaption { font-size: 13px; bottom: 5px; }
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-top: 1px solid rgba(197, 140, 148, .45); border-bottom: 1px solid rgba(197, 140, 148, .45); background: var(--blush); }
.marquee-track { display: flex; width: max-content; animation: rsMarq 40s linear infinite; }
.marquee-track span.set { display: flex; gap: 40px; padding: 18px 20px; white-space: nowrap; font-family: var(--serif); font-style: italic; font-size: 24px; }
.marquee-track .star { color: var(--brass); }
@media (max-width: 720px) { .marquee-track span.set { font-size: 19px; gap: 26px; padding: 14px 13px; } }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 32px; flex-wrap: wrap; margin-bottom: 52px; }
.section-head p { max-width: 24em; color: var(--slate); }
.panel { max-width: 1392px; margin: 0 auto; border-radius: 36px; padding: 80px var(--gutter); }
.panel-wrap { padding: 0 clamp(12px, 2vw, 24px); }
.panel-blush { background: var(--blush); }
.panel-teal { background: var(--teal-deep); color: var(--ivory); }
@media (max-width: 720px) {
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 28px; }
  .panel { border-radius: 28px; padding: 44px 20px; }
  .panel-wrap { padding: 0 10px; }
}

/* ---------- Collection arches ---------- */
.arches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; align-items: start; }
.arch { text-decoration: none; color: var(--midnight); display: flex; flex-direction: column; gap: 20px; transition: transform .7s var(--ease); }
.arch:hover { transform: translateY(-8px); color: var(--midnight); }
.arch:nth-child(2) { margin-top: 56px; }
.arch-img { aspect-ratio: 4 / 5; border-radius: 999px 999px 24px 24px; overflow: hidden; background: var(--rose-100); }
.arch-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.arch:hover .arch-img img { transform: scale(1.05); }
.arch-body { display: flex; flex-direction: column; gap: 8px; padding: 0 8px; }
.arch-body p { font-size: 15px; color: var(--slate); }
@media (max-width: 860px) {
  .arches { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); gap: 16px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scrollbar-width: none; }
  .arches::-webkit-scrollbar { display: none; }
  .arch { flex: 0 0 76%; scroll-snap-align: start; }
  .arch:nth-child(2) { margin-top: 0; }
  .h3i { font-size: 28px; }
}

/* ---------- Made for brands ---------- */
.brands { display: flex; flex-wrap: wrap; gap: 72px; align-items: center; max-width: 1224px; margin: 0 auto; }
.brands-stage { flex: 1.2 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.stack { position: relative; height: 520px; }
.stack .s1 { position: absolute; inset: 24px 40px; border-radius: 22px; background: var(--rose-100); transform: rotate(-5deg); }
.stack .s2 { position: absolute; inset: 16px 28px; border-radius: 22px; background: var(--paper); transform: rotate(3deg); box-shadow: 0 20px 40px -28px rgba(24, 43, 58, .45); }
.stack .frame { position: absolute; inset: 0 16px; border-radius: 22px; background: var(--paper); padding: 14px; box-shadow: var(--shadow-soft); }
.stack .frame-in { position: relative; width: 100%; height: 100%; border-radius: 12px; overflow: hidden; background: var(--rose-100); }
.stack .frame-in img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease, transform 6s ease; transform: scale(1.04); }
.stack .frame-in img.on { opacity: 1; transform: scale(1); }
.glint { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, rgba(255, 255, 255, 0) 42%, rgba(255, 244, 214, .45) 50%, rgba(255, 255, 255, 0) 58%); background-size: 260% 100%; animation: rsGlint 6s ease-in-out infinite; mix-blend-mode: screen; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.pill-btn { appearance: none; border: 1px solid rgba(24, 43, 58, .18); background: var(--ivory); color: var(--midnight); font-size: 14px; font-weight: 500; padding: 0 18px; height: 44px; border-radius: var(--radius-pill); cursor: pointer; display: flex; gap: 8px; align-items: center; transition: background-color .3s ease, color .3s ease; }
.pill-btn .n { font-family: var(--serif); font-style: italic; font-size: 16px; }
.pill-btn[aria-pressed="true"] { background: var(--teal); color: var(--ivory); border-color: var(--teal); }
.brands-copy { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.brands-copy .piece { display: flex; flex-direction: column; gap: 10px; min-height: 150px; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: var(--ivory); border-radius: var(--radius-pill); padding: 10px 16px; font-size: 14px; }
@media (max-width: 720px) {
  /* Mobile order from the Atelier board: heading, image, pills, caption, chips, button. */
  .brands { gap: 18px; flex-direction: column; align-items: stretch; }
  .brands-stage, .brands-copy { display: contents; }
  .brands-copy .eyebrow { order: 1; }
  #h-brands { order: 2; }
  .stack { order: 3; height: 300px; margin-top: 6px; }
  .pills { order: 4; }
  .brands-copy .piece { order: 5; }
  .chips { order: 6; }
  .brands-copy > div:last-child { order: 7; }
  .pills { justify-content: flex-start; gap: 8px; }
  .pill-btn { padding: 0 14px; font-size: 13px; }
  .brands-copy .piece { min-height: 0; }
}

/* ---------- Detail strip ---------- */
.strip { display: flex; gap: 36px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px max(24px, calc((100% - 1224px) / 2)) 18px; scrollbar-width: thin; scrollbar-color: var(--rose) transparent; }
.dot-fig { flex: 0 0 240px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.dot { position: relative; width: 240px; height: 240px; border-radius: 999px; overflow: hidden; border: 8px solid var(--paper); box-shadow: 0 0 0 1px rgba(179, 138, 77, .7), 0 24px 40px -26px rgba(24, 43, 58, .55); background: var(--rose-100); display: grid; place-items: center; }
.dot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: rsSpin var(--spin, 40s) linear infinite var(--dir, normal); }
.dot-fig { animation: rsBob 6s ease-in-out infinite; animation-delay: var(--bob, 0s); }
.dot-fig:hover .dot img { animation-play-state: paused; }
.dot .glint { animation-duration: 5s; }
@keyframes rsSpin { from { transform: rotate(0deg) scale(var(--s, 1.08)); } to { transform: rotate(360deg) scale(var(--s, 1.08)); } }
@keyframes rsBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.dot .ar { font-size: 54px; line-height: 1.1; color: var(--midnight); }
.dot-fig figcaption { display: flex; flex-direction: column; gap: 4px; }
.dot-fig .t { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 24px; }
.dot-fig .d { font-size: 14px; color: var(--slate); }
.round-btns { display: flex; gap: 10px; }
.round-btn { appearance: none; background: var(--blush); border: 0; border-radius: var(--radius-pill); width: 52px; height: 52px; display: grid; place-items: center; cursor: pointer; color: var(--midnight); transition: background-color .25s ease; }
.round-btn:hover { background: var(--rose-100); }
@media (max-width: 720px) {
  .strip { gap: 18px; padding: 4px 20px 8px; scroll-padding-inline: 20px; }
  .dot-fig { flex-basis: 150px; gap: 10px; }
  .dot { width: 150px; height: 150px; border-width: 6px; }
  .dot .ar { font-size: 38px; }
  .dot-fig .t { font-size: 20px; }
  .dot-fig .d { font-size: 13px; }
  .round-btns { display: none; }
}

/* ---------- How it works ---------- */
.steps { position: relative; }
.steps::before { content: ""; position: absolute; left: 32px; right: 12%; top: 32px; border-top: 2px dotted var(--brass); }
.steps ol { position: relative; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.steps li { display: flex; flex-direction: column; gap: 14px; }
.steps .num { width: 64px; height: 64px; border-radius: 999px; background: var(--rose); color: var(--midnight); display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 28px; box-shadow: 0 0 0 8px var(--ivory); }
.steps h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.15; }
.steps p { font-size: 15px; color: var(--slate); }
@media (max-width: 960px) {
  .steps::before { left: 25px; right: auto; top: 26px; bottom: 26px; border-top: 0; border-left: 2px dotted var(--brass); }
  .steps ol { grid-template-columns: 1fr; gap: 22px; }
  .steps li { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; row-gap: 4px; }
  .steps .num { width: 52px; height: 52px; font-size: 24px; grid-row: span 2; box-shadow: 0 0 0 6px var(--ivory); }
  .steps h3 { font-size: 23px; padding-top: 6px; }
}

/* ---------- Events band ---------- */
.events { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; max-width: 1224px; margin: 0 auto; }
.events-copy { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.events-copy .eyebrow { color: var(--on-teal-soft); }
.events-copy .h2 em { color: var(--ivory); }
.events-copy p { color: var(--on-teal); }
.events-copy .check { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.events-art { flex: 1.2 1 500px; min-width: 0; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: center; }
.coin { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.coin .c { border-radius: 999px; overflow: hidden; background: var(--ivory); box-shadow: 0 0 0 6px var(--brass-light), 0 30px 50px -28px rgba(0, 0, 0, .6); }
.coin .c img { width: 100%; height: 100%; object-fit: cover; }
.coin figcaption { font-size: 13px; color: var(--on-teal); font-family: var(--serif); font-style: italic; font-size: 17px; }
.coin.a { transform: rotate(-4deg); } .coin.a .c { width: 220px; height: 220px; }
.coin.b { transform: rotate(3deg); margin-top: 40px; } .coin.b .c { width: 180px; height: 180px; }
.coin.c3 { transform: rotate(-2deg); }
.coin.c3 .c { width: 110px; height: 260px; border-radius: 12px; }
@media (max-width: 720px) {
  .events { gap: 26px; }
  .events-art { gap: 14px; flex-wrap: nowrap; justify-content: center; }
  .coin.a .c { width: 130px; height: 130px; } .coin.b .c { width: 108px; height: 108px; } .coin.b { margin-top: 26px; }
  .coin.c3 .c { width: 66px; height: 160px; }
  .coin figcaption { font-size: 14px; }
}

/* ---------- Film / quote ---------- */
.film { display: flex; flex-wrap: wrap; gap: 28px; align-items: stretch; }
.film-media { flex: 1.7 1 560px; position: relative; min-height: 460px; border-radius: 32px; overflow: hidden; background: var(--rose-100); }
.film-media img, .film-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-quote { flex: 1 1 320px; border-radius: 32px; background: var(--blush); padding: 48px 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.film-quote p { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(30px, 2.8vw, 40px); line-height: 1.15; text-wrap: balance; }
.tag { position: absolute; left: 20px; top: 20px; background: rgba(250, 246, 239, .94); padding: 9px 14px; border-radius: 999px; font-size: 12px; font-weight: 500; display: flex; gap: 8px; align-items: center; color: var(--midnight); }
@media (max-width: 720px) {
  .film { gap: 10px; }
  .film-media { min-height: 250px; border-radius: 26px; flex-basis: 100%; }
  .film-quote { border-radius: 26px; padding: 26px 22px; }
}


/* ---------- Founders ---------- */
.founders { display: flex; flex-wrap: wrap; gap: 72px; align-items: center; }
.founders-art { flex: 1 1 420px; position: relative; min-height: 520px; }
.founders-art .big { position: absolute; left: 0; top: 0; width: 78%; height: 470px; background: var(--paper); padding: 14px 14px 52px; border-radius: 8px; box-shadow: var(--shadow-soft); transform: rotate(-3deg); }
.founders-art .big .ph, .founders-art .big img { width: 100%; height: 100%; border-radius: 4px; }
.founders-art .big img { object-fit: cover; object-position: 50% 40%; display: block; }
.founders-art .big span, .founders-art .small-p span { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-family: var(--serif); font-style: italic; font-size: 18px; }
.founders-art .small-p { position: absolute; right: 0; bottom: 0; width: 42%; background: var(--paper); padding: 10px 10px 36px; border-radius: 6px; box-shadow: var(--shadow-card); transform: rotate(4deg); }
.founders-art .small-p img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; }
.founders-art .small-p span { bottom: 9px; font-size: 15px; }
.founders-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; max-width: 560px; }
.sig { display: flex; gap: 14px; align-items: center; font-family: var(--serif); font-style: italic; font-size: 30px; }
.sig img { width: 54px; }
@media (max-width: 720px) {
  .founders { gap: 18px; }
  .founders-art { min-height: 330px; flex-basis: 100%; }
  .founders-art .big { height: 300px; }
}

/* ---------- Placeholders ---------- */
.ph { background: var(--rose-100); display: grid; place-items: center; padding: 24px; text-align: center; font-size: 13px; line-height: 1.45; color: var(--slate); }

/* ---------- CTA ---------- */
.cta { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; padding: 88px var(--gutter); }
.cta img { width: 130px; }
.cta .h2 { font-size: clamp(46px, 5.4vw, 80px); line-height: .98; }
@media (max-width: 720px) { .cta { padding: 52px 20px; } .cta img { width: 100px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--sand); padding: 64px 0 40px; }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 40px; }
.site-footer h3 { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 20px; color: var(--rose-ink); margin-bottom: 4px; }
.site-footer .col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.site-footer .col a { color: var(--midnight); text-decoration: none; }
.site-footer .col a:hover { color: var(--teal); text-decoration: underline; }
.site-footer .base { border-top: 1px solid rgba(197, 140, 148, .5); padding-top: 22px; margin-top: 44px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--slate); }
.site-footer .base .tl { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--rose-ink); }
@media (max-width: 960px) { .site-footer { padding-bottom: 120px; } }

/* ---------- Corner card, sticky bar, modal ---------- */
.corner { position: fixed; left: clamp(16px, 3vw, 32px); bottom: 24px; z-index: 50; width: min(360px, calc(100% - 32px)); background: var(--paper); border-radius: 20px; box-shadow: 0 30px 60px -28px rgba(24, 43, 58, .55), 0 0 0 1px rgba(197, 140, 148, .25); padding: 18px 10px 18px 18px; display: flex; gap: 12px; align-items: flex-start; transform: translateY(24px); opacity: 0; transition: transform .5s var(--ease), opacity .5s ease; }
.corner.show { transform: none; opacity: 1; }
.corner img { width: 46px; flex: 0 0 46px; margin-top: 4px; }
.corner .body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 10px; }
.corner p { font-family: var(--serif); font-size: 21px; line-height: 1.2; }
.corner .btn { align-self: flex-start; }
.x-btn { appearance: none; background: none; border: 0; width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; color: var(--midnight); cursor: pointer; margin-top: -6px; border-radius: 999px; }
.x-btn:hover { background: var(--blush); }
.sticky-bar { display: none; }
@media (max-width: 960px) {
  .corner { left: 10px; right: 10px; width: auto; bottom: 86px; }
  .sticky-bar { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 45; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 8px 8px 8px; border-radius: 999px; background: var(--teal); color: var(--ivory); text-decoration: none; box-shadow: 0 20px 40px -18px rgba(24, 43, 58, .6); }
  .sticky-bar:hover { color: var(--ivory); }
  .sticky-bar .l { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; }
  .sticky-bar .l small { display: block; font-size: 12px; font-weight: 400; opacity: .85; }
  .sticky-bar .m { width: 44px; height: 44px; border-radius: 999px; background: var(--ivory); display: grid; place-items: center; }
  .sticky-bar .m img { width: 32px; }
  .sticky-bar .go { width: 44px; height: 44px; border-radius: 999px; background: rgba(250, 246, 239, .16); display: grid; place-items: center; }
}
.modal-back { position: fixed; inset: 0; z-index: 60; background: rgba(24, 43, 58, .45); display: grid; place-items: center; padding: 20px; opacity: 0; transition: opacity .3s ease; }
.modal-back.show { opacity: 1; }
.modal { position: relative; width: min(520px, 100%); background: var(--ivory); border-radius: 28px; padding: 44px 36px 36px; text-align: center; display: flex; flex-direction: column; gap: 16px; align-items: center; box-shadow: 0 40px 80px -30px rgba(24, 43, 58, .6); }
.modal img { width: 90px; }
.modal .x-btn { position: absolute; right: 12px; top: 14px; }
.modal form { display: flex; gap: 10px; width: 100%; flex-wrap: wrap; }
.modal input { flex: 1 1 200px; }

/* ---------- Page heads (inner pages) ---------- */
.page-head { max-width: var(--wrap); margin: 0 auto; padding: 56px var(--gutter) 36px; display: flex; flex-direction: column; gap: 16px; }
.page-head .h2 { font-size: clamp(44px, 5.4vw, 76px); }
@media (max-width: 720px) { .page-head { padding: 28px 20px 20px; } }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field .lbl { font-size: 14px; font-weight: 500; }
.field .hint { font-size: 13px; color: var(--slate); }
.input, .field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 14px 18px; border-radius: 16px; border: 1px solid rgba(24, 43, 58, .2); background: var(--paper); font-size: 16px; transition: border-color .2s ease, box-shadow .2s ease; }
.field textarea { min-height: 120px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(46, 107, 112, .18); }
.field [aria-invalid="true"] { border-color: #B4434E; }
.err { font-size: 13px; color: #9B2F3A; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .grid-2 { grid-template-columns: 1fr; } }
.note { display: flex; gap: 10px; align-items: flex-start; background: var(--blush); border-radius: 16px; padding: 14px 16px; font-size: 14px; color: var(--midnight); }
.note svg { flex: none; margin-top: 3px; color: var(--rose-ink); }
.note.picked { align-items: center; }
.note.picked img { width: 56px; height: 70px; object-fit: cover; border-radius: 10px; flex: none; }
.note.picked b { font-weight: 500; letter-spacing: .04em; }
.note.picked .btn { margin-left: auto; }
.code-input { max-width: 220px; text-transform: uppercase; letter-spacing: .1em; font-size: 20px; }

/* ---------- Reveal motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes rsKb { 0% { transform: scale(1.03) translate(0, 0); } 100% { transform: scale(1.13) translate(-2%, -1.5%); } }
@keyframes rsShow { 0% { opacity: 0; } 6% { opacity: 1; } 33% { opacity: 1; } 39% { opacity: 0; } 100% { opacity: 0; } }
@keyframes rsGlint { 0% { background-position: 160% 0; } 55%, 100% { background-position: -60% 0; } }
@keyframes rsMarq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes rsFloat { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-10px) rotate(var(--r, 0deg)); } }
@keyframes rsDraw { from { stroke-dashoffset: 600; } to { stroke-dashoffset: 0; } }

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

/* ---------- Collection: filters ---------- */
.filters { position: sticky; top: 88px; z-index: 20; background: rgba(250, 246, 239, .96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid rgba(197, 140, 148, .3); }
.filters .wrap { display: flex; flex-direction: column; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
.tabs { display: flex; gap: 6px; padding: 6px; border-radius: var(--radius-pill); background: var(--blush); width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar, .chip-row::-webkit-scrollbar { display: none; }
.tab { appearance: none; border: 0; background: transparent; padding: 10px 18px; border-radius: var(--radius-pill); font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap; color: var(--midnight); }
.tab[aria-pressed="true"] { background: var(--ivory); box-shadow: 0 1px 2px rgba(24, 43, 58, .12); }
.chip-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.chip { appearance: none; border: 1px solid rgba(24, 43, 58, .18); background: var(--paper); padding: 8px 14px; border-radius: var(--radius-pill); font-size: 13px; cursor: pointer; white-space: nowrap; color: var(--midnight); transition: background-color .2s ease, color .2s ease; }
.chip[aria-pressed="true"] { background: var(--midnight); color: var(--ivory); border-color: var(--midnight); }
@media (max-width: 960px) { .filters { top: 72px; } }

/* ---------- Collection: product cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 36px 28px; }
.card { display: flex; flex-direction: column; gap: 14px; }
.card-img { position: relative; aspect-ratio: 4 / 5; border-radius: 160px 160px 22px 22px; overflow: hidden; background: var(--rose-100); cursor: pointer; border: 0; padding: 0; width: 100%; }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s ease, transform 1.2s var(--ease); }
.card-img img.alt { opacity: 0; }
.card:hover .card-img img.alt, .card-img:focus-visible img.alt { opacity: 1; }
.card:hover .card-img img { transform: scale(1.04); }
.card-img .ph { position: absolute; inset: 0; }
.badge { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); background: rgba(250, 246, 239, .94); border-radius: var(--radius-pill); padding: 6px 12px; font-size: 11px; font-weight: 500; letter-spacing: .02em; white-space: nowrap; color: var(--midnight); }
.card h3 { font-family: var(--serif); font-weight: 500; font-size: 27px; line-height: 1.1; }
.card .meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--slate); }
.swatches { display: flex; gap: 6px; flex-wrap: wrap; }
.sw { width: 20px; height: 20px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(24, 43, 58, .15); }
.card .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 2px; }
.empty { padding: 40px 0; text-align: center; color: var(--slate); }
@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
  .card { gap: 9px; }
  .card-img { border-radius: 90px 90px 16px 16px; }
  .card h3 { font-size: 20px; }
  .card > p.muted, .card .actions .btn-ghost, .card .meta span:first-child { display: none; }
  .card .meta { font-size: 12px; }
  .card .sw { width: 16px; height: 16px; }
  .card .actions .btn { width: 100%; padding: 0 10px; }
  .badge { font-size: 10px; padding: 5px 9px; bottom: 10px; }
}

/* ---------- Design ideas ---------- */
.ideas-head { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; }
.ideas-tools { display: flex; gap: 10px; flex-wrap: wrap; }
.ideas-tools .input { width: 240px; min-height: 46px; padding: 10px 16px; border-radius: var(--radius-pill); }
.ideas-tools select.input { width: 230px; }
.ideas { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 46%), 1fr)); gap: 18px; }
.idea { appearance: none; border: 0; padding: 0; background: none; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 8px; color: var(--midnight); }
.idea .im { aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: var(--rose-100); }
.idea img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.idea:hover img { transform: scale(1.04); }
.idea .code { font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--rose-ink); }
.idea .tt { font-size: 14px; line-height: 1.35; }
.concept-note { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; color: var(--slate); background: var(--blush); border-radius: var(--radius-pill); padding: 8px 14px; }

/* ---------- Slide-over + lightbox ---------- */
.overlay { position: fixed; inset: 0; z-index: 70; background: rgba(24, 43, 58, .45); opacity: 0; transition: opacity .3s ease; }
.overlay.show { opacity: 1; }
.slide { position: fixed; top: 0; right: 0; bottom: 0; z-index: 71; width: min(560px, 100%); background: var(--ivory); overflow-y: auto; transform: translateX(100%); transition: transform .45s var(--ease); display: flex; flex-direction: column; }
.slide.show { transform: none; }
.slide .top { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; background: rgba(250, 246, 239, .96); border-bottom: 1px solid rgba(197, 140, 148, .3); }
.slide .inner { padding: 22px 28px 40px; display: flex; flex-direction: column; gap: 22px; }
.gallery-main { aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: var(--rose-100); position: relative; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main .ph { position: absolute; inset: 0; }
.thumbs { display: flex; gap: 10px; }
.thumbs button { appearance: none; border: 2px solid transparent; padding: 0; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; cursor: pointer; background: var(--rose-100); }
.thumbs button[aria-pressed="true"] { border-color: var(--teal); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.opt-group { display: flex; flex-direction: column; gap: 10px; border: 0; padding: 0; margin: 0; }
.opt-group .lbl, .opt-group legend { font-size: 14px; font-weight: 500; padding: 0; margin-bottom: 10px; }
.opts { display: flex; gap: 8px; flex-wrap: wrap; }
.opt { appearance: none; display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(24, 43, 58, .2); background: var(--paper); padding: 8px 14px 8px 8px; border-radius: var(--radius-pill); font-size: 14px; cursor: pointer; color: var(--midnight); }
.opt.text-only { padding: 10px 16px; }
.opt[aria-pressed="true"], .opt[aria-checked="true"] { border-color: var(--teal); box-shadow: 0 0 0 2px var(--teal) inset; }
.opt .sw { width: 24px; height: 24px; }
.facts { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.facts li { background: var(--blush); border-radius: 14px; padding: 12px 14px; font-size: 14px; }
.facts li b { display: block; font-weight: 500; font-size: 12px; color: var(--rose-ink); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.slide .order-bar { position: sticky; bottom: 0; margin-top: auto; padding: 14px 20px; background: rgba(250, 246, 239, .97); border-top: 1px solid rgba(197, 140, 148, .3); display: flex; gap: 10px; }
.slide .order-bar .btn { flex: 1; }
.lightbox { position: fixed; inset: 0; z-index: 71; display: grid; place-items: center; padding: 20px; pointer-events: none; }
.lightbox .box { pointer-events: auto; position: relative; width: min(980px, 100%); max-height: calc(100vh - 40px); background: var(--ivory); border-radius: 26px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) 340px; box-shadow: 0 40px 80px -30px rgba(24, 43, 58, .6); }
.lightbox .pic { background: var(--rose-100); min-height: 0; }
.lightbox .pic img { width: 100%; height: 100%; max-height: calc(100vh - 40px); object-fit: contain; }
.lightbox .info { padding: 64px 28px 28px; display: flex; flex-direction: column; gap: 14px; overflow-y: auto; }
.lightbox .x-btn { position: absolute; right: 10px; top: 10px; background: rgba(250, 246, 239, .9); z-index: 2; }
.lightbox .nav-row { display: flex; gap: 10px; margin-top: auto; }
@media (max-width: 760px) {
  .lightbox { padding: 10px; }
  .lightbox .box { grid-template-columns: 1fr; max-height: calc(100vh - 20px); overflow-y: auto; }
  .lightbox .pic img { max-height: 58vh; }
  .lightbox .info { padding: 22px 20px 20px; }
  .slide .inner { padding: 18px 20px 32px; }
}
body.locked { overflow: hidden; }

/* ---------- Order flow ---------- */
.order-wrap { max-width: var(--wrap); margin: 0 auto; padding: 32px var(--gutter) 104px; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
.order-wrap:has(> .summary[hidden]) { grid-template-columns: minmax(0, 860px); justify-content: center; }
.progress { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.progress .row { display: flex; justify-content: space-between; font-size: 13px; color: var(--slate); }
.progress .track { height: 6px; border-radius: 99px; background: var(--blush); overflow: hidden; }
.progress .fill { height: 100%; background: linear-gradient(90deg, var(--rose), var(--brass)); border-radius: 99px; transition: width .5s var(--ease); }
.step-card { background: var(--paper); border-radius: 32px; padding: 40px; box-shadow: 0 30px 60px -44px rgba(24, 43, 58, .45); display: flex; flex-direction: column; gap: 24px; }
.step-card h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 3.6vw, 48px); line-height: 1.02; text-wrap: balance; }
.step-card h2 em { color: var(--rose-ink); }
.step-card .sub { color: var(--slate); margin-top: -12px; }
.step-anim { animation: stepIn .5s var(--ease) both; }
@keyframes stepIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr)); gap: 14px; }
.choices.big { grid-template-columns: repeat(3, 1fr); }
.choice { appearance: none; position: relative; text-align: left; border: 1px solid rgba(24, 43, 58, .14); background: var(--ivory); border-radius: 22px; padding: 10px 10px 16px; cursor: pointer; display: flex; flex-direction: column; gap: 10px; color: var(--midnight); transition: border-color .2s ease, box-shadow .2s ease, transform .3s var(--ease); }
.choice:hover { transform: translateY(-2px); border-color: rgba(24, 43, 58, .3); }
.choice[aria-checked="true"] { border-color: var(--teal); box-shadow: 0 0 0 2px var(--teal) inset; }
.choice .ci { aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--rose-100); display: grid; place-items: center; }
.choice.big .ci { aspect-ratio: 4 / 5; border-radius: 120px 120px 14px 14px; }
.choice .ci img { width: 100%; height: 100%; object-fit: cover; }
.choice .ct { font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.1; padding: 0 6px; }
.choice.big .ct { font-size: 26px; font-style: italic; }
.choice .cd { font-size: 13px; color: var(--slate); padding: 0 6px; line-height: 1.45; }
.choice .tickmark { position: absolute; right: 18px; top: 18px; width: 28px; height: 28px; border-radius: 99px; background: var(--teal); color: var(--ivory); display: none; place-items: center; }
.choice[aria-checked="true"] .tickmark { display: grid; }
.lettering .ci { aspect-ratio: 16 / 10; background: var(--blush); font-size: 34px; color: var(--midnight); }
.qty { display: flex; align-items: center; gap: 10px; }
.qty button { appearance: none; width: 52px; height: 52px; border-radius: 99px; border: 1px solid rgba(24, 43, 58, .2); background: var(--ivory); font-size: 22px; cursor: pointer; }
.qty input { width: 140px; text-align: center; font-size: 22px; font-family: var(--serif); }
.presets { display: flex; gap: 8px; flex-wrap: wrap; }
.drop { border: 1.5px dashed rgba(24, 43, 58, .3); border-radius: 22px; padding: 30px; text-align: center; background: var(--ivory); display: flex; flex-direction: column; gap: 10px; align-items: center; cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.drop.over { border-color: var(--teal); background: rgba(46, 107, 112, .06); }
.drop .file { display: flex; gap: 14px; align-items: center; text-align: left; }
.drop .file img { width: 72px; height: 72px; object-fit: contain; border-radius: 12px; background: var(--paper); }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.check-row input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--teal); flex: none; }
.radio-row { display: flex; gap: 8px; flex-wrap: wrap; }
.step-nav { display: flex; justify-content: space-between; gap: 12px; padding-top: 6px; }
.step-nav .btn-ghost { padding-left: 22px; padding-right: 22px; }
.review-list { list-style: none; padding: 0; display: flex; flex-direction: column; border-top: 1px solid rgba(197, 140, 148, .35); }
.review-list li { display: grid; grid-template-columns: 150px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(197, 140, 148, .35); font-size: 15px; align-items: baseline; }
.review-list .k { color: var(--slate); font-size: 14px; }
.review-list button { appearance: none; background: none; border: 0; color: var(--teal); font-weight: 500; cursor: pointer; font-size: 14px; }
.summary { position: sticky; top: 112px; background: var(--blush); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.summary h3 { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 26px; }
.summary .thumb { display: flex; gap: 12px; align-items: center; }
.summary .thumb img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; flex: none; }
.summary dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 14px; }
.summary dt { color: var(--slate); }
.summary dd { margin: 0; overflow-wrap: anywhere; }
.summary .est { background: var(--ivory); border-radius: 16px; padding: 14px 16px; font-size: 14px; display: flex; flex-direction: column; gap: 4px; }
.summary .est b { font-family: var(--serif); font-size: 22px; font-weight: 500; }
.summary .guide { font-size: 13px; color: var(--slate); display: flex; flex-direction: column; gap: 6px; padding-left: 18px; margin: 0; }
.sheet-toggle { display: none; }
.confirm { text-align: center; align-items: center; }
.confirm .ref { font-family: var(--serif); font-size: 30px; letter-spacing: .04em; background: var(--blush); border-radius: 99px; padding: 8px 22px; }
.next-steps { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; text-align: left; width: min(460px, 100%); counter-reset: s; }
.next-steps li { display: flex; gap: 12px; align-items: center; font-size: 15px; }
.next-steps li::before { counter-increment: s; content: counter(s); width: 32px; height: 32px; border-radius: 99px; background: var(--rose); display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-weight: 600; flex: none; }
@media (max-width: 1040px) {
  .order-wrap { grid-template-columns: 1fr; padding-bottom: 140px; }
  .summary { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 45; border-radius: 24px 24px 0 0; padding: 0 20px 18px; max-height: 72vh; overflow-y: auto; box-shadow: 0 -20px 40px -20px rgba(24, 43, 58, .35); transform: translateY(calc(100% - 64px)); transition: transform .4s var(--ease); }
  .summary.open { transform: none; }
  .sheet-toggle { display: flex; position: sticky; top: 0; justify-content: space-between; align-items: center; width: 100%; appearance: none; border: 0; background: var(--blush); height: 64px; padding: 0; font-size: 15px; font-weight: 500; cursor: pointer; color: var(--midnight); }
  .sheet-toggle::before { content: ""; position: absolute; left: 50%; top: 8px; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: rgba(24, 43, 58, .2); }
  .summary h3 { display: none; }
}
@media (max-width: 640px) {
  .step-card { padding: 24px 18px; border-radius: 26px; gap: 20px; }
  .choices.big { grid-template-columns: 1fr; }
  .choice.big { flex-direction: row; align-items: center; padding: 10px; }
  .choice.big .ci { width: 92px; flex: none; aspect-ratio: 1; border-radius: 50px 50px 12px 12px; }
  .choice.big .tickmark { top: 50%; margin-top: -14px; }
  .choices { grid-template-columns: 1fr 1fr; gap: 10px; }
  .choice .ct { font-size: 18px; }
  .review-list li { grid-template-columns: 1fr auto; }
  .review-list .k { grid-column: 1 / -1; }
  .step-nav .btn { flex: 1; }
}

/* ---------- Order menu + basket ---------- */
#left { min-width: 0; display: flex; flex-direction: column; gap: 22px; }
#menu { display: flex; flex-direction: column; gap: 22px; }
.code-add { background: var(--paper); border-radius: 24px; padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 20px 40px -34px rgba(24, 43, 58, .45); }
.code-add label { font-size: 15px; }
.code-add label b { font-weight: 500; }
.code-add .row { display: flex; gap: 10px; flex-wrap: wrap; }
.code-add .err:empty { display: none; }
.menu-tabs { position: sticky; top: 88px; z-index: 15; background: rgba(250, 246, 239, .96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 8px 0; }
.menu-cards { grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: 30px 22px; }
.menu-cards .card h3 { font-size: 24px; }
.card-img.own { display: grid; place-items: center; background: var(--blush); font-family: var(--serif); font-size: 34px; color: var(--midnight); }
.card-img.own em { color: var(--rose-ink); }
.cart-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.cart-list li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; align-items: start; padding-bottom: 14px; border-bottom: 1px solid rgba(197, 140, 148, .35); }
.ct-img { width: 56px; height: 56px; border-radius: 14px; overflow: hidden; background: var(--rose-100); display: grid; place-items: center; }
.ct-img img { width: 100%; height: 100%; object-fit: cover; }
.ct-code { font-size: 11px; font-weight: 600; letter-spacing: .05em; color: var(--rose-ink); }
.ct-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; font-size: 14px; }
.ct-main b { font-weight: 500; }
.ct-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.mini-qty { display: inline-flex; align-items: center; gap: 2px; background: var(--ivory); border-radius: var(--radius-pill); padding: 2px; }
.mini-qty button { appearance: none; border: 0; background: transparent; width: 30px; height: 30px; border-radius: 99px; font-size: 17px; cursor: pointer; color: var(--midnight); }
.mini-qty button:hover { background: var(--blush); }
.mini-qty span { min-width: 28px; text-align: center; font-weight: 500; }
.ct-link { appearance: none; border: 0; background: none; padding: 4px 0; font-size: 13px; color: var(--teal); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; }
.cart-total b { font-family: var(--serif); font-size: 24px; font-weight: 500; }
.sheet-toggle.flash { animation: rsFlash .9s ease; }
@keyframes rsFlash { 0%, 100% { background: var(--blush); } 35% { background: var(--rose-100); } }
@media (max-width: 640px) {
  .menu-tabs { top: 72px; }
  .menu-cards { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .menu-cards .card h3 { font-size: 19px; }
  .card-img.own { font-size: 24px; }
}
.code-input::placeholder { text-transform: none; letter-spacing: normal; }

/* ---------- Swipeable design galleries (order menu + item panel) ---------- */
.card-gal { position: relative; background: #fff; border-radius: 22px; padding: 10px; box-shadow: 0 18px 36px -30px rgba(24, 43, 58, .5); }
.card-gal .badge { position: absolute; left: 18px; bottom: 18px; z-index: 3; }
.gal { position: relative; }
.gal-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 14px; background: #fff; overscroll-behavior-x: contain; }
.gal-track::-webkit-scrollbar { display: none; }
.gal-slide { flex: 0 0 100%; scroll-snap-align: start; margin: 0; position: relative; aspect-ratio: 4 / 5; background: #fff; cursor: pointer; }
.gal-slide img { width: 100%; height: 100%; object-fit: contain; display: block; }
.gal-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 38px; height: 38px; border-radius: 99px; border: 0; background: rgba(255, 255, 255, .92); box-shadow: 0 4px 14px rgba(24, 43, 58, .18); font-size: 24px; line-height: 1; cursor: pointer; color: var(--midnight); display: grid; place-items: center; padding-bottom: 3px; }
.gal-nav.prev { left: 8px; } .gal-nav.next { right: 8px; }
.gal-dots { display: flex; justify-content: center; align-items: center; gap: 6px; padding: 10px 0 2px; }
.gal-dots i { width: 6px; height: 6px; border-radius: 99px; background: rgba(24, 43, 58, .2); transition: background-color .2s ease, width .2s ease; }
.gal-dots i.on { background: var(--teal); width: 16px; }
.gal-dots em { font-style: normal; font-size: 11px; color: var(--slate); }
.gal.big .gal-slide { cursor: default; }
.gal.big .gal-slide figcaption { font-size: 13px; color: var(--slate); padding: 8px 4px 0; text-align: center; }
.gal.big .gal-slide { aspect-ratio: auto; }
.gal.big .gal-slide img { aspect-ratio: 4 / 5; height: auto; }
.pick-btn { position: absolute; right: 10px; top: 10px; z-index: 2; appearance: none; border: 0; border-radius: var(--radius-pill); padding: 9px 14px; font-size: 13px; font-weight: 500; background: rgba(255, 255, 255, .94); color: var(--midnight); box-shadow: 0 4px 14px rgba(24, 43, 58, .18); cursor: pointer; }
.pick-btn[aria-pressed="true"] { background: var(--teal); color: var(--ivory); }
.empty-gal { aspect-ratio: 4 / 5; display: grid; place-items: center; text-align: center; padding: 24px; border-radius: 14px; background: #fff; color: var(--slate); font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.35; border: 1px dashed rgba(197, 140, 148, .6); }
.own-tile { appearance: none; border: 0; width: 100%; aspect-ratio: 4 / 5; border-radius: 14px; background: var(--blush); display: grid; place-items: center; font-family: var(--serif); font-size: 34px; color: var(--midnight); cursor: pointer; }
.own-tile em { color: var(--rose-ink); }
.linklike { appearance: none; border: 0; background: none; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.menu-card .actions { align-items: center; }
@media (max-width: 640px) {
  .card-gal { padding: 6px; border-radius: 16px; }
  .gal-nav { width: 30px; height: 30px; font-size: 20px; }
  .own-tile { font-size: 22px; }
  .menu-card .actions .muted { display: none; }
}

/* ---------- Collection: Instagram designs grid ---------- */
.idea { cursor: default; }
.idea .im { appearance: none; border: 0; padding: 0; width: 100%; display: block; cursor: pointer; background: #fff; box-shadow: 0 14px 30px -26px rgba(24, 43, 58, .55); }
.idea-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.idea-row > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.idea-row .btn { flex: none; }

/* ---------- Butterflies: animated logo, butterfly arrows, click ripple ---------- */
/* Logo: ring stays still; each butterfly opens and closes its wings around its own body. */
.mark-fly { position: relative; display: inline-block; flex: none; width: 67px; height: 50px; perspective: 260px; }
.mark-fly img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.mark-fly .wl { transform-origin: 41% 50%; animation: rsFlapL 5s ease-in-out infinite; }
.mark-fly .wr { transform-origin: 59% 50%; animation: rsFlapR 5s ease-in-out infinite; }
.brand:hover .mark-fly .wl, .brand:focus-visible .mark-fly .wl { animation: rsFlutterL .42s ease-in-out infinite alternate; }
.brand:hover .mark-fly .wr, .brand:focus-visible .mark-fly .wr { animation: rsFlutterR .42s ease-in-out infinite alternate; }
@keyframes rsFlapL { 0%, 62%, 100% { transform: rotateY(0); } 70% { transform: rotateY(58deg); } 78% { transform: rotateY(4deg); } 86% { transform: rotateY(48deg); } 94% { transform: rotateY(0); } }
@keyframes rsFlapR { 0%, 62%, 100% { transform: rotateY(0); } 70% { transform: rotateY(-58deg); } 78% { transform: rotateY(-4deg); } 86% { transform: rotateY(-48deg); } 94% { transform: rotateY(0); } }
@keyframes rsFlutterL { to { transform: rotateY(55deg); } }
@keyframes rsFlutterR { to { transform: rotateY(-55deg); } }
.brand .mark-fly { width: 67px; height: 50px; }
@media (max-width: 720px) { .brand .mark-fly { width: 51px; height: 38px; } }
.sticky-bar .m .mark-fly { width: 34px; height: 26px; }

/* Arrow → butterfly (inline SVG, front view). Wings flutter on hover by folding toward the body. */
.bfly { display: inline-grid; place-items: center; flex: none; width: 24px; height: 18px; margin-left: 2px; vertical-align: -4px; --up: var(--teal); --lo: var(--rose); --edge: var(--brass); }
.btn .bfly { margin-left: 8px; }
.btn-primary .bfly, .sticky-bar .bfly, .btn-light .bfly, .panel-teal .bfly { --up: #F4E6E2; --lo: #EBD3CF; --edge: var(--brass-light); }
.bfly svg, .rs-flyer svg { width: 100%; height: 100%; overflow: visible; }
.bfly .up, .rs-flyer .up { fill: var(--up); stroke: var(--edge); stroke-width: 1; }
.bfly .lo, .rs-flyer .lo { fill: var(--lo); stroke: var(--edge); stroke-width: 1; }
.bfly .body, .rs-flyer .body { fill: var(--edge); }
.bfly .ant, .rs-flyer .ant { fill: none; stroke: var(--edge); stroke-width: 1; stroke-linecap: round; }
.bfly .w, .rs-flyer .w { transform-box: view-box; transform-origin: 16px 12px; }
.bfly .w.l, .rs-flyer .w.l { transform: scaleX(1); }
.bfly .w.r, .rs-flyer .w.r { transform: scaleX(-1); }
.btn:hover .bfly .w.l, .link-arrow:hover .bfly .w.l, .sticky-bar:hover .bfly .w.l, .btn:focus-visible .bfly .w.l { animation: rsWing .3s ease-in-out infinite alternate; }
.btn:hover .bfly .w.r, .link-arrow:hover .bfly .w.r, .sticky-bar:hover .bfly .w.r, .btn:focus-visible .bfly .w.r { animation: rsWingR .3s ease-in-out infinite alternate; }
.link-arrow .bfly { transition: transform .3s var(--ease); }
.link-arrow:hover .bfly { transform: translateX(3px); }
@keyframes rsWing { from { transform: scaleX(1); } to { transform: scaleX(.35); } }
@keyframes rsWingR { from { transform: scaleX(-1); } to { transform: scaleX(-.35); } }

/* Click: a soft ring widens from the tap point while a butterfly flutters up and away. */
.rs-ripple { position: fixed; z-index: 200; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 999px; pointer-events: none;
  border: 2.5px solid var(--brass); background: radial-gradient(circle, rgba(197, 140, 148, .34), rgba(46, 107, 112, .1) 60%, transparent 70%);
  animation: rsRipple .75s cubic-bezier(.2, .7, .3, 1) forwards; }
@keyframes rsRipple { from { transform: scale(.4); opacity: .95; } to { transform: scale(13); opacity: 0; border-width: 1px; } }
.rs-flyer { position: fixed; z-index: 201; width: 40px; height: 30px; margin: -15px 0 0 -20px; pointer-events: none; --up: var(--teal); --lo: var(--rose); --edge: var(--brass); filter: drop-shadow(0 3px 6px rgba(24, 43, 58, .3)); animation: rsFly 1.15s cubic-bezier(.3, .6, .4, 1) forwards; }
.rs-flyer .w.l { animation: rsWing .13s ease-in-out infinite alternate; }
.rs-flyer .w.r { animation: rsWingR .13s ease-in-out infinite alternate; }
@keyframes rsFly {
  0% { transform: translate(0, 0) scale(.6) rotate(0); opacity: 0; }
  12% { opacity: 1; transform: translate(calc(var(--dx) * .15), -18px) scale(1) rotate(-8deg); }
  55% { transform: translate(calc(var(--dx) * .7), -90px) scale(1.15) rotate(10deg); opacity: 1; }
  100% { transform: translate(var(--dx), -170px) scale(.8) rotate(-6deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .mark-fly .wl, .mark-fly .wr, .bfly .w, .rs-flyer .w { animation: none !important; }
  .rs-ripple, .rs-flyer { display: none; }
}
