/* LN Design storefront. Colours are sampled from the brand's own paint artwork. */

:root {
  --blush: #dcab9c;
  --blush-soft: #f5e2d9;
  --blush-deep: #b9806f;
  --cream: #fbf6f1;
  --paper: #fffdfb;
  --ink: #2e2226;
  --ink-2: #4a3439;
  --ink-soft: #6a5a5f;
  --night: #1c1416;
  --line: rgba(46, 34, 38, 0.14);
  --lilac: #a79fa9;
  --lilac-soft: #ece7ef;
  --mint-soft: #e6efe4;
  --lime: #c7d74e;
  --coral: #e0633f;

  --font-display: 'Antonio', 'Arial Narrow', 'Helvetica Neue', sans-serif;
  --font-script: 'Sacramento', 'Snell Roundhand', cursive;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ease: cubic-bezier(0.22, 0.8, 0.2, 1);
  --header-h: 68px;
  --pad: clamp(18px, 4vw, 56px);
  --radius: 22px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html.is-locked { overflow: hidden; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--lime); color: var(--ink); }

svg[viewBox='0 0 24 24'] {
  width: 22px; height: 22px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}

.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; top: 10px; left: 10px; z-index: 200; padding: 12px 18px; background: var(--ink); color: var(--cream); border-radius: 999px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.noscript { padding: 40px var(--pad); text-align: center; }

/* ---------- layout ---------- */

.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--pad); }
.wrap--narrow { max-width: 860px; }
.center { text-align: center; }
.center .btn + .btn { margin-left: 10px; }
main { min-height: 70vh; outline: none; }

.section { padding-block: clamp(64px, 9vw, 136px); position: relative; }
.section--narrow { padding-block: clamp(56px, 7vw, 104px); }
.section--tint { background: var(--lilac-soft); }
.section--shop { padding-top: clamp(28px, 4vw, 48px); }
.section--checkout { padding-top: clamp(20px, 3vw, 40px); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 56px); flex-wrap: wrap; }
.section__note { max-width: 36ch; color: var(--ink-soft); }

/* ---------- type ---------- */

