/* ==========================================================================
   ORANGE SLASH  ·  Diesel & Dirt Co.
   The D/D mark's slash leans 0.7 right for every unit it climbs (about 35°).
   Every cut on the site leans the same way: button ends, the corner off each
   product photo, the chamfers on the ID plate. Nothing else on the page is
   diagonal, so the slash always reads as the brand.
   ========================================================================== */

:root {
  --lean: .7;                    /* the slash: sideways travel per unit of height */

  /* ground: the brand ink, warm like a shop floor under sodium light */
  --ink: #161514;                /* page ground (logo-kit ink, exact) */
  --ink-2: #1e1c1a;              /* raised: cards, header, drawer */
  --ink-3: #2a2723;              /* wells, inputs, hover */
  --line: rgb(236 228 212 / .1);
  --line-2: rgb(236 228 212 / .24);

  /* type on ink */
  --cream: #ECE4D4;              /* the two D's: headings and prose */
  --cream-2: #cfc6b6;            /* secondary prose, 11:1 on ink */
  --mute: #9a9389;               /* labels, meta, footnotes only, 6:1 on ink */
  --steel: #A39F98;              /* the mark's third stroke: rules, rivets */

  /* the one hot accent */
  --slash: #E4571E;              /* the orange slash */
  --slash-hi: #f26a30;           /* hover */
  --slash-deep: #b8410f;         /* orange on paper (large type only, 4.2:1) */
  --slash-ink: #161514;          /* text sitting on orange, 4.9:1 */

  /* the light band: a sand garment, not white */
  --paper: #e9e0cf;
  --paper-2: #ddd2bd;
  --paper-ink: #161514;
  --paper-mute: #5b554d;         /* 6:1 on paper */

  /* the ID plate: painted steel */
  --plate: #2b2824;
  --plate-2: #211f1c;
  --rivet: #8f897f;

  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", "Helvetica Neue", sans-serif;
  --mono: "Spline Sans Mono", ui-monospace, monospace;   /* plates, prices, sizes */
  --script: "Satisfy", cursive;                           /* women's line, two spots only */

  --wrap: 1200px;
  --sec: clamp(3.5rem, 7vw, 5.5rem);
  --cut: 2.1rem;                 /* photo corner: 2.1 wide x 3 tall = the 0.7 lean */
  --cut-h: 3rem;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-punch: cubic-bezier(.16, 1, .3, 1);

  /* z-scale */
  --z-header: 50;
  --z-scrim: 70;
  --z-drawer: 80;
  --z-toast: 90;
}

/* the women's line swaps the slash for its pink. Nothing else changes. */
.rose {
  --slash: #ea9cae;
  --slash-hi: #f4b2c1;
  --slash-deep: #b04a64;
  --slash-ink: #161514;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font: 450 1.0625rem/1.6 var(--body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
address { font-style: normal; }
[hidden] { display: none !important; }
::selection { background: var(--slash); color: var(--slash-ink); }
:focus-visible { outline: 2px solid var(--slash); outline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; }
p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--slash); color: var(--slash-ink); padding: .7rem 1rem; font-weight: 600; }
.skip:focus { top: 1rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.h2 {
  font: 800 clamp(2.3rem, 4.6vw, 3.5rem)/.95 var(--display);
  text-transform: uppercase;
  letter-spacing: .005em;
  text-wrap: balance;
}
.h3 { font: 800 1.6rem/1 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.lede { font-size: 1.15rem; line-height: 1.55; color: var(--cream-2); max-width: 56ch; text-wrap: pretty; }
.prose { max-width: 62ch; color: var(--cream-2); text-wrap: pretty; }
.prose p + p { margin-top: 1rem; }
.prose strong { color: var(--cream); font-weight: 600; }
.prose a, .link { color: var(--cream); text-decoration: underline; text-decoration-color: var(--slash); text-underline-offset: .22em; text-decoration-thickness: 2px; }
.prose a:hover, .link:hover { color: var(--slash); }
.price { font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; }

section { padding-block: var(--sec); }
/* two dark sections in a row share one gap, not two */
section:not(.paper) + section:not(.paper) { padding-top: 0; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem 2rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.sec-head .lede { margin-top: .7rem; }
.more { font-weight: 600; color: var(--cream); display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; }
.more::after { content: ""; width: .75em; height: .75em; background: var(--slash); clip-path: polygon(0 0, 30% 0, 100% 100%, 70% 100%); transform: skewX(0); transition: transform .3s var(--ease); }
.more:hover::after { transform: translateX(4px); }

/* ---------- the slash button ---------- */
.btn {
  --h: 3.1rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  height: var(--h);
  padding: 0 calc(var(--h) * var(--lean) + 1rem) 0 1.4rem;
  background: var(--slash);
  color: var(--slash-ink);
  font: 700 1.02rem/1 var(--body);
  letter-spacing: .01em;
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--h) * var(--lean)) 100%, 0 100%);
  transition: background-color .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--slash-hi); }
