/* Don't Look — the shop. Ink black, bone and blood red; Instrument Serif, Inter, JetBrains Mono. */

@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/instrument-serif-normal-400-latin.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/instrument-serif-italic-400-latin.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/inter-latin.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 100 800; font-display: swap; src: url(../fonts/jetbrains-mono-latin.woff2) format('woff2'); }

:root {
  --ink: #0b0a0a;
  --ink-2: #131111;
  --ink-3: #1c1919;
  --bone: #ece5da;
  --bone-2: #d9d0c3;
  --dim: #9d958b;
  --blood: #8d080c;
  --blood-hi: #c11a20;
  --line: rgba(236, 229, 218, .12);
  --line-2: rgba(236, 229, 218, .22);
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --ds: 1;
  --sans: 'Inter', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ink); color: var(--bone);
  font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--blood); color: var(--bone); }
:focus-visible { outline: 2px solid var(--blood-hi); outline-offset: 3px; }

/* film grain over everything, very faint */
body::after {
  content: ''; position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } }

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

.label { font: 500 11px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.label--red { color: var(--blood-hi); }
.display { font: 400 calc(clamp(52px, 9vw, 148px) * var(--ds, 1))/.92 var(--serif); letter-spacing: -.02em; margin: 0; padding-bottom: .08em; }
.display em, .h1 em, .h2 em { font-style: italic; color: var(--blood-hi); }
.h1 { font: 400 calc(clamp(44px, 6.4vw, 96px) * var(--ds, 1))/.95 var(--serif); letter-spacing: -.015em; margin: 0; padding-bottom: .06em; }
.h2 { font: 400 calc(clamp(34px, 4.2vw, 60px) * var(--ds, 1))/1 var(--serif); letter-spacing: -.01em; margin: 0; padding-bottom: .06em; }
.h3 { font: 400 calc(clamp(24px, 2.2vw, 30px) * var(--ds, 1))/1.1 var(--serif); margin: 0; }
.lede { font: 400 clamp(18px, 1.6vw, 22px)/1.5 var(--sans); color: var(--bone-2); max-width: 38em; }
.muted { color: var(--dim); }
.prose { max-width: 40em; color: var(--bone-2); }
.prose h2 { font: 400 calc(32px * var(--ds, 1))/1.1 var(--serif); color: var(--bone); margin: 2em 0 .5em; }
.prose a { color: var(--bone); text-decoration: underline; text-decoration-color: var(--blood-hi); text-underline-offset: 3px; }

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

.wrap { padding-inline: var(--gutter); max-width: 1680px; margin-inline: auto; }
.section { padding-block: clamp(72px, 11vw, 160px); }
.section--tight { padding-block: clamp(48px, 6vw, 96px); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.stack > * + * { margin-top: var(--gap, 20px); }
.row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------- header */

.announce { background: var(--blood); color: var(--bone); text-align: center; padding: 8px var(--gutter); font: 500 11px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.top {
  position: sticky; top: 0; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 14px var(--gutter); transition: background .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.top.is-solid, .top--solid { background: rgba(11, 10, 10, .86); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom-color: var(--line); }
.top nav { display: flex; gap: clamp(16px, 2.4vw, 36px); align-items: center; }
.top nav:last-child { justify-content: flex-end; }
.top a.nav, .top button.nav { font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--bone-2); background: none; border: 0; padding: 8px 0; cursor: pointer; position: relative; }
.top .nav::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--blood-hi); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.top .nav:hover::after, .top .nav[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.top .brand img { height: 34px; width: auto; }
.bag-count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 6px; border-radius: 9px; background: var(--blood); color: var(--bone); font-size: 10px; letter-spacing: 0; vertical-align: 1px; }
.bag-count:empty { display: none; }
.menu-btn { display: none; }

/* the categories sit in the bar when there's room; otherwise under a Shop menu */
.navdrop { position: relative; }
.navdrop__panel { display: none; position: absolute; top: 100%; left: -18px; min-width: 230px; padding: 10px 0; background: rgba(19, 17, 17, .97); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
.navdrop__panel a { display: block; padding: 10px 18px; font: 500 11px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--bone-2); }
.navdrop__panel a:hover { color: var(--bone); background: var(--ink-3); }
.top .nav { white-space: nowrap; }
.top nav:first-child { min-width: 0; }
/* categories show in the bar on wide screens; shop.js sets .is-compact when they don't fit */
.nav--cat { display: none; }
@media (min-width: 1180px) { .top:not(.is-compact) nav .nav--cat { display: inline-block; } }
@media (min-width: 821px) {
  .top.is-compact .navdrop:hover .navdrop__panel, .top.is-compact .navdrop:focus-within .navdrop__panel { display: block; }
}
@media (min-width: 821px) and (max-width: 1179px) {
  .navdrop:hover .navdrop__panel, .navdrop:focus-within .navdrop__panel { display: block; }
}

@media (max-width: 820px) {
  .top { grid-template-columns: auto 1fr auto; }
  .top .nav--wide { display: none; }
  .menu-btn { display: inline-block; }
  .top .brand { justify-self: center; }
  .top .brand img { height: 28px; }
}

.drawer-menu { position: fixed; inset: 0; z-index: 60; background: var(--ink); padding: 88px var(--gutter) 40px; display: none; flex-direction: column; gap: 6px; }
.drawer-menu.is-open { display: flex; }
.drawer-menu a { font: 400 calc(48px * var(--ds, 1))/1.15 var(--serif); }
.drawer-menu a em { color: var(--blood-hi); }
.drawer-menu .close { position: absolute; top: 18px; right: var(--gutter); }

/* ---------------------------------------------------------------- buttons, forms */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px;
  background: var(--bone); color: var(--ink); border: 1px solid var(--bone); border-radius: 0; cursor: pointer;
  font: 500 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; position: relative; overflow: hidden;
  transition: color .4s var(--ease), border-color .4s var(--ease); isolation: isolate;
}
.btn::before { content: ''; position: absolute; inset: 0; background: var(--blood); transform: translateY(101%); transition: transform .5s var(--ease); z-index: -1; }
.btn:hover { color: var(--bone); border-color: var(--blood); }
.btn:hover::before { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--bone); border-color: var(--line-2); }
.btn--red { background: var(--blood); border-color: var(--blood); color: var(--bone); }
.btn--red::before { background: var(--bone); }
.btn--red:hover { color: var(--ink); border-color: var(--bone); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.link { font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; border-bottom: 1px solid var(--blood-hi); padding-bottom: 6px; display: inline-flex; gap: 10px; }

.field { display: grid; gap: 8px; }
.field label, .field .label { color: var(--bone-2); }
.input, .field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px; background: transparent; border: 1px solid var(--line-2); border-radius: 0;
  color: var(--bone); transition: border-color .3s;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: none; border-color: var(--bone); }
