/* HHIDE — all colours and textures live here */
:root {
  /* black leather, with a faint oxblood patina showing through where it has worn */
  --p1: #0a0909;
  --p2: #0a0909;
  --p3: #0a0909;
  --ink: #ede4d6;
  --mute: #9d958c;
  --mark: "Bodoni Moda", "Didot", serif;
  /* pebbled leather grain: turbulence lit from the top-left so it reads as raised grain */
  --leather: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320'><filter id='l'><feTurbulence type='fractalNoise' baseFrequency='.11' numOctaves='3' seed='4' stitchTiles='stitch'/><feDiffuseLighting lighting-color='%23fff' surfaceScale='2.6'><feDistantLight azimuth='225' elevation='50'/></feDiffuseLighting></filter><rect width='100%' height='100%' filter='url(%23l)'/></svg>");
  --thread: #d8d2c6;
  --line: rgba(216, 210, 198, .14);
  --serif: "Bodoni Moda", "Didot", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --g: clamp(16px, 4vw, 56px);
  /* grain textures (SVG feTurbulence) */
  --noise-film: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1.6 0 0 0 -.65'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  --noise-pebble: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='turbulence' baseFrequency='.28' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 2.2 0 0 0 -.55'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  --noise-hide: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.05 .08' numOctaves='4' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1.8 0 0 0 -.7'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { background: var(--p1); color: var(--ink); scroll-behavior: smooth; }
html:has(dialog[open]) { overflow: hidden; }
body {
  font: 400 1.125rem/1.55 var(--serif);
  background: var(--p1);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body::after { /* film grain over everything */
  content: ""; position: fixed; inset: -100px; z-index: 60; pointer-events: none;
  background: var(--noise-film); opacity: .07;
  animation: grain 1.2s steps(4) infinite;
}
@keyframes grain { 25% { transform: translate(-30px, 20px); } 50% { transform: translate(20px, -40px); } 75% { transform: translate(-10px, 30px); } }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 1px dashed var(--thread); outline-offset: 4px; }
[id] { scroll-margin-top: 72px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--g); top: -60px; z-index: 30; padding: 8px 12px; background: var(--ink); color: var(--p1); font: .75rem var(--mono); }
.skip:focus { top: 8px; }
.eyebrow, .note-mono { font: 400 .72rem/1.5 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }

/* text hover: letters lift in stagger, stitch underline draws in */
.split > span { display: inline-block; transition: transform .6s var(--ease) calc(var(--i) * 22ms); }
:is(a, button):is(:hover, :focus-visible) .split > span { transform: translateY(-.22em); }
nav a, .back, .close { position: relative; font: .72rem var(--mono); letter-spacing: .16em; text-transform: uppercase; padding: 4px 0; }
:is(nav a, .back, .close)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px;
  background: repeating-linear-gradient(90deg, var(--thread) 0 4px, transparent 4px 7px);
  transform: scaleX(0); transform-origin: left; transition: transform .7s steps(9, end); /* sewn in, stitch by stitch */
}
:is(nav a, .back, .close):is(:hover, :focus-visible)::after { transform: scaleX(1); }

/* header */
.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px;
  padding: 18px var(--g);
  background: rgba(10, 9, 9, .84); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.mark { font: 800 1.4rem/1 var(--mark); font-optical-sizing: auto; letter-spacing: .06em; margin-right: -.06em; }
nav { display: flex; flex-wrap: wrap; gap: 8px clamp(18px, 3vw, 40px); }

/* panels: tonal near-blacks, each with its own grain */
.panel { position: relative; isolation: isolate; padding: clamp(80px, 12vw, 168px) var(--g); }
.panel::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--tex); opacity: var(--tex-o); }
.panel::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--leather) 0 0 / var(--grain, 320px); mix-blend-mode: soft-light; opacity: .4; }
.t1 { background: radial-gradient(60% 50% at 18% 12%, rgba(58, 14, 18, .22), transparent 70%), radial-gradient(45% 40% at 85% 80%, rgba(40, 10, 12, .18), transparent 70%), var(--p1); --tex: var(--noise-film); --tex-o: .05; }
.t2 { background: radial-gradient(55% 45% at 82% 15%, rgba(58, 14, 18, .2), transparent 70%), radial-gradient(40% 50% at 10% 90%, rgba(36, 9, 11, .2), transparent 70%), var(--p2); --tex: var(--noise-pebble); --tex-o: .04; --grain: 280px; }
.t3 { background: radial-gradient(50% 45% at 30% 95%, rgba(58, 14, 18, .2), transparent 70%), radial-gradient(45% 40% at 90% 20%, rgba(36, 9, 11, .16), transparent 70%), var(--p3); --tex: var(--noise-hide); --tex-o: .03; --grain: 360px; }