.btn:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--cream); }
.btn--cream { background: var(--cream); color: var(--ink); }
.btn--cream:hover { background: #fff6e6; }
.btn--cream:focus-visible { box-shadow: inset 0 0 0 3px var(--slash); }
.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink:hover { background: #2c2925; }
.btn--block { width: 100%; }
.btn--sm { --h: 2.6rem; font-size: .95rem; padding-left: 1.1rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btns { display: flex; flex-wrap: wrap; gap: .8rem 1rem; align-items: center; }

/* ---------- announcement + header ---------- */
.notice { background: var(--slash); color: var(--slash-ink); font-weight: 600; font-size: .92rem; text-align: center; padding: .5rem 1rem; }
.notice a { text-decoration: underline; text-underline-offset: .18em; }

.top { position: sticky; top: 0; z-index: var(--z-header); background: rgb(22 21 20 / .94); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line); }
.top__bar { display: flex; align-items: center; gap: 2rem; height: 4.4rem; }
.brand { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; }
.brand img { height: 1.55rem; width: auto; }
.brand span { font: 800 1.35rem/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.nav { display: flex; gap: 1.6rem; margin-left: auto; }
.nav a { font-weight: 600; font-size: .98rem; color: var(--cream-2); padding-block: .4rem; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--cream); border-color: var(--slash); }
.cart-btn { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; padding: .5rem .2rem; }
.cart-btn svg { width: 1.35rem; height: 1.35rem; }
.cart-btn__n { min-width: 1.45rem; height: 1.45rem; padding-inline: .3rem; display: inline-grid; place-items: center; background: var(--slash); color: var(--slash-ink); font: 600 .78rem/1 var(--mono); }
.cart-btn__n[data-n="0"] { background: var(--ink-3); color: var(--mute); }
.menu-btn { display: none; width: 2.6rem; height: 2.6rem; place-items: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 1.4rem; height: 2px; background: var(--cream); position: relative; transition: transform .3s var(--ease), background .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -7px; }
.menu-btn span::after { top: 7px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { padding-block: clamp(2.2rem, 5vw, 4rem) var(--sec); }
.hero__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero__name {
  font: 800 clamp(3.6rem, 8.6vw, 6.8rem)/.88 var(--display);
  text-transform: uppercase;
  letter-spacing: -.005em;
}
.hero__name span { display: block; }
.tagline { display: flex; align-items: center; gap: .9rem; margin-top: 1.1rem; font: 700 1.15rem/1 var(--display); letter-spacing: .34em; text-transform: uppercase; color: var(--slash); }
.tagline::before, .tagline::after { content: ""; height: 3px; width: 2.4rem; background: var(--slash); }
.hero .lede { margin-top: 1.6rem; font-size: 1.22rem; max-width: 36ch; color: var(--cream); }
.hero .btns { margin-top: 2rem; }
.hero__facts { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin-top: 1.8rem; color: var(--cream-2); font-size: .95rem; }
.hero__facts li { display: flex; align-items: center; gap: .5rem; }
.hero__facts li::before { content: ""; width: .55rem; height: .8rem; background: var(--slash); clip-path: polygon(70% 0, 100% 0, 30% 100%, 0 100%); }

/* the rack: three shots hung side by side */
.rack { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: .9rem; }
.rack__shot { position: relative; overflow: hidden; background: var(--ink-2); }
.rack__shot:first-child { grid-row: span 2; aspect-ratio: 3 / 4.1; }
.rack__shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rack__shot figcaption { position: absolute; left: 0; bottom: 0; right: 0; padding: 2.2rem .9rem .8rem; background: linear-gradient(transparent, rgb(22 21 20 / .85)); font-size: .88rem; font-weight: 600; }
.rack__shot figcaption a:hover { color: var(--slash); }

/* the cut corner, shared by every product photo */
.cut { clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut-h), 100% 100%, 0 100%); }

/* ---------- product card ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.4rem 1.4rem; }
.card { position: relative; display: block; transition: transform .45s var(--ease); }
.card__frame { position: relative; }
.card__frame::after {
  /* the slash that drops into the cut corner on hover */
  content: ""; position: absolute; top: 0; right: 0; width: var(--cut); height: var(--cut-h);
  background: var(--slash);
  clip-path: polygon(38% 0, 62% 0, 100% 54%, 100% 88%);
  opacity: 0; transform: translate(-6px, 6px);
  transition: opacity .3s var(--ease), transform .45s var(--ease);
}
.card__img { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--ink-2); }
.card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s var(--ease), transform .8s var(--ease); }
.card__img .card__alt { opacity: 0; }
.card__name { margin-top: .85rem; font: 600 1.04rem/1.3 var(--body); color: var(--cream); }
.card__meta { display: flex; justify-content: space-between; gap: 1rem; margin-top: .2rem; font-size: .92rem; color: var(--mute); }
.card__meta .price { color: var(--cream); }
.card:hover { transform: translateY(-4px); }
.card:hover .card__frame::after { opacity: 1; transform: none; }
.card:hover .card__img img { transform: scale(1.04); }
.card:hover .card__alt { opacity: 1; }
.card:focus-visible { outline-offset: 6px; }

