/*
Theme Name: Twistea
Theme URI: https://twistea.pk
Author: Twistea
Description: Interactive storefront for Twistea printed mugs. WooCommerce in catalogue mode with a slide-out bag and WhatsApp ordering, live style swatches, a filterable collection and a mug designer with live preview.
Version: 1.1.0
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twistea
*/

/* ---------- Tokens ---------- */
:root {
	--navy: #1F2B47;
	--ink: #18213A;
	--pink: #C03F78;
	--pink-deep: #A3305F;
	--blush: #FBEAF0;
	--blush-2: #F5D9E4;
	--cyan: #4FB6C8;
	--sky: #E4F4F7;
	--paper: #FFFCFB;
	--white: #FFFFFF;
	--line: #EBDDE3;
	--line-strong: #CDBBC5;
	--muted: #525C76;
	--wa: #128C4B;
	--wa-deep: #0D733D;
	--error: #B3261E;

	--serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
	--sans: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
	--script: "Caveat", "Segoe Script", cursive;

	--wrap: 1240px;
	--gutter: clamp(20px, 5vw, 56px);
	--radius: 14px;
	--radius-s: 8px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 1.0625rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
	margin: 0;
	font-family: var(--serif);
	font-weight: 400;
	line-height: 1.08;
	letter-spacing: -.02em;
	color: var(--navy);
	text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.3vw, 2.85rem); }
h3 { font-size: 1.3rem; line-height: 1.25; letter-spacing: -.01em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--pink-deep); }

ul, ol { margin: 0; padding: 0; list-style: none; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }

[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 4px; }

.screen-reader-text {
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 300;
	padding: 10px 16px; background: var(--navy); color: var(--white); border-radius: 6px;
}
.skip-link:focus { top: 12px; color: var(--white); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 820px; }

.main { min-height: 50vh; overflow-x: clip; }
@supports not (overflow: clip) { .band { transform: none !important; } .hero__stage .decor { display: none; } }

/* ---------- Buttons and links ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 15px 26px; border: 1.5px solid var(--navy); border-radius: 6px;
	background: var(--navy); color: var(--white);
	font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none;
	transition: background-color .2s, border-color .2s, color .2s, transform .15s var(--ease);
}
.btn:hover { background: var(--pink-deep); border-color: var(--pink-deep); color: var(--white); }
.btn:active { transform: scale(.98); }
.btn:disabled { background: #D9D2D6; border-color: #D9D2D6; color: #6B6470; }
.btn.is-busy { opacity: .7; pointer-events: none; }

.btn--small { padding: 9px 14px; font-size: .9rem; background: transparent; color: var(--navy); }
.btn--small:hover { background: var(--navy); border-color: var(--navy); }
.btn--small:disabled { background: transparent; border-color: var(--line-strong); color: #7A7380; }
.btn--block { width: 100%; }
.btn--grow { flex: 1; }
.btn--wa { background: var(--wa); border-color: var(--wa); }
.btn--wa:hover { background: var(--wa-deep); border-color: var(--wa-deep); }

.link {
	font-weight: 600; color: var(--navy);
	text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 2px; text-underline-offset: .3em;
}
.link:hover { color: var(--pink-deep); }

.icon-button {
	display: inline-grid; place-items: center; width: 40px; height: 40px;
	border: 1px solid var(--line-strong); border-radius: 50%; background: var(--white); color: var(--navy);
	transition: background-color .2s, color .2s, border-color .2s;
}
.icon-button:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* ---------- Top bar ---------- */
.announce { overflow: hidden; background: var(--navy); color: var(--white); font-size: .875rem; }
.announce__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.announce:hover .announce__track, .announce:focus-within .announce__track { animation-play-state: paused; }
.announce__list { display: flex; flex-shrink: 0; }
.announce__list li { padding: 9px 0; white-space: nowrap; }
.announce__list li::after { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 28px 2px; border-radius: 50%; background: var(--pink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 252, 251, .92); backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid transparent;
	transition: transform .35s var(--ease), border-color .2s;
}
.header.is-stuck { border-bottom-color: var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.logo {
	font-family: var(--serif); font-size: 2.6rem; font-weight: 500; letter-spacing: -.045em; line-height: 1;
	color: var(--navy); text-decoration: none;
}
.logo:hover { color: var(--navy); }
.logo__dot { color: var(--pink); }
.logo--light, .logo--light:hover { color: var(--white); }
.logo--image img { max-height: 52px; width: auto; }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: clamp(18px, 2.6vw, 38px); }
.nav__list a { position: relative; padding: 8px 0; text-decoration: none; font-weight: 500; }
.nav__list a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--pink);
	transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav__list a:hover { color: var(--navy); }
.nav__list a:hover::after, .nav__list .current-menu-item > a::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 8px; margin-left: clamp(8px, 2vw, 28px); }

.bag-button {
	display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 12px;
	border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white); font-weight: 600;
	transition: border-color .2s, background-color .2s;
}
.bag-button:hover { border-color: var(--navy); }
.bag-button__count {
	display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px;
	border-radius: 999px; background: var(--navy); color: var(--white); font-size: .8rem; line-height: 1;
}
.bag-button.has-items .bag-button__count { background: var(--pink); }
.bag-button.is-bumped { animation: bump .45s var(--ease); }
@keyframes bump { 35% { transform: scale(1.12); } }

.burger { display: none; width: 44px; height: 44px; border: 0; background: none; }
.burger__bars, .burger__bars::before, .burger__bars::after {
	display: block; width: 22px; height: 2px; margin-inline: auto; border-radius: 2px; background: var(--navy);
	transition: transform .25s var(--ease), background-color .2s;
}
.burger__bars { position: relative; }
.burger__bars::before, .burger__bars::after { content: ""; position: absolute; left: 0; }
.burger__bars::before { top: -7px; }
.burger__bars::after { top: 7px; }
.burger[aria-expanded="true"] .burger__bars { background: transparent; }
.burger[aria-expanded="true"] .burger__bars::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(28px, 4.5vw, 64px) clamp(48px, 6vw, 88px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 96px); align-items: center; }