.field .error { color: #ff6b6b; font-size: 14px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--bone) 50%), linear-gradient(135deg, var(--bone) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 17px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: var(--ink); }
.inline-form { display: flex; border-bottom: 1px solid var(--line-2); max-width: 520px; }
.inline-form input { flex: 1; background: transparent; border: 0; padding: 18px 0; color: var(--bone); min-width: 0; font-size: 17px; }
.inline-form input:focus { outline: none; }
.inline-form button { background: none; border: 0; cursor: pointer; padding: 0 0 0 16px; font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--bone); }
.inline-form button:hover { color: var(--blood-hi); }
.form-note { font-size: 14px; color: var(--dim); margin-top: 12px; min-height: 1.5em; }
.hp { position: absolute; left: -9999px; }

.flash { position: fixed; z-index: 90; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--bone); color: var(--ink); padding: 14px 22px; font-size: 15px; box-shadow: 0 20px 60px rgba(0,0,0,.5); max-width: calc(100vw - 32px); animation: flash-in .5s var(--ease); }
.flash--error { background: var(--blood); color: var(--bone); }
@keyframes flash-in { from { opacity: 0; transform: translate(-50%, 16px); } }

/* ---------------------------------------------------------------- hero: the eye */

.hero { position: relative; min-height: calc(100svh - 62px); display: grid; place-items: center; text-align: center; overflow: hidden; padding: 40px var(--gutter) 96px; }
.hero__glow { position: absolute; left: 50%; top: 42%; width: min(120vw, 1400px); aspect-ratio: 1; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(141, 8, 12, .34), rgba(141, 8, 12, .08) 55%, transparent 72%); filter: blur(10px); animation: breathe 7s ease-in-out infinite; pointer-events: none; }
@keyframes breathe { 50% { transform: translate(-50%, -50%) scale(1.08); opacity: .75; } }
.hero__inner { position: relative; display: grid; justify-items: center; gap: clamp(18px, 3vh, 32px); }
.eye { position: relative; width: min(62vw, 520px, 46vh * 1.54); aspect-ratio: 648 / 420; }
.eye img { position: absolute; inset: 0; width: 100%; height: 100%; user-select: none; -webkit-user-drag: none; }
.eye__ball { position: absolute; inset: 0; -webkit-mask: url(../img/eye-mask.png) center / 100% 100% no-repeat; mask: url(../img/eye-mask.png) center / 100% 100% no-repeat; }
.eye__iris, .eye__pupil { will-change: transform; transition: transform .9s var(--ease); }
.hero__word { width: min(70vw, 560px); }
.hero__tag { font: 400 calc(clamp(20px, 2.2vw, 28px) * var(--ds, 1))/1.35 var(--serif); font-style: italic; color: var(--bone-2); max-width: 26em; margin: 0; }
.hero__corner { position: absolute; bottom: 28px; font: 500 11px/1.5 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.hero__corner--l { left: var(--gutter); text-align: left; }
.hero__corner--r { right: var(--gutter); text-align: right; }
.scroll-cue { display: inline-block; width: 1px; height: 36px; background: linear-gradient(var(--bone), transparent); vertical-align: middle; margin-left: 10px; animation: cue 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 640px) { .hero__corner--r { display: none; } }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

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

.marquee { border-block: 1px solid var(--line); overflow: hidden; white-space: nowrap; padding: 22px 0; }
.marquee__track { display: inline-flex; gap: 48px; animation: marquee 38s linear infinite; padding-left: 48px; }
.marquee span { font: 400 calc(clamp(28px, 3.4vw, 46px) * var(--ds, 1))/1 var(--serif); }
.marquee span:nth-child(even) { font-style: italic; color: var(--dim); }
.marquee i { color: var(--blood-hi); font-style: normal; align-self: center; font-size: 18px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- product cards */

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 48px) clamp(12px, 1.6vw, 24px); }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .grid { grid-template-columns: repeat(2, 1fr); } }
.card { display: block; position: relative; }
.card__media { position: relative; aspect-ratio: 4 / 5; background: var(--bone); overflow: hidden; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .7s var(--ease), transform 1.4s var(--ease); }
.card__media img + img { opacity: 0; }
.card:hover .card__media img { transform: scale(1.035); }
.card:hover .card__media img + img { opacity: 1; }
.card__empty { position: absolute; inset: 0; display: grid; place-items: center; }
.card__empty img { position: static; width: 36%; height: auto; opacity: .25; }
.card__tag { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--ink); color: var(--bone); padding: 6px 9px; font: 500 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.card__tag--sold { background: var(--blood); }
.card__meta { display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; align-items: baseline; }
.card__title { font: 400 calc(21px * var(--ds, 1))/1.15 var(--serif); margin: 0; }
.card__price { font: 500 13px/1 var(--mono); color: var(--bone-2); white-space: nowrap; }
.card__cat { margin-top: 6px; }
.card.is-sold .card__media img { filter: grayscale(.85) contrast(.95); opacity: .82; }

