[hidden] { display: none !important; }
:root { --plum: #3d2350; --plum2: #5b3474; --gold: #b0843d; --cream: #f6eedf; --linen: #efe3cd; --ink: #2a1c30; --rose: #c9567a; --leaf: #5d7a3e; --r: 18px; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1.05rem/1.65 "Instrument Sans", system-ui, sans-serif;
  background-image: repeating-linear-gradient(0deg, #0000 0 5px, #d9c7a614 5px 6px), repeating-linear-gradient(90deg, #0000 0 5px, #d9c7a614 5px 6px); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, .brand span, .hoop-word, legend { font-family: Fraunces, Georgia, serif; font-weight: 500; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--plum); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 60; }
.skip:focus { top: 12px; }
.eyebrow { font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: .78rem; color: #7d5a1f; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 999px; font: 650 1rem/1 "Instrument Sans", sans-serif; text-decoration: none; border: 0; cursor: pointer; transition: transform .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-plum { background: var(--plum); color: #fff; }
.btn-line { box-shadow: inset 0 0 0 2px var(--plum); color: var(--plum); background: none; }

/* top bar */
.bar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 20px; padding: 10px clamp(14px, 3vw, 36px); background: color-mix(in srgb, var(--cream) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1.5px dashed #b0843d66; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 1.3rem; color: var(--plum); }
.brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.brand em { color: var(--gold); }
.bar nav { display: flex; gap: 22px; margin-left: auto; font-weight: 600; }
.bar nav a { text-decoration: none; }
.basket-btn { margin-left: 8px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--plum); color: #fff; font: 650 .95rem/1 "Instrument Sans", sans-serif; cursor: pointer; }
.count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; border-radius: 12px; background: var(--gold); color: #fff; font-size: .8rem; }
@media (max-width: 760px) { .bar nav { display: none; } .basket-btn { margin-left: auto; } .brand span { font-size: 1.1rem; } }

/* hero: the monogram stitches itself into the hoop */
.hero { min-height: calc(100svh - 66px); display: grid; align-items: center; gap: 24px; padding: clamp(28px, 5vw, 64px) clamp(18px, 5vw, 72px); width: min(1300px, 100%); margin: 0 auto; }
@media (min-width: 900px) { .hero { grid-template-columns: 1fr 1.05fr; } }
.hero-copy { display: grid; gap: 22px; }
h1 { font-size: clamp(3rem, 7.5vw, 6.4rem); line-height: .95; color: var(--plum); letter-spacing: -.01em; }
h1 em { color: var(--gold); }
.lede { font-size: 1.2rem; max-width: 34ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hoop-wrap { position: relative; width: min(540px, 100%); justify-self: center; }
.hoop { width: 100%; filter: drop-shadow(0 30px 40px #3d235033); }
@keyframes bob { 50% { transform: rotate(-24deg) translateY(-8px); } }

/* running-stitch seam between sections */
.seam { height: 2px; margin: 0 auto; width: min(1200px, 90%); background: repeating-linear-gradient(90deg, var(--gold) 0 14px, #0000 14px 24px); }

.sec-head { width: min(760px, 100% - 40px); margin: 0 auto; text-align: center; display: grid; gap: 12px; justify-items: center; }
.sec-head h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.05; color: var(--plum); }
.sec-head p:last-child { max-width: 52ch; }

/* collections: pinned fabric swatches with pinked edges */
.collections, .studio { padding: clamp(64px, 9vw, 120px) 0; }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 32px auto 8px; padding: 0 16px; }
.chip { min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--plum); background: none; color: var(--plum); font: 600 .95rem/1 "Instrument Sans", sans-serif; cursor: pointer; }
.chip.on { background: var(--plum); color: #fff; }
.swatches { list-style: none; margin: 32px auto 0; padding: 0 20px; width: min(1240px, 100%); display: grid; gap: clamp(26px, 4vw, 44px); grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.sw { position: relative; background: #fffaf1; padding: 14px 14px 20px; transform: rotate(var(--tilt)); transition: transform .3s, box-shadow .3s; box-shadow: 0 16px 30px #3d23501f;
  clip-path: polygon(0 2%, 2% 0, 4% 2%, 6% 0, 8% 2%, 10% 0, 12% 2%, 14% 0, 16% 2%, 18% 0, 20% 2%, 22% 0, 24% 2%, 26% 0, 28% 2%, 30% 0, 32% 2%, 34% 0, 36% 2%, 38% 0, 40% 2%, 42% 0, 44% 2%, 46% 0, 48% 2%, 50% 0, 52% 2%, 54% 0, 56% 2%, 58% 0, 60% 2%, 62% 0, 64% 2%, 66% 0, 68% 2%, 70% 0, 72% 2%, 74% 0, 76% 2%, 78% 0, 80% 2%, 82% 0, 84% 2%, 86% 0, 88% 2%, 90% 0, 92% 2%, 94% 0, 96% 2%, 98% 0, 100% 2%, 100% 98%, 98% 100%, 96% 98%, 94% 100%, 92% 98%, 90% 100%, 88% 98%, 86% 100%, 84% 98%, 82% 100%, 80% 98%, 78% 100%, 76% 98%, 74% 100%, 72% 98%, 70% 100%, 68% 98%, 66% 100%, 64% 98%, 62% 100%, 60% 98%, 58% 100%, 56% 98%, 54% 100%, 52% 98%, 50% 100%, 48% 98%, 46% 100%, 44% 98%, 42% 100%, 40% 98%, 38% 100%, 36% 98%, 34% 100%, 32% 98%, 30% 100%, 28% 98%, 26% 100%, 24% 98%, 22% 100%, 20% 98%, 18% 100%, 16% 98%, 14% 100%, 12% 98%, 10% 100%, 8% 98%, 6% 100%, 4% 98%, 2% 100%, 0 98%); }
.sw:hover { transform: rotate(0) translateY(-6px); }
.sw::before { content: ""; position: absolute; z-index: 2; top: 10px; left: 50%; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #e98aa8, var(--rose)); box-shadow: 0 3px 4px #0003; }
.sw img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.sw .tag { display: inline-block; margin-top: 14px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #7d5a1f; }
.sw h3 { font-size: 1.35rem; line-height: 1.15; color: var(--plum); margin-top: 4px; }
.sw p { font-size: .95rem; color: #4a3a50; margin-top: 6px; }
.sw .add { margin-top: 14px; width: 100%; min-height: 46px; }
.sw[hidden] { display: none; }

/* studio */
.studio { background: var(--plum); color: #f6eedf; }
.studio .sec-head h2 { color: #fff; } .studio .eyebrow { color: #e2bb7f; }
.studio-grid { width: min(1160px, 100% - 40px); margin: 40px auto 0; display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .studio-grid { grid-template-columns: 1fr 1fr; } }
.preview { background: radial-gradient(circle, #fbf5ea, #e9dcc2); border-radius: 50%; aspect-ratio: 1; box-shadow: 0 0 0 16px #c99a5b, 0 0 0 20px #a87a3c, 0 30px 60px #0005; width: min(460px, 86%); justify-self: center; }
.preview svg { width: 100%; height: 100%; }
.designer { display: grid; gap: 18px; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-size: 1.25rem; margin-bottom: 8px; color: #fff; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid #e2bb7f88; background: none; color: #f6eedf; font: 600 .92rem/1 "Instrument Sans", sans-serif; cursor: pointer; }
.opt[aria-pressed="true"] { background: #f6eedf; color: var(--plum); border-color: #f6eedf; }
.opt i { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px #0003; }
.field { display: grid; gap: 6px; font-weight: 600; }
.field input, .field textarea { font: inherit; padding: 12px 14px; border-radius: 12px; border: 1.5px solid #e2bb7f88; background: #fffaf1; color: var(--ink); }
.studio .btn-plum { background: #e2bb7f; color: var(--plum); }

/* story */
.story { width: min(1160px, 100% - 40px); margin: 0 auto; padding: clamp(64px, 9vw, 120px) 0; display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .story { grid-template-columns: .9fr 1.1fr; } }
.story-hoops { position: relative; height: clamp(240px, 32vw, 380px); }
.story-hoops span { position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%; border: 14px solid #c99a5b; background: url(img/tree.webp) center / cover; box-shadow: 0 20px 40px #3d235033; }
.story-hoops span + span { right: 0; bottom: 0; background-image: url(img/framebag.webp); }
.story-copy { display: grid; gap: 16px; }
.story-copy h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.05; color: var(--plum); }

.foot { text-align: center; padding: 56px 20px 120px; display: grid; gap: 10px; justify-items: center; background: var(--linen); }
.foot img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.foot-line { font-family: Fraunces, serif; font-size: 1.25rem; color: var(--plum); }
.small { font-size: .85rem; opacity: .8; max-width: 60ch; }

.toast { position: fixed; left: 50%; top: 76px; transform: translate(-50%, -200%); max-width: calc(100% - 32px); text-align: center; background: var(--plum); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 600; transition: transform .3s; z-index: 70; }
.toast { visibility: hidden; } .toast.show { transform: translate(-50%, 0); visibility: visible; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

.trust { list-style: none; margin: 0 auto 8px; padding: 0 20px; width: min(1200px, 100%); display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.trust li { display: grid; gap: 2px; padding: 16px 18px; background: #fffaf1; border-radius: var(--r); border: 1.5px dashed #b0843d88; }
.trust b { font-family: Fraunces, serif; font-weight: 500; font-size: 1.15rem; color: var(--plum); }
.price { font-weight: 700; color: var(--plum); margin-top: 8px !important; }
.how, .faq { padding: clamp(56px, 8vw, 100px) 0; }
.steps { list-style: none; counter-reset: s; margin: 36px auto 0; padding: 0 20px; width: min(1100px, 100%); display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li { counter-increment: s; display: grid; gap: 6px; padding: 26px; background: #fffaf1; border-radius: var(--r); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--plum); color: #fff; font: 500 1.3rem Fraunces, serif; }
.steps b { font-family: Fraunces, serif; font-weight: 500; font-size: 1.35rem; color: var(--plum); }
.faq-list { width: min(820px, 100% - 40px); margin: 32px auto 0; display: grid; gap: 10px; }
details { background: #fffaf1; border-radius: 14px; padding: 4px 18px; }
summary { cursor: pointer; padding: 14px 0; font: 500 1.15rem Fraunces, serif; color: var(--plum); }
details p { padding: 0 0 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.err { color: #a3243b; font-weight: 600; min-height: 1.2em; }
.done { display: grid; gap: 12px; background: #fffaf1; padding: 22px; border-radius: var(--r); }
.done h3 { font-size: 1.8rem; color: var(--plum); }

/* ===== product listing (grid, filters, sort) ===== */
.collections { padding-bottom: clamp(48px, 7vw, 96px); }
.toolbar { position: sticky; top: 64px; z-index: 20; width: min(1240px, 100% - 32px); margin: 28px auto 0; padding: 10px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
  background: color-mix(in srgb, var(--cream) 94%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid #e3d5bd; }
.filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0; padding: 2px; flex: 1 1 auto; justify-content: flex-start; }
.filters::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid #d8c6a6; background: #fffaf1; color: var(--plum); font: 600 .93rem/1 "Instrument Sans", sans-serif; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; transition: background .2s, color .2s; }
.chip span { min-width: 22px; height: 22px; display: inline-grid; place-items: center; border-radius: 11px; background: #efe3cd; font-size: .78rem; }
.chip.on { background: var(--plum); border-color: var(--plum); color: #fff; } .chip.on span { background: #ffffff2e; }
.tools { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.results { font-weight: 600; color: #5a4a60; white-space: nowrap; }
.sort { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.sort select { font: 600 .93rem "Instrument Sans", sans-serif; min-height: 42px; padding: 0 34px 0 14px; border-radius: 999px; border: 1px solid #d8c6a6; color: var(--plum); appearance: none;
  background: #fffaf1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%233d2350' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center; }
.grid { list-style: none; width: min(1240px, 100% - 32px); margin: 24px auto 0; padding: 0; display: grid; gap: 28px 20px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; } .toolbar { top: 64px; } .sort span { display: none; } .tools { width: 100%; justify-content: space-between; } }
.card { display: flex; flex-direction: column; min-width: 0; }
.card[hidden] { display: none; }
.card-media { position: relative; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: #efe3cd; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.04); }
.badge { position: absolute; left: 10px; top: 10px; padding: 5px 10px; border-radius: 999px; background: #fffaf1e6; color: var(--plum); font-size: .74rem; font-weight: 700; }
.quick { position: absolute; left: 10px; right: 10px; bottom: 10px; min-height: 46px; border: 0; border-radius: 999px; background: var(--plum); color: #fff; font: 650 .95rem "Instrument Sans", sans-serif; cursor: pointer;
  opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s; }
.card:hover .quick, .quick:focus-visible { opacity: 1; transform: none; }
@media (hover: none) { .quick { opacity: 1; transform: none; min-height: 40px; font-size: .88rem; } }
.card-body { padding: 12px 2px 0; display: grid; gap: 3px; }
.card-cat { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #7d5a1f; }
.card h3 { font-size: 1.12rem; line-height: 1.25; color: var(--plum); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-blurb { font-size: .9rem; color: #5a4a60; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .price { font-weight: 700; color: var(--ink); margin-top: 4px !important; }
.no-results { grid-column: 1 / -1; text-align: center; padding: 40px; }

/* ===== checkout sheet ===== */
.basket { position: fixed; inset: 0; z-index: 50; background: #2a1c3066; display: flex; justify-content: flex-end; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.sheet { width: min(480px, 100%); height: 100%; background: #fffdf8; display: grid; grid-template-rows: auto auto 1fr auto; box-shadow: -20px 0 60px #2a1c3033; animation: slide .25s ease-out; }
@keyframes slide { from { transform: translateX(40px); opacity: .6; } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px 10px; }
.sheet-head h2 { font-size: 1.6rem; color: var(--plum); }
.x { width: 42px; height: 42px; border-radius: 50%; border: 1px solid #e3d5bd; background: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--plum); }
.steps-bar { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 22px; padding: 0 0 14px; border-bottom: 1px solid #eee3d0; counter-reset: st; }
.steps-bar li { counter-increment: st; display: grid; gap: 6px; font-size: .82rem; font-weight: 600; color: #9a8c9e; }
.steps-bar li::before { content: ""; height: 4px; border-radius: 2px; background: #eee3d0; }
.steps-bar li.on { color: var(--plum); } .steps-bar li.on::before { background: var(--plum); }
.sheet-body { overflow-y: auto; padding: 16px 22px; }
.lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.line { display: grid; grid-template-columns: 72px 1fr; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid #f0e7d8; }
.line img, .line svg, .line .ph { width: 72px; height: 90px; object-fit: cover; border-radius: 10px; background: #efe3cd; }
.line h4 { margin: 0; font: 500 1.05rem/1.25 Fraunces, serif; color: var(--plum); }
.line small { display: block; color: #6a5a70; margin-top: 2px; }
.line-row { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.qty { display: inline-flex; align-items: center; border: 1px solid #e3d5bd; border-radius: 999px; }
.qty button { width: 36px; height: 36px; border: 0; background: none; font-size: 1.1rem; color: var(--plum); cursor: pointer; }
.qty output { min-width: 24px; text-align: center; font-weight: 700; }
.rm { border: 0; background: none; color: #8a5a6a; font-weight: 600; text-decoration: underline; cursor: pointer; min-height: 36px; }
.line-price { font-weight: 700; }
.summary { margin-top: 18px; padding: 16px; border-radius: 14px; background: #f7efe1; display: grid; gap: 8px; }
.summary p { display: flex; justify-content: space-between; margin: 0; } .summary .note { font-size: .85rem; color: #6a5a70; }
.empty { text-align: center; display: grid; gap: 14px; justify-items: center; padding: 30px 0; }
.fld { display: grid; gap: 6px; margin-bottom: 16px; font-weight: 600; font-size: .92rem; color: #4a3a50; }
.fld i { font-weight: 400; font-style: normal; opacity: .7; }
.fld input, .fld textarea, .tel { font: 400 1rem "Instrument Sans", sans-serif; width: 100%; padding: 13px 14px; border: 1px solid #d8c6a6; border-radius: 12px; background: #fff; color: var(--ink); }
.fld input:focus, .fld textarea:focus { outline: 2px solid var(--plum); outline-offset: 0; border-color: var(--plum); }
.tel { display: flex; align-items: center; gap: 10px; padding: 0 0 0 14px; } .tel b { color: #6a5a70; font-weight: 600; } .tel input { border: 0; padding-left: 0; outline-offset: -2px; }
.seg { border: 0; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg legend { font-weight: 600; font-size: .92rem; color: #4a3a50; margin-bottom: 6px; padding: 0; }
.seg label { position: relative; } .seg input { position: absolute; opacity: 0; }
.seg span { display: grid; place-items: center; min-height: 48px; border-radius: 12px; border: 1px solid #d8c6a6; background: #fff; font-weight: 600; cursor: pointer; }
.seg input:checked + span { border-color: var(--plum); box-shadow: inset 0 0 0 1px var(--plum); background: #f4ecf7; color: var(--plum); }
.seg input:focus-visible + span { outline: 3px solid var(--gold); }
.sheet-foot { padding: 14px 22px 18px; border-top: 1px solid #eee3d0; background: #fffdf8; display: grid; gap: 12px; }
.assure { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .8rem; color: #5a4a60; }
.assure li::before { content: "✓ "; color: #2e7d4f; font-weight: 700; }
.foot-row { display: flex; gap: 10px; } .btn-wide { flex: 1; }
.done { text-align: center; display: grid; gap: 12px; justify-items: center; padding: 20px 0; }
.tick { width: 64px; height: 64px; border-radius: 50%; background: #2e7d4f; color: #fff; font-size: 2rem; display: grid; place-items: center; }
.done h3 { font-size: 1.7rem; color: var(--plum); }
.next { text-align: left; display: grid; gap: 8px; padding-left: 20px; margin: 6px 0; }
.link { color: var(--plum); font-weight: 600; }
@media (max-width: 560px) { .sheet { width: 100%; } }
.next { justify-self: stretch; } .sheet, .sheet-body, .line > div { min-width: 0; }
.badge.fav { background: var(--gold); color: #fff; }

/* header fit on phones */
@media (max-width: 420px) { .brand span { font-size: 1rem; } .brand img { width: 38px; height: 38px; } .basket-btn { padding: 0 12px; font-size: .88rem; } .bar { gap: 10px; } }
/* ===== shop by collection: mosaic tiles that adapt to the number of categories ===== */
.tiles-sec { padding: clamp(48px, 7vw, 96px) 0 clamp(36px, 5vw, 64px); }
.tiles { width: min(1240px, 100% - 32px); margin: 32px auto 0; display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(150px, 17vw, 230px); gap: 14px; }
.tile { position: relative; overflow: hidden; border-radius: 18px; grid-column: span 4; text-decoration: none; color: #fff; background: var(--plum2); isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); z-index: -1; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #0000 40%, #2a1c30d9); transition: opacity .3s; }
.tile:hover img, .tile:focus-visible img { transform: scale(1.07); }
.tile-txt { position: absolute; left: 18px; right: 18px; bottom: 16px; display: grid; gap: 2px; }
.tile-txt b { font: 500 clamp(1.3rem, 2.2vw, 2rem)/1.05 Fraunces, serif; }
.tile-txt span { font-weight: 600; font-size: .9rem; opacity: .9; }
.tile-txt span::after { content: " →"; transition: margin .3s; } .tile:hover .tile-txt span::after { margin-left: 6px; }
.n-1 .tile { grid-column: span 12; grid-row: span 2; }
.n-2 .tile { grid-column: span 6; grid-row: span 2; }
.n-3 .tile:nth-child(1), .n-4 .tile:nth-child(1), .n-5 .tile:nth-child(1) { grid-column: span 6; grid-row: span 2; }
.n-3 .tile:nth-child(n+2), .n-4 .tile:nth-child(2) { grid-column: span 6; }
.n-4 .tile:nth-child(n+3), .n-5 .tile:nth-child(n+2) { grid-column: span 3; }
.n-6 .tile { grid-column: span 4; }
.n-7 .tile:nth-last-child(1):nth-child(3n+1) { grid-column: span 12; }
.n-7 .tile:nth-last-child(-n+2):nth-child(3n+1), .n-7 .tile:nth-last-child(1):nth-child(3n+2) { grid-column: span 6; }
@media (max-width: 720px) {
  .tiles { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; gap: 10px; }
  .tiles .tile { grid-column: span 1 !important; grid-row: span 1 !important; }
  .tiles .tile:first-child { grid-column: span 2 !important; grid-row: span 2 !important; }
  .tiles .tile:last-child:nth-child(even) { grid-column: span 2 !important; }
}
/* ===== product view: overlay with photo slider ===== */
.card-media img, .card h3 { cursor: zoom-in; }
.pv { position: fixed; inset: 0; z-index: 60; background: #1d1322cc; display: grid; place-items: center; padding: 20px; animation: fade .2s; }
.pv-in { position: relative; width: min(1040px, 100%); max-height: calc(100svh - 40px); overflow: auto; background: #fffdf8; border-radius: 22px; display: grid; animation: rise .3s ease-out; }
@keyframes rise { from { transform: translateY(18px); opacity: .5; } }
@media (min-width: 860px) { .pv-in { grid-template-columns: 1.1fr 1fr; overflow: hidden; } }
.pv-x { position: absolute; right: 14px; top: 14px; z-index: 3; }
.pv-media { position: relative; background: #efe3cd; }
.pv-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; height: 100%; aspect-ratio: 4 / 5; }
.pv-track::-webkit-scrollbar { display: none; }
.pv-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: center; }
.pv-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fffdf8e6; color: var(--plum); font-size: 1.6rem; cursor: pointer; box-shadow: 0 4px 14px #0002; }
.pv-nav.prev { left: 12px; } .pv-nav.next { right: 12px; } .pv-nav[hidden] { display: none; }
.pv-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 7px; }
.pv-dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: #ffffff99; cursor: pointer; } .pv-dots button[aria-current="true"] { background: #fff; width: 22px; border-radius: 5px; }
.pv-info { padding: clamp(22px, 4vw, 40px); display: grid; gap: 12px; align-content: center; }
.pv-info h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.05; color: var(--plum); }
.pv-info .price { font-size: 1.25rem; } .pv-details { white-space: pre-line; color: #4a3a50; } .pv-details:empty { display: none; }
.pv-info .assure { margin: 4px 0; }

/* hero hoop: monogram stitched then satin-filled, wreath vine with leaves and roses, name on the curve */
.mono-t { font: italic 500 182px/1 Fraunces, Georgia, serif; fill: var(--plum2); fill-opacity: 0; stroke: #c8963e; stroke-width: 3.5; stroke-linejoin: round;
  stroke-dasharray: 9 6; stroke-dashoffset: 700; animation: sew 2.2s ease-out .2s forwards, satin 1s ease-out 2.1s forwards; }
.mono-t.m2 { animation-delay: .8s, 2.7s; }
@keyframes sew { from { stroke-dashoffset: 900; } to { stroke-dashoffset: 0; } }
@keyframes satin { to { fill-opacity: 1; } }
.vine { fill: none; stroke: var(--leaf); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 8 5; stroke-dashoffset: 400; animation: sew 1.6s ease-out 1.2s forwards; }
.lf { fill: var(--leaf); opacity: 0; transform-box: fill-box; transform-origin: 0 0; animation: pop .5s ease-out var(--d) forwards; }
.rs { opacity: 0; animation: bloom .6s cubic-bezier(.3,1.6,.5,1) var(--d) forwards; }
.rs-o { fill: var(--rose); } .rs-i { fill: none; stroke: #f6c3d3; stroke-width: 2.2; stroke-linecap: round; }
@keyframes pop { to { opacity: 1; } } @keyframes bloom { from { opacity: 0; scale: .2; } to { opacity: 1; scale: 1; } }
.hoop-word { fill: var(--plum); font: 500 19px Fraunces, serif; letter-spacing: .22em; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-3deg); } }
@media (prefers-reduced-motion: reduce) { .mono-t { fill-opacity: 1; stroke-dashoffset: 0; } .vine { stroke-dashoffset: 0; } .lf, .rs { opacity: 1; } }
/* needle resting on the fabric, mid-stitch on the vine, green thread through its eye */
.ndl-thread, .ndl-tail { fill: none; stroke: var(--leaf); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 200; stroke-dashoffset: 200; animation: sew 1s ease-out 2.6s forwards; }
.ndl-tail { animation-delay: 3.2s; }
.ndl-body { opacity: 0; animation: pop .4s ease-out 2.5s forwards, nudge 2.6s ease-in-out 3.4s infinite; }
@keyframes nudge { 50% { transform: translateX(-5px); } }
@media (prefers-reduced-motion: reduce) { .ndl-thread, .ndl-tail { stroke-dashoffset: 0; } .ndl-body { opacity: 1; } }
