/* =========================================================
   Riven Wood — styles
   Change colours and fonts in :root below.
   ========================================================= */
:root {
  /* Colour roles. The editor (Design → Colours) sets the --c-* values on every page;
     these are only the fallbacks. Everything below uses the short names. */
  --c-bg: #f5efe4; --c-surface: #fbf8f2; --c-text: #2b2118; --c-accent: #a0673a;
  --c-accent-strong: #7c4c27; --c-accent-light: #e9c9a5; --c-button: #2b2118; --c-button-text: #f5efe4;
  --c-dark: #2b2118; --c-dark2: #4a3626; --c-band: #7c4c27; --c-on-dark: #f5efe4;

  --bg: var(--c-bg);
  --paper: var(--c-surface);
  --ink: var(--c-text);
  --wood: var(--c-accent);
  --wood-dark: var(--c-accent-strong);
  --wood-light: var(--c-accent-light);
  --btn: var(--c-button);
  --btn-text: var(--c-button-text);
  --dark: var(--c-dark);
  --dark2: var(--c-dark2);
  --band: var(--c-band);
  --on-dark: var(--c-on-dark);
  --bark: color-mix(in srgb, var(--ink) 86%, var(--bg));
  --muted: color-mix(in srgb, var(--ink) 60%, var(--bg));
  --line: color-mix(in srgb, var(--ink) 13%, var(--bg));

  /* Motion. Set by the editor (Design → Animations / Movement). */
  --ai: 1;          /* intensity: how far things move */
  --as: 1;          /* time factor: 0.5 = twice as fast */
  --stagger: 1;     /* 1 = one after another, 0 = all at once */
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-out: cubic-bezier(.22, .8, .2, 1);
  --marquee-dur: 40s;
  --texture: .07;

  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --radius: 14px;
  --header-h: 68px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.65; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0 0 .5em; font-variation-settings: "SOFT" 0, "WONK" 0; transition: font-variation-settings .6s var(--ease); }
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: 1.3rem; }
h1:hover, h2:hover { font-variation-settings: "SOFT" 100, "WONK" 1; }
em { font-style: italic; color: var(--wood); }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--dark); color: var(--on-dark); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--wood); outline-offset: 3px; }

/* paper texture over the whole page */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: var(--texture); mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .25 0 0 0 0 .15 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- page transitions (Chrome, Edge, Safari 18+) ----------
   html[data-page] picks the style; --ai scales it, --as sets its length. */
@view-transition { navigation: auto; }
::view-transition-group(*) { animation-duration: calc(.5s * var(--as)); animation-timing-function: var(--ease); }
::view-transition-old(root) { animation: vt-rise-out calc(.35s * var(--as)) var(--ease-out) both; }
::view-transition-new(root) { animation: vt-rise-in calc(.45s * var(--as)) var(--ease) both; }
@keyframes vt-rise-out { to { opacity: 0; transform: translateY(calc(-12px * var(--ai))); } }
@keyframes vt-rise-in { from { opacity: 0; transform: translateY(calc(16px * var(--ai))); } }
html[data-page="zoom"]::view-transition-old(root) { animation-name: vt-zoom-out; }
html[data-page="zoom"]::view-transition-new(root) { animation-name: vt-zoom-in; }
@keyframes vt-zoom-out { to { opacity: 0; transform: scale(calc(1 + .08 * var(--ai))); } }
@keyframes vt-zoom-in { from { opacity: 0; transform: scale(calc(1 - .06 * var(--ai))); } }
html[data-page="slide"]::view-transition-old(root) { animation-name: vt-slide-out; animation-duration: calc(.5s * var(--as)); }
html[data-page="slide"]::view-transition-new(root) { animation-name: vt-slide-in; animation-duration: calc(.5s * var(--as)); }
@keyframes vt-slide-out { to { transform: translateX(calc(-100% * min(1, var(--ai)))); opacity: calc(1 - min(1, var(--ai))); } }
@keyframes vt-slide-in { from { transform: translateX(calc(100% * min(1, var(--ai)))); } }
html[data-page="cube"]::view-transition-old(root) { animation-name: vt-cube-out; animation-duration: calc(.6s * var(--as)); transform-origin: 100% 50%; }
html[data-page="cube"]::view-transition-new(root) { animation-name: vt-cube-in; animation-duration: calc(.6s * var(--as)); transform-origin: 0% 50%; }
@keyframes vt-cube-out { to { transform: perspective(1600px) translateX(calc(-40% * var(--ai))) rotateY(calc(-70deg * var(--ai))); opacity: .2; } }
@keyframes vt-cube-in { from { transform: perspective(1600px) translateX(calc(40% * var(--ai))) rotateY(calc(70deg * var(--ai))); opacity: .2; } }
html[data-page="blur"]::view-transition-old(root) { animation-name: vt-blur-out; }
html[data-page="blur"]::view-transition-new(root) { animation-name: vt-blur-in; }
@keyframes vt-blur-out { to { opacity: 0; filter: blur(calc(14px * var(--ai))); } }
@keyframes vt-blur-in { from { opacity: 0; filter: blur(calc(14px * var(--ai))); } }
html[data-page="fade"]::view-transition-old(root) { animation-name: vt-fade-out; }
html[data-page="fade"]::view-transition-new(root) { animation-name: vt-fade-in; }
@keyframes vt-fade-out { to { opacity: 0; } }
@keyframes vt-fade-in { from { opacity: 0; } }
html[data-page="none"]::view-transition-old(root), html[data-page="none"]::view-transition-new(root),
html[data-page="none"]::view-transition-group(*) { animation: none; }