.hero__title { font-size: clamp(3.2rem, 8.2vw, 6.6rem); line-height: .98; letter-spacing: -.035em; }
.hero__line { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.06em; }
.hero__line--italic { font-style: italic; padding-left: .04em; }
.hero__title .dot, .dot { color: var(--pink); }

.hero__sub { max-width: 30em; margin-top: clamp(18px, 2.4vw, 30px); font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: clamp(22px, 3vw, 36px); }

.hero__facts { display: flex; flex-wrap: wrap; gap: 14px 0; margin-top: clamp(28px, 4vw, 52px); padding-top: 22px; border-top: 1px solid var(--line); }
.hero__facts li { padding-right: 28px; margin-right: 28px; border-right: 1px solid var(--line); font-size: .92rem; color: var(--muted); line-height: 1.4; }
.hero__facts li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero__facts strong { display: block; color: var(--navy); font-size: 1rem; font-weight: 600; }

.hero__stage { position: relative; }

.slider { position: relative; }
.slider__arch {
	position: relative; aspect-ratio: 4 / 4.7; overflow: hidden;
	border-radius: 999px 999px var(--radius) var(--radius); background: var(--blush);
}
.slider__arch--mug { display: grid; place-items: center; padding: 18% 8% 8%; }
.slider__arch--mug .mug { width: 100%; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility 0s .7s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .7s var(--ease); }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.4s var(--ease); }

.slider__card {
	position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px;
	margin: -44px 20px 0; padding: 16px 18px 16px 22px;
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
	box-shadow: 0 18px 40px -24px rgba(31, 43, 71, .45);
}
.slider__captions { display: grid; min-width: 0; }
.slider__caption { grid-area: 1 / 1; margin: 0; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s var(--ease); pointer-events: none; }
.slider__caption.is-active { opacity: 1; transform: none; pointer-events: auto; }
.slider__caption strong { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 400; line-height: 1.2; color: var(--navy); }
.slider__caption span { font-size: .92rem; color: var(--muted); }
.slider__nav { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.slider__dots { display: flex; gap: 6px; }
.slider__dot { width: 10px; height: 24px; padding: 0; border: 0; background: none; transition: width .3s var(--ease); }
.slider__dot span { display: block; height: 4px; border-radius: 4px; background: var(--line-strong); overflow: hidden; position: relative; }
.slider__dot.is-active { width: 34px; }
.slider__dot.is-active span::after {
	content: ""; position: absolute; inset: 0; background: var(--pink); transform-origin: left;
	animation: dotfill var(--slide-ms, 6000ms) linear forwards;
}
.slider.is-paused .slider__dot.is-active span::after { animation-play-state: paused; }
@keyframes dotfill { from { transform: scaleX(0); } }

/* One load sequence: headline rises, arch opens. */
@media (prefers-reduced-motion: no-preference) {
	.hero__line > * , .hero__line { animation: none; }
	.hero__title .hero__line { clip-path: inset(0 0 100% 0); animation: rise .9s var(--ease) .1s forwards; }
	.hero__title .hero__line--italic { animation-delay: .24s; }
	.hero__sub, .hero__actions, .hero__facts { opacity: 0; animation: fade .7s ease .55s forwards; }
	.slider__arch { clip-path: inset(100% 0 0 0 round 999px 999px 14px 14px); animation: open 1.1s var(--ease) .2s forwards; }
	.slider__card { opacity: 0; animation: fade .6s ease .95s forwards; }
}
@keyframes rise { from { clip-path: inset(0 0 100% 0); transform: translateY(.35em); } to { clip-path: inset(0 0 -10% 0); transform: none; } }
@keyframes fade { to { opacity: 1; } }
@keyframes open { to { clip-path: inset(0 0 0 0 round 999px 999px 14px 14px); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8vw, 112px); }
.section--tight { padding-block: clamp(24px, 4vw, 48px) clamp(56px, 8vw, 112px); }
.section--tint { background: var(--blush); }
.section__head { max-width: 22em; margin-bottom: clamp(28px, 4vw, 48px); }
.section__head--split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; max-width: none; }
.section__head--split h2 { max-width: 12em; }
.section__more { margin-top: clamp(32px, 4vw, 52px); text-align: center; }

.page-head { padding-block: clamp(36px, 6vw, 80px) clamp(12px, 2vw, 24px); }
.page-head p { max-width: 38em; margin-top: 16px; color: var(--muted); font-size: 1.15rem; }

.notice-empty { padding: 28px; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: var(--white); color: var(--muted); }

/* ---------- Pills, toolbar ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
	padding: 9px 18px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white);
	font-weight: 500; font-size: .95rem; transition: background-color .2s, color .2s, border-color .2s;
}
.pill:hover { border-color: var(--navy); }
.pill.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.toolbar__count { margin: 18px 0 22px; font-size: .92rem; color: var(--muted); min-height: 1.5em; }
.sort { display: flex; align-items: center; gap: 10px; font-size: .95rem; }
.sort label { color: var(--muted); }
.sort select, .field select {
	appearance: none; padding: 10px 40px 10px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-s);
	background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%231F2B47' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.500 6 6.500l5-5'/%3E%3C/svg%3E") no-repeat right 14px center;
}

/* ---------- Product grid and cards ---------- */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.5vw, 48px) clamp(16px, 2vw, 28px); }
.grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid__empty { padding: 40px 0; color: var(--muted); }

