/* =========================================================
   NAIL MORPH — DESIGN SYSTEM
   ========================================================= */
:root {
  --ivory: #fbf8f4;
  --cream: #f5eee6;
  --sand: #eadfd3;
  --blush: #efd9d2;
  --rose: #b76e79;
  --rosegold: #c9937a;
  --rosegold-deep: #a8735c;
  --gold: #c8a24a;
  --ink: #1d1917;
  --ink-2: #3d3430;
  --muted: #85766d;
  --line: rgba(29, 25, 23, .1);
  --line-strong: rgba(29, 25, 23, .18);
  --shadow-sm: 0 2px 10px rgba(59, 42, 34, .06);
  --shadow: 0 18px 50px -20px rgba(59, 42, 34, .28);
  --shadow-lg: 0 40px 90px -30px rgba(59, 42, 34, .38);
  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lock { overflow: hidden; }
body {
  margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--ink);
  background: var(--ivory); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  animation: pageIn .6s var(--ease) both; transition: opacity .2s var(--ease);
}
@keyframes pageIn { from { opacity: 0; } }
body.leaving { opacity: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--blush); color: var(--ink); }
:focus-visible { outline: 2px solid var(--rosegold); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.08; letter-spacing: -.01em; }
h1, h2 { font-family: var(--serif); font-weight: 500; }
h1 { font-size: clamp(2.8rem, 6.4vw, 5.6rem); letter-spacing: -.02em; }
h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
h3 { font-size: 1.08rem; font-weight: 600; letter-spacing: 0; }
h1 em, h2 em { font-style: italic; color: var(--rosegold-deep); }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: .72rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--rosegold-deep);
}
.eyebrow.line::before { content: ""; width: 28px; height: 1px; background: currentColor; }
section { position: relative; }
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 48px; flex-wrap: wrap; }
.section-head .lead { max-width: 440px; color: var(--muted); font-size: 1.04rem; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head h2 { margin-top: 14px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: 999px; font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  background: var(--bg); color: var(--fg); overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(110deg, var(--rosegold-deep), var(--rosegold) 50%, #e2b9a1);
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:hover svg { transform: translateX(3px); }
.btn-dark:hover::after { transform: translateY(0); }
.btn-light { --bg: #fff; --fg: var(--ink); }
.btn-light:hover::after { transform: translateY(0); }
.btn-light:hover { color: #fff; }
.btn-outline { --bg: transparent; --fg: var(--ink); border: 1.5px solid var(--ink); }
.btn-outline:hover { --bg: var(--ink); --fg: #fff; }
.btn-outline::after, .btn-ghost::after, .btn-outline-light::after { display: none; }
.btn-outline-light { --bg: transparent; --fg: #fff; border: 1.5px solid rgba(255, 255, 255, .35); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-ghost { --bg: transparent; --fg: var(--ink); min-height: 46px; }
.btn-ghost:hover { box-shadow: none; background: var(--cream); }
.btn-block { width: 100%; }
.btn.grow { flex: 1; }
.link-btn { font-size: .78rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.text-link svg { width: 16px; transition: transform .35s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- Announcement ---------- */
.announce { background: var(--ink); color: #f3e7df; font-size: .76rem; letter-spacing: .08em; height: 38px; overflow: hidden; position: relative; }
.announce-track { display: flex; height: 100%; animation: announce 15s infinite var(--ease); }
.announce-track span { flex: 0 0 100%; display: flex; align-items: center; justify-content: center; gap: 8px; }
.announce-track svg { width: 11px; color: var(--rosegold); }
@keyframes announce {
  0%, 28% { transform: translateX(0); }
  33%, 61% { transform: translateX(-100%); }
  66%, 94% { transform: translateX(-200%); }
  100% { transform: translateX(0); }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(251, 248, 244, .72); backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); background: rgba(251, 248, 244, .9); box-shadow: 0 6px 30px -18px rgba(59, 42, 34, .25); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark { display: block; width: 22px; transform: rotate(-12deg); transition: transform .6s var(--ease-spring); }
.logo:hover .logo-mark { transform: rotate(8deg) scale(1.1); }
.logo-word { font-family: var(--serif); font-size: 1.75rem; font-weight: 500; letter-spacing: .01em; line-height: 1; }
.logo-word em { color: var(--rosegold-deep); }
.main-nav { display: flex; gap: 4px; margin-inline: auto; }
.main-nav a { position: relative; padding: 10px 14px; font-size: .88rem; font-weight: 500; color: var(--ink-2); border-radius: 999px; transition: color .25s, background .25s; }
.main-nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 1.5px; background: var(--rosegold); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.main-nav a:hover, .main-nav a.active { color: var(--ink); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 4px; }
.icon-btn { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; transition: background .25s, transform .3s var(--ease); }
.icon-btn:hover { background: var(--cream); }
.icon-btn svg { width: 22px; height: 22px; }
.menu-btn { display: none; }
.cart-count {
  position: absolute; top: 4px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px;
  background: var(--rosegold-deep); color: #fff; font-size: .66rem; font-weight: 700; display: grid; place-items: center;
  transform: scale(0); transition: transform .4s var(--ease-spring);
}
.cart-count.show { transform: scale(1); }
.cart-count.show.bump { animation: bump .5s var(--ease-spring); }
@keyframes bump { 40% { transform: scale(1.45); } }
.cur-wrap { display: inline-flex; align-items: center; gap: 4px; padding: 0 6px 0 10px; height: 38px; border: 1px solid var(--line); border-radius: 999px; font-size: .8rem; font-weight: 600; cursor: pointer; transition: border-color .25s; }
.cur-wrap:hover { border-color: var(--line-strong); }
.cur-wrap svg { width: 16px; height: 16px; color: var(--muted); }
.cur-wrap select { border: 0; background: transparent; font-weight: 600; cursor: pointer; padding: 4px 2px; outline: none; }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--ivory); display: flex; flex-direction: column; padding: 18px 24px 28px;
  clip-path: circle(0% at 40px 40px); transition: clip-path .7s var(--ease); visibility: hidden;
}
.mobile-menu.open { clip-path: circle(150% at 40px 40px); visibility: visible; }
.mm-head { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu nav { display: flex; flex-direction: column; margin-top: 40px; }
.mobile-menu nav a {
  font-family: var(--serif); font-size: 2.3rem; padding: 8px 0; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.mobile-menu.open nav a { opacity: 1; transform: none; transition-delay: calc(.15s + var(--i) * .05s); }
.mm-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; }

/* ---------- Drawer ---------- */
.drawer-overlay { position: fixed; inset: 0; z-index: 80; background: rgba(29, 25, 23, .35); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.drawer-overlay.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 85; width: min(440px, 100%); background: var(--ivory);
  display: flex; flex-direction: column; transform: translateX(100%); visibility: hidden;
  transition: transform .6s var(--ease), box-shadow .6s, visibility 0s .6s;
}
.drawer.open { transform: none; visibility: visible; box-shadow: var(--shadow-lg); transition: transform .6s var(--ease), box-shadow .6s, visibility 0s; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; }
.drawer-count { font-family: var(--sans); font-size: .9rem; color: var(--muted); }
.ship-meter { padding: 16px 24px; background: var(--cream); font-size: .84rem; }
.ship-msg { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ship-msg svg { width: 16px; color: #3c8c5a; }
.ship-meter .bar { margin-top: 10px; height: 4px; border-radius: 4px; background: rgba(29, 25, 23, .08); overflow: hidden; }
.ship-meter .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--rosegold-deep), var(--rosegold)); border-radius: inherit; transition: width .8s var(--ease); }
.drawer-items { flex: 1; overflow-y: auto; padding: 8px 24px; }
.cart-line { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); animation: lineIn .5s var(--ease) both; }
@keyframes lineIn { from { opacity: 0; transform: translateX(16px); } }
.line-art { position: relative; width: 84px; height: 84px; border-radius: var(--radius-sm); display: grid; place-items: center; padding: 6px; }
.line-art svg, .line-art img { width: 100%; height: 100%; object-fit: cover; }
.line-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.line-name { font-weight: 600; font-size: .93rem; line-height: 1.3; }
.line-end { display: flex; flex-direction: column; align-items: end; justify-content: space-between; font-weight: 600; font-size: .93rem; }
.drawer-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer-foot .row { display: flex; justify-content: space-between; font-size: 1.05rem; }
.empty { text-align: center; padding: 60px 10px; display: grid; justify-items: center; gap: 10px; }
.empty.wide { grid-column: 1 / -1; padding: 80px 10px; }
.empty-art { width: 60px; margin-bottom: 6px; animation: float 4s ease-in-out infinite; }
.empty h4 { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; }
.empty .btn { margin-top: 10px; }

/* ---------- Qty ---------- */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; height: 54px; }
.qty button { width: 44px; height: 100%; display: grid; place-items: center; border-radius: 999px; transition: background .2s; }
.qty button:hover { background: var(--cream); }
.qty svg { width: 16px; }
.qty span { min-width: 26px; text-align: center; font-weight: 600; }
.qty.sm { height: 34px; margin-top: 8px; width: max-content; }
.qty.sm button { width: 32px; }
.qty.sm svg { width: 13px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 100; display: flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .88rem; box-shadow: var(--shadow-lg);
  transform: translate(-50%, 140%); opacity: 0; transition: transform .6s var(--ease-spring), opacity .4s; pointer-events: none; max-width: calc(100% - 32px);
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast svg { width: 18px; flex-shrink: 0; color: var(--rosegold); }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="fade"] { transform: none; }
[data-reveal="scale"] { transform: scale(.94); }
.split-line { display: block; overflow: hidden; padding-bottom: .06em; }
.split-line > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); transition-delay: var(--d, 0ms); }
.in .split-line > span, .split-line.in > span { transform: none; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Category tints ---------- */
.tint-machines { background: radial-gradient(120% 90% at 50% 15%, #fff 0%, #f6ebe3 55%, #ecdcd0 100%); }
.tint-supplies { background: radial-gradient(120% 90% at 50% 15%, #fffdfb 0%, #f1eae2 60%, #e4d9cd 100%); }
.tint-gel { background: radial-gradient(120% 90% at 50% 15%, #fff7f5 0%, #f5e2dc 60%, #ebcfc6 100%); }
.tint-tools { background: radial-gradient(120% 90% at 50% 15%, #fbf9ff 0%, #ece7f3 60%, #ddd5ea 100%); }
.tint-pressons { background: radial-gradient(120% 90% at 50% 15%, #fff8fa 0%, #f6e4e9 60%, #ebd0d8 100%); }
.tint-care { background: radial-gradient(120% 90% at 50% 15%, #fffcf5 0%, #f4ebd9 60%, #e8dbc0 100%); }

/* =========================================================
   HOME
   ========================================================= */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 110px); }
.hero::before {
  content: ""; position: absolute; width: 900px; height: 900px; right: -260px; top: -280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 217, 210, .9), rgba(239, 217, 210, 0) 65%); pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero-copy .eyebrow { margin-bottom: 26px; }
.hero h1 { margin-bottom: 26px; }
.hero-lead { font-size: 1.12rem; color: var(--ink-2); max-width: 480px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 36px; margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--line); max-width: 520px; }
.hero-meta div { display: grid; gap: 2px; }
.hero-meta strong { font-family: var(--serif); font-size: 2.2rem; font-weight: 500; line-height: 1; }
.hero-meta span { font-size: .8rem; color: var(--muted); }
.hero-visual { position: relative; aspect-ratio: 1; max-width: 600px; justify-self: center; width: 100%; }
.hero-ring { position: absolute; inset: 6%; border-radius: 50%; border: 1px solid rgba(201, 147, 122, .35); }
.hero-ring.r2 { inset: -2%; border-style: dashed; border-color: rgba(201, 147, 122, .25); animation: spin 60s linear infinite; }
.hero-disc { position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #f3e3d8 60%, #e8cfc1); box-shadow: inset 0 -30px 60px rgba(168, 115, 92, .12); }
@keyframes spin { to { transform: rotate(360deg); } }
#hero-machine { position: absolute; inset: 4%; transition: transform .6s var(--ease), opacity .38s var(--ease), filter .38s; will-change: transform; }
.hero-visual [data-tilt-target] { transition: transform .6s var(--ease); }
#hero-machine.swap { opacity: .0; filter: blur(6px); }
#hero-machine .nm-machine { animation: float 6s ease-in-out infinite; }
.float-chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px;
  background: rgba(255, 255, 255, .82); backdrop-filter: blur(12px); box-shadow: var(--shadow); font-size: .82rem; line-height: 1.25;
  animation: float 5s ease-in-out infinite;
}
.float-chip strong { display: block; font-size: .92rem; }
.float-chip .dot { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--cream); color: var(--rosegold-deep); }
.float-chip .dot svg { width: 18px; }
.float-chip.c1 { top: 16%; left: -4%; animation-delay: -1s; }
.float-chip.c2 { bottom: 14%; right: -2%; animation-delay: -3s; }
.float-chip.c3 { bottom: 4%; left: 6%; animation-delay: -2s; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #3c8c5a; box-shadow: 0 0 0 0 rgba(60, 140, 90, .5); animation: livedot 2s infinite; }
@keyframes livedot { 70% { box-shadow: 0 0 0 10px rgba(60, 140, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(60, 140, 90, 0); } }

/* Machine SVG animation hooks */
.nm-machine .nm-scan { animation: scan 2.4s var(--ease) infinite; }
@keyframes scan { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .95; } 85% { opacity: .95; } 100% { transform: translateY(var(--scan, 70px)); opacity: 0; } }
.nm-machine .nm-scr-nail { transform-box: fill-box; transform-origin: center; }
.nm-machine .nm-scr-nail.sel { animation: selPulse 2.4s ease-in-out infinite; }
@keyframes selPulse { 50% { transform: scale(1.06); } }
.nm-machine .nm-finger, .nm-machine .nm-finger-nail { animation: finger 6s var(--ease) infinite; }
@keyframes finger { 0%, 100% { transform: translateY(14px); } 20%, 80% { transform: translateY(0); } }
.nm-glow { animation: glow 3s ease-in-out infinite; }
@keyframes glow { 50% { opacity: .55; } }

/* Marquee */
.marquee { border-block: 1px solid var(--line); background: var(--cream); overflow: hidden; padding: 22px 0; }
.mq-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .mq-track { animation-play-state: paused; }
.mq-item { display: inline-flex; align-items: center; gap: 16px; padding: 0 34px; font-family: var(--serif); font-size: 1.7rem; font-style: italic; white-space: nowrap; color: var(--ink-2); }
.mq-item i { width: 16px; transform: rotate(-14deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Categories */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; min-height: 230px; border-radius: var(--radius); overflow: hidden; padding: 20px 26px 20px 10px; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.cat:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cat-art { aspect-ratio: 1; transition: transform .8s var(--ease); }
.cat:hover .cat-art { transform: scale(1.08) rotate(-3deg); }
.cat-text h3 { font-family: var(--serif); font-size: 1.65rem; font-weight: 500; margin-bottom: 8px; }
.cat-text p { font-size: .86rem; color: var(--ink-2); margin-bottom: 14px; }
.cat-link { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.cat-link svg { width: 15px; transition: transform .4s var(--ease); }
.cat:hover .cat-link svg { transform: translateX(5px); }

/* Product grid & cards */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; }
.card { position: relative; display: flex; flex-direction: column; }
.card-media { position: relative; display: block; aspect-ratio: 4 / 4.6; border-radius: var(--radius); overflow: hidden; }
.card-art { position: absolute; inset: 8%; display: grid; place-items: center; transition: transform .9s var(--ease); }
.card-art svg, .card-art img { width: 100%; height: 100%; object-fit: contain; }
.card-media img { object-fit: cover; }
.card:hover .card-art { transform: scale(1.07) translateY(-4px); }
.badge { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .85); backdrop-filter: blur(6px); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.card-top { position: relative; }
.quick-add {
  position: absolute; z-index: 3; left: 12px; right: 12px; bottom: 12px;
  display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 999px; background: var(--ink); color: #fff;
  font-size: .85rem; font-weight: 600; opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease), transform .5s var(--ease), background .3s;
}
.quick-add svg { width: 16px; }
.quick-add:hover { background: var(--rosegold-deep); }
.card-body { padding: 16px 4px 0; display: grid; gap: 4px; }
.card-body .eyebrow { font-size: .64rem; letter-spacing: .18em; }
.card-body h3 { font-size: 1.02rem; }
.card-body h3 a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.card-body h3 a:hover { background-size: 100% 1px; }
.price { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; font-weight: 600; }
.compare { color: var(--muted); text-decoration: line-through; font-weight: 400; font-size: .88em; }

/* Steps */
.how { background: var(--ink); color: #f6eee8; overflow: hidden; }
.how .eyebrow { color: var(--rosegold); }
.how h2 em { color: var(--rosegold); }
.how .section-head .lead { color: rgba(246, 238, 232, .65); }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.steps::before { content: ""; position: absolute; top: 37px; left: 8%; right: 8%; height: 1px; background: rgba(255, 255, 255, .14); }
.steps .progress { position: absolute; top: 37px; left: 8%; height: 1px; width: 0; background: linear-gradient(90deg, var(--rosegold), #f0c7b1); transition: width 2.4s var(--ease) .3s; }
.steps.in .progress { width: 84%; }
.step { position: relative; padding: 0 12px; text-align: center; }
.step-num {
  position: relative; z-index: 1; width: 74px; height: 74px; margin: 0 auto 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); border: 1px solid rgba(255, 255, 255, .2); font-family: var(--serif); font-size: 1.9rem; font-style: italic; color: var(--rosegold);
  transition: background .6s var(--ease), color .6s, border-color .6s; transition-delay: calc(var(--d) * 6);
}
.steps.in .step-num { background: var(--rosegold); color: var(--ink); border-color: var(--rosegold); }
.step h3 { font-family: var(--serif); font-size: 1.8rem; font-weight: 500; margin-bottom: 10px; }
.step p { color: rgba(246, 238, 232, .66); max-width: 300px; margin-inline: auto; }
.how-visual { margin-top: 70px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.how-card { border-radius: var(--radius); padding: 32px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); display: flex; gap: 22px; align-items: center; }
.how-card h4 { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; margin-bottom: 6px; }
.how-card p { color: rgba(246, 238, 232, .66); font-size: .92rem; }
.how-card .ic { flex-shrink: 0; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(201, 147, 122, .16); color: var(--rosegold); }
.how-card .ic svg { width: 26px; }

/* Design gallery */
.design-gallery { display: grid; grid-template-columns: repeat(9, 1fr); gap: 14px; }
.design { margin: 0; display: grid; gap: 12px; justify-items: center; text-align: center; cursor: default; }
.design-nail {
  position: relative; width: 100%; aspect-ratio: .62; border-radius: 999px 999px 26px 26px; display: grid; place-items: center; padding: 18% 22%;
  background: var(--cream); transition: transform .6s var(--ease-spring), background .5s;
}
.design-nail::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--g); opacity: 0; transition: opacity .5s var(--ease); }
.design-nail svg { position: relative; transition: transform .6s var(--ease-spring); filter: drop-shadow(0 10px 14px rgba(59, 42, 34, .18)); }
.design:hover .design-nail { transform: translateY(-10px); }
.design:hover .design-nail::before { opacity: .28; }
.design:hover .design-nail svg { transform: rotate(-8deg) scale(1.08); }
.design figcaption { font-size: .76rem; font-weight: 600; line-height: 1.3; color: var(--ink-2); }

/* Compare */
.compare-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.compare-table th, .compare-table td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); font-size: .92rem; }
.compare-table thead th { vertical-align: bottom; padding-top: 28px; }
.compare-table thead th strong { display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 500; }
.compare-table thead th span { color: var(--muted); font-weight: 400; font-size: .82rem; }
.compare-table tbody th { font-weight: 500; color: var(--muted); width: 22%; }
.compare-table tr:last-child td, .compare-table tr:last-child th { border-bottom: 0; }
.compare-table .hl { background: linear-gradient(180deg, rgba(239, 217, 210, .45), rgba(239, 217, 210, .2)); }
.compare-table .tick { color: #3c8c5a; }
.compare-table .tick svg, .compare-table .x svg { width: 18px; }
.compare-table .x { color: #c5b8ae; }

/* Social / community */
.community { background: linear-gradient(180deg, var(--ivory), var(--cream)); }
.community-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.stat-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat {
  position: relative; padding: 28px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.stat:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.stat .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px; color: #fff; }
.stat .ic svg { width: 22px; }
.stat.fb .ic { background: #1877f2; }
.stat.ig .ic { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); }
.stat.tt .ic { background: #111; }
.stat.mail .ic { background: var(--rosegold-deep); }
.stat strong { display: block; font-family: var(--serif); font-size: 2.8rem; font-weight: 500; line-height: 1; }
.stat span { color: var(--muted); font-size: .86rem; }
.stat .go { position: absolute; top: 24px; right: 24px; width: 18px; color: var(--muted); transition: transform .4s var(--ease), color .3s; }
.stat:hover .go { transform: translate(3px, -3px) rotate(-45deg); color: var(--ink); }

/* Trust */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust div { display: flex; gap: 14px; align-items: center; padding: 30px 24px; }
.trust div + div { border-left: 1px solid var(--line); }
.trust svg { width: 30px; flex-shrink: 0; color: var(--rosegold-deep); }
.trust strong { display: block; font-size: .95rem; }
.trust span { font-size: .82rem; color: var(--muted); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq-side { position: sticky; top: calc(var(--header-h) + 30px); }
.faq-side p { margin: 18px 0 26px; color: var(--muted); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font-weight: 600; font-size: 1.02rem;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: ""; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: linear-gradient(var(--ink), var(--ink)) center / 10px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 10px no-repeat;
  transition: transform .4s var(--ease), background-color .3s;
}
.acc details[open] summary::after { transform: rotate(135deg); background-color: var(--cream); }
.acc details > *:not(summary) { padding-bottom: 22px; color: var(--ink-2); animation: accIn .5s var(--ease); }
@keyframes accIn { from { opacity: 0; transform: translateY(-8px); } }
.acc details p + p { margin-top: 10px; }
.acc a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #e9ddd5; padding-top: 90px; margin-top: 0; overflow: hidden; }
.footer-cta { display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; padding-bottom: 70px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-cta h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); color: #fff; }
.footer-cta h2 em { color: var(--rosegold); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-actions svg { width: 18px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding: 60px 0; }
.footer-grid h4 { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--rosegold); margin-bottom: 18px; }
.footer-grid a { display: block; padding: 5px 0; color: rgba(233, 221, 213, .72); font-size: .92rem; transition: color .25s, transform .3s var(--ease); }
.footer-grid a:hover { color: #fff; transform: translateX(3px); }
.f-brand .logo-word { color: #fff; }
.footer-grid a.logo { display: inline-flex; padding: 0; }
.footer-grid a.logo:hover { transform: none; }
.f-brand p { margin: 18px 0 22px; color: rgba(233, 221, 213, .6); max-width: 320px; font-size: .92rem; }
.f-contact { margin-top: 14px; display: grid; gap: 2px; font-size: .86rem; color: rgba(233, 221, 213, .55); }
.socials { display: flex; gap: 8px; }
.socials a { width: 42px; height: 42px; display: grid !important; place-items: center; border-radius: 50%; border: 1px solid currentColor; opacity: .8; padding: 0 !important; transition: background .3s, color .3s, transform .4s var(--ease-spring), opacity .3s !important; }
.socials a:hover { opacity: 1; transform: translateY(-3px) !important; background: var(--rosegold); border-color: var(--rosegold); color: #fff; }
.socials svg { width: 18px; }
.mobile-menu .socials a { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding: 24px 0 34px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .8rem; color: rgba(233, 221, 213, .5); }
.pay-note { display: inline-flex; align-items: center; gap: 8px; }
.pay-note svg { width: 16px; }

/* =========================================================
   INNER PAGES
   ========================================================= */
.page-hero { padding: clamp(50px, 7vw, 90px) 0 clamp(30px, 4vw, 50px); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -380px; border-radius: 50%; background: radial-gradient(circle, rgba(239, 217, 210, .85), rgba(239, 217, 210, 0) 65%); }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(2.8rem, 6vw, 5rem); margin: 16px 0 16px; }
.page-hero p { color: var(--muted); max-width: 540px; font-size: 1.06rem; }
.crumbs { display: flex; gap: 10px; font-size: .8rem; color: var(--muted); margin-bottom: 26px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }

/* Shop */
.shop-bar { position: sticky; top: var(--header-h); z-index: 20; background: rgba(251, 248, 244, .92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.shop-bar .wrap { display: flex; gap: 16px; align-items: center; padding: 14px 0; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1; padding: 2px 30px 2px 2px; -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); mask-image: linear-gradient(90deg, #000 90%, transparent); }
.chips::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .84rem; font-weight: 500; white-space: nowrap; transition: all .3s var(--ease); }
.chip span { font-size: .7rem; color: var(--muted); transition: color .3s; }
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.active span { color: rgba(255, 255, 255, .6); }
.shop-tools { display: flex; gap: 10px; align-items: center; }
.field-inline { position: relative; }
.field-inline svg { position: absolute; left: 14px; top: 50%; width: 17px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.field-inline input { height: 44px; width: 220px; padding: 0 14px 0 40px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; outline: none; transition: border-color .3s, width .4s var(--ease); }
.field-inline input:focus { border-color: var(--ink); width: 260px; }
.select { height: 44px; padding: 0 36px 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2385766d' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center / 16px no-repeat; appearance: none; cursor: pointer; font-size: .86rem; }
.shop-meta { display: flex; justify-content: space-between; align-items: center; padding: 26px 0 22px; font-size: .86rem; color: var(--muted); }

/* Product detail */
.pdp-section { padding: 30px 0 90px; }
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.pdp-media { position: sticky; top: calc(var(--header-h) + 20px); border-radius: 28px; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.pdp-art { width: 80%; height: 80%; transition: transform .6s var(--ease), opacity .2s, filter .2s; }
.pdp-art.swap { opacity: 0; filter: blur(4px); }
.pdp-art svg, .pdp-art img { width: 100%; height: 100%; object-fit: contain; }
.pdp-media .nm-machine { animation: float 6s ease-in-out infinite; }
.pdp-designs { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .8); backdrop-filter: blur(8px); box-shadow: var(--shadow-sm); }
.dz { width: 22px; height: 22px; border-radius: 50%; background: var(--g); box-shadow: inset 0 0 0 2px #fff; outline: 1.5px solid transparent; transition: transform .3s var(--ease-spring), outline-color .3s; }
.dz:hover { transform: scale(1.18); }
.dz.on { outline-color: var(--ink); }
.pdp-designs .muted { margin-left: 4px; white-space: nowrap; }
.pdp-info h1 { font-size: clamp(2.4rem, 4.4vw, 3.8rem); margin: 14px 0 6px; }
.pdp-sub { color: var(--muted); font-size: 1.05rem; }
.pdp-price { display: flex; align-items: baseline; gap: 14px; margin: 22px 0; font-size: 1.7rem; font-weight: 600; flex-wrap: wrap; }
.save { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--blush); color: var(--rosegold-deep); }
.pdp-desc { color: var(--ink-2); font-size: 1.02rem; margin-bottom: 28px; }
.opt { margin-bottom: 26px; }
.opt-label { display: block; font-size: .88rem; margin-bottom: 12px; color: var(--muted); }
.opt-label strong { color: var(--ink); font-weight: 600; }
.swatches { display: flex; gap: 12px; }
.swatch { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--a) 50%, var(--b) 50%); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); outline: 1.5px solid transparent; outline-offset: 4px; transition: outline-color .3s, transform .3s var(--ease-spring); }
.swatch:hover { transform: scale(1.08); }
.swatch.on { outline-color: var(--ink); }
.buy-row { display: flex; gap: 12px; margin-bottom: 12px; }
.ask-mail { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 16px 0 6px; font-size: .88rem; font-weight: 600; color: var(--rosegold-deep); }
.ask-mail svg { width: 18px; }
.ask-mail:hover { text-decoration: underline; text-underline-offset: 3px; }
.perks { list-style: none; padding: 22px 0; margin: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: .9rem; }
.perks li { display: flex; align-items: center; gap: 12px; }
.perks svg { width: 20px; color: var(--rosegold-deep); flex-shrink: 0; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: start; }
.ticks svg { width: 18px; flex-shrink: 0; margin-top: 3px; color: var(--rosegold-deep); }
.specs { margin: 0; display: grid; }
.specs div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.specs div:last-child { border: 0; }
.specs dt { color: var(--muted); font-size: .88rem; }
.specs dd { margin: 0; font-weight: 500; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: rgba(251, 248, 244, .95); backdrop-filter: blur(14px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .5s var(--ease); }
.sticky-buy.show { transform: none; }
.sb-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; }
.sb-inner div { display: grid; font-size: .9rem; }
.sb-inner .btn { min-height: 46px; }

/* Checkout */
.checkout-grid { display: grid; grid-template-columns: 1.2fr .9fr; gap: 50px; align-items: start; padding-bottom: 100px; }
.checkout-grid.hide { display: none; }
.form-card { display: grid; gap: 34px; }
.form-card fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; }
.form-card legend { font-family: var(--serif); font-size: 1.8rem; font-weight: 500; margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.form-card legend span { font-family: var(--sans); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: .8rem; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row3 { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 14px; }
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%; height: 58px; padding: 22px 16px 6px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; outline: none;
  transition: border-color .3s, box-shadow .3s; appearance: none;
}
.field textarea { height: 110px; padding-top: 26px; resize: vertical; }
.field label { position: absolute; left: 17px; top: 18px; font-size: .95rem; color: var(--muted); pointer-events: none; transition: all .25s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(201, 147, 122, .15); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { top: 8px; font-size: .7rem; font-weight: 600; letter-spacing: .04em; }
.field select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2385766d' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat; cursor: pointer; }
.pay-opts { display: grid; gap: 10px; }
.pay-opt { position: relative; display: flex; gap: 14px; align-items: center; padding: 18px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); cursor: pointer; background: #fff; transition: border-color .3s, box-shadow .3s; }
.pay-opt input { position: absolute; opacity: 0; }
.pay-opt .radio { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-strong); flex-shrink: 0; display: grid; place-items: center; transition: border-color .3s; }
.pay-opt .radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); transform: scale(0); transition: transform .3s var(--ease-spring); }
.pay-opt:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(201, 147, 122, .12); }
.pay-opt:has(input:checked) .radio { border-color: var(--ink); }
.pay-opt:has(input:checked) .radio::after { transform: scale(1); }
.pay-opt strong { display: block; font-size: .95rem; }
.pay-opt small { color: var(--muted); }
.summary { position: sticky; top: calc(var(--header-h) + 24px); padding: 30px; border-radius: var(--radius); background: var(--cream); }
.summary h3 { font-family: var(--serif); font-size: 1.8rem; font-weight: 500; margin-bottom: 18px; }
.sum-lines { display: grid; gap: 14px; max-height: 340px; overflow-y: auto; padding: 8px 8px 4px 0; }
.sum-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; font-size: .9rem; }
.sum-line > div:nth-child(2) { display: grid; line-height: 1.35; }
.sum-line .line-art { width: 64px; height: 64px; }
.sum-line .q { position: absolute; top: -7px; right: -7px; min-width: 22px; height: 22px; border-radius: 11px; background: var(--ink); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; }
.sum-rows { margin: 22px 0 14px; padding-top: 18px; border-top: 1px solid var(--line-strong); display: grid; gap: 10px; }
.sum-rows .row { display: flex; justify-content: space-between; font-size: .94rem; }
.sum-rows .total { margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--line-strong); font-size: 1.3rem; font-weight: 700; }
.sum-rows .total small { font-size: .7rem; color: var(--muted); font-weight: 500; }
.done { display: none; max-width: 640px; margin: 0 auto; padding: clamp(60px, 9vw, 110px) 0 120px; text-align: center; }
.done.show { display: block; animation: accIn .8s var(--ease); }
.done-check { width: 92px; height: 92px; margin: 0 auto 26px; border-radius: 50%; background: var(--ink); color: var(--rosegold); display: grid; place-items: center; }
.done-check svg { width: 42px; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .8s var(--ease) .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 14px; }
.done p { color: var(--ink-2); margin-bottom: 10px; }
.done .order-id { display: inline-block; margin: 10px 0 28px; padding: 8px 16px; border-radius: 999px; background: var(--cream); font-weight: 700; letter-spacing: .08em; }
.done-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }

/* About */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.story-media { position: relative; aspect-ratio: 4 / 5; border-radius: 30px; overflow: hidden; display: grid; place-items: center; }
.story-media .nm-art { width: 82%; }
.story-copy p { color: var(--ink-2); font-size: 1.06rem; margin-top: 18px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value { padding: 36px 30px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value .num { font-family: var(--serif); font-size: 3rem; font-style: italic; color: var(--rosegold); line-height: 1; }
.value h3 { font-family: var(--serif); font-size: 1.8rem; font-weight: 500; margin: 18px 0 10px; }
.value p { color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; padding-bottom: 110px; }
.contact-cards { display: grid; gap: 14px; }
.c-card { display: flex; gap: 18px; align-items: center; padding: 24px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
a.c-card:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.c-card .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--cream); color: var(--rosegold-deep); flex-shrink: 0; }
.c-card .ic svg { width: 24px; }
.c-card small { display: block; color: var(--muted); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.c-card strong, .c-card a { font-weight: 600; word-break: break-word; }
.contact-form { padding: 36px; border-radius: 28px; background: var(--cream); display: grid; gap: 14px; }
.contact-form h2 { font-size: 2.4rem; margin-bottom: 8px; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }

/* Policies */
.policy-grid { display: grid; grid-template-columns: 240px 1fr; gap: 60px; padding-bottom: 110px; align-items: start; }
.policy-nav { position: sticky; top: calc(var(--header-h) + 30px); display: grid; gap: 4px; }
.policy-nav a { padding: 10px 16px; border-radius: 12px; font-size: .92rem; color: var(--muted); transition: background .25s, color .25s; }
.policy-nav a:hover, .policy-nav a.on { background: var(--cream); color: var(--ink); }
.policy { scroll-margin-top: calc(var(--header-h) + 30px); padding-bottom: 50px; margin-bottom: 50px; border-bottom: 1px solid var(--line); }
.policy:last-child { border: 0; }
.policy h2 { font-size: 2.6rem; margin-bottom: 18px; }
.policy h3 { margin: 26px 0 8px; }
.policy p, .policy li { color: var(--ink-2); }
.policy p + p { margin-top: 12px; }
.policy ul { padding-left: 20px; display: grid; gap: 6px; }
.note { padding: 16px 18px; border-radius: var(--radius-sm); background: var(--cream); font-size: .9rem; margin-top: 18px; }

/* 404 */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.nf .big { font-family: var(--serif); font-size: clamp(6rem, 20vw, 14rem); line-height: .9; font-style: italic; color: var(--rosegold); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .main-nav { display: none; }
  .menu-btn { display: grid; }
  .header-inner { gap: 8px; }
  .logo { margin-right: auto; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .design-gallery { grid-template-columns: repeat(5, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .trust div:nth-child(3) { border-left: 0; }
  .trust div:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .hero-grid, .community-grid, .faq-grid, .pdp, .checkout-grid, .story-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; order: -1; }
  .hero-meta { gap: 24px; }
  .pdp-media, .faq-side, .summary { position: relative; top: 0; }
  .summary { order: -1; }
  .steps { grid-template-columns: 1fr; gap: 50px; }
  .steps::before, .steps .progress { display: none; }
  .how-visual { grid-template-columns: 1fr; }
  .policy-grid { grid-template-columns: 1fr; gap: 20px; }
  .policy-nav { position: relative; top: 0; display: flex; overflow-x: auto; }
  .policy-nav a { white-space: nowrap; }
  .values { grid-template-columns: 1fr; }
  .shop-bar .wrap { flex-wrap: wrap; }
  .shop-tools { width: 100%; }
  .field-inline { flex: 1; }
  .field-inline input, .field-inline input:focus { width: 100%; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .wrap { width: calc(100% - 32px); }
  .cur-wrap { display: none; }
  .mobile-menu .cur-wrap { display: inline-flex; }
  .logo-word { font-size: 1.5rem; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .card-media { border-radius: 16px; }
  .card-body h3 { font-size: .92rem; }
  .quick-add span { display: none; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat { min-height: 180px; }
  .design-gallery { grid-template-columns: repeat(3, 1fr); }
  .stat-cards { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px; }
  .stat strong { font-size: 2.1rem; }
  .trust { grid-template-columns: 1fr; }
  .trust div + div { border-left: 0; border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .f-brand { grid-column: 1 / -1; }
  .row2, .row3 { grid-template-columns: 1fr; }
  .hero-visual { max-width: 360px; }
  .float-chip { font-size: .72rem; padding: 9px 12px; }
  .float-chip .dot { width: 28px; height: 28px; }
  .float-chip.c1 { left: 0; }
  .float-chip.c2 { right: 0; }
  .hero-meta strong { font-size: 1.8rem; }
  .buy-row { flex-direction: column; }
  .qty { align-self: start; }
  .contact-form { padding: 24px; }
  .pdp-designs .muted { display: none; }
}

/* Hover-capable: reveal quick-add on hover; touch: always visible */
@media (hover: hover) {
  .card:hover .quick-add { opacity: 1; transform: none; }
}
@media (hover: none) {
  .quick-add { opacity: 1; transform: none; width: 42px; height: 42px; left: auto; right: 10px; padding: 0; }
  .quick-add span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  body { opacity: 1; }
}

/* ---------- Card payment (checkout) ---------- */
.card-box { display: grid; gap: 14px; padding: 22px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; }
.card-box-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.card-box-title { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.card-box-title svg { width: 22px; color: var(--rosegold-deep); }
.card-brands { display: flex; gap: 6px; }
.card-brands i { font-style: normal; font-size: .62rem; font-weight: 800; letter-spacing: .06em; padding: 5px 8px; border-radius: 6px; border: 1px solid var(--line-strong); color: var(--muted); transition: all .3s var(--ease); }
.card-brands i.on { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(-2px); }
.test-note { font-size: .82rem; line-height: 1.5; padding: 12px 14px; border-radius: 12px; background: #fff6e5; border: 1px solid #f1dcae; color: #6b5420; }
.test-note code { font-family: ui-monospace, Consolas, monospace; font-size: .8rem; background: rgba(255, 255, 255, .7); padding: 1px 6px; border-radius: 5px; white-space: nowrap; }
.test-note.center { text-align: center; max-width: 520px; margin: 18px auto 0; }
.card-num input { padding-right: 110px; letter-spacing: .06em; }
.brand-badge { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: .72rem; font-weight: 800; letter-spacing: .08em; color: var(--rosegold-deep); }
.pay-btn { min-height: 60px; font-size: 1rem; }
.pay-btn .pay-busy { display: none; align-items: center; gap: 10px; }
.pay-btn.busy .pay-label { display: none; }
.pay-btn.busy .pay-busy { display: inline-flex; }
.pay-btn.busy { pointer-events: none; opacity: .92; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .8s linear infinite; }
.done .eyebrow { margin-bottom: 14px; }
.receipt { text-align: left; max-width: 460px; margin: 0 auto 10px; padding: 22px 24px; border-radius: var(--radius); background: var(--cream); display: grid; gap: 10px; font-size: .92rem; }
.r-row { display: flex; justify-content: space-between; gap: 16px; }
.r-row.total { padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--line-strong); font-weight: 700; font-size: 1.05rem; }
.r-meta { display: flex; justify-content: space-between; gap: 16px; font-size: .84rem; color: var(--muted); }
.r-meta strong { color: var(--ink); font-weight: 600; text-align: right; }

/* ---------- Payment methods & validation ---------- */
.req-note { font-size: .82rem; color: var(--muted); margin-bottom: -14px; }
.req-note span, .agree span em { color: #b3403a; }
.pay-methods { display: grid; gap: 10px; }
.pm { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; cursor: pointer; transition: border-color .3s, box-shadow .3s, background .3s; }
.pm:hover { border-color: var(--ink); }
.pm input { position: absolute; opacity: 0; pointer-events: none; }
.pm .radio { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-strong); flex-shrink: 0; display: grid; place-items: center; transition: border-color .3s; }
.pm .radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); transform: scale(0); transition: transform .3s var(--ease-spring); }
.pm:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(201, 147, 122, .14); }
.pm:has(input:checked) .radio { border-color: var(--ink); }
.pm:has(input:checked) .radio::after { transform: scale(1); }
.pm:has(input:focus-visible) { outline: 2px solid var(--rosegold); outline-offset: 3px; }
.pm-text { display: grid; flex: 1; line-height: 1.35; }
.pm-text strong { font-size: .96rem; }
.pm-text small { color: var(--muted); font-size: .8rem; }
.pm-logo { margin-left: auto; }
.logo-stripe { font-family: var(--sans); font-weight: 800; font-size: 1.15rem; letter-spacing: -.03em; color: #635bff; }
.logo-paypal { font-family: var(--sans); font-weight: 800; font-style: italic; font-size: 1.1rem; color: #009cde; }
.logo-paypal em { color: #003087; font-style: italic; }
.pm-panel { margin-top: 4px; animation: accIn .45s var(--ease); }
.pm-panel[hidden] { display: none; }
.redirect-box { display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: var(--radius-sm); background: var(--cream); font-size: .9rem; color: var(--ink-2); }
.redirect-box b { flex-shrink: 0; font-size: 1.5rem; }
.agree { position: relative; display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--ink-2); cursor: pointer; flex-wrap: wrap; }
.agree input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; }
.agree .box { width: 22px; height: 22px; flex-shrink: 0; border-radius: 7px; border: 1.5px solid var(--line-strong); background: #fff; display: grid; place-items: center; transition: background .25s, border-color .25s; }
.agree .box::after { content: ""; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); margin-top: -3px; transition: transform .3s var(--ease-spring); }
.agree input:checked + .box { background: var(--ink); border-color: var(--ink); }
.agree input:checked + .box::after { transform: rotate(45deg) scale(1); }
.agree input:focus-visible + .box { outline: 2px solid var(--rosegold); outline-offset: 3px; }
.agree span:last-of-type { flex: 1; min-width: 0; }
.agree a { text-decoration: underline; text-underline-offset: 3px; }
.agree .err { flex-basis: 100%; margin-left: 34px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c2453d; box-shadow: 0 0 0 4px rgba(194, 69, 61, .1); }
.field.invalid label { color: #b3403a; }
.agree.invalid .box { border-color: #c2453d; }
.err { display: block; margin-top: 6px; font-size: .78rem; font-weight: 500; color: #b3403a; animation: accIn .35s var(--ease); }
.pay-msg { padding: 14px 16px; border-radius: var(--radius-sm); background: #fdf1ef; border: 1px solid #f0cdc8; color: #7a2e27; font-size: .88rem; line-height: 1.5; }
.pay-msg a { text-decoration: underline; }
.pay-msg[hidden] { display: none; }
@media (max-width: 640px) {
  .pm { flex-wrap: wrap; }
  .pm-logo { margin-left: 34px; }
  .redirect-box { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ---------- PayPal buttons ---------- */
.paypal-wrap { display: grid; gap: 12px; }
.paypal-wrap[hidden] { display: none; }
.pp-note { text-align: center; font-size: .88rem; color: var(--ink-2); }
#paypal-buttons { min-height: 56px; position: relative; z-index: 1; }
.pp-loading { display: flex; align-items: center; justify-content: center; gap: 10px; height: 56px; border-radius: 999px; background: var(--cream); font-size: .88rem; color: var(--muted); }
.spinner.dark { border-color: rgba(29, 25, 23, .15); border-top-color: var(--ink); }

/* ---------- Ad slots ---------- */
.ad-slot { display: none; }
.ad-slot.on { display: block; margin: 0 auto; padding: 28px 0; text-align: center; }
.ad-slot.labelled.on::before { content: "Advertisement"; display: block; margin-bottom: 8px; font-size: .64rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); opacity: .8; }
.ad-inner { display: flex; justify-content: center; align-items: center; max-width: 100%; overflow: hidden; }
.ad-inner iframe { display: block; border: 0; }
.ad-inner ins { width: 100%; }
.ad-band.on { border-block: 1px solid var(--line); background: rgba(245, 238, 230, .45); }
.prose .ad-slot.on { margin: 34px 0; padding: 18px 0; border-block: 1px solid var(--line); }

/* ---------- Cookie consent ---------- */
.consent {
  position: fixed; left: 20px; bottom: 20px; z-index: 95; width: min(440px, calc(100% - 40px)); padding: 22px; border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); font-size: .88rem; color: var(--ink-2);
  transform: translateY(130%); opacity: 0; transition: transform .6s var(--ease-spring), opacity .4s;
}
.consent.show { transform: none; opacity: 1; }
.consent p strong { color: var(--ink); }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.consent-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 16px; }
.consent-actions .btn { min-height: 44px; padding: 0 22px; }
.cookie-link { font-size: .8rem; color: rgba(233, 221, 213, .6); text-decoration: underline; text-underline-offset: 3px; }
.cookie-link:hover { color: #fff; }
@media (max-width: 640px) { .consent { left: 12px; bottom: 12px; width: calc(100% - 24px); } }

/* ---------- Journal (blog) ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 22px; }
.post-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-media { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden; }
.post-media .nails { display: flex; gap: 10px; align-items: flex-end; transition: transform .8s var(--ease); }
.post-media .nails svg { width: 46px; filter: drop-shadow(0 10px 14px rgba(59, 42, 34, .18)); }
.post-media .nails svg:nth-child(2) { width: 54px; transform: translateY(-10px); }
.post-card:hover .post-media .nails { transform: scale(1.08) rotate(-4deg); }
.post-body { padding: 22px 24px 26px; display: grid; gap: 10px; flex: 1; align-content: start; }
.post-body h3 { font-family: var(--serif); font-size: 1.55rem; font-weight: 500; line-height: 1.15; }
.post-body p { color: var(--muted); font-size: .9rem; }
.post-meta { display: flex; gap: 10px; font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--rosegold-deep); }
.article-hero { padding: clamp(40px, 6vw, 80px) 0 30px; text-align: center; }
.article-hero .crumbs { justify-content: center; }
.article-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); max-width: 900px; margin: 16px auto 18px; }
.article-hero .lede { max-width: 640px; margin: 0 auto; color: var(--ink-2); font-size: 1.12rem; }
.article-hero .post-meta { justify-content: center; margin-top: 22px; }
.article-cover { max-width: 980px; margin: 30px auto 0; aspect-ratio: 21 / 9; border-radius: 28px; display: grid; place-items: center; }
.article-cover .nails svg { width: 64px; }
.article-cover .nails svg:nth-child(2), .article-cover .nails svg:nth-child(4) { width: 72px; transform: translateY(-14px); }
.article-cover .nails svg:nth-child(3) { width: 82px; transform: translateY(-24px); }
.prose { max-width: 720px; margin: 0 auto; padding: 50px 0 40px; font-size: 1.06rem; line-height: 1.8; color: var(--ink-2); }
.prose h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin: 46px 0 14px; color: var(--ink); }
.prose h3 { font-size: 1.15rem; margin: 30px 0 8px; color: var(--ink); }
.prose p + p { margin-top: 18px; }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 8px; margin: 18px 0; }
.prose li::marker { color: var(--rosegold-deep); }
.prose strong { color: var(--ink); }
.prose a { color: var(--rosegold-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 30px 0; padding: 22px 26px; border-left: 3px solid var(--rosegold); background: var(--cream); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-family: var(--serif); font-size: 1.35rem; font-style: italic; line-height: 1.45; color: var(--ink); }
.prose .tip { margin: 28px 0; padding: 20px 22px; border-radius: var(--radius-sm); background: #fff; box-shadow: var(--shadow-sm); font-size: .96rem; }
.prose .tip strong { display: block; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--rosegold-deep); margin-bottom: 6px; }
.article-shop { max-width: 980px; margin: 0 auto; padding: 20px 0 30px; }
.article-shop .grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .posts, .article-shop .grid { grid-template-columns: 1fr 1fr; } .post-body h3 { font-size: 1.3rem; } .posts { grid-template-columns: 1fr; } }

/* ---------- Video hero (background reels) ---------- */
.video-hero { position: relative; overflow: hidden; min-height: clamp(380px, 46vw, 540px); display: flex; align-items: center; background: var(--ink); isolation: isolate; }
.video-hero::before { display: none; }
.video-hero .wrap { position: relative; z-index: 2; }
.reel { position: absolute; inset: -40px 0; z-index: 0; display: grid; grid-template-columns: repeat(var(--cols, 5), 1fr); gap: 10px; padding: 0 10px; }
.reel-col { position: relative; overflow: hidden; border-radius: 22px; transform: translateY(calc((var(--i) % 2) * 34px - 17px)); animation: reelIn 1.2s var(--ease) both; animation-delay: calc(var(--i) * 90ms); }
.reel-col video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: reelDrift 14s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -2s); }
@keyframes reelIn { from { opacity: 0; transform: translateY(60px) scale(.96); } }
@keyframes reelDrift { from { transform: scale(1.06) translateY(-10px); } to { transform: scale(1.12) translateY(10px); } }
/* Readability overlay: solid ivory on the text side, videos visible on the right */
.video-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(251, 248, 244, .97) 0%, rgba(251, 248, 244, .92) 34%, rgba(251, 248, 244, .45) 62%, rgba(251, 248, 244, .08) 100%),
    linear-gradient(0deg, var(--ivory) 0%, rgba(251, 248, 244, 0) 22%);
}
.video-hero h1, .video-hero p { max-width: 560px; }
@media (max-width: 760px) {
  .video-hero { min-height: 440px; align-items: flex-end; padding-bottom: 40px; }
  .video-hero::after { background: linear-gradient(0deg, rgba(251, 248, 244, .98) 0%, rgba(251, 248, 244, .9) 45%, rgba(251, 248, 244, .35) 100%); }
  .reel { gap: 8px; padding: 0 8px; }
}
@media (prefers-reduced-motion: reduce) { .reel-col, .reel-col video { animation: none !important; } }

/* ---------- Real product photos ---------- */
.card-media.photo { aspect-ratio: 3 / 4; background: var(--cream); }
.card-media.photo .card-art { inset: 0; }
.card-media.photo .card-art img { width: 100%; height: 100%; object-fit: cover; }
.card:hover .card-media.photo .card-art { transform: scale(1.05); }
.cat.photo { grid-template-columns: .9fr 1.1fr; padding: 14px 24px 14px 14px; gap: 20px; }
.cat.photo .cat-art { aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); }
.cat.photo .cat-art img { width: 100%; height: 100%; object-fit: cover; }
.cat.photo:hover .cat-art { transform: scale(1.04) rotate(-1.5deg); }
.pdp-media.photo { aspect-ratio: 3 / 4; background: var(--cream); }
.pdp-media.photo .pdp-art { width: 100%; height: 100%; }
.pdp-media.photo .pdp-art img { width: 100%; height: 100%; object-fit: cover; }
.line-art img { border-radius: 10px; object-fit: cover; }
.cart-line .line-art:has(img), .sum-line .line-art:has(img) { padding: 0; overflow: visible; }
.cart-line .line-art:has(img) img, .sum-line .line-art:has(img) img { border-radius: var(--radius-sm); }

/* Banner photos in the shop hero (non-printer sections) */
.reel-col img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: reelDrift 16s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -2.5s); }
.reel { transition: opacity .35s var(--ease); }
.reel.swapping { opacity: 0; }

/* ---------- 16:9 auto-swipe banner slider (shop sections except Printers) ---------- */
.reel.slides-mode { display: block; inset: 0; padding: 0; gap: 0; overflow: hidden; }
.slides-track { display: flex; height: 100%; transition: transform 1.1s cubic-bezier(.77, 0, .18, 1); will-change: transform; }
.slide { position: relative; flex: 0 0 100%; height: 100%; overflow: hidden; }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.08); transition: transform 6s ease-out; user-select: none; -webkit-user-drag: none; }
.slide.active img { transform: scale(1); }
/* Until the real 16:9 banner exists, show the product photo on the right side */
.slide.fallback { background: linear-gradient(115deg, var(--ivory) 0%, var(--cream) 55%, #ecdcd0 100%); }
.slide.fallback img { object-fit: contain; object-position: 86% 50%; padding: 36px 5% 36px 52%; filter: drop-shadow(0 24px 40px rgba(59, 42, 34, .18)); }
.slides-mode ~ .wrap { touch-action: pan-y; }
.slide-dots { position: absolute; z-index: 3; right: max(24px, calc((100% - var(--wrap)) / 2)); bottom: 30px; display: flex; gap: 8px; }
.slide-dots[hidden] { display: none; }
.slide-dots button { width: 9px; height: 9px; border-radius: 99px; background: rgba(29, 25, 23, .22); transition: width .5s var(--ease), background .3s; }
.slide-dots button:hover { background: rgba(29, 25, 23, .45); }
.slide-dots button.on { width: 28px; background: var(--ink); }
@media (max-width: 760px) {
  .slide.fallback img { object-position: 50% 0; padding: 22px 18% 52%; }
  .slide-dots { right: 50%; transform: translateX(50%); bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) { .slides-track, .slide img { transition: none !important; } }
/* On phones the wide banner is cropped — keep the right-side subject in view */
@media (max-width: 760px) { .slide:not(.fallback) img { object-position: 72% center; } }

/* ---------- Mobile polish ---------- */
/* Let the hero slider receive horizontal swipes while the page still scrolls vertically */
.video-hero { touch-action: pan-y; }
/* Bigger tap targets for small text links */
.ask-mail { padding: 10px 0; margin: 8px 0 0; }
.compare-table .text-link { padding: 10px 0; }
@media (max-width: 640px) {
  .card-body .eyebrow { font-size: .7rem; letter-spacing: .14em; }
  .badge { font-size: .7rem; padding: 6px 11px; }
  .float-chip small { font-size: .72rem; }
  .shop-meta { font-size: .82rem; gap: 10px; flex-wrap: wrap; }
  .hero-meta span { font-size: .78rem; }
}
/* Phones and tablets: always show the round "add to bag" button on product cards */
@media (max-width: 900px) {
  .quick-add { opacity: 1; transform: none; width: 42px; height: 42px; left: auto; right: 10px; bottom: 10px; padding: 0; }
  .quick-add span { display: none; }
}
/* Phones: lighter overlay so the banner/video stays visible; text area at the bottom stays readable */
@media (max-width: 760px) {
  .video-hero::after { background: linear-gradient(0deg, rgba(251, 248, 244, .97) 0%, rgba(251, 248, 244, .88) 36%, rgba(251, 248, 244, .25) 68%, rgba(251, 248, 244, 0) 100%); }
}

/* ---------- Banner after each row of products ---------- */
.ad-row { grid-column: 1 / -1; }
.ad-row.on { padding: 6px 0; margin: -6px 0; border-block: 1px solid var(--line); background: rgba(245, 238, 230, .45); border-radius: var(--radius-sm); }

/* ---------- Popup ad before another section ---------- */
.ad-pop { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; background: rgba(29, 25, 23, .55); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; }
.ad-pop.show { opacity: 1; visibility: visible; }
.ad-pop-box { width: min(380px, 100%); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 14px 16px 18px; display: grid; gap: 12px; justify-items: center; transform: translateY(20px) scale(.97); transition: transform .45s var(--ease-spring); }
.ad-pop.show .ad-pop-box { transform: none; }
.ad-pop-top { width: 100%; display: flex; justify-content: space-between; align-items: center; font-size: .66rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.ad-pop-close { font-size: .8rem; font-weight: 600; letter-spacing: 0; text-transform: none; padding: 7px 12px; border-radius: 999px; background: var(--cream); color: var(--ink); }
.ad-pop-close:disabled, .ad-pop-skip:disabled { opacity: .55; cursor: default; }
.ad-pop-ad { min-height: 250px; display: grid; place-items: center; }
.ad-pop-skip { width: 100%; min-height: 46px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: .9rem; }
.ad-pop-skip:not(:disabled):hover { background: var(--rosegold-deep); }

/* Ad slot still waiting for an ad: collapsed (takes no space) but kept loaded, so a late ad can still appear */
.ad-slot.on.waiting { height: 0; padding: 0; margin: 0; border: 0; overflow: hidden; }
.ad-slot.on.waiting::before { display: none; }
@media (max-width: 760px) {
  .ad-slot.on { padding: 18px 0; }
  .ad-row.on { margin: 0; }
  .ad-inner iframe { margin-inline: auto; }
}

/* ---------- Journal v2: photo covers, table of contents ---------- */
.article-cover.photo { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--cream); box-shadow: var(--shadow); }
.article-cover.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-media.photo { display: block; background: var(--cream); }
.post-media.photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.post-card:hover .post-media.photo img { transform: scale(1.05); }
.prose .toc { margin: 0 0 34px; padding: 22px 26px; background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); font-size: .95rem; }
.prose .toc strong { display: block; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--rosegold-deep); margin-bottom: 8px; }
.prose .toc ol { margin: 0; gap: 4px; }
.prose .toc a { color: var(--ink-2); text-decoration: none; }
.prose .toc a:hover { color: var(--rosegold-deep); text-decoration: underline; }
.prose h2[id] { scroll-margin-top: calc(var(--header-h) + 20px); }
.prose .faq h3 { margin-top: 24px; }
@media (max-width: 640px) { .article-cover.photo { border-radius: 18px; } .prose .toc { padding: 18px 20px; } }