/* ---------------------------------------------------------------- home sections */

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); flex-wrap: wrap; }

.drop-callout { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.drop-callout__cover { aspect-ratio: 4 / 5; background: var(--ink-3) center / cover; position: relative; }
.countdown { display: flex; gap: clamp(16px, 2.4vw, 32px); margin: 28px 0 36px; }
.countdown div { display: grid; gap: 6px; }
.countdown b { font: 400 calc(clamp(44px, 5vw, 76px) * var(--ds, 1))/1 var(--serif); font-variant-numeric: tabular-nums; }
@media (max-width: 820px) { .drop-callout { grid-template-columns: 1fr; } }

.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 24px); }
@media (max-width: 820px) { .cats { grid-template-columns: 1fr; } }
.cat { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--ink-3); display: flex; align-items: flex-end; padding: clamp(20px, 2.4vw, 36px); }
@media (max-width: 820px) { .cat { aspect-ratio: 16 / 10; } }
.cat > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.cat::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 10, 10, .95) 0%, rgba(11, 10, 10, .78) 32%, rgba(11, 10, 10, .2) 62%, transparent 75%); }
.cat:hover > img { transform: scale(1.05); }
.cat__text, .cat__go { z-index: 1; }
.cat__text { position: relative; }
.cat__name { font: 400 calc(clamp(40px, 4.4vw, 68px) * var(--ds, 1))/.95 var(--serif); margin: 8px 0 0; padding-bottom: .06em; }
.cat__go { position: absolute; top: clamp(20px, 2.4vw, 36px); right: clamp(20px, 2.4vw, 36px); width: 46px; height: 46px; border: 1px solid rgba(11, 10, 10, .25); color: var(--ink); background: rgba(236, 229, 218, .6); backdrop-filter: blur(6px); border-radius: 50%; display: grid; place-items: center; transition: background .4s var(--ease), border-color .4s; }
.cat:hover .cat__go { background: var(--blood); border-color: var(--blood); color: var(--bone); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 112px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.steps { display: grid; gap: 0; counter-reset: s; margin: 32px 0 40px; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 56px 1fr; padding: 18px 0; border-top: 1px solid var(--line); color: var(--bone-2); }
.steps li::before { counter-increment: s; content: '0' counter(s); font: 500 12px/1.8 var(--mono); color: var(--blood-hi); }
.commission-art { position: relative; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--line); background: radial-gradient(closest-side, rgba(141, 8, 12, .22), transparent); }
.commission-art img { width: 52%; opacity: .95; }
.commission-art .label { position: absolute; }
.commission-art .label:nth-of-type(1) { top: 20px; left: 20px; }
.commission-art .label:nth-of-type(2) { bottom: 20px; right: 20px; }