.card { display: flex; flex-direction: column; min-width: 0; }
.card.is-hidden { display: none; }
.card.is-entering { animation: cardin .45s var(--ease) both; }
@keyframes cardin { from { opacity: 0; transform: translateY(14px) scale(.98); } }

.card__media { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: var(--blush); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .22s ease, transform .6s var(--ease); }
.card__media img.is-swapping { opacity: 0; }
.card:hover .card__media img { transform: scale(1.035); }

.card__body { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; flex: 1; }
.card__title { font-size: 1.35rem; }
.card__title a { text-decoration: none; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 4px; }
.card__price { font-weight: 600; font-size: 1.05rem; color: var(--navy); }
.card__price.is-ticking, .product__price.is-ticking { animation: tick .3s var(--ease); }
@keyframes tick { from { opacity: 0; transform: translateY(6px); } }

/* Swatches */
.swatches { display: flex; align-items: center; gap: 8px; min-height: 30px; }
.swatches__label { margin-left: 4px; font-size: .9rem; color: var(--muted); }
.swatch {
	position: relative; display: inline-block; flex-shrink: 0; width: 26px; height: 26px; padding: 0;
	border: 1px solid var(--line-strong); border-radius: 50%; background: var(--sw, #fff);
	box-shadow: inset 0 0 0 3px var(--paper); transition: box-shadow .2s, border-color .2s, transform .15s var(--ease);
}
button.swatch:hover { transform: scale(1.1); }
.swatch[aria-checked="true"] { border-color: var(--navy); box-shadow: inset 0 0 0 3px var(--paper), 0 0 0 1.5px var(--navy); }
.swatch--heart::after {
	content: ""; position: absolute; inset: 0; margin: auto; width: 11px; height: 10px;
	background: var(--white);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 20'%3E%3Cpath d='M11 20C4 14 0 10.500 0 6a6 6 0 0 1 11-3.300A6 6 0 0 1 22 6c0 4.500-4 8-11 14Z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 20'%3E%3Cpath d='M11 20C4 14 0 10.500 0 6a6 6 0 0 1 11-3.300A6 6 0 0 1 22 6c0 4.500-4 8-11 14Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.swatches--large .swatch { width: 34px; height: 34px; }

/* ---------- Mug illustration ---------- */
.mug { width: 100%; height: auto; overflow: visible; }
.mug__text { font-family: var(--serif); font-style: italic; font-size: 38px; fill: var(--navy); letter-spacing: -.01em; }
.mug[data-lettering="script"] .mug__text { font-family: var(--script); font-style: normal; font-weight: 600; }
.mug[data-lettering="sans"] .mug__text { font-family: var(--sans); font-style: normal; font-weight: 600; letter-spacing: .02em; }
.mug__petal--a { fill: var(--mug-petal, #E38AAE); }
.mug__petal--n { fill: #2F4270; }
.mug__petal--y { fill: #EBC75A; }
.mug[data-handle="round"] .mug__handle--heart,
.mug[data-handle="heart"] .mug__handle--round { display: none; }
.mug__handle path, .mug ellipse { transition: stroke .3s, fill .3s; }
.mug.is-popping { animation: mugpop .4s var(--ease); }
@keyframes mugpop { 40% { transform: scale(1.03) rotate(-1.2deg); } }
@media (prefers-reduced-motion: no-preference) {
	.mug__steam path { animation: steam 4.5s ease-in-out infinite; transform-box: fill-box; transform-origin: bottom; }
	.mug__steam path:nth-child(2) { animation-delay: -1.5s; }
	.mug__steam path:nth-child(3) { animation-delay: -3s; }
}
@keyframes steam { 0%, 100% { opacity: .25; transform: translateY(4px) scaleY(.9); } 50% { opacity: 1; transform: translateY(-5px) scaleY(1.08); } }

/* ---------- Studio (home personalise block) ---------- */
.studio { background: var(--blush); transition: background-color .4s; }
.studio[data-tone="cyan"] { background: var(--sky); }
.studio__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.studio__stage { max-width: 440px; margin-inline: auto; width: 100%; padding: 12% 6% 6%; border-radius: 999px 999px var(--radius) var(--radius); background: var(--white); }
.studio__copy h2 { max-width: 13em; }
.studio__copy > p { max-width: 32em; margin-top: 18px; color: var(--muted); font-size: 1.12rem; }
.studio__form { margin-top: 28px; max-width: 560px; }
.studio__form label { display: block; margin-bottom: 8px; font-weight: 600; font-size: .95rem; }
.studio__row { display: flex; gap: 10px; }
.studio__row input {
	flex: 1; min-width: 0; padding: 14px 16px; border: 1.5px solid var(--navy); border-radius: 6px; background: var(--white);
	font-family: var(--serif); font-style: italic; font-size: 1.25rem;
}
.studio__form .swatches { margin-top: 18px; }
.studio__form .swatch { box-shadow: inset 0 0 0 3px var(--blush); }
.studio__form .swatch[aria-checked="true"] { box-shadow: inset 0 0 0 3px var(--white), 0 0 0 1.5px var(--navy); }

/* ---------- Steps ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); counter-reset: none; }
.steps::before, .steps::after { content: ""; position: absolute; top: 23px; left: 24px; right: 24px; height: 2px; background: var(--line); }
.steps::after { background: var(--pink); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .15s; }
.steps.is-in::after { transform: scaleX(1); }
.step { position: relative; z-index: 1; }
.step__num {
	display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 22px;
	border: 2px solid var(--navy); border-radius: 50%; background: var(--paper);
	font-family: var(--serif); font-size: 1.35rem; color: var(--navy);
	transition: background-color .4s, color .4s, border-color .4s;
}
.steps.is-in .step__num { background: var(--navy); color: var(--white); }
.steps.is-in .step:nth-child(2) .step__num { transition-delay: .6s; }
.steps.is-in .step:nth-child(3) .step__num { transition-delay: 1.2s; }
.step h3 { margin-bottom: 10px; font-size: 1.5rem; }
.step p { color: var(--muted); max-width: 26em; }

/* ---------- Accordion ---------- */
.accordion { border-top: 1px solid var(--line-strong); }
.accordion__item { border-bottom: 1px solid var(--line-strong); }
.accordion__heading { font-size: inherit; }
.accordion__trigger {
	display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%;
	padding: 22px 2px; border: 0; background: none; text-align: left;
	font-family: var(--serif); font-size: 1.3rem; line-height: 1.25; color: var(--navy);
}
.accordion__trigger:hover { color: var(--pink-deep); }
.accordion__icon { position: relative; flex-shrink: 0; width: 16px; height: 16px; }
.accordion__icon::before, .accordion__icon::after {
	content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; border-radius: 2px; background: currentColor;
	transition: transform .3s var(--ease);
}
.accordion__icon::after { transform: rotate(90deg); }
.accordion__trigger[aria-expanded="true"] .accordion__icon::after { transform: rotate(0); }
.accordion__panel { overflow: hidden; transition: height .35s var(--ease); }
.accordion__inner { padding: 0 40px 24px 2px; color: var(--muted); max-width: 44em; }

.faq-section__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.faq-section__grid > div:first-child p { margin-top: 16px; color: var(--muted); }
.faq-cta { margin-top: 36px; }

/* ---------- Product page ---------- */
.product { padding-block: clamp(16px, 2.5vw, 32px) clamp(56px, 8vw, 112px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(16px, 2.5vw, 28px); font-size: .92rem; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.product__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.gallery__main { aspect-ratio: 1; overflow: hidden; border-radius: 18px; background: var(--blush); cursor: zoom-in; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease), opacity .22s; }
.gallery__main img.is-swapping { opacity: 0; }
.gallery__main.is-zoomed { cursor: zoom-out; }
.gallery__main.is-zoomed img { transform: scale(2); transition: transform .12s linear, opacity .22s; }
.gallery__thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.gallery__thumb { width: 76px; height: 76px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 10px; background: var(--blush); transition: border-color .2s; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { border-color: var(--line-strong); }
.gallery__thumb.is-active { border-color: var(--navy); }
.gallery__note { margin-top: 12px; font-size: .88rem; color: var(--muted); }

.product__info h1 { font-size: clamp(2.3rem, 4.2vw, 3.5rem); }
.product__lede { margin-top: 16px; font-size: 1.12rem; color: var(--muted); max-width: 34em; }
.product__price { margin: 24px 0 0; font-family: var(--serif); font-size: 2rem; color: var(--navy); }

.styles { margin: 26px 0 0; padding: 0; border: 0; }
.styles legend, .field legend { padding: 0; margin-bottom: 10px; font-weight: 600; font-size: .95rem; }
.styles__list { display: grid; gap: 8px; }
.style { position: relative; display: block; cursor: pointer; }
.style input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.style__box {
	display: flex; align-items: center; gap: 12px; padding: 13px 16px;
	border: 1.5px solid var(--line-strong); border-radius: 10px; background: var(--white);
	transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.style:hover .style__box { border-color: var(--navy); }
.style input:checked + .style__box { border-color: var(--navy); background: var(--blush); box-shadow: inset 0 0 0 1px var(--navy); }
.style input:focus-visible + .style__box { outline: 2px solid var(--pink); outline-offset: 3px; }
.style__name { flex: 1; font-weight: 500; }
.style__price { color: var(--muted); font-size: .95rem; }
.style.is-out .style__name::after { content: " (unavailable)"; color: var(--muted); font-weight: 400; }

.buy { display: flex; gap: 10px; margin-top: 22px; }
.stepper { display: inline-flex; align-items: stretch; border: 1.5px solid var(--navy); border-radius: 6px; background: var(--white); overflow: hidden; }
.stepper button { width: 42px; border: 0; background: none; font-size: 1.2rem; line-height: 1; transition: background-color .2s; }
.stepper button:hover { background: var(--blush); }
.stepper input { width: 44px; border: 0; background: none; text-align: center; font-weight: 600; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper--small { border-width: 1px; border-color: var(--line-strong); }
.stepper--small button { width: 32px; font-size: 1rem; }
.stepper--small span { display: grid; place-items: center; min-width: 30px; font-weight: 600; font-size: .95rem; }

.product__assure { margin-top: 14px; font-size: .92rem; color: var(--muted); }

.personalise-link {
	display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 22px 0 30px; padding: 15px 18px;
	border: 1.5px dashed var(--pink); border-radius: 10px; text-decoration: none; transition: background-color .2s;
}
.personalise-link:hover { background: var(--blush); color: var(--navy); }
.personalise-link span { font-weight: 500; }
.personalise-link strong { white-space: nowrap; color: var(--pink-deep); font-weight: 600; }

.buybar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding-block: 12px;
	background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -12px 30px -22px rgba(31, 43, 71, .5);
	animation: slideup .35s var(--ease);
}
.buybar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.buybar strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.15rem; color: var(--navy); line-height: 1.2; }
.buybar span { font-size: .9rem; color: var(--muted); }
@keyframes slideup { from { transform: translateY(100%); } }

/* ---------- Designer page ---------- */
.designer { padding-block: clamp(24px, 4vw, 56px) clamp(56px, 8vw, 112px); }
.designer__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.designer__stage { position: sticky; top: calc(var(--header-h) + 20px); }
.designer__arch { padding: 14% 6% 8%; border-radius: 999px 999px var(--radius) var(--radius); background: var(--blush); transition: background-color .4s; }
.designer[data-colour="cyan"] .designer__arch { background: var(--sky); }
.designer__note { margin-top: 14px; font-size: .9rem; color: var(--muted); text-align: center; }
.designer__form h1 { font-size: clamp(2.4rem, 4.5vw, 3.6rem); }
.designer__lede { margin: 16px 0 30px; font-size: 1.12rem; color: var(--muted); }
.designer__form .prose { margin-bottom: 28px; }

/* ---------- Forms ---------- */
.field { margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { display: block; margin-bottom: 8px; font-weight: 600; font-size: .95rem; }
.field input[type="text"], .field input[type="tel"], .field textarea, .field select {
	width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-s); background-color: var(--white);
	transition: border-color .2s, box-shadow .2s;
}
.field select { padding-right: 40px; }
.field textarea { resize: vertical; min-height: 64px; }
.field input:focus, .field textarea:focus, .field select:focus, .studio__row input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(192, 63, 120, .22); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--error); }
.field__hint { margin: 6px 0 0; font-size: .88rem; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field--trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; display: flex; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice__box {
	display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; min-height: 48px;
	border: 1.5px solid var(--line-strong); border-radius: 10px; background: var(--white); font-weight: 500;
	transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.choice__box small { font: 500 .85rem var(--sans); color: var(--muted); }
.choice__box--serif { font-family: var(--serif); font-style: italic; font-size: 1.35rem; }
.choice__box--script { font-family: var(--script); font-size: 1.5rem; }
.choice__box--sans { font-family: var(--sans); font-weight: 600; font-size: 1.15rem; }
.choice:hover .choice__box { border-color: var(--navy); }
.choice input:checked + .choice__box { border-color: var(--navy); background: var(--blush); box-shadow: inset 0 0 0 1px var(--navy); }
.choice input:focus-visible + .choice__box { outline: 2px solid var(--pink); outline-offset: 3px; }

/* ---------- Bag drawer ---------- */
.scrim { position: fixed; inset: 0; z-index: 190; background: rgba(24, 33, 58, .45); opacity: 0; transition: opacity .3s; }
.scrim.is-open { opacity: 1; }

.bag {
	position: fixed; top: 0; right: 0; bottom: 0; z-index: 200; display: flex; flex-direction: column;
	width: min(460px, 100vw); background: var(--paper); box-shadow: -30px 0 60px -40px rgba(24, 33, 58, .6);
	transform: translateX(100%); transition: transform .4s var(--ease);
}
.bag.is-open { transform: none; }
.bag__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.bag__head h2 { font-size: 1.7rem; }
.bag__progress { padding: 14px 24px; background: var(--blush); font-size: .92rem; }
.bag__progress p { margin: 0 0 8px; }
.bag__progress.is-done { background: #E5F4EA; }
.meter { height: 6px; border-radius: 6px; background: var(--white); overflow: hidden; }
.meter span { display: block; height: 100%; width: 0; border-radius: 6px; background: var(--pink); transition: width .5s var(--ease), background-color .3s; }
.bag__progress.is-done .meter span { background: var(--wa); }

.bag__body { flex: 1; overflow-y: auto; padding: 8px 24px 24px; overscroll-behavior: contain; }
.bag__empty { padding: 40px 0; color: var(--muted); }
.bag__empty a { display: block; margin-top: 8px; font-weight: 600; color: var(--navy); }
.bag__items li { display: grid; grid-template-columns: 68px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.bag__items li.is-leaving { opacity: .35; transition: opacity .2s; }
.bag__items img { width: 68px; height: 68px; object-fit: cover; border-radius: 10px; background: var(--blush); }
.bag__item-name { font-family: var(--serif); font-size: 1.12rem; line-height: 1.2; color: var(--navy); text-decoration: none; }
.bag__item-variant { display: block; margin: 2px 0 8px; font-size: .88rem; color: var(--muted); }
.bag__item-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; font-weight: 600; }
.bag__remove { padding: 0; border: 0; background: none; font-size: .85rem; font-weight: 500; color: var(--muted); text-decoration: underline; }
.bag__remove:hover { color: var(--error); }

.bag__form { margin-top: 24px; }
.bag__form h3 { margin-bottom: 16px; font-size: 1.35rem; }
.bag__form .field { margin-bottom: 14px; }

.bag__foot { padding: 16px 24px 20px; border-top: 1px solid var(--line); background: var(--white); }
.totals { margin: 0 0 14px; }
.totals div { display: flex; justify-content: space-between; gap: 16px; padding: 3px 0; font-size: .95rem; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; font-weight: 500; }
.totals__total { margin-top: 6px; padding-top: 10px !important; border-top: 1px solid var(--line); font-size: 1.1rem !important; }
.totals__total dt, .totals__total dd { color: var(--navy); font-weight: 600; }
.bag__error { margin: 0 0 12px; padding: 10px 12px; border-radius: var(--radius-s); background: #FCE8E6; color: var(--error); font-size: .92rem; }
.bag__hint { margin: 10px 0 0; font-size: .85rem; color: var(--muted); text-align: center; }

/* ---------- Toast, fly, WhatsApp ---------- */
.toast {
	position: fixed; left: 50%; bottom: 24px; z-index: 250; max-width: calc(100vw - 32px);
	padding: 13px 20px; border-radius: 999px; background: var(--navy); color: var(--white); font-weight: 500; font-size: .95rem;
	transform: translate(-50%, 20px); opacity: 0; transition: opacity .25s, transform .3s var(--ease);
}
.toast.is-open { opacity: 1; transform: translate(-50%, 0); }
.toast.is-error { background: var(--error); }

.fly { position: fixed; z-index: 260; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; pointer-events: none; box-shadow: 0 10px 24px -10px rgba(24, 33, 58, .6); }

.wa-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 80; display: grid; place-items: center; width: 56px; height: 56px;
	border-radius: 50%; background: var(--wa); color: var(--white); box-shadow: 0 12px 28px -12px rgba(13, 115, 61, .9);
	transition: transform .25s var(--ease), bottom .3s var(--ease), background-color .2s;
}
.wa-float:hover { transform: scale(1.06); background: var(--wa-deep); color: var(--white); }
body.has-buybar .wa-float { bottom: 92px; }

/* ---------- Prose ---------- */
.prose { max-width: 68ch; font-size: 1.1rem; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.8em; font-size: 1.9rem; }
.prose h3 { margin-top: 1.6em; font-size: 1.4rem; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--pink-deep); }
.prose img { border-radius: var(--radius); }
.prose blockquote { margin-inline: 0; padding-left: 20px; border-left: 3px solid var(--pink); font-family: var(--serif); font-size: 1.35rem; font-style: italic; color: var(--navy); }

.post-row { padding: 28px 0; border-bottom: 1px solid var(--line); }
.post-row h2 { font-size: 1.8rem; }
.post-row h2 a { text-decoration: none; }
.post-row__date { margin: 6px 0 10px; font-size: .9rem; color: var(--muted); }

.woocommerce-message, .woocommerce-info, .woocommerce-error { margin: 0 0 20px; padding: 14px 18px; border-radius: var(--radius-s); background: var(--blush); list-style: none; }
.woocommerce-error { background: #FCE8E6; color: var(--error); }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #D8DCE8; padding-top: clamp(48px, 7vw, 88px); }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--pink); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(24px, 5vw, 80px); }
.footer__brand p { max-width: 24em; margin: 18px 0; }
.footer__social { font-weight: 600; color: var(--white); border-bottom: 2px solid var(--pink); padding-bottom: 2px; }
.footer__title { margin-bottom: 16px; font-family: var(--sans); font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--white); }
.footer li { margin-bottom: 10px; }
.footer__wa { margin-top: 18px; color: var(--white); font-weight: 600; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: clamp(40px, 6vw, 72px); padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .9rem; }

/* ---------- Motion layer ---------- */
.scrollbar { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: linear-gradient(90deg, var(--pink), var(--cyan)); transform: scaleX(0); transform-origin: left; }

/* Reveal on scroll (only when the motion flag is set in <head>) */
.js-motion [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); will-change: transform, opacity; }
.js-motion [data-reveal="zoom"] { transform: scale(.86) rotate(-3deg); }
.js-motion [data-reveal="right"] { transform: translateX(48px); }
.js-motion [data-reveal="left"] { transform: translateX(-48px); }
.js-motion [data-reveal].is-revealed { opacity: 1; transform: none; }
.js-motion [data-reveal].is-settled { transition-delay: 0s; will-change: auto; }

/* Headings come up word by word */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .14em; margin: 0 -.04em -.14em; }
.split .w > span { display: inline-block; transform: translateY(115%) rotate(5deg); transform-origin: left bottom; transition: transform .95s var(--ease); transition-delay: calc(var(--w, 0) * 55ms); }
.split.is-revealed .w > span { transform: none; }

/* Hero: drifting colour, floating shapes, turning badge */
.hero { position: relative; isolation: isolate; }
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; }
.hero::before { width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; right: -8%; top: -18%; background: var(--blush-2); animation: drift 16s ease-in-out infinite alternate; }
.hero::after { width: 30vw; height: 30vw; max-width: 420px; max-height: 420px; left: 28%; bottom: -22%; background: var(--sky); animation: drift 20s ease-in-out -6s infinite alternate-reverse; }
@keyframes drift { from { transform: translate3d(-6%, -4%, 0) scale(1); } to { transform: translate3d(8%, 10%, 0) scale(1.18); } }

.hero__stage { width: 100%; max-width: 560px; margin-left: auto; }
.hero__stage .slider { max-width: none; }
.hero__title .dot { display: inline-block; }
.js-motion .hero__title .dot { animation: dotpop .7s cubic-bezier(.3, 1.9, .5, 1) 1.15s both; }
.js-motion .hero__line--italic .dot { animation-delay: 1.3s; }
@keyframes dotpop { from { transform: scale(0) translateY(-.6em); } }

.slide.is-active img { animation: kenburns 8s ease-out both; }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1); } }

.decor { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.deco { position: absolute; display: block; transform: translate3d(calc(var(--mx, 0) * var(--depth, 20) * 1px), calc(var(--my, 0) * var(--depth, 20) * 1px), 0); transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.deco__in { display: block; animation: floaty 6s ease-in-out infinite; }
.deco svg { width: 100%; height: auto; fill: currentColor; overflow: visible; }
.deco--c-pink { color: var(--pink); } .deco--c-cyan { color: var(--cyan); } .deco--c-navy { color: var(--navy); } .deco--c-yellow { color: #EBC75A; }
.deco--heart { width: 44px; top: 9%; left: -5%; } .deco--heart .deco__in { animation-duration: 5.5s; }
.deco--sparkle { width: 38px; top: -2%; right: 8%; } .deco--sparkle .deco__in { animation: twinkle 3.6s ease-in-out infinite; }
.deco--flower { width: 60px; bottom: 24%; left: -9%; } .deco--flower .deco__in { animation: spin 14s linear infinite; }
.deco--ring { width: 30px; top: 40%; right: -6%; } .deco--ring .deco__in { animation-duration: 7s; animation-delay: -2s; }
.deco--sparkle2 { width: 26px; bottom: 30%; right: -3%; } .deco--sparkle2 .deco__in { animation: twinkle 4.4s ease-in-out -1.5s infinite; }
.deco--heart2 { width: 24px; top: 24%; left: 10%; } .deco--heart2 .deco__in { animation-duration: 4.6s; animation-delay: -1s; }
.js-motion .deco, .js-motion .badge { animation: decoin .9s cubic-bezier(.3, 1.6, .5, 1) 1.2s both; }
.js-motion .deco:nth-child(2n) { animation-delay: 1.4s; }
.js-motion .deco:nth-child(3n) { animation-delay: 1.6s; }
@keyframes decoin { from { scale: 0; } }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-16px) rotate(8deg); } }
@keyframes twinkle { 0%, 100% { transform: scale(.7) rotate(0); opacity: .6; } 50% { transform: scale(1.15) rotate(45deg); opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }

.badge { position: absolute; z-index: 3; left: -34px; top: 46%; width: 124px; height: 124px; border-radius: 50%; background: var(--white); box-shadow: 0 14px 34px -18px rgba(31, 43, 71, .55); display: grid; place-items: center; }
.badge__ring { position: absolute; inset: 0; animation: spin 16s linear infinite; }
.badge__ring text { font: 600 11.500px var(--sans); letter-spacing: .13em; fill: var(--navy); text-transform: none; }
.badge__heart { width: 30px; fill: var(--pink); animation: beat 1.6s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 14% { transform: scale(1.22); } 28% { transform: scale(1); } 42% { transform: scale(1.16); } }

/* Moving type band */
.band { overflow: hidden; padding-block: clamp(18px, 2.6vw, 34px); background: var(--navy); color: var(--white); transform: rotate(-1.2deg) scale(1.02); margin-block: clamp(8px, 2vw, 24px); }
.band__track { display: flex; width: max-content; will-change: transform; }
.band__group { display: flex; align-items: center; flex-shrink: 0; }
.band__item { font-family: var(--serif); font-style: italic; font-size: clamp(2rem, 5vw, 4.2rem); line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.band__item.is-outline { font-style: normal; color: transparent; -webkit-text-stroke: 1.2px rgba(255, 255, 255, .85); }
.band svg { flex-shrink: 0; margin-inline: clamp(20px, 3vw, 48px); fill: var(--pink); animation: spin 7s linear infinite; }
.band__track.is-css { animation: marquee 30s linear infinite; }

/* Cards: tilt, shine, filling button */
.card__media { transform-style: preserve-3d; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.card__media.is-tilting { transition: transform .08s linear, box-shadow .3s; box-shadow: 0 30px 50px -30px rgba(31, 43, 71, .55); }
.card__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(circle at var(--sx, 50%) var(--sy, 50%), rgba(255, 255, 255, .55), transparent 45%); }
.card__media.is-tilting::after { opacity: 1; }
.card:hover .card__media img { transform: scale(1.07); }

.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg); }
.btn:hover::after { animation: shine .8s ease; }
@keyframes shine { to { left: 130%; } }
.btn--small { background: linear-gradient(var(--navy), var(--navy)) no-repeat left / 0% 100%; transition: background-size .35s var(--ease), color .25s, border-color .2s, transform .15s var(--ease); }
.btn--small:hover { background-color: transparent; background-size: 100% 100%; color: var(--white); }
.btn--small:disabled { background-size: 0 100%; }
[data-magnetic] { transition: transform .35s cubic-bezier(.2, .8, .2, 1), background-color .2s, border-color .2s; }

.pill { transition: background-color .2s, color .2s, border-color .2s, transform .25s cubic-bezier(.3, 1.7, .5, 1); }
.pill:hover { transform: translateY(-3px); }
.swatch[aria-checked="true"] { animation: swatchpop .4s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes swatchpop { from { transform: scale(.6); } }

/* Mugs float, hearts rise */
.mug-tilt { transition: transform .5s cubic-bezier(.2, .8, .2, 1); transform-origin: 50% 80%; position: relative; z-index: 1; }
.js-motion .mug-tilt .mug { animation: bob 5s ease-in-out infinite; }
.js-motion .mug-tilt .mug.is-popping { animation: mugpop .45s var(--ease); }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-14px) rotate(1.5deg); } }
@keyframes mugpop { 0% { transform: scale(1); } 40% { transform: scale(1.08) rotate(-4deg); } 100% { transform: scale(1); } }