/* shared keyframes: KDE-style wobble and macOS-style genie, scaled by --ai */
@keyframes rw-wobble {
  0%   { opacity: 0; transform: scale(calc(1 - .12 * var(--ai))) skew(calc(7deg * var(--ai)), calc(2deg * var(--ai))); }
  25%  { opacity: 1; transform: scale(calc(1 + .035 * var(--ai))) skew(calc(-5deg * var(--ai)), calc(-1.5deg * var(--ai))); }
  45%  { transform: scale(calc(1 - .018 * var(--ai))) skew(calc(3deg * var(--ai)), calc(1deg * var(--ai))); }
  65%  { transform: scale(calc(1 + .008 * var(--ai))) skew(calc(-1.6deg * var(--ai)), calc(-.5deg * var(--ai))); }
  82%  { transform: skew(calc(.7deg * var(--ai)), 0deg); }
  100% { opacity: 1; transform: none; }
}
@keyframes rw-genie {
  0%   { opacity: 0; transform: perspective(900px) translateY(calc(60px * var(--ai))) rotateX(calc(30deg * var(--ai))) scale(max(.05, calc(1 - .6 * var(--ai))), max(.05, calc(1 - .85 * var(--ai)))); }
  55%  { opacity: 1; transform: perspective(900px) translateY(calc(8px * var(--ai))) rotateX(calc(6deg * var(--ai))) scale(max(.2, calc(1 - .2 * var(--ai))), calc(1 + .04 * var(--ai))); }
  100% { opacity: 1; transform: none; }
}

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: transform .4s var(--ease), border-color .3s, background .3s; view-transition-name: header; }
.site-header.scrolled { border-color: var(--line); background: color-mix(in srgb, var(--bg) 96%, transparent); }
.site-header.hide { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.logo { font-family: var(--serif); font-size: 1.45rem; text-decoration: none; }
.main-nav { display: flex; gap: 28px; align-items: center; }
.main-nav a { position: relative; text-decoration: none; font-size: .95rem; color: var(--bark); padding: 4px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--wood); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); transform-origin: left; }
.main-nav a.active, .main-nav a:hover { color: var(--ink); }
.cart-link { display: inline-flex; align-items: center; gap: 6px; font-size: 1.05rem !important; }
.cart-link::after { display: none; }
.badge { background: var(--wood); color: #fff; border-radius: 99px; font-size: .72rem; padding: 1px 7px; font-family: var(--sans); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.4rem; cursor: pointer; color: var(--ink); }

/* ---------- toasts (messages) ---------- */
.toasts { position: fixed; right: 16px; bottom: 16px; z-index: 95; display: grid; gap: 10px; max-width: min(380px, calc(100% - 32px)); }
.toast { margin: 0; padding: 14px 44px 14px 18px; border-radius: 12px; position: relative; box-shadow: 0 12px 30px rgba(0, 0, 0, .2); animation: toast-in calc(.5s * var(--as)) var(--ease) both; font-size: .95rem; transform-origin: 100% 100%; }
.toast-ok { background: var(--dark); color: var(--on-dark); }
.toast-error { background: #7a2e1d; color: #fff; }
.toast.out { animation: toast-out .4s var(--ease) both; }
.toast-close { position: absolute; top: 8px; right: 10px; background: none; border: 0; color: inherit; font-size: 1.3rem; cursor: pointer; opacity: .7; }
@keyframes toast-in { from { opacity: 0; transform: translateY(calc(20px * var(--ai))) scale(calc(1 - .06 * var(--ai))); } }
html[data-popup="genie"] .toast:not(.out) { animation-name: rw-genie; animation-duration: calc(.7s * var(--as)); }
html[data-popup="wobbly"] .toast:not(.out) { animation-name: rw-wobble; animation-duration: calc(1s * var(--as)); }
html[data-popup="glide"] .toast:not(.out) { animation-name: pop-glide; }
html[data-popup="fade"] .toast:not(.out) { animation-name: vt-fade-in; }
html[data-popup="none"] .toast:not(.out) { animation: none; }
@keyframes toast-out { to { opacity: 0; transform: translateY(20px); } }

/* ---------- buttons & text ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--btn); color: var(--btn-text); padding: 13px 26px; border-radius: 99px; text-decoration: none; border: 0; font: 500 .95rem var(--sans); cursor: pointer; transition: background .25s, transform .25s var(--ease); }
.btn:hover { background: var(--wood-dark); color: var(--btn-text); transform: translateY(-2px); }
.btn-light { background: var(--on-dark); color: var(--dark); }
.btn-light:hover { background: color-mix(in srgb, var(--on-dark) 70%, #fff); color: var(--dark); }
.btn-wide { width: 100%; justify-content: center; padding: 16px; }
.link-arrow { color: var(--wood-dark); font-weight: 500; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; color: var(--wood); margin: 0 0 14px; font-weight: 600; }
.eyebrow a { text-decoration: none; }
.eyebrow.light { color: var(--wood-light); }
.lead { font-size: 1.2rem; max-width: 620px; color: color-mix(in srgb, var(--on-dark) 94%, var(--dark)); }
.lead.dark { color: var(--bark); }
.note { font-size: .88rem; color: var(--muted); font-style: italic; }
.sub { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--muted); }
.rounded { border-radius: var(--radius); width: 100%; object-fit: cover; }
.rounded-wrap { border-radius: var(--radius); overflow: hidden; }
.rounded-wrap img { width: 100%; height: 100%; object-fit: cover; }
.wide { aspect-ratio: 16 / 7; margin-bottom: 32px; }

/* ---------- motion: how images appear (html[data-reveal]) ----------
   Closed state = :not(.is-open). JavaScript adds .is-open when the image scrolls into view.
   --ai scales distances and angles, --as scales durations, --d staggers neighbours. */
.split-reveal { position: relative; overflow: hidden; display: block; }
.js .split-reveal {
  transition-property: clip-path, opacity, transform, filter;
  transition-duration: calc(1.2s * var(--as));
  transition-timing-function: var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms * var(--stagger) * var(--as));
}
.js .split-reveal img:not(.img-close) { transition: transform calc(1.6s * var(--as)) var(--ease); }

/* Split (original): opens from a jagged crack, like a log under the wedge */
.js[data-reveal="split"] .split-reveal { clip-path: polygon(100% 0%, 100% 8%, 100% 17%, 100% 27%, 100% 38%, 100% 49%, 100% 60%, 100% 71%, 100% 82%, 100% 92%, 100% 100%, 0% 100%, 0% 92%, 0% 82%, 0% 71%, 0% 60%, 0% 49%, 0% 38%, 0% 27%, 0% 17%, 0% 8%, 0% 0%); }
.js[data-reveal="split"] .split-reveal:not(.is-open) { clip-path: polygon(50% 0%, 53% 8%, 48% 17%, 54% 27%, 47% 38%, 52% 49%, 46% 60%, 53% 71%, 48% 82%, 53% 92%, 50% 100%, 50% 100%, 53% 92%, 48% 82%, 53% 71%, 46% 60%, 52% 49%, 47% 38%, 54% 27%, 48% 17%, 53% 8%, 50% 0%); }
.js[data-reveal="split"] .split-reveal:not(.is-open) img,
.js[data-reveal="zoom"] .split-reveal:not(.is-open) img { transform: scale(calc(1 + .12 * var(--ai))); }
/* Scale (macOS) */
.js[data-reveal="zoom"] .split-reveal:not(.is-open) { opacity: 0; transform: scale(calc(1 - .18 * var(--ai))); }
/* Genie (macOS Dock) */
.js[data-reveal="genie"] .split-reveal { transform-origin: 50% 100%; }
.js[data-reveal="genie"] .split-reveal:not(.is-open) { opacity: 0; transform: perspective(900px) translateY(calc(60px * var(--ai))) rotateX(calc(30deg * var(--ai))) scale(max(.05, calc(1 - .6 * var(--ai))), max(.05, calc(1 - .85 * var(--ai)))); }
.js[data-reveal="genie"] .split-reveal.is-open { animation: rw-genie calc(1s * var(--as)) var(--ease) backwards; animation-delay: calc(var(--d, 0) * 90ms * var(--stagger) * var(--as)); }
/* Glide (KDE) */
.js[data-reveal="glide"] .split-reveal { transform-origin: 0% 50%; }
.js[data-reveal="glide"] .split-reveal:not(.is-open) { opacity: 0; transform: perspective(1100px) translateX(calc(-50px * var(--ai))) rotateY(calc(35deg * var(--ai))); }
/* Wobbly (KDE) */
.js[data-reveal="wobbly"] .split-reveal:not(.is-open) { opacity: 0; }
.js[data-reveal="wobbly"] .split-reveal.is-open { animation: rw-wobble calc(1.1s * var(--as)) ease-out backwards; animation-delay: calc(var(--d, 0) * 90ms * var(--stagger) * var(--as)); }
/* Squash (KDE) */
.js[data-reveal="squash"] .split-reveal { transform-origin: 50% 100%; }
.js[data-reveal="squash"] .split-reveal:not(.is-open) { opacity: 0; transform: scale(max(.3, calc(1 - .25 * var(--ai))), max(.05, calc(1 - .85 * var(--ai)))); }
/* Sheet: folds down from the top edge */
.js[data-reveal="flip"] .split-reveal { transform-origin: 50% 0%; }
.js[data-reveal="flip"] .split-reveal:not(.is-open) { opacity: 0; transform: perspective(1000px) rotateX(calc(-75deg * var(--ai))); }
/* Drop */
.js[data-reveal="fall"] .split-reveal:not(.is-open) { opacity: 0; transform: translateY(calc(-80px * var(--ai))) rotate(calc(-5deg * var(--ai))); }
/* Dissolve */
.js[data-reveal="blur"] .split-reveal:not(.is-open) { opacity: 0; filter: blur(calc(20px * var(--ai))); transform: scale(calc(1 + .04 * var(--ai))); }
/* Fade */
.js[data-reveal="fade"] .split-reveal:not(.is-open) { opacity: 0; }

/* ---------- motion: how headings and text appear (html[data-text]) ---------- */
.js .split-text .w { display: inline-block; vertical-align: top; }
.js[data-text="rise"] .split-text .w { overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.js .split-text .wi {
  display: inline-block;
  transition-property: transform, opacity, filter;
  transition-duration: calc(.9s * var(--as));
  transition-timing-function: var(--ease);
  transition-delay: calc(var(--i) * 60ms * var(--stagger) * var(--as));
}
.js .split-text em .wi {
  font-variation-settings: "SOFT" 0, "WONK" 0;
  transition-property: transform, opacity, filter, font-variation-settings;
  transition-duration: calc(.9s * var(--as)), calc(.9s * var(--as)), calc(.9s * var(--as)), calc(1.4s * var(--as));
  transition-delay: calc(var(--i) * 60ms * var(--stagger) * var(--as)), calc(var(--i) * 60ms * var(--stagger) * var(--as)), calc(var(--i) * 60ms * var(--stagger) * var(--as)), calc((var(--i) * 60ms * var(--stagger) + .5s) * var(--as));
}
.js .split-text:not(.in) em .wi { font-variation-settings: "SOFT" 100, "WONK" 1; }
.js[data-text="rise"] .split-text:not(.in) .wi { transform: translateY(calc(105% * var(--ai))); }
.js[data-text="blur"] .split-text:not(.in) .wi { opacity: 0; filter: blur(calc(10px * var(--ai))); }
.js[data-text="flip"] .split-text .wi { transform-origin: 50% 100%; }
.js[data-text="flip"] .split-text:not(.in) .wi { opacity: 0; transform: perspective(500px) rotateX(calc(-85deg * var(--ai))); }
.js[data-text="pop"] .split-text:not(.in) .wi { opacity: 0; transform: scale(max(0, calc(1 - .6 * var(--ai)))); }
.js[data-text="slide"] .split-text:not(.in) .wi { opacity: 0; transform: translateX(calc(-.7em * var(--ai))); }
.js[data-text="fade"] .split-text:not(.in) .wi { opacity: 0; }

.js .fade-up {
  transition-property: opacity, transform, filter;
  transition-duration: calc(.9s * var(--as));
  transition-timing-function: var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms * var(--stagger) * var(--as));
}
.js[data-text="rise"] .fade-up:not(.in) { opacity: 0; transform: translateY(calc(24px * var(--ai))); }
.js[data-text="blur"] .fade-up:not(.in) { opacity: 0; filter: blur(calc(8px * var(--ai))); }
.js[data-text="flip"] .fade-up { transform-origin: 50% 0%; }
.js[data-text="flip"] .fade-up:not(.in) { opacity: 0; transform: perspective(900px) rotateX(calc(-30deg * var(--ai))); }
.js[data-text="pop"] .fade-up:not(.in) { opacity: 0; transform: scale(calc(1 - .08 * var(--ai))); }
.js[data-text="slide"] .fade-up:not(.in) { opacity: 0; transform: translateX(calc(-36px * var(--ai))); }
.js[data-text="fade"] .fade-up:not(.in) { opacity: 0; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; overflow: hidden; color: var(--on-dark); margin-top: calc(-1 * var(--header-h)); }
.hero-bg { position: absolute; inset: -6% 0 0 0; width: 100%; height: 106%; object-fit: cover; will-change: transform; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--dark) 25%, transparent) 0%, color-mix(in srgb, var(--dark) 20%, transparent) 40%, color-mix(in srgb, var(--dark) 82%, transparent) 100%); }
.hero-content { position: relative; padding: 140px 0 100px; }
.hero h1 { font-size: clamp(3.6rem, 12vw, 10rem); margin-bottom: .15em; line-height: .95; }
.hero h1 em { color: var(--wood-light); }
.hero .btn { margin-top: 12px; }
.home .site-header:not(.scrolled) { background: transparent; }
.home .site-header:not(.scrolled) .logo, .home .site-header:not(.scrolled) .main-nav a, .home .site-header:not(.scrolled) .nav-toggle { color: var(--on-dark); }
.scroll-cue { position: absolute; right: 32px; bottom: 32px; width: 1px; height: 70px; background: color-mix(in srgb, var(--on-dark) 30%, transparent); overflow: hidden; }
.scroll-cue span { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--on-dark); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