/* ---------- categories ---------- */
.cats { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1rem; }
.cat { display: block; }
.cat__img { aspect-ratio: 1; overflow: hidden; background: var(--ink-2); }
.cat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cat__name { display: flex; justify-content: space-between; align-items: baseline; margin-top: .8rem; font: 800 1.35rem/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.cat__name small { font: 500 .8rem var(--mono); color: var(--mute); letter-spacing: 0; }
.cat:hover .cat__img img { transform: scale(1.05); }
.cat:hover .cat__name { color: var(--slash); }

/* ---------- paper band ---------- */
.paper { background: var(--paper); color: var(--paper-ink); }
.paper .lede, .paper .prose { color: #2e2b27; }
.paper .h2 { color: var(--paper-ink); }

/* ---------- the ID plate (signature) ---------- */
.plate {
  --ch: .7rem;   /* chamfer: corners cut at the same lean */
  position: relative;
  padding: 1.9rem 2rem 1.7rem;
  background: linear-gradient(180deg, var(--plate), var(--plate-2));
  color: var(--cream);
  clip-path: polygon(var(--ch) 0, calc(100% - var(--ch)) 0, 100% calc(var(--ch) / var(--lean)), 100% calc(100% - var(--ch) / var(--lean)), calc(100% - var(--ch)) 100%, var(--ch) 100%, 0 calc(100% - var(--ch) / var(--lean)), 0 calc(var(--ch) / var(--lean)));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .07), inset 0 -2px 0 rgb(0 0 0 / .4);
}
.plate::before {
  /* four rivets */
  content: ""; position: absolute; inset: .85rem; pointer-events: none;
  background:
    radial-gradient(circle at 5px 5px, #c9c3b8 0 1.4px, var(--rivet) 2px 4px, #3b3732 4.6px, transparent 5.4px) top left / 11px 11px no-repeat,
    radial-gradient(circle at 5px 5px, #c9c3b8 0 1.4px, var(--rivet) 2px 4px, #3b3732 4.6px, transparent 5.4px) top right / 11px 11px no-repeat,
    radial-gradient(circle at 5px 5px, #c9c3b8 0 1.4px, var(--rivet) 2px 4px, #3b3732 4.6px, transparent 5.4px) bottom left / 11px 11px no-repeat,
    radial-gradient(circle at 5px 5px, #c9c3b8 0 1.4px, var(--rivet) 2px 4px, #3b3732 4.6px, transparent 5.4px) bottom right / 11px 11px no-repeat;
}
.plate__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 .9rem 1rem; border-bottom: 1px solid var(--line-2); }
.plate__head img { height: 1.1rem; width: auto; }
.plate__title { font: 800 1.3rem/1 var(--display); text-transform: uppercase; letter-spacing: .06em; }
.plate dl { display: grid; grid-template-columns: max-content 1fr; gap: .7rem 1.4rem; margin: 1.1rem .9rem 0; }
.plate dt { font: 500 .72rem/1.9 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.plate dd { margin: 0; font-weight: 600; color: var(--cream); }
.plate dd .price { font-weight: 500; }
.plate__foot { margin: 1.2rem .9rem 0; padding-top: .9rem; border-top: 1px solid var(--line-2); font: 500 .72rem/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }

/* ---------- giveaway band ---------- */
.give { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.give .lede { margin-top: 1rem; }
.give--top { align-items: start; }
.rows { margin-top: 1.8rem; border-top: 1px solid rgb(22 21 20 / .18); }
.rows li { display: grid; grid-template-columns: 6.5rem 1fr; align-items: baseline; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid rgb(22 21 20 / .18); }
.rows b { font: 800 2.3rem/1 var(--display); color: var(--paper-ink); }
.rows span { font-weight: 500; }
.give .btns { margin-top: 2rem; }
.give__when { margin-top: 1.1rem; font-size: .95rem; color: var(--paper-mute); }

/* ---------- bundle rows ---------- */
.bundles { border-top: 1px solid var(--line); }
.brow { display: grid; grid-template-columns: 13rem 1fr auto auto; gap: 1.2rem 2rem; align-items: center; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.brow__thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .3rem; }
.brow__thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--ink-2); }
.brow__name { font: 800 1.7rem/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.brow__line { margin-top: .3rem; color: var(--cream-2); font-size: .98rem; }
.brow__price { text-align: right; }
.brow__price .price { font-size: 1.3rem; color: var(--cream); display: block; }
.brow__price small { color: var(--mute); font-size: .85rem; }
.brow__price s { color: var(--mute); }

/* ---------- about split ---------- */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split__img { aspect-ratio: 4 / 4.4; overflow: hidden; background: var(--ink-2); }
.split__img img { width: 100%; height: 100%; object-fit: cover; }
.split .prose { margin-top: 1.2rem; }
.split .btns { margin-top: 1.8rem; }

/* ---------- footer ---------- */
.foot { background: var(--ink-2); border-top: 1px solid var(--line); padding-block: 4rem 2rem; }
.foot__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2.5rem; }
.foot__lockup { width: 12rem; height: auto; }
.foot h3 { font: 800 1.15rem/1 var(--display); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1rem; }
.foot li + li { margin-top: .45rem; }
.foot li a { color: var(--cream-2); }
.foot li a:hover { color: var(--slash); }
.signup { margin-top: 1.6rem; max-width: 26rem; }
.signup label { display: block; font-weight: 600; margin-bottom: .5rem; }
.signup__row { display: flex; }
.signup input { flex: 1; min-width: 0; height: 3.1rem; padding: 0 1rem; background: var(--ink); border: 1px solid var(--line-2); border-right: 0; color: var(--cream); }
.signup input::placeholder { color: var(--mute); }
.signup .btn { flex-shrink: 0; }
.signup__msg { margin-top: .6rem; font-size: .92rem; color: var(--cream-2); min-height: 1.4em; }
.foot__legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; color: var(--mute); font-size: .86rem; }
.foot__legal a { text-decoration: underline; text-underline-offset: .2em; }

/* ---------- page head (inner pages) ---------- */
.phead { padding-block: clamp(2.2rem, 5vw, 3.6rem) 1.8rem; }
.phead h1 { font: 800 clamp(3rem, 7vw, 5.2rem)/.9 var(--display); text-transform: uppercase; }
.phead h1.script { font: 400 clamp(3rem, 7vw, 4.8rem)/1.1 var(--script); text-transform: none; color: var(--slash); }
.phead .lede { margin-top: 1rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .9rem; color: var(--mute); margin-bottom: 1.2rem; }
.crumbs a:hover { color: var(--cream); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--line-2); }

/* ---------- shop ---------- */
.shopbar { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; justify-content: space-between; padding-block: 1.2rem; border-block: 1px solid var(--line); margin-bottom: 2.2rem; position: sticky; top: 4.4rem; z-index: 10; background: rgb(22 21 20 / .96); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { height: 2.4rem; padding: 0 1rem; border: 1px solid var(--line-2); font-weight: 600; font-size: .95rem; color: var(--cream-2); transition: background .2s, color .2s, border-color .2s; }
.chip:hover { color: var(--cream); border-color: var(--cream-2); }
.chip[aria-pressed="true"] { background: var(--slash); border-color: var(--slash); color: var(--slash-ink); }
.shopbar__right { display: flex; align-items: center; gap: 1.2rem; color: var(--mute); font-size: .92rem; }
.select { height: 2.4rem; padding: 0 2.2rem 0 .8rem; background: var(--ink-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%239a9389'/%3E%3C/svg%3E") no-repeat right .8rem center; border: 1px solid var(--line-2); appearance: none; color: var(--cream); }
.empty { padding: 3rem 0; color: var(--cream-2); }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; padding-bottom: var(--sec); }
.gallery { position: sticky; top: 6rem; }
.gallery__main { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--ink-2); }
.gallery__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery__main img.is-contain { object-fit: contain; padding: 6%; }
.gallery__main img.is-wide { object-fit: contain; }
.thumbs { display: flex; gap: .6rem; margin-top: .8rem; flex-wrap: wrap; }
.thumb { width: 4.8rem; height: 4.8rem; background: var(--ink-2); border: 2px solid transparent; overflow: hidden; transition: border-color .2s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb--art img { object-fit: contain; padding: 10%; }
.thumb[aria-current="true"] { border-color: var(--slash); }
.thumb:hover { border-color: var(--line-2); }
.thumb span { display: block; font: 500 .62rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); text-align: center; margin-top: .25rem; }
.buy h1 { font: 800 clamp(2.4rem, 4.4vw, 3.4rem)/.94 var(--display); text-transform: uppercase; text-wrap: balance; }
.buy__sub { margin-top: .7rem; color: var(--cream-2); }
.buy__price { margin-top: 1.1rem; font-size: 1.7rem; }
.buy__line { margin-top: 1.1rem; max-width: 46ch; color: var(--cream-2); }
.opt { margin-top: 1.8rem; border: 0; padding: 0; }
.opt legend, .opt__label { font-weight: 600; margin-bottom: .7rem; display: flex; justify-content: space-between; width: 100%; }
.opt legend a { font-weight: 500; color: var(--mute); font-size: .9rem; text-decoration: underline; text-underline-offset: .2em; }
.sizes { display: flex; flex-wrap: wrap; gap: .5rem; }
.size { position: relative; }
.size input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.size span { display: grid; place-items: center; min-width: 3.4rem; height: 3rem; padding: 0 .8rem; border: 1px solid var(--line-2); font: 500 .95rem var(--mono); transition: background .2s, color .2s, border-color .2s; }
.size small { position: absolute; top: -.55rem; right: -.3rem; background: var(--ink); padding: 0 .2rem; font: 500 .62rem var(--mono); color: var(--mute); }
.size input:hover + span { border-color: var(--cream-2); }
.size input:checked + span { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.size input:focus-visible + span { outline: 2px solid var(--slash); outline-offset: 2px; }
.qty { display: inline-flex; border: 1px solid var(--line-2); height: 3.1rem; }
.qty button { width: 2.8rem; font-size: 1.2rem; color: var(--cream-2); }
.qty button:hover { color: var(--cream); background: var(--ink-3); }
.qty input { width: 3rem; text-align: center; background: transparent; border: 0; font: 500 1rem var(--mono); -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy__row { display: flex; gap: .8rem; margin-top: 1.8rem; }
.buy__row .btn { flex: 1; }
.entries { display: flex; align-items: center; gap: .7rem; margin-top: 1.3rem; font-weight: 600; }
.entries::before { content: ""; width: .8rem; height: 1.15rem; flex-shrink: 0; background: var(--slash); clip-path: polygon(70% 0, 100% 0, 30% 100%, 0 100%); }
.npn { margin-top: .4rem; font-size: .84rem; color: var(--mute); }
.npn a { text-decoration: underline; text-underline-offset: .2em; }
.buy .plate { margin-top: 2rem; }
.toast { position: fixed; left: 50%; bottom: 1.5rem; z-index: var(--z-toast); transform: translate(-50%, calc(100% + 3rem)); visibility: hidden; background: var(--cream); color: var(--ink); padding: .9rem 1.3rem; font-weight: 600; transition: transform .45s var(--ease-punch), visibility 0s .45s; box-shadow: 0 10px 30px rgb(0 0 0 / .4); }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform .45s var(--ease-punch); }

/* ---------- bundle builder ---------- */
.bb { display: grid; grid-template-columns: 1fr 1.35fr; gap: 2rem 3.5rem; padding-block: 2.6rem; border-top: 1px solid var(--line); scroll-margin-top: 6rem; }
.bb__name { font: 800 clamp(2.2rem, 4vw, 3rem)/.95 var(--display); text-transform: uppercase; }
.bb__line { margin-top: .7rem; color: var(--cream-2); max-width: 36ch; }
.bb__price { margin-top: 1.2rem; display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; }
.bb__price .price { font-size: 1.7rem; }
.bb__price s { color: var(--mute); }
.bb__save { font-weight: 600; color: var(--slash); }
.bb .entries { margin-top: .9rem; }
.bb .btn { margin-top: 1.6rem; }
.slots li { display: grid; grid-template-columns: 4.6rem 1fr 6.5rem; gap: 1rem; align-items: center; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.slots li:first-child { border-top: 1px solid var(--line); }
.slots img { width: 4.6rem; height: 4.6rem; object-fit: cover; background: var(--ink-2); }
.slots label { display: block; font: 500 .72rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin-bottom: .4rem; }
.slots .select { width: 100%; }

/* ---------- giveaway page ---------- */
.gv-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(2.2rem, 5vw, 4rem) var(--sec); }
.gv-hero h1 { font: 800 clamp(3.4rem, 8vw, 6rem)/.88 var(--display); text-transform: uppercase; }
.gv-hero h1 span { display: block; }
.gv-hero .lede { margin-top: 1.4rem; color: var(--cream); font-size: 1.22rem; }
.gv-hero .btns { margin-top: 2rem; }
.countdown { margin-top: 1.5rem; display: inline-flex; align-items: baseline; gap: .6rem; padding: .6rem 1rem; background: var(--ink-2); border-left: 3px solid var(--slash); }
.countdown b { font: 800 1.8rem/1 var(--display); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: s; }
.step { position: relative; padding-top: 4.2rem; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: 0; left: 0; width: 3rem; height: 3rem; display: grid; place-items: center; background: var(--slash); color: var(--slash-ink); font: 800 1.5rem/1 var(--display); }
.step::after { content: ""; position: absolute; top: 1.5rem; left: 3.8rem; right: -1.2rem; height: 2px; background: var(--line-2); transform-origin: left; transition: transform 1s var(--ease) .2s; }
.step:last-child::after { display: none; }
.js .step::after { transform: scaleX(0); }
.js .steps.in .step::after { transform: scaleX(1); }
.step h3 { font: 800 1.55rem/1 var(--display); text-transform: uppercase; }
.step p { margin-top: .6rem; color: var(--cream-2); max-width: 30ch; }

.windows li { display: grid; grid-template-columns: 1fr auto; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.windows li:first-child { border-top: 1px solid var(--line); }
.windows .price { color: var(--slash); font-weight: 500; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; max-width: 40rem; }
.field label { display: block; font-weight: 600; margin-bottom: .45rem; font-size: .95rem; }
.field input, .field select, .field textarea { width: 100%; height: 3.1rem; padding: 0 1rem; background: var(--ink-2); border: 1px solid var(--line-2); color: var(--cream); }
.field textarea { height: 8rem; padding: .8rem 1rem; resize: vertical; }
.field select { appearance: none; background: var(--ink-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%239a9389'/%3E%3C/svg%3E") no-repeat right 1rem center; }
.field input:focus, .field select:focus, .field textarea:focus, .signup input:focus { outline: 2px solid var(--slash); outline-offset: -1px; }
.field--full { grid-column: 1 / -1; }
.check { grid-column: 1 / -1; display: flex; gap: .7rem; align-items: start; font-size: .95rem; color: var(--cream-2); }
.check input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; accent-color: var(--slash); flex-shrink: 0; }
.form .btn { justify-self: start; }
.form__msg { grid-column: 1 / -1; font-weight: 600; min-height: 1.5em; }
.paper .field input, .paper .field select { background: #f6f0e4; color: var(--paper-ink); border-color: rgb(22 21 20 / .25); }
.paper .field select { background-color: #f6f0e4; }
.paper .check { color: #2e2b27; }

.qa { border-top: 1px solid var(--line); }
.qa > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: .6rem 3rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.qa dt { font-weight: 600; font-size: 1.08rem; }
.qa dd { margin: 0; color: var(--cream-2); text-wrap: pretty; }
.qa dd a { color: var(--cream); text-decoration: underline; text-decoration-color: var(--slash); text-underline-offset: .2em; }
.paper .qa, .paper .qa > div { border-color: rgb(22 21 20 / .18); }
.paper .qa dd { color: #2e2b27; }

.fine { max-width: 72ch; font-size: .9rem; color: var(--mute); }
.fine p + p { margin-top: .8rem; }
.fine strong { color: var(--cream-2); }

/* ---------- about / help ---------- */
.strip { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: .9rem; }
.strip img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; background: var(--ink-2); }
.strip img:first-child { aspect-ratio: auto; grid-row: span 2; }
.mark-box { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 4rem; align-items: center; }
.mark-box img { width: 100%; max-width: 30rem; }
.toc { display: flex; flex-wrap: wrap; gap: .5rem; }
.toc a { height: 2.4rem; display: inline-grid; place-items: center; padding: 0 1rem; border: 1px solid var(--line-2); font-weight: 600; font-size: .95rem; }
.toc a:hover { border-color: var(--slash); color: var(--slash); }
.htable { width: 100%; max-width: 44rem; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.htable caption { text-align: left; font-weight: 600; margin-bottom: .7rem; }
.htable th, .htable td { padding: .65rem .9rem; border-bottom: 1px solid var(--line); text-align: left; }
.htable thead th { font: 500 .72rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.htable td { font-family: var(--mono); font-size: .95rem; }
.htable td:first-child { font-family: var(--body); font-weight: 600; }
.tables { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 3rem; }
.help-sec { scroll-margin-top: 6rem; padding-block: 2.6rem; border-top: 1px solid var(--line); }
.help-sec .h2 { margin-bottom: 1.4rem; }

/* ---------- cart drawer ---------- */
.scrim { position: fixed; inset: 0; z-index: var(--z-scrim); background: rgb(10 9 8 / .6); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s .35s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: var(--z-drawer); width: min(27rem, 100vw); background: var(--ink-2); border-left: 1px solid var(--line); display: flex; flex-direction: column; transform: translateX(100%); visibility: hidden; transition: transform .5s var(--ease), visibility 0s .5s; }
.cart-open .scrim { opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }
.cart-open .drawer { transform: none; visibility: visible; transition: transform .5s var(--ease); }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font: 800 1.6rem/1 var(--display); text-transform: uppercase; }
.x { width: 2.4rem; height: 2.4rem; display: grid; place-items: center; font-size: 1.6rem; color: var(--cream-2); }
.x:hover { color: var(--cream); }
.ship { padding: 1rem 1.4rem; border-bottom: 1px solid var(--line); font-size: .93rem; color: var(--cream-2); }
.ship__bar { margin-top: .55rem; height: 4px; background: var(--ink-3); }
.ship__bar i { display: block; height: 100%; background: var(--slash); width: 0; transition: width .6s var(--ease); }
.lines { flex: 1; overflow-y: auto; padding: .4rem 1.4rem; }
.line { display: grid; grid-template-columns: 4.6rem 1fr auto; gap: .9rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.line img { width: 4.6rem; height: 4.6rem; object-fit: cover; background: var(--ink); }
.line__name { font-weight: 600; line-height: 1.25; }
.line__var { font-size: .86rem; color: var(--mute); margin-top: .15rem; }
.line__ctl { display: flex; align-items: center; gap: .9rem; margin-top: .5rem; }
.line__ctl .qty { height: 2.1rem; }
.line__ctl .qty button { width: 2rem; font-size: 1rem; }
.line__ctl .qty input { width: 2rem; font-size: .9rem; }
.line__rm { font-size: .85rem; color: var(--mute); text-decoration: underline; text-underline-offset: .2em; }
.line__rm:hover { color: var(--cream); }
.line .price { text-align: right; }
.drawer__empty { padding: 3rem 1.4rem; color: var(--cream-2); }
.drawer__empty .btn { margin-top: 1.4rem; }
.drawer__foot { padding: 1.2rem 1.4rem 1.4rem; border-top: 1px solid var(--line); background: var(--ink); }
.tot { display: flex; justify-content: space-between; font-weight: 600; font-size: 1.1rem; }
.drawer__foot .entries { margin-top: .6rem; font-size: .95rem; }
.drawer__foot .btn { margin-top: 1rem; }
.drawer__note { margin-top: .7rem; font-size: .84rem; color: var(--mute); }

/* ---------- motion: arrival only ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal="stagger"] > * { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal="stagger"].in { opacity: 1; transform: none; }
.js [data-reveal="stagger"].in > * { opacity: 1; transform: none; }
.js [data-reveal="stagger"].in > :nth-child(2) { transition-delay: .06s; }
.js [data-reveal="stagger"].in > :nth-child(3) { transition-delay: .12s; }
.js [data-reveal="stagger"].in > :nth-child(4) { transition-delay: .18s; }
.js [data-reveal="stagger"].in > :nth-child(5) { transition-delay: .24s; }
.js [data-reveal="stagger"].in > :nth-child(6) { transition-delay: .3s; }
.js [data-reveal="stagger"].in > :nth-child(n+7) { transition-delay: .34s; }

@keyframes rise { from { opacity: 0; transform: translateY(.35em); } to { opacity: 1; transform: none; } }
@keyframes wipe {
  from { clip-path: polygon(0 0, 0 0, 0 0, 0 100%, 0 100%); }
  to { clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut-h), 100% 100%, 0 100%); }
}
.hero__name span, .gv-hero h1 span { animation: rise .9s var(--ease) both; }
.hero__name span:nth-child(2), .gv-hero h1 span:nth-child(2) { animation-delay: .08s; }
.hero .tagline, .hero .lede, .hero .btns, .hero__facts { animation: rise .9s var(--ease) both; animation-delay: .2s; }
.rack__shot { animation: wipe 1.1s var(--ease) both; animation-delay: .15s; }
.rack__shot:nth-child(2) { animation-delay: .3s; }
.rack__shot:nth-child(3) { animation-delay: .42s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js [data-reveal], .js [data-reveal="stagger"] > * { opacity: 1; transform: none; }
  .js .step::after { transform: none; }
  .rack__shot { clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut-h), 100% 100%, 0 100%); }
}

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
  .nav { gap: 1.1rem; }
  .cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brow { grid-template-columns: 1fr auto; }
  .brow__thumbs { grid-column: 1 / -1; }
  .foot__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .nav { position: fixed; inset: 4.4rem 0 auto 0; flex-direction: column; gap: 0; padding: .6rem 1.25rem 1.4rem; background: var(--ink-2); border-bottom: 1px solid var(--line); transform: translateY(-110%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s; z-index: -1; }
  .nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .menu-open .nav { transform: none; visibility: visible; transition: transform .45s var(--ease); }
  .menu-btn { display: grid; }
  .cart-btn { margin-left: auto; }
  .top__bar { gap: .8rem; }
  .hero__grid, .give, .split, .pdp, .gv-hero, .bb, .mark-box { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .steps { grid-template-columns: 1fr; }
  .step { padding-top: 0; padding-left: 4.2rem; min-height: 3rem; }
  .step::after { display: none; }
  .qa > div { grid-template-columns: 1fr; }
  .tables { grid-template-columns: 1fr; }
  .shopbar { position: static; }
}
@media (max-width: 640px) {
  .wrap { width: min(100% - 2rem, var(--wrap)); }
  .brand span { font-size: 1.15rem; }
  .brand img { height: 1.3rem; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.8rem .9rem; }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem .9rem; }
  .card__name { font-size: .96rem; }
  .card__meta { font-size: .85rem; flex-direction: column; gap: 0; }
  .rack { gap: .6rem; }
  .form { grid-template-columns: 1fr; }
  .foot__top { grid-template-columns: 1fr; }
  .slots li { grid-template-columns: 3.8rem 1fr; }
  .slots img { width: 3.8rem; height: 3.8rem; grid-row: span 2; }
  .slots li > div:last-child { grid-column: 2; }
  .plate { padding: 1.6rem 1.2rem 1.4rem; }
  .plate dl { grid-template-columns: 1fr; gap: .1rem; }
  .plate dd { margin-bottom: .6rem; }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip img:first-child { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
  .shopbar__right { width: 100%; justify-content: space-between; }
  .cart-btn__label { display: none; }
}

/* product options: hair colour swatches, phone model */
.swatches { display: flex; flex-wrap: wrap; gap: .5rem; }
.swatch { position: relative; cursor: pointer; }
.swatch input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.swatch img { width: 4.4rem; height: 4.4rem; object-fit: cover; border: 2px solid var(--line-2); transition: border-color .2s, transform .3s var(--ease); }
.swatch input:hover + img { border-color: var(--cream-2); }
.swatch input:checked + img { border-color: var(--slash); transform: translateY(-2px); }
.swatch input:focus-visible + img { outline: 2px solid var(--slash); outline-offset: 2px; }
.opt legend span { color: var(--cream-2); font-weight: 500; }
.opt__label { display: block; font-weight: 600; margin-bottom: .6rem; }
.opt__select { width: 100%; max-width: 22rem; height: 3rem; }

/* colour picker: one tint per shirt colour Printful makes it in */
.tints { display: flex; flex-wrap: wrap; gap: .6rem; }
.tint { position: relative; cursor: pointer; }
.tint input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.tint span:not(.sr) { display: block; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(236, 228, 212, .22); outline: 2px solid transparent; outline-offset: 3px; transition: outline-color .2s, transform .3s var(--ease); }
.tint input:hover + span { outline-color: var(--line-2); }
.tint input:checked + span { outline-color: var(--slash); transform: translateY(-2px); }
.tint input:focus-visible + span { outline-color: var(--cream); }
.dots { display: inline-flex; align-items: center; gap: .22rem; }
.dots i { width: .62rem; height: .62rem; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(236, 228, 212, .25); }
.dots b { font-weight: 500; margin-left: .35rem; }


/* ---------- order page (/order/<token>, filled in by the store Worker) ---------- */
.order { max-width: 46rem; }
.order__num { font-family: var(--mono, "Spline Sans Mono", monospace); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slash); margin-bottom: .6rem; }
.osteps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: 0 0 1rem; padding: 0; }
.osteps li { border-top: 4px solid var(--line-2); padding-top: .7rem; color: var(--mute); font-weight: 600; }
.osteps li.is-done { border-color: var(--slash); color: var(--cream); }
.osteps li.is-now span::after { content: " ·"; color: var(--slash); }
.olines { list-style: none; margin: 0; padding: 0; }
.olines li { display: grid; grid-template-columns: 4.6rem 1fr auto; gap: .9rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.olines img { width: 4.6rem; aspect-ratio: 1; object-fit: cover; }
.ototal { margin-top: 1rem; max-width: 20rem; margin-left: auto; }
.ototal div { display: flex; justify-content: space-between; padding: .3rem 0; color: var(--cream-2); }
.ototal__sum { border-top: 1px solid var(--line-2); margin-top: .4rem; padding-top: .7rem !important; color: var(--cream) !important; font-weight: 700; }
.otrack { list-style: none; margin: 0; padding: 0; }
.otrack li { padding: .5rem 0; }
.oship { margin-top: 1.4rem; color: var(--cream-2); }

/* ---------- privacy + terms ---------- */
.legal h2 { font-size: 1.15rem; font-weight: 700; color: var(--cream); margin: 2.2rem 0 .7rem; }
.legal p + p { margin-top: .8rem; }
.legal a { text-decoration: underline; text-underline-offset: .2em; }
.drawer [data-checkout][disabled] { opacity: .65; cursor: progress; }