.studio__stage, .designer__arch, .slider__arch--mug { position: relative; overflow: hidden; }
.bubbles { position: absolute; inset: 0; pointer-events: none; }
.bubbles span { position: absolute; bottom: -30px; width: 22px; height: 20px; background: var(--mug-petal, var(--pink)); opacity: 0;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Cpath d='M12 22C4.500 15.500 0 11.500 0 6.500a6.500 6.500 0 0 1 12-3.400A6.500 6.500 0 0 1 24 6.500c0 5-4.500 9-12 15.500Z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Cpath d='M12 22C4.500 15.500 0 11.500 0 6.500a6.500 6.500 0 0 1 12-3.400A6.500 6.500 0 0 1 24 6.500c0 5-4.500 9-12 15.500Z'/%3E%3C/svg%3E") center / contain no-repeat;
	animation: risehearts 9s linear infinite; transition: background-color .4s; }
.bubbles span:nth-child(1) { left: 8%; animation-delay: 0s; }
.bubbles span:nth-child(2) { left: 22%; width: 14px; height: 13px; animation-delay: -3s; animation-duration: 11s; }
.bubbles span:nth-child(3) { left: 38%; animation-delay: -6s; animation-duration: 8s; }
.bubbles span:nth-child(4) { left: 55%; width: 12px; height: 11px; animation-delay: -1.5s; animation-duration: 10s; }
.bubbles span:nth-child(5) { left: 68%; width: 26px; height: 24px; animation-delay: -4.5s; }
.bubbles span:nth-child(6) { left: 82%; width: 16px; height: 15px; animation-delay: -7s; animation-duration: 12s; }
.bubbles span:nth-child(7) { left: 90%; animation-delay: -2.5s; animation-duration: 10.5s; }
.bubbles span:nth-child(8) { left: 47%; width: 10px; height: 9px; animation-delay: -8s; animation-duration: 7.5s; }
@keyframes risehearts { 0% { transform: translate3d(0, 0, 0) rotate(-12deg) scale(.6); opacity: 0; } 12% { opacity: .5; } 50% { transform: translate3d(22px, -260px, 0) rotate(14deg) scale(1); } 85% { opacity: .35; } 100% { transform: translate3d(-14px, -560px, 0) rotate(-10deg) scale(.8); opacity: 0; } }