.eyebrow { font: 600 11px/1.2 var(--font-body); letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-soft); }
.eyebrow a:hover { color: var(--ink); }
.eyebrow span { opacity: 0.5; margin-inline: 4px; }
.eyebrow--line { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.eyebrow--line::before { content: ''; width: 36px; height: 1px; background: currentColor; opacity: 0.55; margin-right: 10px; }
.eyebrow--light { color: rgba(255, 255, 255, 0.8); }

.display {
  font: 700 clamp(52px, 8.6vw, 136px) / 0.9 var(--font-display);
  text-transform: uppercase; letter-spacing: -0.005em; color: var(--ink);
}
.display--m { font-size: clamp(44px, 6.4vw, 96px); }
.display--s { font-size: clamp(38px, 4.8vw, 68px); }
.display--light { color: #fff; }
.script, .display em {
  font: 400 0.64em/1 var(--font-script);
  font-style: normal; text-transform: none; letter-spacing: 0; color: var(--blush-deep);
  display: inline-block; transform: rotate(-5deg) translateY(0.1em); margin-left: -0.1em; padding-right: 0.12em;
}
.display--light em { color: var(--blush); }
p.script { font-size: clamp(44px, 6vw, 72px); transform: rotate(-4deg); margin: 0 0 6px; }
.lede { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--ink-soft); max-width: 56ch; }
.center .lede, .lede.center { margin-inline: auto; }
.fine { font-size: 13px; color: var(--ink-soft); }
.link { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; cursor: pointer; }
.link:hover { color: var(--blush-deep); }

.scene { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; font: 600 11px/1 var(--font-body); letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-soft); }
.scene i { width: 44px; height: 1px; background: currentColor; opacity: 0.5; }
.scene b { font-weight: 600; color: var(--ink); }
.scene--light { color: rgba(255, 255, 255, 0.6); }
.scene--light b { color: #fff; }

/* ---------- buttons ---------- */

.btn {
  --bg: var(--ink); --fg: var(--cream);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 28px; border-radius: 999px; border: 1px solid var(--bg);
  background: var(--bg); color: var(--fg);
  font: 600 12.5px/1 var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap;
  transition: background 0.4s, color 0.4s, border-color 0.4s, transform 0.5s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform 0.5s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(0.98); }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.btn--ink:hover { --bg: var(--ink-2); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { --bg: var(--ink); --fg: var(--cream); }
.btn--light { --bg: var(--cream); --fg: var(--ink); }
.btn--light:hover { --bg: var(--blush); }
.btn--wa { --bg: #0f7a45; --fg: #fff; }
.btn--wa:hover { --bg: #0b6338; }
.btn--wide { width: 100%; }

.icon-btn { position: relative; width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 999px; transition: background 0.3s, color 0.3s; }
.icon-btn:hover { background: rgba(46, 34, 38, 0.08); }
.icon-btn--ring { border: 1px solid var(--ink); width: 54px; height: 54px; flex: none; }
.icon-btn--ring:hover { background: var(--ink); color: var(--cream); }
.is-on > svg, .wishbtn.is-on svg { fill: var(--coral); stroke: var(--coral); }

.tag {
  display: inline-block; padding: 6px 10px; border-radius: 999px; background: rgba(255, 253, 251, 0.94);
  font: 600 10px/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink);
}
.tag--new { background: var(--lime); }
.tag--cause { background: var(--ink); color: #fff; }
.tag--out { color: var(--ink-soft); }
.tag--left { background: var(--blush-soft); }

/* ---------- chrome ---------- */

.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 90; background: var(--lime); transform-origin: 0 50%; transform: scaleX(var(--scroll, 0)); pointer-events: none; }

.announce { background: var(--night); color: var(--cream); text-align: center; padding: 9px var(--pad); font: 500 11.5px/1.5 var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; }

.site-header { position: sticky; top: 0; z-index: 60; height: var(--header-h); transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s; background: rgba(251, 246, 241, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
body[data-route='home'] .site-header { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
.is-scrolled body[data-route='home'] .site-header { background: rgba(251, 246, 241, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header__inner { height: 100%; max-width: 1440px; margin-inline: auto; padding-inline: calc(var(--pad) - 10px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.nav-toggle { display: none; }
.site-nav { display: flex; gap: clamp(16px, 2.4vw, 34px); padding-left: 10px; }
.site-nav a { position: relative; padding: 8px 0; font: 600 11.5px/1 var(--font-body); letter-spacing: 0.18em; text-transform: uppercase; }
.site-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 100% 50%; transition: transform 0.5s var(--ease); }
.site-nav a:hover::after, .site-nav a[aria-current]::after { transform: scaleX(1); transform-origin: 0 50%; }
.logo { display: block; padding: 6px 10px; --logo-ln: var(--blush); --logo-script: var(--ink); }
.logo__mark { width: 74px; height: 54px; transition: transform 0.6s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-3deg) scale(1.04); }
.site-tools { display: flex; justify-content: flex-end; gap: 2px; }
.count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--ink); color: var(--cream); font: 600 10px/18px var(--font-body); text-align: center; }
.pip { position: absolute; top: 9px; right: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }

.boot { min-height: 80vh; display: grid; place-items: center; --logo-ln: var(--blush); --logo-script: var(--ink); }
.boot svg { width: 150px; height: 110px; animation: breathe 1.6s ease-in-out infinite; }

.fab { position: fixed; right: 18px; bottom: 18px; z-index: 55; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--cream); box-shadow: 0 10px 30px rgba(28, 20, 22, 0.28); transition: transform 0.5s var(--ease), background 0.3s; }
.fab:hover { transform: translateY(-3px) scale(1.05); background: var(--ink-2); }
body[data-route='checkout'] .fab { display: none; }

.toasts { position: fixed; left: 50%; bottom: 22px; z-index: 120; transform: translateX(-50%); display: grid; gap: 8px; justify-items: center; pointer-events: none; }
.toast { pointer-events: auto; display: flex; gap: 14px; align-items: center; padding: 12px 18px; border-radius: 999px; background: var(--night); color: var(--cream); font-size: 14px; opacity: 0; transform: translateY(14px); transition: opacity 0.4s, transform 0.5s var(--ease); box-shadow: 0 12px 30px rgba(28, 20, 22, 0.3); }
.toast.in { opacity: 1; transform: none; }
.toast a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- motion ---------- */

[data-reveal] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
[data-reveal].in { opacity: 1; transform: none; }

.grain {
  position: absolute; inset: -40%; pointer-events: none; opacity: 0.16; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 0.9s steps(5) infinite;
}

@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -5%); } 60% { transform: translate(-3%, -2%); } 80% { transform: translate(5%, 4%); } 100% { transform: translate(0, 0); } }
@keyframes breathe { 50% { transform: scale(1.06); opacity: 0.7; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes slide { to { transform: translateX(-33.333%); } }
@keyframes fade-up { from { opacity: 0; transform: translate3d(0, 26px, 0); } }
@keyframes line-up { from { transform: translate3d(0, 108%, 0); } }
@keyframes bars-open { from { height: 50.5%; } to { height: 0; } }
@keyframes pull-back { from { transform: scale(1.4); filter: blur(12px); } to { transform: none; filter: none; } }
@keyframes script-in { from { opacity: 0; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(-20% -10% -20% 0); } }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: 50% 0; } 50% { transform: scaleY(1); transform-origin: 50% 0; } 51% { transform-origin: 50% 100%; } 100% { transform: scaleY(0); transform-origin: 50% 100%; } }
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.1) translate(-1.2%, -1%); } }

::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.35s; }

/* ---------- hero (scene 00) ---------- */