/* ---------- marquee ---------- */
.marquee { background: var(--dark); color: var(--on-dark); overflow: hidden; padding: 18px 0; position: relative; z-index: 2; }
.marquee-track { display: flex; gap: 22px; width: max-content; animation: scroll var(--marquee-dur) linear infinite; font-family: var(--serif); font-size: 1.4rem; white-space: nowrap; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track em { color: var(--wood); font-style: normal; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- grain lines drawn while scrolling ---------- */
.grain-wrap { position: relative; }
html[data-grain="off"] .grain-lines { display: none; }
.grain-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.grain-lines path { fill: none; stroke: var(--wood); stroke-opacity: .28; stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--draw, 0)); }
.no-js-lines .grain-lines path, html:not(.js) .grain-lines path { stroke-dashoffset: 0; }
.grain-wrap > section { position: relative; }
.grain-wrap > section > .container { position: relative; z-index: 2; }
.grain-wrap .story-sticky { z-index: 2; }

/* ---------- sections / editorial layout ---------- */
.section { padding: 130px 0; }
.section-tight { padding: 20px 0 110px; }
.section-dark { background: var(--dark2); color: var(--on-dark); }
.section-dark em { color: var(--wood-light); }
.split { display: grid; grid-template-columns: 5fr 6fr; gap: 80px; align-items: center; }
.split.reverse { grid-template-columns: 6fr 5fr; }
h2.big { font-size: clamp(2.4rem, 5.5vw, 4.6rem); }
figure { margin: 0; position: relative; }
.bleed-right .rounded-wrap { margin-right: calc((100vw - min(1180px, 100vw - 32px)) / -2); border-radius: var(--radius) 0 0 var(--radius); aspect-ratio: 5 / 6; }
.ghost-num { position: absolute; font-family: var(--serif); font-size: clamp(8rem, 18vw, 16rem); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--wood); opacity: .55; z-index: 5; pointer-events: none; }
.bleed-right .ghost-num { left: -.45em; bottom: -.3em; }
.break-up { margin-top: -220px; }
.break-up .rounded-wrap { aspect-ratio: 4 / 5; box-shadow: 0 40px 80px rgba(20, 12, 6, .35); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 36px 0 0; }
.stats div { border-top: 1px solid color-mix(in srgb, var(--on-dark) 30%, transparent); padding-top: 14px; }
.stats dt { font-family: var(--serif); font-size: 1.4rem; }
.stats dd { margin: 0; font-size: .88rem; opacity: .75; }
.head-asym { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: end; margin-bottom: 56px; }
.head-asym h2 { margin-bottom: .15em; }
.page-head { padding: 90px 0 50px; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.three-col h2 { font-size: 1.7rem; }

/* ---------- riving story (pinned while scrolling) ---------- */
.riving-story { height: 420vh; position: relative; background: var(--paper); border-block: 1px solid var(--line); }
.story-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.story-art { position: relative; }
.story-art svg { width: 100%; max-width: 480px; margin-inline: auto; overflow: visible; }
.story-art .st { transition: opacity .7s var(--ease), transform .9s var(--ease); }
.story-art .bark { fill: #6b4a33; }
.story-art .face { fill: #e6c9a2; }
.story-art .ring { fill: none; stroke: #b98a5e; stroke-width: 1.4; }
.story-art .pith { fill: #7c4c27; }
.story-art .crack { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s var(--ease); }
.story-art .half { transition: transform 1s var(--ease); }
.story-art .steel { fill: #8d959b; stroke: #4b5257; stroke-width: 2; }
.story-art .steel-line { stroke: #c6cdd1; stroke-width: 3; }
.story-art .blank { fill: #e6c9a2; stroke: var(--bark); stroke-width: 2; stroke-linejoin: round; }
.story-art .facet { fill: none; stroke: #b98a5e; stroke-width: 1.5; }
.story-art .spoon { fill: #d9ab78; stroke: var(--bark); stroke-width: 2; }
.story-art .bowl { fill: #c99662; stroke: #a0673a; stroke-width: 1.5; }
.story-art .grain { fill: none; stroke: #9a6a40; stroke-width: 1.2; stroke-opacity: .7; }
.st-wedge { transform: translateY(-80px); opacity: 0; }
.st-blank, .st-spoon { opacity: 0; transform: scale(.94); transform-origin: 210px 210px; }
.riving-story[data-step="1"] .st-wedge { opacity: 1; transform: translateY(0); }
.riving-story[data-step="1"] .crack { stroke-dashoffset: .6; }
.riving-story[data-step="2"] .st-wedge { opacity: 1; transform: translateY(40px); }
.riving-story[data-step="2"] .crack { stroke-dashoffset: 0; }
.riving-story[data-step="2"] .half-l { transform: translateX(-34px) rotate(-5deg); transform-origin: 210px 380px; }
.riving-story[data-step="2"] .half-r { transform: translateX(34px) rotate(5deg); transform-origin: 210px 380px; }
.riving-story[data-step="3"] .st-log, .riving-story[data-step="4"] .st-log,
.riving-story[data-step="3"] .st-wedge, .riving-story[data-step="4"] .st-wedge { opacity: 0; }
.riving-story[data-step="3"] .st-blank { opacity: 1; transform: none; }
.riving-story[data-step="4"] .st-spoon { opacity: 1; transform: none; }
.story-progress { height: 2px; background: var(--line); margin: 36px auto 0; max-width: 480px; }
.story-progress span { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--wood); }
.story-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.story-step { display: grid; grid-template-columns: 56px 1fr; gap: 12px; opacity: .3; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.story-step.active { opacity: 1; transform: translateX(8px); }
.story-step h3 { margin: 0 0 4px; font-size: 1.6rem; }
.story-step p { margin: 0; color: var(--bark); }
.step-num { font-family: var(--serif); font-size: 1.1rem; color: var(--wood); padding-top: 6px; }
html:not(.js) .riving-story { height: auto; }
html:not(.js) .story-sticky { position: static; height: auto; padding: 80px 0; }
html:not(.js) .story-step { opacity: 1; }

/* ---------- products ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 24px; }
.product-card { position: relative; }
.product-img { display: block; overflow: hidden; border-radius: var(--radius); background: var(--paper); aspect-ratio: 4 / 5; position: relative; }
.product-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* close-up crop of the same photo, shown on hover */
.product-img .img-close { opacity: 0; transform: scale(calc(1 + .9 * var(--ai))) !important; transform-origin: var(--focus, 50% 50%); transition: opacity calc(.6s * var(--as)) var(--ease-out), transform calc(1.2s * var(--as)) var(--ease); }
html[data-hover="closeup"] .product-card:hover .img-close, html[data-hover="closeup"] .product-img:focus-visible .img-close { opacity: 1; transform: scale(calc(1 + 1.05 * var(--ai))) !important; }
html:not([data-hover="closeup"]) .product-img .img-close { display: none; }
/* other hover styles (html[data-hover]) — only once the photo has appeared */
.product-img.is-open .img-main { transition: transform calc(.8s * var(--as)) var(--ease); }
html[data-hover="zoom"] .product-card:hover .img-main { transform: scale(calc(1 + .08 * var(--ai))); }
html[data-hover="lift"] .product-card .product-img.is-open { transition: transform calc(.45s * var(--as)) var(--ease), box-shadow calc(.45s * var(--as)) var(--ease); }
html[data-hover="lift"] .product-card:hover .product-img.is-open { transform: translateY(calc(-10px * var(--ai))); box-shadow: 0 calc(22px * var(--ai)) calc(40px * var(--ai)) -12px rgba(0, 0, 0, .35); }
html[data-hover="tilt"] .product-card .product-img.is-open { transition: transform calc(.5s * var(--as)) var(--ease); transform-style: preserve-3d; }
html[data-hover="tilt"] .product-card:hover .product-img.is-open { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(1.02); transition-duration: .12s; }
html[data-hover="tilt"] .product-img::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, calc(.28 * min(1, var(--ai)))), transparent 55%); }
html[data-hover="tilt"] .product-card:hover .product-img::after { opacity: 1; }
html[data-hover="wobble"] .product-card:hover .product-img.is-open { animation: rw-wobble calc(.9s * var(--as)) ease-out; }
.tag-sold { position: absolute; top: 14px; left: 14px; z-index: 3; background: var(--dark); color: var(--on-dark); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 99px; }
.is-sold .img-main { filter: grayscale(.45) brightness(.92); }
.product-info { padding-top: 16px; }
.product-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.product-info h3 { margin: 0; font-size: 1.25rem; }
.product-info h3 a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.product-card:hover h3 a { background-size: 100% 1px; }
.wood { color: var(--muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; margin: 4px 0 0; }
.price { font-size: .9rem; font-weight: 500; margin: 0; white-space: nowrap; }
.price s { color: var(--muted); }
.price.big { font-family: var(--serif); font-size: 2rem; font-weight: 400; margin: 12px 0; }
.desc { font-size: .9rem; color: var(--bark); margin-top: 8px; }
.qv-btn { position: absolute; top: 12px; right: 12px; z-index: 3; display: inline-flex; gap: 6px; align-items: center; background: color-mix(in srgb, var(--paper) 94%, transparent); color: var(--ink); border: 0; border-radius: 99px; padding: 8px 14px; font-size: .82rem; cursor: pointer; opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .3s var(--ease), background .2s; }
.product-card:hover .qv-btn, .qv-btn:focus-visible { opacity: 1; transform: none; }
.qv-btn:hover { background: var(--btn); color: var(--btn-text); }
.product-card.hidden { display: none; }

/* home strip: horizontal scroll, staggered, rounded */
.strip-wrap { position: relative; z-index: 2; }
.strip-controls { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; gap: 16px; }
.strip-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; margin-left: 8px; transition: background .2s, color .2s; }
.strip-btn:hover { background: var(--btn); color: var(--btn-text); border-color: var(--btn); }
.strip {
  --gap: 24px; --pad: max(16px, calc((100vw - 1180px) / 2));
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((min(1180px, 100vw - 32px) - 3 * var(--gap)) / 4);
  gap: var(--gap); overflow-x: auto; padding: 0 var(--pad) 90px; scroll-padding-inline: var(--pad);
  scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--wood) transparent; align-items: start; cursor: grab;
}
.strip.dragging { cursor: grabbing; scroll-snap-type: none; }
.strip.dragging a { pointer-events: none; }
.strip .product-card { scroll-snap-align: start; }
.strip .product-card:nth-child(even) { margin-top: 64px; }

/* shop tools */
.shop-tools { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-top: 36px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filters a { text-decoration: none; border: 1px solid var(--line); padding: 8px 18px; border-radius: 99px; font-size: .9rem; background: var(--paper); transition: .2s; }
.filters a.active, .filters a:hover { background: var(--btn); color: var(--btn-text); border-color: var(--btn); }
.search { position: relative; flex: 0 1 320px; }
.search i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search input { width: 100%; font: inherit; font-size: .95rem; padding: 10px 16px 10px 42px; border: 1px solid var(--line); border-radius: 99px; background: var(--paper); color: var(--ink); }
.search input:focus { outline: 2px solid var(--wood); border-color: transparent; }
.result-count { color: var(--muted); font-size: .88rem; margin: 18px 0 0; min-height: 1.4em; }
.no-results { text-align: center; color: var(--muted); padding: 40px 0; }

/* quick view */
.quick-view { border: 0; border-radius: 20px; padding: 0; width: min(920px, calc(100% - 32px)); max-height: calc(100vh - 48px); background: var(--bg); color: var(--ink); box-shadow: 0 40px 100px rgba(20, 12, 6, .4); }
.quick-view::backdrop { background: color-mix(in srgb, var(--dark) 55%, transparent); backdrop-filter: blur(4px); }
/* pop-up style (html[data-popup]) */
.quick-view[open] { animation: qv-in calc(.5s * var(--as)) var(--ease) both; }
@keyframes qv-in { from { opacity: 0; transform: translateY(calc(24px * var(--ai))) scale(calc(1 - .08 * var(--ai))); } }
html[data-popup="genie"] .quick-view[open] { transform-origin: 50% 100%; animation: rw-genie calc(.75s * var(--as)) var(--ease) both; }
html[data-popup="wobbly"] .quick-view[open] { animation: rw-wobble calc(1s * var(--as)) ease-out both; }
html[data-popup="glide"] .quick-view[open] { transform-origin: 0% 50%; animation: pop-glide calc(.6s * var(--as)) var(--ease) both; }
@keyframes pop-glide { from { opacity: 0; transform: perspective(1200px) translateX(calc(-60px * var(--ai))) rotateY(calc(30deg * var(--ai))); } }
html[data-popup="fade"] .quick-view[open] { animation: vt-fade-in calc(.4s * var(--as)) ease both; }
html[data-popup="none"] .quick-view[open] { animation: none; }
.qv-grid { display: grid; grid-template-columns: 1fr 1fr; }
.qv-img img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.qv-body { padding: 44px 40px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.qv-body h2 { font-size: 2.2rem; margin-bottom: .1em; }
.qv-body .price.big { margin: 8px 0; }
.qv-form { margin: 16px 0; }
.qv-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--paper); color: var(--ink); cursor: pointer; font-size: 1.1rem; }

/* ---------- product page ---------- */
.product-detail { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; padding: 60px 0 40px; align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.gallery-main { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; cursor: zoom-in; background: var(--paper); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--s, 1)); transform-origin: var(--o, 50% 50%); transition: transform .6s var(--ease); }
.gallery-main.zooming img { transition: transform .15s linear; }
.zoom-hint { position: absolute; bottom: 14px; right: 14px; background: color-mix(in srgb, var(--paper) 90%, transparent); color: var(--ink); padding: 6px 12px; border-radius: 99px; font-size: .78rem; transition: opacity .3s; }
.gallery-main:hover .zoom-hint { opacity: 0; }
@media (hover: none) { .zoom-hint { display: none; } .gallery-main { cursor: default; } }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.thumb { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; aspect-ratio: 1; background: var(--paper); transition: border-color .2s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.active, .thumb:hover { border-color: var(--wood); }
.product-copy h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); margin-bottom: .1em; }
.sold-box { display: grid; gap: 8px; background: var(--paper); border: 1px dashed var(--wood); border-radius: var(--radius); padding: 22px; margin: 8px 0; }
.sold-box .btn { justify-self: start; margin-top: 6px; }
.passport { margin: 36px 0 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; position: relative; border-left: 4px solid var(--wood); }
.passport-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.passport-head h2 { font-size: 1.5rem; margin: 0; }
.stamp { font: 600 .78rem/1 var(--sans); letter-spacing: .14em; color: var(--wood-dark); border: 2px solid var(--wood-dark); border-radius: 6px; padding: 7px 10px; transform: rotate(-4deg); opacity: .85; }
.passport dl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin: 0; }
.passport dt { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--wood); font-weight: 600; }
.passport dd { margin: 2px 0 0; font-family: var(--serif); font-size: 1.1rem; }
.passport .note { margin: 18px 0 0; }
.acc { border-top: 1px solid var(--line); padding: 16px 0; }
.acc:last-child { border-bottom: 1px solid var(--line); }
.acc summary { cursor: pointer; font-family: var(--serif); font-size: 1.25rem; list-style: none; display: flex; justify-content: space-between; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; color: var(--wood); transition: transform .3s var(--ease); }
.acc[open] summary::after { transform: rotate(45deg); }
.acc ul { padding-left: 18px; margin: 12px 0 0; }
.acc p { margin: 12px 0 0; }
.section-related { padding-top: 80px; }

/* ---------- big quote ---------- */
.big-quote { padding: 160px 0; position: relative; overflow: hidden; }
.big-quote .container { position: relative; }
.big-quote .ghost-num { top: -.55em; left: -.08em; opacity: .35; }
.big-quote blockquote { position: relative; margin: 0 0 28px; font-family: var(--serif); font-size: clamp(2.2rem, 5.6vw, 5rem); line-height: 1.1; max-width: 1050px; }
.js .scrub-text .sw { opacity: .14; transition: opacity .25s linear; }
.js .scrub-text .sw.on { opacity: 1; }

/* ---------- blog ---------- */
.post-list { display: grid; gap: 64px; }
.post-card { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.post-card:nth-child(even) { grid-template-columns: 1.2fr 1fr; }
.post-card:nth-child(even) .post-img { order: 2; }
.post-img { aspect-ratio: 3 / 2; }
.post-card h2 a { text-decoration: none; }
.read-more { color: var(--wood-dark); font-weight: 500; text-decoration: none; }
.article { max-width: 760px; padding: 80px 0 110px; }
.article h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }

/* ---------- forms, contact, cart ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding: 90px 0 110px; }
.contact-info div { margin-bottom: 18px; }
.contact-info dt { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--wood); font-weight: 600; }
.contact-info dd { margin: 4px 0 0; font-size: 1.1rem; }
.form { background: var(--paper); padding: 36px; border-radius: var(--radius); border: 1px solid var(--line); display: grid; gap: 18px; align-self: start; }
.form label { display: grid; gap: 6px; font-size: .9rem; font-weight: 500; }
.form input, .form textarea, .qty-form input { font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); }
.form input:focus, .form textarea:focus { outline: 2px solid var(--wood); border-color: transparent; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding: 10px 8px; border-bottom: 1px solid var(--line); }
.cart-table td { padding: 16px 8px; border-bottom: 1px solid var(--line); }
.cart-item { display: flex; align-items: center; gap: 14px; }
.cart-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.qty-form { display: flex; gap: 8px; align-items: center; }
.qty-form input { width: 70px; padding: 6px 8px; }
.link-btn { background: none; border: 0; color: var(--wood-dark); cursor: pointer; font: inherit; text-decoration: underline; }
.cart-total { display: flex; justify-content: flex-end; align-items: center; gap: 24px; margin-top: 28px; font-size: 1.2rem; }
.order-summary { list-style: none; padding: 0; margin: 24px 0; }
.order-summary li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }
.order-summary .total { font-weight: 600; border-bottom: 0; }

/* ---------- payment choice & bank details ---------- */
.pay-methods { border: 0; padding: 0; margin: 6px 0 0; display: grid; gap: 10px; }
.pay-methods legend { font-size: .9rem; font-weight: 500; margin-bottom: 8px; padding: 0; }
.pay-method, .form .pay-method { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.pay-method:hover { border-color: var(--wood); }
.pay-method:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink) inset; }
.pay-method input { accent-color: var(--wood); width: 18px; height: 18px; margin: 0; }
.pay-label { flex: 1; font-weight: 500; }
.pay-icons { display: flex; gap: 6px; font-size: 1.7rem; color: var(--muted); }
.pay-icons .fa-cc-visa { color: #1a1f71; }
.pay-icons .fa-cc-mastercard { color: #eb001b; }
.pay-icons .fa-paypal { color: #003087; }
.pay-note { margin: 0; text-align: center; }
.bank-box { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--wood); border-radius: var(--radius); padding: 26px 28px; margin: 10px 0 28px; max-width: 640px; }
.bank-box h2 { font-size: 1.6rem; margin: 0 0 16px; }
.bank-box dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 0 0 16px; }
.bank-box dt { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--wood); font-weight: 600; }
.bank-box dd { margin: 2px 0 0; }
.bank-box .mono { font-family: ui-monospace, monospace; }
.bank-box .strong { font-weight: 600; }
.one-off { color: var(--muted); }

/* ---------- trust strip ---------- */
.trust { border-top: 1px solid var(--line); background: var(--paper); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 34px 0; }
.trust-item { display: flex; gap: 14px; align-items: flex-start; }
.trust-item i { font-size: 1.3rem; color: var(--wood); margin-top: 3px; width: 26px; text-align: center; }
.trust-item strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.05rem; }
.trust-item span { font-size: .86rem; color: var(--muted); }

/* ---------- newsletter ---------- */
.newsletter { background: var(--band); color: var(--on-dark); padding: 70px 0; }
.newsletter em { color: var(--wood-light); }
.newsletter-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.newsletter h2 { margin: 0; font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
.newsletter-form { display: flex; gap: 10px; background: rgba(255, 255, 255, .1); padding: 6px; border-radius: 99px; border: 1px solid color-mix(in srgb, var(--on-dark) 25%, transparent); }
.newsletter-form input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--on-dark); font: inherit; padding: 10px 18px; }
.newsletter-form input::placeholder { color: color-mix(in srgb, var(--on-dark) 60%, transparent); }
.newsletter-form input:focus { outline: none; }
.newsletter-form:focus-within { border-color: var(--wood-light); }

/* ---------- footer ---------- */
.site-footer { background: var(--dark); color: color-mix(in srgb, var(--on-dark) 78%, var(--dark)); padding: 80px 0 30px; }
.site-footer .logo { color: var(--on-dark); }
.footer-top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 64px; }
.footer-quote { font-family: var(--serif); font-style: italic; font-size: 1.15rem; max-width: 340px; color: var(--on-dark); }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-cols h2 { font-family: var(--sans); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 16px; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-cols a { text-decoration: none; font-size: .92rem; }
.footer-cols a:hover { color: var(--on-dark); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid color-mix(in srgb, var(--on-dark) 15%, transparent); margin-top: 60px; padding-top: 24px; font-size: .85rem; }

/* social icons — cream circles with each brand in its own colour */
.social { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; max-width: 420px; }
.si { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--on-dark); text-decoration: none; font-size: 19px; line-height: 1; transition: transform .2s, box-shadow .2s; }
.si:hover { transform: translateY(-3px); box-shadow: 0 6px 14px rgba(0, 0, 0, .3); }
.si svg { width: 22px; height: 22px; }
.si-facebook   { color: #1877f2; }
.si-telegram   { color: #26a5e4; }
.si-pinterest  { color: #e60023; }
.si-threads    { color: #000; }
.si-mastodon   { color: #6364ff; }
.si-linkedin   { color: #0a66c2; }
.si-tumblr     { color: #36465d; }
.si-x-twitter  { color: #000; }
.si-tiktok i   { color: #000; text-shadow: -1.5px -1px 0 #25f4ee, 1.5px 1px 0 #fe2c55; }
.si-snapchat i { color: #fffc00; -webkit-text-stroke: 1.2px #000; }
.si-instagram i {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.istock-mark { display: grid; place-items: center; width: 20px; height: 20px; background: #13a538; color: #fff; font: 700 9px/1 var(--sans); border-radius: 2px; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .strip { grid-auto-columns: calc((min(1180px, 100vw - 32px) - 2 * var(--gap)) / 2.6); }
}
@media (max-width: 960px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .split.reverse, .product-detail, .contact, .post-card, .post-card:nth-child(even), .footer-top, .head-asym, .newsletter-inner, .qv-grid { grid-template-columns: 1fr; gap: 40px; }
  .post-card:nth-child(even) .post-img { order: 0; }
  .bleed-right .rounded-wrap { margin-right: -16px; }
  .break-up { margin-top: 0; }
  .split.reverse figure { order: 2; }
  .three-col { grid-template-columns: 1fr; gap: 24px; }
  .section { padding: 90px 0; }
  .story-grid { grid-template-columns: 1fr; gap: 20px; }
  .story-art svg { max-width: 300px; }
  .story-progress { margin-top: 12px; max-width: 300px; }
  .story-steps { gap: 8px; }
  .story-step { display: none; }
  .story-step.active { display: grid; transform: none; }
  .gallery { position: static; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .qv-img img { aspect-ratio: 16 / 10; }
  .qv-body { padding: 28px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .main-nav.open { display: flex; }
  .home .site-header:not(.scrolled) .main-nav a { color: var(--bark); }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .strip { grid-auto-columns: 72%; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: 1fr; }
  .cart-table thead { display: none; }
  .cart-table tr { display: grid; grid-template-columns: 1fr 1fr; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .cart-table td { border: 0; padding: 6px 0; }
  .cart-table td.cart-item { grid-column: 1 / -1; }
  .form { padding: 24px; }
  .qv-btn { opacity: 1; transform: none; padding: 8px 10px; }
  .passport dl, .bank-box dl { grid-template-columns: 1fr; }
  .shop-tools { flex-direction: column; align-items: stretch; }
  .search { flex-basis: auto; }
  .big-quote { padding: 110px 0; }
  .bleed-right .ghost-num { font-size: 6rem; left: 8px; bottom: -.35em; }
  .scroll-cue { display: none; }
}
@media (max-width: 440px) {
  .product-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
}

/* ---------- reduced motion: everything still works, nothing moves ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .split-reveal, .js .split-reveal:not(.is-open) { clip-path: none !important; opacity: 1 !important; transform: none !important; filter: none !important; }
  .js .split-text .wi, .js .fade-up, .js .split-reveal img { transform: none !important; opacity: 1 !important; filter: none !important; }
  .js .scrub-text .sw { opacity: 1; }
  .grain-lines path { stroke-dashoffset: 0; }
  .marquee-track { animation: none; }
  @view-transition { navigation: none; }
}