/* Little bursts */
.spark { position: fixed; z-index: 270; width: 14px; height: 13px; pointer-events: none; will-change: transform, opacity; }
.spark--heart { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Cpath d='M12 22C4.500 15.500 0 11.500 0 6.500a6.500 6.500 0 0 1 12-3.400A6.500 6.500 0 0 1 24 6.500c0 5-4.500 9-12 15.500Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Cpath d='M12 22C4.500 15.500 0 11.500 0 6.500a6.500 6.500 0 0 1 12-3.400A6.500 6.500 0 0 1 24 6.500c0 5-4.500 9-12 15.500Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.spark--dot { width: 9px; height: 9px; border-radius: 50%; }

/* Steps, accordion, WhatsApp, footer mark */
.steps.is-in .step__num { animation: numpop .6s cubic-bezier(.3, 1.8, .5, 1) both; }
.steps.is-in .step:nth-child(2) .step__num { animation-delay: .6s; }
.steps.is-in .step:nth-child(3) .step__num { animation-delay: 1.2s; }
@keyframes numpop { 0% { transform: scale(1); } 50% { transform: scale(1.28); } 100% { transform: scale(1); } }
.accordion__trigger span:first-child { transition: transform .3s var(--ease); }
.accordion__trigger:hover span:first-child { transform: translateX(8px); }

.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 80%, 100% { transform: scale(1.9); opacity: 0; } }
.wa-float svg { animation: wiggle 5s ease-in-out infinite; }
@keyframes wiggle { 0%, 84%, 100% { transform: rotate(0); } 88% { transform: rotate(-14deg); } 92% { transform: rotate(12deg); } 96% { transform: rotate(-6deg); } }