/* the maker's portrait on the About page */
.maker { position: relative; margin: 0; aspect-ratio: 4 / 5; max-height: min(78vh, 820px); width: 100%; overflow: hidden; background: var(--ink-3); }
.maker > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; filter: saturate(.86) contrast(1.04); }
.maker::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px var(--line); background: linear-gradient(to top, rgba(11, 10, 10, .78), transparent 32%); pointer-events: none; }
.maker figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; }
.maker figcaption .label { color: var(--bone-2); }
.maker figcaption img { width: 54px; }

.archive { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
@media (max-width: 900px) { .archive { grid-template-columns: repeat(3, 1fr); } }
.archive a { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bone); }
.archive img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(.9); opacity: .78; transition: filter .8s var(--ease), opacity .8s; }
.archive a:hover img { filter: none; opacity: 1; }
.archive span { position: absolute; left: 8px; bottom: 8px; background: var(--ink); padding: 4px 7px; font: 500 9px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }

.manifesto { text-align: center; }
.manifesto blockquote { margin: 0 auto; max-width: 18em; font: 400 calc(clamp(34px, 4.6vw, 68px) * var(--ds, 1))/1.08 var(--serif); }
.manifesto blockquote em { color: var(--blood-hi); }

.signup { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
@media (max-width: 820px) { .signup { grid-template-columns: 1fr; } }

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

.page-head { padding-top: clamp(48px, 8vw, 120px); padding-bottom: clamp(32px, 4vw, 56px); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 32px; }
.chip { padding: 10px 16px; border: 1px solid var(--line-2); font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--bone-2); transition: all .3s; }
.chip:hover { border-color: var(--bone); color: var(--bone); }
.chip[aria-current="page"] { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.toolbar { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); margin-bottom: 40px; gap: 16px; flex-wrap: wrap; }
.empty { padding: 120px 0; text-align: center; color: var(--dim); }
.empty img { width: 120px; margin: 0 auto 24px; opacity: .5; }