/* seams: groove + stitch line, drawn on via mask stroke-dashoffset */
.seam { position: relative; z-index: 3; height: 14px; margin: -7px 0; pointer-events: none; }
.seam svg { display: block; width: 100%; height: 100%; overflow: visible; }
.seam .groove { stroke: #000; stroke-opacity: .75; stroke-width: 3; }
.seam .st { stroke: var(--thread); stroke-opacity: .7; stroke-width: 1.3; stroke-dasharray: 9 6; stroke-linecap: round; }
.seam.in { --d: 0; }
.draw { fill: none; stroke: #fff; stroke-width: 14; stroke-dasharray: 1; stroke-dashoffset: var(--d, 1); transition: stroke-dashoffset 1.8s var(--ease); }

/* reveal on scroll, staggered */
.js [data-reveal] > * { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 110ms); }
.js [data-reveal].in > * { opacity: 1; transform: none; }

/* headings */
h1 { font: 600 clamp(3.4rem, 10.5vw, 10.5rem)/.9 var(--serif); font-optical-sizing: auto; letter-spacing: -.025em; margin-top: 24px; }
h1 em { font-weight: 500; }
h2:not(.eyebrow) { font: 600 clamp(2.3rem, 5.4vw, 4.6rem)/1.02 var(--serif); letter-spacing: -.015em; }
.lede, .note { color: var(--mute); max-width: 38ch; }
.lede { margin-top: 28px; font-size: clamp(1.25rem, 1.6vw, 1.7rem); }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 96px); align-items: center; min-height: min(calc(100svh - 62px), 1000px); padding-block: clamp(48px, 7vw, 120px); }
.hero .slot { aspect-ratio: 4 / 5; max-height: 76svh; margin-left: auto; }