.hero {
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: calc(-1 * var(--header-h));
  height: calc(100svh - var(--announce-h, 0px)); min-height: 640px;
  display: grid; align-items: center; background: var(--blush);
}
.hero__media { position: absolute; inset: 0; z-index: -3; transform: scale(calc(1 + var(--p, 0) * 0.14)); will-change: transform; }
.hero__media img, .hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media picture { display: contents; }
.hero__film { opacity: 0; transition: opacity 1.2s ease; }
.hero__film.is-playing { opacity: 1; }
.hero__veil { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(251, 246, 241, 0.7) 0%, rgba(251, 246, 241, 0.34) 42%, rgba(251, 246, 241, 0) 72%), linear-gradient(0deg, rgba(251, 246, 241, 0.3), rgba(251, 246, 241, 0) 30%); }
.hero > .grain { z-index: -1; }
.hero__bars i { position: absolute; left: 0; right: 0; height: 0; background: #0f0b0c; z-index: 6; }
.hero__bars i:first-child { top: 0; }
.hero__bars i:last-child { bottom: 0; }

.hero__content { padding-top: var(--header-h); transform: translate3d(0, calc(var(--p, 0) * -70px), 0); opacity: calc(1 - var(--p, 0) * 1.7); }
.hero__content > * { animation: fade-up 0.9s var(--ease) both; }
.hero__content > :nth-child(2) { animation-delay: 0.08s; }
.hero__content > :nth-child(3) { animation-delay: 0.16s; }
.hero__content > :nth-child(4) { animation-delay: 0.24s; }
.hero__title {
  position: relative; display: inline-block; margin: 18px 0 0;
  font: 700 clamp(84px, min(15.5vw, 27svh), 240px) / 0.84 var(--font-display); text-transform: uppercase; letter-spacing: -0.01em; color: var(--ink);
}
.hero__title .line { display: block; overflow: hidden; padding-top: 0.08em; margin-top: -0.08em; }
.hero__title .line > span { display: block; }
.hero__script {
  position: absolute; right: -0.34em; bottom: -0.06em; white-space: nowrap;
  font: 400 0.47em/1 var(--font-script); font-style: normal; text-transform: none; letter-spacing: 0; color: #fff;
  transform: rotate(-7deg); text-shadow: 0 3px 26px rgba(46, 34, 38, 0.28); padding: 0.1em 0.14em;
}
.hero__lede { margin-top: clamp(26px, 3.4vw, 44px); max-width: 44ch; font-size: clamp(16px, 1.35vw, 19px); color: var(--ink-2); }
.hero__cta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }

.hero__badge { position: absolute; right: clamp(20px, 5vw, 76px); bottom: clamp(70px, 10vh, 120px); width: clamp(120px, 12vw, 170px); aspect-ratio: 1; display: grid; place-items: center; animation: fade-up 1s var(--ease) 0.4s both; }
.hero__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.hero__badge text { font: 600 13.5px var(--font-body); letter-spacing: 0.3em; fill: var(--ink); }
.hero__badge img { width: 56%; height: auto; border-radius: 50%; box-shadow: 0 10px 34px rgba(46, 34, 38, 0.22); transition: transform 0.7s var(--ease); }
.hero__badge:hover img { transform: scale(1.08) rotate(6deg); }

.hero__foot { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; justify-content: space-between; align-items: flex-end; font: 600 10.5px/1 var(--font-body); letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-2); opacity: calc(1 - var(--p, 0) * 3); }
.scrollcue { display: flex; align-items: center; gap: 12px; }
.scrollcue i { width: 1px; height: 38px; background: var(--ink); animation: cue 2.2s var(--ease) infinite; }
.slate b { opacity: 0.4; margin-inline: 4px; }

/* The opening: black bars part, the paint pulls back, the title rises. Once per visit. */
.hero.is-opening .hero__bars i { animation: bars-open 1.5s var(--ease) 0.15s both; }
.hero.is-opening .hero__media > * { animation: pull-back 2.8s var(--ease) both; }
.hero.is-opening .hero__content > * { animation-delay: 1.9s; }
.hero.is-opening .hero__content > .hero__title { animation: none; }
.hero.is-opening .hero__title .line > span { animation: line-up 1.2s var(--ease) both; animation-delay: 1.05s; }
.hero.is-opening .hero__title .line:nth-child(2) > span { animation-delay: 1.2s; }
.hero.is-opening .hero__script { animation: script-in 1.1s var(--ease) 1.85s both; }
.hero.is-opening .hero__content > .eyebrow { animation-delay: 0.95s; }
.hero.is-opening .hero__badge { animation-delay: 2.3s; }
.hero.is-opening .hero__foot { animation: fade-up 1s var(--ease) 2.5s both; }

/* ---------- marquee ---------- */

.marquee { overflow: hidden; background: var(--night); color: var(--cream); padding: 16px 0; }
.marquee__track { display: flex; width: max-content; align-items: center; gap: 30px; animation: slide 34s linear infinite; font: 600 15px/1 var(--font-display); letter-spacing: 0.24em; text-transform: uppercase; }
.marquee__track i { font-style: normal; color: var(--lime); font-size: 12px; }
.marquee__track span { white-space: nowrap; }

/* ---------- scene 01: categories ---------- */