/* ---------------------------------------------------------------- piece page */

.piece { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: clamp(32px, 5vw, 96px); padding-top: 32px; align-items: start; }
@media (max-width: 960px) { .piece { grid-template-columns: 1fr; } }
.gallery { display: grid; gap: 12px; }
.gallery figure { margin: 0; background: var(--bone); aspect-ratio: 4 / 5; overflow: hidden; cursor: zoom-in; }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 960px) {
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery figure { flex: 0 0 86%; scroll-snap-align: center; }
}
.gallery-dots { display: none; gap: 6px; justify-content: center; margin-top: 14px; }
@media (max-width: 960px) { .gallery-dots { display: flex; } }
.gallery-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); transition: background .3s; }
.gallery-dots i.is-on { background: var(--bone); }
.buy { position: sticky; top: 96px; display: grid; gap: 24px; }
.buy__title { font: 400 calc(clamp(40px, 4.4vw, 64px) * var(--ds, 1))/.98 var(--serif); margin: 0; padding-bottom: .06em; }
.buy__price { font: 400 calc(30px * var(--ds, 1))/1 var(--serif); }
.buy__stock { display: flex; gap: 10px; align-items: center; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #6fbf73; box-shadow: 0 0 0 4px rgba(111, 191, 115, .15); }
.dot--red { background: var(--blood-hi); box-shadow: 0 0 0 4px rgba(193, 26, 32, .18); }
.buy__desc { color: var(--bone-2); white-space: pre-line; }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 18px 0; display: flex; justify-content: space-between; font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; font-size: 16px; transition: transform .3s; }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc .acc__body { padding: 0 0 22px; color: var(--bone-2); white-space: pre-line; font-size: 15px; }
.crumbs { padding-top: 24px; }
.crumbs a:hover { color: var(--bone); }

.zoom { position: fixed; inset: 0; z-index: 95; background: rgba(11, 10, 10, .96); display: none; place-items: center; cursor: zoom-out; padding: 24px; }
.zoom.is-open { display: grid; }
.zoom img { max-height: calc(100vh - 48px); width: auto; }

/* ---------------------------------------------------------------- bag drawer */