/* wide screens: content sits in a centred column so nothing drifts to the edges */
.panel { --max: 1480px; padding-inline: max(var(--g), (100% - var(--max)) / 2); }
.manifesto { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); column-gap: var(--g); align-items: start; }
.manifesto .statement { margin-top: 0; max-width: 30ch; font-size: clamp(1.7rem, 3.4vw, 3.6rem); }
.manifesto .marquee { grid-column: 1 / -1; width: 100vw; margin-inline: calc(50% - 50vw); }
@media (min-width: 861px) { .panel .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* manifesto + marquee */
.statement { margin-top: 32px; max-width: 26ch; font-size: clamp(1.7rem, 3.6vw, 3.1rem); line-height: 1.15; }
.statement p + p { margin-top: .6em; }
.statement p:not(:first-child) { color: var(--mute); }
.marquee { margin: clamp(64px, 9vw, 120px) calc(var(--g) * -1) 0; overflow: hidden; white-space: nowrap; font: italic 400 clamp(2.2rem, 6.2vw, 7rem)/1.1 var(--serif); color: rgba(216, 210, 198, .3); }
.track { display: flex; width: max-content; animation: marquee 80s linear infinite; }
.track span { padding-right: .4em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* section heads */
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(40px, 6vw, 80px); max-width: 48rem; }

/* collection */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: clamp(36px, 5vw, 64px) clamp(16px, 3vw, 40px); }
.card { display: block; width: 100%; }
.card-meta { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; margin-top: 18px; }
.card-name { font-size: 1.8rem; line-height: 1.1; }
.card-price { grid-area: 1 / 2; align-self: center; font: .8rem var(--mono); letter-spacing: .06em; }
.card-type, .card-mat { grid-column: 1 / -1; font: .68rem/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.state { font: .72rem var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }

/* image slots: empty stitched frame until a photo path is set */
.slot { --s: 1; --d: 1; --lx: 0px; --gx: 0px; position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #0b0a0a; border-radius: 4px;
  /* a cut leather edge: dark painted rim, a burnished lip, then shade falling inward */
  box-shadow: 0 0 0 1px #050101, 0 1px 0 1px rgba(255, 235, 220, .05), inset 0 0 0 1px rgba(0, 0, 0, .9), inset 0 0 0 3px rgba(120, 60, 50, .16), inset 0 0 26px rgba(0, 0, 0, .55); }
.slot-in {
  position: absolute; inset: -6%;
  background: radial-gradient(90% 70% at 28% 18%, #1c1a17, #0c0b0a 70%);
  transform: translate3d(0, var(--py, 0px), 0) scale(var(--s)); transition: transform 1.2s var(--ease);
}
.slot-in img { width: 100%; height: 100%; object-fit: cover; }
.slot::after { content: ""; position: absolute; inset: -24px; pointer-events: none; background: var(--noise-pebble); opacity: .08; transform: translate(var(--gx), calc(var(--gx) * -.7)); transition: transform 1.4s var(--ease); }
.slot.has::after { opacity: .04; }
.stitch { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); overflow: visible; pointer-events: none; z-index: 1; }
/* saddle stitch: a pressed groove, holes punched into it, waxed thread over the top */
.stitch rect:not(.draw) { fill: none; rx: 2px; }
.stitch .base { stroke: rgba(0, 0, 0, .75); stroke-width: 3; filter: drop-shadow(0 1px 0 rgba(255, 235, 220, .07)); }
.stitch .hot { stroke: var(--thread); stroke-width: 1.7; stroke-dasharray: 6 4; stroke-linecap: round; opacity: .9; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .8)); }
.stitch .draw { transition-duration: 1.2s; }
.slot-label { position: absolute; left: 24px; bottom: 22px; z-index: 1; font: .64rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); transform: translateX(var(--lx)); transition: transform .9s var(--ease); }
.slot.has .slot-label { display: none; }
.card:is(:hover, :focus-visible) .slot, .slot-host:hover .slot { --s: 1.045; --d: 0; --lx: 10px; --gx: 14px; }
[data-parallax] .slot-in { transition: none; transform: translate3d(0, var(--py, 0px), 0) scale(1.08); }

/* graft swatches */
.swatches { display: flex; gap: 6px; height: clamp(380px, 46vw, 540px); }
.swatches li { --on: 0; flex: 1 1 0; min-width: 0; transition: flex-grow 1s var(--ease), opacity .9s var(--ease), transform 1.1s var(--ease); }
.swatches li:is(:hover, :has(.sw:focus-visible)), .swatches:not(:hover) li:has([aria-expanded="true"]) { --on: 1; flex-grow: 3.4; }
.sw { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; width: 100%; height: 100%; padding: 22px; outline: 1px dashed rgba(216, 210, 198, .22); outline-offset: -9px; }
.sw:focus-visible { outline-color: var(--thread); }
.sw-tex { position: absolute; inset: 0; z-index: -1; transform: scale(calc(1 + var(--on) * .05)); transition: transform 1.4s var(--ease); }
.sw::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent 35%, rgba(0, 0, 0, .78)); }
.sw-name { font-size: 1.4rem; line-height: 1.1; white-space: nowrap; }
.sw-name small, .tag { display: block; font: .62rem var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-top: 6px; }
.sw-desc { max-width: 32ch; margin-top: 12px; font: .78rem/1.55 var(--mono); opacity: var(--on); transform: translateY(calc((1 - var(--on)) * 12px)); transition: opacity .6s var(--ease) .15s, transform .9s var(--ease); }
.tag { display: inline-block; margin: 0 0 auto; align-self: flex-start; padding: 4px 8px; border: 1px dashed var(--thread); color: var(--thread); }
.next { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 40px; color: var(--mute); }
.next .tag { margin: 0; }