.footer { overflow: hidden; }
.footer__mark { display: flex; justify-content: center; margin-top: clamp(32px, 5vw, 64px); margin-bottom: -.12em; font-family: var(--serif); font-weight: 500; font-size: clamp(5rem, 24vw, 22rem); line-height: .8; letter-spacing: -.05em; color: #2C3B61; user-select: none; white-space: nowrap; }
.footer__mark i { font-style: normal; color: var(--pink); }
.footer__mark .l { display: inline-block; }
.js-motion .footer__mark .l { transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--l, 0) * 70ms); }
.js-motion .footer__mark.is-revealed .l { transform: none; }
.footer__mark + .footer__base { margin-top: 0; }

.js-motion .gallery__main { animation: galleryopen 1s var(--ease) .1s both; }
@keyframes galleryopen { from { clip-path: inset(100% 0 0 0 round 18px); } to { clip-path: inset(0 0 0 0 round 18px); } }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	:root { --header-h: 68px; }
	.logo { font-size: 2rem; }
	.burger { display: block; }
	.bag-button span:not(.bag-button__count) { display: none; }
	.nav {
		position: fixed; inset: calc(var(--header-h)) 0 0 0; z-index: 99; margin: 0; padding: 24px var(--gutter) 40px;
		background: var(--paper); overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px);
		transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s; height: calc(100dvh - var(--header-h));
	}
	.nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .3s var(--ease); }
	.nav__list { flex-direction: column; gap: 0; }
	.nav__list a { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.9rem; letter-spacing: -.02em; }
	.nav__list a::after { display: none; }
	.header__actions { margin-left: auto; }

	.hero__grid, .studio__grid, .faq-section__grid, .product__grid, .designer__grid { grid-template-columns: minmax(0, 1fr); }
	.hero__stage { margin-inline: auto; max-width: 460px; }
	.badge { left: -10px; width: 104px; height: 104px; }
	.deco--flower { left: -3%; } .deco--heart { left: 0; } .deco--ring, .deco--sparkle2 { right: 0; }
	.gallery, .designer__stage { position: static; }
	.designer__arch { max-width: 420px; margin-inline: auto; }
	.steps { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.steps::before, .steps::after { top: 24px; bottom: 24px; left: 23px; right: auto; width: 2px; height: auto; }
	.steps::after { transform: scaleY(0); transform-origin: top; }
	.steps.is-in::after { transform: scaleY(1); }
	.step { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 20px; }
	.step__num { grid-row: span 2; margin: 0; }
	.step h3 { align-self: center; }
	.footer__grid { grid-template-columns: 1fr 1fr; }
	.footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
	body { font-size: 1rem; }
	.grid, .grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.card__title { font-size: 1.15rem; }
	.card__foot { flex-direction: column; align-items: stretch; gap: 8px; }
	.swatches__label { display: none; }
	.studio__form .swatches__label { display: inline; }
	.hero__facts li { border-right: 0; margin-right: 0; padding-right: 24px; }
	.studio__row { flex-direction: column; }
	.slider__card { margin-inline: 12px; padding-left: 16px; }
	.slider__nav .icon-button { display: none; }
	.pills { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
	.pills::-webkit-scrollbar { display: none; }
	.pill { white-space: nowrap; }
	.accordion__inner { padding-right: 8px; }
	.wa-float { right: 14px; bottom: 14px; width: 52px; height: 52px; }
	.buybar strong { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.announce__track { animation: none; width: 100%; justify-content: center; }
	.decor, .bubbles, .badge__ring { display: none; }
	.band__group:last-child { display: none; }
	.announce__list[aria-hidden="true"], .announce__list li:not(:first-child) { display: none; }
	.announce__list li::after { display: none; }
	.steps::after { transform: none; }
}