.scrim { position: fixed; inset: 0; z-index: 70; background: rgba(0, 0, 0, .55); opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); }
.scrim.is-open { opacity: 1; pointer-events: auto; }
.bag { position: fixed; z-index: 80; top: 0; right: 0; bottom: 0; width: min(460px, 100vw); background: var(--ink-2); border-left: 1px solid var(--line); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .55s var(--ease); }
.bag.is-open { transform: none; }
.bag__head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.bag__lines { flex: 1; overflow-y: auto; padding: 8px 24px; }
.bag__foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line img, .line .ph { width: 76px; aspect-ratio: 4 / 5; object-fit: cover; background: var(--bone); }
.line__title { font: 400 calc(19px * var(--ds, 1))/1.15 var(--serif); }
.line__actions { display: flex; gap: 14px; margin-top: 10px; align-items: center; }
.qty { display: inline-flex; border: 1px solid var(--line-2); }
.qty button { width: 30px; height: 30px; background: none; border: 0; cursor: pointer; color: var(--bone); }
.qty span { width: 28px; display: grid; place-items: center; font: 500 12px var(--mono); }
.textbtn { background: none; border: 0; padding: 0; cursor: pointer; color: var(--dim); font: 500 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.textbtn:hover { color: var(--bone); }
.sum { display: flex; justify-content: space-between; font-size: 15px; }
.sum--big { font: 400 calc(26px * var(--ds, 1))/1 var(--serif); }
.check { display: flex; gap: 12px; align-items: center; cursor: pointer; font-size: 15px; color: var(--bone-2); }
.check input { width: 18px; height: 18px; accent-color: var(--blood); }
.problem { color: #ff8a80; font-size: 14px; padding: 10px 0; }
.iconbtn { background: none; border: 0; color: var(--bone); cursor: pointer; padding: 8px; display: grid; place-items: center; }

/* InPost: the delivery choice and the locker picker in the bag */
.deliver { border: 0; margin: 0; padding: 0; display: grid; gap: 2px; }
.deliver legend { padding: 0; margin-bottom: 6px; }
.deliver .check { padding: 6px 0; }
.lockers { padding: 4px 0 6px 30px; }
.lockers .inline-form input { padding: 12px 0; font-size: 15px; text-transform: uppercase; }
.lockers .form-note { margin: 6px 0 4px; min-height: 0; font-size: 13px; }
.lockers__list { display: grid; gap: 6px; max-height: 230px; overflow-y: auto; }
.locker { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; text-align: left; width: 100%; padding: 10px 12px; background: var(--ink-3); border: 1px solid var(--line); color: var(--bone); cursor: pointer; transition: border-color .2s; }
.locker:hover { border-color: var(--bone-2); }
.locker b { font-weight: 500; font-size: 14px; }
.locker small { color: var(--dim); font-size: 12px; grid-column: 1; }
.locker i { font: 500 11px/1.4 var(--mono); color: var(--dim); font-style: normal; grid-row: 1; grid-column: 2; }
.locker-chosen { border: 1px solid var(--bone-2); padding: 10px 12px; font-size: 14px; display: grid; gap: 4px; }
.locker-chosen small { color: var(--dim); }

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

.foot { border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 96px) var(--gutter) 32px; margin-top: clamp(40px, 6vw, 80px); }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; max-width: 1680px; margin: 0 auto; }
@media (max-width: 820px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }
.foot__brand img { width: 120px; margin-bottom: 20px; }
.foot h4 { margin: 0 0 16px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--bone-2); }
.foot ul a:hover { color: var(--bone); }
.foot__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; max-width: 1680px; margin: 64px auto 0; padding-top: 24px; border-top: 1px solid var(--line); }

/* the studio credit: Lythronax's tile mark (raptor head and serif L), set in the same line of
   small capitals as the copyright beside it */
.foot__base { align-items: center; }
.credit { display: inline-flex; align-items: center; gap: .6em; color: inherit; transition: color .3s var(--ease); }
.credit:hover { color: var(--bone); }
.credit__tile { position: relative; width: 16px; height: 16px; border-radius: 4px; background: #6e1b26; overflow: hidden; flex: none; transition: transform .4s var(--ease); }
.credit:hover .credit__tile { transform: rotate(-6deg); }
.credit__tile svg { position: absolute; left: 1px; top: 3px; width: 14px; height: 11px; fill: #4a1119; }
.credit__tile span { position: absolute; inset: 0; display: grid; place-items: center; font: 400 11px/1 var(--serif); color: #efe7d9; letter-spacing: 0; text-transform: none; }

/* ---------------------------------------------------------------- misc pages */

.narrow { max-width: 760px; margin-inline: auto; }
.card-box { border: 1px solid var(--line); padding: clamp(24px, 4vw, 48px); }
.order-lines { margin: 24px 0; border-top: 1px solid var(--line); }
.order-lines div { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); gap: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.file-drop { border: 1px dashed var(--line-2); padding: 28px; text-align: center; color: var(--dim); cursor: pointer; display: block; }
.file-drop:hover { border-color: var(--bone); color: var(--bone); }
.file-drop input { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