.cats__strip { margin-top: clamp(28px, 4vw, 56px); padding-inline: var(--pad); max-width: 1440px; margin-inline: auto; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cat { position: relative; display: block; aspect-ratio: 3 / 4.1; border-radius: var(--radius); overflow: hidden; background: var(--blush-soft); isolation: isolate; }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.cat::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(28, 20, 22, 0.62), rgba(28, 20, 22, 0) 46%), rgba(28, 20, 22, 0.08); transition: background 0.6s; }
.cat:hover img { transform: scale(1.08); }
.cat__label { position: absolute; z-index: 1; left: 50%; top: 46%; transform: translate(-50%, -50%) rotate(-7deg); font: 400 clamp(46px, 5.4vw, 82px) / 1 var(--font-script); color: #fff; white-space: nowrap; text-shadow: 0 3px 26px rgba(28, 20, 22, 0.5); transition: transform 0.9s var(--ease); }
.cat__label--long { font-size: clamp(34px, 3.9vw, 60px); }
.cat:hover .cat__label { transform: translate(-50%, -56%) rotate(-4deg) scale(1.05); }
.cat__meta { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 15px; display: flex; justify-content: space-between; gap: 10px; color: #fff; font: 500 11px/1.3 var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; }
.cat__meta b { font-weight: 600; white-space: nowrap; }

/* ---------- film band ---------- */

.film { position: relative; overflow: hidden; isolation: isolate; height: clamp(440px, 82vh, 820px); display: grid; align-items: end; background: #120d0e; color: #fff; }
.film video, .outro video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.film::before, .film::after { content: ''; position: absolute; left: 0; right: 0; height: clamp(22px, 5.5vh, 54px); background: #0f0b0c; z-index: 2; }
.film::before { top: 0; }
.film::after { bottom: 0; }
.film__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18, 13, 14, 0.74), rgba(18, 13, 14, 0.2) 55%, rgba(18, 13, 14, 0)), linear-gradient(0deg, rgba(18, 13, 14, 0.5), rgba(18, 13, 14, 0) 45%); }
.film .grain { opacity: 0.22; mix-blend-mode: overlay; z-index: 0; }
.film__copy { position: relative; z-index: 1; padding-block: clamp(70px, 13vh, 130px); }
.film__copy p:not(.eyebrow) { max-width: 40ch; margin: 18px 0 26px; font-size: clamp(16px, 1.4vw, 19px); color: rgba(255, 255, 255, 0.86); }
.film__copy .display { margin-top: 14px; }
.film__copy .display em { color: #fff; text-shadow: 0 3px 24px rgba(18, 13, 14, 0.4); }

/* ---------- scene 02: handmade favourites ---------- */

.favourites__grid { display: grid; grid-template-columns: minmax(250px, 0.82fr) 2.3fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.favourites__main { min-width: 0; }
.favourites__film { position: relative; aspect-ratio: 3 / 4; border-radius: 200px 200px var(--radius) var(--radius); overflow: hidden; background: var(--blush-soft); }
.favourites__film video { width: 100%; height: 100%; object-fit: cover; }
.favourites__film figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; }
.favourites__film figcaption a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-radius: 999px; background: rgba(255, 253, 251, 0.9); backdrop-filter: blur(8px); font: 600 11.5px/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; }
.favourites__film figcaption svg { width: 16px; height: 16px; }
.rail__nav { display: flex; gap: 10px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(210px, 22vw, 290px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }

/* ---------- scene 03: just landed ---------- */

.landed { background: var(--lilac-soft); overflow: hidden; isolation: isolate; }
.landed__paint { position: absolute; inset: 0; z-index: -1; background: url('/assets/brand/paint-lilac.jpg') center / cover; opacity: 0.3; mix-blend-mode: multiply; }
.landed .center { margin-top: clamp(32px, 4vw, 56px); }

.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(22px, 2.6vw, 40px) clamp(14px, 1.6vw, 24px); }

/* ---------- product card ---------- */

.card { position: relative; min-width: 0; }
.card__media { position: relative; aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: var(--blush-soft); }
.card__media a { display: block; width: 100%; height: 100%; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card .tag { position: absolute; top: 12px; left: 12px; }
.card__wish { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 253, 251, 0.86); backdrop-filter: blur(6px); transition: transform 0.4s var(--ease), background 0.3s; }
.card__wish:hover { transform: scale(1.1); background: #fff; }
.card__wish svg { width: 19px; height: 19px; }
.card__add { position: absolute; left: 10px; right: 10px; bottom: 10px; height: 44px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 8px; background: rgba(255, 253, 251, 0.94); backdrop-filter: blur(8px); font: 600 11.5px/1 var(--font-body); letter-spacing: 0.15em; text-transform: uppercase; opacity: 0; transform: translateY(14px); transition: opacity 0.4s, transform 0.5s var(--ease), background 0.3s, color 0.3s; }
.card__add svg { width: 16px; height: 16px; }
.card:hover .card__add, .card:focus-within .card__add { opacity: 1; transform: none; }
.card__add:hover:not([disabled]) { background: var(--ink); color: var(--cream); }
.card__add[disabled] { cursor: default; color: var(--ink-soft); }
.card__body { padding: 13px 4px 0; }
.card__name { display: block; font-weight: 500; font-size: 15px; line-height: 1.35; }
.card__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.card__row { margin-top: 4px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card__price { font-weight: 600; font-size: 15px; }
.card__price s, .product__price s { margin-left: 8px; font-weight: 400; color: var(--ink-soft); }
.swatches { display: inline-flex; gap: 6px; }
.swatch { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(46, 34, 38, 0.18); box-shadow: 0 0 0 2px var(--cream), 0 0 0 3px transparent; transition: box-shadow 0.3s; }
.landed .swatch { box-shadow: 0 0 0 2px var(--lilac-soft), 0 0 0 3px transparent; }
.swatch.is-on { box-shadow: 0 0 0 2px var(--cream), 0 0 0 3px var(--ink); }
.landed .swatch.is-on { box-shadow: 0 0 0 2px var(--lilac-soft), 0 0 0 3px var(--ink); }
.swatch--gold { background: linear-gradient(135deg, #f7e6a6, #c49a35 60%, #8a6718); }
.swatch--silver { background: linear-gradient(135deg, #ffffff, #c3c8cd 60%, #7b8188); }
.swatch--rose { background: linear-gradient(135deg, #fbe0d6, #dba08c 60%, #a5685a); }
.swatch--other { background: var(--lilac); }

/* ---------- scene 04: for a cause ---------- */

.cause { display: grid; grid-template-columns: 1fr 1fr; background: var(--night); color: #fff; overflow: hidden; }
.cause__media { position: relative; min-height: clamp(420px, 78vh, 820px); overflow: hidden; }
.cause__media img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; transform: translate3d(0, var(--drift, 0), 0); }
.cause__copy { padding: clamp(56px, 8vw, 128px) var(--pad); align-self: center; max-width: 720px; }
.cause__copy .lede { color: rgba(255, 255, 255, 0.78); margin-top: 22px; }
.cause__list { margin: clamp(28px, 4vw, 44px) 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cause__list a { display: block; }
.cause__list img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; transition: transform 0.8s var(--ease); }
.cause__list a:hover img { transform: scale(1.04); }
.cause__list span { display: block; margin-top: 10px; font-size: 14px; line-height: 1.3; }
.cause__list b { font-size: 14px; color: var(--blush); }
.cause :focus-visible { outline-color: #fff; }

/* ---------- scene 05: atelier ---------- */

.atelier__grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(36px, 7vw, 120px); align-items: center; }
.atelier__media { position: relative; padding: 0 12% 9% 0; }
.frame { aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; background: var(--blush-soft); }
.frame video, .frame img { width: 100%; height: 100%; object-fit: cover; }
.atelier__snap { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 6 / 7; object-fit: cover; border-radius: 16px; border: 7px solid var(--cream); box-shadow: 0 24px 50px rgba(46, 34, 38, 0.2); }
.atelier__snap[data-reveal] { transform: translate3d(0, calc(28px + var(--drift, 0px)), 0) rotate(5deg); }
.atelier__snap[data-reveal].in { transform: translate3d(0, var(--drift, 0px), 0) rotate(5deg); }
.atelier__copy .lede { margin-top: 22px; }
.steps { margin: clamp(26px, 3.4vw, 40px) 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 62px 1fr; gap: 8px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.steps span { font: 700 30px/1 var(--font-display); color: var(--blush-deep); }
.steps b { font: 600 13px/1.2 var(--font-body); letter-spacing: 0.18em; text-transform: uppercase; }
.steps p { margin-top: 5px; color: var(--ink-soft); font-size: 15px; }

/* ---------- instagram strip ---------- */

.insta { padding-bottom: 0; }
.insta__strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.insta__strip a { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--blush-soft); }
.insta__strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter 0.5s; }
.insta__strip a:hover img { transform: scale(1.08); filter: saturate(1.15); }

/* ---------- questions ---------- */

.faq { margin-top: clamp(24px, 3vw, 40px); border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 2px; cursor: pointer; font-weight: 500; font-size: clamp(16px, 1.4vw, 19px); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: none; width: 16px; height: 16px; }
.faq summary i::before, .faq summary i::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform 0.5s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { padding: 0 2px 24px; max-width: 64ch; color: var(--ink-soft); }
.faq + p { margin-top: 28px; }
.faq--compact { margin-top: 28px; }
.faq--compact summary { padding: 16px 2px; font: 600 12px/1.2 var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; }
.faq--compact details p { padding-bottom: 18px; font-size: 15px; }

/* ---------- outro ---------- */

.outro { position: relative; overflow: hidden; isolation: isolate; min-height: clamp(460px, 78vh, 760px); display: grid; place-items: center; text-align: center; background: var(--blush); }
.outro video { opacity: 0.9; }
.outro__inner { padding: 80px var(--pad); display: grid; justify-items: center; gap: 22px; --logo-ln: #fff; --logo-script: var(--ink); }
.outro__logo { width: min(520px, 74vw); aspect-ratio: 86.74 / 64.03; filter: drop-shadow(0 16px 40px rgba(46, 34, 38, 0.18)); }
.outro__line { font: 700 clamp(26px, 3.6vw, 48px) / 1 var(--font-display); letter-spacing: 0.04em; text-transform: uppercase; }

/* ---------- footer ---------- */

.site-footer { background: var(--night); color: rgba(251, 246, 241, 0.8); padding-top: clamp(56px, 7vw, 96px); font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: clamp(28px, 4vw, 64px); }
.footer__brand { --logo-ln: var(--blush); --logo-script: var(--cream); }
.footer__logo { width: 132px; height: 97px; margin-bottom: 16px; }
.site-footer h3 { font: 600 11px/1 var(--font-body); letter-spacing: 0.24em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.site-footer li { margin-bottom: 10px; }
.site-footer li a { display: inline-flex; align-items: center; gap: 10px; transition: color 0.3s; }
.site-footer li a:hover { color: #fff; }
.site-footer li svg { width: 18px; height: 18px; }
.footer__where { color: rgba(251, 246, 241, 0.55); }
.footer__base { margin-top: clamp(40px, 5vw, 72px); padding-block: 22px; border-top: 1px solid rgba(251, 246, 241, 0.14); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font: 500 11px/1.4 var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; color: rgba(251, 246, 241, 0.55); }
.site-footer :focus-visible { outline-color: #fff; }

/* ---------- page heads ---------- */

.pagehead { position: relative; overflow: hidden; isolation: isolate; padding: clamp(48px, 7vw, 104px) 0 clamp(36px, 5vw, 68px); }
.pagehead .display { margin-top: 16px; }
.pagehead .lede { margin-top: 18px; }
.pagehead .btn { margin-top: 26px; }
.pagehead--slim { padding: clamp(32px, 4vw, 56px) 0 clamp(8px, 1vw, 16px); }
.pagehead--tall { min-height: 76vh; display: grid; align-items: center; }
.pagehead--tall .eyebrow { margin-bottom: 4px; }
.pagehead--lilac { background: var(--lilac-soft); }
.pagehead--lilac::before, .pagehead--paint::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url('/assets/brand/paint-lilac.jpg') 100% 30% / cover; opacity: 0.28; mix-blend-mode: multiply; -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 90%); mask-image: linear-gradient(90deg, transparent 20%, #000 90%); }
.pagehead--paint { background: var(--blush-soft); }
.pagehead--paint::before { background-image: url('/assets/brand/paint-900.jpg'); background-position: 50% 40%; opacity: 0.6; mix-blend-mode: normal; -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.25), #000 85%); mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.25), #000 85%); }
.pagehead--paint.pagehead--tall::before { -webkit-mask-image: none; mask-image: none; opacity: 0.5; }
.pagehead--ink { background: var(--night); color: #fff; }
.pagehead--ink .display { color: #fff; }
.pagehead--ink .lede, .pagehead--ink .eyebrow { color: rgba(255, 255, 255, 0.72); }
.pagehead .done__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.pagehead .done__actions .btn { margin-top: 0; }

/* ---------- shop listing ---------- */

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); font: 600 11.5px/1 var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; transition: background 0.3s, color 0.3s, border-color 0.3s; white-space: nowrap; }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.chips--s .chip { padding: 8px 12px; font-size: 10.5px; }
.toolbar { margin: 22px 0 clamp(22px, 3vw, 36px); padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.toolbar__count { font-size: 14px; color: var(--ink-soft); }
.toolbar__count .link { margin-left: 10px; }
.toolbar__tools { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.select select { appearance: none; -webkit-appearance: none; padding: 10px 38px 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e2226' stroke-width='1.6' stroke-linecap='round'><path d='m7 10 5 5 5-5'/></svg>") no-repeat right 12px center / 18px; font: 600 11.5px/1.2 var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }
.empty { padding: clamp(40px, 8vw, 96px) 0; text-align: center; display: grid; justify-items: center; gap: 10px; }
.empty .btn { margin-top: 14px; }

/* ---------- product page ---------- */

.product { padding: clamp(20px, 3vw, 44px) 0 clamp(56px, 8vw, 112px); }
.product__grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(28px, 5vw, 88px); align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.gallery__main { position: relative; aspect-ratio: 1; border-radius: 28px; overflow: hidden; background: var(--blush-soft); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__note { position: absolute; left: 14px; bottom: 14px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 253, 251, 0.9); font-size: 12px; color: var(--ink-soft); }
.gallery__thumbs { margin-top: 12px; display: flex; gap: 10px; flex-wrap: wrap; }
.gallery__thumbs button { width: 76px; height: 76px; border-radius: 16px; overflow: hidden; background: var(--blush-soft); box-shadow: 0 0 0 0 var(--ink); transition: box-shadow 0.3s; }
.gallery__thumbs button.is-on { box-shadow: 0 0 0 2px var(--cream), 0 0 0 3.5px var(--ink); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product__info { padding-top: clamp(4px, 2vw, 28px); max-width: 560px; }
.product__name { margin-top: 14px; font: 700 clamp(40px, 4.8vw, 70px) / 0.95 var(--font-display); text-transform: uppercase; }
.product__price { margin-top: 14px; font-size: 24px; font-weight: 600; }
.product__tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.product__desc { margin-top: 18px; color: var(--ink-soft); font-size: 17px; }

.buy { margin-top: 26px; display: grid; gap: 18px; }
.opt legend { font: 600 11px/1 var(--font-body); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 10px; }
.opt legend b { font-weight: 400; letter-spacing: 0.04em; text-transform: none; font-size: 14px; color: var(--ink-soft); margin-left: 8px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: block; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; cursor: pointer; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.pill:hover span { border-color: var(--ink); }
.pill input:checked + span { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.pill input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.qty { display: flex; align-items: center; justify-content: space-between; }
.qty > span { font: 600 11px/1 var(--font-body); letter-spacing: 0.2em; text-transform: uppercase; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.stepper button { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
.stepper button:hover { background: rgba(46, 34, 38, 0.07); }
.stepper svg { width: 16px; height: 16px; }
.stepper output, .stepper span { min-width: 26px; text-align: center; font-weight: 600; }
.stepper--s button { width: 34px; height: 34px; }
.buy__actions { display: flex; gap: 10px; }
.trust { margin-top: 26px; display: grid; gap: 9px; font-size: 14.5px; color: var(--ink-soft); }
.trust li { display: flex; gap: 10px; align-items: center; }
.trust svg { width: 17px; height: 17px; color: var(--blush-deep); }

/* ---------- forms ---------- */

.form { display: grid; gap: 16px; margin-top: clamp(24px, 3vw, 40px); }
.checkout .form { margin-top: 0; }
.form h2, .summary h2 { margin-top: 14px; font: 700 24px/1 var(--font-display); letter-spacing: 0.03em; text-transform: uppercase; }
.form h2:first-child, .summary h2 { margin-top: 0; }
.form__two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; }
.field > span { font: 600 11px/1.2 var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field select, .field textarea { width: 100%; padding: 15px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); font-size: 16px; transition: border-color 0.3s, box-shadow 0.3s; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(46, 34, 38, 0.1); }
.field.is-wrong input, .field.is-wrong select { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(224, 99, 63, 0.16); }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice > span { display: grid; gap: 4px; height: 100%; padding: 16px 16px 16px 46px; border-radius: 16px; border: 1px solid var(--line); background: var(--paper); transition: border-color 0.3s, background 0.3s; }
.choice > span::before { content: ''; position: absolute; left: 16px; top: 18px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--ink-soft); background: var(--paper); transition: box-shadow 0.3s, border-color 0.3s; }
.choice input:checked + span { border-color: var(--ink); background: var(--blush-soft); }
.choice input:checked + span::before { border-color: var(--ink); box-shadow: inset 0 0 0 4px var(--paper), inset 0 0 0 10px var(--ink); }
.choice input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.choice b { font-weight: 600; }
.choice small { font-size: 13px; color: var(--ink-soft); line-height: 1.4; }
.form__error { padding: 13px 16px; border-radius: 14px; background: rgba(224, 99, 63, 0.12); color: #8f3216; font-size: 15px; }
.done { margin-top: 28px; padding: clamp(28px, 4vw, 44px); border-radius: 26px; background: var(--paper); text-align: center; display: grid; justify-items: center; gap: 10px; outline: none; }
.done h3 { font: 700 34px/1 var(--font-display); text-transform: uppercase; }
.done .btn { margin-top: 12px; max-width: 380px; }

/* ---------- checkout ---------- */

.checkout { display: grid; grid-template-columns: 1.2fr 0.9fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.summary { position: sticky; top: calc(var(--header-h) + 20px); padding: clamp(20px, 2.6vw, 30px); border-radius: 26px; background: var(--paper); border: 1px solid var(--line); }
.summary--done { position: static; }
.totals { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 15px; }
.totals div { display: flex; justify-content: space-between; gap: 16px; }
.totals dt { color: var(--ink-soft); }
.totals__total { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 19px; font-weight: 600; }
.totals__total dt { color: var(--ink); }
.totals small { font-size: 13px; font-weight: 400; color: var(--ink-soft); }

/* ---------- bag lines (drawer and summaries) ---------- */

.lines { display: grid; }
.line { position: relative; display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line__img { position: relative; display: block; width: 84px; height: 84px; border-radius: 14px; overflow: visible; background: var(--blush-soft); }
.line__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.line__img b { position: absolute; top: -7px; right: -7px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--ink); color: var(--cream); font: 600 11px/22px var(--font-body); text-align: center; }
.line__name { font-weight: 500; line-height: 1.3; display: block; }
.line__opts { margin-top: 3px; font-size: 13px; color: var(--ink-soft); }
.line__row { margin-top: 10px; display: flex; align-items: center; gap: 14px; }
.line__remove { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: var(--ink-soft); }
.line__remove:hover { background: rgba(46, 34, 38, 0.08); color: var(--ink); }
.line__remove svg { width: 15px; height: 15px; }
.lines--summary .line { grid-template-columns: 60px 1fr auto; align-items: center; padding: 12px 0; }
.lines--summary .line__img { width: 60px; height: 60px; }
.lines--summary .line:last-child { border-bottom: 0; }

/* ---------- overlays ---------- */

.overlay { position: fixed; inset: 0; z-index: 100; }
.overlay__scrim { position: absolute; inset: 0; background: rgba(28, 20, 22, 0.52); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; transition: opacity 0.38s ease; }
.overlay.in .overlay__scrim { opacity: 1; }

.drawer { position: absolute; top: 0; right: 0; bottom: 0; width: min(450px, 100vw); display: flex; flex-direction: column; background: var(--cream); transform: translateX(102%); transition: transform 0.55s var(--ease); box-shadow: -30px 0 60px rgba(28, 20, 22, 0.18); }
.overlay.in .drawer { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 16px 16px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font: 700 30px/1 var(--font-display); text-transform: uppercase; }
.drawer__head h2 span { font: 400 16px var(--font-body); color: var(--ink-soft); }
.drawer .lines { flex: 1; overflow-y: auto; padding: 0 24px; align-content: start; overscroll-behavior: contain; }
.drawer__foot { padding: 18px 24px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper); display: grid; gap: 10px; justify-items: center; }
.sum { width: 100%; display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; }
.sum strong { font-size: 22px; }
.drawer__foot .fine { width: 100%; }
.drawer__empty { flex: 1; display: grid; align-content: center; justify-items: center; gap: 8px; padding: 30px; text-align: center; }
.drawer__empty .btn { margin-top: 14px; }

.overlay--sheet { display: grid; place-items: center; padding: 20px; }
.sheet { position: relative; width: min(820px, 100%); max-height: calc(100svh - 40px); overflow: auto; display: grid; grid-template-columns: 0.9fr 1fr; background: var(--cream); border-radius: 28px; opacity: 0; transform: translateY(30px) scale(0.98); transition: opacity 0.4s, transform 0.55s var(--ease); }
.overlay.in .sheet { opacity: 1; transform: none; }
.sheet__close { position: absolute; top: 10px; right: 10px; z-index: 2; background: rgba(255, 253, 251, 0.85); }
.sheet__img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; background: var(--blush-soft); }
.sheet .buy { margin: 0; padding: clamp(22px, 3vw, 36px); align-content: center; }
.sheet__name { font: 700 clamp(30px, 3.4vw, 44px) / 0.95 var(--font-display); text-transform: uppercase; margin-top: -6px; }
.sheet__price { font-size: 20px; font-weight: 600; margin-top: -8px; }
.sheet .link { justify-self: center; font-size: 14px; }

.search { position: absolute; top: 0; left: 0; right: 0; background: var(--cream); padding: 18px var(--pad) 28px; transform: translateY(-102%); transition: transform 0.55s var(--ease); max-height: 100svh; overflow: auto; }
.overlay.in .search { transform: none; }
.search__bar { max-width: 860px; margin-inline: auto; display: flex; align-items: center; gap: 12px; border-bottom: 1.5px solid var(--ink); padding-bottom: 8px; }
.search__bar input { flex: 1; min-width: 0; border: 0; background: none; padding: 12px 0; font-size: clamp(20px, 2.6vw, 30px); outline: none; }
.search__bar input::-webkit-search-cancel-button { display: none; }
.search__results { max-width: 860px; margin: 18px auto 0; }
.search__results li a { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 10px 6px; border-radius: 14px; transition: background 0.3s; }
.search__results li a:hover { background: rgba(46, 34, 38, 0.06); }
.search__results img { width: 56px; height: 56px; object-fit: cover; border-radius: 12px; background: var(--blush-soft); }
.search__results .link { display: inline-block; margin-top: 12px; }
.search__hint { color: var(--ink-soft); }

.menu { position: absolute; inset: 0 auto 0 0; width: min(440px, 100vw); display: flex; flex-direction: column; background: var(--night); color: var(--cream); padding: 22px 26px calc(26px + env(safe-area-inset-bottom)); transform: translateX(-102%); transition: transform 0.6s var(--ease); overflow-y: auto; }
.overlay.in .menu { transform: none; }
.menu__close { align-self: flex-end; }
.menu__close:hover { background: rgba(255, 255, 255, 0.12); }
.menu__big { margin-top: 14px; display: grid; gap: 4px; }
.menu__big a { display: block; padding: 6px 0; font: 700 clamp(34px, 9vw, 46px) / 1.05 var(--font-display); text-transform: uppercase; transition: color 0.3s, transform 0.5s var(--ease); }
.menu__big a:hover { color: var(--blush); transform: translateX(8px); }
.menu__foot { margin-top: auto; padding-top: 28px; display: grid; gap: 12px; }
.menu__foot a { display: flex; align-items: center; gap: 12px; color: rgba(251, 246, 241, 0.8); }
.menu :focus-visible { outline-color: #fff; }

/* ---------- story ---------- */

.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 104px); align-items: center; }
.story + .story { margin-top: clamp(56px, 8vw, 120px); }
.story--flip .story__img { order: 2; }
.story__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; background: var(--blush-soft); }
.story__text p { margin: 20px 0 26px; font-size: 18px; color: var(--ink-soft); max-width: 46ch; }

/* ---------- smaller screens ---------- */

@media (hover: none) {
  .card__add { opacity: 1; transform: none; left: auto; right: 8px; bottom: 8px; width: 42px; height: 42px; padding: 0; }
  .card__add span { display: none; }
  .card__add[disabled] { width: auto; padding: 0 12px; }
  .card__add[disabled] span { display: inline; font-size: 10px; }
}

@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cats__strip { grid-template-columns: repeat(5, minmax(210px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
  .cats__strip::-webkit-scrollbar { display: none; }
  .cat { scroll-snap-align: start; }
  .cause { grid-template-columns: 1fr; }
  .cause__media { min-height: 0; aspect-ratio: 16 / 11; }
  .cause__copy { max-width: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .insta__strip { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  :root { --header-h: 60px; }
  .nav-toggle { display: inline-grid; }
  .site-nav { display: none; }
  .wish-link { display: none; }
  .logo__mark { width: 64px; height: 47px; }
  .site-header__inner { padding-inline: 8px; }
  .favourites__grid, .atelier__grid, .product__grid, .checkout, .story { grid-template-columns: 1fr; }
  .favourites__film { aspect-ratio: 16 / 11; border-radius: var(--radius); }
  .gallery, .summary { position: static; }
  .summary { order: -1; }
  .story--flip .story__img { order: 0; }
  .atelier__media { max-width: 520px; }
  .rail { grid-auto-columns: 58vw; margin-right: calc(-1 * var(--pad)); padding-right: var(--pad); }
  .rail__nav { display: none; }
  .sheet { grid-template-columns: 1fr; }
  .sheet__img { height: 220px; min-height: 0; }
  .overlay--sheet { align-items: end; padding: 0; }
  .sheet { border-radius: 26px 26px 0 0; max-height: 92svh; transform: translateY(100%); }
  .hero__badge { display: none; }
}

@media (max-width: 620px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card__media { border-radius: 16px; }
  .card__name, .card__price { font-size: 14px; }
  .cats__strip { grid-template-columns: repeat(5, 64vw); }
  .hero { min-height: 560px; align-items: end; }
  .hero__content { padding-bottom: 96px; }
  .hero__veil { background: linear-gradient(0deg, rgba(251, 246, 241, 0.82) 0%, rgba(251, 246, 241, 0.4) 48%, rgba(251, 246, 241, 0) 78%); }
  .hero__script { right: -0.1em; }
  .hero__cta .btn { flex: 1 1 100%; }
  .slate { display: none; }
  .form__two, .choices { grid-template-columns: 1fr; }
  .cause__list { gap: 10px; }
  .cause__list span { font-size: 12.5px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer__brand { grid-column: 1 / -1; }
  .section__head { align-items: flex-start; flex-direction: column; gap: 14px; }
  .center .btn + .btn { margin: 10px 0 0; }
  .center .btn { width: 100%; }
  .toolbar__tools { width: 100%; justify-content: space-between; }
  .film { height: 78vh; }
  .line { grid-template-columns: 72px 1fr auto; }
  .line__img { width: 72px; height: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero__content { transform: none; opacity: 1; }
  .grain { display: none; }
}