/* real leather macro textures, recoloured to the site palette (assets/img/leather) */
.sw-tex { background: var(--img) center / cover, #12100e; filter: brightness(calc(.8 + var(--on) * .25)); transition: transform 1.4s var(--ease), filter 1s var(--ease); }
/* colour blooms out from the cursor as a swatch opens */
@property --on { syntax: "<number>"; inherits: true; initial-value: 0; }
.swatches li, .js .swatches[data-reveal] > li { transition: flex-grow 1s var(--ease), opacity .9s var(--ease) calc(var(--i, 0) * 110ms), transform 1.1s var(--ease) calc(var(--i, 0) * 110ms), --on 1.3s var(--ease); }
.sw-tex::before { content: ""; position: absolute; inset: 0; background: var(--col) center / cover;
  -webkit-mask: radial-gradient(circle at var(--mx, 50%) var(--my, 60%), #000 calc(var(--on) * 85%), transparent calc(var(--on) * 107%));
  mask: radial-gradient(circle at var(--mx, 50%) var(--my, 60%), #000 calc(var(--on) * 85%), transparent calc(var(--on) * 107%)); }
.sw-tex::after { content: ""; position: absolute; inset: 0; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 40%), rgba(255, 245, 230, .14), transparent 70%); opacity: var(--on); }
[data-skin="calf"] { --img: url("../img/leather/calf.jpg"); --col: url("../img/leather/calf-c.jpg"); }
[data-skin="emboss"] { --img: url("../img/leather/emboss.jpg"); --col: url("../img/leather/emboss-c.jpg"); }
[data-skin="croc"] { --img: url("../img/leather/croc.jpg"); --col: url("../img/leather/croc-c.jpg"); }
[data-skin="lizard"] { --img: url("../img/leather/lizard.jpg"); --col: url("../img/leather/lizard-c.jpg"); }
[data-skin="snake"] { --img: url("../img/leather/snake.jpg"); --col: url("../img/leather/snake-c.jpg"); }
/* swatch names ripple like the collection names */
.sw:is(:hover, :focus-visible) .split > span { transform: translateY(-.18em); }

/* atelier */
/* footer */
.foot { display: grid; gap: 40px; padding-bottom: 48px; }
.foot .big { font: 900 clamp(4rem, 19vw, 17rem)/.82 var(--mark); letter-spacing: -.01em; margin-right: .01em; justify-self: start; }
.foot.small { padding-block: 48px; }

/* thanks */
.thanks { min-height: calc(100svh - 160px); display: grid; align-items: center; }
.back { display: inline-block; margin-top: 40px; }

/* product drawer */
.piece {
  margin: 0 0 0 auto; width: min(640px, 100%); max-width: 100%; height: 100dvh; max-height: 100dvh;
  padding: 0; border: 0; border-left: 1px dashed rgba(216, 210, 198, .3);
  background: var(--p2); color: var(--ink); overflow-y: auto; overscroll-behavior: contain;
}
.piece[open] { animation: drawer .9s var(--ease); }
.piece::backdrop { background: rgba(5, 5, 4, .72); backdrop-filter: blur(3px); }
.piece[open]::backdrop { animation: fade .6s var(--ease); }
@keyframes drawer { from { transform: translateX(48px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }
.sheet { display: grid; align-content: start; min-height: 100%; gap: 28px; padding: 22px clamp(16px, 4vw, 40px) 56px; }
.close { justify-self: end; }
.piece-media { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.piece-info h2 { margin: 10px 0 28px; }
.piece-info dl { display: grid; grid-template-columns: auto 1fr; gap: 12px 28px; padding-top: 22px; border-top: 1px dashed var(--line); }
.piece-info dt { font: .68rem/2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.buy-area { margin-top: 32px; padding-top: 24px; border-top: 1px dashed var(--line); }
.buy { width: 100%; padding: 18px; border: 1px solid var(--thread); text-align: center; font: .78rem var(--mono); letter-spacing: .22em; text-transform: uppercase; transition: background .5s var(--ease), color .5s var(--ease); }
.buy:is(:hover, :focus-visible) { background: var(--thread); color: var(--p1); }
.buy:disabled { opacity: .6; cursor: progress; }
.msg { min-height: 1.5em; margin-top: 14px; font: .78rem var(--mono); color: var(--ink); }

/* headings: letters lift and brighten by distance to the cursor (--k set in JS) */
h2 .w { display: inline-block; white-space: nowrap; }
h2 .ch { --k: 0; display: inline-block; transform: translateY(calc(var(--k) * -.14em)) rotate(calc(var(--k) * -3deg)); color: color-mix(in srgb, var(--ink), #fff calc(var(--k) * 60%)); transition: transform .5s var(--ease), color .5s var(--ease); }

/* click: pricking-iron mark, pressed then fading like a hole closing */
.prick { position: fixed; z-index: 70; display: flex; gap: 5px; translate: -50% -50%; pointer-events: none; animation: prick 1s var(--ease) forwards; }
.prick i { width: 1.5px; height: 6px; background: var(--thread); transform: rotate(35deg); border-radius: 1px; }
.prick i:nth-child(2) { animation-delay: 40ms; } .prick i:nth-child(3) { animation-delay: 80ms; }
@keyframes prick { 0% { opacity: 0; scale: 1.6; } 15% { opacity: .9; scale: 1; } 100% { opacity: 0; scale: .9; } }

/* press: things deboss into the leather when clicked */
.card:active .slot { --s: 1.01; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .6), inset 0 6px 18px rgba(0, 0, 0, .7); }
.sw:active { transform: scale(.99); }
.buy:active { box-shadow: inset 0 3px 10px rgba(0, 0, 0, .5); transform: translateY(1px); }
.sw, .buy { transition: transform .3s var(--ease), background .5s var(--ease), color .5s var(--ease); }

/* card hover: a slow burnish sheen crosses the frame */
.slot::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(110deg, transparent 35%, rgba(230, 224, 212, .09) 50%, transparent 65%); transform: translateX(-110%); }
.card:is(:hover, :focus-visible) .slot::before { transform: translateX(110%); transition: transform 1.6s var(--ease); }

/* wordmark: hover pulls the letters together like a drawn thread */
.mark { transition: letter-spacing .9s var(--ease), margin-right .9s var(--ease); }
.top .mark:hover { letter-spacing: .02em; margin-right: -.02em; }
.foot .big:hover { letter-spacing: -.03em; margin-right: .03em; }
.foot .big .split > span { transition-duration: .9s; }
.foot .big:is(:hover, :focus-visible) .split > span { transform: translateY(-.06em); }

/* FIRST CUT: the collection name, set large */
h2.display { font-size: clamp(3.6rem, 12vw, 11.5rem); font-weight: 800; line-height: .86; text-transform: uppercase; letter-spacing: -.02em; }

/* eyebrows: letters wave in when their section is revealed */
.js [data-reveal] [data-wave] .split > span, .js [data-reveal][data-wave] .split > span { opacity: 0; transform: translateY(.7em); transition: opacity .7s var(--ease) calc(var(--i) * 28ms + .1s), transform .9s var(--ease) calc(var(--i) * 28ms + .1s); }
.js .in [data-wave] .split > span, .js .in[data-wave] .split > span { opacity: 1; transform: none; }

/* antique engravings laid along the seams; the stitch parts around each one and it is etched in left to right */
/* the animals ARE the borders: no stitch line, the engraving itself divides the sections */
.seam[data-animal] { --fh: clamp(34px, 3.4vw, 50px); height: 0; margin: 0; overflow: visible; }
.seam .band, .seam .row { position: absolute; left: 0; right: 0; top: 50%; translate: 0 -50%; }
/* snake: one long body, edge to edge, slithering in from the left */
.seam .band { display: block; width: 100%; margin: 0; height: clamp(52px, 7.5vw, 116px); object-fit: fill; filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .7)); clip-path: inset(0 100% 0 0); transition: clip-path 3.2s cubic-bezier(.45, .05, .2, 1) .2s; }
.seam.in .band { clip-path: inset(0 0 0 0); }
/* croc, lizard, horse: a frieze of small figures, facing alternately, stepping in one by one */
.seam .row { display: flex; justify-content: center; align-items: flex-end; width: 100%; overflow: hidden; padding-block: 12px; }
.seam .row img + img { margin-left: calc(var(--fh) * -.12); }
.seam .row img { height: var(--fh); width: auto; opacity: 0; translate: 0 10px; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .7)); pointer-events: auto; transition: opacity .9s var(--ease) calc(var(--i) * 70ms), translate 1.1s var(--ease) calc(var(--i) * 70ms), scale .5s var(--ease); }
.seam .row img { transition: opacity .9s var(--ease) calc(var(--i) * 45ms), translate 1.1s var(--ease) calc(var(--i) * 45ms), scale .5s var(--ease), transform .55s var(--ease) calc(var(--i) * 12ms); }
.seam .row img.flip { transform: scaleX(-1); }
.seam.in .row img { opacity: .9; translate: 0 0; }
.seam .row img:hover { scale: 1.18; opacity: 1; transition-delay: 0s; }

.sec-head:has(.display) { max-width: none; }
@media (max-width: 860px) {
  .manifesto { grid-template-columns: 1fr; }
  .manifesto .statement { margin-top: 32px; }
  .hero .slot { margin-left: 0; max-height: none; }
  .hero, .atelier { grid-template-columns: 1fr; align-items: start; }
  .hero { min-height: 0; }
  .swatches { flex-direction: column; height: auto; }
  /* phones: text always readable, colour only for the swatch you tap */
  .swatches li { --on: 0; flex: none; }
  .swatches li:has([aria-expanded="true"]) { --on: 1; }
  .sw-desc { opacity: 1; transform: none; }
  .sw { min-height: 168px; }
}
@media (max-width: 420px) { .piece-media { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] > * { transform: none; }
}

/* hero: text, skin chips and the photo frame */
.hero { grid-template-areas: "text art"; }
.hero-text { grid-area: text; }
.hero-art { grid-area: art; position: relative; }
.cta { display: inline-block; margin-top: 36px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 40px; }
.chips a { display: grid; justify-items: center; gap: 8px; font: .6rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); transition: color .5s var(--ease); }
.chip-tex { width: 46px; height: 46px; border-radius: 50%; background: var(--img) center / cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, .9), 0 0 0 3px rgba(216, 210, 198, .12), inset 0 0 10px rgba(0, 0, 0, .6); position: relative; overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.chip-tex::after { content: ""; position: absolute; inset: 0; background: var(--col) center / cover; opacity: 0; transition: opacity .7s var(--ease); }
.chips a:is(:hover, :focus-visible) { color: var(--ink); }
.chips a:is(:hover, :focus-visible) .chip-tex { transform: translateY(-4px) rotate(-8deg); box-shadow: 0 0 0 1px #000, 0 0 0 3px var(--thread), 0 10px 18px rgba(0, 0, 0, .6); }
.chips a:is(:hover, :focus-visible) .chip-tex::after { opacity: 1; }
.cta::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: repeating-linear-gradient(90deg, var(--thread) 0 4px, transparent 4px 7px); transform: scaleX(.35); transform-origin: left; transition: transform .7s steps(9, end); }
.cta { position: relative; font: .74rem var(--mono); letter-spacing: .2em; text-transform: uppercase; padding: 4px 0; }
.cta:is(:hover, :focus-visible)::after { transform: scaleX(1); }
@media (max-width: 860px) {
  .hero { grid-template-areas: "text" "art"; row-gap: 48px; }
}

/* croc + horse borders: a few larger figures, evenly spaced, not a crowd */
.seam[data-animal] { --fh: clamp(46px, 5vw, 74px); }
.seam .row.spaced { justify-content: space-evenly; }
.seam .row.spaced img + img { margin-left: 0; }

/* one continuous hide: grain + patina live on the page, sections are transparent so no edges show between them */
body { position: relative; background:
  radial-gradient(40% 12% at 15% 6%, rgba(58, 14, 18, .22), transparent 70%),
  radial-gradient(35% 10% at 88% 22%, rgba(58, 14, 18, .18), transparent 70%),
  radial-gradient(45% 12% at 20% 45%, rgba(40, 10, 12, .2), transparent 70%),
  radial-gradient(40% 10% at 80% 68%, rgba(58, 14, 18, .18), transparent 70%),
  radial-gradient(45% 10% at 30% 92%, rgba(40, 10, 12, .2), transparent 70%),
  var(--p1); }
body::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: var(--leather) 0 0 / 320px; mix-blend-mode: soft-light; opacity: .4; }
.panel, .t1, .t2, .t3 { background: transparent; }
.panel::before, .panel::after { display: none; }

.seam[data-animal="horse"] { --fh: clamp(72px, 7.5vw, 116px); }
